Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to create a new user group within the phpldapadmin interface. Under the Samba SID entry it gives me two boxes side by seide with the following:

=php.PickList(/;(&(objectClass=sambaDomain));sambaSID;%sambaSID% (%sambaDomainName%));;;;sambaDomainName


NO Methods: drawAttributeHelperAttribute|drawAttributeHelper

there might be more to the second box, but that's all that fits in it. Normally this field should generate a SID on its own but seems to somehow fail.

Any ideas what could be wrong here?

share|improve this question

I had the same problem with the version There is a mistake on the template used to create the Samba Group.

To correct the problem do

Access the prompt as root:

cd /etc/phpldapadmin/templates/creation

edit the file 'sambaGroupMapping.xml'

Find the line bellow in bold:

<attribute id="sambaSID">
  <display>Samba SID</display>
  **<value><![CDATA[=php.PickList(/;(&(objectClass=sambaDomain));sambaSID;%sambaSID% (%sambaDomainName%));;;;sambaDomainName]]></value>**

And replace for that:

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

The last parenthesis was type in wrong place. After changed that, the problem had solved.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.