Installing Snipe-IT on CentOS 7 and MariaDB
-
@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?
-
On another note, it might be worth creating a feature request to simply import only a specific OU.
-
@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.
-
@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.
-
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?
-
@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?
-
@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.
-
@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.
-
Speaking of iPads etc, how are you managing them. Are you using an MDM, apple configurator?
Some combination?
-
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.
-
I'm glad to go over it with you in detail via email or PM if you like.
-
@jrc said in Installing Snipe-IT on CentOS 7 and MariaDB:
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.
-
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/
-
@emad-r said in Installing Snipe-IT on CentOS 7 and MariaDB:
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?
-
@scottalanmiller said in Installing Snipe-IT on CentOS 7 and MariaDB:
@emad-r said in Installing Snipe-IT on CentOS 7 and MariaDB:
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. -
@emad-r try
setenforce 0
and the go to the IP address. -
@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:
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.
-
Anyone done an Upgrade to V4 yet???? Got any notes/guides to do it smoothly
-
@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 -
@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 upgraded yesterday and it was a bit of a bitch to get done.