Browse Source

Ticket 47560: fixup memberof task does not work: task entry not added

Bug Description:

	The fixup memberof tasks is triggered by ADD of entry like:
	cn=memberOf_fixup_YYYY_MM_DD_HH_MM_SS, cn=memberOf task, cn=tasks, cn=config

	the script fixup-memberof.pl does not add this entry

Fix Description:
	Initialize the $entry variable

https://fedorahosted.org/389/ticket/47560

Reviewed by: Noriko Hosoi

Platforms tested: F17

Flag Day: no

Doc impact: no
Thierry bordaz (tbordaz) 12 years ago
parent
commit
3902f691d8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ldap/admin/src/scripts/fixup-memberof.pl.in

+ 1 - 0
ldap/admin/src/scripts/fixup-memberof.pl.in

@@ -135,6 +135,7 @@ if ( $filter_arg ne "" )
     $filter = "filter: $filter_arg\n";
 }
 
+$entry = "${dn}${misc}${cn}${basedn}${filter}";
 $rc = DSUtil::ldapmod($entry, %info);
 
 $dn =~ s/^dn: //;