ispman/lib/ISPMan UserMan.pm,1.35,1.35.2.1

[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-serv22008

Modified Files:
      Tag: rel_1_1-bugfixes
	UserMan.pm 
Log Message:
fixed bug #884878 (oc violation when adding user)


Index: UserMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/UserMan.pm,v
retrieving revision 1.35
retrieving revision 1.35.2.1
diff -u -d -r1.35 -r1.35.2.1
--- UserMan.pm	14 Jan 2004 02:05:13 -0000	1.35
+++ UserMan.pm	26 Jan 2004 17:07:29 -0000	1.35.2.1
@@ -147,6 +147,7 @@
    my $homeDirectory=join '/', ($domain_info->{'homeDirectory'}, "users", $r->param("uid"), "");
    my $cn=($r->param("givenName") && $r->param("sn"))? join " ", ($r->param("givenName"), $r->param("sn")) :$r->param("userid");
    $r->param("cn", $cn);
+   $r->param("sn", ($r->param("sn")? $r->param("sn"):$r->param("userid")));
    $r->param("homeDirectory", $homeDirectory);
 
    #define 1 MB quota by default



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
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.