Project

General

Profile

Feature #1527

SMB server in non-global zones

Added by Gordon Ross almost 8 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cifs - CIFS server and client
Start date:
2016-11-03
Due date:
% Done:

0%

Estimated time:
(Total: 0.00 h)
Difficulty:
Hard
Tags:

Description

We'd like to be able to run the native CIFS service in non-global zones.
(network/smb/server) This is a big help for virtual hosting companies.


Subtasks

Bug #7528: smbd running in zone cannot create .zfs/shares/<share> objectNew

Actions

History

#1

Updated by Electric Monk over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 70 to 100

git commit 8622ec4569457733001d4982ef7f5b44427069be

commit  8622ec4569457733001d4982ef7f5b44427069be
Author: Gordon Ross <gwr@nexenta.com>
Date:   2015-04-28T14:53:28.000Z

    1527 SMB server in non-global zones
    Reviewed by: Dan McDonald <danmcd@nexenta.com>
    Reviewed by: Stepan Zastupov <stepan.zastupov@gmail.com>
    Reviewed by: Albert Lee <trisk@nexenta.com>
    Reviewed by: Thomas Keiser <thomas.keiser@nexenta.com>
    Approved by: Garrett D'Amore <garrett@damore.org>

#2

Updated by Raul Rangel almost 4 years ago

Is there anything else required to make this function?

https://github.com/joyent/smartos-live/issues/443 is an attempt to get this working in a zone but the following error is returned:

[ May 11 16:35:22 Method "start" exited with status 95. ]
[ May 11 16:35:43 Enabled. ]
[ May 11 16:35:48 Executing start method ("/usr/lib/smbsrv/smbd start"). ]
smbd: NetBIOS services started
smbd: kernel bind error: Not owner
smbd: daemon initialization failed
[ May 11 16:35:48 Method "start" exited with status 95. ]

#3

Updated by Gordon Ross almost 3 years ago

Sorry, just noticed this while searching for something related.
The bind error is probably because the zone is missing some
required privilege like: PRIV_SYS_SMB

Also available in: Atom PDF