Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge branch 'master' of ssh://git.spline.de/account-web | Nico von Geyso | 2012-09-17 | 8 | -3/+115 | |
|\ | ||||||
| * | first web stuff | Marian Sigler | 2012-09-14 | 8 | -3/+115 | |
| | | ||||||
* | | proper syntax for pip | Nico von Geyso | 2012-09-17 | 1 | -2/+2 | |
| | | ||||||
* | | added basic account service functionality | Nico von Geyso | 2012-09-17 | 1 | -79/+148 | |
|/ | | | | | | | | | | | | | | | | | | | To auth, register, update or delete an account you have to use the AccountService class. A basic usage could be the following: # Simple auth service = AccountService(LDAP_HOST, LDAP_BASE_DN, LDAP_ADMIN_USER, LDAP_ADMIN_PASS) acc = service.auth('test', 'secret') # Authenticate against some credentials print('Mail: %s' % acc.mail) # Account creation, updating and deletion a = Account('foo', 'foo@bar.de', password='foobar') service.register(a) # create a.mail = 'bar@foo.de' service.update(a) # update service.delete(a.uid) # deletete | |||||
* | added rudimentary ldap account class | Nico von Geyso | 2012-09-14 | 1 | -20/+57 | |
| | ||||||
* | added env dir | Nico von Geyso | 2012-09-14 | 1 | -0/+1 | |
| | ||||||
* | first pieces of code | Marian Sigler | 2012-09-13 | 2 | -0/+58 | |
| | ||||||
* | Initial commit | Marian Sigler | 2012-09-13 | 3 | -0/+6 | |