Hirdetés
Aktív témák
-
válasz
ZCoyote
#32339
üzenetére
az én samba konfigomból ki tudod hámozni:
[global]
netbios name = LGM-Szerver
server string = samba-server
workgroup = lgm_network
security = user
hosts allow = 127. 192.168.0. 10.8.0.0/24
interfaces = 127.0.0.1/8 192.168.0.0/24 10.8.0.1
remote announce = 192.168.0.255
remote browse sync = 192.168.0.255
printcap name = /etc/printcap
cups options = raw
log file = /var/log/samba/samba.log
max log size = 1000
username level = 8
password level = 8
unix password sync = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
domain master = yes
preferred master = yes
os level = 99
logon drive = m:
logon home = \\%L\homes\%u
logon path = \\%L\profiles\%u
logon script = %G.bat
name resolve order = wins lmhosts bcast
wins server = yes
dns proxy = no
client use spnego = no
client signing = no
client schannel = no
server schannel = no
allow trusted domains = no
obey pam restrictions = yes
enable spoolss = yes
follow symlinks = no
update encrypted = yes
passwd chat timeout = 120
username map = /etc/samba/smbusers
passwd program = /usr/bin/passwd '%u'
passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
add group script = /usr/sbin/groupadd '%g'
delete user script = /usr/sbin/userdel '%u'
delete user from group script = /usr/sbin/userdel '%u' '%g'
delete group script = /usr/sbin/groupdel '%g'
add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
machine password timeout = 120
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /dev/null
winbind use default domain = yes
winbind separator = @
winbind cache time = 360
winbind trusted domains only = yes
winbind nested groups = no
winbind nss info = no
...
[Iroda]
path = /media/data/Iroda
comment = Iroda
valid users = szerver LGMadmin MN NG KB @szerver
valid users = @puser @user
write list = szerver LGMadmin MN NG KB @szerver
write list = @puser @user
admin users = @szerver @puser szerver LGMadmin
writeable = yes
share modes = no
locking = no
read only = no
available = yes
browseable = yes
writable = no
guest ok = no
public = no
printable = no
share modes = no
locking = no
create mask = 777
directory mode = 0775itt látszik szépen, h ki láthatja a könyvtárat
Aktív témák
- Bitdefender Total Security 3év/3eszköz! - Tökéletes védelem.
- Adobe Előfizetések - Adobe Creative Cloud All Apps - 12 Hónap - 15% AKCIÓ
- Windows 10 11 Pro Office 19 21 Pro Plus Retail kulcs 1 PC Mac AKCIÓ! Automatikus 0-24
- Windows 10 11 Pro Office 19 21 Pro Plus Retail kulcs 1 PC Mac AKCIÓ! Automatikus 0-24
- MEGA AKCIÓ! - Jogtiszta Windows - Office & Autodesk & CorelDRAW - Azonnal - Számlával - Garanciával
- BESZÁMÍTÁS! Intel Core i5 9400F 6 mag 6 szál processzor garanciával hibátlan működéssel
- Apple MacBook Pro 14 (2021) 16GB/512GB használt, szép állapot 100% akku , 8 ciklus
- LG 32GR93U-B - 32" IPS - UHD 4K - 144Hz 1ms - NVIDIA G-Sync - FreeSync Premium - HDR 400
- Lenovo ThinkPad L16 Gen 1 - 16" WUXGA IPS - Ultra 5 135U - 16GB - 512GB - Win11 - 2,5 év gari
- 228 - Lenovo LOQ (15IRX10) - Intel Core i7-13650HX, RTX 5060
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest

