I see couple of issues here 1) in you config LDAP DN is UPPER CASE, in your command line test it is mixed case 2) in your config search_base is CN=Users,DC=DEMO,DC=DOM, in command line it is: dc=DEMO,dc=DOM
On Fri, Feb 6, 2015 at 3:55 PM, kaushal jani <[email protected]> wrote: > yes its working fine..... > > when i try ldapserach with below command then its working fine > > ldapsearch -x -D "cn=test,cn=Users,dc=demo,dc=dom" -w demo123 -p 389 -h > test.demo.dom -b "dc=DEMO,dc=DOM" -s sub "(objectclass=*)" > > ------------------------------ > Date: Fri, 6 Feb 2015 16:50:55 +0700 > Subject: Re: None user found in LDAP > From: [email protected] > To: [email protected] > > Have you tried to use LDAPExplorer and check > 1) admin creadentials > 2) search > > On Fri, Feb 6, 2015 at 3:47 PM, kaushal jani <[email protected]> wrote: > > please help me regarding my configuration for LDAP. > > my config file is as below > > ldap_server_type=AD > ldap_conn_host=test.demo.dom > ldap_conn_port=389 > ldap_conn_secure=false > > ldap_admin_dn=CN=test,CN=Users,DC=DEMO,DC=DOM > > ldap_passwd=***** > > ldap_search_base=CN=Users,DC=DEMO,DC=DOM > > > ldap_search_query=(&(objectCategory=person)(objectClass=person)(sAMAccountName=%1$s)) > > ldap_search_scope= SUBTREE > > ldap_auth_type=SEARCHANDBIND > > ldap_userdn_format=sAMAccountName=%s,CN=Users,DC=DEMO,DC=DOM > ldap_provisionning=NONE > ldap_use_admin_to_get_attrs=true > ldap_sync_password_to_om=false > ldap_user_attr_firstname=givenName > ldap_user_attr_mail=mail > ldap_user_attr_street=streetAddress > ldap_user_attr_additionalname=description > ldap_user_attr_fax=facsimileTelephoneNumber > ldap_user_attr_zip=postalCode > ldap_user_attr_country=co > ldap_user_attr_town=l > ldap_user_attr_phone=telephoneNumber > ldap_use_lower_case=false > > > > > -- > WBR > Maxim aka solomax > -- WBR Maxim aka solomax
