lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.6-26-ga89eda7

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd branch master updated. 0.9.6-26-ga89eda7



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".

The branch, master has been updated
       via  a89eda7e2030c4d99e700064379b38ff2a4452cb (commit)
      from  7eb1d693504a7923cff75e64278af8b3b7bf4ca3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=a89eda7e2030c4d99e700064379b38ff2a4452cb

commit a89eda7e2030c4d99e700064379b38ff2a4452cb
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Fri Jun 3 11:42:25 2016 +0200

    Also honor ignorecase in PAM
    
    This avoids changing the cannonical username to the value as specified
    in LDAP when ignorecase is used.
    
    See https://github.com/arthurdejong/nss-pam-ldapd/issues/12

diff --git a/nslcd/pam.c b/nslcd/pam.c
index 3c7df2c..6184ec2 100644
--- a/nslcd/pam.c
+++ b/nslcd/pam.c
@@ -149,7 +149,7 @@ static void update_username(MYLDAP_ENTRY *entry, char 
*username,
     return;
   }
   /* check if the username is different and update it if needed */
-  if (strcmp(username, value) != 0)
+  if (STR_CMP(username, value) != 0)
   {
     log_log(LOG_INFO, "username changed from \"%s\" to \"%s\"",
             username, value);

-----------------------------------------------------------------------

Summary of changes:
 nslcd/pam.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
nss-pam-ldapd
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/