Re: Configuration problem with sork
[email protected] Fri, 28 Aug 2009 21:50:46 -0400
| Newsgroups | gmane.comp.horde.sork |
|---|---|
| Message-ID | <[email protected]> |
K P <[email protected]> ha escrito: > On Fri, Aug 28, 2009 at 1:14 PM, Jan Schneider<[email protected]> wrote: >> Zitat von K P <[email protected]>: >> >>> On Thu, Aug 27, 2009 at 12:45 AM, Jan Schneider<[email protected]> wrote: >>>> >>>> Zitat von K P <[email protected]>: >>>> >>>>> On Wed, Aug 26, 2009 at 5:28 PM, Jan Schneider<[email protected]> wrote: >>>>>> >>>>>> Zitat von K P <[email protected]>: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I have latest debian package sork-passwd-h3 installed (3.0-2+lenny2) >>>>>>> and I have minor configuration problem. I use IMP and there is >>>>>>> configured password button there that will open this passwd page. >>>>>>> >>>>>>> Backend is configured as LDAP. I will get error "user not found" if I >>>>>>> try to email address like [email protected] to username field. >>>>>>> If I understood correctly sork-passwd is using UID to change LDAP >>>>>>> password that is different in my case. How it is possible to configure >>>>>>> sork-passwd to use MAIL attribute instead of UID ? >>>>>> >>>>>> Yes, in passwd/config/backends.php. >>>>>> >>>>> >>>>> Is there some example or document how to set this correctly ? >>>>> I have tried to search without success and I am not pretty sure how I >>>>> need to configure this. >>>> >>>> You already edited that file, where did you get the LDAP configuration >>>> from, >>>> if not from the examples? And did you actually look at it and the lots of >>>> documentation in the file header? >>>> >>> >>> Yes I checked documentation and used example configuration. Now I just >>> want to know how to change this password working with mail attribute. >>> It seems to use UID by default. If I chage UID same that mail address >>> this password change is working fine. >>> >>> Br, >>> KP >>> >> >> 'uid' => 'mail', >> >> Jan. > > Thanks this solved situation. I tested this configuration earlier but > for some reason it was not working at that time and thought that it is > not correct. Maybe there was some other configuration missing that > time. Now If I can just get this username field correct I am perfectly > happy :) > > Thanks for great help Jan. > > Br, > KP > -- > Sork mailing list - Join the hunt: http://horde.org/bounties/#sork > Frequently Asked Questions: http://horde.org/faq/ > To unsubscribe, mail: [email protected] > Hello I am interested in achieving the same goal, that my users can change their passwords in the Windows Active Directory, I think it is more complex but the same mechanism with different UID. I tried different ways but I could not do it. I show my configuration to see that I recommend $backends['ldap'] = array( 'name' => 'Example LDAP Server', 'preferred' => 'home.com', 'password policy' => array( 'minLength' => 3, 'maxLength' => 6 ), 'driver' => 'ldap', 'params' => array( 'host' => 'ldap.home.com', 'port' => 389, 'basedn' => 'ou=HOME,dc=home,dc=com', 'uid' => 'sAMAccountName', 'realm' => 'home.com', 'encryption' => 'msad', 'tls' => false ) ); I tried changing the port for "636" , using directive "sslhost". using ldapsearch for test my settings to get dn from active directory and work fine. suggestions? Michel ---------------------------------------------- Webmail, servicio de correo electronico Casa de las Americas - La Habana, Cuba. -- Sork mailing list - Join the hunt: http://horde.org/bounties/#sork Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]