HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Help required in adding Domain Users to Local Powers Users group (http://www.howtoforge.com/forums/showthread.php?t=38576)

skirao 28th August 2009 10:49

Help required in adding Domain Users to Local Powers Users group
 
Hi all,

Ubuntu 8.04 Server 64-bit edition
Samba 3.0.28a configured as PDC
I have NO WINDOWS NT MACHINE ON THE NETWORK. WinXP clients login to the samba domain and access their home directories as configured.

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:

#!/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

I tried executing the net rpc group addmem command manually and here's what happens
#net rpc group addmem "Administrators" "Domain Users" \ -S WINPCO32
Password:
Usage: 'net rpc group addmem <group> <member>

root@sunbox:~# net rpc group addmem "Power Users" "domain_name\username"
Password:
Could not add domain_name\username to Power Users:NT_STATUS_NO_SUCH_ALIAS
(I replaced the domain_name with the name of the domain and username with the appropriate user account.)

#net rpc group addmem "Power Users" "Domain Users" -S 100.100.100.247
Password:
Could not add Domain Users to Power Users: NT_STATUS_ACCESS_DENIED

where 100.100.100.247 is the clients machine IP address

How can i make this work?
Thanks
Avinash

Can anybody help
Avinash


All times are GMT +2. The time now is 15:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.