From 152da42b374798f121e03d88a2508c950279323f Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Fri, 17 Jul 2015 11:14:15 -0400 Subject: [PATCH] Do not create accounts for applicants Signed-off-by: Dan Scott --- tools/patron-load/ldap_osrf_sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patron-load/ldap_osrf_sync b/tools/patron-load/ldap_osrf_sync index 9d2bb63dd2..3d9245c16a 100755 --- a/tools/patron-load/ldap_osrf_sync +++ b/tools/patron-load/ldap_osrf_sync @@ -584,7 +584,7 @@ def ldap_query(con, auth): '(objectclass=lulEduPerson)', ARGS.query_sn ) elif (ARGS.query_id): - ldap_filter = '(&%s(lulColleagueId=%s))' % ( + ldap_filter = '(&%s(lulColleagueId=%s)(!(lulStudentLevel=APP)))' % ( '(objectclass=lulEduPerson)', ARGS.query_id ) if not ldap_filter: -- 2.11.0