Help required in adding Domain Users to Local Powers Users group

Discussion in 'Server Operation' started by skirao, Aug 28, 2009.

  1. skirao

    skirao New Member

    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
     

Share This Page