Displaying 7 results from an estimated 7 matches for "smb_port".
Did you mean:
smb_ports
2014 Aug 23
2
CTDB 50.samba: ERROR: smb.conf cache create failed
...d -e 's@,@ @g'
}
###########################
ctdb_start_stop_service
is_ctdb_managed_service || exit 0
###########################
case "$1" in
startup)
ctdb_service_start
;;
shutdown)
ctdb_service_stop
;;
monitor)
testparm_foreground_update 10
ret=$?
smb_ports="$CTDB_SAMBA_CHECK_PORTS"
if [ -z "$smb_ports" ] ; then
smb_ports=$(list_samba_ports)
[ -n "$smb_ports" ] || die "Failed to set smb ports"
fi
ctdb_check_tcp_ports $smb_ports || exit $?
if [ "$CTDB_SAMBA_SKIP_SHARE_CHECK" != "yes...
2014 Jul 18
1
ctdb do not start nmbd if serving AD
...d -e 's@,@ @g'
}
###########################
ctdb_start_stop_service
is_ctdb_managed_service || exit 0
###########################
case "$1" in
startup)
ctdb_service_start
;;
shutdown)
ctdb_service_stop
;;
monitor)
testparm_foreground_update 10
ret=$?
smb_ports="$CTDB_SAMBA_CHECK_PORTS"
if [ -z "$smb_ports" ] ; then
smb_ports=$(list_samba_ports)
[ -n "$smb_ports" ] || die "Failed to set smb ports"
fi
ctdb_check_tcp_ports $smb_ports || exit $?
if [ "$CTDB_SAMBA_SKIP_SHARE_CHECK" != "yes...
2014 Aug 15
1
ctdb event script 50.samba does not start smbd
...d -e 's@,@ @g'
}
###########################
ctdb_start_stop_service
is_ctdb_managed_service || exit 0
###########################
case "$1" in
startup)
ctdb_service_start
;;
shutdown)
ctdb_service_stop
;;
monitor)
testparm_foreground_update 10
ret=$?
smb_ports="$CTDB_SAMBA_CHECK_PORTS"
if [ -z "$smb_ports" ] ; then
smb_ports=$(list_samba_ports)
[ -n "$smb_ports" ] || die "Failed to set smb ports"
fi
ctdb_check_tcp_ports $smb_ports || exit $?
if [ "$CTDB_SAMBA_SKIP_SHARE_CHECK" != "yes...
2014 Aug 16
1
CTDB: Failed to connect client socket to daemon.
...d -e 's@,@ @g'
}
###########################
ctdb_start_stop_service
is_ctdb_managed_service || exit 0
###########################
case "$1" in
startup)
ctdb_service_start
;;
shutdown)
ctdb_service_stop
;;
monitor)
testparm_foreground_update 10
ret=$?
smb_ports="$CTDB_SAMBA_CHECK_PORTS"
if [ -z "$smb_ports" ] ; then
smb_ports=$(list_samba_ports)
[ -n "$smb_ports" ] || die "Failed to set smb ports"
fi
ctdb_check_tcp_ports $smb_ports || exit $?
if [ "$CTDB_SAMBA_SKIP_SHARE_CHECK" != "yes...
2000 Jun 16
0
Memory usage in reload_services()
...>
# Updated: June 16, 2000
#==============================================================
#
# customize following variables to match your environment
#
conf_file=#path of smb.conf file
user=#a_user
password=#a_password
server=#a_server
ps_opts=#'-e -o pid -o ppid -o rss -o vsz -o comm'
smb_port=#'-p 10206'
max=1000
i=1
processID=$1
while [ $i -le $max ]
do
echo Pass: $i
echo '===================================='
ps $ps_opts | grep $processID
touch $conf_file
kill -1 $processID
smbclient '\\'$server'\test_share' $password -U $user...
2000 Jul 31
0
[patch] smbmount fixes for samba-2.0.7, testers wanted!
...SIGTERM, exit_parent );
if ((child_pid = fork()) < 0) {
- fprintf(stderr,"could not fork\n");
+ DEBUG(0,("could not fork\n"));
}
if (child_pid > 0) {
@@ -151,12 +145,12 @@
/* have to open a new connection */
if (!(c=cli_initialise(NULL)) || (cli_set_port(c, smb_port) == 0) ||
!cli_connect(c, server_n, &ip)) {
- fprintf(stderr,"Connection to %s failed\n", server_n);
+ DEBUG(0,("Connection to %s failed\n", server_n));
return NULL;
}
if (!cli_session_request(c, &calling, &called)) {
- fprintf(stderr, "session...
2003 Dec 01
0
No subject
...Overwrite log file, don't append\n");
printf("\t-h Print usage\n");
@@ -537,6 +538,7 @@
extern BOOL append_log;
/* shall I run as a daemon */
BOOL is_daemon = False;
+ BOOL foreground = False;
BOOL specified_logfile = False;
int port = SMB_PORT;
int opt;
@@ -552,7 +554,7 @@
argc--;
}
- while ( EOF != (opt = getopt(argc, argv, "O:l:s:d:Dp:h?Vaof:")) )
+ while ( EOF != (opt = getopt(argc, argv, "O:l:s:d:DFp:h?Vaof:")) )
switch (opt) {
case 'O':
pstrcpy(user_socket_options,optarg);
@@ -579,6 +5...