File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes how to setup LDAP ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "how to setup LDAP ?" Watch "how to setup LDAP ?" New topic
Author

how to setup LDAP ?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,
I want to use ldap (MS AD), but can't login.
I modify file (jforum-custom.conf/SystemGlobals.properties) like below���
env:
MS AD
IP: 192.1688.0.4
domain:aaa.bbb.com
Jfroum: CVS 2.17

login.authenticator = net.jforum.sso.LDAPAuthenticator
ldap.login.prefix=CN=
ldap.login.suffix=CN=Users,dc=aaa,dc=bbb,dc=com
ldap.lookup.suffix=CN=Users
ldap.lookup.prefix =
ldap.server.url = ldap\://192.168.0.4

what's problom?


[originally posted on jforum.net by ��ԍ?�]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Are you using a network bind account in the props file?

You may need to add the port to the URL too (xxx.xxx.xxx.xxx:389).
[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
GatorBait3 wrote:Are you using a network bind account in the props file?

You may need to add the port to the URL too (xxx.xxx.xxx.xxx:389).


1)in one network.
2)use tcpdump can look have data send & receive to 192.168.0.4:389.
[originally posted on jforum.net by ��ԍ?�]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to setup LDAP ?
 
Similar Threads
AD authentication with JAAS
LDAP Authentication
How to add a user in the Active Directory via JNDI/LDAP?
How to add a user in the Active Directory via JNDI/LDAP?
looking for a simple configuration file (JAAS)