Merge ~sergiodj/ubuntu/+source/openldap:bug1557157-groovy into ubuntu/+source/openldap:ubuntu/devel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Christian Ehrhardt on 2020-06-17 | ||||
Approved revision: | 325b303a9caa8fab580dadfe663b7fb01cee08d7 | ||||
Merged at revision: | 325b303a9caa8fab580dadfe663b7fb01cee08d7 | ||||
Proposed branch: | ~sergiodj/ubuntu/+source/openldap:bug1557157-groovy | ||||
Merge into: | ubuntu/+source/openldap:ubuntu/devel | ||||
Diff against target: |
34 lines (+9/-1) 2 files modified
debian/apparmor-profile (+2/-1) debian/changelog (+7/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christian Ehrhardt | 2020-06-15 | Approve on 2020-06-17 | |
Canonical Server Team | 2020-06-15 | Pending | |
Review via email:
|
Description of the change
When using openldap with sasl authentication, the slapd process will communicate with the saslauthd daemon via a socket in {,/var}
This simple change implements the fix to allow the authentication process to happen.
It's possible to test it by doing:
$ lxc launch ubuntu-daily:groovy openldap-
$ lxc shell openldap-
# apt install slapd sasl2-bin ldap-utils apparmor-utils
(As the domain name, use "example.com").
# sed -i -e 's/^START=
# cat > /etc/ldap/
mech_list: PLAIN
pwcheck_method: saslauthd
__EOF__
# adduser openldap sasl
# aa-enforce /etc/apparmor.
# systemctl restart slapd.service
# systemctl restart saslauthd.service
# passwd root
(You can choose any password here. You will need to type it when running the next command.)
# ldapsearch -H ldapi:/// -LLL -b 'dc=example,dc=com' -s base -U root -Y PLAIN
If you are using the fixed package, you will see something like:
SASL username: root
SASL SSF: 0
dn: dc=example,dc=com
objectClass: top
objectClass: dcObject
objectClass: organization
o: example
dc: example
There is a PPA here: https:/
autopkgtest is still happy:
autopkgtest [11:05:28]: test slapd: -------
autopkgtest [11:05:29]: test slapd: - - - - - - - - - - results - - - - - - - - - -
slapd PASS (superficial)
autopkgtest [11:05:30]: @@@@@@@
slapd PASS (superficial)
Sergio Durigan Junior (sergiodj) wrote : | # |
On Tuesday, June 16 2020, Christian Ehrhardt wrote:
> Review: Needs Fixing
>
> Change itself LGTM, is is small simple and reasonable.
>
> But the groovy version number for an upload would need to be 2.4.50+
Sorry, you are correct. I fixed it and force-pushed, thanks!
> ultra-non-
"Fixed" as well :-). Years contributing to GNU causes these "side
effects" :-P.
Thanks,
--
Sergio
GPG key ID: E92F D0B3 6B14 F1F4 D8E0 EB2F 106D A1C8 C3CB BF14
Christian Ehrhardt (paelzer) wrote : | # |
To ssh://git.
* [new tag] upload/
Uploading to ubuntu (via ftp to upload.ubuntu.com):
Uploading openldap_
Uploading openldap_
Uploading openldap_
Uploading openldap_
Successfully uploaded packages.
Change itself LGTM, is is small simple and reasonable.
But the groovy version number for an upload would need to be 2.4.50+ dfsg-1ubuntu2
ultra-non- critical- bonus - double whitespace before the bug () in the changelog