diff options
author | Simon Rettberg | 2017-12-18 14:39:11 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-12-18 14:39:11 +0100 |
commit | c007b927e30fbd748c64a6ead2aee44a718bb077 (patch) | |
tree | bdb80d8d18e7dfc921ee8d2939bbc5024d1babc6 | |
parent | [proxy] More ugly hacks to support sssd for user names containing '@' (diff) | |
download | ldadp-c007b927e30fbd748c64a6ead2aee44a718bb077.tar.gz ldadp-c007b927e30fbd748c64a6ead2aee44a718bb077.tar.xz ldadp-c007b927e30fbd748c64a6ead2aee44a718bb077.zip |
Ugly hack ... rework this part
-rw-r--r-- | proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -689,7 +689,7 @@ static void response_replacePal(server_t *server, struct PartialAttributeList ** elifDELATTR(loginshell, loginShell); elifDELATTR(uidnumber, uidNumber, !server->plainLdap &&); elifDEL(mail); - elifDELATTR(cn, cn); + elifDELATTR(cn, cn, !iequals(server->map.uid, &s_cn) &&); elifDEL(memberof); else if (iequals(&(*pal)->type, &server->map.homemount)) { // homeDirectory is set in AD - it can either be a local path (in which case it's useless) |