svn commit: samba r9760 - in branches/tmp/RPCREWRITE/source/nsswitch: .

jra at samba.org jra at samba.org
Mon Aug 29 21:21:36 GMT 2005


Author: jra
Date: 2005-08-29 21:21:36 +0000 (Mon, 29 Aug 2005)
New Revision: 9760

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

Log:
Keep up to date.
Jeremy.

Modified:
   branches/tmp/RPCREWRITE/source/nsswitch/winbindd_user.c


Changeset:
Modified: branches/tmp/RPCREWRITE/source/nsswitch/winbindd_user.c
===================================================================
--- branches/tmp/RPCREWRITE/source/nsswitch/winbindd_user.c	2005-08-29 21:15:04 UTC (rev 9759)
+++ branches/tmp/RPCREWRITE/source/nsswitch/winbindd_user.c	2005-08-29 21:21:36 UTC (rev 9760)
@@ -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);



More information about the samba-cvs mailing list