ispman/tasks deleteEntryDN_task.pl,NONE,1.1.2.1

Pedro Algarvio <[email protected]> Thu, 05 Oct 2006 09:43:29 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/tasks
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv13425/tasks

Added Files:
      Tag: dev_1_3-cyrus_virtdomain2
	deleteEntryDN_task.pl 
Log Message:
Reverted to original, but while deleting a user, if running in cyrus virtdomains mode, the user's DN branch is not deleted right away, instead it adds a new process which calls a task just for this, why, because mailbox_actions_cyrus.lib fetches the correct mailbox naming from ldap.


--- NEW FILE: deleteEntryDN_task.pl ---
sub deleteEntryDN_task {
    $params = shift;
    $dn = $params->{'dn'};
    $dn =~ s/#/=/g;
    $ispman->deleteEntry($dn);
}


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV