diff options
author | Simon Rettberg | 2015-09-18 16:59:23 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-09-18 16:59:23 +0200 |
commit | 05ed28bbcbe9abe242c19fc7088cfd383db52588 (patch) | |
tree | 1ff589012cc5d58a9d98957ce8486ceefd7da6f3 /inc | |
parent | Change some wording, add deletion reminder to main page (diff) | |
download | slx-admin-05ed28bbcbe9abe242c19fc7088cfd383db52588.tar.gz slx-admin-05ed28bbcbe9abe242c19fc7088cfd383db52588.tar.xz slx-admin-05ed28bbcbe9abe242c19fc7088cfd383db52588.zip |
[ldap/ad] Figure out proper spelling of search base
Diffstat (limited to 'inc')
-rw-r--r-- | inc/util.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/util.inc.php b/inc/util.inc.php index 4378a084..06eebfa4 100644 --- a/inc/util.inc.php +++ b/inc/util.inc.php @@ -285,5 +285,9 @@ SADFACE; @unlink($file); exit(0); } + + public static function normalizeDn($dn) { + return preg_replace('/[,;]\s*/', ',', $dn); + } } |