[courier-users] Re: Does auth_passwd work with authldap?

This is a discussion on [courier-users] Re: Does auth_passwd work with authldap? within the Courier-Imap forums, part of the Mail Servers and Related category; Lloyd Zusman <ljz@asfast.com> writes: > [ ... ] > > Thanks. OK I did that, and when I made ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2006
Lloyd Zusman
 
Posts: n/a
Default [courier-users] Re: Does auth_passwd work with authldap?

Lloyd Zusman <ljz@asfast.com> writes:

> [ ... ]
>
> Thanks. OK I did that, and when I made the password change attempt, I
> got this error in syslog:
>
> Jan 16 16:59:51 authdaemond: LDAP modify failed: Insufficient access


I looked inside of authldap.c and found this:

else
{
int ld_errno;
mods[mod_index]=0;

/* On a system which uses LDAP_AUTHBIND, we probably
want to use the user's credentials (bindp) rather
than the search credentials (my_ldap_fp) for
performing the password update. (May not always be
true, ideally it would be configurable) */
ld_errno = ldap_modify_s(bindp? bindp:my_ldap_fp, dn, mods);
if (ld_errno != LDAP_SUCCESS)
{
rc= -1;
DPRINTF("LDAP modify failed: %s",
ldap_err2string(ld_errno));
}
}

Could my problem have something to do with confusion between the use of
bindp and my_ldap_fp? If so, is there something I can put inside of
authldaprc or slapd.conf to change this behavior? I'm not familiar with
this level of detail concerning LDAP.

By the way, I'm using openldap-2.0.27.

Thanks.

--
Lloyd Zusman
ljz@asfast.com
God bless you.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:54 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0