diff options
Diffstat (limited to 'nslcd/passwd.c')
-rw-r--r-- | nslcd/passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/passwd.c b/nslcd/passwd.c index 73dd9f5..a6d0d5b 100644 --- a/nslcd/passwd.c +++ b/nslcd/passwd.c @@ -556,7 +556,7 @@ static int write_passwd(TFILE *fp,MYLDAP_ENTRY *entry,const char *requser, attmap_get_value(entry,attmap_passwd_loginShell,shell,sizeof(shell)); /* write the entries */ for (i=0;usernames[i]!=NULL;i++) - if ((requser==NULL)||(strcmp(requser,usernames[i])==0)) + if ((requser==NULL)||(STR_CMP(requser,usernames[i])==0)) { if (!isvalidname(usernames[i])) { |