diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-09-16 22:24:20 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-09-16 22:24:20 +0200 |
commit | 843483d7a6b4cda72cf35e52ab62e85998ea9962 (patch) | |
tree | b4fe17ba3814c798126afff2da89bff84eaa2ba1 | |
parent | f3b3bc90da066b7a359f7962f9c6a0fd99c3180c (diff) |
Avoid space after comma in DN.
-rwxr-xr-x | ldap/mkldapdb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/mkldapdb b/ldap/mkldapdb index 623a706..2e0d34a 100755 --- a/ldap/mkldapdb +++ b/ldap/mkldapdb @@ -5,7 +5,7 @@ set -e umask 066 # Resolve some defaults from other system config -basedn="`grep '^BASE\b' /etc/ldap/ldap.conf | sed -e 's/^BASE[[:space:]]\+//'`" +basedn="`grep '^BASE\b' /etc/ldap/ldap.conf | sed -e 's/^BASE[[:space:]]\+//' -e 's/,[[:space:]]\+/,/g'`" dnsdomain="`dnsdomainname`" orgname="" if [ -r /etc/local-ORG/orgname ]; then |