[Samba] Rid generation
Nuno Fernandes
npf-mlists at eurotux.com
Fri Sep 19 07:48:38 GMT 2008
On Thursday 18 September 2008 18:26:00 Helmut Hullen wrote:
> Hallo, Nuno,
>
> Du (npf-mlists) meintest am 18.09.08:
> > If i have smbpasswd with:
> >
> > user1:1416:803A317873C24BBDAAD3B435B51404EE:2DF2CB1538FE718DE034707A5
> > 21AA893: [U ]:LCT-1221415636:
> >
> > [root at server samba]# pdbedit -L -v user1
> > User SID: S-1-5-21-1454471165-2146950999-672003340-1416
> >
> > Where does it get the 1416 Rid from?
>
> What tells
>
> getent passwd user1
>
> The Samba Rid looks like the Linux group ID.
>
> Viele Gruesse!
> Helmut
Nop.. it's not the uid...
# pdbedit -L -v user2|grep SID; getent passwd user2
User SID: S-1-5-21-1713105005-2794899747-1095719273-4648
Primary Group SID: S-1-5-21-1713105005-2794899747-1095719273-513
user2:x:1824:1824::/home/user1:/sbin/nologin
Best regards,
Nuno Fernandes
More information about the samba
mailing list