[Samba] RID numbers

Andrew Bartlett abartlet at samba.org
Wed Jul 2 09:40:22 GMT 2003


On Wed, 2003-07-02 at 19:18, Andrey Nepomnyaschih wrote:
> Hello Andrew,
> 
> Well I've got the samba 3.0beta2 and it seems that Samba stills expects
> RID to be as (uidNumber * 2 + 1000).
> 
> I'll try decribe the situation maybe the problem lies somewhere else.
> 
> I have an Administrator account with uidNumber of 0. And whenever I set
> its RID to 500 (default from NT world) there's no way to add
> workstations to domain with the Administrator account. On the opposite
> side when I set RID to 1000 (0 * 2 + 1000) it works fine. So I assume
> that samba doesn't use the mapping between uidNumber from posixAccount
> and sambaSID from sambaSamAccount, when checks whether the account has
> root access.
> 
> Can you clarify this thing to me?

In order to use arbitary rids in LDAP, you *must* use 'idmap backed =
ldap:ldap://localhost' (as appropriate for your setup).

I will see how this can be best automated/documented to avoid future
confusion.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030702/f25bfc6e/attachment.bin


More information about the samba mailing list