Iím 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ím using pam_ldap module.
Iíve confured /etc/pam.d/pure-ftpd with
#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?