summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-06-04 15:24:20 +0000
committerLuke Leighton <lkcl@samba.org>1998-06-04 15:24:20 +0000
commit59e2992139774762456826f6667e73f2b39828d8 (patch)
tree22da85295b46db07c77fe44c4001faa21fad2665 /source3/rpc_server
parent206f5882e7b93fc7e58785e005ea8c238b9b3c35 (diff)
downloadsamba-59e2992139774762456826f6667e73f2b39828d8.tar.gz
samba-59e2992139774762456826f6667e73f2b39828d8.tar.bz2
samba-59e2992139774762456826f6667e73f2b39828d8.zip
added "domain admin group" and "domain guest group" parameters. this is
because "domain admin users" and "domain guest users" was overloaded. incorrectly. (This used to be commit 04b824007263ac4879c7282a2d230deaac7d2c7b)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_util.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_server/srv_util.c b/source3/rpc_server/srv_util.c
index fca37db717..64f2e7a0d9 100644
--- a/source3/rpc_server/srv_util.c
+++ b/source3/rpc_server/srv_util.c
@@ -312,26 +312,26 @@ void get_domain_user_groups(char *domain_groups, char *user)
pstrcpy(domain_groups, lp_domain_groups());
/* can only be a user or a guest. cannot be guest _and_ admin */
- if (user_in_list(user, lp_domain_guest_users()))
+ if (user_in_list(user, lp_domain_guest_group()))
{
slprintf(tmp, sizeof(tmp) - 1, " %ld/7 ", DOMAIN_GROUP_RID_GUESTS);
pstrcat(domain_groups, tmp);
- DEBUG(3,("domain guest access %s granted\n", tmp));
+ DEBUG(3,("domain guest group access %s granted\n", tmp));
}
else
{
slprintf(tmp, sizeof(tmp) -1, " %ld/7 ", DOMAIN_GROUP_RID_USERS);
pstrcat(domain_groups, tmp);
- DEBUG(3,("domain user access %s granted\n", tmp));
+ DEBUG(3,("domain group access %s granted\n", tmp));
- if (user_in_list(user, lp_domain_admin_users()))
+ if (user_in_list(user, lp_domain_admin_group()))
{
slprintf(tmp, sizeof(tmp) - 1, " %ld/7 ", DOMAIN_GROUP_RID_ADMINS);
pstrcat(domain_groups, tmp);
- DEBUG(3,("domain admin access %s granted\n", tmp));
+ DEBUG(3,("domain admin group access %s granted\n", tmp));
}
}
}