Bug 10122 - LDAP query with base dn containing a whitespace after the comma
LDAP query with base dn containing a whitespace after the comma
Status: NEW
Product: Samba 4.0
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.0.5
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-30 16:01 UTC by Benoit S.
Modified: 2013-08-30 16:01 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit S. 2013-08-30 16:01:44 UTC
Some product using LDAP/ADS authentication use queries with base dn containing whitespace after the separating comma.

Example
-------
Domain : test.dom
Base DN : dc=test, dc=dom (notice the whitespace after the comma)

ldapsearch -a always -h [SambaIP] -D "Administrator@test.dom" -W -b "dc=test, dc=dom" -s sub "(objectClass=domain)"

No Result

With ADS & OpenLdap this kind of query works.