diff options
author | Simo Sorce <idra@samba.org> | 2008-07-12 22:44:15 -0400 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-08-12 13:59:17 +0200 |
commit | 8080a0094317eb1e677b5523b5ff9f894a354caa (patch) | |
tree | f793604c5615898f5ccafb5ffd96e16c760bc554 /packaging/bin | |
parent | 7aea93c3d1060f277aab87e85fb3066b4f666109 (diff) | |
download | samba-8080a0094317eb1e677b5523b5ff9f894a354caa.tar.gz samba-8080a0094317eb1e677b5523b5ff9f894a354caa.tar.xz samba-8080a0094317eb1e677b5523b5ff9f894a354caa.zip |
Fix bug #6628 - "smbpassdb -a" using rid algorithm with tdbsam passdb
samu_set_unix() does not use the rid allocator, but forces to use the
algoritmic allocator unconditionally, this is wrong and 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)
Signed-off-by: Michael Adam <obnox@samba.org>
This fixes bug #6628.
(cherry picked from commit 0a1b125ae4260de3cee6a92b19e3977d922a8c11)
Diffstat (limited to 'packaging/bin')
0 files changed, 0 insertions, 0 deletions