[phpldapadmin] [ phpldapadmin-Bugs-3141226 ] Password change/encrypted upon modification

"SourceForge.net" <[email protected]> Wed, 27 Apr 2011 14:05:54 +0000
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #3141226, was opened at 2010-12-21 07:23
Message generated for change (Settings changed) made by futurecis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=3141226&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: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: FutureCIS (futurecis)
Assigned to: Nobody/Anonymous (nobody)
Summary: Password change/encrypted upon modification

Initial Comment:
In my custom template for users, whenever I modify any information it is always re-encrypting the password and changing it even when the password entry has not been modified. I have attached a screenshot and the pertinent stanza for the password field from my template. In the screenshot example, I only modified the attribute for "Account Disabled". Please advise.

1. phpLDAPadmin - 1.2.0.5
2. Your LDAP server - RedHat Directory Server
3. Your web server - Apache 2.2
4. PHP - 5.1.6
5. Your operating system - RHEL 5.5


<attribute id="userPassword">
        <display>Password</display>
        <!-- <helper>
                <display>Encryption</display>
                <id>enc</id>
                <value>=php.PasswordEncryptionTypes()</value>
        </helper>  -->
        <icon>lock.png</icon>
        <order>2</order>
        <page>1</page>
        <spacer>1</spacer>
        <post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
        <!-- <verify>1</verify> -->
</attribute>

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

Comment By: FutureCIS (futurecis)
Date: 2011-04-27 10:04

Message:
This unfortunately did not resolve the issue. I am using ssha encryption if
it helps to determine root cause. Please advise.

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

Comment By: Deon George (wurley)
Date: 2011-04-27 03:30

Message:
Ive just commit a fix for a password problem, where if the userpassword was
using clear encoding, PLA was always detecting it as a change.

Can you test and see if git commit #4cf6b17 fixes your problem?

...deon

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

Comment By: interceptor-mm (interceptor-mm)
Date: 2011-03-02 18:13

Message:
phpLDAPadmin - 1.2.0.5
web server: Apache 2.2 
web ldap: OpenLDAP: slapd 2.4.21
PHP Version 5.3.2-1ubuntu4.7
Ubuntu Lamp Server 2.6.32-24

The same problem here, but the error is triggered if I try to edit a new
entry and only if I don't refresh manually the cache before the edit.

I have custom creation and modify template on posixAccount.

Hope this help.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=3141226&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/