version 1, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
SMBCONTROL |
| |
|
2 |
!!!SMBCONTROL |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
OPTIONS |
| |
|
7 |
VERSION |
| |
|
8 |
SEE ALSO |
| |
|
9 |
AUTHOR |
| |
|
10 |
---- |
| |
|
11 |
!!NAME |
| |
|
12 |
|
| |
|
13 |
|
| |
|
14 |
smbcontrol - send messages to smbd or nmbd processes |
| |
|
15 |
!!SYNOPSIS |
| |
|
16 |
|
| |
|
17 |
|
| |
|
18 |
__smbcontrol__ [[ __-i__ ] |
| |
|
19 |
|
| |
|
20 |
|
| |
|
21 |
__smbcontrol__ [[ __destination__ ] [[ |
| |
|
22 |
__message-type__ ] [[ __parameter__ ] |
| |
|
23 |
!!DESCRIPTION |
| |
|
24 |
|
| |
|
25 |
|
| |
|
26 |
This tool is part of the Sambasuite. |
| |
|
27 |
|
| |
|
28 |
|
| |
|
29 |
__smbcontrol__ is a very small program, which sends |
| |
|
30 |
messages to an smbd(8)or an nmbd(8)daemon running on the |
| |
|
31 |
system. |
| |
|
32 |
!!OPTIONS |
| |
|
33 |
|
| |
|
34 |
|
| |
|
35 |
__-i__ |
| |
|
36 |
|
| |
|
37 |
|
| |
|
38 |
Run interactively. Individual commands of the form |
| |
|
39 |
destination message-type parameters can be entered on STDIN. |
| |
|
40 |
An empty command line or a |
| |
|
41 |
|
| |
|
42 |
|
| |
|
43 |
__destination__ |
| |
|
44 |
|
| |
|
45 |
|
| |
|
46 |
One of ''nmbd smbd'' or a process ID. |
| |
|
47 |
|
| |
|
48 |
|
| |
|
49 |
The ''smbd'' destination causes the message to |
| |
|
50 |
'' |
| |
|
51 |
|
| |
|
52 |
|
| |
|
53 |
The ''nmbd'' destination causes the message to be sent to |
| |
|
54 |
the nmbd daemon specified in the ''nmbd.pid'' |
| |
|
55 |
file. |
| |
|
56 |
|
| |
|
57 |
|
| |
|
58 |
If a single process ID is given, the message is sent to only |
| |
|
59 |
that process. |
| |
|
60 |
|
| |
|
61 |
|
| |
|
62 |
__message-type__ |
| |
|
63 |
|
| |
|
64 |
|
| |
|
65 |
One of: close-share, debug, force-election, ping , profile, |
| |
|
66 |
debuglevel, profilelevel, or printer-notify. |
| |
|
67 |
|
| |
|
68 |
|
| |
|
69 |
The close-share message-type sends a message to smbd which |
| |
|
70 |
will then close the client connections to the named share. |
| |
|
71 |
Note that this doesn't affect client connections to any |
| |
|
72 |
other shares. This message-type takes an argument of the |
| |
|
73 |
share name for which client connections will be close, or |
| |
|
74 |
the |
| |
|
75 |
|
| |
|
76 |
|
| |
|
77 |
The debug message-type allows the debug level to be set to |
| |
|
78 |
the value specified by the parameter. This can be sent to |
| |
|
79 |
any of the destinations. |
| |
|
80 |
|
| |
|
81 |
|
| |
|
82 |
The force-election message-type can only be sent to the nmbd |
| |
|
83 |
destination. This message causes the __nmbd__ daemon to |
| |
|
84 |
force a new browse master election. |
| |
|
85 |
|
| |
|
86 |
|
| |
|
87 |
The ping message-type sends the number of |
| |
|
88 |
|
| |
|
89 |
|
| |
|
90 |
The profile message-type sends a message to an smbd to |
| |
|
91 |
change the profile settings based on the parameter. The |
| |
|
92 |
parameter can be |
| |
|
93 |
|
| |
|
94 |
|
| |
|
95 |
The debuglevel message-type sends a |
| |
|
96 |
|
| |
|
97 |
|
| |
|
98 |
The profilelevel message-type sends a |
| |
|
99 |
|
| |
|
100 |
|
| |
|
101 |
The printer-notify message-type sends a message to smbd |
| |
|
102 |
which in turn sends a printer notify message to any Windows |
| |
|
103 |
NT clients connected to a printer. This message-type takes |
| |
|
104 |
an argument of the printer name to send notify messages to. |
| |
|
105 |
This message can only be sent to smbd. |
| |
|
106 |
|
| |
|
107 |
|
| |
|
108 |
The close-share message-type sends a message to smbd which |
| |
|
109 |
forces smbd to close the share that was specified as an |
| |
|
110 |
argument. This may be useful if you made changes to the |
| |
|
111 |
access controls on the share. |
| |
|
112 |
|
| |
|
113 |
|
| |
|
114 |
__parameters__ |
| |
|
115 |
|
| |
|
116 |
|
| |
|
117 |
any parameters required for the message-type |
| |
|
118 |
!!VERSION |
| |
|
119 |
|
| |
|
120 |
|
| |
|
121 |
This man page is correct for version 2.2 of the Samba |
| |
|
122 |
suite. |
| |
|
123 |
!!SEE ALSO |
| |
|
124 |
|
| |
|
125 |
|
| |
|
126 |
__nmbd(8)__, and __smbd(8)__. |
| |
|
127 |
!!AUTHOR |
| |
|
128 |
|
| |
|
129 |
|
| |
|
130 |
The original Samba software and related utilities were |
| |
|
131 |
created by Andrew Tridgell. Samba is now developed by the |
| |
|
132 |
Samba Team as an Open Source project similar to the way the |
| |
|
133 |
Linux kernel is developed. |
| |
|
134 |
|
| |
|
135 |
|
| |
|
136 |
The original Samba man pages were written by Karl Auer. The |
| |
|
137 |
man page sources were converted to YODL format (another |
| |
|
138 |
excellent piece of Open Source software, available at |
| |
|
139 |
ftp://ftp.icce.rug.nl/pub/unix/ |
| |
|
140 |
---- |