[Samba] How to remove a Samba AD config?
rpenny at samba.org
Sun Dec 27 19:49:38 UTC 2015
On 27/12/15 17:54, Viktor Trojanovic wrote:
> On a test installation, I chose some wrong values when setting up a
> Samba AD DC. Instead of trying to rectify this, I'd prefer just to
> remove it all and start from scratch.
You do not have to remove *all* of Samba, just delete or rename smb.conf
and then re-provision, this will overwrite everything else.
> I did the following:
> - Remove Samba package using the package manager
> - Remove /etc/samba/smb.conf
> - Delete folder /var/lib/samba (this is equal to /usr/share/samba on
> some systems - it's where sysvol is located)
> I thought that's all but it's obviously not. While the original AD
> provisioning gave me correct standard values for the realm, that's not
> the case on the second install. Even though that's not really
> important, it means that something must have changed and I'd just wish
> to understand what.
> Is there a list of all folders and files that change upon AD DC
> provisioning? Is there a better way to completely remove a Samba
More information about the samba