summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-20 20:45:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:53 -0500
commit12a5226534c0efabf42dbac5301d5a8373fe1aa0 (patch)
tree07ecc534a2797d65250dea29603169346834a52d /source3/rpc_server
parentb7d069097bdc8d1d9a0694225dd1583cb60c7b3c (diff)
downloadsamba-12a5226534c0efabf42dbac5301d5a8373fe1aa0.tar.gz
samba-12a5226534c0efabf42dbac5301d5a8373fe1aa0.tar.bz2
samba-12a5226534c0efabf42dbac5301d5a8373fe1aa0.zip
r18742: this function returns WERROR
gix the build on RedHat 7.0 metze (This used to be commit d6f5a0cc7a7833f36288ec6201da6b4422b22c97)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_wkssvc_nt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_wkssvc_nt.c b/source3/rpc_server/srv_wkssvc_nt.c
index ead1b7b918..f46bbf98b2 100644
--- a/source3/rpc_server/srv_wkssvc_nt.c
+++ b/source3/rpc_server/srv_wkssvc_nt.c
@@ -65,18 +65,18 @@ WERROR _wkssvc_NetWkstaGetInfo( pipes_struct *p, const char *server_name, uint32
/* We only support info level 100 currently */
if ( level != 100 ) {
- return NT_STATUS_INVALID_LEVEL;
+ return WERR_UNKNOWN_LEVEL;
}
if ( (wks100 = TALLOC_ZERO_P(p->mem_ctx, struct wkssvc_NetWkstaInfo100)) == NULL ) {
- return NT_STATUS_NO_MEMORY;
+ return WERR_NOMEM;
}
create_wks_info_100( wks100 );
info->info100 = wks100;
- return NT_STATUS_OK;
+ return WERR_OK;
}
/********************************************************************