PaulHowarth/Blog/2008-05-23

Friday 23rd May 2008

Fedora Project

Had a crack at Bug #447758, which again looked like an easy fix. It was a race condition in the setting of the ownership of a home directory created by smbldap-useradd, whereby a call to chown could be made and that program try to look up the UID of a newly-added username before the necessary data had replicated to the LDAP slave it was trying to obtain that information from. My fix for that was to use the UID rather than the username when calling chown. I've updated smbldap-tools on Rawhide to include an update to 0.9.5, this fix, and yesterday's fix for Bug #441833.

After doing that build, I then turned my attention to Bug #430105, which looked as though it might require a little more thought. I looked at the suggested patch for the issue and then looked at the current code to get a feel for what was going on. Much to my surprise I found that it looked as though the patch had already been applied upstream (the bug report was for the previous upstream release - 0.9.4 - which is the version present in Fedora 8 and 9). Looking through the changelog, I found that there was a similar bug report in the upstream tracker from a different reporter. So that's going to be an easy fix too :-)

Local Packages

  • Updated smbldap-tools as per Fedora


Recent