[Samba] netlogon.bat issues

Avinash Rao avinash.aol at gmail.com
Fri Aug 21 03:45:03 MDT 2009


Hi Guys,

I have similar problem. I am following the instructions in
http://www.samba.org/samba/docs/man/...#magicnetlogon to add domain
users to the winxp clients Power Users group.

Code: autopoweruser.sh

#!/bin/bash

/usr/bin/net rpc group addmem "Power Users" "DOMAIN_NAME\$1" \
                  -UAdministrator%secret -S $2

exit 0

[netlogon]
comment = Netlogon Share
path = /export/samba/logon
root preexec = /etc/samba/scripts/autopoweruser.sh %U %m
read only = Yes
guest ok = Yes

But, this is not working as the user is still not added to the Power
Users group after login..

Can anybody help
Avinash


More information about the samba mailing list