Fix use of member UID range in addclub

This commit is contained in:
Michael Spang 2008-01-25 20:30:56 -05:00
parent 179f501385
commit e2b6557828
1 changed files with 2 additions and 2 deletions

View File

@ -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);