summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortodd stecher <todd.stecher@gmail.com>2009-02-12 13:03:03 -0800
committerSteven Danneman <steven.danneman@isilon.com>2009-02-18 18:08:33 -0800
commitc19214424b0f8ca0dfa5970880e54807880c443c (patch)
tree0d9f31fbf3738514f055fc2db94d56987ce16d95
parent03421944b2bd82caf13946b745e4d634f0559f82 (diff)
downloadsamba-c19214424b0f8ca0dfa5970880e54807880c443c.tar.gz
samba-c19214424b0f8ca0dfa5970880e54807880c443c.tar.bz2
samba-c19214424b0f8ca0dfa5970880e54807880c443c.zip
S3: Log warning in smbstatus about lack of pid in anonymous mode.
-rw-r--r--source3/utils/status.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 590444a42f..831bdcca18 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -409,6 +409,10 @@ static int traverse_sessionid(struct db_record *db, void *state)
d_printf("\nSamba version %s\n",samba_version_string());
d_printf("PID Username Group Machine \n");
d_printf("-------------------------------------------------------------------\n");
+ if (lp_security() == SEC_SHARE) {
+ d_printf(" <processes do not show up in "
+ "anonymous mode>\n");
+ }
db->traverse_read(db, traverse_sessionid, NULL);
TALLOC_FREE(db);