Can change RDN only after small patch

arnd - March 25, 2009 - 21:28
Project:LDAP provisioning
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

A comment in line 299 of ldapprov.module says

<?php
// The user name in $form['_account']['#value'] is already changed.
// Has to look for the old name in the authmap.
?>

which is not correct in my case. The following if() fails and a user update is not done.

Changing the if to

<?php
if (isset($values['name']) && ($row = db_fetch_object($result)) && $values['name'] != $row->authname)
?>

solves the problem.

#1

arnd - March 25, 2009 - 21:31

Sorry, forgot the patch:

#2

arnd - March 25, 2009 - 21:37

File upload doesn't work in Konqueror on this site :(

AttachmentSize
ldapprov.module.patch 615 bytes

#3

miglius - March 31, 2009 - 11:27
Status:active» fixed

Committed to the cvs. Thanks!

#4

System Message - April 14, 2009 - 11:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.