[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SOLVED (mostly)] Re: SAMBA problems on Debian 8.8



Thanks a lot to all who have helped and/or contemplated my problem.

After:
---------------------------------------------------------------------------
apt-get install --reinstall samba
apt-get install samba-dbg samba-doc
---------------------------------------------------------------------------
and installing the suggested packages too I see:

dpkg -l | grep samba
---------------------------------------------------------------------------
ii libcrypt-smbhash-perl 0.12-4 all generate LM/NT hash of a password for samba ii python-samba 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Python bindings for Samba ii samba 2:4.2.14+dfsg-0+deb8u7+b1 amd64 SMB/CIFS file, print, and login server for Unix ii samba-common 2:4.2.14+dfsg-0+deb8u7 all common files used by both the Samba server and client ii samba-common-bin 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba common files used by both the server and the client ii samba-dbg 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba debugging symbols ii samba-doc 2:4.2.14+dfsg-0+deb8u7 all Samba documentation ii samba-dsdb-modules 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba Directory Services Database ii samba-libs:amd64 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba core libraries ii samba-vfs-modules 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba Virtual FileSystem plugins ii vlc-plugin-samba 2.2.6-1~deb8u1 amd64 Samba plugin for VLC
---------------------------------------------------------------------------

systemctl status smbd.service:
---------------------------------------------------------------------------
root@robbe:/etc/samba# systemctl status smbd.service
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
   Loaded: loaded (/etc/init.d/smbd)
   Active: active (running) since Sat 2017-07-15 17:45:27 CEST; 35min ago
Process: 1906 ExecStop=/etc/init.d/smbd stop (code=exited, status=0/SUCCESS) Process: 1911 ExecStart=/etc/init.d/smbd start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/smbd.service
           ├─1920 /usr/sbin/smbd -D
           ├─1923 /usr/sbin/smbd -D
           └─3101 /usr/sbin/smbd -D

Jul 15 17:45:27 robbe smbd[1911]: Starting SMB/CIFS daemon: smbd.
Jul 15 17:45:27 robbe systemd[1]: Started LSB: start Samba SMB/CIFS daemon (smbd). Jul 15 17:51:19 robbe smbd[2533]: pam_unix(samba:session): session opened for user kraush by (uid=0) Jul 15 17:51:56 robbe smbd[2533]: pam_unix(samba:session): session closed for user kraush Jul 15 17:53:57 robbe smbd[2568]: pam_unix(samba:session): session opened for user kraush by (uid=0) Jul 15 17:54:19 robbe smbd[2568]: pam_unix(samba:session): session closed for user kraush Jul 15 17:54:30 robbe smbd[2573]: pam_unix(samba:session): session opened for user kraush by (uid=0) Jul 15 17:54:41 robbe smbd[2573]: pam_unix(samba:session): session closed for user kraush Jul 15 17:55:51 robbe smbd[3101]: pam_unix(samba:session): session opened for user kraush by (uid=0) Jul 15 18:07:30 robbe smbd[3101]: pam_unix(samba:session): session closed for user kraush Jul 15 18:07:30 robbe smbd[3101]: pam_unix(samba:session): session opened for user kraush by (uid=0)
---------------------------------------------------------------------------

I can now again connect to the shares via the "Connect Network Drive"
window, choosing a drive letter and entering:
\\<fully qualified server name>\<share name>.

I still do not see the Shares (on Windows 8.1) in the "Connect Network
Drive" window in the "Search" part.

Kind regards,
Hans

Am 15.07.2017 um 17:10 schrieb Jason Wittlin-Cohen:
BTW, here is what I see when I run dpkg -l | grep samba:

jason@storage-server:~$ dpkg -l | grep samba
ii python-samba 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Python bindings for Samba ii samba 2:4.2.14+dfsg-0+deb8u7+b1 amd64 SMB/CIFS file, print, and login server for Unix ii samba-common 2:4.2.14+dfsg-0+deb8u7 all common files used by both the Samba server and client ii samba-common-bin 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba common files used by both the server and the client ii samba-dbg 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba debugging symbols ii samba-doc 2:4.2.14+dfsg-0+deb8u7 all Samba documentation ii samba-dsdb-modules 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba Directory Services Database ii samba-libs:amd64 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba core libraries ii samba-vfs-modules 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba Virtual FileSystem plugins


