i wondered why nisppass.c came up with a linker error "pdb_set_last_set_time"
authorLuke Leighton <lkcl@samba.org>
Mon, 25 May 1998 13:24:36 +0000 (13:24 +0000)
committerLuke Leighton <lkcl@samba.org>
Mon, 25 May 1998 13:24:36 +0000 (13:24 +0000)
not found.  this gave me a clue...

#if 0 /* commented out until someone uses them jra */

...

#endif
(This used to be commit d553901b9a21c4917058fc6838aaf73eb9a1c8cc)

source3/passdb/passdb.c

index b07829cb8b6c77127c1332f36e4094f71f7a6cbc..47811a3938e7a27fe160177f836307ec5d866738 100644 (file)
@@ -592,9 +592,6 @@ struct sam_passwd *pdb_smb_to_sam(struct smb_passwd *user)
        return &pw_buf;
 }
 
-#if 0
-
-  COMMENTED OUT UNTIL SOMETHING ACTUALLY USES THEM. JRA.
 
 /*******************************************************************
  gets password-database-format time from a string.
@@ -653,8 +650,6 @@ void pdb_set_last_set_time(char *p, int max_len, time_t t)
        set_time_in_string(p, max_len, "LCT", t);
 }
 
-#endif /* 0 */
-
 /**********************************************************
  Encode the account control bits into a string.
  **********************************************************/