Hello, please immediately Sorry, I do not know the English translation made by
google. Encountered the following problem in the Samba.
There is a server that is spinning Samba, there are three general spheres, and
each user has a curve ball that is visible only to him, they are connected
through this configuration include:
[global]
workgroup = WORKGROUP
server string = FS
encrypt passwords = yes
security = USER
netbios name = FS
log file = /var/log/samba/%U.log
max log size = 500
socket options = IPTOS_LOWDELAY TCP_NODELAY
deadtime = 300
getwd cache = Yes
lpq cache time = 45
wins support = yes
wins proxy = yes
name resolve order = wins lmhosts host bcast
bind interfaces only = true
interfaces = eth0, ppp+
socket address = 127.0.0.1 192.168.2.254 192.168.4.254
hosts deny = ALL
hosts allow = 192.168.2., 192.168.4.
enhanced browsing = yes
debug level = 1
create mask = 0777
directory mask = 0777
dos charset=cp866
unix charset=UTF-8
restrict anonymous = 2
domain master = yes
local master = yes
preferred master = yes
browse list = yes
os level = 255
ldap ssl = no
vfs objects = recycle full_audit
recycle:repository = /hard1/basket
recycle:exclude = *.tmp | *.TMP | ~$* | ~WRL*
recycle:keeptree = yes
recycle:versions = yes
veto files = /*.mp3/*.lnk/*.avi/
mix protocol = SMB2
[????????]
browseable = yes
writable = yes
path = /hard1/total
[distr]
browseable = no
writable = yes
path = /hard1/distr
include = /autostart/samba/%U
Everything works perfectly, as long as users went to the file server (FS)
through windows XP and every one from his computer.
But needed to create a separate server to perform different tasks, it turns
windows 2008 r2, and raised the remote desktop (RDP), users enter, work with all
the programs out there that have all successfully, but always has a fly in the
ointment.
User number 1 is connected to the file server (FS) with Remote Desktop (RDP) to
your website everything seems ok see your folders and can work, now comes the
user number 2 is also your login to RDP sees his desk and tries to connect to FS
and then begins. The user sees the number 2 user folder number 1 and this may
turn to see a number 2 and so all can stir it all depends on how many users who
visited him last folder and see.
Empirically found a utility smbstatus, that if go to FS from one company then
all users will have the same PID, and so is the intersection of folders
Samba version 3.5.4-5.11.1-2573-SUSE-SL11.3
PID Username Group Machine
-------------------------------------------------------------------
12873 poshniy mail terminalserver (192.168.2.107)
13088 yaroshenko mail cp0171 (192.168.2.6)
12873 biglz users terminalserver (192.168.2.107)
Show you how to get rid of it, how to get samba to bind to, for example, and not
to login to your computer.
--
? ?????????,
It mailto:it at butyrin.net.ua