Results 1 to 6 of 6

Thread: openSuse 13.1 & NAS & Samba

  1. #1

    Default openSuse 13.1 & NAS & Samba

    Hello, I am really desperate and I would like to ask you for help...

    I have installed NAS and I would like to share data with my Notebook via Samba where is installed openSuse 13.1 (and also via another notebook with Win).

    I have created folder in webinterface on NAS, I have put it in fstab on Notebook, mounted and I can see it is mounted.

    But! I can see in Krusader that free space is 0B from 20MB, although on NAS is no limit, it is almost free 3TB disc and I can in Notebook to create folders there but I cant upload data due to no free space.
    If I use FTP I can.

    Please, what can be wrong?

    Thank you.

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: openSuse 13.1 & NAS & Samba

    Quote Originally Posted by atilius View Post
    Hello, I am really desperate and I would like to ask you for help...

    I have installed NAS and I would like to share data with my Notebook via Samba where is installed openSuse 13.1 (and also via another notebook with Win).

    I have created folder in webinterface on NAS, I have put it in fstab on Notebook, mounted and I can see it is mounted.

    But! I can see in Krusader that free space is 0B from 20MB, although on NAS is no limit, it is almost free 3TB disc and I can in Notebook to create folders there but I cant upload data due to no free space.
    If I use FTP I can.

    Please, what can be wrong?

    Thank you.
    I am not a NAS expert, but I have a super Samba bash script that can create all you need to get Samba up and running. Get the bash script and read all blog info and comments as lots of help is in the blog post.

    S.A.C.T. - Samba Automated Configuration Tool - Version 1.06 - Blogs - openSUSE Forums

    Please install the sact bash script and please ask any questions you may have.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3

    Default Re: openSuse 13.1 & NAS & Samba

    I'm trying to share a folder on my SUSE box so it can be accessed from a Windows machine. All this worked fine on 12.3 before I upgraded to 13.1. I tried running your SACT program and I got the following output from "Show Samba program operational status":

    Code:
    Terminal Command: smbstatus 
    
    Failed to initialize session_global: NT_STATUS_ACCESS_DENIED
    Failed to initialize session_global: NT_STATUS_ACCESS_DENIED
    Failed to traverse sessions: NT_STATUS_ACCESS_DENIED
    
    
    Samba version 4.1.0-3.5.1-3087-SUSE-oS13.1-x86_64
    PID     Username      Group         Machine                        
    -------------------------------------------------------------------
    
    
    Service      pid     machine       Connected at
    -------------------------------------------------------
    
    
    No locked files
    
    
    
    
    
    
    Error Code on Command Exit = 0, 0 = Success
    
    
    
    
    End Of Listing (Q=Quit) ...
    Any ideas? Thanks.

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: openSuse 13.1 & NAS & Samba

    Quote Originally Posted by djbrunell View Post
    I'm trying to share a folder on my SUSE box so it can be accessed from a Windows machine. All this worked fine on 12.3 before I upgraded to 13.1. I tried running your SACT program and I got the following output from "Show Samba program operational status":

    Code:
    Terminal Command: smbstatus 
    
    Failed to initialize session_global: NT_STATUS_ACCESS_DENIED
    Failed to initialize session_global: NT_STATUS_ACCESS_DENIED
    Failed to traverse sessions: NT_STATUS_ACCESS_DENIED
    
    
    Samba version 4.1.0-3.5.1-3087-SUSE-oS13.1-x86_64
    PID     Username      Group         Machine                        
    -------------------------------------------------------------------
    
    
    Service      pid     machine       Connected at
    -------------------------------------------------------
    
    
    No locked files
    
    
    
    
    
    
    Error Code on Command Exit = 0, 0 = Success
    
    
    
    
    End Of Listing (Q=Quit) ...
    Any ideas? Thanks.
    I get that same error and it seems to be version 4 related but it still works just fine. I prefer picking (1) form main menu then (6) and here is what I get:

    Code:
      Terminal Command: /bin/systemctl status nmb.service
    
    nmb.service - LSB: Samba NetBIOS naming service over IP
       Loaded: loaded (/etc/init.d/nmb)
       Active: active (running) since Fri 2013-11-22 10:07:47 CST; 6h ago
       CGroup: /system.slice/nmb.service
               └─3624 /usr/sbin/nmbd -D -s /etc/samba/smb.conf
    
    
    Terminal Command: /bin/systemctl status smb.service
    
    smb.service - LSB: Samba SMB/CIFS file and print server
       Loaded: loaded (/etc/init.d/smb)
       Active: active (running) since Fri 2013-11-22 10:07:47 CST; 6h ago
       CGroup: /system.slice/smb.service
               ├─3650 /usr/sbin/smbd -D -s /etc/samba/smb.conf
               └─3652 /usr/sbin/smbd -D -s /etc/samba/smb.conf
    So, what we need is:

    1. Your Workgroup Name is?
    2. What is your PC Name?
    3. What are you trying to share? On What PC to What PC?
    4. Have you setup a user name and password on openSUSE Samba and Windows?
    5. Exactly what do you think is not working?
    6. How did you create your smb.conf file? and can you post a copy here inside code # tags?
    7. How is your firewall setup?
    8. Did you read all text in my sact blog?

    Just a few questions to answer.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5
    Join Date
    Apr 2009
    Location
    Plantation, FL
    Posts
    130

    Default Re: openSuse 13.1 & NAS & Samba

    Quote Originally Posted by jdmcdaniel3 View Post
    I get that same error and it seems to be version 4 related but it still works just fine. I prefer picking (1) form main menu then (6) and here is what I get:

    Code:
      Terminal Command: /bin/systemctl status nmb.service
    
    nmb.service - LSB: Samba NetBIOS naming service over IP
       Loaded: loaded (/etc/init.d/nmb)
       Active: active (running) since Fri 2013-11-22 10:07:47 CST; 6h ago
       CGroup: /system.slice/nmb.service
               └─3624 /usr/sbin/nmbd -D -s /etc/samba/smb.conf
    
    
    Terminal Command: /bin/systemctl status smb.service
    
    smb.service - LSB: Samba SMB/CIFS file and print server
       Loaded: loaded (/etc/init.d/smb)
       Active: active (running) since Fri 2013-11-22 10:07:47 CST; 6h ago
       CGroup: /system.slice/smb.service
               ├─3650 /usr/sbin/smbd -D -s /etc/samba/smb.conf
               └─3652 /usr/sbin/smbd -D -s /etc/samba/smb.conf
    So, what we need is:

    1. Your Workgroup Name is?
    2. What is your PC Name?
    3. What are you trying to share? On What PC to What PC?
    4. Have you setup a user name and password on openSUSE Samba and Windows?
    5. Exactly what do you think is not working?
    6. How did you create your smb.conf file? and can you post a copy here inside code # tags?
    7. How is your firewall setup?
    8. Did you read all text in my sact blog?

    Just a few questions to answer.

    Thank You,
    I have the same problem and this what I get

    Code:
    -------------------------------------------------------------------
     S.A.C.T.  -  Samba Automated Configuration Tool  -  Version 1.20  
    -------------------------------------------------------------------
    
    Terminal Command: /bin/systemctl status nmb.service
    
    nmb.service - LSB: Samba NetBIOS naming service over IP
       Loaded: loaded (/etc/init.d/nmb)
       Active: active (running) since Sun 2013-11-24 21:33:16 EST; 1min 37s ago
      Process: 11330 ExecStop=/etc/init.d/nmb stop (code=exited, status=0/SUCCESS)
      Process: 9194 ExecReload=/etc/init.d/nmb reload (code=exited, status=3)
      Process: 11341 ExecStart=/etc/init.d/nmb start (code=exited, status=0/SUCCESS)
       CGroup: /system.slice/nmb.service
               └─11350 /usr/sbin/nmbd -D -s /etc/samba/smb.conf
    
    
    Terminal Command: /bin/systemctl status smb.service
    
    smb.service - LSB: Samba SMB/CIFS file and print server
       Loaded: loaded (/etc/init.d/smb)
       Active: inactive (dead) since Sun 2013-11-24 21:33:16 EST; 1min 37s ago
      Process: 11321 ExecStop=/etc/init.d/smb stop (code=exited, status=0/SUCCESS)
      Process: 11304 ExecStart=/etc/init.d/smb start (code=exited, status=0/SUCCESS)
    
    
    Press Any Key to Continue ...
    as you can see there is an error in process 9194.

    This was working perfectly in 12.3. the smb.conf is the same

    this is it

    Code:
    # smb.conf is the main Samba configuration file. You find a full commented
    # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
    # samba-doc package is installed.
    # Date: 2011-03-01
    [global]
        netbios name = Monster
        passdb backend = smbpasswd
        name resolve order = bcast host lmhosts wins
        map to guest = Bad User
        preferred master = yes
        os level = 65
        printcap name = cups
        cups options = raw
        use client driver = yes
        server string = ""
        usershare allow guests = Yes
        usershare max shares = 100
        usershare owner only = false
        wins support = No
        workgroup = WORKGROUP
        wins server = 
    
    [printers]
        comment = All Printers
        path = /var/tmp
        printable = Yes
        create mask = 0700
        browseable = No
        guest ok = yes
    
    [print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
    
    [External-Disk]
        path = /home/cepiolidus/External-Disk
        read only = No
        guest ok = yes
        force user = cepiolidus
    
    [Wii]
        path = /home/cepiolidus/Wii
        read only = no
        guest ok = yes
        force user = cepiolidus
    
    [Music]
        path = /home/cepiolidus/Music
        read only = no
        guest ok = yes
        force user = cepiolidus
    each share is for drives mounted; in the firewall samba client, samba server and netbios are allowed in the internal zone.
    my firewall has the process ports open, but regardless, I have stooped it and I still get the same result.

    Any suggestions?

  6. #6
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: openSuse 13.1 & NAS & Samba

    Quote Originally Posted by cepiolidus View Post
    I have the same problem and this what I get

    Code:
    -------------------------------------------------------------------
     S.A.C.T.  -  Samba Automated Configuration Tool  -  Version 1.20  
    -------------------------------------------------------------------
    
    Terminal Command: /bin/systemctl status nmb.service
    
    nmb.service - LSB: Samba NetBIOS naming service over IP
       Loaded: loaded (/etc/init.d/nmb)
       Active: active (running) since Sun 2013-11-24 21:33:16 EST; 1min 37s ago
      Process: 11330 ExecStop=/etc/init.d/nmb stop (code=exited, status=0/SUCCESS)
      Process: 9194 ExecReload=/etc/init.d/nmb reload (code=exited, status=3)
      Process: 11341 ExecStart=/etc/init.d/nmb start (code=exited, status=0/SUCCESS)
       CGroup: /system.slice/nmb.service
               └─11350 /usr/sbin/nmbd -D -s /etc/samba/smb.conf
    
    
    Terminal Command: /bin/systemctl status smb.service
    
    smb.service - LSB: Samba SMB/CIFS file and print server
       Loaded: loaded (/etc/init.d/smb)
       Active: inactive (dead) since Sun 2013-11-24 21:33:16 EST; 1min 37s ago
      Process: 11321 ExecStop=/etc/init.d/smb stop (code=exited, status=0/SUCCESS)
      Process: 11304 ExecStart=/etc/init.d/smb start (code=exited, status=0/SUCCESS)
    
    
    Press Any Key to Continue ...
    as you can see there is an error in process 9194.

    This was working perfectly in 12.3. the smb.conf is the same

    this is it

    Code:
    # smb.conf is the main Samba configuration file. You find a full commented
    # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
    # samba-doc package is installed.
    # Date: 2011-03-01
    [global]
        netbios name = Monster
        passdb backend = smbpasswd
        name resolve order = bcast host lmhosts wins
        map to guest = Bad User
        preferred master = yes
        os level = 65
        printcap name = cups
        cups options = raw
        use client driver = yes
        server string = ""
        usershare allow guests = Yes
        usershare max shares = 100
        usershare owner only = false
        wins support = No
        workgroup = WORKGROUP
        wins server = 
    
    [printers]
        comment = All Printers
        path = /var/tmp
        printable = Yes
        create mask = 0700
        browseable = No
        guest ok = yes
    
    [print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
    
    [External-Disk]
        path = /home/cepiolidus/External-Disk
        read only = No
        guest ok = yes
        force user = cepiolidus
    
    [Wii]
        path = /home/cepiolidus/Wii
        read only = no
        guest ok = yes
        force user = cepiolidus
    
    [Music]
        path = /home/cepiolidus/Music
        read only = no
        guest ok = yes
        force user = cepiolidus
    each share is for drives mounted; in the firewall samba client, samba server and netbios are allowed in the internal zone.
    my firewall has the process ports open, but regardless, I have stooped it and I still get the same result.

    Any suggestions?
    So its obvious that you have a problem with nmb.service and need to start it up. The terminal command is:

    Code:
    sudo /bin/systemctl start nmb.service
    You need to get my bash script as it has all the enable/disable/start/stop stuff built in.

    S.A.C.T. - Samba Automated Configuration Tool - Version 1.06 - Blogs - openSUSE Forums

    If you read the blog you will find where there is a setting for wait for interfaces that can cause CIFS to fail if not set to 60 seconds. There is lots of self help stuff there you can use.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

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
  •