Page 5 of 5 FirstFirst ... 345
Results 41 to 44 of 44

Thread: Uanble to connect to local Samba server

  1. #41
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,247
    Blog Entries
    1

    Default Re: Uanble to connect to local Samba server

    Quote Originally Posted by JanDeAlleman View Post
    So, it seems my server is indeed using a deprecated protocol! (ubuntu's default, you would maybe like to know). Let's try to force a more modern one:
    Code:
    [global] 
            workgroup = WORKGROUP 
            server string = %h server 
            dns proxy = no 
            log file = /var/log/samba/log.%m 
            max log size = 1000 
            syslog = 0 
            panic action = /usr/share/samba/panic-action %d 
            client min protocol = SMB2 
            client max protocol = SMB3 
     
    [server] 
            comment = media server 
            browsable = yes 
            path = /home/jan/hardeschijf/ 
            guest ok = yes 
            read only = no
    I just examined your change to the Ubuntu samba server. BTW, which version of Ubuntu are you using?

    Anyway, I note that you specified 'client min protocol = SMB2' and 'client max protocol = SMB3', but for server directives this should be
    Code:
    min protocol = SMB2
    max protocol = SMB3
    These directives a synonyms for 'server min protocol' and 'server max protocol' respectively.

    Reference
    https://www.samba.org/samba/docs/cur...mb.conf.5.html

    With a share allowing guest access, it should be possible to mount on the fly using...
    Code:
    sudo mount -t cifs -o nosuid,nodev,relatime,gid=100,uid=1000,guest,file_mode=0770,dir_mode=0770 //192.168.178.72/server/Server/Music /media/music
    openSUSE Leap 15.2; KDE Plasma 5

  2. #42

    Default Re: Uanble to connect to local Samba server

    Quote Originally Posted by deano_ferrari View Post
    I just examined your change to the Ubuntu samba server. BTW, which version of Ubuntu are you using?

    Anyway, I note that you specified 'client min protocol = SMB2' and 'client max protocol = SMB3', but for server directives this should be
    Code:
    min protocol = SMB2
    max protocol = SMB3
    These directives a synonyms for 'server min protocol' and 'server max protocol' respectively.
    Of course it shouldn't! ****, that's quite obvious.
    And you know what? It solved my all of my problems! Thanks for the help all, you have been very patient.

  3. #43
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,247
    Blog Entries
    1

    Default Re: Uanble to connect to local Samba server

    Quote Originally Posted by JanDeAlleman View Post
    Of course it shouldn't! ****, that's quite obvious.
    And you know what? It solved my all of my problems! Thanks for the help all, you have been very patient.
    Well done. Glad to have been of guidance.
    openSUSE Leap 15.2; KDE Plasma 5

  4. #44
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    27,324

    Default Re: Uanble to connect to local Samba server

    Quote Originally Posted by JanDeAlleman View Post
    Of course it shouldn't! ****, that's quite obvious.
    And you know what? It solved my all of my problems! Thanks for the help all, you have been very patient.
    That is fine. Often it is just the discussion that helps.
    Henk van Velden

Page 5 of 5 FirstFirst ... 345

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •