Fix use of member UID range in addclub

pull/5/head
Michael Spang 15 years ago
parent 179f501385
commit e2b6557828
  1. 4
      src/addclub.c

@ -64,8 +64,8 @@ int addclub() {
if (ceo_user_exists(userid))
deny("user %s already exists in LDAP", userid);
if ((id = ceo_new_uid(member_min_id, member_max_id)) <= 0)
fatal("no available uids in range [%d, %d]", member_min_id, member_max_id);
if ((id = ceo_new_uid(club_min_id, club_max_id)) <= 0)
fatal("no available uids in range [%d, %d]", club_min_id, club_max_id);
snprintf(acl_s, sizeof(acl_s), club_home_acl, id);

Loading…
Cancel
Save