LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-Jun-2009, 09:16 AM
Junior Member
 
Join Date: Nov 2008
Location: Parma, Italy
Posts: 11
restori 0 reputation points
Default pure_ftpd with ldap

I知 trying to configure OES (SLES) for pure_ftpd.
I do not want to use system user, but something like virtual user with authentication via LDAP (eDirectory).

The eDirectory schema was extended with posix (user and group), some users are created with filled attributes homedirectory, guiNumber, uidNumber.
The home directory is not present on the server, but pure_ftpd.conf file's has the statement CreateHomeDir to yes.

I知 using pam_ldap module.
I致e confured /etc/pam.d/pure-ftpd with
#%PAM-1.0
#auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
#auth include common-auth
#auth required pam_shells.so
#account include common-account
#password include common-password

#auth binding pam_ldap.so config=/etc/ldap_pure_ftpd.conf
auth sufficient pam_ldap.so config=/etc/ldap_pure_ftpd.conf

account sufficient pam_ldap.so config=/etc/ldap_pure_ftpd.conf
session optional pam_ldap.so config=/etc/ldap_pure_ftpd.conf

/etc/ldap_pure_ftpd.conf has the configuration for ldap access. SSL was disabled in order to track the ldap traffic with ethereal (ssl off). No proxy user are configured.

When I try to log to FTP, the user is passed from ftp to LDAP. The ldap search for the user in the base search context, and user is found.
Then LDAP bind is executed with success, so LDAP authentication seem working.

The bind was closed and FTP retun: 530 Authentication failed, sorry.

If possible I do not want to use LUM.

Some one have some suggestion?
Tanks
Reply With Quote
 

Tags
ldap, pure_ftpd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 02:52 PM.


ゥ 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2