Sorry to send this to the general list but I couldn't find the information on how to send to the samba-ntdom list. I have just setup my Samba as a PDC and I am trying to get my Windows 2000 client to login. The client successfully logs in but does not run the login script. If I log in using one of my Windows 98 clients, the login scripts run every time with no problems. Also, I noticed that if I try to type the following from the W2K command prompt: net use h: /home It gives the following error: The user's home directory has not been specified. This also works on my Windows 98 clients. Any idea what I am doing wrong? One more thing. I can run the login script batch file after logging in so I have the permissions to access it. My smb.conf is attached to the end of this e-mail. Also, if you notice why I can't get profiles to function, I would appreciate that as well. Thanks for any help that is provided! Doug Campbell My smb.conf: [global] ; Basic server settings netbios name=snoopy workgroup=workgroup ; Miscellaneous settings dos filetime resolution = True dos filetimes = True time server = True wins support=yes ; Printer Share settings printcap name=/etc/printcap printing=bsd printer driver file=/etc/samba/printers.def ; we should act as the domain and local master browser os level=64 preferred master=yes domain master=yes local master=yes ; security settings (must use security = user) security = user ; encrypted passwords are a requirement for a PDC encrypt passwords = yes ; support domain logins domain logons=yes ; support for allowing client machines to join our domain. ; use root account and password to allow joining ; hopefully this will change in the future so that I can ; use a none root account domain admin group = root@snoopy ; where to store user profiles logon path = \\%L\profiles\%U ; where is a user's home directory and where should it ; be mounted at? logon drive = P: logon home = \\%L\%U ; specify a logon script location for all users logon script=scripts\%U.bat ; used for "on-the-fly" creation of machine trust accounts add user script = /usr/sbin/useradd -d /dev/null - g 100 -s /bin/false - M %u ; Guest Access settings map to guest=bad user ; share for storing user profiles [profiles] path = /data/smb/ntprofile read only = no create mask = 0600 directory mask = 0700 [homes] path = %H/samba browseable = no valid users = %U read only = No create mask = 700 writeable = Yes recycle bin = .recycled [tempint] path = /data/tempint/%U valid users = %U read only = No create mask = 700 [netlogon] path=/data/dos/netlogon read only=yes guest ok=no oplocks=no create mask=774 write list=@scriptadmin force group=scriptadmin recycle bin = .recycled [general] path=/data/general read only=no admin users=doug,travis create mask=770 directory mask=770 force group=sambauser recycle bin = .recycled [finance] path=/data/finance read only=yes valid users=@finance write list=@finance create mask=770 directory mask=770 force group=finance recycle bin = .recycled [operations] path=/data/operations read only=yes valid users=@ops write list=@ops create mask=770 directory mask=770 force group=ops recycle bin = .recycled [it] path=/data/it read only=yes valid users=@ituser write list=@ituser create mask=770 directory mask=770 force group=ituser recycle bin = .recycled [wenlin] public=yes path=/mnt/wenlin volume="wenlin2cd" force user=root read only=yes [printers] browseable=no guest ok=yes print ok=yes path=/var/spool/samba [software] path=/data/software guest ok=yes read only=no admin users=doug recycle bin = .recycled [pdf] path = /tmp printable=yes guest ok=yes force user=nobody print command=/usr/bin/printpdf %s printer driver = HP LaserJet 5P/5MP PostScript printer driver location=\\%h\printer$ [pdfshare] path=/tmp/pdfdropbox browseable=yes writeable=yes guest ok=yes ; File share to allow clients to download printer drivers [printer$] path=/etc/samba/printdrivers guest ok=yes read only=yes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi, Doug Campbell wrote: | Sorry to send this to the general list but I couldn't find the information | on how to send to the samba-ntdom list. | | I have just setup my Samba as a PDC and I am trying to get my Windows 2000 | client to login. The client successfully logs in but does not run the login | script. | If I log in using one of my Windows 98 clients, the login scripts run every | time with no problems. i have the same problem (posted a day before your's, unfortunatly unaswered until now), i was unable to use other than w2k sp2 clients, but after upgarading to 2.2.4 the logonscripts stopped to get executed after a while. | Also, I noticed that if I try to type the following from the W2K command | prompt: | | net use h: /home this is different on nt. use this: net use h: \\server\%USERNAME% /persistent:no you can also setup a script, that choices between windows nt and win9x | It gives the following error: | | The user's home directory has not been specified. | | This also works on my Windows 98 clients. Any idea what I am doing wrong? | | One more thing. I can run the login script batch file after logging in so I | have the permissions to access it. | | My smb.conf is attached to the end of this e-mail. Also, if you notice why | I can't get profiles to function, I would appreciate that as well. | | Thanks for any help that is provided! | | Doug Campbell | - -- # Thomas Stegbauer # Tronicplanet Datendienst GmbH # http://www.keyserver.de:11371/pks/lookup?op=get&search=0xFF837A1A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE81mE9zrK/xv+DehoRAg4RAJ99XKbgD4d7RZPMTCYFgvzWDX/BHwCg5cmL HCdLXSM26YttTnUwIfrZ20U=ohxk -----END PGP SIGNATURE-----