[phpldapadmin] [ phpldapadmin-Bugs-2987374 ] autofill problem on samba passwords
"SourceForge.net" <[email protected]> Wed, 27 Apr 2011 14:22:07 +0000
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2987374, was opened at 2010-04-15 07:17
Message generated for change (Settings changed) made by wurley
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: Closed
>Resolution: Fixed
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: Deon George (wurley)
Date: 2011-04-28 00:22
Message:
OK, I've fixed this with commit #75640cc
----------------------------------------------------------------------
Comment By: MIchal Szkopiak (mszkopiak)
Date: 2010-05-19 18:00
Message:
Thanks olafrv
But i need to do something like this.
<attribute id="sambaLMPassword">
<hidden>0</hidden>
<onchange>=autoFill(sambaNTPassword;%sambaLMPassword%)</onchange>
<post>=php.PasswordEncrypt(LM,%sambaLMPassword%)</post>
<order>8</order>
</attribute>
<attribute id="sambaNTPassword">
<hidden>1</hidden>
<readonly>1</readonly>
<post>=php.PasswordEncrypt(NT,%sambaNTPassword%)</post>
<order>9</order>
</attribute>
I need it, because my Samba passwords must be diferent then userpassword.
----------------------------------------------------------------------
Comment By: Olaf Reitmaier Veracierta (olafrv)
Date: 2010-05-19 12:11
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
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/