[Samba] RPC Server is unavailable
Rowland Penny
rpenny at samba.org
Mon Jun 12 14:55:57 UTC 2017
On Mon, 12 Jun 2017 06:40:29 -0700 (PDT)
davidgs via samba <samba at lists.samba.org> wrote:
> I'm new to samba/AD on Linux, so please go easy on me. I've been
> trying for a bit to set this up and am having some success and some
> not.
>
> I am running Ubuntu Server 16.04 LTS and Samba
>
>
> As I said, I'm not new to Linux/UNIX, but this whole Windows/Active
> Directory/Domain Controller stuff is voodoo to me.
>
And it Voodoo, you don't do so well LOL, to paraphrase an old song.
I suggest you change the [global] by removing these lines:
security = ads
winbind use default domain = Yes
idmap config * : range = 2000-49999
idmap config * : backend = tdb
idmap config XYZ : range = 50000-60000
idmap config XYZ : backend = rid
vfs objects = acl_xattr
map acl inherit = yes
store dos attributes = yes
Everyone of them should only be used on a Unix domain member.
You need to add these two lines:
netbios name = <WHATEVER YOUR DCs HOSTNAME IS>
idmap_ldb:use rfc2307 = yes
Remove these two lines from [share] :
force create mode = 0660
force directory mode = 0660
They do not work on a DC
Finally, [homes] does not work on a DC, change it to this:
[home]
read only = No
path = /var/lib/samba/home
Rowland
More information about the samba
mailing list