[Samba] Login script Query

Robert Schetterer robert at schetterer.org
Thu Dec 30 09:16:15 GMT 2004


Hi,
use a default login.bat script for all users
and use ifmember.exe ( download it at MS ) to invoke subprocuredures by 
relating groupmembership
Regards

Anandh G schrieb:

>I have a login script to mount some folders to the
>clients PC. I use the login script as
>
>login script = logon.bat
>[netlogon]
>path = /home/%u
>
>Then i create .bat file for each group of users in the
>/home dir. Then create a symbolic link in each users
>home dir to their respective group batch file in
>/home. 
>
>I thought of using login script = %g, which will do
>the same. I have one more requirement like if a user
>belongs to two group will this %g run both the groups
>batch file?
>
>How can I implement this? Plz help me
>
>=====
>Regards,
>AnandhG
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>Read only the mail you want - Yahoo! Mail SpamGuard. 
>http://promotions.yahoo.com/new_mail 
>  
>


More information about the samba mailing list