Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND after installing the last git version

5,531 views
Skip to first unread message

Alain Foucher

unread,
Feb 17, 2014, 7:21:19 AM2/17/14
to
I have installed many different versions of Samba4 with success.

Now, i would install a new one with the git tool on an ubuntu 12.04.
I did the git clone with success.
The configure, make and make install ran with success.
I ran the provisioning command with success :
/usr/local/samba/bin/samba-tool domain
provision --use-rfc2307 --interactive

I test Kerberos and DNS (kinit, klist, host commands) without any problem.

In the log.samba and the log.smbd, i've got no error, Everything seems to be
allright (samba-tool dbcheck, wbinfo, ...).

But when i run the following command

smbclient -L localhost -U% (or any smbclient command)

i've got this message

session setup failed: NT_STATUS_OBJECT_NAME_NOT_FOUND

The version, i installed is the followin one :

Version 4.2.0pre1-GIT-001b958

Did i miss some issues ?

thanks

Alain

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

m...@electronico.nc

unread,
Feb 17, 2014, 3:18:08 PM2/17/14
to
Le 17/02/2014 23:21, Alain Foucher a écrit :
> I have installed many different versions of Samba4 with success.
>
> Now, i would install a new one with the git tool on an ubuntu 12.04.
> I did the git clone with success.
> The configure, make and make install ran with success.
> I ran the provisioning command with success :
> /usr/local/samba/bin/samba-tool domain provision --use-rfc2307
> --interactive
>
> I test Kerberos and DNS (kinit, klist, host commands) without any
> problem.
>
> In the log.samba and the log.smbd, i've got no error, Everything seems
> to be allright (samba-tool dbcheck, wbinfo, ...).
>
> But when i run the following command
>
> smbclient -L localhost -U% (or any smbclient command)
>
> i've got this message
>
> session setup failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
>
> The version, i installed is the followin one :
>
> Version 4.2.0pre1-GIT-001b958
>
> Did i miss some issues ?
>
> thanks
>
> Alain
>
Might it just be a path issue ?
/usr/local/samba/bin/smbclient -L localhost -U%
Nicolas

Andrew Bartlett

unread,
Feb 18, 2014, 3:13:35 AM2/18/14
to
On Mon, 2014-02-17 at 23:21 +1100, Alain Foucher wrote:
> I have installed many different versions of Samba4 with success.
>
> Now, i would install a new one with the git tool on an ubuntu 12.04.
> I did the git clone with success.
> The configure, make and make install ran with success.
> I ran the provisioning command with success :
> /usr/local/samba/bin/samba-tool domain
> provision --use-rfc2307 --interactive
>
> I test Kerberos and DNS (kinit, klist, host commands) without any problem.
>
> In the log.samba and the log.smbd, i've got no error, Everything seems to be
> allright (samba-tool dbcheck, wbinfo, ...).
>
> But when i run the following command
>
> smbclient -L localhost -U% (or any smbclient command)
>
> i've got this message
>
> session setup failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
>
> The version, i installed is the followin one :
>
> Version 4.2.0pre1-GIT-001b958
>
> Did i miss some issues ?

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. Garming and I were
able to isolate it down to one of these commits at the end of our work
day today:

6b04558c5e0547a807ac0fcb5eeb1085cfe602ac auth4: Remove unused wbc_context
f35f88d741f1f896268649238d4ddbda4abb1585 ntvfs_unixuid: No wbc_context required
55dd08c4e80827ffc4fe423f3e67aec499af06df ntvfs_posix: No wbc_context required
5a4252789b54b6b270b3083f6e0732ba1fdd774b dcesrv_unixinfo: No wbc_context required
25e83a9b3e72cdb84c09ef8ada4784efd110f09a unixuid: Use the tevent_context from the ntvfs_context
15700a9f6e5393cecf78052f510e015300c5bd85 pvfs: Use the tevent_context from the ntvfs_context
5124a9e1183de990ca3146cd355152094495a779 auth4: Do not generate just a temporary wbc_context
75d7c4609c1c743f84ca9f2d0666aece9e5200d4 auth4: auth_session_info_fill_unix only needs a tevent_context
1de725c2926b526200032c4f46132c17533986c7 auth4: security_token_to_unix_token only needs a tevent_context
ba5f02739cb454d2312f73f643f2c119e090ac5e libwbclient4: Remove unused composite-based functions
d0932a1ae089fda0d41be21a9916caeca7c0c233 source4: Use wbc_xids_to_sids
f275ce4e4367478b488810491c7bcd993c37caf1 libwbclient4: Add wbc_xids_to_sids
de7122ddc356697777cce95d22b3fab7697b30db source4: Use wbc_sids_to_xids
fefc59619b58cb0c38bf7e6ac2ebcc25a5ebbd6c libwbclient4: Add wbc_sids_to_xids

