Download & Extend

Can change RDN only after small patch

Project:LDAP provisioning
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Sorry, forgot the patch:

#2

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

AttachmentSize
ldapprov.module.patch 615 bytes

#3

Status:active» fixed

Committed to the cvs. Thanks!

#4

Status:fixed» closed (fixed)

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