smb client setup.
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 658 from 2004/2/10
    Thanks again guys, it's great to have so many willing to help.

    I think my syntax and usage is correct but my NAS is the issue.

    Thanks to Kenny on the MorphOS team emails, he also has a NAS from QNAP and found that the latest Samba security updates caused the same issues for him.

    Hopefully the manufacturer can provide suitable firmware to me.

    Until then I would be willing to help test any newer release for SMBFS or SMB=Handler.

    Thanks again!

    Matt
  • »15.07.09 - 13:14
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12075 from 2003/5/22
    From: Germany
    > Until then I would be willing to help test any newer release for
    > [...] SMB=Handler.

    Latest version of SMB-Connect is now 10 years old. I doubt there will ever be any newer release.
  • »15.07.09 - 14:07
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12075 from 2003/5/22
    From: Germany
    > I created a new admin account with a password and it still prompts
    > you twice for the password and after the 2nd attempt give you a
    > socket access from NAS1 denied! Access denied! [...] Any more ideas?

    From the SMB-Connect webpage:

    ------------------------------
    Problems while connect to share with error "socket access denied" in most cases result of these points
    1. The password must be uppercase (important in connection with NT-server)!
    2. the sharename must be uppercase!
    -----------------------------
  • »15.07.09 - 14:15
    Profile
  • Butterfly
    Butterfly
    outlawal2
    Posts: 87 from 2009/5/6
    I am glad to hear that you are able to use it, but until some specific instructions are provided outlining how to install Samba (I know how to configure it) I will still be dead in the water..

    I have asked for specific install instructions at least twice in this thread and have received things like "It isn't hard" as a response... This is probably accurate, but not really helpful if I don't know HOW to do it..

    Hence the reason for my asking!
    "Pride is a poor substitute for intelligence." Quote from Rambo...
  • »15.07.09 - 14:40
    Profile
  • Moderator
    Golem
    Posts: 766 from 2003/2/28
    From: Denmark
    Well ok, but people see the title of thread and read the posts, it's about the client. Sounds like what you're interested in is the server part? Remind me, what is your setup? (and if you didn't notice, I already provided installation instructions for smbclient)
  • »15.07.09 - 15:17
    Profile Visit Website
  • Butterfly
    Butterfly
    outlawal2
    Posts: 87 from 2009/5/6
    I am interested in using Samba so I can copy files from my Efika to my other PC's on my network... I would also like to copy files from my other PC's to the Efika...

    If this entails the use of the server portion than I would like that as well...

    Yes I did see your post about copying to the C: drive, but then what?
    Once again please forgive me as I am a SERIOUSLY new newbie to Morph..

    Thanks!
    "Pride is a poor substitute for intelligence." Quote from Rambo...
  • »15.07.09 - 15:54
    Profile
  • MorphOS Developer
    geit
    Posts: 1031 from 2004/9/23
    This is what I use to mount my windows shares if needed.

    smbfs workgroup=MSHEIMNETZ device=smb2 service=//192.168.0.110/SharedDocs/ volume=ASharedDocs

    Geit
  • »15.07.09 - 16:12
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    takemehomegrandma
    Posts: 2720 from 2003/2/24
    Do you really need the entire samba package? Try if smbfs your needs:

    1. Download the smbfs.lha archive.
    2. Put the unpacked smbfs program in your c
    3. Read the supplied documentation, which is very straight forward, down to the point, easy to understand, etc.
    4. Start the smbfs program with the options that is relevant for you. For instance:

    Quote:

    (...)

    Now you can start the file system. For example, to connect to the file server
    called 'sourcery' and the shared 'all' resource it exports, with that computer
    being a member of the workgroup 'Arbeitsgruppe', using the login name
    'PCGuest' and not providing any password you would enter the following:

    Run >NIL: SMBFS Workgroup=Arbeitsgruppe User=PCGuest Service=//sourcery/all



    All the options are discussed in the documentation...
    MorphOS is Amiga done right! :-)
    MorphOS NG will be AROS done right! :-)
  • »15.07.09 - 18:16
    Profile
  • Moderator
    Golem
    Posts: 766 from 2003/2/28
    From: Denmark
    Quote:

    outlawal2 wrote:
    I am interested in using Samba so I can copy files from my Efika to my other PC's on my network... I would also like to copy files from my other PC's to the Efika...

    If this entails the use of the server portion than I would like that as well...


    Luckily there's another thread here on MorphZone covering this. Also on the left you should have a search field you can use to find such threads.

    Quote:

    Yes I did see your post about copying to the C: drive, but then what?
    Once again please forgive me as I am a SERIOUSLY new newbie to Morph..


    Mkay... C: is not a drive, it is an assign pointing to SYS:C, that is the default location for third party cli/shell commands, smbclient is a command line utility. But read through that other thread and post followup questions there.
  • »15.07.09 - 18:21
    Profile Visit Website
  • Butterfly
    Butterfly
    outlawal2
    Posts: 87 from 2009/5/6
    OK THANKS to all three of you guys that responded to my last post...
    Now I will need to take the time to sift through what you guys have provided... I will check this out tonight (hopefully) and circle back later this week..

    Thanks again for the info and your continued patience!
    "Pride is a poor substitute for intelligence." Quote from Rambo...
  • »15.07.09 - 18:43
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12075 from 2003/5/22
    From: Germany
    > Download the smbfs.lha archive.

    Is there a reason for recommending such old version instead of a later one?
  • »15.07.09 - 18:54
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    takemehomegrandma
    Posts: 2720 from 2003/2/24
    Quote:


    outlawal2 wrote:

    Thanks again for the info and your continued patience!



    That's what friends (and this forum) is for! :-)
    MorphOS is Amiga done right! :-)
    MorphOS NG will be AROS done right! :-)
  • »15.07.09 - 18:59
    Profile
  • Caterpillar
    Caterpillar
    montymole
    Posts: 27 from 2008/10/23
    hi

    just Google'd the QNAP now that's an expensive bit of kit
    i had to make do with a old 1ghz itx board with 3few old drives running:
    Clarkconnect seems to work fine with all my set-ups

    but you would think the manufac's would keep it up2date....

    sorry i am no help to you....
  • »16.07.09 - 22:28
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 658 from 2004/2/10
    Hi Everyone,

    Was able to flash the Qnap NAS 119 with an old firmware with the hope to correct my access problems. Alas it still won't connect via SMB-net with the same password issues and SMBFS still gives object in use errors.

    Thanks Andreas_Wolf I make everything caps with the same results, but I never noticed that.

    Your right montymole, I thought by buying a more expensive NAS that was rated excellent for connectivity I would saved myself headaches.

    I will try to work with QNAP to provide a solution but, I highly doubt that they will put any time into the issue. My only real hope is for Olaf to correct SMBFS. I do wish that MOS developers would put some real effort into modern networking capabilities.
  • »17.07.09 - 03:29
    Profile
  • Caterpillar
    Caterpillar
    montymole
    Posts: 27 from 2008/10/23
    I will try to work with QNAP

    I would stick it on e-bay
    then, bid on a low powered itx board run it off a cf card and install FreeNas




    'clarkconnect i use now as it has the email server i was missing in FreeNas'

    wot ever way u go, best o luck
  • »18.07.09 - 21:51
    Profile
  • MorphOS Developer
    Piru
    Posts: 576 from 2003/2/24
    From: finland, the l...
    @matt3

    Your NAS is just fine, smbfs just was buggy. I've located the bug and fixed it. Expect smbfs 1.74 shortly.

    Here's a diff for the impatient (anyone building smbfs by themselves):
    http://sintonen.fi/temp/smbfs-writebraw-fix.diff
    (the patch applies against smbfs 1.73 available from http://amiga-smbfs.sourceforge.net/ )


    Anyone blaming QNAP for these "problems": This was NOT their fault. Any system running fresh samba had the same problem.


    [ Edited by Piru on 2009/7/22 0:48 ]
  • »21.07.09 - 22:44
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 658 from 2004/2/10
    Hi Piru,

    Thanks so much for the fixing the problem, I look forward to it.

    I must say that QNAP has been great to work with, they were willing to create a new firmware without the SAMBA updates if that would correct the issue. They also were very interested in MOS and contacted the team for clarification of issues.

    I would recommend their NAS's to all MOS users, they really are great!

    Matt

    [ Edited by matt3 on 2009/7/21 21:17 ]
  • »22.07.09 - 02:16
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    Impressiev responses, both from the Team and QNap people! Really, really great, and quite a first in MorphOS history!
  • »22.07.09 - 07:49
    Profile
  • MorphOS Developer
    Piru
    Posts: 576 from 2003/2/24
    From: finland, the l...
    Well, frankly it has nothing to do with MorphOS per se. :-)

    It just happens that I also have worked on smbfs quite a bit and know my way around. It wasn't that hard to track down this bug and fix it.

    Personally I've known about this problem for almost a year but since using ixemul 'cp' worked around it (now I know cp worked because it uses small writes) I had no real incentive to fix it, until now ;-)

    [ Edited by Piru on 2009/7/22 10:14 ]
  • »22.07.09 - 08:04
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 658 from 2004/2/10
    Hi Piru,

    I was curious, can SMBFS be compiled for MOS?

    Since I don't know how to patch a .diff, I will wait until you release it.

    Kind regards,

    Matt
  • »22.07.09 - 17:51
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    KennyR
    Posts: 872 from 2003/3/4
    From: #AmigaZeux, Gu...
    Hmm :) I probably should have told Piru a while ago back when SMBFS stopped working with new Samba. Unfortunately SMBFS's author doesn't develop it any more, but I had no idea Piru would know how to fix the problem.
  • »22.07.09 - 23:37
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    KennyR
    Posts: 872 from 2003/3/4
    From: #AmigaZeux, Gu...
    Panic over, Matt? The QNap's probably the best NAS on the market right now; I'd have hated to see you sell it for a simple (but very irritating) bug. It's so cutting edge, in fact, it's more liable to be incompatible with old software like SMBFS unfortunately!

    I haven't been very annoyed with it so far because up to today my main Pegasos hard disk had died and I was waiting for a replacement. Luckily Piru's timing is perfect.
  • »22.07.09 - 23:46
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12075 from 2003/5/22
    From: Germany
    > it's more liable to be incompatible with old software like SMBFS unfortunately!

    I wouldn't call April 2009 old ;-)
  • »23.07.09 - 15:53
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    KennyR
    Posts: 872 from 2003/3/4
    From: #AmigaZeux, Gu...
    Hmm yeah, looks like Olaf has been updating it lately...
  • »23.07.09 - 22:36
    Profile