summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-02-02 19:53:10 +0000
committerLuke Leighton <lkcl@samba.org>1999-02-02 19:53:10 +0000
commit07948f3f2d6625d1197036bb1763269f2e52345f (patch)
treebee9abc1a599cf9438d3a1a2b0233ceb3977d8c6 /source3/rpc_server
parent8fdc846070011a84e6e68ee2f89bbc1852602535 (diff)
downloadsamba-07948f3f2d6625d1197036bb1763269f2e52345f.tar.gz
samba-07948f3f2d6625d1197036bb1763269f2e52345f.tar.bz2
samba-07948f3f2d6625d1197036bb1763269f2e52345f.zip
server type announcements modified to include the "role" of the server:
domain member, pdc, bdc. (This used to be commit d95bb252f838b3612f5eba5d2b61d7b38b01f5ef)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_srvsvc.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/source3/rpc_server/srv_srvsvc.c b/source3/rpc_server/srv_srvsvc.c
index c7aeee9b11..dacef42121 100644
--- a/source3/rpc_server/srv_srvsvc.c
+++ b/source3/rpc_server/srv_srvsvc.c
@@ -865,9 +865,12 @@ static void srv_reply_net_srv_get_info(SRV_Q_NET_SRV_GET_INFO *q_n,
case 102:
{
make_srv_info_102(&ctr.srv.sv102,
- 500, global_myname, lp_serverstring(),
- 5, 4, /* major/minor version - NT 5.4 :-) */
- 0x4100b, /* browsing stuff SV_TYPE_XXXX */
+ 500, /* platform id */
+ global_myname,
+ lp_serverstring(),
+ lp_major_announce_version(),
+ lp_minor_announce_version(),
+ lp_default_server_announce(),
0xffffffff, /* users */
0xf, /* disc */
0, /* hidden */
@@ -880,9 +883,11 @@ static void srv_reply_net_srv_get_info(SRV_Q_NET_SRV_GET_INFO *q_n,
case 101:
{
make_srv_info_101(&ctr.srv.sv101,
- 500, global_myname,
- 5, 4, /* major/minor version - NT 5.4 :-) */
- 0x4100b, /* browsing stuff SV_TYPE_XXXX */
+ 500, /* platform id */
+ global_myname,
+ lp_major_announce_version(),
+ lp_minor_announce_version(),
+ lp_default_server_announce(),
lp_serverstring());
break;
}