[phpldapadmin] Error on sambaGroupMapping.xml template!!!

Olaf Reitmaier Veracierta <[email protected]> Thu, 13 May 2010 13:47:55 +1930
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Good afternoon,

In phpldapadmin-1.2.0.5 the template sambaGroupMapping.xml have an error on
the specification of the atribute sambaSID, especifically a missing ")" on
value propertie.

Here is the WRONG code:

<attribute id="sambaSID">
        <display>Samba SID</display>
        <helper>
                <id>sidsuffix</id>

<value><![CDATA[=php.GetNextNumber(/;gidNumber;false;(&(objectClass=sambaDomain)(sambaDomainName=mysambadomain));*2,+1000)]]></value>
        </helper>
        <order>4</order>
        <post>=php.Join(-;%sambaSID%,%sidsuffix%)</post>
        <page>1</page>

<value><![CDATA[=php.PickList(/;(&(objectClass=sambaDomain));sambaSID;%sambaSID%
(%sambaDomainName%));;;;sambaDomainName]]></value>
</attribute>

As you can note there is a missing (closing) parentesis ")" in the PickList
function call:

<value><![CDATA[=php.PickList(/;(&(objectClass=sambaDomain));sambaSID;%sambaSID%
(%sambaDomainName%));;;;sambaDomainName]]></value>

The correct line must be:


<value><![CDATA[=php.PickList(/;(&(objectClass=sambaDomain));sambaSID;%sambaSID%
(%sambaDomainName%);;;;sambaDomainName)]]></value>

Putting the parentesis in:

... sambaDomainName)]]></value>

Regards.-

-- 
  "You don't know where your shadow will fall",
       Somebody.-
----------------------------------------------------------------
 Olaf Reitmaier Veracierta <[email protected]>
----------------------------------------------------------------
           http://olafrv.googlepages.com
----------------------------------------------------------------

------------------------------------------------------------------------------

______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/