Home directories, Samba 4, what am I doing wrong?
Adam Tauno Williams
awilliam at whitemice.org
Tue Nov 8 08:18:15 MST 2011
On Tue, 2011-11-08 at 09:54 -0500, Peter Clark wrote:
> >> [homes]
> >> comment = Home Directories
> >> path = /home
> >> read only = No
> > Should the "path" be "path=/home/%u" ?
> If I do that I can't access the folders (Windows gives a 'cant find'
> error when browsing into the displayed 'homes' folder, and some
> 800xxxxx series error).
Does the home directory for the user exist? "/home/fred" for example.
> >> in my smb.conf
> >> However, the only files that show up in the share after going into the
> >> folder are files that are world readable on the server. Anything
> >> that's only user.user rwx-rwx---- style permissions don't show up in the browser.
> >> Copying files over to the share results in owner UID 3000009 GID users.
> > If you do a "getent passwd | grep 3000009" do you see a user? [is winbind configured on the S4 host?]
> There is no user with that UID on the Unix server.
On the S4 server?
> All users are under 1000 except for one UID for postfix which is 5000.
Samba will idmap the CIF/SMB users to POSIX ids. So if you authenticate
as 'fred' a UID is generated [and stored] for fred.
> I don't see a smbd or nmbd process running if that's what you're asking.
With Samba4 the process is "samba".
More information about the samba-technical