On Sat, Jul 15, 2017 at 11:09 AM, Jason Wittlin-Cohen <jwittlincohen@gmail.com <mailto:jwittlincohen@gmail.com>> wrote:

    You are running an out-of-date version of samba
    (2:4.2.14+dfsg-0+deb8u6  vs. 4.2.14+dfsg-0+deb8u7+b1).  In addition,
    you seem to be missing samba-common-bin,  samba-dsdb-modules, and
    python-samba, all of which are dependencies of samba.

    Try 'sudo apt-get install --reinstall samba'

    If that doesn't include install the removed packages, run, 'sudo
    apt-get install samba-common-bin samba-dsdb-modules python-samba'

    On Sat, Jul 15, 2017 at 11:01 AM, Hans Kraus <hans@hanswkraus.com
    <mailto:hans@hanswkraus.com>> wrote:

        Am 15.07.2017 um 16:05 schrieb Jason Wittlin-Cohen:

            What does 'dpkg -l | grep samba'  show?

            On Sat, Jul 15, 2017 at 10:01 AM, Hans Kraus
            <hans@hanswkraus.com <mailto:hans@hanswkraus.com>
            <mailto:hans@hanswkraus.com <mailto:hans@hanswkraus.com>>>
            wrote:

                 Am 15.07.2017 um 14:48 schrieb Jason Wittlin-Cohen:

Did you run an apt-get dist-upgrade yesterday? Debian released
                     updated Samba packages as part of a security
            update.  However,
                     the updated packages had dependency issues and were
            quickly
                     replaced by new packages.  If you attempted to run a
                     dist-upgrade with the broken packages, it would
            have installed
                     samba and samba-core.  Check to see whether your
            samba packages
                     are still installed.

                     On Sat, Jul 15, 2017 at 7:56 AM, Hans Kraus
            <hans@hanswkraus.com <mailto:hans@hanswkraus.com>
                     <mailto:hans@hanswkraus.com
            <mailto:hans@hanswkraus.com>> <mailto:hans@hanswkraus.com
            <mailto:hans@hanswkraus.com>

                     <mailto:hans@hanswkraus.com
            <mailto:hans@hanswkraus.com>>>> wrote:

                          Hi,

                          yesterday, 14. July, about 9:30 pm my SAMBA
            shares on
                     Debian simply
                          stopped working. I did not do anything on the
            system.

                          When I now try to connect to them from Windows
            8.1 I do not
                     see them
                          in the "Connect Network Drive" window.

                          When I enter the address manually I get the
            error "The
                     connection isn't
                          accepted from the remote device ...".

                          All texts are my translations from German, so
            the will be only
                          approximately correct.

                          Any advice for me and what debug info shall I
            supply?

                          Kind regards,
                          Hans


                 No, definitely not. I do updates/upgrades rather
            infrequently and I
                 issued (packed in a small script):

                 /usr/sbin/update-smart-drivedb
                 apt-get update
                 apt-get -y upgrade
                 apt-get -y autoremove

                 only after the error occurred.

                 Kind regards,
                 Hans


        root@robbe:/var/log/samba# dpkg -l | grep samba
rc samba 2:4.2.14+dfsg-0+deb8u6 amd64 SMB/CIFS file, print, and login server for Unix ii samba-common 2:4.2.14+dfsg-0+deb8u7 all common files used by both the Samba server and client ii samba-dsdb-modules 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba Directory Services Database ii samba-libs:amd64 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba core libraries ii samba-vfs-modules 2:4.2.14+dfsg-0+deb8u7+b1 amd64 Samba Virtual FileSystem plugins ii vlc-plugin-samba 2.2.6-1~deb8u1 amd64 Samba plugin for VLC
        root@robbe:/var/log/samba#

        Kind regards,
        Hans





Reply to: