diff options
Diffstat (limited to 'examples/LDAP')
-rwxr-xr-x | examples/LDAP/convertSambaAccount | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/LDAP/convertSambaAccount b/examples/LDAP/convertSambaAccount index f5b49ff095..1cfb3ee2a4 100755 --- a/examples/LDAP/convertSambaAccount +++ b/examples/LDAP/convertSambaAccount @@ -93,7 +93,7 @@ while ( !$ldif->eof ) { foreach $key ( keys %attr_map ) { - if ( $entry->get_value($key) ) { + if ( defined($entry->get_value($key)) ) { $entry->add( $attr_map{$key} => $entry->get_value($key) ); $entry->delete( $key ); } |