summaryrefslogtreecommitdiff
path: root/examples/LDAP
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-07-01 15:21:43 +0000
committerGerald Carter <jerry@samba.org>2003-07-01 15:21:43 +0000
commita220e983d0ea04634e68d146c6279ec2896e0cfd (patch)
treeed8fc3f2808c3904473a89ed07057de969286fb8 /examples/LDAP
parent82676162af53e9c0ba08e517228aff59041ad4bc (diff)
downloadsamba-a220e983d0ea04634e68d146c6279ec2896e0cfd.tar.gz
samba-a220e983d0ea04634e68d146c6279ec2896e0cfd.tar.bz2
samba-a220e983d0ea04634e68d146c6279ec2896e0cfd.zip
applying fix for group map conversion (patch from Kristyan Osborne)
(This used to be commit 6237fae9b8407ee04226b984a932150799191d29)
Diffstat (limited to 'examples/LDAP')
-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 );
}
}