I expect to further diagnose this tomorrow, but in the meantime I've
CC'ed the patch author and reviewer in case they have any insights.

In the meantime, you could assist by reverting each of these patches in
turn, and verifying that it does indeed resolve your issue.

Sorry,

Andrew Bartlett

--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba

Volker Lendecke

unread,
Feb 18, 2014, 3:44:21 AM2/18/14
to
On Tue, Feb 18, 2014 at 09:13:35PM +1300, Andrew Bartlett wrote:
> On Mon, 2014-02-17 at 23:21 +1100, Alain Foucher wrote:
> > I have installed many different versions of Samba4 with success.
> >
> > Now, i would install a new one with the git tool on an ubuntu 12.04.
> > I did the git clone with success.
> > The configure, make and make install ran with success.
> > I ran the provisioning command with success :
> > /usr/local/samba/bin/samba-tool domain
> > provision --use-rfc2307 --interactive
> >
> > I test Kerberos and DNS (kinit, klist, host commands) without any problem.
> >
> > In the log.samba and the log.smbd, i've got no error, Everything seems to be
> > allright (samba-tool dbcheck, wbinfo, ...).
> >
> > But when i run the following command
> >
> > smbclient -L localhost -U% (or any smbclient command)
> >
> > i've got this message
> >
> > session setup failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
> >
> > The version, i installed is the followin one :
> >
> > Version 4.2.0pre1-GIT-001b958
> >
> > Did i miss some issues ?
>
> Thank you very much for bringing this to our attention.

Just revert the patches please.

With best regards,

Volker Lendecke

--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kon...@sernet.de

Volker Lendecke

unread,
Feb 18, 2014, 4:18:30 AM2/18/14
to
On Tue, Feb 18, 2014 at 09:13:35PM +1300, Andrew Bartlett wrote:
> On Mon, 2014-02-17 at 23:21 +1100, Alain Foucher wrote:
> > Did i miss some issues ?
>
> Thank you very much for bringing this to our attention.

Attached find a patchset that reverts the offending code. As
I don't have the time today to deal with this in an
appropriate manner, please review & push this until we have
a resolution for the problem this code causes.

Thanks,

Volker
look

Kai Blin

unread,
Feb 18, 2014, 4:49:28 AM2/18/14
to
On 2014-02-18 10:18, Volker Lendecke wrote:
> On Tue, Feb 18, 2014 at 09:13:35PM +1300, Andrew Bartlett wrote:
>> On Mon, 2014-02-17 at 23:21 +1100, Alain Foucher wrote:
>>> Did i miss some issues ?
>>
>> Thank you very much for bringing this to our attention.
>
> Attached find a patchset that reverts the offending code. As
> I don't have the time today to deal with this in an
> appropriate manner, please review & push this until we have
> a resolution for the problem this code causes.

I'd -1 these patches, but Andreas beat me to the review and +1ed them.

The main questions raised by this issue for me are:
* Auth code is tricky, but it does have a lot of tests. Why didn't they
catch this
* The last time I changed this code to support unixid-mappings instead
of plain uid/gid-specific mappings, I made fairly similar changes. I
still didn't catch the problem with the patches. Can the auth code be
simplified so the implications of changing it are better understood?

