r23407: While verifying a bug I found out that for some reason
authorSimo Sorce <idra@samba.org>
Sat, 9 Jun 2007 22:45:21 +0000 (22:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:14 +0000 (12:23 -0500)
commit6250b82014f463c5683e18b0646bcae8da379ecf
tree518cc4c200aeccc76500ef126f818dee2bbac980
parent22a7d90bfe94a1bb16c1d3d1070d1aad8dc4803f
r23407: While verifying a bug I found out that for some reason
the code to add a machine was different then the one used
to add a user, the old code led to the machine SID not being
built out correctly allocationg a new RID out of the passdb
but instead by using the old algorithmic method.
This may easily end up in creating duplicated SID when the
RID counter get close to the values built by the algorithmic method.

Simo.
(This used to be commit e077142aa39ad927a16e0d04874857bbc171ce07)
source3/utils/pdbedit.c