访问被拒绝在LDAP上创build用户
我有一个Web应用程序需要能够在LDAP上创build用户。 我创build了一个cn=intranet,dc=example,dc=com ,我需要它可以添加用户unside ou=People,dc=example,dc=com 。 所以我试图添加用户作为cn=intranet使用属性如: dn = "uid=something,ou=People,dc=telecom-etude,dc=com" attrs = { cn: 'something', givenName: 'something', sn: 'something', uid: 'something', displayName: 'something', objectClass: ["inetOrgPerson", 'top', 'Person' ], } ldap = Devise::LDAP::Connection.admin # returns a Net::LDAP binding with `cn=intranet` ldap.add(dn: dn, attributes: attrs) 无论我做什么,我似乎都被困住了 (Net::LDAP) LDAP Creation ERROR : #<OpenStruct code=50, error_message="no write access to parent", […]