Change check on DN syntax (#330)

This commit is contained in:
Clément Oudot 2011-06-21 10:04:29 +00:00
parent bc2e692648
commit 28bfef3248

View File

@ -740,7 +740,8 @@ sub struct {
}, },
persistentSessions => { persistentSessions => {
_nodes => [qw(persistentStorage cn:persistentStorageOptions)], _nodes =>
[qw(persistentStorage cn:persistentStorageOptions)],
_help => 'sessionsdb', _help => 'sessionsdb',
persistentStorage => 'text:/persistentStorage', persistentStorage => 'text:/persistentStorage',
persistentStorageOptions => { persistentStorageOptions => {
@ -751,7 +752,6 @@ sub struct {
}, },
}, },
}, },
# OTHER PARAMETERS # OTHER PARAMETERS
@ -1423,7 +1423,7 @@ sub testStruct {
}, },
}, },
managerDn => { managerDn => {
test => qr/^(?:\w+=.*,\w+=.*)?$/, test => qr/^(?:\w+=.*)?$/,
msgFail => 'Bad LDAP dn', msgFail => 'Bad LDAP dn',
}, },
managerPassword => { managerPassword => {