search for: samba_upgradedns

Displaying 20 results from an estimated 271 matches for "samba_upgradedns".

2016 Feb 01
2
samba_upgradedns returned an error "Unable to find uid/gid for Domain Admins "
Hi at all, i´am using samba 4.3.4 as "ad", "migrated by classicupgrade" some time ago from an nt4-domain. By trying samba_upgradedns --dns-backend=BIND9_DLZ i get the following error: Traceback (most recent call last): File "/usr/sbin/samba_upgradedns", line 262, in <module> paths, lp.configfile, lp) File "/usr/lib64/python2.7/site-packages/samba/provision/__init__.py", line 298, in find_prov...
2015 Dec 30
4
dns_tkey_negotiategss: TKEY is unacceptable
...the field or entry to a new DC. Already tried the step described here https://wiki.samba.org/index.php/Dns_tkey_negotiategss:_TKEY_is_unacceptable But when trying to delete the account used the same says that there is (and it really is not listed, create a manual account ok), but when running samba_upgradedns --dns-backend = BIND9_DLZ I got the error Reading domain information Traceback (most recent call last): File "/ opt / samba / sbin / samba_upgradedns", line 262, in <module> paths, lp.configfile, lp) File "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py&qu...
2016 Sep 01
6
Segmentation fault in samba_upgradedns - Samba 4.4.5
Hi, I'm having the following issue when trying to switch from samba_internal to bind9_dlz. I have been following the procedure here: https://wiki.samba.org/index.php/Changing_the_DNS_backend# Changing_from_Samba_Internal_DNS_to_BIND_DLZ I get the following: [root at dc2 ~]# /usr/local/sbin/samba_upgradedns --dns-backend=BIND9_DLZ Reading domain information Segmentation fault (core dumped) The system is running Freebsd 11.0-RC2. I have two domain controllers and I am attempting this on one of them whilst the other is still running. Filesystem is zfs. Both DCs are running Samba 4.4.5 and are otherwi...
2016 May 28
0
[samba_upgradedns] Error parsing DNS data
​Hello Andrew, Thank you for your reply (very much appreciated). > I take it you are trying to move from the flatfile based bind to internal. That is correct > The samba_upgradedns script is pretty simple, and uses the > dnspython library to read zone files. It certainly could be > the case that it just can't read the zone file after bind9 > has been doing dynamic updates on it. > Perhaps get a newer dnspython lib on your system, > and see if that helps....
2016 Sep 02
1
Segmentation fault in samba_upgradedns - Samba 4.4.5
...t; to a supported version. > > Rowland > Thanks for the info. This may be of concern to the Freebsd samba maintainer. I've done some further debugging of the segfault I get when attempting to change to the bind backend. To confirm, I get the following: [root at dc2 /usr/local/etc]# samba_upgradedns --dns-backend=BIND9_DLZ Reading domain information Segmentation fault (core dumped) I've been carefully adding some debugging prints to the python code, and in samba_upgradedns the segfault occurs in this function: names = find_provision_key_parameters(ldbs.sam, ldbs.secrets, ldbs.idmap,...
2019 Feb 27
3
Samba 4.x to 4.9 upgrade and bind DLZ dns.
.... Currently if you run samba 4.x-4.8 and upgraded to 4.9.0-4.9.4 on bind9 dns. Your missing the new folders. So even when your already running on bind9_dlz, follow these steps, and prevent possible problems in future. # create the missing folder. mkdir -p /var/lib/samba/bind-dns/dns # use samba_upgradedns to move the files and folder and fixes rights. samba_upgradedns --dns-backend=BIND9_DLZ ... Yes, even if you already run bind9_dlz. # Change the path in bind. So samba can load the needed named.conf again. sed -i 's/private/bind-dns/g' $(rgrep "samba/private/named.conf" | awk -...
2017 May 15
1
report on issue of samba_upgradedns
Hi, This is just a report I wanted to share. Maybe someone can put it on the wiki. I created a new DC for a new site using the samba internal dns option. Later, I decided to go with bind. So I ran the command, and got this error: [root at theoden ~]# samba_upgradedns --dns-backend=BIND9_DLZ --verbose Reading domain information DNS accounts already exist No zone file /var/lib/samba/private/dns/E-TRUST.COM.BR.zone DNS records will be automatically created DNS partitions already exist Adding dns-theoden account Traceback (most recent call last): File "/sbi...
2016 Sep 01
0
Segmentation fault in samba_upgradedns - Samba 4.4.5
...10.so"; }; Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Cameron Murdoch > via samba > Verzonden: donderdag 1 september 2016 13:25 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Segmentation fault in samba_upgradedns - Samba 4.4.5 > > Hi, > > I'm having the following issue when trying to switch from samba_internal > to > bind9_dlz. I have been following the procedure here: > > https://wiki.samba.org/index.php/Changing_the_DNS_backend# > Changing_from_Samba_Internal_DNS_to_BIND_...
2016 Feb 02
0
samba_upgradedns returned an error "Unable to find uid/gid for Domain Admins "
...rieb Rowland penny: >> On 01/02/16 22:24, Markus Dellermann wrote: >>> Hi at all, >>> >>> i´am using samba 4.3.4 as "ad", "migrated by classicupgrade" some time ago >>> from an nt4-domain. >>> >>> By trying >>> samba_upgradedns --dns-backend=BIND9_DLZ >>> >>> i get the following error: >>> >>> Traceback (most recent call last): >>> File "/usr/sbin/samba_upgradedns", line 262, in <module> >>> >>> paths, lp.configfile, lp) >>...
2013 Oct 09
1
samba_upgradedns output
When I run: # samba_upgradedns --dns-backend=BIND9_DLZ I get the following: lpcfg_load: refreshing parameters from /etc/samba/smb.conf params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Reading domain information lpcfg_load: refreshing parameters from /etc/samba/smb.conf params.c:pm_process() -...
2015 Dec 30
2
dns_tkey_negotiategss: TKEY is unacceptable
...came /opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py +282 and commented the line (not sure if this and bad) # names.policyid = str (res7 [0] ["cn"]). replace ("{", ""). replace ("}", "") Thus the error entering --dns-backend samba_upgradedns = BIND9_DLZ or --dns-backend samba_upgradedns = SAMBA_INTERNAL sumio and the case is made that, however validei the DNS account is deleted but not recreated, and sometimes when trying to recreate Manually says ERROR (ldb): Failed to add user 'dns-DC-Linux': - samldb: Account name (sAM...
2016 Feb 02
3
samba_upgradedns returned an error "Unable to find uid/gid for Domain Admins "
...2016, 09:51:03 CET schrieb Rowland penny: > On 01/02/16 22:24, Markus Dellermann wrote: > > Hi at all, > > > > i´am using samba 4.3.4 as "ad", "migrated by classicupgrade" some time ago > > from an nt4-domain. > > > > By trying > > samba_upgradedns --dns-backend=BIND9_DLZ > > > > i get the following error: > > > > Traceback (most recent call last): > > File "/usr/sbin/samba_upgradedns", line 262, in <module> > > > > paths, lp.configfile, lp) > > > > Fil...
2015 Dec 30
2
dns_tkey_negotiategss: TKEY is unacceptable
...n/__init__.py +282 >> >> and commented the line (not sure if this and bad) >> >> # names.policyid = str (res7 [0] ["cn"]). replace ("{", ""). replace >> ("}", "") >> >> Thus the error entering --dns-backend samba_upgradedns = BIND9_DLZ or >> --dns-backend samba_upgradedns = SAMBA_INTERNAL sumio and the case is >> made that, however validei the DNS account is deleted but not >> recreated, and sometimes when trying to recreate Manually says >> >> >> ERROR (ldb): Failed to add user...
2016 Aug 29
0
samba_upgradedns seg fault - Samba 4.4.5
Hi, I'm having the following issue when trying to switch from samba_internal to bind9_dlz. I have been following the procedure here: https://wiki.samba.org/index.php/Changing_the_DNS_backend#Changing_from_Samba_Internal_DNS_to_BIND_DLZ I get the following: [root at dc2 ~]# /usr/local/sbin/samba_upgradedns --dns-backend=BIND9_DLZ Reading domain information Segmentation fault (core dumped) The system is running Freebsd 11.0-RC2. I have two domain controllers and I am attempting this on one of them whilst the other is still running. Filesystem is zfs. Both DCs are running Samba 4.4.5 and are otherwi...
2024 Dec 11
1
bind-dns configuration is generated incorrectly after "domain backup restore" + samba_upgradedns
...backup-xxxxxx.tar.bv2. The restoration works fine, Samba starts and I can even get new Kerberos tickets using kinit on the local server. However, named is not so happy. I've noticed that the backup restore will use the internal DNS (as stated in the Backup and restore FAQ), so I've tried `samba_upgradedns`: root at dc:/# samba_upgradedns --dns-backend=BIND9_DLZ Reading domain information DNS accounts already exist No zone file /var/lib/samba/bind-dns/dns/DOMAIN.SE.zone (normal) DNS partitions already exist Adding dns-dc1-restored account check_spn_alias_collision: trying to add SPN 'DNS/dc1-rest...
2016 Sep 01
0
Segmentation fault in samba_upgradedns - Samba 4.4.5
...g the procedure > > > here: > > > > > > https://wiki.samba.org/index.php/Changing_the_DNS_backend# > > > Changing_from_Samba_Internal_DNS_to_BIND_DLZ > > > > > > I get the following: > > > > > > [root at dc2 ~]# /usr/local/sbin/samba_upgradedns > > > --dns-backend=BIND9_DLZ Reading domain information > > > Segmentation fault (core dumped) > > > > > > The system is running Freebsd 11.0-RC2. I have two domain > > > controllers and I am attempting this on one of them whilst the > > > othe...
2016 Feb 02
1
samba_upgradedns returned an error "Unable to find uid/gid for Domain Admins "
...4, Markus Dellermann wrote: >>>> Hi at all, >>>> >>>> i´am using samba 4.3.4 as "ad", "migrated by classicupgrade" some >>>> time ago >>>> from an nt4-domain. >>>> >>>> By trying >>>> samba_upgradedns --dns-backend=BIND9_DLZ >>>> >>>> i get the following error: >>>> >>>> Traceback (most recent call last): >>>> File "/usr/sbin/samba_upgradedns", line 262, in <module> >>>> paths, lp.configfile, lp) &g...
2016 May 22
2
[samba_upgradedns] Error parsing DNS data
...find an error. I do not understand this error message. I am hoping someone could help me with this issue please. Your help will be very much appreciated. Many thanks. Notes: I am currently running version 4.1.17 (I will upgrade to the latest version after resolving this issue). I am running the samba_upgradedns command as root after stopping samba and bind9. ============================ = = = samba_upgradedns = = = ============================ root at comsrv01a:/opt/samba/sbin# ./samba_upgradedns --dns-backend=SAMBA_INTERNAL --verbose -d 10 INFO: Current debug levels: all: 10 tdb: 10 printdrivers:...
2019 Dec 18
4
Replication not working for remote Domain Controller
Il giorno mar 17 dic 2019 alle ore 17:49 Rowland penny via samba < samba at lists.samba.org> ha scritto: In the last year this has come up a few times, try reading this > > https://support.microsoft.com/en-gb/help/817470/how-to-reconfigure-an-msdcs-subdomain-to-a-forest-wide-dns-application > It looks like we need a tool to correct AD :-( > Thanks! I will read that article. Do
2016 Apr 14
2
DNS: Migrate from BIND9_FLATFILE to SAMBA_INTERNAL (Samba 4.1.17)
...to move from BIND9_FLATFILE to SAMBA_INTERNAL_DNS. I am using Samba version 4.1.17. During provisioning (some years ago) I have decided to use BIND9_FLATFILE. At this moment I would like to upgrade to Samba 4.4.2 and I would like to migrate to SAMBA_INTERNAL DNS. I have noticed the command "samba_upgradedns" but unfortunately I could not find information about migrating from BIND9_FLATFILE to SAMBA_INTERNAL DNS. I have found some information but it dates from 2012 and I am not sure if this still would work (http://samba.2283325.n4.nabble.com/migration-bind9-flat-file-to-DLZ-td4320796.html). I wo...