this is my file /etc/nsswitch.conf:

# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD: releng/9.1/etc/nsswitch.conf 224765 2011-08-10 20:52:02Z dougb $
#
group:files ldap
group_compat: nis
hosts: files dns
networks: files
passwd: files ldap
passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files
 

when i use ‘getent passwd’ command  i can see users

From: Rodney Simioni <rodney.simioni@verio.net>
To: maral <pishy_maluse@yahoo.com>; openldap-technical@openldap.org
Sent: Monday, July 1, 2013 6:09 PM
Subject: RE: pure_ftpd & LDAP

What is in your /etc/nsswitch.conf?
 
Do you see the user when you issue this command ‘getent passwd’ ?
 
From: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] On Behalf Of maral
Sent: Monday, July 01, 2013 1:23 AM
To: openldap-technical@openldap.org
Subject: pure_ftpd & LDAP
 
hey!
I installed Pure-ftpd + Ldap and add a user in Ldap
but Pure-ftpd don't recognize that user
how can i fix this issue?

This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio Inc. makes no warranty that this email is error or virus free. Thank you.