Share

ProFTPD Quota LDAP module

Tracker: Support Requests

1 not working ldapquota - ID: 707085
Last Update: Comment added ( ballester )

hi

I took http://mod-quota-ldap.sourceforge.net/mod_quota_ldap.c
from 18-Mar-2003 03:40
changed the line with
if (!ldap_attlim) ldap_attcur=ATTR_QUOTA_CURRENT;
to
if (!ldap_attcur) ldap_attcur=ATTR_QUOTA_CURRENT;
and compiled it with proftpd 1.2.8
so far so good.

Normal operation works with authentication with ldap
LDAPServer localhost
LDAPDNInfo cn=manager,dc=home,dc=at secret
LDAPDoAuth on "dc=home,dc=at"

then I add into the configfile:
QuotaLDAPEngine on
QuotaLDAPServer localhost
QuotaLDAPDNInfo cn=manager,dc=home,dc=at secret
QuotaLDAPPrefix dc=home,dc=at

proftp starts and when I try to connect, I get the following debug message
(see full at the end):

performing module session initializations
ProFTP terminating (signal 11))

The same with 1.2.7 and the mod_quota_ldap.c from the tar.gz file

do somebody have an idea, what I can test?

thanx
joe
joe.stone@gmx.net

proftpd -d 9 -n -c /etc/proftpd/proftpd.conf

- parsing '/etc/proftpd/proftpd.conf' configuration
- FS: using system open()
- FS: using system read()
- FS: using system read()
- dispatching auth request "getpwnam" to module mod_ldap
- dispatching auth request "getpwnam" to module mod_auth_file
- dispatching auth request "getpwnam" to module mod_auth_unix
- dispatching auth request "getgrnam" to module mod_ldap
- dispatching auth request "getgrnam" to module mod_auth_file
- dispatching auth request "getgrnam" to module mod_auth_unix
- <Directory />: adding section for resolved path '/'
- FS: using system read()
- FS: using system close()
gandalf -
gandalf - Config for ProFTPD Default Installation:
gandalf - /
gandalf - AllowOverwrite
gandalf - RequireValidShell
gandalf - Umask
gandalf - QuotaLDAPServer
gandalf - QuotaLDAPDNInfo
gandalf - QuotaLDAPPrefix
gandalf - DefaultServer
gandalf - RequireValidShell
gandalf - AuthPAM
gandalf - Umask
gandalf - UserID
gandalf - UserName
gandalf - GroupID
gandalf - GroupName
gandalf - QuotaLDAPEngine
gandalf - QuotaLDAPServer
gandalf - QuotaLDAPDNInfo
gandalf - QuotaLDAPPrefix
gandalf - LDAPServer
gandalf - LDAPDNInfo
gandalf - LDAPDoAuth
gandalf - DefaultRoot
gandalf - dispatching auth request "getgroups" to module
mod_ldap
gandalf - dispatching auth request "getgroups" to module
mod_auth_file
gandalf - dispatching auth request "getgroups" to module
mod_auth_unix
gandalf - SETUP PRIVS at main.c:2618
gandalf - ROOT PRIVS at main.c:1909
gandalf - RELINQUISH PRIVS at main.c:1915
gandalf - ROOT PRIVS at main.c:2252
gandalf - RELINQUISH PRIVS at main.c:2276
gandalf - ROOT PRIVS at inet.c:506
gandalf - RELINQUISH PRIVS at inet.c:563
gandalf - ProFTPD 1.2.8 (stable) (built Thu Mar 20 19:46:14 CET 2003)
standalone mode STARTUP
gandalf - ROOT PRIVS at main.c:2124
gandalf - RELINQUISH PRIVS at main.c:2130
gandalf - FS: using system lstat()
gandalf - FS: using system lstat()
gandalf - ROOT PRIVS at main.c:1108
gandalf - RELINQUISH PRIVS at main.c:1112
gandalf - FS: using system lstat()
gandalf (192.168.0.10[192.168.0.10]) - ROOT PRIVS at main.c:937
gandalf (192.168.0.10[192.168.0.10]) - SETUP PRIVS at main.c:942
gandalf (192.168.0.10[192.168.0.10]) - performing module session
initializations
gandalf (192.168.0.10[192.168.0.10]) - ProFTPD terminating (signal 11)
gandalf (192.168.0.10[192.168.0.10]) - FTP session closed.
gandalf - FS: using system lstat()


Nobody/Anonymous ( nobody ) - 2003-03-20 19:17

1

Closed

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2003-05-12 22:39
Sender: ballesterProject Admin

Logged In: YES
user_id=654051


I think that you aren't compiling mod_quota_ldap module.

release 1.0 doesn't work with 1.2.8 version of proFTPd. You
can try new version 1.0.1, but remember:
./configure --with-modules=mod_ldap:mod_quota_ldap

If you run ./proftpd -t -c <confg_file> you will test the
syntax of the specified config.







Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2003-05-12 22:39 ballester
priority 5 2003-05-12 22:39 ballester
close_date - 2003-05-12 22:39 ballester