diff options
Diffstat (limited to 'examples/LDAP/convertSambaAccount')
-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 5b7febd6a0..223c43eada 100755 --- a/examples/LDAP/convertSambaAccount +++ b/examples/LDAP/convertSambaAccount @@ -105,7 +105,7 @@ while ( !$ldif->eof ) { } elsif ( defined ( $is_samba_group ) ) { foreach $key ( keys %group_attr_map ) { if ( defined($entry->get_value($key)) ) { - $entry->add( $attr_map{$key} => $entry->get_value($key) ); + $entry->add( $group_attr_map{$key} => $entry->get_value($key) ); $entry->delete( $key ); } } |