[phpldapadmin] [ phpldapadmin-Bugs-2783080 ] sambaNTPassword attribute creation fails

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #2783080, was opened at 2009-04-29 04:39
Message generated for change (Comment added) made by wurley
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2783080&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: None
Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Juan Ignacio Milanese (ignivs)
Assigned to: Nobody/Anonymous (nobody)
Summary: sambaNTPassword attribute creation fails

Initial Comment:
When adding a sambaNTPassword attribute to user shows the following error:

Error:	Use of undefined constant MHASH_MD4 - assumed 'MHASH_MD4' (E_NOTICE)
File:	createlm.php line 330, caller cmd.php
Versions:	PLA: 1.1.0.7, PHP: 5.2.6, SAPI: apache2handler
Web server:	Apache/2.2.9 (Fedora)
Please check and see if this bug has been reported.
error	Failed to add the attribute.
LDAP said:	Invalid syntax
Error number:	0x15 (LDAP_INVALID_SYNTAX)
Description:	An invalid attribute value was specified.

The error is the same as in ID: 2466314
The version downloaded is the "cvs" one from sourceforge, that's the same as 1.1.0.7 and this is the solution for the closed bug with the id shown before (don't know how to reopen it -or even if it is possible- sorry)

phpLDAPAdmin version 1.1.0.7
PHP 5.2.6
OpenLDAP 2.2.13
Samba 3.0.9-1.3E.5
Fedora release 9 (Sulphur)

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

>Comment By: Deon George (wurley)
Date: 2009-05-16 09:19

Message:
Also added test for mhash to avoid the error - you can apply this patch:

http://phpldapadmin.cvs.sourceforge.net/viewvc/phpldapadmin/phpldapadmin/lib/createlm.php?r1=1.3.2.5&r2=1.3.2.6

If you dont have mhash installed, it should redirect you to the index with
an error.

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

Comment By: Deon George (wurley)
Date: 2009-04-29 22:35

Message:
The fix in #2466314 has already be applied to CVS and is included in
1.1.0.7

http://phpldapadmin.cvs.sourceforge.net/viewvc/phpldapadmin/phpldapadmin/lib/createlm.php?view=log&pathrev=BRANCH-1_1_0

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

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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.