opends

What are the Maven 2 Coordinates for OpenDS SDK?

荒凉一梦 提交于 2020-01-05 11:52:29
问题 I have been playing around with the OpenDS SDK (not the full OpenDS Server/Platform) to implement a simple LDAP listener to front a service my application provides. I have not been able to find the Maven 2 coordinates for such SDK. This is the SDK site https://www.opends.org/wiki/page/LDAPSDK I would like to know if the dependency is available in any public Maven repository. Thanks, 回答1: After contacting a person related to OpenDS, I learned that it is not likely that the OpenDS artifacts

OpenDS: Which attribute tells that an account was locked due to password expiration

▼魔方 西西 提交于 2019-12-25 01:16:34
问题 I have requirement to show status (locked or unlocked ) of all accounts in OpenDS 2.2. I have come to know that pwdAccountLockedTime is present if account gets locked due to too many unsuccessful attempts. So by checking this attribute, I am able to pick account locked due to this reason. Now I need to identify accounts which were locked due to password expiration. Is there any attribute which tells this? I need to retrieve this attribute in my java client application. Any help in this

Import object class definitions to Active Directory (AD LDS)

天大地大妈咪最大 提交于 2019-12-12 20:35:08
问题 I am stuck migrating object class definitions from OpenDS to Active Directory. I have already successfully migrated some definitions (and can read/write to AD with my Java application) - but now I'm stuck. In my OpenDS schema description I have something like this: objectClasses: ( 1.3.6.1.4.1.99.2 NAME 'myNewClass' SUP top STRUCTURAL MUST ( myAttribute1 $ myAttribute2 $ myAttribute3 ) MAY someOtherAttribute ) I translated this to the AD schema syntax like this: # Class: myNewClass dn: cn

ldap_add(): Add: Object class violation error

允我心安 提交于 2019-11-29 07:52:48
When I try to add attribute to the OpenDS via PHP I get the following error: ldap_add(): Add: Object class violation Please help. Here is my code <?php $ldapconfig['host'] = 'PC100'; $ldapconfig['port'] = 1389; $ldapconfig['basedn'] = 'dc=company,dc=com'; $ds=ldap_connect($ldapconfig['host'], $ldapconfig['port']); $password=1; $username="cn=Directory Manager"; if ($bind=ldap_bind($ds, $username, $password)) { echo("Login correct"); ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); // IMPORTANT $dn = "cn=roshan1,dc=example,dc=com"; //$newuser["objectclass"] = "inetOrgPerson"; //$newuser["cn"]

ldap_add(): Add: Object class violation error

笑着哭i 提交于 2019-11-28 01:33:32
问题 When I try to add attribute to the OpenDS via PHP I get the following error: ldap_add(): Add: Object class violation Please help. Here is my code <?php $ldapconfig['host'] = 'PC100'; $ldapconfig['port'] = 1389; $ldapconfig['basedn'] = 'dc=company,dc=com'; $ds=ldap_connect($ldapconfig['host'], $ldapconfig['port']); $password=1; $username="cn=Directory Manager"; if ($bind=ldap_bind($ds, $username, $password)) { echo("Login correct"); ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); //