Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: rlastinger on January 22, 2014, 12:04:49 AM

Title: user password change
Post by: rlastinger on January 22, 2014, 12:04:49 AM
So I have an external openldap environment with a self service user creation/deletion and password change tool that I wrote.  I also have an SME 8 server that I just stood up that looks like it uses openldap for authentication as well.

Is it possible for my to manage the user creation and password changes from my self service portal on the other openldap server?  How would I go about that?

It may not give me centralized authentication, but would at least give my users the appearance of it if I could manage both from my self service portal.
Title: Re: user password change
Post by: janet on January 22, 2014, 03:07:17 AM
rlastinger

See this thread, maybe it helps you
http://forums.contribs.org/index.php/topic,50503.msg254244.html#msg254244
& particularly this post & another one by Charlie, as I think they are applicable to your request
http://forums.contribs.org/index.php/topic,50503.msg254307.html#msg254307
Title: Re: user password change
Post by: CharlieBrady on January 22, 2014, 03:45:43 PM
So I have an external openldap environment with a self service user creation/deletion and password change tool that I wrote.  I also have an SME 8 server that I just stood up that looks like it uses openldap for authentication as well.

Simple answer - it doesn't.
Title: Re: user password change
Post by: rlastinger on January 22, 2014, 04:31:56 PM
It doesn't use openldap or my self service portal will not work?
Title: Re: user password change
Post by: Stefano on January 22, 2014, 04:46:03 PM
SME doesn't use (only) ldap for auth, i.e. you have real user (see /etc/passwd and /etc/shadows)

in any case SME can't use external db to authenticate users
Title: Re: user password change
Post by: rlastinger on January 22, 2014, 04:49:34 PM
gotcha.  so then if i wanted to have my program create and/or change user profile information from my other system, then it would need to make an ldap update as well as run user add.  What else would need to be done to make it successful?  I'm currently writing in Golang.  Should I switch to PHP for this?