Re: [Dspace-tech] [DSpace-tech]: user profile

2015-02-26 Thread Tim Donohue
Hi Nada,

Sorry for the delayed response. This issue sounds very similar to this bug:

https://jira.duraspace.org/browse/DS-2421

Simply put, I'm fairly certain the LDAPAuthentication plugin is not 
working correctly *unless* you configure either:

search.anonymous=true

OR specify both:

search.user and search.password

These are all in the authentication-ldap.cfg configuration file.

I'm still searching out a volunteer to help resolve this bug in the 
code. Unfortunately, I don't have an LDAP locally that I can easily test 
against. But, it sounds like you are hitting this LDAP Authentication bug.

- Tim


On 2/22/2015 2:16 AM, Nada Abo-Eita wrote:
 Hi Hilton,

 Thank you for your replay.
 When we conduct ldap search for a specific  user, it gets all of these
 attributes about the user:

   * DN
   * uid
   * pdsLoginId
   * pdsLoginAlias
   * pdsIMSEnterpriseSourcedId
   * displayName
   * sn
   * givenName
   * pdsRole
   * mail
   * pdsCredentialExpired
   * pdsAccountCredentialChanged
   * ou
   * departmentNumber
   * manager
   * pdsGender
   * o
   * cn
   * telephoneNumber
   * pdsLoginSuccess
   * pdsLoginFailure


 So my concern here, Since ldap server is able to get all of the above,
 then Why the First Name, Last Name, telephone number are empty in dspace
 user form?


 On Wed, Feb 18, 2015 at 12:31 PM, Hilton Gibson hilton.gib...@gmail.com
 mailto:hilton.gib...@gmail.com wrote:

 Hi

 Can you supply a sample LDAP account attributes?
 See:
 
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/User_Management#Conduct_LDAP_search

 I presume this is about: http://qspace.qu.edu.qa

 Cheers

 hg

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 tel:%2B27%2021%20808%204100 | Cell: +27 84
 646 4758 tel:%2B27%2084%20646%204758

 On 18 February 2015 at 11:15, Nada Abo-Eita naboeit...@gmail.com
 mailto:naboeit...@gmail.com wrote:


 Dears,

 we are experiencing problem with populating e-person profile.
 Once the user logged in, only email address is filled. OTH, for
 the others (First name, Last name, Telephone Number) are empty.
 ( attached profile example )

 So far this is how my authentication-ldap.cfg looks like:

 autoregister = true

 provider_url = ldap://ldap.qu.edu.qa:389/
 http://ldap.qu.edu.qa:389/

 #object context

 object_context = ou=people,o=qu.edu.qa http://qu.edu.qa/,o=cp
# my ldap server DN

 #search context

 search_context = ou=people,o=qu.edu.qa http://qu.edu.qa/,o=cp

 email_field = mail

 surname_field = sn

 givenname_field = givenName

 phone_field = telephoneNumber


 Can someone help me figuring out Whats missing here? Do I need
 to configure this somewhere else?



 
 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and
 Dashboards
 with Interactivity, Sharing, Native Excel Exports, App
 Integration  more
 Get technology previously reserved for billion-dollar
 corporations, FREE
 
 http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 mailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette





 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 

Re: [Dspace-tech] [DSpace-tech]: user profile

2015-02-22 Thread Nada Abo-Eita
Hi Hilton,

Thank you for your replay.
When we conduct ldap search for a specific  user, it gets all of these
attributes about the user:

   - DN
   - uid
   - pdsLoginId
   - pdsLoginAlias
   - pdsIMSEnterpriseSourcedId
   - displayName
   - sn
   - givenName
   - pdsRole
   - mail
   - pdsCredentialExpired
   - pdsAccountCredentialChanged
   - ou
   - departmentNumber
   - manager
   - pdsGender
   - o
   - cn
   - telephoneNumber
   - pdsLoginSuccess
   - pdsLoginFailure


So my concern here, Since ldap server is able to get all of the above, then
Why the First Name, Last Name, telephone number are empty in dspace user
form?

On Wed, Feb 18, 2015 at 12:31 PM, Hilton Gibson hilton.gib...@gmail.com
wrote:

 Hi

 Can you supply a sample LDAP account attributes?
 See:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/User_Management#Conduct_LDAP_search

 I presume this is about: http://qspace.qu.edu.qa

 Cheers

 hg

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 18 February 2015 at 11:15, Nada Abo-Eita naboeit...@gmail.com wrote:


 Dears,

 we are experiencing problem with populating e-person profile. Once the
 user logged in, only email address is filled. OTH, for the others (First
 name, Last name, Telephone Number) are empty. ( attached profile example )

 So far this is how my authentication-ldap.cfg looks like:

 autoregister = true

 provider_url = ldap://ldap.qu.edu.qa:389/

 #object context

 object_context = ou=people,o=qu.edu.qa,o=cp   # my ldap server DN

 #search context

 search_context = ou=people,o=qu.edu.qa,o=cp

 email_field = mail

 surname_field = sn

 givenname_field = givenName

 phone_field = telephoneNumber


 Can someone help me figuring out Whats missing here? Do I need to
 configure this somewhere else?




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] [DSpace-tech]: user profile

2015-02-18 Thread Hilton Gibson
Hi

Can you supply a sample LDAP account attributes?
See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/User_Management#Conduct_LDAP_search

I presume this is about: http://qspace.qu.edu.qa

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 18 February 2015 at 11:15, Nada Abo-Eita naboeit...@gmail.com wrote:


 Dears,

 we are experiencing problem with populating e-person profile. Once the
 user logged in, only email address is filled. OTH, for the others (First
 name, Last name, Telephone Number) are empty. ( attached profile example )

 So far this is how my authentication-ldap.cfg looks like:

 autoregister = true

 provider_url = ldap://ldap.qu.edu.qa:389/

 #object context

 object_context = ou=people,o=qu.edu.qa,o=cp   # my ldap server DN

 #search context

 search_context = ou=people,o=qu.edu.qa,o=cp

 email_field = mail

 surname_field = sn

 givenname_field = givenName

 phone_field = telephoneNumber


 Can someone help me figuring out Whats missing here? Do I need to
 configure this somewhere else?




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette