[Samba] windows 8.1 unable to connect to samba 4.2 share on FreeBSD domain auth

Rowland Penny rowlandpenny241155 at gmail.com
Wed Oct 28 08:01:05 UTC 2015


On 27/10/15 23:05, Motty wrote:
> Hello,
> I am having issues getting users trying to connect to samba share. The 
> weird part is that some users are able to connect but some aren't. all 
> windows 7 client are able to connect without issues. any ideas?
>
> #=============== Global Settings
> [global]
> workgroup = DOMAIN
>
> realm = domain.ad
>
> netbios name = Share2
>
> server string =
>
> username map = /usr/local/etc/samba/username.map
>
> hosts allow = 192.168.5. 192.168.1. 127. 3.
>
> security = domain
>
> load printers = no
> guest account = public
> log file = /var/log/samba4/log.%m
> ax log size = 50
> #password server = austin.domain.ad
> passdb backend = tdbsam
> # socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> local master = no
> os level = 1
> domain master = no
> preferred master = no
> domain logons = no
> dns proxy = no
> wins server = 192.168.5.90
> client ntlmv2 auth = yes
> ntlm auth = yes
> lanman auth = yes
> smb ports = 139
>
> [public]
>   comment = Public Shared Directory
>   path = /home/public
>   public = yes
>   force user = public
>   force group = public
>   only guest = yes
>   writeable = yes
>
> Thanks,
> Motty
>

OK, bit confused here, you have this: realm = domain.ad and this: 
security = domain
They are really mutually exclusive, you would only use the first in an 
AD domain and the second in an NT4-style domain.
What sort of domain is your machine in??

Rowland





More information about the samba mailing list