Ldap: error code 32-no Such Object
ldap: error code 32-no Such Object
is calling
this. ldaptemplate. create(ldapUser);
was reported wrong. After searching for a long time, I did not find the reason. Finally, I saw a blog and realized that the configured base in the ldap context should not be added to the dn of the node
<ldap:context-source id="contextSource"
password="${ldap.password}"
url="${ldap.url}"
username="${ldap.username}"
base="${ldap.base}" />
@Entry(objectClasses = { "person", "inetOrgPerson", "organizationalPerson", "top" }, base="o=sf")
public class LdapUser {
For example, dn is o=sf,dc=aa,dc=com
ldap: base of contin-source is configured as dc=aa, base of dc=com
Entry is configured as o=sf, and can no longer be configured as o=sf,dc=aa,dc=com
Read More:
- LDAP: error code 21 – objectclass: value ා 0 invalid per syntax
- Attributeerror: ‘dataframe’ object has no attribute ‘IX’ error
- AttributeError: type object ‘Image‘ has no attribute ‘open‘
- AttributeError: ‘Tensor‘ object has no attribute ‘_numpy‘
- Attributeerror: object has no attribute
- Python AttributeError: ‘bool‘ object has no attribute ‘ui‘
- Attributeerror: ‘bytes’ object has no attribute’ encode ‘
- Typeerror: object of type ‘response’ has no len() why?
- AttributeError: ‘Settings’ object has no attribute ‘ROOT_URLCONF’
- Matlab error “Object returned error code of the xlswrite function: 0x800A03EC
- AttributeError: ‘PipelinedRDD‘ object has no attribute ‘toDF‘
- AttributeError: ‘NoneType‘ object has no attribute ‘shape‘
- AttributeError: ‘NoneType‘ object has no attribute ‘append‘
- python gensim AttributeError: ‘Doc2Vec‘ object has no attribute ‘dv‘
- Solution: attributeerror: type object ‘ioloop’ has no attribute ‘initialized’
- Googlenet Error: ‘GoogLeNetOutputs‘ object has no attribute ‘data‘
- TypeError: object of type ‘Cursor‘ has no len()
- Attributeerror: ‘STR’ object has no attribute ‘decode’ solution: the pro test is successful.
- AttributeError: ‘dict‘ object has no attribute ‘iteritems‘
- AttributeError:‘AxesSubplot’object has no attribute‘bar_label’