[SSSD-users] lines beginning with spaces in sssd.conf

Stephen Gallagher sgallagh at redhat.com
Wed Oct 9 18:03:00 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/09/2013 01:22 PM, Dmitri Pal wrote:
> On 10/09/2013 01:05 PM, Ondrej Valousek wrote:
>> Hi List,
>> 
>> I have noticed that since F19 I can not use lines beginning with 
>> spaces in sssd.conf - sssd complains otherwise. Was this an
>> intentional change? I used spaces/white characters to ident the
>> config for better readability. Thanks,
>> 
>> Ondrej
>> 
>> 
>> _______________________________________________ sssd-users
>> mailing list sssd-users at lists.fedorahosted.org 
>> https://lists.fedorahosted.org/mailman/listinfo/sssd-users
> There was a change in the underlying libini_config library to
> treat spaces as wrappers by default.

Just to clarify what this means: libini_config changed its behavior so
that a leading space should be interpreted as a line-continuation from
the previous line. So if you had REALLY long data (such as a complex
ldap_search_filter), you could make it more readable by spreading it
out on multiple lines.


> It is probably a bug in the SSSD implementation of libini_config 
> Hm... yes.
> 
> Line 225 in 
> https://git.fedorahosted.org/cgit/sssd.git/tree/src/util/sss_ini.c 
> s/0/INI_PARSE_NOWRAP
> 
> You can definitely file a ticket for that.
> 

Feel free to file a ticket, but I think the wrapping behavior may
prove more useful. Hard to say.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJVmlQACgkQeiVVYja6o6PCyACfZrc8TlFM2mRdWQloSXTScWgR
2o4AnAx+Wh4ok21IlurhmDJM1FvaZIaB
=M0wB
-----END PGP SIGNATURE-----


More information about the sssd-users mailing list