netldap

Ruby net-ldap add user

帅比萌擦擦* 提交于 2019-12-01 10:26:34
I am trying to create a new user using ldap by doing this: require 'net/ldap' ldap = Net::LDAP.new ldap.host = 'ldap' ldap.auth('uid=myuser,ou=users,dc=my,dc=domain,dc=com', 'mypass') ldap.bind # this executes successfully, up to this point, all is well dn = 'uid=newuser,ou=users,dc=my,dc=domain,dc

工具导航Map

JSON相关