Autor Thema: "Netzwerk durchsuchen" funktioniert nicht  (Gelesen 2310 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline Pitscho

  • Neuling
  • *
  • Beiträge: 2
  • Karma: +0/-0
  • Skill: Durchschnitt
"Netzwerk durchsuchen" funktioniert nicht
« am: 22. Mai 2015, 22:23:42 »
Hi,

ich habe ein Problem mit meiner frischen Manjaro 0.8.13rc Installation. Und zwar kann ich in Thunar und Nautilus nicht auf Windows Netzwerk klicken (also smb:/// aufrufen), ohne dass die Fehlermeldung

"Windows network" konnte nicht geöffnet werden.
Failed to retrieve share list from server. No such file or directy.
Siehe Bild Anhang

erscheint.

Vorneweg:
Das Netzwerk und meine shares zuhause funktionieren seit Jaren einwandfrei. Es liegt definitiv an meine Manjaro Installation.
Cifs mounts und direktes smb://hostname oder smb//192.168.xxx.xxx funktioniert ebenfalls einwandfrei.

ABER
Unter Netzwerk durchsuchen  in Thunar finde ich nur den eigenen host und den eigenen host in Großbuchstaben.
Warum versagen alle Boardcast ähnlichen Geschichten und alles mit direkter IP oder hostname funktioniert? Ich google jetzt bereits den 2. abend und bekomme es nicht gefixt.

Es folgen einige test und configs:

$ inxi -b
System:    Host: Timo-NB Kernel: 3.19.8-1-MANJARO x86_64 (64 bit) Desktop: Xfce 4.12.1-MANJARO
           Distro: ManjaroLinux 0.8.13-rc1 Ascella
Machine:   System: Acer product: Aspire V5-573G
           Mobo: Acer model: Dazzle_HW v: Type2 - A01 Board Version Bios: Insyde v: V2.30 date: 01/12/2015
CPU:       Dual core Intel Core i5-4210U (-HT-MCP-) speed/max: 1658/2700 MHz
Graphics:  Card-1: Intel Haswell-ULT Integrated Graphics Controller
           Card-2: NVIDIA GM107M [GeForce GTX 850M]
           Display Server: X.Org 1.17.1 driver: intel Resolution: 1920x1080@60.21hz
           GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 10.5.5
Network:   Card-1: Intel Wireless 7260 driver: iwlwifi
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
Drives:    HDD Total Size: 128.0GB (11.4% used)
Info:      Processes: 199 Uptime: 16 min Memory: 2298.9/7869.0MB Client: Shell (bash) inxi: 2.2.19

$ smbtree -N -d3
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
added interface wlp4s0 ip=192.168.28.23 bcast=192.168.28.255 netmask=255.255.255.0
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Keine Berechtigung
name_resolve_bcast: Attempting broadcast lookup for name WORKGROUP<0x1d>
samba_tevent: EPOLL_CTL_DEL EBADF for fde[0x7f13477865e0] mpx_fde[(nil)] fd[8] - disabling
resolve_lmhosts: Attempting lmhosts lookup for name WORKGROUP<0x1d>
resolve_lmhosts: Attempting lmhosts lookup for name WORKGROUP<0x1d>
name_resolve_bcast: Attempting broadcast lookup for name WORKGROUP<0x1b>
samba_tevent: EPOLL_CTL_DEL EBADF for fde[0x7f1347786680] mpx_fde[(nil)] fd[8] - disabling
resolve_lmhosts: Attempting lmhosts lookup for name WORKGROUP<0x1b>
resolve_lmhosts: Attempting lmhosts lookup for name WORKGROUP<0x1b>
resolve_wins: WINS server resolution selected and no WINS servers listed.
name_resolve_bcast: Attempting broadcast lookup for name __MSBROWSE__<0x1>
samba_tevent: EPOLL_CTL_DEL EBADF for fde[0x7f13477865b0] mpx_fde[(nil)] fd[8] - disabling

$ smbtree -N -b -d3
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
added interface wlp4s0 ip=192.168.28.23 bcast=192.168.28.255 netmask=255.255.255.0
name_resolve_bcast: Attempting broadcast lookup for name __MSBROWSE__<0x1>
samba_tevent: EPOLL_CTL_DEL EBADF for fde[0x7fdc3e6edde0] mpx_fde[(nil)] fd[6] - disabling

$ nmblookup -d3 *
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
added interface wlp4s0 ip=192.168.28.23 bcast=192.168.28.255 netmask=255.255.255.0
Socket opened.
name_resolve_bcast: Attempting broadcast lookup for name Desktop<0x0>
samba_tevent: EPOLL_CTL_DEL EBADF for fde[0x7f7d87f76e30] mpx_fde[(nil)] fd[7] - disabling
name_query failed to find name Desktop
name_resolve_bcast: Attempting broadcast lookup for name Download<0x0>
samba_tevent: EPOLL_CTL_DEL EBADF for fde[0x7f7d87f76e30] mpx_fde[(nil)] fd[7] - disabling
name_query failed to find name Download
name_resolve_bcast: Attempting broadcast lookup for name Manjaro<0x0>
samba_tevent: EPOLL_CTL_DEL EBADF for fde[0x7f7d87f76e30] mpx_fde[(nil)] fd[7] - disabling
name_query failed to find name Manjaro

$ nmblookup -d3 server-pc
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
added interface wlp4s0 ip=192.168.28.23 bcast=192.168.28.255 netmask=255.255.255.0
Socket opened.
name_resolve_bcast: Attempting broadcast lookup for name server-pc<0x0>
Got a positive name query response from 192.168.28.13 ( 192.168.28.13 )
192.168.28.13 server-pc<00>

$ smbclient -L server-pc
Enter timo's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]

Sharename       Type      Comment
---------       ----      -------
IPC$            IPC       IPC Service (Server-PC (Samba, Ubuntu))
private_stephi  Disk     
private_friedrich Disk     
private_melanie Disk     
private_elke    Disk     
public          Disk     
private_flo     Disk     
private_stefan  Disk     
private_timo    Disk     
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]

Server               Comment
---------            -------
D81D05000000         MG5200 series
MEL-VAIO             
SERVER-PC            Server-PC (Samba, Ubuntu)
STEBE-PC             

Workgroup            Master
---------            -------
WORKGROUP            SERVER-PC

$ cat /etc/samba/smb.conf
[global]
   name resolve order = bcast host lmhosts wins
   server string = %h (Samba, Manjaro)
   server role = standalone server
   workgroup = WORKGROUP
   name resolve order = bcast lmhosts wins host
   log file = /var/log/samba/%m.log
   max log size = 50
   security = user

$ systemctl status -l nmbd
● nmbd.service - Samba NetBIOS name server
   Loaded: loaded (/usr/lib/systemd/system/nmbd.service; enabled; vendor preset: disabled)
   Active: active (running) since Fr 2015-05-22 21:46:56 CEST; 23min ago
  Process: 609 ExecStart=/usr/bin/nmbd -D (code=exited, status=0/SUCCESS)
 Main PID: 616 (nmbd)
   CGroup: /system.slice/nmbd.service
           └─616 /usr/bin/nmbd -D

Mai 22 21:46:56 Timo-NB systemd[1]: Starting Samba NetBIOS name server...
Mai 22 21:46:56 Timo-NB nmbd[616]: [2015/05/22 21:46:56.248129,  0] ../lib/util/become_daemon.c:124(daemon_ready)
Mai 22 21:46:56 Timo-NB nmbd[616]: STATUS=daemon 'nmbd' finished starting up and ready to serve connections
Mai 22 21:46:56 Timo-NB systemd[1]: Started Samba NetBIOS name server.

$ systemctl status -l smbd
● smbd.service - Samba SMB/CIFS server
   Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled; vendor preset: disabled)
   Active: active (running) since Fr 2015-05-22 21:46:56 CEST; 24min ago
  Process: 650 ExecStart=/usr/bin/smbd -D (code=exited, status=0/SUCCESS)
 Main PID: 661 (smbd)
   CGroup: /system.slice/smbd.service
           ├─661 /usr/bin/smbd -D
           ├─717 /usr/bin/smbd -D
           └─973 /usr/bin/smbd -D

Mai 22 21:46:56 Timo-NB systemd[1]: Started Samba SMB/CIFS server.
Mai 22 21:46:56 Timo-NB smbd[661]: [2015/05/22 21:46:56.566557,  0] ../lib/util/become_daemon.c:124(daemon_ready)
Mai 22 21:46:56 Timo-NB smbd[661]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
Mai 22 21:46:56 Timo-NB smbd[718]: [2015/05/22 21:46:56.576493,  0] ../source3/printing/print_cups.c:151(cups_connect)
Mai 22 21:46:56 Timo-NB smbd[718]: Unable to connect to CUPS server /run/cups/cups.sock:631 - Bad file descriptor
Mai 22 21:46:56 Timo-NB smbd[717]: [2015/05/22 21:46:56.577909,  0] ../source3/printing/print_cups.c:529(cups_async_callback)
Mai 22 21:46:56 Timo-NB smbd[717]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Mai 22 21:59:56 Timo-NB smbd[1945]: [2015/05/22 21:59:56.917147,  0] ../source3/printing/print_cups.c:151(cups_connect)
Mai 22 21:59:56 Timo-NB smbd[717]: [2015/05/22 21:59:56.917279,  0] ../source3/printing/print_cups.c:529(cups_async_callback)
Mai 22 21:59:56 Timo-NB smbd[717]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL

