summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-03-14 23:48:21 +0000
committerLuke Leighton <lkcl@samba.org>2000-03-14 23:48:21 +0000
commitfa5ad1cb86aa5c17c2accca53848f29169c6d910 (patch)
tree2ae0408afd9f1b5e921b904d62bedf63964a23d1
parent53d50e0db0b9b9cf9008ddf3dd4d66398e6fab50 (diff)
downloadsamba-fa5ad1cb86aa5c17c2accca53848f29169c6d910.tar.gz
samba-fa5ad1cb86aa5c17c2accca53848f29169c6d910.tar.xz
samba-fa5ad1cb86aa5c17c2accca53848f29169c6d910.zip
sneaking suspicion that the ProductOptions key is being reported the wrong
way round (BDC instead of PDC, PDC instead of BDC).
-rw-r--r--source/winregd/srv_reg_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/winregd/srv_reg_nt.c b/source/winregd/srv_reg_nt.c
index 7e1b36e01fe..7b4e65bbf67 100644
--- a/source/winregd/srv_reg_nt.c
+++ b/source/winregd/srv_reg_nt.c
@@ -153,11 +153,11 @@ uint32 _reg_info(POLICY_HND* pol, BUFFER2* buf, uint32* type)
char *key;
if (lp_server_role() == ROLE_DOMAIN_PDC)
{
- key = "ServerNT";
+ key = "LanmanNT";
}
else
{
- key = "LanmanNT";
+ key = "ServerNT";
}
make_buffer2(buf, key, strlen(key));
*type = 0x1;