ldapsearch -x -D "cn=test,cn=users,dc=demo,dc=dom" -w test123 -p 389 -h x.x.x.x 
 -b "cn=users,dc=demo,dc=dom" -s sub "(objectclass=*)"

with below result 
# search resultsearch: 2result: 0 Success
# numResponses: 62# numEntries: 61
Date: Fri, 6 Feb 2015 18:06:07 +0700
Subject: Re: None user found in LDAP
From: [email protected]
To: [email protected]

show me your ldapsearch command
On Fri, Feb 6, 2015 at 5:03 PM, kaushal jani <[email protected]> wrote:



please help me i am stuck at this stage from last 3 days....

Date: Fri, 6 Feb 2015 17:57:02 +0700
Subject: Re: None user found in LDAP
From: [email protected]
To: [email protected]

I have no time for it, sorryMaybe someone else can help
On Fri, Feb 6, 2015 at 4:53 PM, kaushal jani <[email protected]> wrote:



if possible can you take teamviwer for it?

Date: Fri, 6 Feb 2015 17:49:57 +0700
Subject: Re: None user found in LDAP
From: [email protected]
To: [email protected]

if ldapsearch works and OM is not, then there are some differences.
I can't tell you what is wrong with your config since I don't have access to 
your LDAP server
On Fri, Feb 6, 2015 at 4:46 PM, kaushal jani <[email protected]> wrote:



please also tell me my config file is ok?

Date: Fri, 6 Feb 2015 17:44:29 +0700
Subject: Re: None user found in LDAP
From: [email protected]
To: [email protected]

then it should work with OM as well
On Fri, Feb 6, 2015 at 4:42 PM, kaushal jani <[email protected]> wrote:



ldapsearch working fine with exact copy of config file

From: [email protected]
To: [email protected]
Subject: RE: None user found in LDAP
Date: Fri, 6 Feb 2015 16:11:00 +0530




hi,
i tried with exact copy from config its working fine

Date: Fri, 6 Feb 2015 17:11:23 +0700
Subject: Re: None user found in LDAP
From: [email protected]
To: [email protected]

please try to use "ldapsearch" with the exact values from your configis it 
working?
On Fri, Feb 6, 2015 at 4:04 PM, kaushal jani <[email protected]> wrote:



i tried lower case but same result
none user found in ldap

Date: Fri, 6 Feb 2015 16:59:08 +0700
Subject: Re: None user found in LDAP
From: [email protected]
To: [email protected]

I see couple of issues here1) in you config LDAP DN is UPPER CASE, in your 
command line test it is mixed case2) 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 check1) admin creadentials2) 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=ADldap_conn_host=test.demo.domldap_conn_port=389ldap_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=DOMldap_provisionning=NONEldap_use_admin_to_get_attrs=trueldap_sync_password_to_om=falseldap_user_attr_firstname=givenNameldap_user_attr_mail=mailldap_user_attr_street=streetAddressldap_user_attr_additionalname=descriptionldap_user_attr_fax=facsimileTelephoneNumberldap_user_attr_zip=postalCodeldap_user_attr_country=coldap_user_attr_town=lldap_user_attr_phone=telephoneNumberldap_use_lower_case=false
                                          


-- 
WBR
Maxim aka solomax
                                          


-- 
WBR
Maxim aka solomax
                                          


-- 
WBR
Maxim aka solomax
                                                                                
  


-- 
WBR
Maxim aka solomax
                                          


-- 
WBR
Maxim aka solomax
                                          


-- 
WBR
Maxim aka solomax
                                          


-- 
WBR
Maxim aka solomax
                                          

Reply via email to