Suse 13.1: Windows Clients können sich nicht auf Samba Share verbinden

jeudi 30 avril 2015

Hallo zusammen,

seit ca. 9 Jahren habe ich einen Linux Server hier stehen, der den Windows CLients als Samba Filesare dient. Seit ca. 1 Jahr als Suse 13.1 Server hat das auch problemlos geklappt.

Neulci sagt meine Frau: Ich komme nicht mehr drauf, der fragt mich nach einem User und Passwort (Ich greife von Linux aus immer via NFS zu, hab deshalb nix gemerkt).

Also habe ich es auch von einer Windows VM probiert, von der es bisher ging. Ergebnis: Siehe Bild im Anhang.
Hier gebe ich meinen normalen USer ein, und das Passwort, mit denne ich mich bisher immer auf das Share verbinden habe: Abfrage kommt wieder, am Ende ein Fehler, dass er sich nicht verbinden konnte.

Also erst mal auf den Server verbunden und "Testparm" ausgeführt:

Code:

Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "idmap gid" option is deprecated
WARNING: The "idmap uid" option is deprecated
Processing section "[homes]"
Processing section "[profiles]"
Processing section "[users]"
Processing section "[groups]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[serverdata]"
Loaded services file OK.
Server role: ROLE_STANDALONE

Ich nehme nicht an, dass die Warnungen dafür verantwortlich sind?


Im log.smbd sehe ich:
Code:

[2015/04/30 01:45:12,  0] ../source3/smbd/server.c:1194(main)
  smbd version 4.1.17-3.30.1-3375-SUSE-oS13.1-x86_64 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2013
[2015/04/30 01:45:13.099744,  0] ../lib/util/become_daemon.c:137(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2015/04/30 01:51:04.458535,  0] ../lib/util/pidfile.c:153(pidfile_unlink)
  Failed to delete pidfile /run/samba/smbd.pid. Error was No such file or directory
[2015/04/30 01:51:04,  0] ../source3/smbd/server.c:1194(main)
  smbd version 4.1.17-3.30.1-3375-SUSE-oS13.1-x86_64 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2013
[2015/04/30 01:51:04.496126,  0] ../lib/util/become_daemon.c:137(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections

Aber z.B. nix von gerade jetzt. Ich nehme an, das ist also auch nicht das Problem?

In log.nmbd sehe ich
Code:

[2015/04/30 18:30:23.750206,  0] ../source3/nmbd/nmbd_become_lmb.c:533(become_local_master_browser)
  become_local_master_browser: Error - cannot find server SOLTAUSUSESERVER in workgroup WORKGROUP on subnet 192.168.2.2
[2015/04/30 18:35:31.164602,  0] ../source3/nmbd/nmbd_become_lmb.c:533(become_local_master_browser)
  become_local_master_browser: Error - cannot find server SOLTAUSUSESERVER in workgroup WORKGROUP on subnet 192.168.2.2

Das könnte was sein, ich weiß aber nicht, ob das nichts chon immer da war und was ich dagegen tun sollte. Bin kein Samba-Profi.

Hier noch meine Samba-Konfiguration:
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 = smbpasswd
        security = user
        encrypt passwords = yes
        printing = cups
        printcap name = cups
        printcap cache time = 750
        cups options = raw
        map to guest = Bad User
        username map = /etc/samba/smbusers
        include = /etc/samba/dhcp.conf
        logon path = \\%L\profiles\.msprofile
        logon home = \\%L\%U\.9xprofile
        logon drive = P:
        usershare allow guests = No
        add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
        domain logons = No
        domain master = No
        wins support = No
        idmap gid = 10000-20000
        idmap uid = 10000-20000
        wins server = 192.168.2.1
[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 = /http://ift.tt/1eN8RJ6
[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

## Share disabled by YaST
# [netlogon]

[serverdata]
        comment = serverdata
        inherit acls = Yes
        path = /mnt/local/fileshares/public
        read only = No
        guest ok = No

Es geht um das Share "serverdata".

Kann mir jemand auf die Sprünge helfen?

Danke und Gruß,
Martin
Angehängte Grafiken


0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor