[cifs-discuss] duplicate cifs names allowed? possible bug?

Rob robbyt at robbyt.net
Thu Jul 3 15:23:40 PDT 2008


I recently found out that it's possible to have multiple shares with the same name- 

e.g., 

zfs create pool/share1
zfs create pool/share2

zfs set sharesmb=name=public pool/share1
zfs set sharesmb=name=public pool/share2

zfs get sharesmb:
pool/share1 sharesmb  name=public local
pool/share2 sharesmb  name=public local

what makes me think this is a bug, is that you get an error message when you try to turn off cifs on share1:

zfs set sharesmb=off pool/share1
cannot unshare 'pool/share1': unknown -1: unshare(1M) failed

the only way to unshare it is to do:

zfs set sharesmb=off pool/share2
zfs set sharesmb=off pool/share1
--
This messages posted from opensolaris.org


More information about the cifs-discuss mailing list