summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-02-05 16:55:15 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-08 18:35:12 +0100
commitdc58672c6588a1715698721153b35ed2d594bc67 (patch)
treede420790913691d49f7884fc9f6677915f31752b /source3/smbd
parent9887751f6fa6f7e4fd5c79c637e0576405000c01 (diff)
downloadsamba-dc58672c6588a1715698721153b35ed2d594bc67.tar.gz
samba-dc58672c6588a1715698721153b35ed2d594bc67.tar.bz2
samba-dc58672c6588a1715698721153b35ed2d594bc67.zip
s3:smbd: rename api_RNetServerEnum => api_RNetServerEnum2
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 27115021bf..b969cd82c1 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -1360,7 +1360,7 @@ static bool srv_comp(struct srv_info_struct *s1,struct srv_info_struct *s2)
extracted from lists saved by nmbd on the local host.
****************************************************************************/
-static bool api_RNetServerEnum(connection_struct *conn, uint16 vuid,
+static bool api_RNetServerEnum2(connection_struct *conn, uint16 vuid,
char *param, int tpscnt,
char *data, int tdscnt,
int mdrcnt, int mprcnt, char **rdata,
@@ -1505,7 +1505,7 @@ static bool api_RNetServerEnum(connection_struct *conn, uint16 vuid,
SAFE_FREE(servers);
- DEBUG(3,("NetServerEnum domain = %s uLevel=%d counted=%d total=%d\n",
+ DEBUG(3,("NetServerEnum2 domain = %s uLevel=%d counted=%d total=%d\n",
domain,uLevel,counted,counted+missed));
return True;
@@ -4631,7 +4631,7 @@ static const struct {
{"WPrintDestGetInfo", RAP_WPrintDestGetInfo, api_WPrintDestGetInfo},
{"NetRemoteTOD", RAP_NetRemoteTOD, api_NetRemoteTOD},
{"WPrintQueuePurge", RAP_WPrintQPurge, api_WPrintQueueCtrl},
- {"NetServerEnum", RAP_NetServerEnum2, api_RNetServerEnum}, /* anon OK */
+ {"NetServerEnum2", RAP_NetServerEnum2, api_RNetServerEnum2}, /* anon OK */
{"WAccessGetUserPerms",RAP_WAccessGetUserPerms,api_WAccessGetUserPerms},
{"SetUserPassword", RAP_WUserPasswordSet2, api_SetUserPassword},
{"WWkstaUserLogon", RAP_WWkstaUserLogon, api_WWkstaUserLogon},