Re: lug-bg: samba mixed configuration
- Subject: Re: lug-bg: samba mixed configuration
- From: Velin Getov <vgetov@xxxxxx>
- Date: Mon, 15 Mar 2004 10:49:41 +0200
Iliya Yordanov Karaivanov wrote:
samba-3.0.1
nekoi moze li da mi kaze kak da config-na ednovremenno vsi4ki da imat dostap do opredelena direktoria(t.e. guest-a da si ima dir) i sastevremeno nekoi users da predstavia username i password i te da si imat home directory. tova trebe da stane prez samba, kato client-a nema znachenie (windows, linux, etc.)
az li4no sas "security = user" ne uspeh da go pusna. dori ne mozah da opravia guest-a da se vrazva bez username i password?!
sas "security = share" uspiavam da dam dostap na vsi4ki, ma to i za tova e "share" :-)
10x...
Moje da se postigne po slednia nachin:
1. v smb.conf ti triabvat nai-malko slednite opcii:
[global]
#Mnogo vnimatelno si procheti sekciata ot smb.conf kasaesta "security"
#parametura!!! Az polzvam
security = user
#i oste
guest account = [username]
#kum koi user ste se map-va guest-a. Moje da #polzvash "nobody", tova
#zavisi ot distro-to ti..
map to guest = []
#policy na map kum guest user. Az polzvam "Bad #User"
#V dopulnenie polzvai opciata:
default service = [name_of_public_share]
[homes]
path = /home/%u
writable = yes
browseable = No
create mode = 0700
directory mode = 0700
map system = Yes
comment = Home Directory
map hidden = Yes
[name_of_public_share]
path = /path/to/name_of_public_share
guest ok = yes
read only = no
browsable = yes
force create mode = 060
force directory mode = 070
Triabvat ti UNIX accounti na vsichki potrebiteli+smb accounti.
Poveche za user database na tozi adres:
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection.html#id2892175
S dve dumi: suzdavash si UNIX potrebitel s username [name_of_user] i
posle s smbpasswd pravish analogichen samba account.
--
Velin Getov
Network/System Administrator
Integrated Information Systems Ltd.
1, Elisaveta Bagriana str.
1113 Sofia, Bulgaria
email: vGetov@xxxxxx
phone: +359(0)2-971-4317
fax: +359(0)2-720-531
------------------------------
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|