That could very well be the case as we do not have the e-mail address field
populated in LDAP.  But I thought the following code would take care of
that:

# If your LDAP server does not hold an email address for a user, you can use
# the following field to specify your email domain. This value is appended
# to the netid in order to make an email address. E.g. a netid of 'user' and
# ldap.netid_email_domain as '@example.com' would set the email of the user
# to be 'u...@example.com
ldap.netid_email_domain = @carthage.edu
--
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgr...@carthage.edu


On Thu, Apr 22, 2010 at 9:12 PM, Stuart Lewis <s.le...@auckland.ac.nz>wrote:

> Hi Max,
>
> This code has been stable for a while and is working in a lot of
> installations, so hopefully there is no bug. One possible cause is that the
> email address is not being returned from the LDAP query. If there is no
> email address then an eperson record cannot be created.
>
> Check that the following setting is correctly configured in dspace.cfg:
>
> ldap.email_field = mail
>
> Thanks,
>
>
> Stuart Lewis
> IT Innovations Analyst and Developer
> Te Tumu Herenga The University of Auckland Library
> Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
> Ph: +64 (0)9 373 7599 x81928
>
>
> On 23/04/2010, at 1:48 PM, Max McGrath wrote:
>
> > Yes, I do have that set to true and the ePersons are still not being
> created.
> > --
> > Max McGrath
> > Asst. Network Admin/Systems Specialist
> > Carthage College
> > 262-552-5512
> > mmcgr...@carthage.edu
> >
> >
> > On Thu, Apr 22, 2010 at 1:33 PM, <penning...@rhodes.edu> wrote:
> > Hi, Max. I'm glad you have LDAP auth working now.
> >
> > Do you have webui.ldap.autoregister = true in your dspace.cfg?
> >
> > We don't have webui.ldap.autoregister set to true, currently, and we do
> create all e-person accounts manually for those faculty and staff that need
> to access DSpace to add or edit objects. We were hoping to turn on
> webui.ldap.autoregister this summer.
> >
> > --
> > Stacy Pennington
> > Rhodes College
> > penning...@rhodes.edu
> > (901) 843-3968
> >
> >
> > ---------------------------
> > From: Max McGrath [mailto:mmcgr...@carthage.edu]
> > Sent: Thursday, April 22, 2010 11:57 AM
> > To: Pennington_Stacy
> > Cc: dspace-tech@lists.sourceforge.net
> > Subject: Re: [Dspace-tech] LDAP with DSpace
> >
> > Thanks again Stacy!
> >
> > You, however, have been unsuccessful at getting this to automatically
> create a new ePerson, correct?
> >
> > I don't have access to my logs right now, but I can see that LDAP
> authentication is working, but creating a new ePerson is failing and
> therefore, not letting me login!
> >
> > Is my only option to manually create an ePerson for every person who
> could potentially login?
> > --
> > Max McGrath
> > Asst. Network Admin/Systems Specialist
> > Carthage College
> > 262-552-5512
> > mmcgr...@carthage.edu
> >
> >
> > <ATT00001..txt><ATT00002..txt>
>
>
>
>
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to