[phpldapadmin] php.PickList using relative search base
Ivan Ferreira <[email protected]>
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <1880421964A72B44804F0F42CD92008A158657F726@ASUSIS-EXCHMBX1.personal.com.py> |
Hello everybody.
I'm testing phpldapadmin 1.2.0.5 with 389 Directory Server.
When I try to create a posixAccount using the posixAccount.xml template, I get:
"This template uses a selection list for attribute [gidNumber], however the selection list is empty."
The problem is that the template is doing the search under ou=people,dc=domain,dc=com (relative to the user) instead of dc=domain,dc=com (the top level base DN).
PosixGroups are created on ou=groups,dc=domain,dc=com.
If I change the php.Picklist section in the themplate fom "/" to "..":
<value><![CDATA[=php.PickList(..;(&(objectClass=posixGroup));gidNumber;%cn%;;;;cn)]]></value>
It works correctly, as it does the search above people, but this would work only with one level of OUs for users.
I would like to know what could be the reason that php.PickList is searching on the same OU of the users instead of the entire directory, even when base is indicated correctly on config.php.
Thanks in advance.
________________________________
AVISO LEGAL: Esta informaci?n es privada y confidencial y est? dirigida ?nicamente a su destinatario. Si usted no es el destinatario original de este mensaje y por este medio pudo acceder a dicha informaci?n por favor elimine el mensaje. La distribuci?n o copia de este mensaje est? estrictamente prohibida. Esta comunicaci?n es s?lo para prop?sitos de informaci?n y no debe ser considerada como propuesta, aceptaci?n ni como una declaraci?n de voluntad oficial de NUCLEO S.A. La transmisi?n de e-mails no garantiza que el correo electr?nico sea seguro o libre de error. Por consiguiente, no manifestamos que esta informaci?n sea completa o precisa. Toda informaci?n est? sujeta a alterarse sin previo aviso.
This information is private and confidential and intended for the recipient only. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and shall not be regarded neither as a proposal, acceptance nor as a statement of will or official statement from NUCLEO S.A. . Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/