[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Trigger-like function
- To: Howard Chu <hyc@symas.com>
- Subject: Re: Trigger-like function
- From: Ervin Hegedüs <airween@gmail.com>
- Date: Sun, 23 Sep 2018 21:22:59 +0200
- Cc: openldap-technical@openldap.org
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=3RYVPwzTkA31qXYlsXkDISTFznICEJTknmHIuSPwclM=; b=npJxCtj+ofckklK2vCx5V3WaN8EFMa1ugevHL9JolSrpPtd7zqmXiMxSjsmtJmh4yZ VhfXlJSbwG0iVO4mthSTo22ffmZi3tfhJJqpPYIzSjnqh2SKBvmsRrR4GMzgcku6f3h3 +RyqjZCs6N/uCrgZK19GGQiJFna2gj1wD3UlTOmaQ3xfK5Woh4i0iWdbr4RtaVS96b4v 0Egst7hq0wAyfM9uebplp4X87GySB4jxraLkg1Z2v85ENbM+7iewEWPYSYw00YcB1Xmt c7P+eOXoEgXrparD8vKeSynTOSlV8wy/VksHGS8lZyrJbCwpl5X7gp8r/iBn5x/Yn5QI 5lLw==
- In-reply-to: <7ac2d1aa-f4d3-d269-dda2-b067253ce5ff@symas.com>
- References: <20180920083051.GA30926@arxnet.hu> <7ac2d1aa-f4d3-d269-dda2-b067253ce5ff@symas.com>
- User-agent: Mutt/1.5.24 (2015-08-30)
Hi,
On Thu, Sep 20, 2018 at 02:11:43PM +0100, Howard Chu wrote:
> Ervin Hegedüs wrote:
> > Hi,
> >
> > as I described in my previous thread[1], I have a web frontend
> > tool, where user can modify its own password - here the password
> > is a set of passwd attributes: userPassword, sambaNTPassword,
> > sambaLMPassword.
> >
> > Is there any way that when I give access to users to modify its
> > own password, and the user wants to modify it through LDAP(S),
> > instead of out web frontend, the samba passwords also updated
> > (with correct hash algorithm)?
>
> Use the smbk5pwd overlay.
I've tried it:
dn: cn=module,cn=config
cn: module
objectClass: olcModuleList
olcModulePath: /usr/lib/ldap/
olcModuleLoad: smbk5pwd
dn: olcOverlay=smbk5pwd,olcDatabase={1}mdb,cn=config
changetype: add
objectClass: olcSmbK5PwdConfig
objectClass: olcOverlayConfig
objectClass: olcConfig
objectClass: top
olcOverlay: smbk5pwd
olcSmbK5PwdEnable: samba
but when I changed the userPassword, the sambaNTPassword and
sambaLMPassword attributes doesn't changed.
What did I missed?
thanks,
a.