[Samba] logon.bat is not running on startup

Ed Holden eholden at mclean.harvard.edu
Thu Nov 13 15:29:26 GMT 2003


Andreas,

I had this happen as well - though in my case it was not intermittent. 
Some of my machines never ran my netlogon script.  On Windows domains 
the client machines do not necessarily have to be on the domain to log 
in - clients can used cached authentication once they've logged in 
successfully.  So people can take laptops and roam with them.

What happened in my case is that due to network problems some clints 
were not really authenticating to the domain, so the login scripts were 
not running.  I fixed this by creating an lmhosts file to specify the 
domain controller - Google for "lmhosts domain" and you'll get a 
Microsoft article explaining how to do it.  The syntact of lmhosts is 
rather specific.

-Ed

Andreas Cordes wrote:

> We setted up a PDC with Samba 2.2.5-UL (United Linux with Service Pack 2a) 
> and everything is working fine.
> 
> 
> On startup there is a script running which will do some work and map a 
> specific share from a server.
> But sometimes for some reason this script is not running on some 
> workstations.
> After disconnecting all the shares (net use * /delete) and a reboot 
> everything is working again.
> 
> When does this happen ?
> In the log file I can see that the logon-script is not called by the 
> workstation.
> 
> Does anyone have a hint ?
> 
> Thanks in advance
> Andreas
> 



Any information, including protected health information (PHI), transmitted
in this email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential and or
exempt from disclosure under applicable Federal or State law. Any review,
retransmission, dissemination or other use of or taking of any action in
reliance upon, protected health information (PHI) by persons or entities other
than the intended recipient is prohibited. If you received this email in error,
please contact the sender and delete the material from any computer.


More information about the samba mailing list