[Samba] Running Windows 2000 Login Scripts Without Password Encryption

Dan Kador shoutinwhispers at yahoo.com
Thu Jun 5 15:13:00 GMT 2003


Hi Again,
 
Same old same old.  Here's a different spin on the question, though.  Now I'm wondering if there's a way to run login scripts automatically on a 2000 machine.  I've got Samba set up properly (I think).  It's running as a PDC, without password encryption (due to the way the rest of our network is set up - as of now it's not going to change, so I have to find a work around).  Obviously, this is a bit of a pain, but I can't do much about it.  I did have everything working well when encryption was turned on, so I'm fairly certain I know what I'm doing. 
 
In any case, we've decided that backing off to simply running login scripts without doing roving profiles (our original goal) is acceptable for now.  This would be fine, but I keep running into the same problem.  The [netlogon] share has guest access turned on, but when I logon with a 2000 machine, no script runs.  When I access the share by either running \\server\netlogon or \\server\netlogon\logon.bat (logon.bat is the simple test script I'm using) on my 2000 machine, an authentication window pops up asking for a username and password.  Since guest access is on, I can just hit enter and access to the share is granted.  The problem is having to input that blank username and password and I have no idea how to get around that.  
 
Further problems lie in trying to get the shares that REQUIRE a username and password authenticated in the script, but I've managed a workaround for that with a heavy-handed VBscript that asks the user for their username and password again.  Irregardless, this isn't the point of this question, just an indication of where I'm trying to take this.
 
Oh, and I can logon to the domain in Windows 95 and run a logon script there, so I know that it works sometimes.  It's not a syntax problem with the script either, because once I authenticate as a guest user under 2000 the script runs fine there as well.
 
Sorry for the lengthy e-mail and thanks for your help!
 
Dan


---------------------------------
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).


More information about the samba mailing list