funky LsaQueryInfo change

Cole, Timothy D. timothy_d_cole at
Fri Jul 21 17:20:32 GMT 2000

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';

This _used_ to be (circa 2.0.5) just something to the effect of:

	case 0x03:
		fstrcpy(name, gobal_myworkgroup);
		sid = &global_sam_sid;

Why do we only return the workgroup name when "domain logins" is enabled

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.

More information about the samba-technical mailing list