[phpldapadmin] [ phpldapadmin-Bugs-2987374 ] autofill problem on samba passwords

"SourceForge.net" <[email protected]> Wed, 19 May 2010 02:11:03 +0000
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #2987374, was opened at 2010-04-14 16:47
Message generated for change (Comment added) made by olafrv
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2987374&group_id=61828

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: MIchal Szkopiak (mszkopiak)
Assigned to: Nobody/Anonymous (nobody)
Summary: autofill problem on samba passwords

Initial Comment:
1) phpldapadmin-1.2.0.5-1.fc12
2) 389-ds-base-1.2.5-1.fc12.x86_64
3) httpd-2.2.14-1.fc12.x86_64
4) php-5.3.2-1.fc12.x86_64
5) Fedora 12 x64
6) samba schema delivered with samba-3.4.7-58.fc12.x86_64 package. File samba-schema-FDS.ldif renamed to 61samba.ldif

I need to autofill attribute "sambaLMPassword" when "sambaNTPassword" changed, but nothing happends. Other autofills works fine.

I have this configuration working on Fedora 10 with pla 1.1.0.7 and there is no problem. 

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

Comment By: Olaf Reitmaier Veracierta (olafrv)
Date: 2010-05-18 21:41

Message:
Use this on your template:

<attribute id="userPassword">
        <display>Contrasena (userPassword)</display>
        <helper>
                <display>Encryption</display>
                <id>enc</id>
                <!--<value>=php.PasswordEncryptionTypes()</value>-->
                <value>ssha</value>
        </helper>
        <type>text</type>
        <icon>lock.png</icon>
        <order>21</order>
        <onchange>=autoFill(sambaLMPassword;%userPassword%)</onchange>
        <onchange>=autoFill(sambaNTPassword;%userPassword%)</onchange>
        <post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
        <verify>1</verify>
</attribute>

<attribute id="sambaLMPassword">
        <hidden>1</hidden>
        <post>=php.PasswordEncrypt(LM,%sambaLMPassword%)</post>
        <order>35</order>
</attribute>
<attribute id="sambaNTPassword">
        <hidden>1</hidden>
        <post>=php.PasswordEncrypt(NT,%sambaNTPassword%)</post>
        <order>36</order>
</attribute>




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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2987374&group_id=61828

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

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