1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/dsdb
Andrew Bartlett 2763cad409 dsdb-ridalloc: Fix RID pools - RID numbers increase too quickly
A patch by Cove Schneider <cove_s@yahoo.com> who reports:

I noticed that the RID numbers seem to increase incrementally, then
will suddenly jump by 124501. Unless I'm misunderstanding, shouldn't
RID pool allocations just be 500 at a time?

e.g.  Adding accounts one after another on a single test instance here's how they're incrementing (from 4.0.6):
1596
1597
1598
1599
126100
126101
126102
...
126599

251100
...

251599

376100
...

The problem is that this complicates using sssd's AD integration, as
that it doesn't expect the RIDs to increase in a single domain so
quickly.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jul  4 20:13:05 CEST 2013 on sn-devel-104
2013-07-04 20:13:05 +02:00
..
common dsdb: remove a wrong comment in dsdb_check_access_on_dn_internal() 2013-06-13 18:19:24 +02:00
dns lib/param: Create a seperate server role for "active directory domain controller" 2012-06-15 09:18:33 +02:00
kcc dsdb: Allow dsdb_find_dn_by_guid to show deleted DNs 2013-06-12 10:02:07 +02:00
repl dsdb: Allow dsdb_find_dn_by_guid to show deleted DNs 2013-06-12 10:02:07 +02:00
samdb dsdb-ridalloc: Fix RID pools - RID numbers increase too quickly 2013-07-04 20:13:05 +02:00
schema dsdb: reset schema->{classes,attributes}_to_remove_size to 0 2013-06-11 11:40:39 +02:00
tests/python dsdb-tests ldap.py: Add test for usn behaviour on certain changes 2013-06-12 11:54:01 +02:00
pydsdb.c s4:dsdb_sort_objectClass_attr - simplify memory context handling 2012-08-22 01:31:55 +02:00
samdb.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
wscript_build Introduce system MIT krb5 build with --with-system-mitkrb5 option. 2012-05-23 17:51:50 +03:00