apacheds

Openldap naming context issue with Apache directory studio?

被刻印的时光 ゝ 提交于 2019-12-08 05:55:36
问题 I have installed openldap in linux machine, but when i am trying to connect it through Apache Directory studio ,I am getting no any child for Root DSE Can someone please tell me what i am doing wrong here? Now if i am trying to import any LDIF file i am getting Error while importing LDIF - [LDAP: error code 53 - no global superior knowledge] java.lang.Exception: [LDAP: error code 53 - no global superior knowledge] at org.apache.directory.studio.connection.core.io.api

How to unlock user on ApacheDS

99封情书 提交于 2019-12-05 15:34:47
I setup an ApacheDS with default password-policy enabled. For testing proposes I locked a simple User (objectClass=Person extended with some custom User-objectClass) by entering the wrong credentials a number of times. As I expected the user was locked (error msg: user was permanently locked). The question now is: How to unlock the user again? Is there a better way then just deleting and adding again? I tried the same with an extended user (objectClass=pwdPolicy) but no pwd* attributes were added when the user was locked. More recently, I encountered the same problem at work. But, it seems

Role-based security implementation in LDAP

断了今生、忘了曾经 提交于 2019-12-04 23:04:13
问题 I'm working on role-based security implementation in LDAP and Java. Specifically, I have the following objects that I need to represent in LDAP: Users Corporate groups of users - HR, Finance etc. Permissions - DOCUMENT_READ, DOCUMENT_MODIFY etc. Roles - ADMIN, GUEST etc. Roles are basically groups of permissions, and they can be assigned to a user or to a group of users. I was thinking of representing them in LDAP as folows: Users - Person and uidObject classes with userPassword attribute.

How to change primary LDAP domain of WSO2 IS 4.5.0

我的未来我决定 提交于 2019-12-04 19:45:52
I would like modify the domain of the primary user storage (based on LDAP), but i can not get successfully. The current domain in user-mgt.xml is dc=wso2,dc=org and I would like to change to dc=foobar,dc=com My modified user-mgt.xml is: ... <UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager"> <Property name="TenantManager">org.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager</Property> <Property name="defaultRealmName">FOOBAR.COM</Property> <Property name="kdcEnabled">false</Property> <Property name="Disabled">false</Property> <Property name=

Running Apache DS embedded in my application

梦想的初衷 提交于 2019-11-30 01:27:51
I'm trying to run an embedded ApacheDS in my application. After reading http://directory.apache.org/apacheds/1.5/41-embedding-apacheds-into-an-application.html I build this: public void startDirectoryService() throws Exception { service = new DefaultDirectoryService(); service.getChangeLog().setEnabled( false ); Partition apachePartition = addPartition("apache", "dc=apache,dc=org"); addIndex(apachePartition, "objectClass", "ou", "uid"); service.startup(); // Inject the apache root entry if it does not already exist try { service.getAdminSession().lookup( apachePartition.getSuffixDn() ); }

case insensitive LDAP searches

梦想与她 提交于 2019-11-28 12:16:19
What't the syntax for performing a case-insensitive match on a 'uid' attribute? If attribute definition matters then how would that be changed? In particular I am using ApacheDS for my LDAP store. (uid=miXedCaseUSer) will match a uid of mixedcaseuser. Accoriding to the OID Description for 0.9.2342.19200300.100.1.1 - Userid userId is defined to have EQUALITY MATCHING RULE caseIgnoreMatch Which means it is one of the attribute definitions that employ case insensitive matching by default. I think they are case insensitive by default, unless its a password attribute. 来源: https://stackoverflow.com