F
F
flipix2016-02-05 12:28:34
FreeBSD
flipix, 2016-02-05 12:28:34

How to set up samba4 on FreeBSD to access a share without a password?

Started tuning on FreeBSD 10.2. I thought they fixed the duplication of files on samba4. Duplication is on all versions that I tried (samba41, samba42, samba43). But access without a password did not work. I rolled back first to 10.1 with a check, and then to 10.0. Doesn't work so far.

# Global parameters
[global]
  debug level = 4
  workgroup = LOCAL
  server string = Domain Server
  realm = LOCAL.COM
  netbios name = SERV
  server role = active directory domain controller
  server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate, smb
  max log size = 50

  pam password change = yes
  map to guest = Bad Password
  guest ok = yes
  guest account = guest

  allow dns updates = nonsecure
  nsupdate command = /usr/local/bin/samba-nsupdate -g
  dns forwarder = 192.168.10.1
  idmap_ldb:use rfc2307 = yes
  security = user

  #ACLs
  inherit acls = true
  dos filemode = true
  force unknown acl user = true

[share]
  comment = Public Folder
  path = /share
  #force user = nobody
  #available = yes
  browsable = yes
  public = yes
  #only guest = yes
  guest ok = yes
  writable = yes
  read only = no

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Chernykh, 2016-02-05
@sashkets

hosts allow =

T
tema86, 2016-02-11
@tema86

Try
null passwords = Yes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question