1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00

Use SERVER_INFO_1005 in libnetapi.

Guenther
This commit is contained in:
Günther Deschner
2008-04-10 21:31:12 +02:00
parent 0d5130ddb6
commit 5f8793dd1d
3 changed files with 11 additions and 11 deletions

View File

@@ -30,9 +30,9 @@
static WERROR NetServerGetInfo_l_1005(struct libnetapi_ctx *ctx,
uint8_t **buffer)
{
struct srvsvc_NetSrvInfo1005 info1005;
struct SERVER_INFO_1005 info1005;
info1005.comment = lp_serverstring();
info1005.sv1005_comment = lp_serverstring();
*buffer = (uint8_t *)talloc_memdup(ctx, &info1005, sizeof(info1005));
if (!*buffer) {
return WERR_NOMEM;