mounting FreeBSD share on Linux RH9 - SMB

This is a discussion on mounting FreeBSD share on Linux RH9 - SMB ; I'm running Samba 3.0.6-1 on a Linux RedHat 9.0 machine with a couple of Windoze machines as shares. I've built a FreeBSD (5.2.1-RELEASE) machine onto which I intend to move my serving operations (Web & e-mail). I've tried to mount ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: mounting FreeBSD share on Linux RH9

  1. mounting FreeBSD share on Linux RH9

    I'm running Samba 3.0.6-1 on a Linux RedHat 9.0 machine with a couple of
    Windoze machines as shares. I've built a FreeBSD (5.2.1-RELEASE)
    machine onto which I intend to move my serving operations (Web &
    e-mail). I've tried to mount the BSD machine without success. I have
    the O'Reilly "Using Samba" book and have tried the various smbclient
    commands listed without success. I am getting a "connection refused"
    message.

    Any help is appreciated. You may e-mail me direct if you wish.

    Thanks,
    Kevin Phillips

  2. Re: mounting FreeBSD share on Linux RH9

    On Tue, 28 Sep 2004 15:47:21 -0500,
    Kevin H. Phillips , in
    <2ru0v3F1d92nvU1@uni-berlin.de> wrote:

    >+ commands listed without success. I am getting a "connection refused"
    >+ message.


    What do the error logs say?

    James
    --
    Consulting Minister for Consultants, DNRC
    I can please only one person per day. Today is not your day. Tomorrow
    isn't looking good, either.
    I am BOFH. Resistance is futile. Your network will be assimilated.

  3. Re: mounting FreeBSD share on Linux RH9

    I R A Darth Aggie wrote:
    > On Tue, 28 Sep 2004 15:47:21 -0500,
    > Kevin H. Phillips , in
    > <2ru0v3F1d92nvU1@uni-berlin.de> wrote:
    >
    >
    >>+ commands listed without success. I am getting a "connection refused"
    >>+ message.

    >
    >
    > What do the error logs say?
    >
    > James


    You'll have to help me out on the location of the files; I don't see any
    error logs in /var/log/samba

    Kevin

  4. Re: mounting FreeBSD share on Linux RH9

    Kevin H. Phillips wrote:

    > I'm running Samba 3.0.6-1 on a Linux RedHat 9.0 machine with a couple of
    > Windoze machines as shares. I've built a FreeBSD (5.2.1-RELEASE)
    > machine onto which I intend to move my serving operations (Web &
    > e-mail). I've tried to mount the BSD machine without success. I have
    > the O'Reilly "Using Samba" book and have tried the various smbclient
    > commands listed without success. I am getting a "connection refused"
    > message.
    >
    > Any help is appreciated. You may e-mail me direct if you wish.
    >
    > Thanks,
    > Kevin Phillips

    Are you mounting from Linux to Samba running on BSD ...?

    There are three choices for copying files to/from the Samba server.
    1) smbclient utility
    2) smbfs
    3) and the newer cifs vfs

    smbclient is simple enough as an example - First make sure that the smbd is
    running on the server (e.g. on the server "ps -A | grep "smbd") and that
    your firewall is not blocking ports 139 and 445 on either machine. Also
    make sure that the username specified after -U is defined to Unix on the
    server and also has a samba password define on the Samba server (on the
    server you can do "smbpasswd -a yourusername" if the samba password is not
    defined). If you cannot connect to the system and aren't even getting to
    the point where the server fails user/password you may have problems with
    ports 445 and 139 being filtered on the way out of your box or the way in
    to the Samba box. You can always look in the client and servers samba log
    (e.g. log.smbd on the server) for more information. You can also use the
    ethereal network analyzer and trace whether you are able to setup a tcp
    session at all with the server.



  5. Re: mounting FreeBSD share on Linux RH9

    Steve French wrote:

    > Are you mounting from Linux to Samba running on BSD ...?
    >
    >

    Sorry to be so long getting back to this; I did some re-loading of the
    OS on the FreeBSD machine (downgraded to 4.9).

    I'm running the Samba server on the RedHat Linux 9.0 machine trying to
    mount (or copy files to) the FreeBSD machine which, at this point, is
    just a workstation on the network.

    I'll try some of the suggestions below and report back.

    This is some output from /var/log/samba/smbd.log:

    [2004/10/06 16:54:52, 1] nsswitch/winbindd_cm.c:cm_open_connection(333)
    failed tcon_X with NT_STATUS_OK
    [2004/10/06 16:54:52, 0] lib/access.c:check_access(328)
    Denied connection from (66.12.13.186)
    [2004/10/06 16:54:52, 1] smbd/process.crocess_smb(1085)
    Connection denied from 66.12.13.186
    [2004/10/06 16:54:52, 0] lib/util_sock.c:read_socket_with_timeout(321)
    read_socket_with_timeout: timeout read. read error = Connection reset
    by peer.
    [2004/10/06 16:54:52, 1] nsswitch/winbindd_cm.c:cm_open_connection(333)
    failed tcon_X with NT_STATUS_OK
    [2004/10/06 16:54:52, 0] lib/access.c:check_access(328)
    Denied connection from (66.12.13.186)
    [2004/10/06 16:54:52, 1] smbd/process.crocess_smb(1085)
    Connection denied from 66.12.13.186
    [2004/10/06 16:54:52, 0] lib/util_sock.c:read_socket_with_timeout(321)
    read_socket_with_timeout: timeout read. read error = Connection reset
    by peer.
    [2004/10/06 16:54:52, 1] nsswitch/winbindd_cm.c:cm_open_connection(333)
    failed tcon_X with NT_STATUS_OK


    The output from /var/log/samba/log.smbd doesn't make much sense:
    [2004/09/27 16:05:11, 0] smbd/server.c:main(760)
    smbd version 3.0.6 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2004
    [2004/09/27 17:38:16, 0] smbd/server.c:main(760)
    smbd version 3.0.6 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2004
    [2004/09/27 17:38:16, 0] param/loadparm.c:set_server_role(3815)
    Server's Role (logon server) conflicts with share-level security
    [2004/10/06 16:49:45, 0] smbd/server.c:main(760)
    smbd version 3.0.6 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2004
    [2004/10/06 16:49:45, 0] param/loadparm.c:set_server_role(3815)
    Server's Role (logon server) conflicts with share-level security


    Some output from /var/log/samba/nmdb.log:

    [2004/10/06 16:49:57, 0]
    nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
    *****

    Samba server SAMBA SERVER is now a domain master browser for
    workgroup MYGROUP on subnet 10.0.0.1

    *****
    [2004/10/06 16:50:09, 0]
    nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
    *****

    Samba name server SAMBA SERVER is now a local master browser for
    workgroup MYGROUP on subnet 66.12.13.186

    *****
    [2004/10/06 16:50:09, 0]
    nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
    *****

    Samba name server SAMBA SERVER is now a local master browser for
    workgroup MYGROUP on subnet 10.0.0.1

    *****


    I'm using SWAT to configure things.

    Thanks,
    Kevin



    There are three choices for copying files to/from the Samba server.
    > 1) smbclient utility
    > 2) smbfs
    > 3) and the newer cifs vfs
    >
    > smbclient is simple enough as an example - First make sure that the smbd is
    > running on the server (e.g. on the server "ps -A | grep "smbd") and that
    > your firewall is not blocking ports 139 and 445 on either machine. Also
    > make sure that the username specified after -U is defined to Unix on the
    > server and also has a samba password define on the Samba server (on the
    > server you can do "smbpasswd -a yourusername" if the samba password is not
    > defined). If you cannot connect to the system and aren't even getting to
    > the point where the server fails user/password you may have problems with
    > ports 445 and 139 being filtered on the way out of your box or the way in
    > to the Samba box. You can always look in the client and servers samba log
    > (e.g. log.smbd on the server) for more information. You can also use the
    > ethereal network analyzer and trace whether you are able to setup a tcp
    > session at all with the server.
    >
    >


+ Reply to Thread