[Samba] rid generation questions

TAKAHASHI Motonobu monyo at monyo.com
Mon Sep 5 09:06:01 MDT 2011


From: steffo76 at gmx.de
Date: Mon, 05 Sep 2011 16:51:57 +0200

> I have a few questions to ask... I am about to migrate from Samba 2
> to 3 (3.5.9). I am going to use LDAP as backend in the future and
> came across something I don't understand. As far as I know the 'old'
> way to generate RIDs for users is to take their uidnumber, multiply
> it by two and add 1000. For computer accounts it would be 1001
> instead of 1000. I am now trying to figure out how this works with
> 3.5.9 and ldapsam and if it is possible to re-enable the old
> behaviour.

If you want to use old way, you have to use 'old' passdb such as
smbpasswd or ldapsam_compat instead of ldapsam or tdbsam, although
they can not keep the detail information of users.

---
TAKAHASHI Motonobu <monyo at samba.gr.jp>






More information about the samba mailing list