allow entry creation using uid as well as current support for cn
create of an ldap user works when using dn: cn=fred,ou=users,dc=…
but doesnt work when using dn: uid=fred,ou=users,dc=…
reported error is attribute ‘uid’ not allowed Code: 0x41
allow entry creation using uid as well as current support for cn
create of an ldap user works when using dn: cn=fred,ou=users,dc=…
but doesnt work when using dn: uid=fred,ou=users,dc=…
reported error is attribute ‘uid’ not allowed Code: 0x41
Hey @Ukunda,
Welcome to the community
Looking at the error message that looks to be the ldap server telling you that you can’t use the uid and is giving the 0x41 code.
A bit of digging online looks like the 41 code could be “ The entry violates object class restrictions.” which means the issue is likely not an n8n restriction but something the ldap server isn’t allowing for some reason.
Which ldap implementation are you using?
Hi Jon
Good to hear from you. I’m using a newly installed openldap server in a linux env. The openldap server is being driven by a Keycloak server. I’m able to create the users with the uid attributes using Keycloak and using ldap command line ldifs. So I have a work around solution but it would be good to use the n8n ldap feature. The bind user I used for the n8n ldap connection is the same bind user dn used by the command line ldifs.
Regards
Ukunda