[Samba] Samba PDC- Administrator translated to root

Gavin Henry ghenry at suretecsystems.com
Thu Mar 10 21:49:45 GMT 2005


> I assume this is because the PDC Administrator user is
> assigned uidnumber=0 which is also the UNIX root
> user's UID.

Yes, therefore, did you run these commands:

http://us2.samba.org/samba/docs/man/Samba-Guide/happy.html#id2557728

No. 12


In the above listing, you can see that the user root has been given UID=998. 
This means that operations conducted from a Windows client using tools such 
as the Domain User Manager fails under UNIX because the management of user 
and group accounts requires that the UID=0. You decide to rectify this 
immediately as demonstrated here:

root#  cd /opt/IDEALX/sbin
root#  ./smbldap-usermod -u 0 -d /root -s /bin/bash root


Verify that the changes just made to the root account were accepted by 
executing:

root#  getent passwd | grep root
root:x:0:0:root:/root:/bin/bash
root:x:0:512:Netbios Domain Administrator:/root:/bin/bash

Thanks.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E ghenry at suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


More information about the samba mailing list