Samba 2.0.6, NT and logon scripts

Richard Sharpe sharpe at ns.aus.com
Wed Feb 9 04:49:16 GMT 2000


Hi,	

I have been experimenting and messing around with Samba 2.0.6 as a PDC ...
and have found that is you set logon script to %u.bat, things do not work
very well. It seems that the code that handles the RPC call that retrieves
all the appropriate info does not call standard_sub on lp_logon_script :-(

Thus if you had a mixed Win9X and NT environment, you would be forced to
use include files to allow you to:

1. Generate scripts for Win 9X users
2. Have a logon script for NT users that was relevant ...

ie,

    logon script = %u.bat
    include = /etc/smb.conf.%a

Let's see if this works ...




Regards
-------
Richard Sharpe, sharpe at ns.aus.com, Master Linux Administrator :-),
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course



More information about the samba-ntdom mailing list