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
Works for me.... Let me log in to that box :-)
Ok, this is because domain-513 is not mapped. Investigating...
Created attachment 2021 [details]
Debug level 10 log.
I can reproduce this. It's another one of those RID lookup failures.
Created attachment 2024 [details]
Patch Volker created.
Patch Volker created for this bug. Jerry please merge to 3.0.23 release.
Volker fixed this with the attached patch.