Zdravejte,
En réponse à Konstantin Ivanov <[EMAIL PROTECTED]>: > Za da stana po-iasen shte vi dam chast ot smb.conf-a nad koito rabotia: > > [test] > path = /cache/test > smb passwd file = /etc/samba/private/smbpasswd > passwd program = /usr/bin/passwd %u > ; username map = /usr/local/samba/lib/smbusers Poslednite 3 parametyra triabva da sa v [global] sekciata. Tova mojesh da go razberesh ot 'man smb.conf'. Ako sled parametyra ima (G) znachi toia parametyr stava samo za globa sekciata. V [test] sekciata shte opisvash samo neshta, svyrzani sys syotvetnia share, kato path, comment, force group i t.n. > force group = nogroup > comment = For Samba testing > public = no > guest only = no > writable = yes > create mask = 0660 > directory mask = 0770 > read only = No > password level = 1 > passwd chat = *New*UNIX*password* %n\n > *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*token > security = user > domain logons = yes > unix password sync = Yes Poslednite 5 reda syshto ne sa za tuka, a za [global]. Ne znam dali samba servera niama da gi razbere i kato ne sa tam, kydeto triabva, no naj-dobre si gi sloji v [global] Obshto vzeto za password authentication sa ti nujni tia neshta (v [global] sekciata :)) : security = user encrypt passwords = yes|no password file = ....... Tova 'encrypt passwords' triabva da e syobrazeno s konfiguraciata na windows mashinite ti. Poslednite versii po default gi enkritvat. Ako ne promiata stava ili s promania na stoinostta na kluch ot registry-to (Win95/98/NT) ili prez control panela (Win2000). Posle, razbira se, triabva da imash syotvetnite user-i v /etc/samba/private/smbpasswd file-a. Eto ti edin syvsen oprosten primer, koito triabva da raboti s encrypted passords i dca ime edin share : [global] security = user encrypt passwords = yes smb passwd file = /etc/samba/private/smbpasswd [test] comment = Test samba share path = /cache/test public = yes browsable = yes writable = yes write list = kolio,mitko,marijka poslednite dve kazvat na Salmba, che samo kolio, mitko i marijka shte mogat da pishat na tova miasto. a inache pravata za dostyp mojesh da si gi upravliavash i na nivo Linux - sys standartnite parava za dostyp do fajlove. za taia cel moje da ti e ot polza da razgledash i parametrite force group = create mask = dano da ti pomogne tova. rgds, Andrei ============================================================================ 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 ============================================================================