mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r19203: Part two of returning our real name. This code is a bit ancient... :-)
(This used to be commit 370c24ba2ad3bce29929886f96d626e698da0238)
This commit is contained in:
parent
442f5526a0
commit
9d20474a48
@ -2691,7 +2691,7 @@ static BOOL api_RNetServerGetInfo(connection_struct *conn,uint16 vuid, char *par
|
||||
|
||||
if ((count=get_server_info(SV_TYPE_ALL,&servers,lp_workgroup()))>0) {
|
||||
for (i=0;i<count;i++) {
|
||||
if (strequal(servers[i].name,get_local_machine_name())) {
|
||||
if (strequal(servers[i].name,global_myname())) {
|
||||
servertype = servers[i].type;
|
||||
push_ascii(comment,servers[i].comment,sizeof(pstring),STR_TERMINATE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user