s4-server: move the creation of the IPC$ share into ntvfs
authorAndrew Tridgell <tridge@samba.org>
Wed, 10 Nov 2010 23:35:38 +0000 (10:35 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 11 Nov 2010 02:57:04 +0000 (02:57 +0000)
commited8ea4ed18f08bfc93190513f2a2e8e058655daf
treeccebab2f84ec3639a3681126893f7fcd6c337fbc
parent0afb2995a2177afa2eb7b8f99887a39cdaf23a15
s4-server: move the creation of the IPC$ share into ntvfs

the IPC$ share is only used by the ntvfs backends, and doesn't need to
be created on every load of smb.conf. This fixes a problem with
testparm showing the ipc$ share when it isn't defined in smb.conf.

This also removes the admin$ share, which really shouldn't be on by
default. The admin$ share is used for remote software installation,
and normally exposes the c:\windows directory on a windows
server. That makes no sense on Samba. If for some reason a admin$
share is needed, then the admin can create one as usual. Exposing /tmp
via admin$ by default seems like a bad idea.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/ntvfs/ntvfs_base.c
source4/param/loadparm.c