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

    Installing Snipe-IT on CentOS 7 and MariaDB

    IT Discussion
    how to snipe-it centos linux centos 7 centos 7.1
    37
    290
    2.9m
    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.
    • B
      BoardinJunky
      last edited by

      Is it possible to restrict sign-in to only a specific group in AD? The ldap filter only seems to apply for ldap import. No matter what base DN I pick, every user is able to login and account gets created. Eg, only allow login for staff group and not students.

      D 1 Reply Last reply Reply Quote 1
      • D
        DustinB3403 @BoardinJunky
        last edited by

        @boardinjunky said in Installing Snipe-IT on CentOS 7 and MariaDB:

        Is it possible to restrict sign-in to only a specific group in AD? The ldap filter only seems to apply for ldap import. No matter what base DN I pick, every user is able to login and account gets created. Eg, only allow login for staff group and not students.

        Once you sync, can't you disable individual users per their Snipe-IT account settings?

        1 Reply Last reply Reply Quote 1
        • D
          DustinB3403
          last edited by

          On another note, it might be worth creating a feature request to simply import only a specific OU.

          B 1 Reply Last reply Reply Quote 1
          • B
            BoardinJunky @DustinB3403
            last edited by

            @dustinb3403 I'm able to get a single group to import via LDAP but I can't restrict login to ONLY that group.

            We have several thousand users, badly organized, so disabling them after a full import would be a pain.

            Ideally I'm looking to import a specific group via LDAP, which works at the moment, and then ONLY allow that group to login, which doesn't work. Anyone from the base DN can also login. I could turn off LDAP integration after doing the initial sync I guess but that means the passwords won't match after they change their AD ones.

            I feel like this SHOULD be possible but I'm not sure if I'm missing something obvious again in the settings.

            D 1 Reply Last reply Reply Quote 2
            • D
              DustinB3403 @BoardinJunky
              last edited by

              @boardinjunky said in Installing Snipe-IT on CentOS 7 and MariaDB:

              @dustinb3403 I'm able to get a single group to import via LDAP but I can't restrict login to ONLY that group.

              We have several thousand users, badly organized, so disabling them after a full import would be a pain.

              Ideally I'm looking to import a specific group via LDAP, which works at the moment, and then ONLY allow that group to login, which doesn't work. Anyone from the base DN can also login. I could turn off LDAP integration after doing the initial sync I guess but that means the passwords won't match after they change their AD ones.

              I feel like this SHOULD be possible but I'm not sure if I'm missing something obvious again in the settings.

              That makes a lot more sense. I'm not aware of any functionality or limits with LDAP, because I've not used it. I'd recommend jumping onto their Gitter page and speak with the developers directly.

              1 Reply Last reply Reply Quote 0
              • J
                jrc
                last edited by

                Ok, so I am thinking about giving this a go for our environment. We don't track software licenses, but do track physical inventory (computers, laptops, projectors etc).

                I assume I can import my current inventory into Snipe-IT via a CSV process? Can I also export to CSV?

                D 1 Reply Last reply Reply Quote 0
                • D
                  DustinB3403 @jrc
                  last edited by

                  @jrc said in Installing Snipe-IT on CentOS 7 and MariaDB:

                  Ok, so I am thinking about giving this a go for our environment. We don't track software licenses, but do track physical inventory (computers, laptops, projectors etc).

                  I assume I can import my current inventory into Snipe-IT via a CSV process? Can I also export to CSV?

                  Export from what, SnipeIT?

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jrc @DustinB3403
                    last edited by

                    @dustinb3403 said in Installing Snipe-IT on CentOS 7 and MariaDB:

                    @jrc said in Installing Snipe-IT on CentOS 7 and MariaDB:

                    Ok, so I am thinking about giving this a go for our environment. We don't track software licenses, but do track physical inventory (computers, laptops, projectors etc).

                    I assume I can import my current inventory into Snipe-IT via a CSV process? Can I also export to CSV?

                    Export from what, SnipeIT?

                    Yes, sorry. I meant export from Snipe-IT. We do this in order to comparisons and updates to some things in inventory, helps us locate devices that need to be updated and/or added.

                    EG - Export all Ipad 4s. Change some fields (location, assigned user etc) then re-import to update the records. This is very usefule when re-assigning iPads from classrooms onto iPad carts, or moving hundreds from one campus to another.

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      DustinB3403 @jrc
                      last edited by

                      @jrc said in Installing Snipe-IT on CentOS 7 and MariaDB:

                      @dustinb3403 said in Installing Snipe-IT on CentOS 7 and MariaDB:

                      @jrc said in Installing Snipe-IT on CentOS 7 and MariaDB:

                      Ok, so I am thinking about giving this a go for our environment. We don't track software licenses, but do track physical inventory (computers, laptops, projectors etc).

                      I assume I can import my current inventory into Snipe-IT via a CSV process? Can I also export to CSV?

                      Export from what, SnipeIT?

                      Yes, sorry. I meant export from Snipe-IT. We do this in order to comparisons and updates to some things in inventory, helps us locate devices that need to be updated and/or added.

                      EG - Export all Ipad 4s. Change some fields (location, assigned user etc) then re-import to update the records. This is very usefule when re-assigning iPads from classrooms onto iPad carts, or moving hundreds from one campus to another.

                      I'm not seeing an export functionality from what I have installed, but you can create reports with those details. And then subsequently upload that over your database.

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

                        Speaking of iPads etc, how are you managing them. Are you using an MDM, apple configurator?

                        Some combination?

                        J 2 Replies Last reply Reply Quote 0
                        • J
                          jrc @DustinB3403
                          last edited by jrc

                          @dustinb3403

                          Jamf's Casper Suite and DEP. So MDM.

                          Configurator is not really a management tool, it's a setup tool to get the iPads into the MDM reasonably quickly and with minimal interaction on each device.

                          1 Reply Last reply Reply Quote 1
                          • J
                            jrc @DustinB3403
                            last edited by

                            @dustinb3403

                            I'm glad to go over it with you in detail via email or PM if you like.

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              DustinB3403 @jrc
                              last edited by

                              @jrc said in Installing Snipe-IT on CentOS 7 and MariaDB:

                              @dustinb3403

                              I'm glad to go over it with you in detail via email or PM if you like.

                              Not at the moment, cause I'm tired and need a beer lol. So won't really be paying attention.

                              Remind me tomorrow maybe.

                              🙂

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

                                @scottalanmiller

                                Hi,

                                this guide no longer works on latest Centos

                                CentOS Linux release 7.3.1611 (Core)

                                I am starting to think that those install helper scripts from dev do more damage than good, and manual way are longer but better:

                                https://www.tecmint.com/install-snipe-it-asset-management-on-centos-ubuntu-debian/

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

                                  @emad-r said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                  @scottalanmiller

                                  Hi,

                                  this guide no longer works on latest Centos

                                  CentOS Linux release 7.3.1611 (Core)

                                  I am starting to think that those install helper scripts from dev do more damage than good, and manual way are longer but better:

                                  https://www.tecmint.com/install-snipe-it-asset-management-on-centos-ubuntu-debian/

                                  Which part is broken now?

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

                                    @scottalanmiller said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                    @emad-r said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                    @scottalanmiller

                                    Hi,

                                    this guide no longer works on latest Centos

                                    CentOS Linux release 7.3.1611 (Core)

                                    I am starting to think that those install helper scripts from dev do more damage than good, and manual way are longer but better:

                                    https://www.tecmint.com/install-snipe-it-asset-management-on-centos-ubuntu-debian/

                                    Which part is broken now?

                                    the script will actually report to you that it is finished installing successfully and you can browse to to your site, and it never works. so no real error was displayed. I reran everything a couple of times, same result.

                                    I dont want you to test or re-write anything, its their installer script and they changed it. Either that or I screwed something up but I sticked to the defaults.

                                    If you ask me installer scripts are nice and all, but they distance you from understanding the whole process, the guide I listed is not very accurate, for instance he actually use this command:
                                    systemctl enable start httpd
                                    but it will make you understand the whole process and troubleshoot it better.

                                    D JaredBuschJ 2 Replies Last reply Reply Quote 0
                                    • D
                                      DustinB3403 @Emad R
                                      last edited by

                                      @emad-r try setenforce 0 and the go to the IP address.

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @Emad R
                                        last edited by JaredBusch

                                        @emad-r said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                        @scottalanmiller said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                        @emad-r said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                        @scottalanmiller

                                        Hi,

                                        this guide no longer works on latest Centos

                                        CentOS Linux release 7.3.1611 (Core)

                                        I am starting to think that those install helper scripts from dev do more damage than good, and manual way are longer but better:

                                        https://www.tecmint.com/install-snipe-it-asset-management-on-centos-ubuntu-debian/

                                        Which part is broken now?

                                        the script will actually report to you that it is finished installing successfully and you can browse to to your site, and it never works. so no real error was displayed. I reran everything a couple of times, same result.

                                        I dont want you to test or re-write anything, its their installer script and they changed it. Either that or I screwed something up but I sticked to the defaults.

                                        If you ask me installer scripts are nice and all, but they distance you from understanding the whole process, the guide I listed is not very accurate, for instance he actually use this command:
                                        systemctl enable start httpd
                                        but it will make you understand the whole process and troubleshoot it better.

                                        You are not supposed to know how to install this from scratch. The developers supported method is to run the install.sh.

                                        If you do it any other way, then you need to accept that if it fails, it is your problem.

                                        This worked on 7.3 a couple months ago when I submitted the pull request to change it to use git on CentOS 7.

                                        I can test again later this week.

                                        1 Reply Last reply Reply Quote 1
                                        • hobbit666H
                                          hobbit666
                                          last edited by

                                          Anyone done an Upgrade to V4 yet???? Got any notes/guides to do it smoothly 🙂

                                          black3dynamiteB D 2 Replies Last reply Reply Quote 0
                                          • black3dynamiteB
                                            black3dynamite @hobbit666
                                            last edited by

                                            @hobbit666 said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                            Anyone done an Upgrade to V4 yet???? Got any notes/guides to do it smoothly 🙂

                                            I haven't upgraded yet. But I did my initial install using option 1(git clone).
                                            There is a detail documentation for upgrading.
                                            https://snipe-it.readme.io/v4.0/docs/upgrading-to-v4

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 14
                                            • 15
                                            • 7 / 15
                                            • First post
                                              Last post