Bug 3915 - force user=root -> NT_STATUS_NO_SUCH_USER
Summary: force user=root -> NT_STATUS_NO_SUCH_USER
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.23
Hardware: Other Linux
: P3 major
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2006-07-07 11:36 UTC by Björn Jacke
Modified: 2006-07-07 15:01 UTC (History)
0 users

See Also:

Debug level 10 log. (25.45 KB, text/plain)
2006-07-07 12:00 UTC, Jeremy Allison
no flags Details
Patch Volker created. (4.58 KB, patch)
2006-07-07 15:00 UTC, Jeremy Allison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2006-07-07 11:36:56 UTC
using 3.0.23rc3 with security=user and a share with force user=root (or any other user) will result in NT_STATUS_NO_SUCH_USER. Tested with smbclient:

opi:~ # smbclient //opi/matest -Uroot%password
Domain=[OPIS] OS=[Unix] Server=[Samba 3.0.23rc3-SerNet-SuSE]
tree connect failed: NT_STATUS_NO_SUCH_USER

this can easily be reproduced with a minimal smb.conf and a share with force user=root
Comment 1 Volker Lendecke 2006-07-07 11:48:11 UTC
Works for me.... Let me log in to that box :-)

Comment 2 Volker Lendecke 2006-07-07 12:00:19 UTC
Ok, this is because domain-513 is not mapped. Investigating...

Comment 3 Jeremy Allison 2006-07-07 12:00:37 UTC
Created attachment 2021 [details]
Debug level 10 log.

I can reproduce this. It's another one of those RID lookup failures.

log attached...
Comment 4 Jeremy Allison 2006-07-07 15:00:08 UTC
Created attachment 2024 [details]
Patch Volker created.

Patch Volker created for this bug. Jerry please merge to 3.0.23 release.
Comment 5 Jeremy Allison 2006-07-07 15:01:32 UTC
Volker fixed this with the attached patch.