[KLUG Members] Re: [KLUG Members] Help for upgrade to Samba 3.0.1 (LDAPSAM) fm 2.2.8a anybody?

Adam Williams members@kalamazoolinux.org
Sun, 25 Jan 2004 13:18:02 -0500


> This one is about my problems with profiles.
> I can't get samba to create the "profile" directory in /home/[username]/
> I have some idea as to why but know idea as to how it might be fixed.

So your sambaProfilePath attribute must depend on some magick strings
like \\server\%U\profile?

This doesn't work.  Last I checked values loaded from the LDAP SAM are
literal, no magick is performed.

So you'll get \\server\\profile and I don't know what will happend.

> I note that when it (profile) does show up, it shows up in /home i.e.
> /home/profile.  Also, I've  noticed that all the files under that
> directory belong to root.root  My guess then is that because samba is
> creating the files as root it is somehow denied permission for creating
> files in a users directory.

What does your [profiles] volume look like?  You can do magick in the
path clause of the volume.

path = /home/%U/profile - just set sambaProfilePath to \\server\profiles

> At the same time, the /home directory
> belongs to root and so creating files and directories here is, for some
> reason, OK.

Makes sense.