You are not logged in.

#1 2016-07-15 20:06:43

bakteria
Member
Registered: 2015-12-15
Posts: 35

Creating public samba share, keeps prompting me for credentials

Trying to set up a public samba share on my server. I've done this more than once before and never had any trouble like this.

Here is my smb.conf

[global]
    workgroup = WORKGROUP
    security = user
    map to guest = Bad User

[media share]
    path = /mnt/media
    read only = no
    writeable = yes

smbd and nmbd is on

Using windows as client.
The hostname shows up in the network discovery page on windows. When I click it it prompts for credentials.
Typing in the adress manually same deal.

Tried in on a OSX machine as well but same issue.

This share acts as a private dropbox within the house to share files. Simplicity is key. Share discovery and just click is what I want for it.

Offline

#2 2016-07-15 20:08:24

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Creating public samba share, keeps prompting me for credentials

Don't you have to configure the share with "allow guest", "guest ok" or somesuch?

Last edited by alphaniner (2016-07-15 20:11:05)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2016-07-15 20:11:41

bakteria
Member
Registered: 2015-12-15
Posts: 35

Re: Creating public samba share, keeps prompting me for credentials

alphaniner wrote:

Don't you have to configure the share with "allow guest", "guest ok" or somesuch?

Not according to the wiki. But I have tried that as well.
https://wiki.archlinux.org/index.php/Sa … d_password

Offline

#4 2016-07-15 23:41:29

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: Creating public samba share, keeps prompting me for credentials

from smb.conf (example):

[global]
	server string = Samba Server
	workgroup = something
	log file = /var/log/samba/%m.log
	max log size = 1000
	printcap name = /etc/printcap
	name resolve order = bcast
	security = USER
	dns proxy = No
	idmap config * : backend = tdb
[Media]
	path = /path/to/Media
	veto files = /.*/
	create mask = 0664
	directory mask = 0775
	guest ok = Yes
	read only = No

might have to add yourself to sambashare group?

Last edited by WFV (2016-07-15 23:42:26)


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

Board footer

Powered by FluxBB