On 10/23/2015 06:02 PM, Pavel Březina wrote:
> On 10/23/2015 05:41 PM, Pavel Reichl wrote:
>> Thanks for rebase.
>>
>> I'm having little trouble testing now, it seems to me that user-show
>> does not work, but it's Friday evening so the problem might be between
>> between keyboard and chair :-)
>>
>> $ getent passwd john
>> john:*:1234:10000:John Doe:/home/john:/bin/bash
>>
>> sudo sss_override user-add john --name jon
>> SSSD needs to be restarted for the changes to take effect.
>>
>> $ sudo systemctl restart sssd
>>
>>
>> $ sudo sss_override user-find
>> john@ol:jon:::::
>>
>> sudo sss_override user-show john
>>
>>
>> This is what override looks for:
>>
(&(objectClass=userOverride)(overrideAnchorUUID=:LOCAL:name\\5c3Djohn\\5c,cn\\5c3Dusers\\5c,cn\\5c3Dol\\5c,cn\\5c3Dsysd\220)
>>
>>
>>
>> This is content of cache:
>> ldbsearch -H cache_ol.ldb '(objectClass=userOverride)'
overrideAnchorUUID
>> asq: Unable to register control with rootdse!
>> # record 1
>> dn:
>>
overrideAnchorUUID=:LOCAL:name\3Djohn\,cn\3Dusers\,cn\3Dol\,cn\3Dsysdb,cn=LOCAL,cn=views,cn=sysdb
>>
>>
>> overrideAnchorUUID::
>> OkxPQ0FMOm5hbWVcM0Rqb2huXCxjblwzRHVzZXJzXCxjblwzRG9sXCxjb
>> lwzRHN5c2Ri
>
> Works for me, we'll debug it on Monday on site.
Ok, we found an access after free. 7th patch is attached. Fortunately, this is only hit
with new patches and won't show up in released version.
_______________________________________________
sssd-devel mailing list
sssd-devel(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
Thanks, I believe you have attached the 1st patch by accident (PATCH] sss_override: fix
access after free in get_object_dn())