Hi,

 

Did anyone got the solution of this problem I am also having the similar 
problem with my DSpace 1.4.2 MS AD Ldap integration.

After integration can able to login with the CN but not by the Account id. Ie. 
sAMAccount. And the other fields like "email, sn, givenName is also empty after 
registration.

 

Regards

Ehtesham

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dámaso Hernández
Sent: Tuesday, November 13, 2007 1:25 PM
To: [email protected]
Subject: [Dspace-tech] Dspace, LDAP & Windows AD

 

I´m trying to use DSpace with the users of my Windows 2003 Server domain.
The firs problem is that I can login and autoregister using CN, but email 
address, surname, given name and phone number remain blank.

The second problem is that I wanted to use sAMAccount as ldap.id_field so users 
can log in with their system usernames. I change ldap.id_field in dspace.cfg to 
sAMAccount and than I cannot log in.

Using dspace-1.4.2 and Debian Etch 2.6.18-4-686

Can anybody help?

Thanks.

Damaso.


dspace.cfg ldap configuration:
-------------------------------------------
webui.ldap.autoregister = true
ldap.enable = true
ldap.id_field = CN
ldap.object_context = CN=Users,DC=vi,DC=ieo,DC=es 
ldap.search_context = CN=Users,DC=vi,DC=ieo,DC=es
ldap.email_field = mail
ldap.surname_field = sn
ldap.givenname_field = givenName
ldap.phone_field = telephoneNumber

One user data in my AD obtained using ldp.exe Windows tool:
-------------------------------------------------------------------------------------------
Expanding base 'CN=Luisa Ferrer,CN=Users,DC=vi,DC=ieo,DC=es'...
Result <0>: (null)
Matched DNs: 
Getting 1 entries:
>> Dn: CN=Luisa Ferrer,CN=Users,DC=vi,DC=ieo,DC=es
    4> objectClass: top; person; organizationalPerson; user; 
    1> cn: Luisa Ferrer; 
    1> sn: Ferrer; 
    1> givenName: Luisa; 
    1> initials: LF; 
    1> distinguishedName: CN=Luisa Ferrer,CN=Users,DC=vi,DC=ieo,DC=es; 
    1> instanceType: 4; 
    1> whenCreated: 11/27/2003 12:8:49 Hora estándar romance Hora estándar 
romance; 
    1> whenChanged: 4/21/2005 8:55:0 Hora estándar romance Hora estándar 
romance; 
    1> displayName: Luisa Ferrer; 
    1> uSNCreated: 32233; 
    13> memberOf: ... 
    1> homeMTA: CN=Microsoft MTA,CN=xxxxxx,CN=Servers,CN=Primer grupo 
administrativo,CN=Administrative Groups,CN=Vigo,CN=Microsoft 
Exchange,CN=Services,CN=Configuration,DC=vi,DC=ieo,DC=es; 
    2> proxyAddresses: SMTP:[EMAIL PROTECTED]; X400:c=ES;a= 
;p=Vigo;o=Exchange;s=Ferrer;g=Luisa;i=MF;; 
...
    1> name: Matilde Ferrer; 
...
    1> sAMAccountName: luisa; 
    1> sAMAccountType: 805306368; 
...
    1> legacyExchangeDN: /o=Vigo/ou=Primer grupo 
administrativo/cn=Recipients/cn=luisa;
....
    1> mail: [EMAIL PROTECTED] ; 
    1> msExchHomeServerName: /o=Vigo/ou=Primer grupo 
administrativo/cn=Configuration/cn=Servers/cn=xxxxxx; 
....


DISCLAIMER:"The information contained in this message and the attachments (if 
any) may be privileged and confidential and protected from disclosure. You are 
hereby notified that any unauthorized use, dissemination, distribution or 
copying of this communication, review, retransmission, or taking of any action 
based upon this information, by persons or entities other than the intended 
recipient, is strictly prohibited. If you are not the intended recipient or an 
employee or agent responsible for delivering this message, and have received 
this communication in error, please notify us immediately by replying to the 
message and kindly delete the original message, attachments, if any, and all 
its copies from your computer system. Thank you for your cooperation."
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to