Cannot make a samba connection

Kernels & Hardware, configuring network, installing services

Cannot make a samba connection

Postby jjanderson5 » 2019-10-08 02:46

I am running a Debian release of the Bunsenlabs Helium release. When I run

Code: Select all
 uname -a


I get:

Linux roe 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3 (2019-09-02) x86_64 GNU/Linux


On my windows 10 box, I am running Samba 2 and I am trying to get smbclient to
work with the windows box so I can transfer data between the two hosts.

Earlier today, I ran:

smbclient -L localhost
WARNING: The "syslog" option is deprecated
Enter root's password:


and got:

Code: Select all
    Domain=[SOSTIRE] OS=[Windows 6.1] Server=[Samba 4.5.16-Debian]

        Sharename       Type      Comment
        ---------       ----      -------
        print$          Disk      Printer Drivers
        IPC$            IPC       IPC Service (Samba 4.5.16-Debian)
    Domain=[SOSTIRE] OS=[Windows 6.1] Server=[Samba 4.5.16-Debian]

        Server               Comment
        ---------            -------
        ROE                  Samba 4.5.16-Debian
        SOS1                 SOS Tire Service

        Workgroup            Master
         ---------                  -------
        SOSTIRE              SOS1


I can still ping my Windows PC and the Windows PC seems to be
running now that same as it did before.
But when I run the same command, I get:

Code: Select all
    Sharename       Type      Comment
    ---------       ----      -------
    homes           Disk      Home Directories
    print$          Disk      Printer Drivers
    IPC$            IPC       IPC Service (Samba 4.5.16-Debian)

    Server            Comment
    ---------            -------

    Workgroup        Master
    ---------              -------



If I run the same command at debug level 3, I get:

Code: Select all
smbclient -d 3 -L localhost
    lp_load_ex: refreshing parameters
    Initialising global parameters
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
    Processing section "[global]"
    WARNING: The "syslog" option is deprecated
    added interface eno1 ip=192.168.0.235 bcast=192.168.0.255 netmask=255.255.255.0
    Client started (version 4.5.16-Debian).
    Enter root's password:
    Connecting to ::1 at port 445
    Doing spnego session setup (blob length=74)
    got OID=1.3.6.1.4.1.311.2.2.10
    got principal=not_defined_in_RFC4178@please_ignore
    GENSEC backend 'gssapi_spnego' registered
    GENSEC backend 'gssapi_krb5' registered
    GENSEC backend 'gssapi_krb5_sasl' registered
    GENSEC backend 'spnego' registered
    GENSEC backend 'schannel' registered
    GENSEC backend 'naclrpc_as_system' registered
    GENSEC backend 'sasl-EXTERNAL' registered
    GENSEC backend 'ntlmssp' registered
    GENSEC backend 'ntlmssp_resume_ccache' registered
    GENSEC backend 'http_basic' registered
    GENSEC backend 'http_ntlm' registered
    GENSEC backend 'krb5' registered
    GENSEC backend 'fake_gssapi_krb5' registered
    Got challenge flags:
    Got NTLMSSP neg_flags=0x628a8215
    NTLMSSP: Set final flags:
    Got NTLMSSP neg_flags=0x62088215
    NTLMSSP Sign/Seal - Initialising with flags:
    Got NTLMSSP neg_flags=0x62088215

        Sharename       Type      Comment
        ---------       ----      -------
        homes           Disk      Home Directories
        print$          Disk      Printer Drivers
        IPC$            IPC       IPC Service (Samba 4.5.16-Debian)
    Connecting to ::1 at port 139
    Doing spnego session setup (blob length=74)
    got OID=1.3.6.1.4.1.311.2.2.10
    got principal=not_defined_in_RFC4178@please_ignore
    Got challenge flags:
    Got NTLMSSP neg_flags=0x628a8215
    NTLMSSP: Set final flags:
    Got NTLMSSP neg_flags=0x62088215
    NTLMSSP Sign/Seal - Initialising with flags:
    Got NTLMSSP neg_flags=0x62088215

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------


I can see nothing obviously wrong, but I really don't have any experience
running samba. Does anyone see what is causing the problem? Should I run the debuglevel
at a high level?

Jim A.
jjanderson5
 
Posts: 8
Joined: 2014-09-10 01:58

Re: Cannot make a samba connection

Postby Head_on_a_Stick » 2019-10-12 10:54

jjanderson5 wrote:I am running a Debian release of the Bunsenlabs Helium release.

Please ask on their forums, these boards are for Debian users.
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10599
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Cannot make a samba connection

Postby jjanderson5 » 2019-10-31 20:07

I'm sorry if I posted improperly, but isn't Bunsenlabs Linux a distribution build on top of Debian, i.e. a Debian derivative? My logic was that this problem is in the underlying Debian release and hence common to all Debian derivatives.
jjanderson5
 
Posts: 8
Joined: 2014-09-10 01:58

Re: Cannot make a samba connection

Postby Head_on_a_Stick » 2019-11-02 18:49

jjanderson5 wrote:isn't Bunsenlabs Linux a distribution build on top of Debian, i.e. a Debian derivative? My logic was that this problem is in the underlying Debian release and hence common to all Debian derivatives.

The BunsenLabs developers apply *many* configuration changes to the base Debian system, including their own repositories, and forum users here will not know those differences. As such, any threads about Debian derivatives constitute a waste of this forums' resources. The website for the aforementioned distribution does make very clear that all questions be directed to their boards and not posted here, I happen to know they are very well funded so please take advantage of this.
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10599
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to System configuration

Who is online

Users browsing this forum: No registered users and 16 guests

fashionable