On Sun, 2005-08-14 at 12:02 +0200, Eduard Witteveen wrote:
> Eduard Witteveen wrote:
> 
> >> Error: modifications require authentication at 
> >> /usr/share/perl5/smbldap_tools.pm line 891, <DATA> line 283.
> >>   [2005/08/11 16:46:54, 0] 
> >> rpc_server/srv_samr_nt.c:_samr_create_user(2324)
> >> _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w 
> >> "eduard-laptop$"' gave 127
I changed the add machine script into 'set
> /tmp/user.txt; /usr/sbin/smbldap-useradd -w "%u"'. This /tmp/user.txt
contains a lot of information,.. but what really wondered me was the
following part:
        ...
        UID=65534
        USER=root
        ...
(where one would expect uid=0, since the uid of administrator(user in
ldap) is 0)


When i do this on the commandline, the administrator has a UID of 0
        [EMAIL PROTECTED]:~$ sudo -u Administrator bash
        [EMAIL PROTECTED]:~# set | grep UID=0
        EUID=0
        UID=0

How can i let the add machine script run with UID = 0?

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to