[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Mon Oct 12 12:02:03 UTC 2015
The branch, master has been updated
via 2f7bee4 wbinfo: make --verbose --pam-logon print sids
from b95b2be A small improvement to the DEBUG message when pass-through authentication fails with ACCESS_DENIED. Increased it to log level 1 so it will print out and pointed to Restrict NTLM as the setting so people know what to look for.
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 2f7bee43d8bcb8cc5205b159862e57954e4fc26c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Oct 9 12:18:53 2015 +0200
wbinfo: make --verbose --pam-logon print sids
Signed-off-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Günther Deschner <gd at samba.org>
Autobuild-User(master): Volker Lendecke <vl at samba.org>
Autobuild-Date(master): Mon Oct 12 14:01:50 CEST 2015 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
nsswitch/wbinfo.c | 10 ++++++++++
1 file changed, 10 insertions(+)
Changeset truncated at 500 lines:
diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c
index f45d7b5..330fa91 100644
--- a/nsswitch/wbinfo.c
+++ b/nsswitch/wbinfo.c
@@ -1831,6 +1831,7 @@ static bool wbinfo_pam_logon(char *username, bool verbose)
if (verbose && (info != NULL)) {
struct wbcAuthUserInfo *i = info->info;
+ uint32_t j;
if (i->account_name != NULL) {
d_printf("account_name: %s\n", i->account_name);
@@ -1863,6 +1864,15 @@ static bool wbinfo_pam_logon(char *username, bool verbose)
d_printf("home_drive: %s\n", i->home_drive);
}
+ d_printf("sids:");
+
+ for (j=0; j<i->num_sids; j++) {
+ char buf[WBC_SID_STRING_BUFLEN];
+ wbcSidToStringBuf(&i->sids[j].sid, buf, sizeof(buf));
+ d_printf(" %s", buf);
+ }
+ d_printf("\n");
+
wbcFreeMemory(info);
info = NULL;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list