From 3307bfc56eeaea273a24704297bc7c8c87bd1fbf Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Thu, 20 Dec 2007 00:35:36 -0500 Subject: [PATCH] Remove obsolete function ceo_add_club() --- src/ldap.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/ldap.c b/src/ldap.c index 4e3786e..6d871cc 100644 --- a/src/ldap.c +++ b/src/ldap.c @@ -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;