[Dspace-tech] DSpace LDAP login using Windows 2003 Active Directory

2007-04-17 Thread Jayan Chirayath Kurian
Hi!,

 

LDAP login to windows 2003 AD was fine with the following default Dspace config 
parameters for a user with object_context = 
dc=staff,dc=main,dc=ntu,dc=edu,dc=sg.

 

ldap.provider_url = ldap://staff.main.ntu.edu.sg:389

 

ldap.id_field = CN

 

ldap.object_context = dc=staff,dc=main,dc=ntu,dc=edu,dc=sg

 

ldap.search_context = dc=staff,dc=main,dc=ntu,dc=edu,dc=sg

 

(1) Although login was fine the log file shows the following exception 
ldap_attribute_lookup:type=failed_search javax.naming.PartialResultException: 
Unprocessed Continuation Reference(s); remaining name 
'dc=staff,dc=main,dc=ntu,dc=edu,dc=sg'. The full log file is given below. 

 

 

2007-04-16 17:41:34,025 WARN  org.dspace.app.webui.servlet.LDAPServlet @ 
anonymous:session_id=F154B40A59678BAC8DAB73F6E0B0A1A5:ip_addr=155.69.104.75:ldap_attribute_lookup:type=failed_search
 javax.naming.PartialResultException: Unprocessed Continuation Reference(s); 
remaining name 'dc=staff,dc=main,dc=ntu,dc=edu,dc=sg'

2007-04-16 17:41:34,025 INFO  org.dspace.app.webui.servlet.LDAPServlet @ [EMAIL 
PROTECTED]:session_id=F154B40A59678BAC8DAB73F6E0B0A1A5:ip_addr=155.69.104.75:login:type=ldap

2007-04-16 17:41:34,035 INFO  org.dspace.app.webui.servlet.MyDSpaceServlet @ 
[EMAIL 
PROTECTED]:session_id=F154B40A59678BAC8DAB73F6E0B0A1A5:ip_addr=155.69.104.75:view_mydspace:

 

(2) Other valid users with object context as 
ou=Users,ou=SCI,dc=staff,dc=main,dc=ntu,dc=edu,dc=sg cannot login. How to 
enable this although these users come under the same AD root context 
dc=staff,dc=main,dc=ntu,dc=edu,dc=sg.

 

Can you please suggest how to make LDAP work with all users under different OU? 

 

Thanks,

Jayan

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace LDAP login using Windows 2003 Active Directory

2007-04-16 Thread Jayan Chirayath Kurian
Hi!

 

LDAP login to windows 2003 AD was fine with the following default Dspace
config parameters for a user with object_context =
dc=staff,dc=main,dc=ntu,dc=edu,dc=sg.

 

plugin.sequence.org.dspace.eperson.AuthenticationMethod = \

   org.dspace.eperson.PasswordAuthentication,
org.dspace.eperson.LDAPAuthentication

 

webui.ldap.autoregister = true

 

ldap.enable = true

 

ldap.provider_url = ldap://staff.main.ntu.edu.sg:389

 

ldap.id_field = CN

 

ldap.object_context = dc=staff,dc=main,dc=ntu,dc=edu,dc=sg

 

ldap.search_context = dc=staff,dc=main,dc=ntu,dc=edu,dc=sg

 

(1) Although login was fine the log file shows the following exception
ldap_attribute_lookup:type=failed_search
javax.naming.PartialResultException: Unprocessed Continuation
Reference(s); remaining name 'dc=staff,dc=main,dc=ntu,dc=edu,dc=sg'. The
full log file is given below. 

 

 

2007-04-16 17:41:34,025 WARN  org.dspace.app.webui.servlet.LDAPServlet @
anonymous:session_id=F154B40A59678BAC8DAB73F6E0B0A1A5:ip_addr=155.69.104
.75:ldap_attribute_lookup:type=failed_search
javax.naming.PartialResultException: Unprocessed Continuation
Reference(s); remaining name 'dc=staff,dc=main,dc=ntu,dc=edu,dc=sg'

2007-04-16 17:41:34,025 INFO  org.dspace.app.webui.servlet.LDAPServlet @
[EMAIL PROTECTED]:session_id=F154B40A59678BAC8DAB73F6E0B0A1A5:ip_ad
dr=155.69.104.75:login:type=ldap

2007-04-16 17:41:34,035 INFO
org.dspace.app.webui.servlet.MyDSpaceServlet @
[EMAIL PROTECTED]:session_id=F154B40A59678BAC8DAB73F6E0B0A1A5:ip_ad
dr=155.69.104.75:view_mydspace:

 

(2) Other valid users with object context as
ou=Users,ou=SCI,dc=staff,dc=main,dc=ntu,dc=edu,dc=sg cannot login. How
to enable this although these users come under the same AD root context
dc=staff,dc=main,dc=ntu,dc=edu,dc=sg.

 

(3) For Active Directory, LDAP login all the users need to be having the
same object context? Here all users are under different OU (e.g. EE, IT,
CS,SCI etc). How to make LDAP work with all users under different OU?

 

Please suggest.

 

Thanks,

Jayan

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech