Adding this configuration file with the same configuration as was previously hardcoded (and giving this hardcoded values away) may be a good way of separation program logic and program configuration and thus making luci more flexible with authentization in question. In addition, if such file is marked as %config(noreplace) in the spec file, it can be safely modified by the administrator to serve his/her needs of authentication backend (just to be explicit: of course using anything else than is preconfigured may be claimed as unsupported [use on your own risk] but OTOH it will offer new possible setups that e.g. utilize kerberos for authentication). Note: this was fixed in the context of work on pkg-update upstream branch which means the fix ties closely to the major change brought from this branch into main-line upstream code in connection with bug #660446
This is fixed in http://git.fedorahosted.org/git/?p=luci.git;a=commit;h=9c25ee4129f6c18f54a4ac9e5fe30adfe755565a (by mistake, the commit header tells the wrong BZ number it addresses, it should be apparently number of this bug [#661123]). There is an important message for the fix of this bug: SASL2 library looks at /etc/sasl2 location for <appname>.conf configuration files since verion 2.1.22 (see http://www.postfix.org/SASL_README.html#server_cyrus_location). This fact is reflected in the spec file (Requires: cyrus-sasl >= 2.1.22), but pointing this out also at this place.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Result: Requires cyrus-sasl >= 2.1.22
To test this, basically this sequence (made after installation) will serve its purpose: 1. Check that SASL2 config. file has been installed properly: # ls -l /etc/sasl2/luci.conf -rw-r--r--. 1 root root 83 Dec 7 13:05 /etc/sasl2/luci.conf # rpm -qf /etc/sasl2/luci.conf luci-* 2. Check that luci authentication works as before: # service luci start (try to login to luci with system-wide user/pasword) # service luci stop 3. Check that content of /etc/sasl2/luci.conf is taken into account by SASL2 library by changing it so the next try to login into luci will fail: # sed -i.old "s/saslauthd/auxprop/" /etc/sasl2/luci.conf (repeat the step 2 which should be now unsuccessful) # mv -f /etc/sasl2/luci.conf.old /etc/sasl2/luci.conf (repeat the step 2 which should be now again successful)