Your message dated Sun, 13 May 2007 11:20:39 +0200
with message-id <[EMAIL PROTECTED]>
and subject line 1.3.0 should solve the issue
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: proftpd-ldap
Version: 1.2.9-16
Severity: normal


I'm trying to set up proftp-ldap with ldap authentication.

This bug could also be on the ldap-side (or, for that matter, on the
user side) but the way I read the error message it seems it's more
likely that proftpd does something wrong when trying to bind to the
ldap server. I get the same error message when slapd isn't running at
all.

slapd version: 2.1.30-3

proftpd.conf:

# ldap authentication section 
LDAPServer localhost 
LDAPDNInfo "cn=admin,dc=name,dc=de" "1234" 
LDAPDoAuth on "o=proftpd,dc=name,dc=de" (uid=%v)
LDAPNegativeCache on 

daemon.log:

proftpd[29070]: localhost.localdomain
(localhost.localdomain[127.0.0.1]) - mod_ldap: pr_ldap_connect():
ldap_simple_bind() as cn=admin,dc=name,dc=de failed: Operations error

slapd -d 1 at the same time:

bdb_db_open: dbenv_open(/var/lib/ldap) 
slapd starting 
ldap_pvt_gethostbyname_a: host=meinhost, r=0 
put_filter: "(objectclass=*)" 
put_filter: simple 
put_simple_filter: "objectclass=*" 
ber_scanf fmt (m) ber: 
connection_get(10): got connid=0 
connection_read(10): checking for input on id=0 
ber_get_next 
ber_get_next: tag 0x30 len 76 contents: 
do_bind 
ber_get_next 
ber_get_next on fd 10 failed errno=11 (Resource temporarily unavailable) 
ber_scanf fmt ({imt) ber: 
ber_scanf fmt (m}) ber: 
>>> dnPrettyNormal: <cn=admin,dc=name,dc=de> 
=> ldap_bv2dn(cn=admin,dc=name,dc=de,0) 
<= ldap_bv2dn(cn=admin,dc=name,dc=de,0)=0 
=> ldap_dn2bv(272) 
<= ldap_dn2bv(cn=admin,dc=name,dc=de,272)=0 
=> ldap_dn2bv(272) 
<= ldap_dn2bv(cn=admin,dc=name,dc=de,272)=0 
<<< dnPrettyNormal: <cn=admin,dc=name,dc=de>, <cn=admin,dc=name,dc=de> 
do_bind: version=2 dn="cn=admin,dc=name,dc=de" method=128 
send_ldap_result: conn=0 op=0 p=2 
send_ldap_response: msgid=1 tag=97 err=2 
ber_flush: 52 bytes to sd 10



ldapsearch -x -b 'dc=name,dc=de' '(objectclass=*)'

# extended LDIF
#
# LDAPv3
# base <dc=name,dc=de> with scope sub
# filter: (objectclass=*)
# requesting: ALL
#

# name.de
dn: dc=name,dc=de
objectClass: top
objectClass: dcObject
objectClass: organization
o: Test Name
dc: name

# admin, name.de
dn: cn=admin,dc=name,dc=de
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator

# proftpd, name.de
dn: o=proftpd,dc=name,dc=de
o: proftpd
objectClass: top
objectClass: organization

# test, proftpd, name.de
dn: uid=test,o=proftpd,dc=name,dc=de
objectClass: top
objectClass: account
objectClass: posixAccount
cn: Test User
uid: test
uidNumber: 1000
gidNumber: 1000
homeDirectory: /home/patrick

# search result
search: 2
result: 0 Success

# numResponses: 5
# numEntries: 4



(This is a fairly fresh install using D-I)

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-386
Locale: LANG=C, LC_CTYPE=C

Versions of packages proftpd-ldap depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  debconf                     1.4.30.8     Debian configuration management sy
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libcap1                     1:1.10-14    support for getting/setting POSIX.
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  libssl0.9.7                 0.9.7d-5     SSL shared libraries
ii  libwrap0                    7.6.dbs-6    Wietse Venema's TCP wrappers libra
ii  netbase                     4.18         Basic TCP/IP networking system
ii  proftpd-common              1.2.9-16     Versatile, virtual-hosting FTP dae
ii  ucf                         1.09         Update Configuration File: preserv

-- debconf information:
  shared/proftpd/warning:
* shared/proftpd/inetd_or_standalone: standalone

(I did try it with inetd, too)


--- End Message ---
--- Begin Message ---
Package: proftpd-dfsg
Version: 1.3.0-1

-- 
Francesco P. Lovergine

--- End Message ---

Reply via email to