additionally ldapsearch uses IP address while OM config has name

On Fri, Feb 6, 2015 at 5:31 PM, Maxim Solodovnik <[email protected]>
wrote:

> As I can see
> ldap_search_query=(&(objectCategory=person)(objectClass=person)(
> sAMAccountName=%1$s))
> differs from ldapsearch parameters
>
> On Fri, Feb 6, 2015 at 5:28 PM, kaushal jani <[email protected]> wrote:
>
>> 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
>>
>> ------------------------------
>> Date: Fri, 6 Feb 2015 18:21:02 +0700
>> Subject: Re: None user found in LDAP
>> From: [email protected]
>> To: [email protected]
>>
>> and your final OM config?
>>
>> On Fri, Feb 6, 2015 at 5:20 PM, Maxim Solodovnik <[email protected]>
>> wrote:
>>
>> ant your final OM config?
>>
>> On Fri, Feb 6, 2015 at 5:18 PM, kaushal jani <[email protected]> wrote:
>>
>> 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 result
>> search: 2
>> result: 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, sorry
>> Maybe 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 config
>> is 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 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
>>
>>
>>
>>
>> --
>> 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
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Reply via email to