Has anybody got Samba44 work with Windows 10? I have tried about a half-day to get it work properly. Windows explorer detecs my server, but refuses to conned. smb4.conf's workgroup is equal to Windows'.
I ran the
smb4.conf:
I have given permissions to my account.
I also have run
In /etc/rc.conf I have
In Windows 10:
With user joni gets error 86.
I have tried to log in as joni, joni@JONIBSD (Account domain) and joni@VEHMERI (Workgroup), but Windows says that username or password is wrong. What could I do? Is there something wrong with my smb4.conf?
I ran the
testparm
:
Code:
$ testparm
Load smb config files from /usr/local/etc/smb4.conf
Processing section "[homes]"
Processing section "[public]"
Processing section "[private]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
server string = Samba serveri
workgroup = VEHMERI
preferred master = Yes
log file = /var/log/log.%m
max log size = 50
security = USER
wins support = Yes
idmap config * : backend = tdb
[homes]
comment = Home Directories
browseable = No
read only = No
[public]
comment = Public
path = /secure/public
create mask = 0770
directory mask = 0770
read only = No
[private]
comment = Private
path = /secure/private
create mask = 0770
directory mask = 0770
read only = No
valid users = joni
write list = joni
[printers]
comment = Tulostimet
path = /var/spool/samba
browseable = No
printable = Yes
guest ok = Yes
smb4.conf:
Code:
[global]
workgroup = VEHMERI
server string = Samba serveri
log file = /var/log/log.%m
max log size = 50
security = user
encrypt passwords = yes
socket options = TCP_NODELAY
preferred master = yes
wins support = yes
[homes]
comment = Home Directories
browseable = no
writeable = yes
[public]
comment = Public
path = /secure/public
public = no
writeable = yes
directory mask = 0770
create mask = 0770
[private]
comment = Private
path = /secure/private
public = no
writeable = yes
valid users = joni
write list = joni
directory mask = 0770
create mask = 0770
[printers]
comment = Tulostimet
guest ok = Yes
printable = Yes
browseable = yes
path = /var/spool/samba
I have given permissions to my account.
Code:
$ sudo chmod 770 /secure/private
$ sudo chmod 770 /secure/public
$ sudo chown joni /secure/public
$ sudo chown joni /secure/private
I also have run
pdbedit
to my account. sudo pdbedit -a joni
In /etc/rc.conf I have
Code:
samba_server_enable="YES"
winbindd_enable="YES"
In Windows 10:
net use X: \\JONIBSD\public
With user joni gets error 86.
I have tried to log in as joni, joni@JONIBSD (Account domain) and joni@VEHMERI (Workgroup), but Windows says that username or password is wrong. What could I do? Is there something wrong with my smb4.conf?