• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[Gelöst]Plötzlich kein Zugriff auf Windows Freigaben

Coolzero

Advanced Hacker
Hallo,
ich konnte die ganze Zeit problemlos auf meine Windows Cifs Freigaben zugreifen, jetzt plötzlich gehts nicht, weder über Dolphin mit smb:/192.168.188.22 noch über smb4k, auch ein Neustart des samba dienstes hat genauso wenig gebracht wie ein Neustart des Systems.
Die Suse FW hat als ausnahmen den samba client, ich habe sie aber auch schon komplett ausgeschaltet, aber keine besserung

Der Zugriff über RDP z.b. auf den Server klappt problemlos, nur nicht auf die Freigaben.

In den Benarichtigungen steht das:
Code:
Die Konfigurationsdatei für Samba fehlt

Was könnte plötzlich falsch sein, bzw. was kann ich machen?

Danke

EDIT
die smb.con sieht so aus:
Code:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
[global]
	workgroup = WORKGROUP
	passdb backend = tdbsam
	printing = cups
	printcap name = cups
	printcap cache time = 750
	cups options = raw
	map to guest = Bad User
	include = /etc/samba/dhcp.conf
	logon path = \\%L\profiles\.msprofile
	logon home = \\%L\%U\.9xprofile
	logon drive = P:
	usershare allow guests = No
	security = domain
[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	browseable = No
	read only = No
	inherit acls = Yes
[profiles]
	comment = Network Profiles Service
	path = %H
	read only = No
	store dos attributes = Yes
	create mask = 0600
	directory mask = 0700
[users]
	comment = All users
	path = /home
	read only = No
	inherit acls = Yes
	veto files = /aquota.user/groups/shares/
[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit acls = Yes
[printers]
	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No
[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775
 
OP
Coolzero

Coolzero

Advanced Hacker
Hi,
ja das,
Code:
[2015/08/14 21:33:18,  0] ../source3/smbd/server.c:1194(main)
  smbd version 4.1.19-11.1-3442-SUSE-oS13.2-x86_64 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2013
[2015/08/14 21:33:18.479606,  0] ../lib/util/become_daemon.c:137(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2015/08/14 22:35:41.764116,  0] ../lib/util/pidfile.c:153(pidfile_unlink)
  Failed to delete pidfile /run/samba/smbd.pid. Error was No such file or directory

aber sind Daten von gestern, heute scheitert der Zugriff auch, dazu gibts keinen Log....
 

revealed

Guru
Und was sagt:
Code:
rcsmb status
? Kann es sein dass es wegen der PID einen Fehlerzustand gibt? Deswegen würde ich gern wissen ob der Dienst überhaupt ans Laufen kommt.

Gruß,

R
 

spoensche

Moderator
Teammitglied
Seit wann muss der smb Dienst gestartet sein um auf Freigaben eines Windows zugreifen zu können?

@coolzero:

Poste mal die Ausgabe von
Code:
testparm
 
OP
Coolzero

Coolzero

Advanced Hacker
spoensche schrieb:
Seit wann muss der smb Dienst gestartet sein um auf Freigaben eines Windows zugreifen zu können?

@coolzero:

Poste mal die Ausgabe von
Code:
testparm


Hi,
hier die Ausgabe
Code:
testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Can't find include file /etc/samba/dhcp.conf
Processing section "[homes]"
Processing section "[profiles]"
Processing section "[users]"
Processing section "[groups]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

[global]
        security = DOMAIN
        map to guest = Bad User
        printcap name = cups
        logon path = \\%L\profiles\.msprofile
        logon drive = P:
        logon home = \\%L\%U\.9xprofile
        idmap config * : backend = tdb
        cups options = raw

[homes]
        comment = Home Directories
        valid users = %S, %D%w%S
        read only = No
        inherit acls = Yes
        browseable = No

[profiles]
        comment = Network Profiles Service
        path = %H
        read only = No
        create mask = 0600
        directory mask = 0700
        store dos attributes = Yes

[users]
        comment = All users                                                                                                                              
        path = /home                                                                                                                                     
        read only = No                                                                                                                                   
        inherit acls = Yes                                                                                                                               
        veto files = /aquota.user/groups/shares/

[groups]
        comment = All groups
        path = /home/groups
        read only = No
        inherit acls = Yes

[printers]
        comment = All Printers
        path = /var/tmp
        create mask = 0600
        printable = Yes
        print ok = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin, root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775

Seltsamerweisse, ohne für mich erkennbaren Grund sind die Freigaben auf einmal wieder eingebunden.......
Ist zwar gut das es so ist, aber wieso keine Ahnung....
 
OP
Coolzero

Coolzero

Advanced Hacker
Plötzlich sind die Freigaben wieder weg, auch mehrer Neustarts, sowohl des OpenSuse Client rechners, wie auch des WHS2011 Servers, brachten keine besserung.
 

spoensche

Moderator
Teammitglied
Poste mal bitte die Ausgabe von
Code:
demsg | egrep -i "err|warn|fail|fault"

Was sagt die Ereignisanzeige deines WHS?
 
Oben