funky LsaQueryInfo change

Cole, Timothy D. timothy_d_cole at md.northgrum.com
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';
		}
		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.




More information about the samba-technical mailing list