[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3933-ge1d4db8

Simo Sorce idra at samba.org
Wed Sep 3 18:28:38 GMT 2008


The branch, v3-3-test has been updated
       via  e1d4db8f55b25c7e9c408cb334fb89ccfd4c6565 (commit)
      from  06442555c2a99c5efd70326337d991e5bd410734 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit e1d4db8f55b25c7e9c408cb334fb89ccfd4c6565
Author: Simo Sorce <idra at samba.org>
Date:   Sat Jul 12 22:44:15 2008 -0400

    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.)

-----------------------------------------------------------------------

Summary of changes:
 source/passdb/passdb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/passdb/passdb.c b/source/passdb/passdb.c
index a670b46..1606c64 100644
--- a/source/passdb/passdb.c
+++ b/source/passdb/passdb.c
@@ -675,7 +675,7 @@ NTSTATUS local_password_change(const char *user_name,
 				return NT_STATUS_NO_MEMORY;
 			}
 
-			result = samu_set_unix( sam_pass, pwd );
+			result = samu_alloc_rid_unix( sam_pass, pwd );
 
 			DEBUGLEVEL = tmp_debug;
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list