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

"SourceForge.net" <[email protected]> Wed, 25 May 2011 14:20:10 +0000
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #3141226, was opened at 2010-12-21 12:23
Message generated for change (Settings changed) made by sf-robot
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: Closed
Resolution: Works For Me
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: SourceForge Robot (sf-robot)
Date: 2011-05-25 14:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 28 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Deon George (wurley)
Date: 2011-04-27 22:49

Message:
I cant reproduce your problem on the current SANDPIT branch, which means I
have already fixed it, or I dont understand it.

If you can reproduce it on my demo server
http://wurley.demo.phpldapadmin.org, please give me step by step process to
reproduce it.

BTW: Dont leave SF bugs as pending - they auto change to "closed" if not
responded with 14 days. If you want to leave them open for me to review,
set it to Open. (I use this status to get updates from bug submitters, if
they are still interested in working through a bug)

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

Comment By: FutureCIS (futurecis)
Date: 2011-04-27 14: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 07: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 23: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

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/