Permalink
Browse files

Update src/baruwa/settings.py

Added Active Directory search field 'primaryGroupID'. PrimaryGroupID association won't work unless this is in settings.py.
  • Loading branch information...
1 parent cb82780 commit 8d00d25cac7a2e7f4f72984b97ee8bf7ba33bf40 @liveaverage liveaverage committed Dec 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/baruwa/settings.py
View
@@ -253,7 +253,7 @@
# User group
AD_USER_GROUP = 'UsersFoo'
# LDAP search fields
-AD_SEARCH_FIELDS = ['mail', 'givenName', 'sn', 'SAMAccountName', 'memberOf', 'dn']
+AD_SEARCH_FIELDS = ['mail', 'givenName', 'sn', 'SAMAccountName', 'memberOf', 'dn', 'primaryGroupID']
# connection scheme
AD_LDAP_SCHEME = 'ldap://'
# module log file

0 comments on commit 8d00d25

Please sign in to comment.