diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-03-17 14:02:44 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-03-17 14:02:44 +0000 |
commit | 1656c5d258939397e0131349d2539212a25b5a18 (patch) | |
tree | 4332a6bf14e7b100e5486d1cf16ecdce4670cdbc /source3/smbd | |
parent | 71470bb66ec33221d6e46f3c5e07ff9b285330c8 (diff) | |
download | samba-1656c5d258939397e0131349d2539212a25b5a18.tar.gz samba-1656c5d258939397e0131349d2539212a25b5a18.tar.bz2 samba-1656c5d258939397e0131349d2539212a25b5a18.zip |
ADMIN$ is an IPC share, not a disk share
(This used to be commit 0ea62800edd618091fde81e8de4347f612f98a18)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/lanman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index f5e1de1608..45ce286634 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -1512,7 +1512,7 @@ static int fill_share_info(connection_struct *conn, int snum, int uLevel, CVAL(p,13) = 0; type = STYPE_DISKTREE; if (lp_print_ok(snum)) type = STYPE_PRINTQ; - if (strequal("IPC$",lp_servicename(snum))) type = STYPE_IPC; + if (strequal("IPC",lp_fstype(snum))) type = STYPE_IPC; SSVAL(p,14,type); /* device type */ SIVAL(p,16,PTR_DIFF(p2,baseaddr)); len += CopyExpanded(conn,snum,&p2,lp_comment(snum),&l2); |