Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Update the smb image to our own simpler version #2053

Merged
merged 1 commit into from
Jan 11, 2018

Conversation

luomiao
Copy link
Contributor

@luomiao luomiao commented Jan 11, 2018

Update the samba image to our own simpler version.

@@ -220,31 +222,12 @@ func (d *DockerOps) StartSMBServer(volName string) (int, string, bool) {
// The Docker image to run in this service
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why with this change, there is no need to pass "containerArgs"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No we don't need to create the shares or users since we have pre-defined shares inside the image already.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then when user need to create a share owned by specific user and with specific access permission, how can we set that? I don't think we can set in image in this case.

Copy link
Contributor Author

@luomiao luomiao Jan 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's right :)
This is a feature we don't support for now (and didn't support before the change too).
We can add it later.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concern here is in the original image, they are configurable in the code. But with this change, it seems hard coded in the image. Is there any way that make it configurable other than hard coded?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we will need to update the vfilesmb image to include customize functions for creating new users. We can add this when we support the user defined username functionality.

@luomiao luomiao merged commit 09006a4 into vmware-archive:master Jan 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants