Author: jerry
Date: 2005-08-29 21:06:08 +0000 (Mon, 29 Aug 2005)
New Revision: 793

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=793

Log:
updating winbindd patch
Modified:
   trunk/patches/winbindd_v1.patch


Changeset:
Modified: trunk/patches/winbindd_v1.patch
===================================================================
--- trunk/patches/winbindd_v1.patch     2005-08-29 20:06:19 UTC (rev 792)
+++ trunk/patches/winbindd_v1.patch     2005-08-29 21:06:08 UTC (rev 793)
@@ -24,6 +24,28 @@
  
                        SAFE_FREE(state.response.extra_data);
  
+diff -urBbN --exclude-from=diff.excludes 
samba-3.0.20-orig/source/nsswitch/winbindd_user.c 
samba-3.0.20-new/source/nsswitch/winbindd_user.c
+--- samba-3.0.20-orig/source/nsswitch/winbindd_user.c  2005-07-28 
08:19:44.000000000 -0500
++++ samba-3.0.20-new/source/nsswitch/winbindd_user.c   2005-08-29 
16:04:22.000000000 -0500
+@@ -230,6 +230,7 @@
+                                   const char *shell,
+                                   uint32 group_rid)
+ {
++      fstring username;
+       struct getpwsid_state *s =
+               talloc_get_type_abort(private_data, struct getpwsid_state);
+ 
+@@ -240,7 +241,9 @@
+               return;
+       }
+ 
+-      s->username = talloc_strdup(s->state->mem_ctx, acct_name);
++      fstrcpy( username, acct_name );
++      strlower_m( username );
++      s->username = talloc_strdup(s->state->mem_ctx, username);
+       s->fullname = talloc_strdup(s->state->mem_ctx, full_name);
+       s->homedir = talloc_strdup(s->state->mem_ctx, homedir);
+       s->shell = talloc_strdup(s->state->mem_ctx, shell);
 diff -urBbN --exclude-from=diff.excludes 
samba-3.0.20-orig/source/nsswitch/winbindd_util.c 
samba-3.0.20-new/source/nsswitch/winbindd_util.c
 --- samba-3.0.20-orig/source/nsswitch/winbindd_util.c  2005-07-28 
08:19:44.000000000 -0500
 +++ samba-3.0.20-new/source/nsswitch/winbindd_util.c   2005-08-29 
13:34:16.000000000 -0500

Reply via email to