summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/LDAP/convertSambaAccount2
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 );
}
}