And last but not least a more personal question about code reviews and
reverts like this: How can we resolve things like that without leaving
the reviewer feeling like he wasted a lot of time on a review? I feel
silly enough not having caught the problem, but now I also feel like I
could have just spend the time I spent on the review drawing fluffy pink
unicorns and be more productive that way.

I for one don't feel like spending more time trying to follow up on this
issue now that the code is on the way out of master anyway. I also feel
like I'll rather practice my unicorn drawing skills than reviewing code
I can't care about enough to drop everything I'm doing and debug
potential issues before the 10-minutes-to-revert window has passed.

Cheers,
Kai

--
Kai Blin
Worldforge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin
Samba team member http://www.samba.org/samba/team/

Volker Lendecke

unread,
Feb 18, 2014, 6:58:40 AM2/18/14
to
On Tue, Feb 18, 2014 at 07:18:08AM +1100, m...@electronico.nc wrote:
> Le 17/02/2014 23:21, Alain Foucher a écrit :
> >I have installed many different versions of Samba4 with success.
> >
> >Now, i would install a new one with the git tool on an ubuntu 12.04.
> >I did the git clone with success.
> >The configure, make and make install ran with success.
> >I ran the provisioning command with success :
> >/usr/local/samba/bin/samba-tool domain provision --use-rfc2307
> >--interactive
> >
> >I test Kerberos and DNS (kinit, klist, host commands) without any
> >problem.
> >
> >In the log.samba and the log.smbd, i've got no error, Everything
> >seems to be allright (samba-tool dbcheck, wbinfo, ...).
> >
> >But when i run the following command
> >
> >smbclient -L localhost -U% (or any smbclient command)
> >
> >i've got this message
> >
> >session setup failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
> >
> >The version, i installed is the followin one :
> >
> > Version 4.2.0pre1-GIT-001b958
> >
> >Did i miss some issues ?
> >
> >thanks
> >
> >Alain
> >
> Might it just be a path issue ?
> /usr/local/samba/bin/smbclient -L localhost -U%

Please retry with current master. The patches that Andrew
Bartlett has kindly found to cause this are now removed
again.

Sorry for the inconvenience.

With best regards,

Volker

--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kon...@sernet.de

Alain Foucher

unread,
Feb 18, 2014, 5:30:14 PM2/18/14
to
Hi,


i've tested the new git version eand everything seems to be allright.

I want to thank everybody involved in this work, The samba4 project is a
great job and a wonderful solution for us.

We use it in a production purpose and it matches our goals.

Thanks

Best regards

Alain

shafra...@gmail.com

unread,
Apr 23, 2016, 3:34:31 PM4/23/16
to
Hello All ,
I have Same issue as posted above with ver 4.38 from Ubuntu 14.04 repository.
Any Help please.

Best Regards
Koby Peleg Hen

rogeri...@gmail.com

unread,
Apr 24, 2016, 12:19:06 PM4/24/16
to
Hello

same problem here with ubuntu 14.04 and samba 4.3.8

omos...@googlemail.com

unread,
Apr 25, 2016, 4:01:02 PM4/25/16
to
Hello,

same problem on Ubuntu 14.04 and 16.04 with samba 4.3.8. Pls help!

lesk...@gmail.com

unread,
Apr 27, 2016, 5:43:10 AM4/27/16
to
Hi,

please check your Samba log files. If you find the following line, please install winbind from the repo:

/usr/sbin/winbindd: Failed to exec child - No such file or directory

I am using Debian Jessie and this resolved the issue for me.

Kind regards,
P. Lesky

omos...@googlemail.com

unread,
Apr 27, 2016, 7:10:35 AM4/27/16
to
Hey,

thank you that solved it!

jkte...@gmail.com

unread,
May 16, 2016, 2:24:15 PM5/16/16
to
Thanks P. Lesky,

My matter was solved with your trick.

Joseph

Thiago SA

unread,
May 16, 2016, 2:26:54 PM5/16/16
to

tumen...@gmail.com

unread,
Aug 3, 2016, 8:17:11 AM8/3/16
to
Thank you that solved!
0 new messages