s3compat system for running s3 components in s4

Andrew Bartlett abartlet at samba.org
Tue May 4 07:57:21 MDT 2010


On Thu, 2010-04-29 at 21:00 +1000, Andrew Bartlett wrote:
> On Thu, 2010-04-29 at 12:43 +0200, Volker Lendecke wrote:
> > On Thu, Apr 29, 2010 at 08:34:49PM +1000, Andrew Bartlett wrote:
> > > Thanks.  If I can't manage an easy translation between C structures then
> > > I'll go via the NDR info3 format, but I really want to avoid that. 
> > 
> > We have the make_server_info_info3 routine in s3 which would
> > do the job, as you can see for example in the module
> > auth_netlogond.c that might already do what you want to
> > achieve. Have you tried that?
> 
> I hadn't looked into auth_netlogond so far, but I agree that
> make_server_info_info3 is the right thing to do.
> 
> I would prefer (for debug-ability) to avoid interprocess communication
> for the auth lookup. 
> 
> Anyway, I should avoid talking too much about things I've not yet tried
> to code :-)

I've made these patches so far.  Given your advise about past challenges
in this kind of work, I've taken the approach of trying to do the rename
of the elements without too many changes to the actual structure or
allocation routines in the code - the structures still are not in
talloc, or in a tree etc. 

Anyway, I would appreciate tests and comments - or even a merge if folks
are comfortable with it.  

I'm still learning how to debug things in the Samba3 test environment -
is 'make test' or 'make selftest' the thing to run? 

'make test' has 3 apparently unrelated failures.  What manual tests need
to be run on top of this?

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-s3-auth-Add-assertions-regarding-invalid-password_st.patch
Type: text/x-patch
Size: 2518 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100504/46ee7f4b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-s3-auth-Make-Samba3-use-the-new-common-struct-auth_u.patch
Type: text/x-patch
Size: 61908 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100504/46ee7f4b/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-auth-Move-struct-auth_usersupplied_info-to-a-comm.patch
Type: text/x-patch
Size: 8720 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100504/46ee7f4b/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100504/46ee7f4b/attachment.pgp>


More information about the samba-technical mailing list