1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

applying fix for group map conversion (patch from Kristyan Osborne)

(This used to be commit 6237fae9b8407ee04226b984a932150799191d29)
This commit is contained in:
Gerald Carter 2003-07-01 15:21:43 +00:00
parent 82676162af
commit a220e983d0

View File

@ -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 );
}
}