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

    Looking for an effective way to quickly access SMB shares from Fedora

    Scheduled Pinned Locked Moved IT Discussion
    smbfedora
    37 Posts 8 Posters 2.7k Views
    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.
    • DustinB3403D
      DustinB3403 @travisdh1
      last edited by

      @travisdh1 said in Looking for an effective way to quickly access SMB shares from Fedora:

      @IRJ said in Looking for an effective way to quickly access SMB shares from Fedora:

      @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

      @IRJ said in Looking for an effective way to quickly access SMB shares from Fedora:

      @JaredBusch said in Looking for an effective way to quickly access SMB shares from Fedora:

      Put your username and password in a text file in your hidden /home/user/.config folder.
      Create this file /home/user/.config/smb_creds
      With this content

      username=SMBUser
      password=SMBPassword
      

      Can I store domain there as well?

      You'd just enter the username as domain@user iirc

      ok. That is easy enough.

      I'd make another script to unmount the shares when your done with them as well.

      #!/bin/bash
      unmount /mount/point
      

      Might make that one big general dismount for all of the shares you might even use. Rather than a script per SMB server.

      travisdh1T 1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender @DustinB3403
        last edited by

        @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

        @IRJ said in Looking for an effective way to quickly access SMB shares from Fedora:

        @JaredBusch said in Looking for an effective way to quickly access SMB shares from Fedora:

        Put your username and password in a text file in your hidden /home/user/.config folder.
        Create this file /home/user/.config/smb_creds
        With this content

        username=SMBUser
        password=SMBPassword
        

        Can I store domain there as well?

        You'd just enter the username as domain@user iirc

        or domain\username depending on what type of domain you're connecting to.

        1 Reply Last reply Reply Quote 0
        • travisdh1T
          travisdh1 @DustinB3403
          last edited by

          @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

          @travisdh1 said in Looking for an effective way to quickly access SMB shares from Fedora:

          @IRJ said in Looking for an effective way to quickly access SMB shares from Fedora:

          @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

          @IRJ said in Looking for an effective way to quickly access SMB shares from Fedora:

          @JaredBusch said in Looking for an effective way to quickly access SMB shares from Fedora:

          Put your username and password in a text file in your hidden /home/user/.config folder.
          Create this file /home/user/.config/smb_creds
          With this content

          username=SMBUser
          password=SMBPassword
          

          Can I store domain there as well?

          You'd just enter the username as domain@user iirc

          ok. That is easy enough.

          I'd make another script to unmount the shares when your done with them as well.

          #!/bin/bash
          unmount /mount/point
          

          Might make that one big general dismount for all of the shares you might even use. Rather than a script per SMB server.

          I don't like unmounting multiple things with a single command. I've been burned by unmounting important things in the past.

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            On a side question, how do you guys deal with password changes and SMB shares that get mounted like this? Seems like it would be a pain in the rear to have to go and constantly update several files with new passwords every 90 days or so.

            DashrenderD travisdh1T 2 Replies Last reply Reply Quote 0
            • DashrenderD
              Dashrender @DustinB3403
              last edited by

              @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

              On a side question, how do you guys deal with password changes and SMB shares that get mounted like this? Seems like it would be a pain in the rear to have to go and constantly update several files with new passwords every 90 days or so.

              I know of no one who changes domain passwords that frequently - thank the maker. EHR passwords - that's another story.

              DustinB3403D 1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403 @Dashrender
                last edited by

                @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                On a side question, how do you guys deal with password changes and SMB shares that get mounted like this? Seems like it would be a pain in the rear to have to go and constantly update several files with new passwords every 90 days or so.

                I know of no one who changes domain passwords that frequently - thank the maker. EHR passwords - that's another story.

                You know me 🙂

                DashrenderD 1 Reply Last reply Reply Quote 0
                • travisdh1T
                  travisdh1 @DustinB3403
                  last edited by

                  @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                  On a side question, how do you guys deal with password changes and SMB shares that get mounted like this? Seems like it would be a pain in the rear to have to go and constantly update several files with new passwords every 90 days or so.

                  That's why I suggested prompting for the password in that sample script.

                  DustinB3403D 1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403 @travisdh1
                    last edited by

                    @travisdh1 said in Looking for an effective way to quickly access SMB shares from Fedora:

                    @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                    On a side question, how do you guys deal with password changes and SMB shares that get mounted like this? Seems like it would be a pain in the rear to have to go and constantly update several files with new passwords every 90 days or so.

                    That's why I suggested prompting for the password in that sample script.

                    Would you manually set the username instead though? (because users)

                    1 Reply Last reply Reply Quote 0
                    • DashrenderD
                      Dashrender @DustinB3403
                      last edited by

                      @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                      @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                      @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                      On a side question, how do you guys deal with password changes and SMB shares that get mounted like this? Seems like it would be a pain in the rear to have to go and constantly update several files with new passwords every 90 days or so.

                      I know of no one who changes domain passwords that frequently - thank the maker. EHR passwords - that's another story.

                      You know me 🙂

                      WTH are you doing that to your users?

                      travisdh1T DustinB3403D 2 Replies Last reply Reply Quote 0
                      • travisdh1T
                        travisdh1 @Dashrender
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403 @Dashrender
                          last edited by

                          @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                          @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                          @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                          @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                          On a side question, how do you guys deal with password changes and SMB shares that get mounted like this? Seems like it would be a pain in the rear to have to go and constantly update several files with new passwords every 90 days or so.

                          I know of no one who changes domain passwords that frequently - thank the maker. EHR passwords - that's another story.

                          You know me 🙂

                          WTH are you doing that to your users?

                          Because they choose to use Apple. . .

                          DashrenderD 1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403
                            last edited by

                            Also the command is umount not unmount atleast on Fedora 29.

                            travisdh1T 1 Reply Last reply Reply Quote 0
                            • travisdh1T
                              travisdh1 @DustinB3403
                              last edited by

                              @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                              Also the command is umount not unmount atleast on Fedora 29.

                              Typo by me

                              1 Reply Last reply Reply Quote 0
                              • Emad RE
                                Emad R @IRJ
                                last edited by Emad R

                                @IRJ

                                Gigolo

                                https://www.unixmen.com/how-to-access-remote-linux-and-windows-shares-with-gigolo/

                                1 Reply Last reply Reply Quote 0
                                • DashrenderD
                                  Dashrender @DustinB3403
                                  last edited by

                                  @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                                  @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                                  @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                                  @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                                  @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                                  On a side question, how do you guys deal with password changes and SMB shares that get mounted like this? Seems like it would be a pain in the rear to have to go and constantly update several files with new passwords every 90 days or so.

                                  I know of no one who changes domain passwords that frequently - thank the maker. EHR passwords - that's another story.

                                  You know me 🙂

                                  WTH are you doing that to your users?

                                  Because they choose to use Apple. . .

                                  what? why would t hat matter?

                                  DustinB3403D 1 Reply Last reply Reply Quote 0
                                  • DustinB3403D
                                    DustinB3403 @Dashrender
                                    last edited by

                                    @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                                    @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                                    @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                                    @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                                    @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                                    @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                                    On a side question, how do you guys deal with password changes and SMB shares that get mounted like this? Seems like it would be a pain in the rear to have to go and constantly update several files with new passwords every 90 days or so.

                                    I know of no one who changes domain passwords that frequently - thank the maker. EHR passwords - that's another story.

                                    You know me 🙂

                                    WTH are you doing that to your users?

                                    Because they choose to use Apple. . .

                                    what? why would t hat matter?

                                    It's the only reason I can give you, it's above my pay-grade and I figure someone wanted to make the users pay.

                                    DashrenderD 1 Reply Last reply Reply Quote 0
                                    • DashrenderD
                                      Dashrender @DustinB3403
                                      last edited by

                                      @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                                      @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                                      @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                                      @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                                      @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                                      @Dashrender said in Looking for an effective way to quickly access SMB shares from Fedora:

                                      @DustinB3403 said in Looking for an effective way to quickly access SMB shares from Fedora:

                                      On a side question, how do you guys deal with password changes and SMB shares that get mounted like this? Seems like it would be a pain in the rear to have to go and constantly update several files with new passwords every 90 days or so.

                                      I know of no one who changes domain passwords that frequently - thank the maker. EHR passwords - that's another story.

                                      You know me 🙂

                                      WTH are you doing that to your users?

                                      Because they choose to use Apple. . .

                                      what? why would t hat matter?

                                      It's the only reason I can give you, it's above my pay-grade and I figure someone wanted to make the users pay.

                                      talk about cutting off your nose to spite your face.

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        Francesco Provino
                                        last edited by

                                        Autofs.

                                        dafyreD 1 Reply Last reply Reply Quote 1
                                        • dafyreD
                                          dafyre @Francesco Provino
                                          last edited by

                                          @Francesco-Provino said in Looking for an effective way to quickly access SMB shares from Fedora:

                                          Autofs.

                                          I have done some tinkering with Autofs... It's interesting, but it did work. I don't have it set up on anything at the moment though.

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