I have sucessfully got a windows 2K machine to join the domain but I can not get it to run a logon script, map the drive letter to the home directory or create a roaming profile. All my smb.conf setting look correct as per the samples and How To's so I'm stuck! smb.conf is as follows: # Global parameters [global] workgroup = LINUX netbios name = LINUX1 server string = Samba Server encrypt passwords = Yes obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* unix password sync = Yes admin log = Yes log level = 3 log file = /var/log/samba/%m.log socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain admin group = @administrator root add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u logon script = logon.bat logon path = \\Lunux1\profiles\%U logon drive = F: domain logons = Yes os level = 99 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes admin users = @administrator root printing = cups default devmode = Yes [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 browseable = No [printers] comment = All Printers path = /var/spool/samba guest ok = Yes printable = Yes use client driver = Yes browseable = No [netlogon] path = /home/netlogon valid users = @users admin users = @administrator, root read only = No guest ok = Yes [profiles] path = /home/profiles valid users = @users read only = No create mask = 0600 directory security mask = 0700 guest ok = Yes profile acls = Yes csc policy = disable Any help you can give me would much appreciated! Thanks Nick Gale
Nick Gale wrote:> I have sucessfully got a windows 2K machine to join the domain but I can not > get it to run a logon script, map the drive letter to the home directory or > create a roaming profile. All my smb.conf setting look correct as per the > samples and How To's so I'm stuck! > > smb.conf is as follows: > > # Global parameters > [global] > netbios name = LINUX1[cut]> logon path = \\Lunux1\profiles\%U^^^^^^^ smb.conf error or you made a mistake when you edited your message to the list? BTW...Check permissions on your /home/netlogon directory, as well as on your logon.bat (it should be executable). Moreover, that batch must be in a MSDOD form: every line must end with CR+LF. Good luck :)
On Tue, 4 Mar 2003 10:55:28 -0000, Nick Gale wrote:> I have sucessfully got a windows 2K machine to join the domain but I can not > get it to run a logon script, map the drive letter to the home directory or > create a roaming profile. All my smb.conf setting look correct as per theTry giving a look at this IBM tutorial, I used it and found it simple and effective, and it covers what you are asking for: http://www-1.ibm.com/servers/esdd/tutorials/samba.html Please note that the short registration required is free. -- Ciao, Marco. ..."1978 gli dèi se ne vanno, gli arrabbiati restano!", Area 1978