Koozali.org: home of the SME Server

user password change

Offline rlastinger

  • *
  • 5
  • +0/-0
  • R & D dude
user password change
« 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.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: user password change
« Reply #1 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
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: user password change
« Reply #2 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.

Offline rlastinger

  • *
  • 5
  • +0/-0
  • R & D dude
Re: user password change
« Reply #3 on: January 22, 2014, 04:31:56 PM »
It doesn't use openldap or my self service portal will not work?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: user password change
« Reply #4 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

Offline rlastinger

  • *
  • 5
  • +0/-0
  • R & D dude
Re: user password change
« Reply #5 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?