New answers tagged

0

Samba with ecryptfs seems to be working for me on Ubuntu 14.04. I used this guide: http://www.cyberciti.biz/faq/adding-a-user-to-a-samba-smb-share/ My hunch is that the trick is to give the same password in: passwd USER and smbpasswd -a USER I am assuming ecryptfs picks up the password when it is given to Samba, I would love to hear a clarification ...


0

After investigating, it seems I have been affected by a bug as described here: http://serverfault.com/questions/491464/directories-shown-as-files-when-sharing-a-mounted-cifs-drive It seems there is a bug when "resharing" with samba: Directories are shown as files because of a bug. Samba uses the inode count to determine this and cifs sets this to zero. So ...


2

There are two things to watch out for here. First, you have to be showing both hidden and system files to see the contents of $Recycle.Bin. Open your Folder Options dialog and switch to the View tab. Select Show hidden files, folders, and drives and uncheck Hide protected operating system files. Then, you'll be able to see the subfolders of $Recycle.Bin ...


0

One thing that is not immediately apparent to most new samba/SMB admins, is that Share permissions stack on top of disk permissions. Share permissions only affect Samba/WFPS access; they do not override permissions on the shared directory, only augment them. So, if a folder is owned by user1:user1 and has permissions of 770, and then shared to allow ...


1

First, try -o vers=1. The kernel's SMB2 client has only very recently gained Kerberos support – in Ubuntu 14.04, only the 4.4.x kernel will have it. Second, check if the request-key and cifs.upcall binaries are installed and that the latter is mentioned in /etc/request-key.conf (or /etc/request-key.d/): create cifs.spnego * * /usr/bin/cifs.upcall %k ...


0

TEMPORARY SOLUTION! This isn't the actual way to solve this problem, but it works out perfectly for me. (sudo) crontab -e. Choose nano or vim according to your preference. (If you haven't chose it already) In the file, add the line 0 [whatever hour (0-23) you want here] * * * service smbd restart This will restart the smbd (Samba daemon) service on an ...


1

The problem isn't caused by the errors shown in the log. I tried to solve the problem several times, and finally I found the solution (on this website): ... adding winbind package solves it (probably better to reboot after adding it, instead of trying to restart all samba services). It doesn't say you need any special winbind config. Before I found the ...


0

Hosts file entry incorrect for localhost Loopback on a local system always needs to be 127.0.0.1 Windows systems and some linux will test their local IP stack as a part of the join process and call themselves regarding netbios and RPC calls. When the system tries to resolve itself it is failing. You need to be able to ping localhost and ping loopback and ...


0

I suggest my problem was related to another WORKGROUP in the network. Now with another name everything works on Ubuntu Server.


1

In order to set up guest access in Samba, you need to set up a user that it will pretend to log in as. So, let's say you want to share files on /mnt/somepartition/files publically. Your configuration might look like this: [public_files] comment = Public files path = /mnt/somepartition/files browsable = yes guest ok = yes writable = yes ...


0

So, I figured out that what i wanted to do is actually an "unattended update". We can pass options that apt-get will forward to dpkg for individual packages: export DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --install-recommends install \ -o Dpkg::Options::="--force-confdef" \ -o Dpkg::Options::="--force-confold" \ samba where: --force-...


0

As usual, after couple of days scratching my head I post this question and then perform the last attempt to google some solution. And I found it. My problem was with parameter use client drivers = yes in /etc/samba/smb.conf. This needs to be set to no or not set at all. I added this based on some tutorial I have found previously and left it there. Anyway, ...



Top 50 recent answers are included