[FUGSPBR] Samba x Linux x XP

Rodrigo Klein Santos rks em system4.com.br
Qui Set 9 12:10:04 BRT 2004


Pessoal.

Seguinte..

Tenho um FreeBSD 5.2.1 com samba 2.2.8a...

Da minha estação linux eu consigo dar um smbclient -L <ipdobsd> que ele
me mostra os compartilhamentos direitinho.. eu até consigo montar (
mount -t smbfs //172.16.0.101/public /mnt/bsd -o username='' -o
password='' ) direitinho...

Mas quando vou tentar acessar pelo Windows XP eu não consigo.. ele diz
que eu não tenho permissão pra acessar aquele recurso da rede... (no
final do e-mail vou mandar meu smb.conf)...

Outra coisa é que do Linux eu consigo montar um compartilhamento que
está disponivel no winXP mas não consigo no freeBSD...

Os comandos..

no linux..
mount -t smbfs //172.16.0.100/musicas /mnt/caribe -o password=''
no FreeBSD
bsd# mount_smbfs -I aruba.system4.com.br //172.16.0.100/musicas
/mnt/musicas
Password:
mount_smbfs: unable to open connection: syserr = Connection reset by
peer


Se alguém tiver uma dica.. :-)

[]'s

Rodrigo

############# Abaixo o smb.conf #########################
[global]

   workgroup = SYSTEM4 

   server string = Samba Server

   hosts allow = 127. 172.16.0.

   load printers = yes

;   printcap name = /etc/printcap

;   printcap name = lpstat

;   printing = bsd

;  guest account = pcguest

   log file = /var/log/log.%m

   max log size = 50

   security = user

;   password server = <NT-Server-Name>


;  encrypt passwords = yes

;   include = /usr/local/etc/smb.conf.%m

   socket options = TCP_NODELAY 

   interfaces = 172.16.0.0/24 

;   local master = no

;   os level = 33

;   domain master = yes 

;   preferred master = yes

;   domain logons = yes

;   logon script = %m.bat
;   logon script = %U.bat

;   logon path = \\%L\Profiles\%U

;   wins support = yes

;   wins server = w.x.y.z

;   wins proxy = yes

   dns proxy = no 


; client code page=737

; client code page=850

; client code page=852

; client code page=861

; client code page=866

; client code page=932
; coding system=cap

; client code page=936
; coding system=cap

; client code page=949
; coding system=cap

; client code page=950
; coding system=cap

[homes]
   comment = Home Directories
   browseable = no
   writeable = yes
;  vfs object = /usr/local/lib/samba/recycle.so
;  vfs options= /usr/local/etc/recycle.conf.default

; [netlogon]
;   comment = Network Logon Service
;   path = /usr/local/samba/lib/netlogon
;   guest ok = yes
;   writeable = no
;   share modes = no


;[Profiles]
;    path = /usr/local/samba/profiles
;    browseable = no
;    guest ok = yes


[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writeable = no
   printable = yes

;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes

[public]
   comment = Public Stuff
   path = /tmp
   public = yes
   writeable = yes
   printable = no
   write list = @staff

;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writeable = no
;   printable = yes

;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writeable = yes
;   printable = no

;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writeable = yes

;[public]
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writeable = yes
;   printable = no
;  vfs object = /usr/local/lib/samba/recycle.so
;  vfs options= /usr/local/etc/recycle.conf.default

;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writeable = yes
;   printable = no
;   create mask = 0765




_______________________________________________________________
Para enviar um novo email para a lista: fugspbr em fugspbr.org
Sair da Lista: http://lists.fugspbr.org/listinfo.cgi
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



Mais detalhes sobre a lista de discussão freebsd