[samba4] nt status returned when credentials are incorrect

Rafal Szczesniak mimir at samba.org
Mon May 22 16:33:06 GMT 2006


Recently, I've been implementing extension to libnet tests which
attempts to do a rpc connect using incorrect credentials. If expected
error code is returned, everything is ok. And that's where I encountered
a small inconsistency. If I try to connect on ncacn_np transport, 
returned code is NT_STATUS_LOGON_FAILURE. If the transport is ncacn_ip_tcp
or ncalrpc, samba4 returns NT_STATUS_ACCESS_DENIED.
Note, this was only tested against samba4, I didn't have time to setup
windows server to verify this behaviour.

Is such difference ok, or perhaps we have wrong code returned somewhere ?


cheers,
-- 
Rafal Szczesniak
Samba Team member  http://www.samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20060522/ac3d8daa/attachment.bin


More information about the samba-technical mailing list