summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-10-09 07:17:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:20 -0500
commitcfed7a5a71aab48b1d5b758df318b991a95592a5 (patch)
tree5ebaab4d9b2dd20067b8194b9102bf54c4cb255d /source3/smbd
parentd63a3e05a23ffb016578c3daa8b48d6fc32e1e8c (diff)
downloadsamba-cfed7a5a71aab48b1d5b758df318b991a95592a5.tar.gz
samba-cfed7a5a71aab48b1d5b758df318b991a95592a5.tar.bz2
samba-cfed7a5a71aab48b1d5b758df318b991a95592a5.zip
r19184: W2k3 returns its name for the GetServerInfo RAP call. Do the same.
Implement 'net rap server name'. Volker (This used to be commit 919385ed2a2a07e848bc0baaac9ed3d1964d4386)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 637d5b4120..8a16c2c044 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -2677,7 +2677,7 @@ static BOOL api_RNetServerGetInfo(connection_struct *conn,uint16 vuid, char *par
p = *rdata;
p2 = p + struct_len;
if (uLevel != 20) {
- srvstr_push(NULL, p,get_local_machine_name(),16,
+ srvstr_push(NULL, p,global_myname(),16,
STR_ASCII|STR_UPPER|STR_TERMINATE);
}
p += 16;