git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0342194
)
S3: Log warning in smbstatus about lack of pid in anonymous mode.
author
todd stecher
<todd.stecher@gmail.com>
Thu, 12 Feb 2009 21:03:03 +0000
(13:03 -0800)
committer
Steven Danneman
<steven.danneman@isilon.com>
Thu, 19 Feb 2009 02:08:33 +0000
(18:08 -0800)
source3/utils/status.c
patch
|
blob
|
history
diff --git
a/source3/utils/status.c
b/source3/utils/status.c
index 590444a42f6d42a9d2f3b0be0d6394464cd1657c..831bdcca185746249db8f001a35fc337a8a2170a 100644
(file)
--- 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);