"Virtual users" with Solaris 11 and ZFS share -


is there way create virtual user (e.g. user not have solaris user) can set permissions on zfs samba share , connect credentials?

i don't know of way.

the file(s) , directories need stored way identify user owns them, or user(s) need permission access them. zfs file system running on solaris server, that's uid, either directly or indirectly, means user account has exist in order map samba credential.

note entire solaris vfs structure relies upon each element having uid:

typedef struct vattr {     uint_t      va_mask;    /* bit-mask of attributes */     vtype_t     va_type;    /* vnode type (for create) */     mode_t      va_mode;    /* file access mode */     uid_t       va_uid;     /* owner user id */     gid_t       va_gid;     /* owner group id */     dev_t       va_fsid;    /* file system id (dev now) */     u_longlong_t    va_nodeid;  /* node id */     nlink_t     va_nlink;   /* number of references file */     u_offset_t  va_size;    /* file size in bytes */     timestruc_t va_atime;   /* time of last access */     timestruc_t va_mtime;   /* time of last modification */     timestruc_t va_ctime;   /* time of last status change */     dev_t       va_rdev;    /* device file represents */     uint_t      va_blksize; /* fundamental block size */     u_longlong_t    va_nblocks; /* # of blocks allocated */     uint_t      va_seq;     /* sequence number */ } vattr_t; 

and using acls won't remove need uid, zfs acls in end come down numeric id of entity. see source code @ http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/fs/zfs/sys/zfs_acl.h#48


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -