User profiles

Mike Rylander miker at incanta.net
Wed Jun 20 17:51:14 GMT 2001


You may need to use the %U substitution instead of %u.  I don't believe that 
%u is available at the profile stage of login.  %U is the username requested 
by the client, so if your Domain user names are different than your unix 
usernames (mapped with 'username map =' in smb.conf) then you will need to 
create directories under /usr/local/samba/nt/profiles/ for the domain 
usernames.


On Wednesday 20 June 2001 10:47, you wrote:
> My entries are:
> [global]
> ...
>         logon path = \\WS13\samba\profiles\%u
> ...
> [profiles]
>         comment = SAMBA %S Dir
>         path = /usr/local/samba/nt/profiles/%u
>         writeable = yes
>         create mask = 0600
>         directory mask = 0700
> [samba]
>         comment = SAMBA %S Dir
>         path = /usr/local/samba/nt
>  ...
>
> The entries in profiles-dir like
> "/usr/local/samba/nt/profiles/<uid>/desktop" or "...recent" and so on where
> created.
> But it seems that I have no permission on the local NT client.
> I can't e.g change the desktop-background and every change I do wasn't
> stored for the next login.
>
> Thanks
> Martin
>
> Arnold Andrews X-324-4292 wrote:
> > Do you have an entry in your smb.conf file for the following?
> >
> > In the [global] section:
> >
> >     logon path = <unc path of profiles share>\%u  (e.g.)
> >     logon path = \\sambasrv\profiles\%u
> >
> > And an entry for the profiles share:
> >
> > [profiles]
> >         comment = NT profiles share
> >         path = /path/to/profiles/directory (substitute actual path)
> >         read only = no
> >         create mask = 0600
> >         directory mask = 0700

-- 
Mike Rylander
Senior Unix Administrator
Incanta, Inc.




More information about the samba-technical mailing list