[Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND after installing the last git version
obnox at samba.org
Wed Feb 19 06:19:11 MST 2014
On 2014-02-19 at 12:07 +1300, Garming Sam wrote:
> On 18/02/14 21:13, Andrew Bartlett wrote:
> >Thank you very much for bringing this to our attention.
> >This is a (now) know regression that appears to have been introduced
> >recently with the change to use wbc_xids_to_sids.
> Regarding the cause of the issue, it seems we've identified the
> problem. The issue is the fact that the winbindd socket directory
> was never set, thus it was using /tmp/.winbindd and failing (in
> winbindd_pipe_sock in libcli/wbclient.c).
> The reason the tests didn't fail was because it managed to set it
> correctly with the environment variables.
Great that you found it!
> The fix is minor, which is just to add the missing cflags in the
> wscript_build file which include the necessary winbindd socket
Garming: Your patch looks good.
==> pushing to autobuild.
> Attached is also a patch by Andrew to ensure this doesn't happen again.
That one, needs further discussion, I think.
- Firstly, the commit message is wrong:
> Subject: [PATCH] nsswitch: Remove fallback setting of WINBINDD_SOCKET_DIR
> This is the original cause of the wbc NT_STATUS_OBJECT_NAME_NOT_FOUND
> issues in recent git master, as the build was able to progress without
> the correct path being set as an override.
The original cause for the issue was *not* this but the
omission at build time that was fixed in your commit.
This thing just made it less apparent. :-)
- I am also not certain that the removal of the default setting
is appropriate. Up to now the presence of this default it belongs
to the protocol/libwbclient. So _if_ we want to remove it
(I am not sure), shouldn't we do it more friendly?
> >From f27b517a27a03c132258339b09172865f378435d Mon Sep 17 00:00:00 2001
Btw: could you try to persuade your mailer to treat patch
attachments correctly? I.e. encode them, with quoted-printable
or even base64? It is always a nuicance and unneccessary to
have to manually edit your patch files. (This note of course
applies not only to you, but others as well..)
Cheers - Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 215 bytes
Desc: Digital signature
More information about the samba-technical