$ systemctl status -l winbindd
● winbindd.service - Samba Winbind daemon
   Loaded: loaded (/usr/lib/systemd/system/winbindd.service; enabled; vendor preset: disabled)
   Active: active (running) since Fr 2015-05-22 21:46:56 CEST; 24min ago
  Process: 627 ExecStart=/usr/bin/winbindd -D (code=exited, status=0/SUCCESS)
 Main PID: 649 (winbindd)
   CGroup: /system.slice/winbindd.service
           ├─649 /usr/bin/winbindd -D
           ├─651 /usr/bin/winbindd -D
           ├─665 /usr/bin/winbindd -D
           └─703 /usr/bin/winbindd -D

Mai 22 21:46:56 Timo-NB systemd[1]: Starting Samba Winbind daemon...
Mai 22 21:46:56 Timo-NB winbindd[649]: [2015/05/22 21:46:56.371003,  0] ../source3/winbindd/winbindd_cache.c:3235(initialize_winbindd_cache)
Mai 22 21:46:56 Timo-NB systemd[1]: Started Samba Winbind daemon.
Mai 22 21:46:56 Timo-NB winbindd[649]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
Mai 22 21:46:56 Timo-NB winbindd[649]: [2015/05/22 21:46:56.403227,  0] ../lib/util/become_daemon.c:124(daemon_ready)
Mai 22 21:46:56 Timo-NB winbindd[649]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections

$ cat /etc/nsswitch.conf
# Begin /etc/nsswitch.conf

passwd: files
group: files
shadow: files

publickey: files

hosts: files wins dns myhostname
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

# End /etc/nsswitch.conf

$ cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#

#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost

# End of file

$ sudo ufw status
[sudo] Passwort für timo:
Status: inactive

$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination   

Danke für die Mühe.

Offline Pitscho

  • Neuling
  • *
  • Beiträge: 2
  • Karma: +0/-0
  • Skill: Durchschnitt
Re: "Netzwerk durchsuchen" funktioniert nicht
« Antwort #1 am: 22. Mai 2015, 23:08:53 »
Das habe ich gerade noch gefunden.

$ systemctl status samba -l
● samba.service - Samba AD Daemon
   Loaded: loaded (/usr/lib/systemd/system/samba.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fr 2015-05-22 22:49:39 CEST; 18min ago
 Main PID: 459 (code=exited, status=1/FAILURE)

Mai 22 22:49:39 Timo-NB systemd[1]: Started Samba AD Daemon.
Mai 22 22:49:39 Timo-NB samba[459]: [2015/05/22 22:49:39.289970,  0] ../source4/smbd/server.c:475(binary_smbd_main)
Mai 22 22:49:39 Timo-NB samba[459]: At this time the 'samba' binary should only be used for either:
Mai 22 22:49:39 Timo-NB samba[459]: 'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or the rpc proxy with 'dcerpc endpoint servers = remote'
Mai 22 22:49:39 Timo-NB samba[459]: You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
Mai 22 22:49:39 Timo-NB samba[459]: [2015/05/22 22:49:39.290051,  0] ../lib/util/become_daemon.c:111(exit_daemon)
Mai 22 22:49:39 Timo-NB samba[459]: STATUS=daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, error code 22
Mai 22 22:49:39 Timo-NB systemd[1]: samba.service: main process exited, code=exited, status=1/FAILURE
Mai 22 22:49:39 Timo-NB systemd[1]: Unit samba.service entered failed state.
Mai 22 22:49:39 Timo-NB systemd[1]: samba.service failed.