Displaying 20 results from an estimated 10000 matches similar to: "(Samba 4) Recreate AD"
2016 Feb 08
1
(Samba 4) Recreate AD
Actually I am using a single-service VM, but blowing away a VM just because I want to demote/promote feels like overkill.
For step 3, since I’m running from source, does that change anything?
re: step 4 I plan to edit the existing /usr/local/samba/etc/smb.conf and krb5.conf files, but if you think this is a bad idea then I’ll rebuild them.
Thanks
Paul
> On 8 Feb 2016, at 16:43, mathias
2016 Feb 08
0
(Samba 4) Recreate AD
Hi,
Using VM helps: you can detroy them then re-create them easily. Looks like
you are not using them...
How I proceed:
1° stop samba
2° rm -rf /var/lib/samba (where private and sysvol directories are)
3° force reinstall of packages, one only is needed to recreate
/var/lib/samba and its content (samba-common with my version of Samba).
4° you could also remove /etc/samba/smb.conf and
2016 Feb 08
0
(Samba 4) Recreate AD
On 08/02/16 16:01, Paul Hargreaves wrote:
> I’ve currently got a Samba 4 AD but want to rename it. However, as I understand things, renaming isn’t easy.
> Happy to rebuild it - home lab, only a few machines affected.
>
> However, no topic in the FAQ on how to remove an existing domain: https://wiki.samba.org/index.php/FAQ <https://wiki.samba.org/index.php/FAQ>
> Demoting won’t
2015 Oct 29
3
Demote a dead PDC: residuals in "DNS" console
Thank you for hint to this VBS script. In fact I alraedy saw it but I'm not
too confident in my VB knowledge, so I didn't use that script, prefering
rely on Samba command and shell scripts to work around issues.
You spoke about SOA record which wasn't changed, same here. There is
another DNS record I had to change: _ldap._tcp.pdc._msdcs.samba.domain.tld.
I spoke about removing
2015 Oct 29
2
Demote a dead PDC: residuals in "DNS" console
On 10/29/2015 9:15 AM, Ole Traupe wrote:
>
>
> Am 29.10.2015 um 13:54 schrieb mathias dufresne:
>> Thank you for hint to this VBS script. In fact I alraedy saw it but
>> I'm not
>> too confident in my VB knowledge, so I didn't use that script, prefering
>> rely on Samba command and shell scripts to work around issues.
>>
>> You spoke about SOA
2015 Oct 29
2
Demote a dead PDC: residuals in "DNS" console
Hi,
I played with demote recently on a test AD domain composed with Samba
version 4.3.0 and 4.3.1. I demoted all version 4.3.0.
I was facing same issue as you. I written long mails here to explain how I
managed that. My DNS looks clear now.
Today I played with AD sites and I found in default sites all demoted DC.
They weren't removed from DNS DB nor here. For now I have no idea how to
get
2015 Oct 28
4
Demote a dead PDC: residuals in "DNS" console
Hi,
I demoted my PDC (DC1) forcefully, because replication (among others)
wasn't working anymore due to hard disk failure and I was afraid of
spending a lot of time on nothing.
With DC1 offline I seized the FSMO roles on DC2 (4.2.5), restarted
Samba, and found errors in the samba log due to the missing DC1.
I removed the two DNS entries created according to this site:
2015 Oct 30
2
Demote a dead PDC: residuals in "DNS" console
On 10/29/2015 9:56 AM, Ole Traupe wrote:
>
>
> Am 29.10.2015 um 14:37 schrieb James:
>> On 10/29/2015 9:15 AM, Ole Traupe wrote:
>>>
>>>
>>> Am 29.10.2015 um 13:54 schrieb mathias dufresne:
>>>> Thank you for hint to this VBS script. In fact I alraedy saw it but
>>>> I'm not
>>>> too confident in my VB knowledge, so
2015 Oct 30
2
Demote a dead PDC: residuals in "DNS" console
On 10/30/2015 9:19 AM, Ole Traupe wrote:
>
>
> Am 30.10.2015 um 13:33 schrieb James:
>> On 10/29/2015 9:56 AM, Ole Traupe wrote:
>>>
>>>
>>> Am 29.10.2015 um 14:37 schrieb James:
>>>> On 10/29/2015 9:15 AM, Ole Traupe wrote:
>>>>>
>>>>>
>>>>> Am 29.10.2015 um 13:54 schrieb mathias dufresne:
2015 Oct 30
2
Demote a dead PDC: residuals in "DNS" console
On 10/30/2015 10:11 AM, Ole Traupe wrote:
>
>
> Am 30.10.2015 um 14:56 schrieb James:
>> On 10/30/2015 9:19 AM, Ole Traupe wrote:
>>>
>>>
>>> Am 30.10.2015 um 13:33 schrieb James:
>>>> On 10/29/2015 9:56 AM, Ole Traupe wrote:
>>>>>
>>>>>
>>>>> Am 29.10.2015 um 14:37 schrieb James:
2015 Dec 09
2
Backup Member Server
Hai,
but dont forget that if you use samba also as print server
you need to backup the /var/lib/samba/drivers en printing also.
( and in my case a different folder. )
In /var/cache/samba is the file printer_list.tdb
I dont think that recreated, and if it is, you probely will loose the printer settings. I'll have to look that up.
Maybe its an option to let the backup scrip detect if it
2015 Dec 08
3
Backup Member Server
Besides, obviously, the potential shared data on file servers, can't you
just use the script that is introduced for backing up DCs? At least if
the complete Samba installation is in "/usr/local/samba"...
https://wiki.samba.org/index.php/Backup_and_restore_an_Samba_AD_DC
Am 02.12.2015 um 20:06 schrieb Marc Muehlfeld:
> Hello James,
>
> Am 02.12.2015 um 15:57 schrieb
2016 Jan 19
2
Samba AD Backup
I want to backup my Samba AD. I have found and read the following:
https://wiki.samba.org/index.php/Backup_and_restore_an_Samba_AD_DC
The guide refers to a script in the source however I have installed
straight from the package manager. Is there a script/guide available that
does not need the source?
2015 Oct 26
2
Update Wiki for backup script
Hello,
I notice the script expects to have $PATH include
'/usr/local/samba/bin'. Script will fail if it can't find tdbbackup. It
was obvious to me but others may stumble. Maybe someone could add under
the 'About the samba_backup script' section.
"/This requires that your whole samba installation is on one place (like
/usr/local/samba/). This script assumes you
2016 Apr 19
2
Problem with backup and initiation
Hello guys
I have two questions.
1 - I installed Samba 4 in debian 8 via apt and watched the referenced
backup script that link
https://wiki.samba.org/index.php/Backup_and_restore_an_Samba_AD_DC does not
exist in Samba installed via apt.
How do I bacxkup the Samba4 AD installed by apt?
2 - In another client installed in order compiled via source code in debian
8, everything working, but the
2015 Sep 01
1
Samba 4 DC backups
On 2015-09-01 18:48, L.P.H. van Belle wrote:
> and most important...
>
> If you have 2 DC's ...
> ! NEVER USE THE BACKUP SCRIPT TO RESTORE ONE OF THE DC's !
>
> This wil corrupt your AD databases..
> Just remove the old DC from the domain and add a new one if needed .
>
> .. Rowland.
> This is also a nice to have in your backup script.
> Auto detect
2016 Feb 19
3
Restoring single DC virtual machine
Hi,
I plan to install one Samba4 DC on a virtual machine to provide services
for
less than 50 users:
- centralized authentication on 2 or 3 Linux servers
- LDAP authentication on an ownCloud server
- I do not think that I will join Windows computers to the domain, but
maybe
one day.
I know it is better to install more than one DC to have replication, but
in a
so small setup, would it be
2006 Jan 19
6
How to remove disk
What is the procedure to remove a disk from a ZFS pool and remove the
EFI label ?
klm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20060119/4d074b88/attachment.html>
2005 Jan 22
4
rsync failing with return code 13
Hi there,
I'm running rsync on an nslu2 (using nslu2-linux) and it keeps failing
with return code 13. The man page doesn't give a good description of
what this means ("Errors with program diagnostics") so could someone
give me a clue. as to what diagnostics rsync is running and reasons why
they might be failing? The only magic to note is the machine only has
32MB of ram so low
2007 Aug 14
8
sh DTrace provider available
As noted on my blog and at
http://www.opensolaris.org/os/community/dtrace/shells/ I''ve made
available a DTrace provider for the Bourne shell. Before anyone starts
yelling at me for not starting with another shell, read the blog I made
explaining why we started with shell (link on the community page
referenced above).
For /bin/sh, I''ve put up something akin to a chapter in