diff options
Diffstat (limited to 'nslcd/shadow.c')
-rw-r--r-- | nslcd/shadow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/shadow.c b/nslcd/shadow.c index eb7e229..d21a534 100644 --- a/nslcd/shadow.c +++ b/nslcd/shadow.c @@ -282,7 +282,7 @@ static int write_shadow(TFILE *fp,MYLDAP_ENTRY *entry,const char *requser) if (strcasecmp(attmap_shadow_shadowLastChange,"pwdLastSet")==0) { if (flag&UF_DONT_EXPIRE_PASSWD) - maxdays=99999; + maxdays=-1; flag=0; } /* write the entries */ |