allow differents type of managerDN
For connecting into a AD like windows 2016 we need to have a connection name like "user@domain.local". and now for
when we try to add a managerDn like "user@domain.local" we have this.
/usr/share/lemonldap-ng/bin/lemonldap-ng-cli -yes 1 set managerDn 'user@domain.local'
Modifications rejected: :
Saved under number 122
Errors : [
{
'message' => 'managerDn: __badValue__'
}
];
Status : [
{
'localhost' => 'OK'
}
];
to repair this just modify in lemonldap-ng-manager/NG/Manager/Build/Attributes.pm in line 2921 :
test => qr/^(?:\w+=.*|)$/,
to
test => qr/^\S*$/,
and same change in lemonldap-ng-manager/NG/Manager/Attributes.pm in line 1790 :
test => qr/^(?:\w+=.*|)$/,
to
test => qr/^\S*$/,
Thanks a lot .