search for: dnshostnam

Displaying 20 results from an estimated 137 matches for "dnshostnam".

Did you mean: dnshostname
2008 Aug 18
1
Win2000 / Win2003 ADS dnsHostName and servicePrincipalName
...only has 3.0. SaMBa 3.2 supports sasl sign and seal (hashing and encryption) and supports NTLMv2 better and using winbind with ADS. Still had problems with Fedora. Since i had to change the hostname in the middle of the process and update krb5.conf as mentioned above and i noticed that somehow dNSHostName in Active Directory was set to "HOST/localhost:localdomain" which clearly cannot be correct. So i used SysInternals LDAP Explorer (ADExplorer.exe) to change the entry in ActiveDirectory to remove any reference to localhost. Unless i changed /etc/hosts to not have rmonster in "127....
2015 Sep 02
1
DC sync
...failure(s). Force sync [root at BPCTASRVSDC003 ~]# samba-tool drs replicate BPCTASRVSDC003 SRVSMB4-PDC DC=bp,DC=net Replicate from SRVSMB4-PDC to BPCTASRVSDC003 was successful. Looking for one problematic workstation... none [root at BPCTASRVSDC003 ~]# ldbsearch -H /var/lib/samba/private/sam.ldb dNSHostName=CTA1ETTIC018615.bp.net | grep ^whenChanged [root at BPCTASRVSDC003 ~]# Other DC: [root at SRVSMB4-PDC ~]# ldbsearch -H /var/lib/samba/private/sam.ldb dNSHostName=CTA1ETTIC018615.bp.net | grep ^whenChanged whenChanged: 20150902153005.0Z [root at SRVSMB4-PDC ~]# [root at SRVSMB4-PDC ~]# samba-tool...
2024 Nov 20
1
samba-tool computer delete does not work
On Wed, 20 Nov 2024 15:45:29 +0000 Heinz H?lzl <heinz.hoelzl at gvcc.net> wrote: See inline comments: > hi, > i deleted the accounts with pdbdel. > > I did a few spot checks, none of the pc accounts had the attribute > dNSHostName there are no dns-rcords concerning the account The computer accounts should have the dNSHostName attribute set. This seems to explain why it hangs though, the code is this: if "dNSHostName" in res[0]: computer_dns_host_name = str(res[0]["dNSHostName&quo...
2010 Jun 17
1
Joining an AD domain when hostname != netbios name
...hine account for 'YETANOTHERTEST1' in realm 'PTIN.CORPPT.COM' Failed to disable machine account in AD. ?Please do so manually. Failed to join domain: Type or value exists This creates the entry for the machine in AD ("net ads status" shows it) but doesn't populate the dNSHostName or servicePrincipalName attributes. Running "net ads join" with "-d 10" shows: ??name_to_fqdn(): lookup for YETANOTHERTEST1 failed If I add the netbios name to my /etc/hosts then name_to_fqdn() succeeds and returns the FQDN - but the join still fails with the same message. If...
2024 Nov 20
1
samba-tool computer delete does not work
hi, i deleted the accounts with pdbdel. I did a few spot checks, none of the pc accounts had the attribute dNSHostName there are no dns-rcords concerning the account we use bind9 for dns. all pc have a bind9 configured as dns server, which is a dns slave of the bind9 on the samba server. here the requested informations: all DC are on samba smb.conf [global] netbios name = DCX realm = EXAMPLE.N...
2016 Sep 19
0
Error "Failed extended allocation RID pool operation..."
...previous call succeeded.... The previous call succeeded Iterating through the list of servers Getting information for the server CN=NTDS Settings,CN=LARKIN26,CN=Servers,CN=Default-First-Site -Name,CN=Sites,CN=Configuration,DC=micore,DC=us objectGuid obtained InvocationID obtained dnsHostname obtained site info obtained All the info for the server collected Getting information for the server CN=NTDS Settings,CN=LARKIN27,CN=Servers,CN=Default-First-Site -Name,CN=Sites,CN=Configuration,DC=micore,DC=us objectGuid obtained InvocationID obtained dnsHostname obtained sit...
2016 Mar 25
2
Unable to join DC to domain
...isabled apparmor. 3) --show-deleted reveals a single instance of cbadc02: twerks at filer:~$ sudo /usr/local/samba/bin/ldbsearch -H /usr/local/samba/private/sam.ldb --cross-ncs --show-deleted > ldbsearch_cross-ncs_deleted.txt itwerks at filer:~$ cat ldbsearch_cross-ncs_deleted.txt | grep cbadc dNSHostName: cbadc02.cb.cliffbells.com dNSHostName: cbadc01.cb.cliffbells.com dn: DC=cbadc01,DC=cb.cliffbells.com ,CN=MicrosoftDNS,DC=DomainDnsZones,DC=cb,DC=cliffbells,DC=com name: cbadc01 dc: cbadc01 distinguishedName: DC=cbadc01,DC=cb.cliffbells.com ,CN=MicrosoftDNS,DC=DomainDn dNSHostName: cbadc01.cb.clif...
2016 Sep 19
2
Error "Failed extended allocation RID pool operation..."
On 9/19/2016 1:37 PM, Rowland Penny via samba wrote: > On Mon, 19 Sep 2016 19:19:08 +0200 > Achim Gottinger via samba <samba at lists.samba.org> wrote: > >> >> Am 19.09.2016 um 19:08 schrieb Achim Gottinger via samba: >>> >>> Am 19.09.2016 um 18:21 schrieb Rowland Penny via samba: >>>> On Mon, 19 Sep 2016 11:57:38 -0400 >>>> Adam
2020 Jun 17
2
CentOS 7.8 samba member server does not join and populate with correct FQDN
...ing member Centos 7.8 Linux server with 4.10.4-10.el7 or higher appears to ignore client FQDN when AD domain does not match client domain name.? For example Active Directory Domain is ad1.testdomain.com and the client member server FQDN is? testhost.clients.testdomain.com.? When joining the domain? DNSHostName attribute in AD shows testhost.ad1.testdomain.com when it should be testhost.clients.testdomain.com.? This also makes ServicePrincipalNames incorrect in AD.? This join has been working correctly for years with last version working correctly being 4.9.1-10.el7_7.? I have other software that relies...
2018 Apr 26
2
[BUG] Fail update Samba 4.8.0
...ate: File "/usr/local/samba/lib64/python2.7/site-packages/samba/samdb.py", line 653, in host_dns_name samba [31643]: [2018/04/26 16: 32: 37.365014, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) samba [31643]: / usr / local / samba / sbin / samba_dnsupdate: return res [0] ['dNSHostName'] [0] samba [31643]: [2018/04/26 16: 32: 37.365167, 0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) samba [31643]: / usr / local / samba / sbin / samba_dnsupdate: KeyError: 'No such element' samba [31643]: [2018/04/26 16: 32: 37.393083, 0] ../source4/dsdb/dns/dns_ update.c:33...
2018 May 15
0
Query for DC in the same site...
...uration,DC=ad,DC=fvg,DC=lnf,DC=it # returned 1 records # 1 entries # 0 referrals and doing the simple lookup, i can get the DC: root at vdcsv1:~# ldbsearch -H /var/lib/samba/private/sam.ldb -b "CN=SERVERS,CN=SanVito,CN=Sites,CN=Configuration,DC=ad,DC=fvg,DC=lnf,DC=it" "" dNSHostName # record 1 dn: CN=dd6587e9-483d-41bc-aa4c-e2fe5c1af453,CN=NTDS Settings,CN=VDCSV1,CN=Servers,CN=SanVito,CN=Sites,CN=Configuration,DC=ad,DC=fvg,DC=lnf,DC=it # record 2 dn: CN=NTDS Settings,CN=VDCSV1,CN=Servers,CN=SanVito,CN=Sites,CN=Configuration,DC=ad,DC=fvg,DC=lnf,DC=it # record 3 dn: C...
2016 Mar 27
0
Unable to join DC to domain
...ed reveals a single instance of cbadc02: > > twerks at filer:~$ sudo /usr/local/samba/bin/ldbsearch -H > /usr/local/samba/private/sam.ldb --cross-ncs --show-deleted > > ldbsearch_cross-ncs_deleted.txt > itwerks at filer:~$ cat ldbsearch_cross-ncs_deleted.txt | grep > cbadc > dNSHostName: cbadc02.cb.cliffbells.com > dNSHostName: cbadc01.cb.cliffbells.com > dn: DC=cbadc01,DC=cb.cliffbells.com > ,CN=MicrosoftDNS,DC=DomainDnsZones,DC=cb,DC=cliffbells,DC=com > name: cbadc01 > dc: cbadc01 > distinguishedName: DC=cbadc01,DC=cb.cliffbells.com > ,CN=MicrosoftDNS,DC=Do...
2016 Mar 27
2
Unable to join DC to domain
...ord 1906 dn: CN=CBADC02\0ADEL:de85228c-f92b-4d5d-9d6a-01c3f915dec9,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configu$ objectClass: top objectClass: server instanceType: 4 whenCreated: 20160310044543.0Z uSNCreated: 4215 objectGUID: de85228c-f92b-4d5d-9d6a-01c3f915dec9 systemFlags: 1375731712 dNSHostName: cbadc02.cb.cliffbells.com cn:: Q0JBREMwMgpERUw6ZGU4NTIyOGMtZjkyYi00ZDVkLTlkNmEtMDFjM2Y5MTVkZWM5 isDeleted: TRUE name:: Q0JBREMwMgpERUw6ZGU4NTIyOGMtZjkyYi00ZDVkLTlkNmEtMDFjM2Y5MTVkZWM5 lastKnownParent: CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configurati on,DC=cb,DC=cliffbells,DC=com isR...
2024 Nov 20
1
samba-tool computer delete does not work
...samba: > On Wed, 20 Nov 2024 15:45:29 +0000 > Heinz H?lzl <heinz.hoelzl at gvcc.net> wrote: > > See inline comments: > > > hi, > > i deleted the accounts with pdbdel. > > > > I did a few spot checks, none of the pc accounts had the attribute > > dNSHostName there are no dns-rcords concerning the account > > The computer accounts should have the dNSHostName attribute set. > This seems to explain why it hangs though, the code is this: > > ??????????? if "dNSHostName" in res[0]: > ??????????????? computer_dns_host_name = &g...
2018 May 04
1
[BUG] Fail update Samba 4.8.0
...ite-packages/samba/samdb.py", line > > 653, in host_dns_name > > samba [31643]: [2018/04/26 16: 32: 37.365014, 0] > > ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) > > samba [31643]: / usr / local / samba / sbin / samba_dnsupdate: return > > res [0] ['dNSHostName'] [0] > > samba [31643]: [2018/04/26 16: 32: 37.365167, 0] > > ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler) > > samba [31643]: / usr / local / samba / sbin / samba_dnsupdate: > > KeyError: 'No such element' > > samba [31643]: [2018/04/26 16: 32:...
2019 Jul 13
2
rsync alternative -- smbclient?
...TE_DIR:(.*)/\1/p' | xargs` sysvol=`cd $privatedir/..;pwd`/sysvol pdc=`samba-tool fsmo show | grep PdcEmulation | sed -n -E 's/PdcEmulationMasterRole owner: CN=NTDS Settings,CN=([^,]*),.*/\1/p'` peer=`ldbsearch --cross-ncs -H $privatedir/sam.ldb "(samAccountName=$pdc$)" | grep dNSHostName | sed -n -E 's/dNSHostName: (.*)/\1/p'` echo $peer mkdir /tmp/samba || echo touch /tmp/samba/olddir smbclient --machine-pass -e --max-protocol SMB3 \\\\$peer\\sysvol -c "prompt; recurse; dir *" >/tmp/samba/newdir cmp /tmp/samba/newdir /tmp/samba/olddir if [ $? -ne 0 ]; then...
2019 Apr 24
1
Renaming a domain computer
...me, at least). I joined a W10 machine to the domain (4.8/4.9.4 mix, I'm working on it), then renamed it via "WMIC /node:<computer> computersystem where name="<computer>" call rename name="<newname>". Doing so changed the displayName, sAMAccountName, dNSHostName, and assorted servicePrincipalNames, but did not change the dn, name, cn, or distinguishedName on the computer object. ADUC still shows the old name, but DNS registers the new name. Does anybody think there'd be any adverse effects to having mismatched cn and sAMAccountName records, compared...
2024 Nov 19
1
samba-tool computer delete does not work
...ete RESERVE23 does not end. What this command does is delete the record itself, then tries to delete related DNS records. I think what is happening is the initial delete is working, but DNS is not, and samba-tool is left waiting for a response. To verify this theory: 1. check the account has a dNSHostName attribute 2. look up that adress with `dig` or something. If it hangs, then DNS is not working. > when I interrupt it with CRTL + C, the PC is deleted. > deleting the computer accounts with RSAT works. > > can i also delete the computer accounts with ldapdelete? Probably. The DNS r...
2013 Nov 19
0
[Announce] Samba 4.0.12 Available for Download
...on *BSD for non-root users. o Volker Lendecke <vl@samba.org> * BUG 10195: nsswitch: Fix short writes in winbind_write_sock. o Stefan Metzmacher <metze@samba.org> * BUG 9905: ldap_server: Register name and pid at startup. * BUG 10193: s4:dsdb/rootdse: report ''dnsHostName'' instead of ''dNSHostName''. * BUG 10232: libcli/smb: fix smb2cli_ioctl*() against Windows 2008. o Andreas Schneider <asn@samba.org> * BUG 10132: pam_winbindd: Add support for the KEYRING ccache type. * BUG 10194: winbind: Offline logon cache not upda...
2013 Nov 19
0
[Announce] Samba 4.0.12 Available for Download
...n *BSD for non-root users. o Volker Lendecke <vl at samba.org> * BUG 10195: nsswitch: Fix short writes in winbind_write_sock. o Stefan Metzmacher <metze at samba.org> * BUG 9905: ldap_server: Register name and pid at startup. * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'. * BUG 10232: libcli/smb: fix smb2cli_ioctl*() against Windows 2008. o Andreas Schneider <asn at samba.org> * BUG 10132: pam_winbindd: Add support for the KEYRING ccache type. * BUG 10194: winbind: Offline logon cache not updating for cro...