snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
10.95k stars 3.16k forks source link

Issues with Setup - LDAP (Possible SMTP?) #8698

Open MandoYoda opened 3 years ago

MandoYoda commented 3 years ago

Please confirm you have done the following before posting your bug report:

Describe the bug Fresh install I have tried to sync our Snipe install to LDAP to be able to import the users. However I keep getting the error: Failed to authenticate on SMTP server with username "YOURUSERNAME" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 334 but got code "530", with message "530 must issue a STARTTLS command first

So I hadn't originally set SMTP settings, so I did that and cleared php cache and tried again, same error. I will post screen shots to hopefully help.

To Reproduce Steps to reproduce the behavior:

  1. Go to LDAP sync
  2. Click on Test Syncronization
  3. Scroll down to Debug mode
  4. See error

Expected behavior I would like to sync LDAP :)

Screenshots SMTP Settings LDAP1 LDAP2+DEDUB

Server (please complete the following information):

Desktop (please complete the following information):

Error Messages

Additional context

Add any other context about the problem here.

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

uberbrady commented 3 years ago

I think you actually need to click the STARTTLS checkbox in your LDAP settings? (It's a similar command as in SMTP, but it's for LDAP).

MandoYoda commented 3 years ago

Hi uberbrady, Yeah I did try that before, unfortunately no joy! Cheers

uberbrady commented 3 years ago

Hrm. Well, another option would be to try to use a ldaps:// URL, since the error here seems to be around SSL/TLS settings. Any luck there?