Comments on: Manage Samba4 AD Domain Controller DNS and Group Policy from Windows – Part 4 https://www.tecmint.com/manage-samba4-dns-group-policy-from-windows/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Sat, 01 Sep 2018 06:07:31 +0000 hourly 1 By: Rifqi https://www.tecmint.com/manage-samba4-dns-group-policy-from-windows/comment-page-1/#comment-1030644 Sat, 01 Sep 2018 06:07:31 +0000 http://www.tecmint.com/?p=23735#comment-1030644 Access was denied. Would you like to add it anyway ? When i tried add dns from rsat. How to repair these permission ??

]]>
By: Nuno Mourinho https://www.tecmint.com/manage-samba4-dns-group-policy-from-windows/comment-page-1/#comment-954807 Wed, 27 Dec 2017 11:04:21 +0000 http://www.tecmint.com/?p=23735#comment-954807 In reply to nehru.

If you run a command like sudo command, and you are not in the sudoers file, then you have the message # is not in the sudoers file. this incident will be reported. This is a normal situation

The $ indicates a different shell. If is possible that you have created a user with the useradd command instead of the adduser command. These two commands are different, since one creates the home directory, and the other does not create it.

Try to run /bin/bash to get the right shell. And recreate the user if needed (use the root login)

]]>
By: Matei Cezar https://www.tecmint.com/manage-samba4-dns-group-policy-from-windows/comment-page-1/#comment-954734 Wed, 27 Dec 2017 06:53:42 +0000 http://www.tecmint.com/?p=23735#comment-954734 In reply to nehru.

You must manually add the user to sudoers file or via usermoad -aG command in order to gain root privileges. Also, home directory must me setup in smb.conf file with template homedir directive.

]]>
By: nehru https://www.tecmint.com/manage-samba4-dns-group-policy-from-windows/comment-page-1/#comment-951245 Mon, 18 Dec 2017 09:14:24 +0000 http://www.tecmint.com/?p=23735#comment-951245 Hi,

We have a problem Ubuntu machine successfully installed the Domain controller in Ubuntu but will looks like came into the terminal like $.

If any commands are typed it will getting a error.issue # is not in the sudoers file. this incident will be reported “please help me

]]>
By: Nuno Mourinho https://www.tecmint.com/manage-samba4-dns-group-policy-from-windows/comment-page-1/#comment-948272 Thu, 14 Dec 2017 17:35:36 +0000 http://www.tecmint.com/?p=23735#comment-948272 In reply to Manuel Borges.

Yes Manuel Borges, I have solved the problem.

Put allow dns updates in global, like this this:

[global]
allow dns updates = nonsecure

This way the automatic updates work. Don’t ask me why….

]]>