A free software re-implementation of the SMB/CIFS networking protocol, which provides Windows file and print services. Use this tag when your question involves Samba shares, mounts, or printers.

learn more… | top users | synonyms

0
votes
3answers
216 views

set samba password now can't login

In trying to get samba server configured on my Fedora I used the following command to set a password: sudo smbpasswd -a user 'user' also happens to be the main user account on the system: the one I ...
1
vote
0answers
196 views

Create Symbolic Link for Windows Machines

I currently operate a SMB file server for my network and, like a lot of you guys, don't touch Windows myself. I need to create a symbolic link that will work on my user's Windows machine to ...
1
vote
1answer
838 views

add user in samba server

# smbpasswd -a linuxsir New SMB password: Retype new SMB password: # ls /etc/samba gdbcommands smb.conf smb.conf.bak smbpasswd # groups linuxsir linuxsir : linuxsir my_test_group1 ...
3
votes
1answer
1k views

Mount a windows share without having root credentials

I am trying to mount a Windows shared folder in my home folder. I am able to execute the following command from a Linux (i.e., CentOS) machine which I have sudo access. The command that I am using ...
0
votes
1answer
278 views

Mounting smb shares on OS X accessible with Microsoft account

I have a Windows machine which shares a particular directory and only an owner of this directory is able to access it over the network. Owner account is linked to Microsoft account. I am trying to ...
1
vote
1answer
420 views

Samba Tuning (Very low data transfer rates)

I have been trying to tune my Samba server for a while now and have had very little luck. At first I thought it could have had something to do with my router but recently purchased a new one with ...
0
votes
0answers
162 views

Accessing NTFS HDD through samba

I'm having trouble writing to the HDD attached to my pi from my laptop. The samba share is set up fine it seems, since I can write to the SD card without a problem. But whenever I try to write to the ...
1
vote
1answer
56 views

Ubuntu and Windows enviroment

Our IT department needs to set up a file server that will hold the organizations documentation and all other important information, its currently being held on our Windows AD server which the reasons ...
0
votes
0answers
383 views

samba share subdirectory prevent rename/delete operation

I have a samba share (ArchLinux with kernel Linux comp001 3.18.7-2-ARCH #1 PREEMPT Thu Feb 12 12:53:57 MST 2015 armv6l GNU/Linux and samba version Samba version 4.1.16)mounted in /mnt/data/, that is ...
2
votes
3answers
1k views

Resolving NETBIOS names from Linux

There's a Windows machine called SUSAN on my network. From a Windows VM on my Linux box I can simply: C:\>ping susan I've followed this guide (and looked at several other similar ones) for ...
1
vote
3answers
6k views

Set a size limit to SAMBA shared directory remotely

I have been asked to set up a shared directory for a colleague on a server I manage. I created an account for him on that server, set up a Samba password with smbpasswd, created a directory and set it ...
0
votes
0answers
392 views

How can I access samba from windows 8?

I'm running samba on debian (Running on a BeagleBone Black), and I cannot access the share via Windows 8.1. It prompts me for a username/password as shown below, and won't authenticate me. When it ...
0
votes
2answers
741 views

How to use rsync with samba share

I would like to synchronize all the content of my phone to my home server using the phone's samba share. My approach is to write a script that mounts the phone's samba share, and then copies all the ...
0
votes
0answers
99 views

Edit files on remote server in /etc/snmp/ directory with Mousepad

I'm sick of editing conf files on my raspberry pi snmp server in nano via ssh terminal. It's time consuming. Ideally I'd like to edit them with Mousepad locally, using Samba network drive. I ...
2
votes
1answer
880 views

How to encrypt data in a folder in a samba share, and share it both encrypted and decrypted?

So far I have a Debian NAS with a samba share accessible from a Windows client by user credentials. Within that share I have a folder of images encrypted by ecryptfs. A friend of mine have agreed to ...
1
vote
1answer
1k views

Setting up permissions for common folder

I am trying to setup a little home network using Linux as the File Server and have run into a bit of problems w.r.t. to folder permissions that I can't seem to solve. The setup: An Ubuntu 14.04 ...
1
vote
2answers
518 views

Samba4 on HPUX 11.31

I'm tryng to setup hpux samba,i use this smb.conf [global] workgroup = DOMINIO realm = DOMINIO.COM server string = "" netbios name = HPUX2 security = ads hosts ...
3
votes
0answers
236 views

Does Samba 4 actually respect Unix file acls?

After researching the subject on the internet I drew a conclusion that Samba should take into account Unix file acls. During my tests I found the opposite. Only Unix file mode bits are respected, and ...
1
vote
1answer
68 views

Transfer speed while copying from Windows to Pi

I am using a raspberry pi with samba as remotely accessible storage in my local network. While copying files from windows to pi I am getting strange transfer speed. It jumps from 200 kB/s and less to ...
0
votes
0answers
190 views

Linux Mint will not allow traffic from one specific PC on LAN

I was editing /etc/network/interfaces, and then decided to change my settings over VNC instead. This halted my SSH session and also my VNC. I'm not sure if this locked me out or not, but I set cron up ...
0
votes
1answer
538 views

How to debug cups and samba? LaserJet Professional P1102w not printing “filter failed”

Here is what I have tried to verify: smbtree: WORKGROUP2 \\DAN-PC \\DAN-PC\Users \\DAN-PC\print$ Printer Drivers \\DAN-PC\IPC$ ...
1
vote
1answer
1k views

Stopping Samba Auto-reload on boot

Trying to boot my Linux 17 mint. It stops at "Stopping Samba Auto-reload integration." It hangs there and will not boot. I've tried recovery boot however the dpkg manager in the recovery isn't ...
2
votes
1answer
121 views

Different write behavior for owner and member of group despite 775 permissions

I have mounted a remote share via my fstab using the line: //path/to/target /media/f cifs gid=<mygroup's id>,dir_mode=0775,file_mode=0775 0 0 As a result, everything under /media/f winds up ...
1
vote
1answer
522 views

Samba Password must change after first logon

How to enable "samba password must change after first/next logon"? I enabled a function in pdbedit file but is not working. root#/opt/samba/bin/pdbedit -P "user must logon to change password" ...
1
vote
0answers
62 views

Is there a reason I can't mount with a prefixpath in this scenario?

I'm not sure why this scenario is so weird, but I have a particular combination where this command won't work: mount -o username=guest //192.168.1.70/Volume_1/Movies/Library /storage/movies I get ...
2
votes
0answers
311 views

What's the correct way to share a directory with Windows machines using Samba?

I'm running Debian 7.7, intended to be used as a server. I've got Apache installed and I'd like to share its /var/www directory and access it from Windows machines. I've followed the instructions on ...
2
votes
2answers
110 views

No EOF, when a program reads its own executable file on cifs mount

My java-based installer couldn't copy itself to target dir eating all disk space and I thought it was a java bug, but then I reproduced it with plain dd. When I try to read my own executable using a ...
0
votes
0answers
204 views

How do I set up a secure Samba share on CentOS 7?

I want to set up secured Samba shares so I can connect different users on the same computer to their own separate shares. I'll use a script to discover the user's credentials then run mount -t cifs ...
1
vote
0answers
156 views

Utilizing Samba Shares Without using Winbind

I am curious if it is possible to use samba shares without using winbind. In our current environment we are using SSSD, Kerberos, and Samba to complete the required tasks such as joining the windows ...
3
votes
0answers
2k views

Samba 4 has high CPU usage when accessing mapped drive through Windows

I have noticed that when I access my Samba share from Windows, the smbd daemon will always use aprox 10-20% CPU - no matter if the share is used or not from Windows. Even if I close the share/window, ...
0
votes
0answers
212 views

Permissions doesn't change while mounting windows directories (mount.cifs)

I used this command: mount.cifs //192.168.1.106/ukv_sftp$ /home/admin/public_html/remote -o credentials=/root/.smbcredentials, uid=500, gid=500 but permissions set only for root user, uid=500 and ...
0
votes
2answers
557 views

How to upload a file to a shared drive using unix?

I have a requirement which says it should be able to upload and download a file from a Windows shared drive using UNIX. How to approach that ? Should it be done using ftp or sftp ? Please explain.
2
votes
0answers
191 views

Login to Linux using a trusted Active Directory

I'm having trouble to log in to Linux using a trusted Active Directory. The machine is connected to an Active Directory that we are responsible for in the project, but most of the users who will use ...
1
vote
0answers
56 views

Automount Samba directory as /home/$user

I'm working with a group, trying to set up persistent data on several thin clients for our Linux lab. For security and maintenance reasons, we want to be able to flash a clean snapshot of Arch Linux ...
4
votes
1answer
1k views

Fedora 20: Users cannot enter their home directory

Running Fedora 20 on a file server and ran into this strange issue, not sure what I'm doing wrong. The account I made while installing the OS works fine, but every other account I made has this ...
1
vote
0answers
1k views

LDAP: Local and remote user with same username

I have configured an openLDAP server with LDAP user and group ids beginning at 10000. My client successfully binds to the LDAP server via ldapsearch. Additionally, getent passwd|group returns a full ...
1
vote
1answer
177 views

What do these 'smbclient' samba information mean?

On a gentoo Linux I am making a call to smbclient, which among others show the following output when it is connecting to a Windows share on a Windows machine: Domain=[LN_DOMAIN] OS=[Unix] ...
6
votes
1answer
6k views

Shared folder between QEMU Windows guest and Linux host

In the past I have used Virtual Box which has very good support for sharing a folder on the host with a Windows guest. I am looking for similar functionality for QEMU. The documentation suggests to ...
0
votes
1answer
824 views

How to process samba full_audit logs in to logstash

I have been working on taking my samba vfs full_audit logs and processing them with grok and moving them on to an ELK stack. I have added the following to my global samba conf: full_audit:prefix ...
4
votes
2answers
5k views

How to set default group for files created in Samba share

I'm sharing a directory, /home/pi/pydev on a debian box (raspberry pi, in fact) with Samba. I'm reading from and writing to that directory from a Windows 7 machine. When I create, under W7, a file in ...
0
votes
1answer
10k views

Unable to access SAMBA Share From Windows [closed]

Hi This is a repeat of this question on Superuser. Since I didn't get any answers there, I've posted the question here hoping to get more answers since this is more Linux & Unix specific. Hi ...
2
votes
1answer
273 views

How do I mount a Windows folder on Linux (with Samba) and see the correct permissions?

I have a Windows 7 box and a Linux machine. I can correctly access the files on the Windows machine from the Linux machine. however, when I look at the permissions from Linux and from Cygwin on my ...
3
votes
4answers
10k views

Transfer files between Windows and Linux machines?

My problem is that I need to backup the files on my Linux machine to my Windows laptop. My external hard drive died, and so backing up to an external drive is out of the question for the time being. ...
0
votes
0answers
867 views

failure joining samba AD domain over a slow connection: NT_STATUS_IO_TIMEOUT

Running Ubuntu with Samba 4 (Zentyal 3.5) Trying to join a new ADC (additional domain controller) to an existing PDC. Unfortunately I am getting an error, and I THINK the error might be caused by ...
1
vote
1answer
91 views

Default Shell for Samba Machine Accounts

Using Samba, as a domain controller, I need to add Windows machines as users (in /etc/passwd), and to the Samba database as a machine. In the /etc/passwd file, I noticed about half the machines have a ...
2
votes
0answers
159 views

what is the command to synchronize samba4 ADC -> PDC

I have another question on here that is almost exactly the same, but it had a lot more details and kind of went off track (and I never got my answer). So I'm trying again. I know that this command ...
1
vote
2answers
79 views

Graphical view of files on server

I work at a university, and I have a personal webpage. This is located in my home directory, under public_html. I want to start editing this webpage from Linux. Under Windows, I used to map to this ...
20
votes
5answers
860 views

Linux solution for schools?

The school I'm working for as an administrator requested a system upgrade. Currently we are using a government-suggested Linux distribution called SuliXerver - it would be great, but most of the admin ...
2
votes
1answer
5k views

Commands for successful domain controller replication on Ubuntu / Samba4 / Zentyal

I have a Primary Domain Controller (PDC) and an Additional Domain Controller (ADC) running on two different machines at two different locations connected via a VPN. Both are running a version of ...
1
vote
1answer
883 views

“You do not have the permissions necessary to view the contents of “Share on name.domain.com”.”

I am having some issues with Samba on my Fedora file share server. I've logged into as the vncuser below on the server itself and I can access the directory, however I get permission denied errors ...