Displaying 2 results from an estimated 2 matches for "smbpid".
Did you mean:
smb_pid
2004 Apr 09
3
Help ! Logon script doesn't work on XP
...for me ? The script is really read by
workstation durin logon - I saw it in network traffic (caught by tcpdump and
displayed by ethereal).
Here is copy of current script (of course - every line o file ends with
\r\n):
--- snip ---
@echo off
set CLIENT=prog01t
set USER=p01861
set SERVER=sambaii
set SMBPID=24631
set ARCH=WinXP
copy /b z:\logon.bat %TEMP%\logon.bat
%TEMP%\logon.bat
--- snip ---
After logon there is no file %TEMP%\logon.bat.
Next, when I manually do "net use z: \\sambaii\netlogon" and execute my
logon script from there, everything is done by my wishes...
Does have anybody s...
1999 Jan 25
2
Samba, NT, and transient network failures
...sn't know. To be called by smbd as part of share
# preexec/postexec configuration.
#
# (c) 1999, Perot Systems Corporation.
SMBLOCKS=/var/locks
SMBLOGS=/var/log/smblogs
set -o noclobber
# Set stderr
exec 2>> $SMBLOGS/staleSessions.log
print -u2 -- "$@"
SELF=${0##*/}
OP=$1
SMBPID=$2
SMBCLIENT=$3
SMBSERVER=$4
SMBSERVICE=$5
SMBUSER=$6
status=""
# This sets the name of the pid file for this
# {client, server, share, user} tuple
PID_FILE=$SMBLOCKS/$SMBCLIENT-$SMBSERVER-$SMBSERVICE-$SMBUSER.pid
###
### The idea is to store the calling smbd's pid in $PID_FILE so...