Changeset 5c0fe8482f8ffbc92b3814afa47c79ee6fdb549a
- Timestamp:
- 26/11/10 10:55:30 (2 years ago)
- Children:
- 945ee719561fdc5edb101c445e7866a7b92a4c48
- Parents:
- 9ea879ca47f5af142f112157d73c56ccc4d30e31
- git-committer:
- Dererk <dererk@…> (26/11/10 10:55:30)
- File:
-
- 1 edited
-
arma2/frontend/org.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
arma2/frontend/org.py
r60563b6 r5c0fe84 4 4 from common import log 5 5 6 def checkORG():7 return None8 6 9 7 def checkORGQuota(): 10 8 return None 9 10 def checkORG(ORG): 11 l=anonymousLDAPbind() 12 13 if '.' in ORG: 14 return ORG in [entry[1]['o'][0] for entry in l.search_s(ldapBASE,1,'o='+'*')] 15 else: 16 return ORG in [entry[1]['ou'][0] for entry in l.search_s(ldapBASE,1,'ou='+'*')] 17 11 18 12 19 def anonymousLDAPbind():
Note: See TracChangeset
for help on using the changeset viewer.

