help configuring my samba file server
Hello everyone I have installed all the files I needed for my samba file server. I have also installed the gadmin-samba 0.3.2. I am trying to set a user-name and password also I would like to know how to ad my laptops I own to the machines allowed to connect to it. it can be in terminal but preferably in gadmin-samba which is like a GUI. please be very descriptive my systems is Ubuntu 14.04 and Gadmin-Samba 0.3.2
14.04 software-installation samba
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Hello everyone I have installed all the files I needed for my samba file server. I have also installed the gadmin-samba 0.3.2. I am trying to set a user-name and password also I would like to know how to ad my laptops I own to the machines allowed to connect to it. it can be in terminal but preferably in gadmin-samba which is like a GUI. please be very descriptive my systems is Ubuntu 14.04 and Gadmin-Samba 0.3.2
14.04 software-installation samba
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Hello everyone I have installed all the files I needed for my samba file server. I have also installed the gadmin-samba 0.3.2. I am trying to set a user-name and password also I would like to know how to ad my laptops I own to the machines allowed to connect to it. it can be in terminal but preferably in gadmin-samba which is like a GUI. please be very descriptive my systems is Ubuntu 14.04 and Gadmin-Samba 0.3.2
14.04 software-installation samba
Hello everyone I have installed all the files I needed for my samba file server. I have also installed the gadmin-samba 0.3.2. I am trying to set a user-name and password also I would like to know how to ad my laptops I own to the machines allowed to connect to it. it can be in terminal but preferably in gadmin-samba which is like a GUI. please be very descriptive my systems is Ubuntu 14.04 and Gadmin-Samba 0.3.2
14.04 software-installation samba
14.04 software-installation samba
asked Aug 20 '14 at 16:00
user281745user281745
1938
1938
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I can get you there with there from the commandline. I don't use Gadmin.
First off, most of the default would probably work without making any changes. All you should have to do is just add the folder specifications you want to share.
Pick a folder or create a folder called, for instance, "myshare". Now edit and append these lines to the /etc/samba/smb.conf file:
[myshare]
comment = My Shared Area
path = /myshare
writeable = yes
browseable = yes
valid users = user1, user2
The [myshare] is the name of the share that will appear on the network for connecting to the resource. This doesn't have to match he actual folder name. But having something similar to it will have you to remember the resource you have setup.
The valid users are the ones you have created to have access to the shares. The user names will have to be a name that is actually on the Ubuntu machine. You'll still have to add the names to Samba's access list. You can do this with:
$ sudo smbpasswd -a user1
$ sudo smbpasswd -a user2
When the users are added you can always modify their passwords with:
$ sudo smbpasswd user1
After that is done you connect to the share with Windows the same way as you would any other windows shared folder. The network resource would be:
For windows:
\machinemyshare
For linux it would be:
//machine/myshare
A convenient way (semi GUI) is to bring up your file browser (either Windows or Linux) and type in the associated shared connection above into the address field of the file browser (windows' explorer or Ubuntu's natilus).
You can also connect to the Linux shared by typing this into a command terminal on Windows:
explorer \machinemyshare
hello where do i click to find my original computer shared folder which will be my home folder
– user281745
Aug 24 '14 at 3:01
@user281745 You type the line I gave you into the file explorer and press enter.
– L. D. James
Aug 24 '14 at 3:06
when i type in 1(explorer \machinehome) or 2(//machine/home) it give me 1(No command 'explorer' found did you mean: command 'jxplorer'(universe) explorer: command not found) 2(bash://machine/home: No such File or Directory
– user281745
Aug 24 '14 at 3:24
What version of Windows are you running that it can't find explorer?
– L. D. James
Aug 24 '14 at 3:35
I’m sorry I don’t use windows when it said for Linux I was assuming it was for Ubuntu 14.04 and when I tried to change the spot in smb.config file and I as my users I created it says you don’t have the proper privileges to save this file
– user281745
Aug 24 '14 at 3:56
|
show 8 more comments
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f513877%2fhelp-configuring-my-samba-file-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I can get you there with there from the commandline. I don't use Gadmin.
First off, most of the default would probably work without making any changes. All you should have to do is just add the folder specifications you want to share.
Pick a folder or create a folder called, for instance, "myshare". Now edit and append these lines to the /etc/samba/smb.conf file:
[myshare]
comment = My Shared Area
path = /myshare
writeable = yes
browseable = yes
valid users = user1, user2
The [myshare] is the name of the share that will appear on the network for connecting to the resource. This doesn't have to match he actual folder name. But having something similar to it will have you to remember the resource you have setup.
The valid users are the ones you have created to have access to the shares. The user names will have to be a name that is actually on the Ubuntu machine. You'll still have to add the names to Samba's access list. You can do this with:
$ sudo smbpasswd -a user1
$ sudo smbpasswd -a user2
When the users are added you can always modify their passwords with:
$ sudo smbpasswd user1
After that is done you connect to the share with Windows the same way as you would any other windows shared folder. The network resource would be:
For windows:
\machinemyshare
For linux it would be:
//machine/myshare
A convenient way (semi GUI) is to bring up your file browser (either Windows or Linux) and type in the associated shared connection above into the address field of the file browser (windows' explorer or Ubuntu's natilus).
You can also connect to the Linux shared by typing this into a command terminal on Windows:
explorer \machinemyshare
hello where do i click to find my original computer shared folder which will be my home folder
– user281745
Aug 24 '14 at 3:01
@user281745 You type the line I gave you into the file explorer and press enter.
– L. D. James
Aug 24 '14 at 3:06
when i type in 1(explorer \machinehome) or 2(//machine/home) it give me 1(No command 'explorer' found did you mean: command 'jxplorer'(universe) explorer: command not found) 2(bash://machine/home: No such File or Directory
– user281745
Aug 24 '14 at 3:24
What version of Windows are you running that it can't find explorer?
– L. D. James
Aug 24 '14 at 3:35
I’m sorry I don’t use windows when it said for Linux I was assuming it was for Ubuntu 14.04 and when I tried to change the spot in smb.config file and I as my users I created it says you don’t have the proper privileges to save this file
– user281745
Aug 24 '14 at 3:56
|
show 8 more comments
I can get you there with there from the commandline. I don't use Gadmin.
First off, most of the default would probably work without making any changes. All you should have to do is just add the folder specifications you want to share.
Pick a folder or create a folder called, for instance, "myshare". Now edit and append these lines to the /etc/samba/smb.conf file:
[myshare]
comment = My Shared Area
path = /myshare
writeable = yes
browseable = yes
valid users = user1, user2
The [myshare] is the name of the share that will appear on the network for connecting to the resource. This doesn't have to match he actual folder name. But having something similar to it will have you to remember the resource you have setup.
The valid users are the ones you have created to have access to the shares. The user names will have to be a name that is actually on the Ubuntu machine. You'll still have to add the names to Samba's access list. You can do this with:
$ sudo smbpasswd -a user1
$ sudo smbpasswd -a user2
When the users are added you can always modify their passwords with:
$ sudo smbpasswd user1
After that is done you connect to the share with Windows the same way as you would any other windows shared folder. The network resource would be:
For windows:
\machinemyshare
For linux it would be:
//machine/myshare
A convenient way (semi GUI) is to bring up your file browser (either Windows or Linux) and type in the associated shared connection above into the address field of the file browser (windows' explorer or Ubuntu's natilus).
You can also connect to the Linux shared by typing this into a command terminal on Windows:
explorer \machinemyshare
hello where do i click to find my original computer shared folder which will be my home folder
– user281745
Aug 24 '14 at 3:01
@user281745 You type the line I gave you into the file explorer and press enter.
– L. D. James
Aug 24 '14 at 3:06
when i type in 1(explorer \machinehome) or 2(//machine/home) it give me 1(No command 'explorer' found did you mean: command 'jxplorer'(universe) explorer: command not found) 2(bash://machine/home: No such File or Directory
– user281745
Aug 24 '14 at 3:24
What version of Windows are you running that it can't find explorer?
– L. D. James
Aug 24 '14 at 3:35
I’m sorry I don’t use windows when it said for Linux I was assuming it was for Ubuntu 14.04 and when I tried to change the spot in smb.config file and I as my users I created it says you don’t have the proper privileges to save this file
– user281745
Aug 24 '14 at 3:56
|
show 8 more comments
I can get you there with there from the commandline. I don't use Gadmin.
First off, most of the default would probably work without making any changes. All you should have to do is just add the folder specifications you want to share.
Pick a folder or create a folder called, for instance, "myshare". Now edit and append these lines to the /etc/samba/smb.conf file:
[myshare]
comment = My Shared Area
path = /myshare
writeable = yes
browseable = yes
valid users = user1, user2
The [myshare] is the name of the share that will appear on the network for connecting to the resource. This doesn't have to match he actual folder name. But having something similar to it will have you to remember the resource you have setup.
The valid users are the ones you have created to have access to the shares. The user names will have to be a name that is actually on the Ubuntu machine. You'll still have to add the names to Samba's access list. You can do this with:
$ sudo smbpasswd -a user1
$ sudo smbpasswd -a user2
When the users are added you can always modify their passwords with:
$ sudo smbpasswd user1
After that is done you connect to the share with Windows the same way as you would any other windows shared folder. The network resource would be:
For windows:
\machinemyshare
For linux it would be:
//machine/myshare
A convenient way (semi GUI) is to bring up your file browser (either Windows or Linux) and type in the associated shared connection above into the address field of the file browser (windows' explorer or Ubuntu's natilus).
You can also connect to the Linux shared by typing this into a command terminal on Windows:
explorer \machinemyshare
I can get you there with there from the commandline. I don't use Gadmin.
First off, most of the default would probably work without making any changes. All you should have to do is just add the folder specifications you want to share.
Pick a folder or create a folder called, for instance, "myshare". Now edit and append these lines to the /etc/samba/smb.conf file:
[myshare]
comment = My Shared Area
path = /myshare
writeable = yes
browseable = yes
valid users = user1, user2
The [myshare] is the name of the share that will appear on the network for connecting to the resource. This doesn't have to match he actual folder name. But having something similar to it will have you to remember the resource you have setup.
The valid users are the ones you have created to have access to the shares. The user names will have to be a name that is actually on the Ubuntu machine. You'll still have to add the names to Samba's access list. You can do this with:
$ sudo smbpasswd -a user1
$ sudo smbpasswd -a user2
When the users are added you can always modify their passwords with:
$ sudo smbpasswd user1
After that is done you connect to the share with Windows the same way as you would any other windows shared folder. The network resource would be:
For windows:
\machinemyshare
For linux it would be:
//machine/myshare
A convenient way (semi GUI) is to bring up your file browser (either Windows or Linux) and type in the associated shared connection above into the address field of the file browser (windows' explorer or Ubuntu's natilus).
You can also connect to the Linux shared by typing this into a command terminal on Windows:
explorer \machinemyshare
answered Aug 20 '14 at 17:51
L. D. JamesL. D. James
18.7k43789
18.7k43789
hello where do i click to find my original computer shared folder which will be my home folder
– user281745
Aug 24 '14 at 3:01
@user281745 You type the line I gave you into the file explorer and press enter.
– L. D. James
Aug 24 '14 at 3:06
when i type in 1(explorer \machinehome) or 2(//machine/home) it give me 1(No command 'explorer' found did you mean: command 'jxplorer'(universe) explorer: command not found) 2(bash://machine/home: No such File or Directory
– user281745
Aug 24 '14 at 3:24
What version of Windows are you running that it can't find explorer?
– L. D. James
Aug 24 '14 at 3:35
I’m sorry I don’t use windows when it said for Linux I was assuming it was for Ubuntu 14.04 and when I tried to change the spot in smb.config file and I as my users I created it says you don’t have the proper privileges to save this file
– user281745
Aug 24 '14 at 3:56
|
show 8 more comments
hello where do i click to find my original computer shared folder which will be my home folder
– user281745
Aug 24 '14 at 3:01
@user281745 You type the line I gave you into the file explorer and press enter.
– L. D. James
Aug 24 '14 at 3:06
when i type in 1(explorer \machinehome) or 2(//machine/home) it give me 1(No command 'explorer' found did you mean: command 'jxplorer'(universe) explorer: command not found) 2(bash://machine/home: No such File or Directory
– user281745
Aug 24 '14 at 3:24
What version of Windows are you running that it can't find explorer?
– L. D. James
Aug 24 '14 at 3:35
I’m sorry I don’t use windows when it said for Linux I was assuming it was for Ubuntu 14.04 and when I tried to change the spot in smb.config file and I as my users I created it says you don’t have the proper privileges to save this file
– user281745
Aug 24 '14 at 3:56
hello where do i click to find my original computer shared folder which will be my home folder
– user281745
Aug 24 '14 at 3:01
hello where do i click to find my original computer shared folder which will be my home folder
– user281745
Aug 24 '14 at 3:01
@user281745 You type the line I gave you into the file explorer and press enter.
– L. D. James
Aug 24 '14 at 3:06
@user281745 You type the line I gave you into the file explorer and press enter.
– L. D. James
Aug 24 '14 at 3:06
when i type in 1(explorer \machinehome) or 2(//machine/home) it give me 1(No command 'explorer' found did you mean: command 'jxplorer'(universe) explorer: command not found) 2(bash://machine/home: No such File or Directory
– user281745
Aug 24 '14 at 3:24
when i type in 1(explorer \machinehome) or 2(//machine/home) it give me 1(No command 'explorer' found did you mean: command 'jxplorer'(universe) explorer: command not found) 2(bash://machine/home: No such File or Directory
– user281745
Aug 24 '14 at 3:24
What version of Windows are you running that it can't find explorer?
– L. D. James
Aug 24 '14 at 3:35
What version of Windows are you running that it can't find explorer?
– L. D. James
Aug 24 '14 at 3:35
I’m sorry I don’t use windows when it said for Linux I was assuming it was for Ubuntu 14.04 and when I tried to change the spot in smb.config file and I as my users I created it says you don’t have the proper privileges to save this file
– user281745
Aug 24 '14 at 3:56
I’m sorry I don’t use windows when it said for Linux I was assuming it was for Ubuntu 14.04 and when I tried to change the spot in smb.config file and I as my users I created it says you don’t have the proper privileges to save this file
– user281745
Aug 24 '14 at 3:56
|
show 8 more comments
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f513877%2fhelp-configuring-my-samba-file-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown