Summary | smbldap: error changing password |
Queue | Passwd |
Queue Version | 3.1 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | pedretti (at) eco (dot) unibs (dot) it |
Created | 04/14/2009 (5881 days ago) |
Due | |
Updated | 08/20/2009 (5753 days ago) |
Assigned | 08/18/2009 (5755 days ago) |
Resolved | 08/20/2009 (5753 days ago) |
Milestone | 3.1.2 |
Patch | No |
State ⇒ Resolved
attribute, if you use it. Or asked differently: why do you have
shadowlastchange attributes if you don't use them?
password with its privilege. It make sense to enable write to it to
self users.
attribute, if you use it. Or asked differently: why do you have
shadowlastchange attributes if you don't use them?
only the "userPassword" ldap attribute when using smbldap backend.
With 3.1.2 it also try to update the "shadowLastChange" ldap attribute
which I was denying to self users.
With 3.1.2 is possible to disable the "shadowLastChange" attribute but
only for the ldap backend, not for the smbldap.
To fix this what about merging smbldap backend inside the ldap one,
where the smb attributes are enabled only if they are uncommented?
And can you try to debug this on your own? Maybe the binding doesn't
work the same like in Passwd 3.0.
what the error message says: you don't have sufficient permissions to
update the LDAP attributes.
configuration it's working fine.
what the error message says: you don't have sufficient permissions to
update the LDAP attributes.
warnings are gone:
same error message:
* ErrorFailure in changing password for Account Economia: Insufficient access
php warnings:
Warning: ldap_mod_replace() [function.ldap-mod-replace]: Modify:
Insufficient access in /var/www/horde/passwd/lib/Driver/ldap.php on
line 209
Warning: Cannot modify header information - headers already sent by
(output started at /var/www/horde/passwd/lib/Driver/ldap.php:209) in
/var/www/horde/passwd/templates/common-header.inc on line 4
Warning: Cannot modify header information - headers already sent by
(output started at /var/www/horde/passwd/lib/Driver/ldap.php:209) in
/var/www/horde/passwd/templates/common-header.inc on line 5
Taken from
State ⇒ Feedback
Milestone ⇒ 3.1.2
http://cvs.horde.org/diff.php/passwd/docs/CHANGES?rt=horde&r1=1.79.2.32&r2=1.79.2.33&ty=u
http://cvs.horde.org/diff.php/passwd/lib/Driver/ldap.php?rt=horde&r1=1.41.2.9&r2=1.41.2.10&ty=u
http://cvs.horde.org/diff.php/passwd/lib/Driver/smbldap.php?rt=horde&r1=1.7.2.5&r2=1.7.2.6&ty=u
http://cvs.horde.org/diff.php/passwd/docs/CHANGES?rt=horde&r1=1.111&r2=1.112&ty=u
http://cvs.horde.org/diff.php/passwd/lib/Driver/ldap.php?rt=horde&r1=1.59&r2=1.60&ty=u
http://cvs.horde.org/diff.php/passwd/lib/Driver/smbldap.php?rt=horde&r1=1.20&r2=1.21&ty=u
Milestone ⇒ 3.1.1
Priority ⇒ 2. Medium
Assigned to
Assigned to Jan Schneider
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ smbldap: error changing password
Queue ⇒ Passwd
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
smbldap backend I get this message from Passwd:
* ErrorFailure in changing password for Account Economia:
Insufficient access
and these php warnings:
Warning: Missing argument 2 for Passwd_Driver_smbldap::_lookupdn(),
called in /var/www/horde/passwd/lib/Driver/ldap.php on line 145 and
defined in /var/www/horde/passwd/lib/Driver/smbldap.php on line 141
Notice: Undefined variable: passw in
/var/www/horde/passwd/lib/Driver/smbldap.php on line 151
Warning: ldap_mod_replace() [function.ldap-mod-replace]: Modify:
Insufficient access in /var/www/horde/passwd/lib/Driver/ldap.php on
line 201
Warning: Cannot modify header information - headers already sent by
(output started at /var/www/horde/passwd/lib/Driver/smbldap.php:141)
in /var/www/horde/passwd/templates/common-header.inc on line 4
Warning: Cannot modify header information - headers already sent by
(output started at /var/www/horde/passwd/lib/Driver/smbldap.php:141)
in /var/www/horde/passwd/templates/common-header.inc on line 5
This is what I have in passwd backends.php:
$backends['smbldap'] = array(
'name' => 'Account My Domain',
'preferred' => 'www.example.com',
'password policy' => array(
'minLength' => 3,
'maxLength' => 32
),
'driver' => 'smbldap',
'params' => array(
'host' => 'ldap.my.domain.it',
'port' => 389,
'basedn' => 'ou=People,dc=my,dc=domain,dc=it',
'uid' => 'uid',
// This will be appended to the username when looking for the userdn.
'realm' => '',
'encryption' => 'crypt',
// Make sure the host == cn in the server certificate.
'tls' => false,
// If any of the following attributes are commented out, they
// won't be set on the LDAP server.
'lm_attribute' => 'sambaLMPassword',
'nt_attribute' => 'sambaNTPassword',
// 'pw_set_attribute' => 'sambaPwdLastSet',
// 'pw_expire_attribute' => 'sambaPwdMustChange',
// The number of days until samba passwords expire. If this
// is commented out, passwords will never expire.
// 'pw_expire_time' => 180,
)
);