I'll start by saying that much of the documentation seems to have been lost/moved
after the project got moved off of fedorahosted.org
. The only way I was able to get to
the build instructions were via the wayback machine
In addition, I'm not a full time developer.
We have an LDAP server, and due to reasons out of my control from a time long long before
me, our uid field contains multiple entries. When users log on, if their uid isn't
matched to the rdn value, sssd defaults to using the first entry (which you all know).
This doesn't work for us because we can't predict (or change) the order of the
values, though we'd like to make sure a certain uid is always used.
The uid that we use internally is of a certain format (we prepend certain characters based
on classification). I've rewritten one of the functions in sysdb.c to check for a uid
that matches the format before defaulting to the first one. I've compiled/tested it
on fedora 25 and it works as intended. i.e. Users are able to log in with their intended
uid regardless of its order in LDAP. However, we use RHEL7. I can't build directly
on a rhel7 machine because there's a large list of dependencies that can't be
resolved. The list is below.
Could someone help point me in the direction that I need to go to solve this? I'm not
asking for code to be rewritten (I've already done that), I'm just looking for
help building it on another flavor. I'd like to build an RPM that can be easily loaded
onto new rhel7 vm's as we create them. I have the epel7 repo enabled, fwiw. I had
thought many of these packages would be available there.
cifs-utils-devel, jansson-devel, libcollection-devel, libdhash-devel >= 0.4.2,
libini_config-devel >= 1.1, libldb-devel, libnfsidmap-devel, libnl3-devel,
libsemanage-devel, libsmbclient-devel, libtalloc-devel, libtdb-devel, libtevent-devel,