search for: dc_name

Displaying 20 results from an estimated 85 matches for "dc_name".

Did you mean: d_name
2016 Apr 30
2
Samba 4.4.2 AD DC demote fails
...t;> I found this on a post by Rowland penny ( >> https://lists.samba.org/archive/samba/2016-March/198662.html): >> >> HI, it would seem you have found a bug, line 943 in 'domain.py' sends >> this: >> >> remove_dc.remove_sysvol_references(remote_samdb, dc_name) >> >> to 'remove_dc.py' , which expects to receive this: >> >> def remove_sysvol_references(samdb, logger, dc_name): >> >> Definitely a bug, logger is set earlier in the 'cmd_domain_demote' >> class. >> >> >> Would this s...
2020 Feb 27
5
New PTR records not visible
..._DLZ. Sernet packages. We need few 4.10.x tests also Run this 2 times or three.. Change the ipnumbers and zone names your creating. I also tested below with between every line a : sleep 0.1 Same results, wrong results. #!bin/bash # Run this script 2 times!! DC_FQDN="$(hostname -f)" DC_NAME="$(hostname -s)" # After the first run change the "test1/test2 to test01/test02" # and run it again. ZONE_TEST1="test1.domain.tld" ZONE_TEST2="test2.domain.tld" ZONE_ARPA="0.168.192" ZONE_IP="192.168.0" #kinit Administrator !! AUTH be...
2020 Feb 27
0
New PTR records not visible
...ts also > > Run this 2 times or three.. Change the ipnumbers and zone names your creating. > I also tested below with between every line a : sleep 0.1 > Same results, wrong results. > > #!bin/bash > # Run this script 2 times!! > > DC_FQDN="$(hostname -f)" > DC_NAME="$(hostname -s)" > > # After the first run change the "test1/test2 to test01/test02" > # and run it again. > ZONE_TEST1="test1.domain.tld" > ZONE_TEST2="test2.domain.tld" > > ZONE_ARPA="0.168.192" > ZONE_IP="192.168.0&...
2016 Mar 30
2
Demote a working DC fails with uncaught exception
...ile "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 943, in run remove_dc.remove_sysvol_references(remote_samdb, dc_name) root at dc2:~# Samba version is 4.4.0 running on Debian Jessie. Replication was working OK before the demotion attempt as was SysVol replication and samba-tool ntacl sysvolcheck produced no errors. All 7 FSMO roles reside on dc1. Was able to remove the DC by using the --remove-other-dead-se...
2016 Apr 30
2
Samba 4.4.2 AD DC demote fails
...ell, it is > on samba-technical if you are curious). I found this on a post by Rowland penny (https://lists.samba.org/archive/samba/2016-March/198662.html): HI, it would seem you have found a bug, line 943 in 'domain.py' sends this: remove_dc.remove_sysvol_references(remote_samdb, dc_name) to 'remove_dc.py' , which expects to receive this: def remove_sysvol_references(samdb, logger, dc_name): Definitely a bug, logger is set earlier in the 'cmd_domain_demote' class. Would this still apply after the patches you did? (By the way, I already found the one on samba.t...
2011 Jan 13
1
Error compiling Samba 3.5.5 on HP-UX 11.11
...1: warning 563: Argument #2 is not the correct type. The source below is what triggers it (line 111 is marked): static ADS_STATUS libnet_connect_ads(const char *dns_domain_name, const char *netbios_domain_name, const char *dc_name, const char *user_name, const char *password, ADS_STRUCT **ads) { #define TLDAP_NO_MEMORY (0x5a) ADS_STATUS status; ADS_STRUCT *my_ads = NULL; my_ads = ads_init(dn...
2016 Mar 31
2
Demote a working DC fails with uncaught exception
.../python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run >> return self.run(*args, **kwargs) >> File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 943, in run >> remove_dc.remove_sysvol_references(remote_samdb, dc_name) >> root at dc2:~# >> >> Samba version is 4.4.0 running on Debian Jessie. Replication was working OK before the demotion attempt as was SysVol replication >> and samba-tool ntacl sysvolcheck produced no errors. All 7 FSMO roles reside on dc1. >> >> Was able...
2016 Mar 31
0
Demote a working DC fails with uncaught exception
...al/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run > return self.run(*args, **kwargs) > File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 943, in run > remove_dc.remove_sysvol_references(remote_samdb, dc_name) > root at dc2:~# > > Samba version is 4.4.0 running on Debian Jessie. Replication was working OK before the demotion attempt as was SysVol replication > and samba-tool ntacl sysvolcheck produced no errors. All 7 FSMO roles reside on dc1. > > Was able to remove the DC by usin...
2016 Apr 01
0
Demote a working DC fails with uncaught exception
...ite-packages/samba/netcmd/__init__.py", line 175, in _run >>> return self.run(*args, **kwargs) >>> File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 943, in run >>> remove_dc.remove_sysvol_references(remote_samdb, dc_name) >>> root at dc2:~# >>> >>> Samba version is 4.4.0 running on Debian Jessie. Replication was working OK before the demotion attempt as was SysVol replication >>> and samba-tool ntacl sysvolcheck produced no errors. All 7 FSMO roles reside on dc1. >>&gt...
2020 Feb 27
4
New PTR records not visible
Ok, new test. Besides that i dont like the python errors shown, this still looks good. So i dont know.. See below, i can not make it error. for x in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ; do samba-tool dns add dc1.internal.dom.tld $x.249.10.in-addr.arpa 158 PTR host-test.extrazone.dom.tld ; done Record added successfully Record added successfully Record added successfully Record added
2008 Dec 11
3
Failed to join domain: failed to set machine spn: Constraint violation
...pn=HOST/FQDN@DOM.REALM.DOMAIN.COM createcomputer="OU/OU/OU/Services" -U username -d1 Enter username's password: [2008/12/11 17:02:32, 1] libnet/libnet_join.c:libnet_Join(1770) libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx in: struct libnet_JoinCtx dc_name : NULL machine_name : 'HOSTNAME' domain_name : * domain_name : 'DOM.REALM.DOMAIN.COM' account_ou : 'OU/OU/OU/Services' admin_account...
2011 Mar 02
2
problem with samba 3.5.6 try to join W2K8
...b/interface.c:340(add_interface) added interface eth0 ip=172.23.36.4 bcast=172.23.36.255 netmask=255.255.255.0 [2011/03/02 13:24:00.802018, 1] libnet/libnet_join.c:1947(libnet_Join) libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx in: struct libnet_JoinCtx dc_name : 'mntphone001.mydomain.com' machine_name : 'MNTSLX001' domain_name : * domain_name : 'MYDOMAIN.COM' account_ou : NULL admin_ac...
2016 Dec 16
2
net ads join -> "The connection was refused"
I am unable to join to a domain. The command 'net ads join -U Administrator -d1' produce: Enter Administrator's password: libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx in: struct libnet_JoinCtx dc_name : NULL machine_name : 'SAMBA' domain_name : * domain_name : 'AD.INTERDEKOR.COM.UA' domain_name_type : JoinDomNameTypeDNS (1) account_ou : NULL...
2016 Apr 12
2
net join fail
...idmap config * : backend = tdb encrypt passwords = yes The diagnostics are: net -d 1 ads join -U xxUSERNAME createcomputer="xxCOMPUTER" Enter xxUSERNAME's password: libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx in: struct libnet_JoinCtx dc_name : NULL machine_name : 'xxHOST' domain_name : * domain_name : 'xxMYDOMAIN' account_ou : 'xxCOMPUTER' admin_account : 'xxUSERNAME...
2018 Apr 23
1
Unable to Join Samba Domain: Password Error
...nsistently throwing an error. >From the machine that is trying to join the domain, I get this (edited for brevity): $~ net rpc join -U <user>%<passwd> -d 1 -I 192.168.70.XXX libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx in: struct libnet_JoinCtx dc_name : NULL machine_name : ‘YYYY’' domain_name : * domain_name : 'XXXX’ domain_name_type : JoinDomNameTypeUnknown (0) account_ou : NULL a...
2014 Jul 16
1
net ads join fails in Ubuntu 14.04 in AWS
...t join domain. Same setup works fine for local virtual machines. Domain processes request normally. Kinit works fine with generated config root at new1404:~# net ads join -U dnscreate%password -d 1 libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx in: struct libnet_JoinCtx dc_name : NULL machine_name : 'NEW1404' domain_name : * domain_name : 'AWS.DOMAIN.COM' account_ou : NULL admin_account : 'dnscreate'...
2009 Oct 13
1
Compiling SAMBA on Solaris 10 to use AD on Windows 2008 server
...ain: failed to connect to AD: krb5 conf file not configured samba-3.4.2/source3# If I run with "-d 1" I get: .... [2009/10/13 13:26:47, 1] libnet/libnet_join.c:1871(libnet_Join) libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx in: struct libnet_JoinCtx dc_name : NULL machine_name : 'BADGER' domain_name : * domain_name : 'EEDS.EE.UWA.EDU.AU' account_ou : NULL admin_account : 'thallam&...
2008 Dec 04
1
Join multiple CTDB managed Samba servers into Active Directory
...re # Manually Add node-01 to the AD [root@node-01 ~]# net -d 1 ads join -U Administrator Enter Administrator's password: [2008/12/02 16:06:11, 1] libnet/libnet_join.c:libnet_Join(1799) libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx in: struct libnet_JoinCtx dc_name : NULL machine_name : 'node-01' domain_name : * domain_name : 'TESTDOMAIN.LOCAL' account_ou : NULL admin_account : 'Administr...
2016 Apr 29
4
Samba 4.4.2 AD DC demote fails
Demotion of a AD DC fails with the following errors: If I explicitly select a partner server with the "--server=" option the error is: Deactivating inbound replication Asking partner server [selectedDC] to synchronize from us Error while demoting, re-enabling inbound replication ERROR(<type 'exceptions.UnboundLocalError'>): uncaught exception - local variable
2020 Aug 29
5
Changing IP Scope on a Samba DC
Andrew, I very much appreciate your swift reply and your expertise. I readily admit I'm a little out of my depth here. I'm sitting here in California at almost midnight with just the weekend to get done all I need to do on the network and I fear this may be derailing my plans. This article on the Samba Wiki https://wiki.samba.org/index.php/Changing_the_IP_Address_of_a_Samba_AD_DC seems to