Sejam todos bem-vindos e fiquem atentos às regras de utilização do fórum e política de privacidade.
$ sudo aptitude install samba$ sudo vim /etc/samba/smb.conf
[sistema] workgroup = Loja2 comment = Public Folder path = /opt/public/sistema public = yes writable = yes create mask = 0777 directory mask = 0777 force user = cris force group = automacao hosts allow = localhost, 192.168.0.
Citar$ sudo smbmount //192.168.0.5/sistema /mnt/servidor/sistema -o defaults,noauto,user,credentials=/etc/samba/user,rw,uid=1001,gid=1001
$ sudo smbmount //192.168.0.5/sistema /mnt/servidor/sistema -o defaults,noauto,user,credentials=/etc/samba/user,rw,uid=1001,gid=1001
$ cat /etc/samba/userusername = escritoriopassword = aguatonica
$ ls /mnt/servidor/sistemals: lendo diretório /mnt/hidrolago/servidor/sistema: Erro de entrada/saída
[2007/11/16 16:20:05, 1] smbd/service.c:make_connection_snum(950) 192.168.0.5 (192.168.0.5) connect to service sistema initially as user cris (uid=1000, gid=1002) (pid 6655)[2007/11/16 16:20:05, 0] lib/util.c:smb_panic(1599) PANIC (pid 6655): push_ascii - dest_len == -1[2007/11/16 16:20:05, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 12 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x22) [0x823e0d2] #1 /usr/sbin/smbd(smb_panic+0x43) [0x823e1b3] #2 /usr/sbin/smbd(push_ascii+0xe4) [0x822a4e4] #3 /usr/sbin/smbd [0x80d4b7c] #4 /usr/sbin/smbd [0x80d6947] #5 /usr/sbin/smbd(handle_trans2+0x220) [0x80d71e0] #6 /usr/sbin/smbd(reply_trans2+0x616) [0x80dd316] #7 /usr/sbin/smbd [0x80f6865] #8 /usr/sbin/smbd(smbd_process+0x701) [0x80f7aa1] #9 /usr/sbin/smbd(main+0x10f3) [0x82da913] #10 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7c27ebc] #11 /usr/sbin/smbd [0x808c7e1][2007/11/16 16:20:05, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 6655][2007/11/16 16:20:05, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0[2007/11/16 16:20:05, 0] lib/fault.c:dump_core(168) unable to change to /var/log/samba/cores/smbdrefusing to dump core[2007/11/16 16:20:35, 1] smbd/service.c:make_connection_snum(950) 192.168.0.5 (192.168.0.5) connect to service sistema initially as user cris (uid=1000, gid=1002) (pid 6678)[2007/11/16 16:20:35, 0] lib/util.c:smb_panic(1599) PANIC (pid 6678): push_ascii - dest_len == -1[2007/11/16 16:20:35, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 12 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x22) [0x823e0d2] #1 /usr/sbin/smbd(smb_panic+0x43) [0x823e1b3] #2 /usr/sbin/smbd(push_ascii+0xe4) [0x822a4e4] #3 /usr/sbin/smbd [0x80d4b7c] #4 /usr/sbin/smbd [0x80d6947] #5 /usr/sbin/smbd(handle_trans2+0x220) [0x80d71e0] #6 /usr/sbin/smbd(reply_trans2+0x616) [0x80dd316] #7 /usr/sbin/smbd [0x80f6865] #8 /usr/sbin/smbd(smbd_process+0x701) [0x80f7aa1] #9 /usr/sbin/smbd(main+0x10f3) [0x82da913] #10 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7c27ebc] #11 /usr/sbin/smbd [0x808c7e1][2007/11/16 16:20:35, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 6678][2007/11/16 16:20:35, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0[2007/11/16 16:20:35, 0] lib/fault.c:dump_core(168) unable to change to /var/log/samba/cores/smbdrefusing to dump core