In my [global] section of my smb.conf file I have:
logon script = bat\startup-%m.bat
however, It sometimes opens the wrong batch file. Looking at the logs below,
user "fred" was logging into machine k3-06 and initially opens
"bat/startup-
k3-06.bat" but then suddenly opens "bat/startup-k3-27.bat"
This gets annoying sometimes as the wrong shares can get mapped.
Here's some of the log file from log.k3-06
[2000/12/18 11:42:47, 2] smbd/open.c:open_file(602)
fred opened file bat/startup-k3-06.bat read=Yes write=No (numopen=1)
[2000/12/18 11:42:47, 2] locking/locking_shm.c:shm_del_share_mode(355)
del_share_modes Deleting share mode entry dev=20d06 ino=341592
[2000/12/18 11:42:47, 2] locking/locking_shm.c:shm_del_share_mode(376)
del_share_modes num entries = 0, deleting share_mode dev=20d06 ino=341592
[2000/12/18 11:42:47, 2] smbd/close.c:close_normal_file(159)
fred closed file bat/startup-k3-06.bat (numopen=0)
[2000/12/18 11:42:48, 2] smbd/open.c:open_file(602)
fred opened file bat/startup-k3-27.bat read=Yes write=No (numopen=1)
[2000/12/18 11:42:48, 2] locking/locking_shm.c:shm_del_share_mode(355)
del_share_modes Deleting share mode entry dev=20d06 ino=341720
Can anyone help me on this please?
John ryan
Systems Manager
King George V School
Hong Kong