One less Get_Pwnam_Modify call!
authorAndrew Bartlett <abartlet@samba.org>
Mon, 21 Jan 2002 00:32:26 +0000 (00:32 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 21 Jan 2002 00:32:26 +0000 (00:32 +0000)
(the passdb backend is case-insensitive, so there isn't any point to this).

Andrew Bartlett
(This used to be commit 5e868b403340d84d68c1831a09bf1a4dd710da90)

source3/smbd/lanman.c

index 1a5777e1d4bb49d5a8d9dbf1e0f61b348d7414e9..d755bb42f8bf668bf045f741331b8ab0e2aee286 100644 (file)
@@ -2052,11 +2052,6 @@ static BOOL api_SamOEMChangePassword(connection_struct *conn,uint16 vuid, char *
 
   (void)map_username(user);
 
-  /*
-   * Do any UNIX username case mangling.
-   */
-  (void)Get_Pwnam_Modify( user );
-
   if (pass_oem_change(user, (uchar*) data, (uchar *)&data[516], NULL, NULL))
   {
     SSVAL(*rparam,0,NERR_Success);