funky LsaQueryInfo change

Luke Kenneth Casson Leighton lkcl at samba.org
Fri Jul 21 18:24:20 GMT 2000


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