Howdy guys, My heads spinning a bit on this. Here's the problem I have.
I have a custom Create and Modify template for a customized Mozilla Ab Person LDAP Schema. The field I'm trying to commit is "xmozillausehtmlmail". This field is defined with the boolean syntax in the schema. When I create a new entry or modify an existing entry, the "Create Object" page and the "cn=<user>" pages both show the field as a drop down menu with either "true" or "false" as avaliable options. So far this is all as expected. Trouble is when I am creating the entry and select "true" then proceed to the "Create LDAP Entry" page, the change summary table shows the value for "xmozillausehtmlmail" as 0 (zero) instead of the expected "TRUE". Attempting to commit this entry returns an error from LDAP: LDAP said: Invalid syntax Error number: 0x15 (LDAP_INVALID_SYNTAX) Description: An invalid attribute value was specified. and slapd logs show the following error: Jan 23 00:41:09 den slapd[12916]: conn=95 op=2 RESULT tag=105 err=21 text=mozillausehtmlmail: value #0 invalid per syntax If I create a new entry and make the value "FALSE" in the create page, the summary page correctly shows "FALSE" for the value it would commit. The customized modification template works as expected for both true or false selected values. Am I missing something? Below are specs on my environment. The issue manifests for all the below client side environments. ====Client Environments==== Windows XP SP2 MacOSX 10.6.2 Firefox 3.5 IE6 ====Server Environment==== yen...@den ~ $ uname -a Linux den 2.6.31-gentoo-r6 #1 SMP Thu Jan 21 00:38:14 UTC 2010 i686 Intel(R) Celeron(R) CPU 2.40GHz GenuineIntel GNU/Linux yen...@den ~ $ equery l | grep openldap net-nds/openldap-2.3.43 yen...@den ~ $ equery l | grep phpldapadmin net-nds/phpldapadmin-1.2.0.4 yen...@den ~ $ equery l | grep apache app-admin/apache-tools-2.2.14 www-apache/mod_proxy_html-3.0.0 www-servers/apache-2.2.14-r1 LDAP Schema Snippet: attributetype ( 1.3.6.1.4.1.13769.2.3 NAME ( 'mozillaUseHtmlMail' 'xmozillausehtmlmail' ) SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) objectclass ( 1.3.6.1.4.1.13769.9.1 NAME 'mozillaAbPersonAlpha' DESC 'Mozilla Project Addressbook Object Classification' SUP top AUXILIARY MUST ( cn $ mozillaUseHtmlMail ) MAY( c $ <snipped for brevity> mozillaUseHtmlMail $ <snipped for brevity> Customized Creation Template Snippet from <www-document-root>/phpldapadmin/templates/creation/custom_mozillaAbPersonAlpha.xml <attribute id="mozillaUseHtmlMail"> <display>HTML Formated Messages</display> <!--<hidden>1</hidden>--> <value>TRUE</value> <icon>images/tango/schema.png</icon> <order>8</order> Customized Modification Template Snippet from <www-document-root>/phpldapadmin/templates/modification/custom_mozillaAbPersonAlpha.xml <attribute id="mozillaUseHtmlMail"> <display>HTML Formated Messages</display> <icon>images/schema.png</icon> <order>8</order> </attribute> -- P.S. Please note my e-mail address has changed from yen...@crosswinds.net to yen...@ysgenterprises.net The old address will still work, but is unstable, please update your contacts with this new one:) Just another synaptic miss fire somewhere in the mind of... Yennix Siran Gantriean ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ phpldapadmin-users mailing list phpldapadmin-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users