[Samba] SAMBA+LDAP-How to promote Administrator with all priviliges?

Frank Van Damme frank.vandamme at gmail.com
Thu Oct 11 09:27:54 GMT 2007

On 10/11/07, Torsten <heinzelrumpel at gmx.de> wrote:
> Hi,
> I have setup samba+ldap an almost everything went well, accept the fact,
> that there was no administrative account from the beginning. So I just
> created one using smbldap-useradd.
> samba-pdc:~# /usr/sbin/smbldap-usershow administrator
> dn: uid=administrator,ou=Users,dc=rhhu,dc=local
> objectClass:
> top,person,organizationalPerson,inetOrgPerson,posixAccount,shadowAccount,sambaSamAccount
> cn: administrator
> sn: administrator
> givenName: administrator
> uid: administrator
> uidNumber: 1004
> gidNumber: 513


> So, administrator is member of Domain Admins. I suppose the problem lies
> within the primary group membership of that account, but I have no clue
> how to change the sid.
> What would be a practicable solution? Thanks.
> Regards, Torsten

You problem is that the account does not have uid number 0. If it has,
it has a root account on your unix box and you're all set.

Frank Van Damme   A: Because it destroys the flow of the conversation
                  Q: Why is it bad?
                  A: No, it's bad.
                  Q: Should I top post in replies to mails or on usenet?

More information about the samba mailing list