Subject: [Samba] roaming profiles depending on user

David Mulcahy david.mulcahy at eseol.co.uk
Tue Mar 19 10:05:08 GMT 2002


Hello 

Make that an include = /path/to/smb.conf.%U
or you could use groups and use %G instead
%u doesnt work with the include directive.

David


HI 
I think there is a way in samba but it depends on how many users you have and 
is it worth the hassle.  It is probably better to get the policy editor for 
windows and use that.

The way from a purely samba way is to create different smb.conf files and 
adjust the logon home and logon path for each user that needs roaming 
profiles.

eg smb.conf
        include = /path/to/smb.conf.%u

smb.conf.ben
        logon path =    (no roaming profile)

smb.conf.alan
        logon path = \\%L\%U\ntprofile

Adjust the above settings to suit your needs.

There may be a better way.  Somebody else may suggest an alternative.  Not 
sure what overheads this will have on the system.

David Mulcahy




More information about the samba mailing list