ispman/install-data/templates domain.posixGroup.ldif.template,NONE,1.1 domain.extended.ldif.template,1.12,1.13
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/install-data/templates
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8073/install-data/templates
Modified Files:
domain.extended.ldif.template
Added Files:
domain.posixGroup.ldif.template
Log Message:
fixed the "ispmanDomain has no posixGroup" problem finaly
Index: domain.extended.ldif.template
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/templates/domain.extended.ldif.template,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- domain.extended.ldif.template 20 Jun 2004 13:04:44 -0000 1.12
+++ domain.extended.ldif.template 26 Jun 2004 12:22:08 -0000 1.13
@@ -1,8 +1,8 @@
objectclass: PureFTPdUser
cn: <perl>$domain</perl>
uid: <perl>$domain</perl>
-uidNumber: <perl>$ispman->{'ldap'}->getUid()</perl>
-gidNumber: <perl>$ispman->{'ldap'}->getGid()</perl>
+uidNumber: <perl>$r->param("uidnumber")</perl>
+gidNumber: <perl>$r->param("gidnumber")</perl>
homeDirectory: <perl>$r->param("homeDirectory")</perl>
userPassword: <perl>$ispman->encryptPassWithMethod($r->param("userPassword"),$ispman->getConf('userPassHashMethod'))</perl>
loginShell: <perl>$r->param("loginShell") || $ispman->getConf("domainShell");</perl>
--- NEW FILE: domain.posixGroup.ldif.template ---
dn: cn=<perl>$domain</perl>,ispmanDomain=<perl>$domain</perl>,<perl>$ispman->getConf("ldapBaseDN")</perl>
objectclass: posixGroup
gidnumber: <perl>$r->param("gidnumber")</perl>
cn: <perl>$domain</perl>
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com