Remove obsolete function ceo_add_club()

This commit is contained in:
Michael Spang 2007-12-20 00:35:36 -05:00
parent c7aea5c7cf
commit 3307bfc56e
1 changed files with 0 additions and 12 deletions

View File

@ -286,18 +286,6 @@ int ceo_new_uid(int min, int max) {
return -1;
}
int ceo_add_club(char *uid, char *cn) {
int id = ceo_new_uid(club_min_id, club_max_id);
if (ceo_add_user(uid, users_base, "club", cn, club_home, club_shell, id, NULL))
return -1;
if (ceo_add_group(uid, groups_base, id))
return -1;
return 0;
}
int ceo_user_exists(char *uid) {
char *attrs[] = { LDAP_NO_ATTRS, NULL };
LDAPMessage *msg = NULL;