diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2012-03-13 18:29:28 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2012-03-13 18:29:28 +0000 |
commit | 9e682fa2a633fd69ce2e6b4b987bda04f02424cc (patch) | |
tree | 771fb4b925ede600362c1545d615d6c949ecbece /nslcd/shadow.c | |
parent | cfed0d3c19a6998cc320c85b8f95b08934739703 (diff) |
make whether or not to do case-sensitive filtering configurable (patch by Matthew L. Dailey)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1634 ef36b2f9-881f-0410-afb5-c4e39611909c
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 eb5ffcb..d6a5a7e 100644 --- a/nslcd/shadow.c +++ b/nslcd/shadow.c @@ -307,7 +307,7 @@ static int write_shadow(TFILE *fp,MYLDAP_ENTRY *entry,const char *requser) &inactdays,&expiredate,&flag); /* 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)) { WRITE_INT32(fp,NSLCD_RESULT_BEGIN); WRITE_STRING(fp,usernames[i]); |