LINUX.ORG.RU

SAMBA


0

0

Не вижу в сети ресурса?

файл smb.conf

[global]

workgroup = f7
netbios name = soz
server string =
interfaces = eth0
guest account = nobody
log file = /var/log/samba/%m.log
max log size = 50
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = yes
dos charset = 866
unix charset = UTF-8
; encrypt passwords = yes
guest ok = yes


[files]
path = /mnt/samba/files
writeable = yes
browseable = yes
guest ok = yes
; public = yes


В каталоге логов файл log.smbd есть а вот файл log.nmbd почему-то вообще отсутствует?


[sash@localhost files]$ testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[files]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
dos charset = 866
workgroup = F7
netbios name = SOZ
server string =
interfaces = eth0
security = SHARE
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
guest ok = Yes

[files]
path = /mnt/samba/files
read only = No
[sash@localhost files]$ smbclient -L localhost
Password:
Domain=[F7] OS=[Unix] Server=[Samba 3.0.25a-3.fc7]

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service ()
files Disk
Domain=[F7] OS=[Unix] Server=[Samba 3.0.25a-3.fc7]

Server Comment
--------- -------
SOZ

Workgroup Master
--------- -------
F7 SOZ
FIS FIS_PDC
KSP XFR
OTDEL 42 TANYA
OTDEL 76 ALEXANDROVA
[sash@localhost files]$


[sash@localhost samba]$ ls -l
итого 8
drwxrwxrwx 2 nobody nobody 4096 Июн 20 16:06 files
[sash@localhost samba]$

★★

Re: SAMBA

>Sharename Type Comment >--------- ---- ------- >IPC$ IPC IPC Service () >files Disk <-- А это что? >Domain=[F7] OS=[Unix] Server=[Samba 3.0.25a-3.fc7]

koolig ()
Ответ на: Re: SAMBA от koolig

Re: SAMBA

Я хочу организовать обший доступ всех пользователей локсльной подсети к папке /mnt/samba/files.

Gooddy ★★ ()
Ответ на: Re: SAMBA от Gooddy

Re: SAMBA

Обозвал секцию в smb.cinf по другому:

[sash@localhost samba]$ testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[Resource_NET]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
dos charset = 866
workgroup = F7
netbios name = SOZ
server string =
interfaces = eth0
security = SHARE
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
guest ok = Yes

[Resource_NET]
path = /mnt/samba/files
read only = No
[sash@localhost samba]$ smbclient -L localhost
Password:
Domain=[F7] OS=[Unix] Server=[Samba 3.0.25a-3.fc7]

Sharename Type Comment
--------- ---- -------
Resource_NET Disk
IPC$ IPC IPC Service ()
Domain=[F7] OS=[Unix] Server=[Samba 3.0.25a-3.fc7]

Server Comment
--------- -------
SOZ

Workgroup Master
--------- -------
F7 SOZ
FIS FIS_PDC
KSP XFR
OTDEL 42 TANYA
OTDEL 76 ALEXANDROVA
[sash@localhost samba]$

Gooddy ★★ ()
Ответ на: Re: SAMBA от Gooddy

Re: SAMBA

Перед выдачей параметров Sharename, Type, Comment и Server, Comment, Workgroup , Master выдается строка
Domain=[F7] OS=[Unix] Server=[Samba 3.0.25a-3.fc7]

Gooddy ★★ ()
Ответ на: Re: SAMBA от Gooddy

Re: SAMBA

[sash@localhost ~]$ ps -auxgx | grep smb
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
root 2445 0.0 0.4 13760 2284 ? Ss 13:06 0:00 smbd -D
root 2466 0.0 0.1 13760 928 ? S 13:06 0:00 smbd -D
sash 3311 0.0 0.1 4036 780 pts/0 R+ 13:44 0:00 grep smb
[sash@localhost ~]$

Gooddy ★★ ()
Ответ на: Re: SAMBA от berrywizard

Re: SAMBA

[sash@localhost ~]$ ps auxg | grep nmb
sash 11885 0.0 0.1 4036 772 pts/0 S+ 16:37 0:00 grep nmb
[sashn@localhost ~]$

Gooddy ★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.