Configurar Samba

editado julho 2012 em Dúvidas Iniciais
Estou usando o novo Linux Mint 13 "Maya" KDE RC. e conseguir acessar a do windows atraves do samba. só que para cada arquivo que acesso o sistema cria uma cópia. E gostaria de saber se tem como acessar o arquivo de forma mais rápida.

Comentários

  • editado julho 2012
    Já resolvir o problema. fui no Smb4k na opção de visualizar a rede e depois de autenticar a rede windows dei dois cliques na pasta que queria visualizar ai quando vou ao Dolphin na pasta de Usuário o samba montou as pastas
  • editado outubro 2012
    Encontrei algumas informações que acredito indicam o caminho da solução do meu problema:

    Estou utilizando o Mynt Maya essa informação está em:
    /etc/init.d

    Pois bem
    No diretório
    /etc/init.d

    Tem três arquivos que acredito fazerem referencia ao Samba que são:

    /etc/init.d/samba
    /etc/init.d/mnbd
    /etc/init.d/smbd

    Verificando de eles estavam ativos no sistema utilizando o comando:

    netstat -navptu

    recebi a seguinte resposta:

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 4057/smbd
    tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 1148/perdition.pop3
    tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1152/perdition.imap
    tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2702/dnsmasq
    tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 738/cupsd
    tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 1016/postgres
    tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 4057/smbd
    tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 1156/perdition.mana
    tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 978/mysqld
    tcp 0 0 192.168.1.101:35002 184.154.36.135:2095 ESTABLISHED 2744/firefox
    tcp6 0 0 :::80 :::* LISTEN 1220/apache2
    tcp6 0 0 ::1:631 :::* LISTEN 738/cupsd
    udp 0 0 127.0.0.1:53 0.0.0.0:* 2702/dnsmasq
    udp 0 0 0.0.0.0:68 0.0.0.0:* 2698/dhclient
    udp 0 0 192.168.1.255:137 0.0.0.0:* 4049/nmbd
    udp 0 0 192.168.1.101:137 0.0.0.0:* 4049/nmbd
    udp 0 0 0.0.0.0:137 0.0.0.0:* 4049/nmbd
    udp 0 0 192.168.1.255:138 0.0.0.0:* 4049/nmbd
    udp 0 0 192.168.1.101:138 0.0.0.0:* 4049/nmbd
    udp 0 0 0.0.0.0:138 0.0.0.0:* 4049/nmbd
    udp 0 0 0.0.0.0:5353 0.0.0.0:* 746/avahi-daemon: r
    udp 0 0 0.0.0.0:59405 0.0.0.0:* 746/avahi-daemon: r
    udp 0 0 127.0.0.1:53262 127.0.0.1:53262 ESTABLISHED 1016/postgres
    udp6 0 0 :::42147 :::* 746/avahi-daemon: r
    udp6 0 0 :::5353 :::* 746/avahi-daemon: r

    Ainda verificando utilizei o comando:

    ps - A

    e recebi a seguinte resposta:

    PID TTY TIME CMD
    1 ? 00:00:01 init
    2 ? 00:00:00 kthreadd
    3 ? 00:00:00 ksoftirqd/0
    6 ? 00:00:00 migration/0
    7 ? 00:00:00 watchdog/0
    8 ? 00:00:00 migration/1
    10 ? 00:00:00 ksoftirqd/1
    12 ? 00:00:00 watchdog/1
    13 ? 00:00:00 migration/2
    15 ? 00:00:00 ksoftirqd/2
    16 ? 00:00:00 watchdog/2
    17 ? 00:00:00 migration/3
    19 ? 00:00:00 ksoftirqd/3
    20 ? 00:00:00 watchdog/3
    21 ? 00:00:00 cpuset
    22 ? 00:00:00 khelper
    23 ? 00:00:00 kdevtmpfs
    24 ? 00:00:00 netns
    26 ? 00:00:00 sync_supers
    27 ? 00:00:00 bdi-default
    28 ? 00:00:00 kintegrityd
    29 ? 00:00:00 kblockd
    30 ? 00:00:00 ata_sff
    31 ? 00:00:00 khubd
    32 ? 00:00:00 md
    34 ? 00:00:00 khungtaskd
    35 ? 00:00:00 kswapd0
    36 ? 00:00:00 ksmd
    37 ? 00:00:00 khugepaged
    38 ? 00:00:00 fsnotify_mark
    39 ? 00:00:00 ecryptfs-kthrea
    40 ? 00:00:00 crypto
    48 ? 00:00:00 kthrotld
    50 ? 00:00:00 scsi_eh_0
    51 ? 00:00:00 scsi_eh_1
    52 ? 00:00:00 scsi_eh_2
    53 ? 00:00:00 scsi_eh_3
    54 ? 00:00:00 scsi_eh_4
    55 ? 00:00:00 scsi_eh_5
    62 ? 00:00:02 kworker/3:1
    81 ? 00:00:00 devfreq_wq
    233 ? 00:00:00 reiserfs
    298 ? 00:00:00 upstart-udev-br
    300 ? 00:00:00 udevd
    478 ? 00:00:00 udevd
    479 ? 00:00:00 udevd
    502 ? 00:00:00 irq/42-mei
    524 ? 00:00:00 upstart-socket-
    525 ? 00:00:00 cfg80211
    537 ? 00:00:00 ips-adjust
    538 ? 00:00:00 ips-monitor
    550 ? 00:00:00 kpsmoused
    611 ? 00:00:00 hd-audio0
    695 ? 00:00:01 rsyslogd
    707 ? 00:00:02 dbus-daemon
    720 ? 00:00:00 modem-manager
    725 ? 00:00:00 flush-8:0
    738 ? 00:00:00 cupsd
    739 ? 00:00:00 bluetoothd
    746 ? 00:00:00 avahi-daemon
    747 ? 00:00:00 avahi-daemon
    752 ? 00:00:01 NetworkManager
    773 ? 00:00:00 krfcommd
    780 ? 00:00:00 polkitd
    786 ? 00:00:05 wpa_supplicant
    933 tty4 00:00:00 getty
    939 tty5 00:00:00 getty
    956 tty2 00:00:00 getty
    957 tty3 00:00:00 getty
    960 tty6 00:00:00 getty
    966 ? 00:00:00 acpid
    967 ? 00:00:00 atd
    968 ? 00:00:00 cron
    978 ? 00:00:03 mysqld
    984 ? 00:00:01 irqbalance
    1002 ? 00:00:00 whoopsie
    1016 ? 00:00:00 postgres
    1082 ? 00:00:01 postgres
    1083 ? 00:00:01 postgres
    1084 ? 00:00:00 postgres
    1085 ? 00:00:00 postgres
    1148 ? 00:00:00 perdition.pop3
    1152 ? 00:00:00 perdition.imap4
    1156 ? 00:00:00 perdition.manag
    1175 ? 00:00:00 mdm
    1187 ? 00:00:00 mdm
    1193 tty8 00:04:09 Xorg
    1220 ? 00:00:00 apache2
    1404 ? 00:00:00 apache2
    1405 ? 00:00:00 apache2
    1406 ? 00:00:00 apache2
    1408 ? 00:00:00 apache2
    1409 ? 00:00:00 apache2
    1457 tty1 00:00:00 getty
    1465 ? 00:00:00 gnome-keyring-d
    1469 ? 00:00:00 console-kit-dae
    1542 ? 00:00:00 gnome-session
    1621 ? 00:00:00 ssh-agent
    1624 ? 00:00:00 dbus-launch
    1625 ? 00:00:03 dbus-daemon
    1639 ? 00:00:03 gnome-settings-
    1644 ? 00:00:01 upowerd
    1774 ? 00:00:00 gvfsd
    1776 ? 00:00:00 gvfs-fuse-daemo
    1785 ? 00:00:00 gsd-printer
    1791 ? 00:00:00 colord
    1795 ? 00:00:00 accounts-daemon
    1807 ? 00:00:00 pulseaudio
    1809 ? 00:00:00 rtkit-daemon
    1812 ? 00:00:05 syndaemon
    1818 ? 00:00:00 gconf-helper
    1820 ? 00:00:00 gconfd-2
    1826 ? 00:00:42 nautilus
    1827 ? 00:00:00 polkit-gnome-au
    1830 ? 00:00:29 nm-applet
    1833 ? 00:00:00 gnome-fallback-
    1839 ? 00:00:00 gvfs-gdu-volume
    1841 ? 00:00:00 mintupdate-laun
    1845 ? 00:00:00 sh
    1846 ? 00:00:00 mintUpdate
    1848 ? 00:00:00 udisks-daemon
    1853 ? 00:00:00 udisks-daemon
    1856 ? 00:00:00 gvfs-gphoto2-vo
    1864 ? 00:00:00 gvfs-afc-volume
    1877 ? 00:00:00 gvfsd-trash
    1879 ? 00:00:00 gvfsd-burn
    1907 ? 00:00:00 gdu-notificatio
    1930 ? 00:00:00 gvfsd-metadata
    1967 ? 00:00:00 zeitgeist-datah
    1973 ? 00:00:00 zeitgeist-daemo
    1982 ? 00:00:00 zeitgeist-fts
    1990 ? 00:00:00 cat
    1992 ? 00:00:01 gnome-screensav
    2021 ? 00:00:00 at-spi-bus-laun
    2488 ? 00:04:03 cinnamon
    2530 ? 00:00:00 apache2
    2600 ? 00:00:00 dconf-service
    2698 ? 00:00:00 dhclient
    2702 ? 00:00:00 dnsmasq
    2744 ? 00:07:45 firefox
    3166 ? 00:00:00 gvfsd-computer
    3422 ? 00:00:08 gnome-terminal
    3429 ? 00:00:00 gnome-pty-helpe
    3430 pts/0 00:00:00 bash
    3522 ? 00:00:00 kworker/3:0
    3579 ? 00:01:20 plugin-containe
    3618 ? 00:00:05 gedit
    3647 pts/0 00:00:00 su
    3655 pts/0 00:00:00 bash
    3738 ? 00:00:04 kworker/0:2
    3847 ? 00:00:01 kworker/1:2
    3926 ? 00:00:00 kworker/u:0
    3928 ? 00:00:03 kworker/0:1
    3980 ? 00:00:00 kworker/u:1
    4016 ? 00:00:00 kworker/2:1
    4020 ? 00:00:00 kworker/1:0
    4037 ? 00:00:00 kworker/2:2
    4041 ? 00:00:00 kworker/u:2
    4049 ? 00:00:00 nmbd
    4050 ? 00:00:00 kworker/1:1
    4057 ? 00:00:00 smbd
    4059 ? 00:00:00 smbd
    4065 ? 00:00:00 kworker/0:0
    4076 pts/0 00:00:00 ps

    Percebemos que não existe mensão a processo que utilize o arquivo "samba" mas que estão em processo os arquivos "smbd" e "nmbd" com as seguintes mensões.

    na resposta do "netstat -navptu" aparecem:


    tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 4057/smbd
    ...
    tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 4057/smbd
    ...
    udp 0 0 192.168.1.255:137 0.0.0.0:* 4049/nmbd
    udp 0 0 192.168.1.101:137 0.0.0.0:* 4049/nmbd
    udp 0 0 0.0.0.0:137 0.0.0.0:* 4049/nmbd
    udp 0 0 192.168.1.255:138 0.0.0.0:* 4049/nmbd
    udp 0 0 192.168.1.101:138 0.0.0.0:* 4049/nmbd
    udp 0 0 0.0.0.0:138 0.0.0.0:* 4049/nmbd
    ...

    na resposta do "ps -A" aparecem:

    PID TTY TIME CMD
    ...
    4049 ? 00:00:00 nmbd
    ...
    4057 ? 00:00:00 smbd
    4059 ? 00:00:00 smbd

    Isso me leva a crer que o Samba está ativo. É isso mesmo?
Entre ou Registre-se para fazer um comentário.