[cifs-protocol] RE: LSA trusted domains enumeration (for n=0)

Andrew Bartlett abartlet at samba.org
Tue Jul 22 23:21:24 GMT 2008


On Tue, 2008-07-22 at 06:33 -0700, Richard Guthrie wrote:
> Andrew,
> 
> I will be assisting you with your issue regarding section 3.1.4.7.8.
> I wanted to clarify what you sent in your link, to ensure I am reading
> your question correctly.  It looks like you removed functionality that
> sets the return value to NT_STATUS_OK (I assume this maps to the enum
> value 0x00000000 STATUS_SUCCESS) because the correct response is to
> return 0x8000001A STATUS_NO_MORE_ENTRIES which it looks like you do
> down in line 1148.  

Yep. 

> I ask just to make sure as I need to get more familiar with your
> version control software and how to read the change logs.  Just for my
> own education if I click the link "source/rpc_server/lsa/dcesrv_lsa.c"
> on the page you sent, that would take me to the latest source ,
> correct?

Yes.  If you click on the links of the form:

diff --git a/source/rpc_server/lsa/dcesrv_lsa.c
b/source/rpc_server/lsa/dcesrv_lsa.c

These get you to the before and after view of this file respectively. 

> If this is correct, then to re-state your question, you are looking
> for the processing section in MS-LSAD 3.1.4.7.7 (this applies to
> LsarEnumerateTrustedDomainsEx also) and 3.1.4.7.8 to be updated to
> include the case where "the number of trusted domains equals 0".  You
> are looking for the documentation to show that STATUS_NO_MORE_ENTRIES
> is the correct return status in this case, is that correct?

That is correct.

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/cifs-protocol/attachments/20080723/c68597c3/attachment.bin


More information about the cifs-protocol mailing list