Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 183141

Summary: net-ftp/proftpd-1.3.1_rc2-r2 can't authenticate with ldap
Product: Gentoo Linux Reporter: Korsani <gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Korsani 2007-06-25 12:25:30 UTC
Hi,
When I use net-ftp/proftpd-1.3.1_rc2-r2 my users can't authenticate anymore with ldap. It is not the case when I use net-ftp/proftpd-1.3.1_rc2-r1
I use exactly the same proftpd.conf. Just changing version make it (not) work!

Here is my proftpd.conf:
ServerName                      "The Gab's ftp server Big"
ServerType                      inetd
defaultserver           on
DeferWelcome            off
Umask                           077                     #par défaut: tous acces pour le possesseur seul
ServerIdent             on      "Hop!"
DefaultRoot                     ~
LogFormat default "%h %u %t \"%r\" %s %b"
TransferLog             /var/log/ftp/xferlog
authpam                         off
passiveports            2100 2120
ScoreboardFile          /var/run/proftpd/proftpd.scoreboard
MaxInstances                    30
User                            nobody
Group                           nogroup

AuthUserFile            /etc/proftpd/ftpd.passwd
RequireValidShell       off
DisplayLogin            .message
Umask           117 007

LdapDoAuth      on "dc=gab.net" "(&(uid=%v)(userclass=ftp))"
LDAPGenerateHomedirPrefixNoUsername on
LDAPAuthBinds on
LDAPDNInfo "" ""
LdapServer ldap
LDAPGenerateHomedir on
LDAPGenerateHomedirPrefix /var/spool/mm/xxx
LdapDefaultUid 21
LdapDefaultGid 18                       #Audio
LDAPSearchScope subtree

<Directory /var/spool/mm/xxx/*>
        AllowOverwrite  off
        <Limit WRITE>
                DenyAll
        </Limit>
</Directory>
<Directory /var/spool/mm/xxx/_upload>
        <Limit WRITE>
                AllowAll
        </Limit>
</Directory>
===============8<=================
And my modules.conf

LoadModule      mod_ldap.c
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-25 12:27:41 UTC

*** This bug has been marked as a duplicate of bug 181712 ***