[prev in list] [next in list] [prev in thread] [next in thread] 

List:       proftpd-users
Subject:    [Proftpd-user] mod_ldap authentication error when specify multiple
From:       SATO Yusuke (=?iso-2022-jp?B?GyRCOjRGIxsoQiAbJEJNNTJwGyhC?=)
Date:       2009-02-25 6:38:52
Message-ID: 20090225.153852.74724623.satou-y () aics ! ad ! jp
[Download RAW message or body]

[Attachment #2 (Multipart/Signed)]


Dear ALL,

Im using ProFTPd 1.3.2 with mod_ldap/2.8.20 on VineLinux 4.2.

Im getting an error message as following when login via ftp(1) command
to the ProFTP daemon in no daemon (-n -d 10) mode.

myhost (myhost[::ffff:192.168.0.2]) - mod_ldap/2.8.20-20090124: pr_ldap_connect(): \
ldap_initialize() to ldap://192.168.0.2:10389 192.168.0.2:389/ failed: Bad parameter \
to an ldap routine myhost (myhost[::ffff:192.168.0.2]) - USER ysato@example.com: no \
such user found from myhost[::ffff:192.168.0.2] to ::ffff:192.168.0.2:21

To my guess, ldap_initialize I have a problem with the argument being
passed to the function.

Here's the simple config I've been testing with:
----
ServerName                      "ProFTPD Default Installation"
ServerType                      standalone
DefaultServer                   on
Port                            21
Umask                           022
MaxInstances                    30
User                            nobody
Group                           nobody
AllowOverwrite          on
<Limit SITE_CHMOD>
  DenyAll
</Limit>
LDAPServer      "192.168.0.2:10389 192.168.0.2:20389"
LDAPDNInfo      "cn=Manager, dc=example, dc=com" "Manager_pw"
LDAPDoAuth      on "ou=users, dc=example, dc=com"
"(&(uid=%v)(objectClass=posixAccount))"
<VirtualHost 192.168.0.2>
  LDAPDoAuth    on "ou=users, dc=example, dc=com" \
"(&(uid=%v)(objectClass=posixAccount))" </VirtualHost>
----

Any help will be appreciated.

Sincerely yours,

====
satou-y@aics.ad.jp
Key fingerprint = 582B C953 6AC5 F524 25AE  9E70 357C 154F EA95 4905


[Attachment #5 (application/pgp-signature)]

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
ProFTPD Users List   <proftpd-users@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic