From: Günther Deschner Date: Fri, 5 Jun 2009 23:50:17 +0000 (+0200) Subject: s3-winbindd: add some debug statements while tracking down a bug. X-Git-Tag: tdb-1.1.5~247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19c9147a5f2222ce8c21d8e194ac7de1a0a196f;p=thirdparty%2Fsamba.git s3-winbindd: add some debug statements while tracking down a bug. Guenther --- diff --git a/source3/winbindd/winbindd_group.c b/source3/winbindd/winbindd_group.c index 3273a288e25..913f63112f4 100644 --- a/source3/winbindd/winbindd_group.c +++ b/source3/winbindd/winbindd_group.c @@ -460,6 +460,8 @@ static NTSTATUS expand_groups( TALLOC_CTX *ctx, *new_glist = NULL; *n_new_glist = 0; + DEBUG(10,("expand_groups:\n")); + for ( i=0; iname, + sid_string_dbg(group_sid))); + *num_names = 0; *sid_mem = NULL; *names = NULL; @@ -571,6 +574,9 @@ static NTSTATUS sam_lookup_groupmem(struct winbindd_domain *domain, struct lsa_name_info *lsa_names; TALLOC_CTX *tmp_ctx; + DEBUG(10,("passdb: lookup_groupmem (sam) %s sid=%s\n", domain->name, + sid_string_dbg(group_sid))); + if (!sid_check_is_in_our_domain(group_sid)) { /* There's no groups, only aliases in BUILTIN */ return NT_STATUS_NO_SUCH_GROUP;