Handle multiple colons in LDIF config file

https://sourceforge.net/tracker/index.php?func=detail&aid=3433993&group_id=17457&atid=117457#
This commit is contained in:
Jamie Cameron
2011-11-07 22:38:02 -08:00
parent 0509d8102d
commit e0ec2216ca

View File

@@ -265,7 +265,7 @@ foreach my $file (&recursive_find_ldif($config{'config_file'})) {
while(<CONFIG>) {
s/\r|\n//g;
s/^#.*$//;
if (/^(\S+):\s*(.*)/) {
if (/^([^: \t]+):+\s*(.*)/) {
# Start of a directive
local $dir = { 'file' => $file,
'line' => $lnum,