- Disable the python utilities
- Don't bother with failing pylint test as we don't ship the python utilities
- Drop unused validname and exitcode patches, port strtoid overflow patch
- Get rid of all conditions that are always true for both EPEL-7 and Fedora
as it's quite unlikely we'd use this specfile on EPEL-6
- Remove the sysvinit script and all the scriptlets around it
- Unconditionally use systemd scriptlet macros and systemd_requires
- Unconditionally build the PAM module as the PADL module is long dead
- Remove the auto-migration of settings from nss_ldap as it's been
long gone from Fedora
- Don't check /etc/sysconfig/authconfig as authconfig is on its way
out from Fedora
- Use only spaces, not tabs, to stop my editor from looking like a
Christmas tree
- Remove the obsolete Group stanza
- Make nscd Recommended, not Required
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
- where we check for USELDAP=yes in /etc/sysconfig/authconfig as an indication
of nss_ldap being in use, to decide whether to enable the nslcd service or
not, also check for USELDAPAUTH=yes, which indicates pam_ldap is being used
- in %%post, attempt to rewrite any instances of "map group uniqueMember ..."
to be "map group member ..." in nslcd.conf, as the attribute name changed
in 0.8.4 (via freeipa ticket #3589)
- when deciding where to put systemd configuration, based
on patch from Václav Pavlín (#850232)
- use new systemd macros for scriptlet hooks, when available, based on
patch from Václav Pavlín (#850232)
Add "After=named.service dirsrv.target slapd.service" to nslcd.service,
to make sure that nslcd is started after them if they're also running on
the local system (#832706).
Newer releases which don't have a separate /usr don't require any weird
tricks when making symlinks from /usr/lib to /lib, and don't require us
to do anything special to get PAM modules into /lib instead of /usr/lib.
Still, keep paths the same as they were before on releases that went out
before we made this change.
Merge two patches for cutting down EPIPE errors in nslcd into one, and
try to cover other cases where the client doesn't flush its read buffer
before hanging up on the server.
Remove no-longer-needed backport for support of "DNS:DOMAIN" as a way of
specifying which domain to search for LDAP SRV records when attempting
to discover the server location using DNS.