No matter what i try, Samba shares keep promptig for login when trying to connect via windows
up vote
0
down vote
favorite
I am trying to create Samba shares that are fully public so anyone can access them on the network.
However no matter what config options i put in i always get prompted for a login which is not what i want.
Here is my current config:
[global]
path = /home/dataserver/
read only = no
guest ok = yes
writable = yes
force user = dataserver
follow symlinks = yes
wide links = yes
unix extensions = no
avaliable = yes
browseable = yes
public = yes
security = user
server string = DataServer
guest account = root
public = yes
avaliable = yes
[Accounts]
description = Accounts Folder
path = /home/dataserver/Accounts/
read only = no
guest ok = yes
writable = yes
[Backup]
description = Backup Folder
path = /home/dataserver/Backup/
read only = no
guest ok = yes
writable = yes
[Databases]
description = Databases Folder
path = /home/dataserver/Databases/
read only = no
guest ok = yes
writable = yes
networking permissions samba windows-10
add a comment |
up vote
0
down vote
favorite
I am trying to create Samba shares that are fully public so anyone can access them on the network.
However no matter what config options i put in i always get prompted for a login which is not what i want.
Here is my current config:
[global]
path = /home/dataserver/
read only = no
guest ok = yes
writable = yes
force user = dataserver
follow symlinks = yes
wide links = yes
unix extensions = no
avaliable = yes
browseable = yes
public = yes
security = user
server string = DataServer
guest account = root
public = yes
avaliable = yes
[Accounts]
description = Accounts Folder
path = /home/dataserver/Accounts/
read only = no
guest ok = yes
writable = yes
[Backup]
description = Backup Folder
path = /home/dataserver/Backup/
read only = no
guest ok = yes
writable = yes
[Databases]
description = Databases Folder
path = /home/dataserver/Databases/
read only = no
guest ok = yes
writable = yes
networking permissions samba windows-10
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to create Samba shares that are fully public so anyone can access them on the network.
However no matter what config options i put in i always get prompted for a login which is not what i want.
Here is my current config:
[global]
path = /home/dataserver/
read only = no
guest ok = yes
writable = yes
force user = dataserver
follow symlinks = yes
wide links = yes
unix extensions = no
avaliable = yes
browseable = yes
public = yes
security = user
server string = DataServer
guest account = root
public = yes
avaliable = yes
[Accounts]
description = Accounts Folder
path = /home/dataserver/Accounts/
read only = no
guest ok = yes
writable = yes
[Backup]
description = Backup Folder
path = /home/dataserver/Backup/
read only = no
guest ok = yes
writable = yes
[Databases]
description = Databases Folder
path = /home/dataserver/Databases/
read only = no
guest ok = yes
writable = yes
networking permissions samba windows-10
I am trying to create Samba shares that are fully public so anyone can access them on the network.
However no matter what config options i put in i always get prompted for a login which is not what i want.
Here is my current config:
[global]
path = /home/dataserver/
read only = no
guest ok = yes
writable = yes
force user = dataserver
follow symlinks = yes
wide links = yes
unix extensions = no
avaliable = yes
browseable = yes
public = yes
security = user
server string = DataServer
guest account = root
public = yes
avaliable = yes
[Accounts]
description = Accounts Folder
path = /home/dataserver/Accounts/
read only = no
guest ok = yes
writable = yes
[Backup]
description = Backup Folder
path = /home/dataserver/Backup/
read only = no
guest ok = yes
writable = yes
[Databases]
description = Databases Folder
path = /home/dataserver/Databases/
read only = no
guest ok = yes
writable = yes
networking permissions samba windows-10
networking permissions samba windows-10
asked Nov 14 at 10:39
Josh Allport
32
32
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
The default smb.conf supplied by Ubuntu contains a parameter missing from your smb.conf. Without the override samba defaults to map to guest = Never which pretty much does what it sounds like it would do - Never allow guest access.
Restore the missing override by adding the following to the [global] section of smb.conf:
map to guest = Bad User
Then restart smbd:
sudo service smbd restart
Thank you, this solved by issue.
– Josh Allport
Nov 14 at 16:30
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
The default smb.conf supplied by Ubuntu contains a parameter missing from your smb.conf. Without the override samba defaults to map to guest = Never which pretty much does what it sounds like it would do - Never allow guest access.
Restore the missing override by adding the following to the [global] section of smb.conf:
map to guest = Bad User
Then restart smbd:
sudo service smbd restart
Thank you, this solved by issue.
– Josh Allport
Nov 14 at 16:30
add a comment |
up vote
0
down vote
accepted
The default smb.conf supplied by Ubuntu contains a parameter missing from your smb.conf. Without the override samba defaults to map to guest = Never which pretty much does what it sounds like it would do - Never allow guest access.
Restore the missing override by adding the following to the [global] section of smb.conf:
map to guest = Bad User
Then restart smbd:
sudo service smbd restart
Thank you, this solved by issue.
– Josh Allport
Nov 14 at 16:30
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
The default smb.conf supplied by Ubuntu contains a parameter missing from your smb.conf. Without the override samba defaults to map to guest = Never which pretty much does what it sounds like it would do - Never allow guest access.
Restore the missing override by adding the following to the [global] section of smb.conf:
map to guest = Bad User
Then restart smbd:
sudo service smbd restart
The default smb.conf supplied by Ubuntu contains a parameter missing from your smb.conf. Without the override samba defaults to map to guest = Never which pretty much does what it sounds like it would do - Never allow guest access.
Restore the missing override by adding the following to the [global] section of smb.conf:
map to guest = Bad User
Then restart smbd:
sudo service smbd restart
answered Nov 14 at 13:33
Morbius1
1,21627
1,21627
Thank you, this solved by issue.
– Josh Allport
Nov 14 at 16:30
add a comment |
Thank you, this solved by issue.
– Josh Allport
Nov 14 at 16:30
Thank you, this solved by issue.
– Josh Allport
Nov 14 at 16:30
Thank you, this solved by issue.
– Josh Allport
Nov 14 at 16:30
add a comment |
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%2f1092816%2fno-matter-what-i-try-samba-shares-keep-promptig-for-login-when-trying-to-connec%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