* split cutuserkey() out of makeuserkey(); its name doesn't show that theres a modifi...
authorWilfried Göesgens <willi@citadel.org>
Tue, 18 May 2010 21:34:56 +0000 (21:34 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 18 May 2010 21:34:56 +0000 (21:34 +0000)
commit263eb53ff5e8a68b61789dad6ac3f999d98e8f2c
treee0361ddbdabf1cfc98edbd81994ccebb8f8db48e
parentd618782c3acea2b76ad78b2744093bf9b99ca6ab
* split cutuserkey() out of makeuserkey(); its name doesn't show that theres a modification of the buffer inside.
* modify several functions so their callers have to call cutuserkey()
* harmonize the user length to  USERNAME_SIZE; apply cutting after cleanup of invalid characters
13 files changed:
citadel/citadel_ldap.h
citadel/context.c
citadel/include/ctdl_module.h
citadel/ldap.c
citadel/modules/imap/serv_imap.c
citadel/modules/managesieve/serv_managesieve.c
citadel/modules/openid/serv_openid_rp.c
citadel/modules/pop3/serv_pop3.c
citadel/modules/smtp/serv_smtp.c
citadel/modules/upgrade/serv_upgrade.c
citadel/modules/xmpp/xmpp_sasl_service.c
citadel/user_ops.c
citadel/user_ops.h