svn commit: samba r4275 - in
branches/SAMBA_4_0/source/rpc_server/common: .
tridge at samba.org
tridge at samba.org
Sun Dec 19 04:23:29 GMT 2004
Author: tridge
Date: 2004-12-19 04:23:29 +0000 (Sun, 19 Dec 2004)
New Revision: 4275
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4275
Log:
improve the share type info
Modified:
branches/SAMBA_4_0/source/rpc_server/common/share_info.c
Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/common/share_info.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/common/share_info.c 2004-12-19 03:31:57 UTC (rev 4274)
+++ branches/SAMBA_4_0/source/rpc_server/common/share_info.c 2004-12-19 04:23:29 UTC (rev 4275)
@@ -72,6 +72,12 @@
* 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;
}
More information about the samba-cvs
mailing list