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