[PATCH] Joining domains specifying auth realm

Ken Cross kcross at nssolutions.com
Mon Mar 17 13:55:47 GMT 2003


BTW, the patch also includes two more lines of output for "net ads info"
-- the KDC server and server time offset.  I find them useful for
helping to automate the join process.  

Ken
________________________________

Ken Cross

Network Storage Solutions
Phone 865.675.4070 ext 31
kcross at nssolutions.com 

> -----Original Message-----
> From: 
> samba-technical-bounces+kcross=nssolutions.com at lists.samba.org
>  
> [mailto:samba-technical-bounces+kcross=nssolutions.com at lists.s
> amba.org] On Behalf Of Ken Cross
> Sent: Monday, March 17, 2003 8:48 AM
> To: 'Andrew Bartlett'
> Cc: 'Multiple recipients of list SAMBA-TECHNICAL'
> Subject: RE: [PATCH] Joining domains specifying auth realm
> 
> 
> Andrew:
> 
> Patch to HEAD below -- sorry, should have realized that.
> 
> The reason I had to change it was that ads_set_machine_password uses
> ads->auth.realm to build the principal name.  Should that be 
> ads->config.realm?
> 
> Ken
> ________________________________
> 
> Ken Cross
> 
> Network Storage Solutions
> Phone 865.675.4070 ext 31
> kcross at nssolutions.com 
> 
> > -----Original Message-----
> > From: Andrew Bartlett [mailto:abartlet at samba.org]
> > Sent: Sunday, March 16, 2003 11:24 PM
> > To: Ken Cross
> > Cc: 'Multiple recipients of list SAMBA-TECHNICAL'; 'Andrew Bartlett'
> > Subject: Re: [PATCH] Joining domains specifying auth realm
> > 
> > 
> > On Sat, 2003-03-15 at 03:01, Ken Cross wrote:
> > > Let's try this again.  The previous patch I submitted
> > didn't work in
> > > some configurations.  (ads->auth.realm needs to be
> > preserved over the
> > > ads_connect call.)
> > 
> > If it's not preserved, won't it be free()ed in the process?
> > 
> > And shouldn't change the code that's clobbering it instead?
> > 
> > I applied the previous patch - can you get me the changes
> > against current HEAD?
> > 
> > Andrew Bartlett
> > 
> > -- 
> > Andrew Bartlett                                 abartlet at pcug.org.au
> > Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
> > Student Network Administrator, Hawker College   abartlet at hawkerc.net
> > http://samba.org     http://build.samba.org     http://hawkerc.net
> > 
> 
> 



More information about the samba-technical mailing list