Sziasztok!
Van egy linuxom , sajnos nem ubuntu , fedora. De bízom benne hogy maga a samba ugyan azt tudja.
Szóval feltettem a samba-t.
root-ként megosztottam mappát.
Minden rendben is. De szükségem lett új felhasználóra ami adott mappát olvashat csak.
Hozzáadtam a rendszerhez.
Utána samba-hoz is.
#smbpasswd -a work
#smbclient -U work -L localhost
#mount //localhost/work /test/ -o user=work
#ls /test/
Minden rendben ha ugyanazon a linuxon bellül akarnám.
DE , win10 alól root-ként tud csatlakozni , de a work-al nem!
Nem tudom miért.
Jogosultságokat , mindent ... log-ot olvasgatni , de nemjöttem rá hol a bibi.
persze mindig ujrainditottam a samba-t.
Miért nem tud csatlakozni work felhasználóval win10 alól ?
konfig:
[global]
#interfaces = 10.8.0.1/24
#hosts allow = 192.168.0. 10.0.8. 127.
#interfaces = enp0s25 tun0
#host msdfs = no
log level = 3
workgroup = Network
server string = Samba Server Version %v
# log files split per-machine:
#log file = /var/log/samba/log.%m
log file = /etc/samba/log.%m
# maximum size of 50KB per log file, then rotate:
max log size = 50
#security = user
#unix extensions = no
#os level = 33
wins support = yes
passdb backend = tdbsam
# passdb backend = smbpasswd
# passdb expand explicit = No
# the following login script name is determined by the machine name
# (%m):
# the following login script name is determined by the UNIX user used:
# use an empty path to disable profile support:
# various scripts can be used on a domain controller or a stand-alone
# machine to add or delete corresponding UNIX accounts:
load printers = yes
cups options = raw
# obtain a list of printers automatically on UNIX System V systems:
#[homes]
# comment = Home Directories
# browseable = no
# writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[HOME]
path = /home/
# read only = no
# browseable = yes
valid users = root
public = no
printable = no
writable = yes
create mask = 0777
directory mask = 0755
comment = Private Home
[1.5TB]
path = /home/1_5TB/
read only = no
# browseable = yes
valid users = root
public = yes
writable = yes
create mask = 0777
directory mask = 0755
[WORK]
comment = Public work user
path = /home/work/
read only = no
browseable = yes
valid users = work
public = no
writable = yes
create mask = 0777
directory mask = 0755