objectclasses are case insensitive. we used to convert only LDAP objects with
the typical UpperLower case for sambaAccount and sambaGroupMapping and ignored
any other case writings
@adds = ();
@dels = ();
foreach $obj ( @objclasses ) {
- if ( "$obj" eq "sambaAccount" ) {
+ if ( lc($obj) eq "sambaaccount" ) {
$is_samba_account = 1;
- } elsif ( "$obj" eq "sambaGroupMapping" ) {
+ } elsif ( lc($obj) eq "sambagroupmapping" ) {
$is_samba_group = 1;
}
}