diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/LDAP/convertSambaAccount | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/LDAP/convertSambaAccount b/examples/LDAP/convertSambaAccount index 4357dbc8f8..8b522ef8ae 100755 --- a/examples/LDAP/convertSambaAccount +++ b/examples/LDAP/convertSambaAccount @@ -156,9 +156,9 @@ while ( !$ldif->eof ) { @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; } } |