ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Samba Issues

    IT Discussion
    linux samba fedora
    5
    16
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • momurdaM
      momurda
      last edited by

      First thing is to always check /var/log/whateverisntworking
      /var/log/samba should have your logs there.

      ObsolesceO 1 Reply Last reply Reply Quote 1
      • ObsolesceO
        Obsolesce @momurda
        last edited by

        @momurda said in Samba Issues:

        First thing is to always check /var/log/whateverisntworking
        /var/log/samba should have your logs there.

        Those say the same thing.

        1 Reply Last reply Reply Quote 0
        • momurdaM
          momurda
          last edited by

          Cant be the only log information in your logs, unless you dont have logging turned on.
          If it is you need to change smb.conf to allow more verbose logging.

          ObsolesceO 1 Reply Last reply Reply Quote 0
          • ObsolesceO
            Obsolesce @momurda
            last edited by

            @momurda said in Samba Issues:

            Cant be the only log information in your logs, unless you dont have logging turned on.
            If it is you need to change smb.conf to allow more verbose logging.

            The errors are pictured at the top and seem clear, I just don't know how to fix it, or what they mean exactly... a bunch of google searching shows a lot of fixes that don't work or apply.

            1 Reply Last reply Reply Quote 0
            • black3dynamiteB
              black3dynamite
              last edited by

              I know I say this a lot, but could it be an SELinux permission?

              1 Reply Last reply Reply Quote 0
              • dafyreD
                dafyre
                last edited by

                I would also suggest taking a close look at the logs. It's screaming about not having enough Memory... How much RAM do you have on the server -- and do you have a swapfile enabled?

                1 Reply Last reply Reply Quote 2
                • momurdaM
                  momurda
                  last edited by

                  you can try
                  testparm /etc/samba/smb.conf
                  to see if there is an error in the config
                  If not, something else is wrong.

                  ObsolesceO 1 Reply Last reply Reply Quote 2
                  • ObsolesceO
                    Obsolesce @momurda
                    last edited by

                    @momurda said in Samba Issues:

                    you can try
                    testparm /etc/samba/smb.conf
                    to see if there is an error in the config
                    If not, something else is wrong.

                    All's well there.

                    Load smb config files from /etc/samba/smb.conf
                    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
                    Processing section "[share1]"
                    Processing section "[share2]"
                    Processing section "[share3]"
                    Loaded services file OK.
                    WARNING: You have some share names that are longer than 12 characters.
                    These may not be accessible to some older clients.
                    (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
                    Server role: ROLE_DOMAIN_MEMBER
                    
                    Press enter to see a dump of your service definitions
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • ObsolesceO
                      Obsolesce
                      last edited by Obsolesce

                      I got it working with Winbind, after reinstalling the OS (Fedora 28). The same issue persisted using sssd even after a new install. So Winbind it is, something changed somewhere via an update or something, because it was working a month ago, and there were no configuration changes from me.

                      I had /home as a separate LVM partition, so reinstalling from netinstall (minimal) was easy without losing /home, which has about 9TB of data in it.

                      I'll post a fix once I unscramble my notes.

                      1 Reply Last reply Reply Quote 2
                      • ObsolesceO
                        Obsolesce
                        last edited by

                        I posted the fix here: https://www.timothygruber.com/linux/samba-file-server-with-microsoft-ad/#Install_Packages

                        Basically, you add the --client-software=winbind switch to your realm join command, making sure you have the pre-reqs and correct SAMBA configuration afterwards.

                        momurdaM 1 Reply Last reply Reply Quote 1
                        • momurdaM
                          momurda @Obsolesce
                          last edited by

                          @obsolesce Did you change your username?

                          ObsolesceO scottalanmillerS 2 Replies Last reply Reply Quote 0
                          • ObsolesceO
                            Obsolesce @momurda
                            last edited by

                            @momurda said in Samba Issues:

                            @obsolesce Did you change your username?

                            Yes, due to some personal reasons.
                            </nameChangeTopic>

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @momurda
                              last edited by

                              @momurda said in Samba Issues:

                              @obsolesce Did you change your username?

                              The old one was... obsolete.

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post