funky LsaQueryInfo change

Cole, Timothy D. timothy_d_cole at md.northgrum.com
Fri Jul 21 19:05:14 GMT 2000


Erm, when exactly does NT expect an info level 0x03 response with no data in
it?  As I said, some things look wrong over here with the new code...

> -----Original Message-----
> From:	Luke Kenneth Casson Leighton [SMTP:lkcl at samba.org]
> Sent:	Friday, July 21, 2000 14:24
> To:	Cole, Timothy D.
> Cc:	samba-technical at samba.org
> Subject:	Re: funky LsaQueryInfo change
> 
> the response should be dependent upon the role of the server.  tng, and
> possibly cvs main because we had to have it working, are correct [similar
> responses to nt in the same server roles]
> 
> roles are:
> 
> ROLE_STANDALONE
> ROLE_PDC
> ROLE_BDC
> ROLE_MEMBER
> 
> On Fri, 21 Jul 2000, Cole, Timothy D. wrote:
> 
> > I noticed that in Samba 2.0.7, on line 531 of rpc_server/srv_lsa.c, it
> now
> > looks like:
> > 
> > 	case 0x03:
> > 		if(lp_domain_logons()) {
> > 			fstrcpy(name, global_myworkgroup);
> > 			sid = &global_sam_sid;
> > 		} else {
> > 			*name = '\0';
> > 		}
> > 		break;
> > 
> > This _used_ to be (circa 2.0.5) just something to the effect of:
> > 
> > 	case 0x03:
> > 		fstrcpy(name, gobal_myworkgroup);
> > 		sid = &global_sam_sid;
> > 		break;
> > 
> > Why do we only return the workgroup name when "domain logins" is enabled
> > now?
> > 
> > The change seems to break a few things, the most obvious of which is
> that
> > the information displayed in the property sheet for the server in NT
> > Explorer is incorrect.
> > 
> 
> <a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
> <a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
> <a href=" http://samba.org"      > Samba Web site                  </a>
>  
> ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals




More information about the samba-technical mailing list