Web lists-archives.com

Re: [Samba] Setting up Samba AD-DC on Debian Stretch made easy.




Hai Rowland, 

Now, dont be sorry, i ask for this ;-). Is good to see and hear people use it. 
Everything that can be improved, i'll listen to and think about it.

This was a "copy past" from an other script, so yes, this one is an easy change.
# Enable one of these two. 
#SAMBA_NT_DOMAIN="BUILTIN\Administrators" 
#SAMBA_NT_DOMAIN="$(cat /etc/samba/smb.conf | grep workgroup | awk '{ print $NF}')\Domain Admins" 

So, i've changed it to ... 
# You can only enable one of these two at once, if you want both groups, run it, change it and run it again.
SAMBA_DC_ADMIN_GROUP_CHOICE="BUILTIN\Administrators"
SAMBA_DC_ADMIN_GROUP_CHOICE="$(cat /etc/samba/smb.conf | grep workgroup | awk '{ print $NF}')\Domain Admins" 

Yes, i know long variable name, but that makes merging all script much easier. 

.. Its changed, if you have a better way to describe this, you know.. Let me know. 
Your the Englishman here :-p 
;-) 


Greetz, 

Louis
 

> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens 
> Rowland Penny via samba
> Verzonden: dinsdag 12 september 2017 13:14
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: Re: [Samba] Setting up Samba AD-DC on Debian 
> Stretch made easy.
> 
> On Tue, 12 Sep 2017 13:00:17 +0200
> "L.P.H. van Belle via samba" <samba@xxxxxxxxxxxxxxx> wrote:
> 
> > Hai Roy,
> > 
> > I've applied the the correct paths as reported. 
> > 
> > Thanks!! For reporting this. 
> > 
> > 
> 
> Sorry Louis, but it doesn't make sense to use a variable 
> called 'SAMBA_NT_DOMAIN' for an ADMIN user.
> 
> Rowland
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba