samba and groups! save my life please!
hey all, im trying to point samba to the directory where my profiles are stored using the %g variable
so in the logon path in the smb.conf file i put \\xen\netlogon\%g\ but when i go to login i get the error message "windows cannot create profile directory \\xen\netlogon\root which means that it thinks the user is in the root group which they are not is there something wrong with the %g variable? it isnt picking up the login scripts either so im assuming there is but have no idea what. id be extremely grateful if someone could point me in the right direction ive been through all the man pages and googled around like a man possessed many thanks |
Why don't you use the username to store the profile in a certain dir? That can be done with the %U option.
%g is the groupname of the process, which is the Samba server, which is root. You should use %G if you want the group name of the user (%U). The config is case sensitive. \\Server\%U\profile \\Server\%G\profile %U = Username %G = Groupname %D = domain name I hope this helps you, btw I got this from man smb.conf, you can use testparm to see which config defaults samba chooses for things you did not specify in you smb.conf. testparm <enter> Marcel |
All times are GMT -5. The time now is 05:54 PM. |