Using smbcontrol.exe

Alder ue191 at victoria.tc.ca
Fri Apr 11 19:25:16 GMT 2003


I'd like the ability to force an election using the SMBCONTROL image 
that comes with the 2.2.7a package.  It seems to run, but I can't seem 
to guess the correct syntax.  Here's what I've tried:

$ run DISK$PGM:[SAMBA.SOURCE.BIN]smbcontrol
Usage: smbcontrol [-d debuglevel] [-s configfile] [-i]
       smbcontrol [-d debuglevel] [-s configfile] <destination> 
<message-type> <
parameters>
 
        <destination> is one of "nmbd", "smbd" or a process ID
        <message-type> is one of: debug, force-election, ping, profile, 
profilel
evel, debuglevel, printer-notify, close-share
$ run DISK$PGM:[SAMBA.SOURCE.BIN]smbcontrol nmbd force-election
%DCL-W-MAXPARM, too many parameters - reenter command with fewer parameters
 \NMBD\
$ run DISK$PGM:[SAMBA.SOURCE.BIN]smbcontrol "nmbd" "force-election"
%DCL-W-MAXPARM, too many parameters - reenter command with fewer parameters
 \"nmbd"\
$ smbcontrol :== $DISK$PGM:[SAMBA.SOURCE.BIN]SMBCONTROL.EXE
$ smbcontrol nmbd force-election
Can't find pid for nmbd
$ SHOW SYSTEM /PROC=NMBD
OpenVMS V7.3  on node SZEGED  11-APR-2003 12:12:26.00  Uptime  0 01:49:22
  Pid    Process Name    State  Pri      I/O       CPU       Page flts  
Pages
000000AE NMBD            LEF      5     6004   0 00:00:06.39       
618    303
$ smbcontrol NMBD force-election
Can't find pid for nmbd
$ smbcontrol AE force-election
force-election can only be sent to nmbd
$ smbcontrol 000000AE force-election
force-election can only be sent to nmbd
$ smbcontrol "NMBD" force-election
Can't find pid for nmbd
$


Can anyone point out what I have to do?  Thanks.

Alder



More information about the samba-vms mailing list