From 3b529d50be5613f37cf853714ecf78887df1d01b Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 17 May 2010 22:04:24 +0200 Subject: s3-rpc_misc: clean out include/rpc_misc.h. Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther --- source3/passdb/pdb_get_set.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/passdb/pdb_get_set.c') diff --git a/source3/passdb/pdb_get_set.c b/source3/passdb/pdb_get_set.c index 4725e8e2f1..1416e287ac 100644 --- a/source3/passdb/pdb_get_set.c +++ b/source3/passdb/pdb_get_set.c @@ -274,7 +274,7 @@ const DOM_SID *pdb_get_group_sid(struct samu *sampass) /* Just set it to the 'Domain Users' RID of 513 which will always resolve to a name */ - sid_compose(gsid, get_global_sam_sid(), DOMAIN_GROUP_RID_USERS); + sid_compose(gsid, get_global_sam_sid(), DOMAIN_RID_USERS); sampass->group_sid = gsid; @@ -584,7 +584,7 @@ bool pdb_set_group_sid(struct samu *sampass, const DOM_SID *g_sid, enum pdb_valu /* if we cannot resolve the SID to gid, then just ignore it and store DOMAIN_USERS as the primary groupSID */ - sid_compose(&dug_sid, get_global_sam_sid(), DOMAIN_GROUP_RID_USERS); + sid_compose(&dug_sid, get_global_sam_sid(), DOMAIN_RID_USERS); if (sid_equal(&dug_sid, g_sid)) { sid_copy(sampass->group_sid, &dug_sid); -- cgit