1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4
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
..
auth gensec: Make the no-hostname status message much less scary 2013-05-16 19:02:00 +02:00
build/pasn1
cldap_server s4: Fix a -Wunused-value warning 2012-09-26 21:52:00 +02:00
client Make sure to set umask() before calling mkstemp(). 2013-03-06 01:16:34 +01:00
cluster source4/cluster and source4/ntvfs: convert to dbwrap, add ntdb option. 2013-04-12 14:59:42 -07:00
dns_server dns: Delete dnsNode objects when they are empty 2013-06-01 18:48:11 +10:00
dsdb dsdb-ridalloc: Fix RID pools - RID numbers increase too quickly 2013-07-04 20:13:05 +02:00
echo_server lib/param: Create a seperate server role for "active directory domain controller" 2012-06-15 09:18:33 +02:00
heimdal heimdal: fixed -Werror=format error in com_err 2012-08-02 08:59:24 +02:00
heimdal_build heimdal_build: Add missing dep on samba4kgetcred 2013-06-25 02:30:59 +02:00
include Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
kdc s4-kdc: Improve grammer and clarity of password change failure messages. 2012-09-01 03:33:21 +02:00
ldap_server s4:ldap_server: call irpc_add_name() at startup (bug #9905) 2013-06-13 12:37:04 +02:00
lib s4-libregistry: Improve NULL handling of name. 2013-03-05 23:30:11 +01:00
libcli build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
libnet build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
librpc build: Move nfs4acl to the top level 2013-05-09 06:18:20 +02:00
nbt_server s4-nbt: Ensure source4/ nbt client and server honour 'disable netbios' 2013-02-17 11:25:34 +01:00
ntp_signd build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
ntptr spoolss: make spoolss deal with ndr64 SetForm by using proper container object. 2013-01-17 17:11:37 +01:00
ntvfs source4/cluster and source4/ntvfs: convert to dbwrap, add ntdb option. 2013-04-12 14:59:42 -07:00
param Move python modules from source4/scripting/python/ to python/. 2013-03-02 03:57:34 +01:00
rpc_server Fix a missing parenthesis in the LDAP search request 2013-06-30 13:34:13 +02:00
script lib/param move source4 param code to the top level 2011-10-11 13:41:34 +11:00
scripting Make the output of the crackname script more readable 2013-07-03 23:17:56 +02:00
selftest selftest: Improve test coverage of DRS (bug #8680) 2013-05-23 20:26:25 +10:00
setup selftest: Remove output directories to save disk space 2013-03-04 08:35:05 +01:00
smb_server s4:smb_server: call irpc_add_name() at startup (bug #9905) 2013-06-13 12:37:04 +02:00
smbd Fix bug #9166 - Starting smbd or nmbd with stdin from /dev/null results in "EOF on stdin" 2013-06-20 13:41:01 +02:00
torture torture: Don't segfault in smb2.session on error. 2013-07-02 12:30:43 -07:00
utils ntlm_auth4: Use new samba_getpass() function. 2012-12-03 14:35:10 +01:00
web_server Move python modules from source4/scripting/python/ to python/. 2013-03-02 03:57:34 +01:00
winbind s4-winbind: Add special case for BUILTIN domain 2013-06-20 15:30:00 +02:00
wrepl_server lib/param: Remove use of lp{cfg,}_socket_address outside the NBT client and server 2012-07-27 17:59:51 +10:00
.clang_complete s3-build: Add .clang_complete. 2011-10-27 17:09:50 +02:00
.valgrind_suppressions
NEWS s4-param Remove 'sam database' parameter 2011-06-06 15:02:38 +10:00
TODO source4/TODO: Fix typo. 2013-05-15 21:04:42 -07:00
wscript_build build: Add missing deps and make MESSAGING a private library 2012-06-07 06:45:06 +02:00