print >> sys.stderr, "No profile set for %s" % user.usrname
return
- if user.barcode is not None:
- return
-
found = find_evergreen_user(auth, user)
egau = osrf.net_obj.new_object_from_hint('au')
egau.ident_type(user.ident_type)
egau.ident_value(user.ident_value)
egau.home_ou(user.home_ou)
- egau.passwd(user.passwd)
egau.expire_date(user.expire_date)
# Workaround open-ils.actor.patron.update bug
egau.addresses([])
egau.cards([])
+ # Don't reset the Conifer-specific password
+ if not found:
+ egau.passwd(user.passwd)
+
# Create or update the user
try:
usr = osrf_request(