mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
parent
8fe7d2974c
commit
f7b794c921
@ -72,6 +72,12 @@ uint32_t dcesrv_common_get_share_type(TALLOC_CTX *mem_ctx, struct dcesrv_context
|
||||
* ADMIN$, IPC$, C$, D$, E$ ... are type |= 0x80000000
|
||||
* this ones are hidden in NetShareEnum, but shown in NetShareEnumAll
|
||||
*/
|
||||
if (strcasecmp(lp_servicename(snum), "IPC$") == 0) {
|
||||
return 3;
|
||||
}
|
||||
if (lp_print_ok(snum)) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user