diff options
Diffstat (limited to 'source4/rpc_server/common')
-rw-r--r-- | source4/rpc_server/common/server_info.c | 6 | ||||
-rw-r--r-- | source4/rpc_server/common/share_info.c | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/source4/rpc_server/common/server_info.c b/source4/rpc_server/common/server_info.c index 9c57d819e1..fc86e0f8c1 100644 --- a/source4/rpc_server/common/server_info.c +++ b/source4/rpc_server/common/server_info.c @@ -53,3 +53,9 @@ uint32 dcesrv_common_get_version_minor(TALLOC_CTX *mem_ctx, struct dcesrv_contex { return 2; } + +/* This hardcoded value should go into a ldb database! */ +const char *dcesrv_common_get_lan_root(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx) +{ + return ""; +} diff --git a/source4/rpc_server/common/share_info.c b/source4/rpc_server/common/share_info.c index 68b770437d..8cf130ab51 100644 --- a/source4/rpc_server/common/share_info.c +++ b/source4/rpc_server/common/share_info.c @@ -64,11 +64,12 @@ uint32 dcesrv_common_get_share_current_users(TALLOC_CTX *mem_ctx, struct dcesrv_ /* This hardcoded value should go into a ldb database! */ uint32 dcesrv_common_get_share_type(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, int snum) { - /* for disk share 0x00000000 - * for IPC$ share 0x00000003 + /* for disk share 0x00000000 + * for print share 0x00000001 + * for IPC$ share 0x00000003 * * administrative shares: - * ADMIN$, C$ and IPC$ are type |= 0x80000000 + * ADMIN$, IPC$, C$, D$, E$ ... are type |= 0x80000000 * this ones are hidden in NetShareEnum, but shown in NetShareEnumAll */ return 0; |