[Samba] Update -- Username to SID translation on Security Tab

Buchan Milne bgmilne at cae.co.za
Tue Aug 13 23:57:03 GMT 2002

Where does the LDAP come in? Are you using both LDAP and winbind? This 
probably isn't going to work, since you will get different uid's from 
LDAP than from winbind.

Or am I missing something?

Try 'getent passwd|grep $USER' (not 'getent passwd $USER', which will 
only give you the first entry returned), if you get more than one entry, 
and if the uid/gid differs, you are going to have problems.


James S. Martin wrote:
> This is weird...  So it seems that it's not able to map the SID to 
> username with only my account.  For anyone else it works fine.  (Well I 
> tried 3 other people's account).  I looked at my account via and 
> ldapbrowser and it seems my account has a lot more attributes than the 
> folks whos accounts do work.  I find this very strange.
> James
> Buchan Milne wrote:
>> Oops, I missed that.

>> James S. Martin wrote:
>>> The strange thing is that I am running winbind.  The samba server 
>>> belongs to a Windows 2000 domain.

|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7

More information about the samba mailing list