ispman/ispman-web/cgi-bin/tmpl/users search.tmpl,1.9,1.10

Atif Ghaffar <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/users
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9049/users

Modified Files:
	search.tmpl 
Log Message:
Fixing searchUsers. Instead of passing DN, we now pass domain name etc. 

Index: search.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/users/search.tmpl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- search.tmpl	4 Jan 2004 18:56:14 -0000	1.9
+++ search.tmpl	12 Apr 2005 12:03:28 -0000	1.10
@@ -10,7 +10,7 @@
 <BODY>
 <form>
 <input type=hidden name=mode value=searchUsers>
-<input type=hidden name=dn value="<perl>$r->param("dn")</perl>">
+<input type=hidden name="ispmanDomain" value="<perl>$r->param('ispmanDomain')</perl>">
 
 
 
@@ -58,7 +58,7 @@
 }
 
 $filter="&(objectclass=ispmanDomainUser)$filter";
-$users=$ispman->getEntriesAsHashRef($r->param("dn"),  $filter);
+$users=$ispman->getEntriesAsHashRef($ispman->getDomainDN($r->param("ispmanDomain")),  $filter);
 
 
 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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.