Samba Member Server Troubleshooting: Difference between revisions

From SambaWiki
(Created page with "= SeDiskOperator privilege can't be set = You want to set SeDiskOperatorPrivilege on your member server to manage your share permissions but you get an error like this: # n...")
 
No edit summary
Line 1: Line 1:
= Introduction =
This page will treat common problems when setting up or running a Samba Member server.




= SeDiskOperator privilege can't be set =
= SeDiskOperator privilege can't be set =



Revision as of 16:20, 14 February 2015

Introduction

This page will treat common problems when setting up or running a Samba Member server.



SeDiskOperator privilege can't be set

You want to set SeDiskOperatorPrivilege on your member server to manage your share permissions but you get an error like this:

# net rpc rights grant 'SAMDOM\Domain Admins' SeDiskOperatorPrivilege -U'SAMDOM\administrator'
Enter SAMDOM\administrator's password:
Could not connect to server 127.0.0.1
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE

In this case you need to create a user mapping file (i.e. /etc/samba/user.map) with the following content:

!root = SAMDOM\Administrator SAMDOM\administrator Administrator administrator

After this you need to add a parameter to the [global] section of your smb.conf:

username map = /etc/samba/user.map

Restart or reload samba and you will then be able to set SeDiskOperatorPrivilege with the administrator account.