[Samba] User disappears, when enabling RC2307

Lars Hanke debian at lhanke.de
Fri Aug 8 11:49:53 MDT 2014

Am 08.08.2014 16:26, schrieb steve:
> On Fri, 2014-08-08 at 12:11 +0200, Lars Hanke wrote:
>>>>          idmap config AD: range = 1001 - 29999
>>>>          idmap config *: range = 30000 - 50000
>>> you have set in your smb.conf '30000 - 50000' (also the range should be
>>> set as 30000-50000, not as you have it).
> Lars, correct the ranges as Rowland has outlined before trying anything
> else. If you have the 1001 for mgr, what is mgr? Is it a group? What
> does the DN for mgr look like? Does it have a uidNumber or a gidNumber?

I copied the idmap entries from another client, which perfectly maps the 

root at nfs4:/# id mgr
uid=1001(mgr) gid=10000(domain_users) 

Yes, the user has uid and uidNumber set properly.

My aim is to keep my legacy POSIX users, which had uid in the range 1000 
- 2000. These uid have been put to the AD DC. On nfs4 (my samba 3.6.6 
toy system) everything runs nicely.

I have no problem extending the range to higher numbers, if this may 
solve the riddle.

Currently the NAS is mounted using NFS3. Keeping the uids would allow a 
smooth migration.

There is no uid 1001 in /etc/passwd.

  - lars.

More information about the samba mailing list