Hi, The login script has worked for our win98 computers since the dawn of time (or there abouts). Then something happened or I did something and the login script doesn't run anymore. I can run it manually. This was version 2.2.3a. I started smbd with -d10 and didn't see any call for a script. Is the login script mentioned in a working system? In an effort to fix this, I deleted and recreated the private directory and /var/lock/samba. No joy. Here is part of the smb.conf: [global] security = user encrypt passwords = yes preferred master = yes domain logons = yes domain master = yes local master = yes logon script = %U.bat [netlogon] available = yes path = /home/samba writable = no comment = Network Logon Service public = yes admin users = admin, bob write list = admin, bob I installed 2.2.5. No joy. Thanks -- Bob Crandell Assured Computing When you need to be sure. Cell 541-914-3985 FAX 240-371-7237 bob@assuredcomp.com www.assuredcomp.com Eugene, Or. 97402
I checked that. The login scripts are correct. I usually edit them with wordpad or vi so I won't loose the formatting. Is the login script mentioned in a working system? Thanks Kurt Weiss (info@kwnet.at) wrote*:> >may be, that you've written (changed) the script with an unix tool - if >so, the script isn't executable 4 command.com > >you can check this: when you open it with notapad, and the newlines are >ignored (a quader appeares instead of). > >solution: >open script with wordpad - copy paste into a new script - copy file back >to linux... > >Bob Crandell schrieb: >> >> Hi, >> The login script has worked for our win98 computers since the dawn of time (or >> there abouts). Then something happened or I did something and the login script >> doesn't run anymore. I can run it manually. This was version 2.2.3a. >> I started smbd with -d10 and didn't see any call for a script. Is the loginscript>> mentioned in a working system? >> >> In an effort to fix this, I deleted and recreated the private directory >> and /var/lock/samba. No joy. >> >> Here is part of the smb.conf: >> [global] >> security = user >> encrypt passwords = yes >> preferred master = yes >> domain logons = yes >> domain master = yes >> local master = yes >> logon script = %U.bat >> >> [netlogon] >> available = yes >> path = /home/samba >> writable = no >> comment = Network Logon Service >> public = yes >> admin users = admin, bob >> write list = admin, bob >> >> I installed 2.2.5. No joy. >> >> Thanks >> -- >> Bob Crandell >> Assured Computing >> When you need to be sure. >> Cell 541-914-3985 >> FAX 240-371-7237 >> bob@assuredcomp.com >> www.assuredcomp.com >> Eugene, Or. 97402 >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: http://lists.samba.org/mailman/listinfo/samba > > >Ing. Kurt Wei? >Softwareentwicklung, EDV Beratung und - Betreuung >A-6425 Haiming, Gartenweg 3 >Tel.: +43 699 1 272 9926 / Fax: +43 699 4 272 9926 >E-Mail: info@kwnet.at >Web: >http://www.kwnet.at http://www.oberlandinfo.at >==================================================>verbringe nicht die zeit mit der suche nach >einem hindernis. - vielleicht ist gar keines da. > >franz kafka >=================================================>-- Bob Crandell Assured Computing When you need to be sure. Cell 541-914-3985 FAX 240-371-7237 bob@assuredcomp.com www.assuredcomp.com Eugene, Or. 97402
The login script is never called so it never gets to a pause command. The mode is 744 on all bat files. admin:users owns the samba directory and it's contents and always have. I changed the ownership of bob.bat to bob:users to see if that would make a difference. No joy. Is the login script mentioned in a working system log files? Thanks Kurt Weiss (info@kwnet.at) wrote*:> > >Bob Crandell schrieb: >> >> I checked that. The login scripts are correct. I usually edit them with wordpad >> or vi so I won't loose the formatting. >> >> Is the login script mentioned in a working system? > >so far i know - not, i'm using the "pause" dos command in the login >script to check if the script is executed. (the script pauses and i see >it in the taskbar) > >please check case. - (Bob => bob.bat) >also, please check the owner/rights of the directories (home and samba) >and the owner of the batch files > > > >> >> Thanks >> >> Kurt Weiss (info@kwnet.at) wrote*: >> > >> >may be, that you've written (changed) the script with an unix tool - if >> >so, the script isn't executable 4 command.com >> > >> >you can check this: when you open it with notapad, and the newlines are >> >ignored (a quader appeares instead of). >> > >> >solution: >> >open script with wordpad - copy paste into a new script - copy file back >> >to linux... >> > >> >Bob Crandell schrieb: >> >> >> >> Hi, >> >> The login script has worked for our win98 computers since the dawn of time (or >> >> there abouts). Then something happened or I did something and the loginscript>> >> doesn't run anymore. I can run it manually. This was version 2.2.3a. >> >> I started smbd with -d10 and didn't see any call for a script. Is the login >> script >> >> mentioned in a working system? >> >> >> >> In an effort to fix this, I deleted and recreated the private directory >> >> and /var/lock/samba. No joy. >> >> >> >> Here is part of the smb.conf: >> >> [global] >> >> security = user >> >> encrypt passwords = yes >> >> preferred master = yes >> >> domain logons = yes >> >> domain master = yes >> >> local master = yes >> >> logon script = %U.bat >> >> >> >> [netlogon] >> >> available = yes >> >> path = /home/samba >> >> writable = no >> >> comment = Network Logon Service >> >> public = yes >> >> admin users = admin, bob >> >> write list = admin, bob >> >> >> >> I installed 2.2.5. No joy. >> >> >> >> Thanks >> >> -- >> >> Bob Crandell >> >> Assured Computing >> >> When you need to be sure. >> >> Cell 541-914-3985 >> >> FAX 240-371-7237 >> >> bob@assuredcomp.com >> >> www.assuredcomp.com >> >> Eugene, Or. 97402 >> >> >> >> -- >> >> To unsubscribe from this list go to the following URL and read the >> >> instructions: http://lists.samba.org/mailman/listinfo/samba >> > >> > >> >Ing. Kurt Wei? >> >Softwareentwicklung, EDV Beratung und - Betreuung >> >A-6425 Haiming, Gartenweg 3 >> >Tel.: +43 699 1 272 9926 / Fax: +43 699 4 272 9926 >> >E-Mail: info@kwnet.at >> >Web: >> >http://www.kwnet.at http://www.oberlandinfo.at >> >==================================================>> >verbringe nicht die zeit mit der suche nach >> >einem hindernis. - vielleicht ist gar keines da. >> > >> >franz kafka >> >=================================================>> > >> -- >> Bob Crandell >> Assured Computing >> When you need to be sure. >> Cell 541-914-3985 >> FAX 240-371-7237 >> bob@assuredcomp.com >> www.assuredcomp.com >> Eugene, Or. 97402 >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: http://lists.samba.org/mailman/listinfo/samba >-- Bob Crandell Assured Computing When you need to be sure. Cell 541-914-3985 FAX 240-371-7237 bob@assuredcomp.com www.assuredcomp.com Eugene, Or. 97402
Your login script works. If you run smbd -d10, does your log file show the call to your login script? Mine doesn't. My logs don't show any errors. Thanks Kurt Weiss (info@kwnet.at) wrote*:> >also take a look into the logfiles of samba (may be there's the problem >descripted)... >-- Bob Crandell Assured Computing When you need to be sure. Cell 541-914-3985 FAX 240-371-7237 bob@assuredcomp.com www.assuredcomp.com Eugene, Or. 97402