ispman/lib/ISPMan UserMan.pm,1.51,1.52

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24909/lib/ISPMan

Modified Files:
	UserMan.pm 
Log Message:
fixed bug [ 1022518 ] edit user dishonors non-ispman objectclasses
(merged from rel_1_2-bugfixes)

Index: UserMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/UserMan.pm,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- UserMan.pm	15 Jul 2004 11:00:30 -0000	1.51
+++ UserMan.pm	5 Sep 2004 11:18:13 -0000	1.52
@@ -329,7 +329,10 @@
     $data->{'mailForwardingAddress'} =
       $self->as_arrayref( split( /\s+/, $r->param("mailForwardingAddress") ) );
 
-    $data->{'objectClass'} = $self->{'Config'}{'ispmanUserObjectclasses'};
+    # don't set objectclasses here! It would dishonor non-ispman 
+    # objectclasses and attributes. Update issues are handled by
+    # ldifupdate anyways.
+    # $data->{'objectClass'} = $self->{'Config'}{'ispmanUserObjectclasses'};
 
     my $userInfo = $self->getUserInfo( $r->param("uid") );
     if ( $userInfo->{'mailHost'} && $r->param("mailQuota") ) {



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.