Samba 4 - file server

Come here to share your tips and tricks for using Samba4
Locked
dgis33
Messages: 2
Registration: Oct 09, 2015 - 1:30 p.m.

October 9, 2015 - 1:43 PM

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,
User avatar
Yvan Karmouta
Messages: 34
Registration: June 18, 2014 - 10:09
Contact :

October 14, 2015 - 11:29

Hello,
are you running your test on Debian or CentOS?
If on CentOS, SELinux or IPTables could be the cause of the problem.

Yvan
Yvan Karmouta - Tranquil IT Systems
Feel free to leave us your opinion on Wapt in the forum, or to answer our questionnaires :).
dgis33
Messages: 2
Registration: Oct 09, 2015 - 1:30 p.m.

October 15, 2015 - 9:08 PM

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.
Locked