[OPEN-ILS-DEV] LDAP OSRF Synchronization Questions
Elliot Voris
evoris at slcconline.edu
Thu Aug 1 14:32:49 EDT 2013
Well actually making a query sure does help :)
I'm able to query the AD server and get what I want, but I think I'm having trouble connecting with the OSRF gateway now. When I try to actually create a user, with the command './ldap_osrf_sync -c --query-cn "Thomas Edison"', I don't get any errors, but it doesn't look like the EG account is created. I tried './ldap_osrf_sync --find-eg-user "thomas.edison"' and got this output:
[WARN:4015:idl.py:166:MainThread:] No field 'owner' in IDL class 'vie'
[WARN:4015:idl.py:166:MainThread:] No field 'item_attr_def' in IDL class 'vie'
[WARN:4015:idl.py:166:MainThread:] No field 'match_set' in IDL class 'vie'
[WARN:4015:idl.py:166:MainThread:] No field 'renewals' in IDL class 'circ'
[WARN:4015:idl.py:166:MainThread:] No field 'renewals' in IDL class 'acirc'
[WARN:4015:idl.py:166:MainThread:] No field 'distribution_formula_entries' in IDL class 'acpl'
[WARN:4015:idl.py:166:MainThread:] No field 'default_fund' in IDL class 'acqpo'
[WARN:4015:idl.py:166:MainThread:] No field 'filter_sets' in IDL class 'cfdi'
Trying to find user: thomas.edison thomas.edison thomas.edison
JSON gateway returned status 404:
JSON gateway returned status 404:
JSON gateway returned status 404:
Do the OSRF_HTTP, IDL_URL, GATEWAY_URL variables in credentials.py need to be adjusted? I've left them as-is, thinkingn they were set to some kind of "defaults", but the 404 error makes me think otherwise.
Thanks!
Elliot J. Voris
IT Director
St. Louis Christian College
evoris at slcconline.edu
314.837.6777 x1250
________________________________________
From: open-ils-dev-bounces at list.georgialibraries.org <open-ils-dev-bounces at list.georgialibraries.org> on behalf of Dan Scott <dan at coffeecode.net>
Sent: Wednesday, July 31, 2013 5:20 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] LDAP OSRF Synchronization Questions
On Wed, Jul 31, 2013 at 09:51:17PM +0000, Elliot Voris wrote:
> I've gone through, and adjusted the script to better suit our environment. I keep getting these errors:
>
> opensrf at evergreen-test:~/tools/patron-load$ ./ldap_osrf_sync --dump-ldap
> [WARN:6134:idl.py:166:MainThread:] No field 'owner' in IDL class 'vie'
> [WARN:6134:idl.py:166:MainThread:] No field 'item_attr_def' in IDL class 'vie'
> [WARN:6134:idl.py:166:MainThread:] No field 'match_set' in IDL class 'vie'
> [WARN:6134:idl.py:166:MainThread:] No field 'renewals' in IDL class 'circ'
> [WARN:6134:idl.py:166:MainThread:] No field 'renewals' in IDL class 'acirc'
> [WARN:6134:idl.py:166:MainThread:] No field 'distribution_formula_entries' in IDL class 'acpl'
> [WARN:6134:idl.py:166:MainThread:] No field 'default_fund' in IDL class 'acqpo'
> [WARN:6134:idl.py:166:MainThread:] No field 'filter_sets' in IDL class 'cfdi'
> opensrf at evergreen-test:~/tools/patron-load$
>
> Does any of that mean anything to you? Here's that section of /usr/local/lib/python2.7/dist-packages/oils/utils/idl.py (evergreen 2.4.1, btw). Any clues there?
Those are actually just warnings; basically places in the fieldmapper
IDL that don't match up the way that the IDL is supposed to.
Also, the --dump-ldap option won't dump anything to STDOUT if it doesn't
find any matches, so you will need to pair that up with a
--query-something option :)
More information about the Open-ils-dev
mailing list