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

Reply via email to