Remove obsolete function ceo_add_club()

pull/5/head
Michael Spang 15 years ago
parent c7aea5c7cf
commit 3307bfc56e
  1. 12
      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;

Loading…
Cancel
Save