Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SonyPanchakshari
Community profile SonyPanchakshari Level 1
Job title here
Location here
4 BADGES
Level 1

Level 1

Learn more
Joined the community 14-12-2020 2:21:25 AM
Offline
Top badges earned by SonyPanchakshari
Customize the badges you want to showcase on your profile
Re: Windows Active Directory lookup
Avatar
Give Back 3
Level 1
SonyPanchakshari
Level 1

Likes

2 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Boost 1
View profile
SonyPanchakshari
- Adobe Experience Manager
Somehow overcame the previous error after trying some old versions of the JAR, but getting this new error nowInvalidDN exception when authenticate method is ran.final PasswordWarning warning = ldapConnectionTemplate.authenticate( "ou=test,dc=example,dc=com", "(sAMAccountName=" + username +")", SearchScope.SUBTREE, password.toCharArray());

Views

89

Like

1

Replies

0
Re: Windows Active Directory lookup
Avatar
Give Back 3
Level 1
SonyPanchakshari
Level 1

Likes

2 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Boost 1
View profile
SonyPanchakshari
- Adobe Experience Manager
Thanks for the suggestions.Installed all jars and resolve ddependencie, but I am getting a new errror now. Ldapauth is failing and below message is from the error log - Tried api-all.jar and then with individual jars. 07.07.2021 18:12:33.589 ERROR [0:0:0:0:0:0:0:1 [1625661753586] GET /bin/ebook/service/ldapAuth HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable java.lang.NoSuchMethodError: org.apache.directory.ldap.client.api.LdapConnectionPool.(Lorg/apa...

Views

90

Like

1

Replies

0
Re: Windows Active Directory lookup
Avatar
Give Back 3
Level 1
SonyPanchakshari
Level 1

Likes

2 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Boost 1
View profile
SonyPanchakshari
- Adobe Experience Manager
Hi,

Views

97

Likes

0

Replies

0
Windows Active Directory lookup
Avatar
Give Back 3
Level 1
SonyPanchakshari
Level 1

Likes

2 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Boost 1
View profile
SonyPanchakshari
- Adobe Experience Manager
Hi, I am trying to connect to a window's AD server that's not LDAP enabled. I have all details DNS, Domain Controller etc. When I am trying to use Intial Directory Context I get an error that "java.naming/javax.naming.directory.InitialDirContext.getURLOrDefaultInitDirCtx(InitialDirContext.java:111)" As a standalone java program I am able to establish connection but not when using in combination with AEM. Is there any other way of connecting where LDAP protocol is not used? Thank you in advance!

Views

179

Likes

0

Replies

5
Likes from