Page 1 of 1

Samba 4 - file server

Published: October 9, 2015 - 1:43 PM
by dgis33
Hello,

I followed the tutorials (very good by the way) to install Samba4 as an Active Directory server:
https://dev.tranquil.it/wiki/SAMBA_-_In ... au_domaine
and
https://dev.tranquil.it/wiki/SAMBA_-_In ... ers_Samba4
for the file server

. For the Active Directory, there doesn't seem to be a problem.
I have my domain and a PC integrated into it with a user account.


It's on the file server that I'm having problems: everything works until I try to set up the shares

using the `net sam rights` and `net rpc rights` commands (specifying `-U'MYDOMAIN\administrator'); I'm then asked for a password. I'm trying to access the "administrator" account, but each time I get the error message: "
Could not connect to server 127.0.0.1
Connection failed: NT_STATUS_ACCES_DENIED".


I've searched everywhere on Google and tried different solutions, but nothing seems to work. Do you have any ideas?

Thank you
. Sincerely,

Re: Samba 4 - File Server

Published: October 14, 2015 - 11:29
by Yvan Karmouta
Hello,
are you running your test on Debian or CentOS?
If on CentOS, SELinux or IPTables could be the cause of the problem.

Yvan

Re: Samba 4 - File Server

Published: October 15, 2015 - 9:08 PM
by dgis33
Thanks for the reply.
It's on Debian, but I finally found the problem: there was a `valid users` directive in the smb.conf file.