summaryrefslogtreecommitdiff
path: root/source4/rpc_server/common/share_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server/common/share_info.c')
-rw-r--r--source4/rpc_server/common/share_info.c7
1 files changed, 4 insertions, 3 deletions
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;