non-root users can't query LDAP via nslcd starting in 21.04
Bug #1954997 reported by
Aren Sandersen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nss-pam-ldapd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The core issue is that /var/run/nslcd is created with 750, not 755.
nslcd.postinst creates /var/run/nslcd via adduser:
adduser --system --group --home /var/run/nslcd/ \
--gecos "nslcd name service LDAP connection daemon" \
nslcd
New in Ubuntu 21.04 is that HOME_MODE=750 is in login.defs. Now the permissions assigned to the /var/run/nslcd directory make it so non-root users can't communicate with nslcd via /var/run/
See: https:/
affects: | adduser (Ubuntu) → nss-pam-ldapd (Ubuntu) |
To post a comment you must log in.