The following error message is prompted when checking that the LDAP service is working
ekanet@ESB-02:/tmp$ ldapsearch -x -LLL -b dc=esb,dc=com
Invalid DN syntax (34)
Additional information: invalid DN
Check the original Dapsearch-x-ll-b dc= ESB, DC = COM statement after an extra space
Command line inside more than a space, delete the space, query normal
ekanet@ESB-02:/tmp$ ldapsearch -x -LLL -b dc=esb,dc=com
dn: dc=esb,dc=com
objectClass: top
objectClass: dcObject
objectClass: organization
o: china
dc: esb
ekanet@ESB-02:/tmp$ ldapsearch -x -LLL -b dc=esb,dc=com
Invalid DN syntax (34)
Additional information: invalid DN
Check the original Dapsearch-x-ll-b dc= ESB, DC = COM statement after an extra space
Command line inside more than a space, delete the space, query normal
ekanet@ESB-02:/tmp$ ldapsearch -x -LLL -b dc=esb,dc=com
dn: dc=esb,dc=com
objectClass: top
objectClass: dcObject
objectClass: organization
o: china
dc: esb
dn: cn=admin,dc=esb,dc=com
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
dn: ou=Groups,dc=esb,dc=com
objectClass: organizationalUnit
ou: Groups
description: Container for Groups entries
dn: ou=Users,dc=esb,dc=com
objectClass: organizationalUnit
ou: Users
description: Container for Users entries
dn: uid=Michael,ou=Groups,dc=esb,dc=com
uid: Michael
objectClass: inetOrgPerson
mail: [email protected]
labeledURI: http://www.esb.com
sn: Sun
cn: Michael Sun
dn: uid=Test,ou=Users,dc=esb,dc=com
uid: Test
objectClass: inetOrgPerson
labeledURI: http://www.esb.com
sn: ESB
cn: Test ESB
Read More:
- Solve the problem of syntax error: invalid syntax in PIP install XXX
- Syntax error: invalid syntax before Python string
- Error syntax error: invalid syntax in PIP install XXX
- Syntax error: invalid syntax
- Error in PIP command execution – syntax error: invalid syntax
- [Python] error syntax error: summary of solutions to invalid syntax
- Repo reports an error syntax error: invalid syntax
- Python: print syntax error: problem with invalid syntax error
- LDAP: error code 21 – objectclass: value ා 0 invalid per syntax
- Syntax error: invalid character in identifier
- [Err] ERROR: invalid input syntax for integer: “1.0”
- Syntaxerror: invalid syntax when executing PIP install XXX
- File “manage.py“, line 17 ) from exc ^ SyntaxError: invalid syntax
- Solution to syntaxerror: invalid syntax in PIP install XXX
- Exception occurred when Django created app: from exc ^ syntaxerror: invalid syntax
- [!] Invalid `Podfile` file: syntax error, unexpected end-of-input, expecting keyword_end.
- Syntax Error: SassError: Invalid CSS after “…-height: #{math“: expected expression (e.g. 1px, bold
- Baidu editor echo JS error uncaught syntax error: invalid or unexpected token
- Error reported in Python: syntax error: invalid character in identifier