snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

How to enable Active directory Authentication in snipe-it

Open sreejoo opened this issue 11 years ago • 42 comments

Hi,

This is an wonderful application to track all IT Assets. Can you please help me to login using Active directory ? If it is possible, it will more helpful and I can even configure Single Sign on feature to all users, Avoid multiple login for different application.

thanks Sreejooo

sreejoo avatar Feb 23 '15 04:02 sreejoo

Hi @sreejoo - Active Directory/LDAP support is not yet available in Snipe-IT.

snipe avatar Feb 24 '15 06:02 snipe

Hi - Is Active Directory/LDAP integration available? unable to integrate.

omerzubair80 avatar Sep 20 '16 01:09 omerzubair80

@omerzubair80 Yes, AD integration has been part of Snipe-IT since v2.4. https://snipe-it-manual.readme.io/docs/ldap

snipe avatar Sep 20 '16 01:09 snipe

Hi - thanks for your response, i tried with the following below settings but its not working in my environment, pls advise how to fix it?

ldap_1 ldap_2

omerzubair80 avatar Sep 20 '16 12:09 omerzubair80

Need logs or at the very least an explanation of what you're seeing when you try to import users from LDAP or have an LDAP user login.

snipe avatar Sep 20 '16 12:09 snipe

Hi, Im trying to integrate with my Active directory but getting the following error; Also, where can find the logs? pls advise. ldap_3

omerzubair80 avatar Sep 20 '16 12:09 omerzubair80

https://snipe-it.readme.io/docs/getting-help

Step 1.

snipe avatar Sep 20 '16 12:09 snipe

Are you sure your LDAP server is accessible from the web server you're running this on?

snipe avatar Sep 20 '16 12:09 snipe

Yes, the LDAP server is accessible see below the screenshot.

ldap_4

omerzubair80 avatar Sep 20 '16 12:09 omerzubair80

As requested, here below are the logs for review pls advise how to fix it? ldap_5

omerzubair80 avatar Sep 20 '16 12:09 omerzubair80

I need server logs, as requested in the Getting Help directions. A 500 error doesn't help me if I don't know what the specific error is.

snipe avatar Sep 20 '16 13:09 snipe

Hi, can you advise where to enable the debug? new to php.

omerzubair80 avatar Sep 20 '16 15:09 omerzubair80

https://snipe-it.readme.io/docs/getting-help

Step 1.

snipe avatar Sep 20 '16 15:09 snipe

screen shot 2016-09-20 at 8 17 13 am

snipe avatar Sep 20 '16 15:09 snipe

No luck to find .env, in centos 7; any idea where to locate?

omerzubair80 avatar Sep 20 '16 15:09 omerzubair80

It's there. Try ls -al in your snipeit root directory.

snipe avatar Sep 20 '16 16:09 snipe

(And if it's not there, I have no idea how you got this installation working at all, since creating that file is one of the first things you have to do.)

snipe avatar Sep 20 '16 16:09 snipe

I got it, but APP_DEBUG was not present have added the line APP_DEBUG=true. Know where to locate the debug logs files? ldap_9

omerzubair80 avatar Sep 20 '16 16:09 omerzubair80

This is why we ask you to fill in the issue template - knowing how you installed Snipe-IT in the first place would have saved me quite a bit of back and forth with you. Next time, please do not delete the template questions (or at least start your own issue here instead of resurrecting an old, closed thread).

And once again, the information you're looking for is on the same page I keep sending you: https://snipe-it.readme.io/docs/getting-help#step-3-check-your-app-and-server-logs

screen shot 2016-09-20 at 9 11 13 am

I'm happy to try and help you, but you've really got to read the documentation first.

snipe avatar Sep 20 '16 16:09 snipe

Hi - here is the requested log file for your review. logfile.docx

omerzubair80 avatar Sep 20 '16 16:09 omerzubair80