PDA

View Full Version : [ubuntu] Samba Problems (NT_STATUS_ACCESS_DENIED)



Thomas_Matthew
March 4th, 2011, 09:16 AM
Hello, I'm a student building a Domain Controller for my school as a small project. Using Ubuntu 10.04 with Samba.

The problem I am having is that when I input:

net rpc rights grant "studentdomainjpiihs\Domain Admins" SeMachineAccountPrivilege SePrintOperatorPrivilege \SeAddUsersPrivilege SeDiskOperatorPrivilege SeRemoteShutdownPrivilege

It says:

Failed to grant privleges for studentdomainjpiihs\Domain Admins (NT_STATUS_ACCESS_DENIED)

I'm using the documentation from here: https://help.ubuntu.com/10.04/serverguide/C/samba-dc.html

If someone could help, it would be really appreciated, Thanks!

Avanesov
April 21st, 2011, 03:27 AM
I had this same issue and found my answer here:

http://www.mail-archive.com/samba@lists.samba.org/msg96263.html

sudo net rpc rights grant "domainname\Domain Admins" SeMachineAccountPrivilege SePrintOperatorPrivilege SeAddUsersPrivilege SeDiskOperatorPrivilege SeRemoteShutdownPrivilege -U user-in-the-admin-group