Unix-side login script under Samba???

Richard Sharpe sharpe at ns.aus.com
Tue Dec 5 22:01:10 GMT 2000


At 05:29 PM 12/5/00 +0000, High Mobley wrote:
>Gerald Carter wrote:
>> 
>> Sergei Makarov wrote:
>> >
>> > Try something like this:
>> >
>> >  [netlogon]
>> >    comment = Network Logon Service
>> >    path = /path/to/share/netlogon
>> >    root preexec = unix-side-script-when-user-logs-on %U %m %a %I
>> 
>> [netlogon] actually gets connected to twice IIRC.  Check smbd logs
>> to verify this.
>> 
>> CHeers, jerry
>
>You're correct about this. I've been watching the script output, which
>specifies the share that the client is connecting to. Netlogon came up
>twice per login by WinNT clients machines logging into the Samba domain.

Netlogon is accessed once to get the login script, and once to check for
policies.

I think if you switch off policies, it does not do the second access.

>-High Mobley


Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba






More information about the samba-ntdom mailing list