4 ms·
Solaris also replaced Samba with in-house code: http://blogs.sun.com/amw/entry/cifs_in_solaris http://blogs.sun.com/amw/entry/cifs_in_solaris IIRC this is a lo
by wmf 16y ago
Solaris also replaced Samba with in-house code: http://blogs.sun.com/amw/entry/cifs_in_solaris http://blogs.sun.com/amw/entry/cifs_in_solaris
IIRC this is a lot easier than it used to be now that MS has to publish protocol specs.
- henrymazza 16y agoGood point! In your link: > "[Samba] is a portable, user space application, and is actively supported on Solaris. [on the other hand] The Solaris CIFS service is a native kernel implementation; a first-class citizen of the Solaris operating system"
- calloc 16y agoI used it within OpenSolaris and the real pain is that you have to set up entirely new NFS ACL's that relate to the user writing otherwise files won't be readable from within Solaris as that user, or if it is a shared directory they aren't readable by the outside world and the files are written to disk but no longer visible from the outside world over the network.
- radiowave 16y agoYes. In general any time you want to access the same file system by multiple different methods, the permissions issue gets rather hairy, but from the point of view of an Apple CIFS server, some well considered finesse in the GUI could be a big help in managing that complexity. In the case of OpenSolaris, it's at least worth mentioning that so long as you do only want to treat a file system as being a share for CIFS clients, it does work just beautifully.
- codex 16y agoApple's filesystems already support native NTFS ACLs, so I expect that the permissions issues will be no worse than current NTFS/POSIX interop, which is indeed hairy. The best you can do is support the POSIX case very well and the all-ACL case very well.
- barrkel 16y agoCifs is implemented at a lower level in the stack than Samba; the primary upshot of this from my perspective is that you can only export a files in a single file system using cifs. If you have one file system mounted on a path within another, or symlinks that cross file systems, they will appear as empty directories or broken files, respectively. Given that a major reason for using ZFS is the ease with which you can use multiple file systems with different configurations all drawing from the same storage pool, this is a pretty severe drawback.
- radiowave 16y agoFrom my point of view it's the single biggest drawback of OpenSolaris (and descendants) as storage servers, but I see no fundamental reason why it couldn't be fixed; it simply wasn't high enough up Sun's list of priorities.
- codex 16y agoThe flipside is that you get coherent oplock and sharemode locking with NFS and local accesses, reasonable ACL/identity management solution across all protocols, efficient support for file change notifications, etc. For these reasons I consider the in-kernel solution to be far superior feature wise as well as performance wise.
- barrkel 16y agoOplocks are an optimization I'm not in much need of; 100MB/sec transfers do just fine. That sharemode locking is by and large ignored I consider an advantage of Samba, as in my personal environment, I do not care if some program wants to exclude readers or writers, I prefer to make those choices. I don't have any applications that treat files on a file share as a multi-user database like the era of Paradox etc.; those days are long gone. I think ACLs are a bug, not a feature. They are too complex to administer both correctly and efficiently; a capability-oriented approach would be better, but that's fantasy, alas. Again, POSIX permission bits do just fine for my use cases. Reliable FCNs would be nice though.