Thanks for baring with me...looks like I set a log file without remembering it. That has been resolved but still isn't sending the email/text. Turned debugging on and get this:
CLIENT -> SERVER: EHLO 192.168.1.172 CLIENT -> SERVER: STARTTLS CLIENT -> SERVER: EHLO 192.168.1.172 CLIENT -> SERVER: AUTH LOGIN CLIENT -> SERVER: dXRpbGl0eUBzdWxsaXZhbmdyb3VwLmNvbQ== CLIENT -> SERVER: U3dpc3NBcm15S25pZmUh CLIENT -> SERVER: MAIL FROM:<s...@company.com> CLIENT -> SERVER: RCPT TO:<t...@company.com> CLIENT -> SERVER: DATA CLIENT -> SERVER: Date: Thu, 8 Dec 2016 17:47:22 -0500 CLIENT -> SERVER: To: t...@company.com CLIENT -> SERVER: From: Self Service Password <s...@company.com> CLIENT -> SERVER: Reply-To: Self Service Password <s...@company.com> CLIENT -> SERVER: Subject: Provider code CLIENT -> SERVER: Message-ID: < 4ae994389e42e167ef38b46ae5604f9e@192.168.1.172> CLIENT -> SERVER: X-Priority: 3 CLIENT -> SERVER: X-Mailer: PHPMailer 5.2.16 ( https://github.com/PHPMailer/PHPMailer) CLIENT -> SERVER: MIME-Version: 1.0 CLIENT -> SERVER: Content-Type: text/plain; charset=utf-8 CLIENT -> SERVER: CLIENT -> SERVER: Your password reset token is: 123456 CLIENT -> SERVER: CLIENT -> SERVER: . CLIENT -> SERVER: QUIT >From the looks of it, it is trying to use the localhost IP of the SSP server and not the SMTP address used in the $mail_smtp_host variable in config.inc.php. Which would explain why the email never goes out. On Thu, Dec 8, 2016 at 5:01 PM Lee Phillips <hitmandream...@gmail.com> wrote: > OK, ran into another issue with sending the sms token.The "A confirmation > code has been send by SMS" message appears after sending the token over > email to SMS on the website (I'd like to change send to sent, but that's > for another day). In the log I get the following: > > PHP Warning: error_log(/var/log/self-service-password): failed to open > stream: Permission denied in > /usr/share/self-service-password/pages/sendsms.php on line 227. > > The sendsms.php lines 226 and 227 are as follows: > > if (!empty($reset_request_log)) { > error_log("Send SMS code $smstoken to $sms\n\n", 3, $reset_request_log); > > Worth noting that /var/log/self-service-password is not a real folder path > on this server. So is it a file that doesn't have permission to do > something on the server or is it the user sending the email (smtp relay > auth) that doesn't have permissions to do something. Sounds like a file on > the server can't perform an action it needs to. > > On Thu, Dec 8, 2016 at 1:09 PM Lee Phillips <hitmandream...@gmail.com> > wrote: > > Brand new to the email list, not sure exactly how to reply to my own > initial email, hopefully this works. > > I got it working. My $ldap_url had the dc=test,dc=local at the end and > that was causing issues. Removed that and it now works. Knew it was > something silly. > > > > On Thu, Dec 8, 2016 at 11:49 AM Lee Phillips <hitmandream...@gmail.com> > wrote: > > Hello, I've worked on getting SSP setup for a few days now and am stuck. I > worked with KPTN in the IRC for a little today and have gotten further, but > still stuck. > > Here's where I'm at. I've setup SSP on an Ubuntu 16.04 server. Created a > test DC with Server 2012 R2 to connect to and test. Website works and is > accessible without issues. When trying to change a user password it > displays an error, "Login or password incorrect." It seems like it is > connecting but isn't able to pull the information. If the $ldap_url is > incorrect I obviously get a different error message that LDAP couldn't > connect. > > I can use ldapsearch on port 389 and retrieve the user information just > fine from the Ubuntu server. When I try ldapsearch with ldaps:// it also > shows that it connects correctly and displays the user information I > searched for. I have also turned on debug mode in the config.inc.php file > but not sure what it's doing. > > *Here is my LDAP config in config.inc.php:* > *# LDAP* > *$ldap_url = "ldaps://testdc.test.local:636/dc=test,dc=local";* > *$ldap_starttls = false;* > *$ldap_binddn = "cn=administrator,cn=users,dc=test,dc=local";* > *$ldap_bindpw = "MyPassword";* > *$ldap_base = "cn=users,dc=test,dc=local";* > *$ldap_login_attribute = "sAMAccountName";* > *$ldap_fullname_attribute = "cn";* > *$ldap_filter = "(&(objectClass=user) (sAMAccountName={login}) > (!(userAccountControl:1.2.840.113556.1.4.803:=2)))";* > > *$ad_mode = true;* > > All assistance is very much appreciated. Thank you. > >
_______________________________________________ ltb-users mailing list ltb-users@lists.ltb-project.org http://lists.ltb-project.org/listinfo/ltb-users