[SCM] Samba Shared Repository - branch v3-5-test updated

Karolin Seeger kseeger at samba.org
Wed Jul 28 02:48:54 MDT 2010


The branch, v3-5-test has been updated
       via  de7cb26... s3: Fix bug 7578
      from  97e0238... s3-libsmb: Fix bug #7577.

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


- Log -----------------------------------------------------------------
commit de7cb260e2145674bd5428c3e08b885fb0450659
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Jul 27 10:05:16 2010 +0200

    s3: Fix bug 7578
    
    'net idmap restore' fails to set HWM, causing duplicates

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

Summary of changes:
 source3/winbindd/winbindd_dual_srv.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c
index b247d5a..9fef780 100644
--- a/source3/winbindd/winbindd_dual_srv.c
+++ b/source3/winbindd/winbindd_dual_srv.c
@@ -610,12 +610,12 @@ NTSTATUS _wbint_SetHWM(pipes_struct *p, struct wbint_SetHWM *r)
 
 	id.id = r->in.id;
 
-	switch (id.type) {
+	switch (r->in.type) {
 	case WBINT_ID_TYPE_UID:
 		id.type = ID_TYPE_UID;
 		status = idmap_set_uid_hwm(&id);
 		break;
-	case ID_TYPE_GID:
+	case WBINT_ID_TYPE_GID:
 		id.type = ID_TYPE_GID;
 		status = idmap_set_gid_hwm(&id);
 		break;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list