samu_set_unix() does not use the rid allocator, but forces to use the
commitfdd4abfb65ce7aeffa949a23b13e95497e79522d
authorSimo Sorce <idra@samba.org>
Sun, 13 Jul 2008 02:44:15 +0000 (12 22:44 -0400)
committerKarolin Seeger <kseeger@samba.org>
Mon, 8 Sep 2008 11:49:00 +0000 (8 13:49 +0200)
tree5bfa35ff409e882bce8a6b92ded6339fa3cad45a
parent52ff2f58811622263d6acc52a1d86887244ff15b
samu_set_unix() does not use the rid allocator, but forces to use the
algoritmic allocator unconditionally, this is wrong an inconsistent.
Use samu_alloc_rid_unix() instead.
(If we create a new user we should do it in a way consistent with all
other commands like pdbedit -a and net rpc user add.)
(cherry picked from commit e1d4db8f55b25c7e9c408cb334fb89ccfd4c6565)
source/passdb/passdb.c