projects
/
virtual-ldap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
df535c7
)
cleanup dn from @domain since we extract it from e-mail
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 15 Sep 2009 13:10:13 +0000
(13:10 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 15 Sep 2009 13:10:13 +0000
(13:10 +0000)
lib/LDAP/Koha.pm
patch
|
blob
|
history
diff --git
a/lib/LDAP/Koha.pm
b/lib/LDAP/Koha.pm
index
e0b70bf
..
b497c2f
100644
(file)
--- a/
lib/LDAP/Koha.pm
+++ b/
lib/LDAP/Koha.pm
@@
-229,6
+229,8
@@
sub search {
undef $entry;
}
undef $entry;
}
+ $dn =~ s{@[^,]+}{};
+
$entry = Net::LDAP::Entry->new;
$entry->dn( $dn );
$entry = Net::LDAP::Entry->new;
$entry->dn( $dn );