Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Cannot make a samba connection

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
jjanderson5
Posts: 19
Joined: 2014-09-10 01:58

Cannot make a samba connection

#1 Post by jjanderson5 »

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.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Cannot make a samba connection

#2 Post by Head_on_a_Stick »

jjanderson5 wrote:I am running a Debian release of the Bunsenlabs Helium release.
Please ask on their forums, these boards are for Debian users.
deadbang

jjanderson5
Posts: 19
Joined: 2014-09-10 01:58

Re: Cannot make a samba connection

#3 Post by jjanderson5 »

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.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Cannot make a samba connection

#4 Post by Head_on_a_Stick »

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.
deadbang

Post Reply