user « ldap « Java Enterprise Q&A





1. Java LDAP - Determine if user in a given group?    stackoverflow.com

We logon users to Active Directory via LDAP using the Java LDAP API. We want to enhance our logon functionality to further check if the user is in a given ...

2. Java LDAP Management - Using the netscape.ldap package, checking authentication and adding users    stackoverflow.com

I am currently using the netscape.ldap package to handle LDAP Connection and Authentication. I don't know if this is the best framework for LDAP Management but it's what I've got anyways. Using ...

3. Get Active Directory Domain Name For Current User Using Mac OSX    stackoverflow.com

I've got a Mac app written in Java. I'm trying to get the fully qualified domain name (LDAP) of the current user account from the system. The current user would be ...

4. Active Directory: User UPN or DN for NTLM name, using pure LDAP?    stackoverflow.com

I have a Java app that can authenticate to LDAP by logging users into the AD LDAP server with the NTLM name (which they are used to - this is a ...

5. How to enable user via LDAP in AD?    stackoverflow.com

In my program (jldap-based) I trying to enable user in AD by setting userAccountControl value to 512. User created with following attributes:

objectClass=user
cn=username
name=username
userAccountControl=512
userPassword={BASE64}<base64 encoded password>
sAMAccountName=username
distinguishedName=username,CN=Users,DC=company,DC=com
But I get exception:
LDAPException: Unwilling To Perform (53) Unwilling ...

6. Add atribute to a existing user in LDAP with JAVA    stackoverflow.com

i'm trying to modify a existing user and add a attribute to him. I'm using the following code:

Attributes attrs1 = new BasicAttributes(true);
attrs1.put("proxyHash", generateProxyHash(account, "123456"));
ldapContext.modifyAttributes(username, DirContext.ADD_ATTRIBUTE,attrs1);
But i've received an exception that says ...

7. How to enable a user in AD via LDAP?    stackoverflow.com

I'm trying to create an user in AD via Java/LDAP program and the user that is getting created is always disabled. When I tried to set the 'userAccountControl' t0 '512', it ...

8. Check user on LDap with Java    stackoverflow.com

Can I check a user logged on LDap by his ip address with Java?

9. Impersonating a user in LDAP (APacheDS) in Java    stackoverflow.com

I'm working with LDAP (ApacheDS) in Java, I was wondering if it's possible to impersonate a user using the system account. More specifically, I have different groups in LDAP directory, and I ...





10. How to simulate multiple users in LDAP    jmeter.512774.n5.nabble.com

11. Help to solve reset User LDAP problem    coderanch.com

Hi members, I 've wrote a java class to change user password by LDAP, I used code in this forum for reference, but when running, It created an error. Please help me to solve this. Thanks a lot. These errors are here: Test So ngau nhien: 54g0o7i5 OK OK2 OK3 >>>1CN=Nguyen Thi Thu Huong,OU=KTTH,OU=C5 OK4 OK5 Test: [Ljavax.naming.directory.ModificationItem;@ca2dce Sr: CN=Nguyen Thi ...

12. LDAP User Group    coderanch.com

13. Retriving user list from ldap (username - first and last, dn, cn)    forums.oracle.com

LDAP identity systems have some sub-context where the user are it's likely to be something like "cn=Users, dc=MyCompany". Then you can use the JNDI list or ListBindings to scan the subdirectory. Check the javadocs of javax.naming.directory Each user will be a Context, and it's attributes will contain the details you want. ListBindings will return all the contexts, list will return name/class ...

14. InitialContext.unbind() deleted the admin user for LDAP server...    forums.oracle.com

Hi, I am doing a connection to a LDAP server from Java code. Everything was fine for several days. But today I noticed that I don't execute an unbind operation and decided to put the necessary code. So I used InitialContext.unbind(). The result was that on the first execution of my program everything was OK. But on the second execution I ...

15. Retrieving user and group information from LDAP using j_securrity_check    forums.oracle.com

I am using j_security_check to authenticate users against LDAP. I have made all necessary configuration for the server to perform LDAP group search as well as mentioned in the WAS documentation of LDAP settings. Now, how can I retrieve the user and the user group info after the j_secuirty_check. Apart from the UserPrincipal object which I can get from the request ...