• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Samba share problem

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Samba share problem

    The problem is it does not exist.

    Using Samba4. Share is defined as

    Code:
    [shared]
    path=/var/lib/samba/shared
    read only = no
    I restart samba, then

    Code:
    smblclient -l myhost
    And it is not listed. At all.

    Any ideas how something so flipping basic doesn't work?

    I have other shares working just fine. Is this a folder permissions thing?
    Knock first as I might be balancing my chakras.

    #2
    Originally posted by suityou01 View Post
    The problem is it does not exist.

    Using Samba4. Share is defined as

    Code:
    [shared]
    path=/var/lib/samba/shared
    read only = no
    I restart samba, then

    Code:
    smblclient -l myhost
    And it is not listed. At all.

    Any ideas how something so flipping basic doesn't work?

    I have other shares working just fine. Is this a folder permissions thing?
    What do the log files say...
    merely at clientco for the entertainment

    Comment


      #3
      Originally posted by eek View Post
      What do the log files say...
      There are none. This is the frustrating thing.

      Code:
      log file= /var/log/samba/log.%m
      log level = 5
      And nada. Nichts. Zip. Diddly.
      Knock first as I might be balancing my chakras.

      Comment


        #4
        Try:

        Code:
        browseable = yes

        Comment


          #5
          Originally posted by stek View Post
          Try:

          Code:
          browseable = yes
          Thanks Stek. No change.
          Knock first as I might be balancing my chakras.

          Comment


            #6
            This is mine:

            [stek]
            comment = Public Stuff
            path = /stek
            browsable = yes
            guest ok = yes
            read only = no
            create mask = 0755
            and (scrubbed a bit);

            [root@aix1 ~]# smbclient -L rhel6test -U stek
            Enter stek's password:
            Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.6.23-14.el6_6]

            Sharename Type Comment
            --------- ---- -------
            stek Disk Public Stuff
            IPC$ IPC IPC Service (Samba Server Version 3.6.23-14.el6_6)
            HP_Color_LaserJet_4700:1 Printer HP Color LaserJet 4700
            Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.6.23-14.el6_6]

            Server Comment
            --------- -------
            RHEL6TEST Samba Server Version 3.6.23-14.el6_6
            aix1 P740frame1

            Workgroup Master
            --------- -------
            MYGROUP RHEL6TEST
            [root@aix1 ~]#
            You using small 'l' or capital 'L'?

            Comment


              #7
              Originally posted by stek View Post
              This is mine:



              and (scrubbed a bit);



              You using small 'l' or capital 'L'?
              Capital L.

              browseable or browsable?
              Knock first as I might be balancing my chakras.

              Comment


                #8
                What version of Linux? New up to date versions don't use syslog so messages won't be where you think they are. they use journalctl...

                journalctl -u smbd.service
                Brexit is having a wee in the middle of the room at a house party because nobody is talking to you, and then complaining about the smell.

                Comment


                  #9
                  Originally posted by darmstadt View Post
                  What version of Linux? New up to date versions don't use syslog so messages won't be where you think they are. they use journalctl...

                  journalctl -u smbd.service
                  Yeah annoying! Changing stuff like that.

                  And you can't even upgrade RHEL5 to RHEL6 in place, WTF?

                  And no alt_disk_install either.

                  ToyTownOS....!

                  Comment


                    #10
                    Originally posted by darmstadt View Post
                    What version of Linux? New up to date versions don't use syslog so messages won't be where you think they are. they use journalctl...

                    journalctl -u smbd.service
                    Centos 7
                    Knock first as I might be balancing my chakras.

                    Comment

                    Working...
                    X