Displaying 20 results from an estimated 2000 matches similar to: "ldapcmp issue"
2015 Sep 03
2
ldapcmp issue
Hi Mourik,
whenChanged was replicated in my test once I did replicate in both way, so
it seems to me it is supposed to be replicated... Then the fact it is not
always replicated seems to me an issue.
Perhaps a bug report for these two issue (whenChanged not always replicated
and ldapcmp hanging once DB is too much filled) would be the right way to
proceed...
Cheers,
mat
2015-09-03 10:42
2015 Sep 03
0
ldapcmp issue
Hi Mathias,
I am under the impression that whenChanged is one of the fields that do
not replicate. Therefore we run ldapcmp like:
samba-tool ldapcmp ldap://dcX ldap://dcY --filter=whenChanged
Hope that helps,
MJ
On 09/01/2015 02:45 PM, mathias dufresne wrote:
> Hi all,
>
> It seems "samba-tool ldapcmp" does not support too much items in Samba's
> database.
>
2015 Apr 23
3
samba-check-db-script python failure
I went and got the newest (upped recently) script. No love.
I removed the email address line to get more command line output.
root at dc01:~# ./samba-check-db-repl.sh
Running with with console output
Running : /usr/bin/samba-tool ldapcmp --filter='whenChanged' ldap://dc01
ldap://dc02.dtsh***m.dt.
Please wait.. this can take a while..
Failed to bind - LDAP error 49
2016 Aug 29
6
Samba4 Centos 7 - CPU 100%
im not at a computer ti look some things up but im thinking..
dbdir=/usr/local/samba.PDC/dbdirwhat is the size of this dir.
what is the size of the ad db dir on every server now.
i think, something in the old db import causes a resyncwhen you modify something in the db
so i suggest try monitoring, disk io and cpu, look for buzzy files.
if we know the files, we know the processes using it.
2015 Jul 23
2
4.2.2 as AD with 2 DCs: database incoherency
On 23/07/15 16:23, mathias dufresne wrote:
> Hi all,
>
> I tried "samba-tool ldapcmp" several times to solve this issue, without
> success.
>
> On DC acting as full FSMO:
> dc20:~# samba-tool ldapcmp ldap://dc00.ad.dgfip.lan
> ldap://dc20.ad.dgfip.lan domain
> ERROR(ldb): uncaught exception - ldb_wait: Time limit exceeded (3)
> File
2015 Apr 23
3
samba-check-db-script python failure
When I run ./samba-check-db-repl.sh script I am getting the following:
root at dc01:~# ./samba-check-db-repl.sh
Failed to bind - LDAP error 49 LDAP_INVALID_CREDENTIALS -
<SASL:[GSS-SPNEGO]: NT_STATUS_LOGON_FAILURE> <>
Failed to connect to 'ldap://dc02.dtsh**m.dt.' with backend 'ldap':
(null)
ERROR(ldb): uncaught exception - None
File
2015 Jul 16
2
4.2.2 as AD with 2 DCs: database incoherency
Am 16.07.2015 um 17:18 schrieb Rowland Penny:
> On 16/07/15 13:27, Reindl Harald wrote:
>>
>> Am 16.07.2015 um 14:02 schrieb Rowland Penny:
>>> /etc/hosts should be:
>>>
>>> 127.0.0.1 localhost.localdomain localhost
>>
>> uhm no - you want 127.0.0.1 normally resolved to localhost and hence
>> 127.0.0.1 localhost
2019 May 22
2
dsdb_access Access check failed on CN=Configuration
All-
I've got 3 DCs (version 4.9.6-12) that, prior to today, were running without issue (as best I could tell).
Every night I run a few commands to monitor the status of the DCs/domain. I run:
* dbcheck --cross-ncs
* samba-tool drs kcc <other DCs>
* samba-tool ldapcmp <local DC> <other DCs> (domain|configuration|schema|dnsdomain|dnsforest)
* samba-tool drs showrepl
These
2015 Apr 24
3
samba-check-db-script python failure
I upped 1.0.4 of the script..
I added checks if no DC's are found, error message and exits script,
so no python errors anymore, if i did it right. ;-)
on both DC's do the following.
and whats the output of :
cat /etc/hosts
cat /etc/resolv.conf
and
kinit Administrator
SETDNSDOMAIN=`hostname -d`
SETHOSTNAME=`hostname -s`
SERVER_IP_ADRESS=`hostname -i`
echo "Test domainname:
2019 Sep 03
2
4.9.12 operation unavailable without authentication
I have Samba in production (4.9.6-12 on Ubuntu 18.04) which is working well.
However, we are several releases behind so I am gearing up to upgrade to the latest 4.9 release.
As part of the preparations (and for other reasons), I spun up an upgraded DC cluster in our development environment (4.9.12-15 on Ubuntu 18.04).
The initial setup seemed to work and now I have two DCs that appear to be
2019 May 22
2
dsdb_access Access check failed on CN=Configuration
----- On May 22, 2019, at 10:01 AM, samba samba at lists.samba.org wrote:
> Try again with :
>
> samba-tool ldapcmp dc5.$(hostname -d) dc3.$(hostname -d) DNSFOREST
> As in dc5.your.dns.domain.tld ...
>
> Whats the result.?
The failure is still present -- no change in the output of the command:
# samba-tool ldapcmp dc3.domain.local dc5.domain.local DNSFOREST
ERROR(ldb):
2019 Jun 25
2
One DC cannot authenticate off of another DC
Hello Samba Friends,
I have a single DC (we'll call it, "DC1") that simply will not take my password when I run this command:?
#samba-tool ldapcmp ldap://dc2 ldap://dc3 -Uadministrator?
Or this command:?
#samba-tool ldapcmp ldap://dc1 ldap://dc2 -Uadministrator?
I basically get this:?
> Password for [SAMDOM\administrator]:?
> Password for [SAMDOM\administrator]:?
2015 Jul 16
2
4.2.2 as AD with 2 DCs: database incoherency
Here I obtained:
---------------------
* Comparing [DOMAIN] context...
Failed search of base=DC=ad,DC=domain,DC=tld
ERROR(ldb): uncaught exception - LDAP client internal error:
NT_STATUS_UNEXPECTED_NETWORK_ERROR
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
175, in _run
return self.run(*args, **kwargs)
File
2015 Jul 24
2
4.2.2 as AD with 2 DCs: database incoherency
On 24/07/15 13:53, mathias dufresne wrote:
> The following commands work on both DC:
> host -t A <short_hostname_of_other_DC>
> host -t A <fqdn_hostname_of_other_DC>
>
> hostname and hostname --fqdn are working on both DC.The simplest way
> is to not declare external IP /etc/hosts
>
>
> SRV DNS entries which are working are:
> host -t SRV
>
2015 Jul 16
3
4.2.2 as AD with 2 DCs: database incoherency
On my site with samba 4.18 on centos 6:
'samba-tool ldapcmp ldap://DC1 ldap://DC2 -Uadministrator' failed with this result msDS-NC Type failed :
[root at s4master ~]# samba-tool ldapcmp ldap://s4master ldap://s4slave -Uadministrator
Password for [TPLK\administrator]:
* Comparing [DOMAIN] context...
* Objects to be compared: 606
Comparing:
'CN=Builtin,DC=tplk,DC=loc'
2019 Jun 26
4
One DC cannot authenticate off of another DC
Thank you, Louis, for your reply.
By simply asking me to provide outputs of the aforementioned files, I found the cause of my first problem (auth failing). It was my /etc/hosts file on dc1.
All of them should look like this, and indeed DC2 and DC3's *did* look like this:
# cat /etc/hosts
> 127.0.0.1 ? ? ? localhost.samdom.mycompany.net ?localhost
> 192.168.3.201
2017 Jun 21
4
DRS stopped working after upgrade from debian Jessie to Stretch
21.06.2017 11:45, L.P.H. van Belle via samba пишет:
> I suggest before you upgrade do a very good read here.
>
> https://wiki.samba.org/index.php/Updating_Samba#Notable_Enhancements_and_Changes
>
> https://wiki.samba.org/index.php/Samba_Features_added/changed_(by_release)
> And a summerize version for with all parameter changes as of upgrade from 4.2 up to 4.6
>
2016 Nov 17
3
group policy update fails
We can login just fine but Group Policy Update is throwing an error
gpupdate
Updating Policy...
User policy could not be updated successfully. The following errors
were encount
ered:
The processing of Group Policy failed. Windows could not determine if
the user a
nd computer accounts are in the same forest. Ensure the user domain
name matches
the name of a trusted domain that resides in
2015 Jul 23
0
4.2.2 as AD with 2 DCs: database incoherency
Hi all,
I tried "samba-tool ldapcmp" several times to solve this issue, without
success.
On DC acting as full FSMO:
dc20:~# samba-tool ldapcmp ldap://dc00.ad.dgfip.lan
ldap://dc20.ad.dgfip.lan domain
ERROR(ldb): uncaught exception - ldb_wait: Time limit exceeded (3)
File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line
175, in _run
return
2019 Nov 14
2
samba-tool ldapcmp without --filter errors out.
Hai,
?
I've just upgrade samba on my DC's from 4.10.10 to 4.11.2.
Which went fine offcourse ;-) but when i checking my replications i noticed the following.
?
If people have problems upgrading, the steps to take are :
( Debian buster, samba upgrade 4.10=> 4.11 van-belle repo. )
# update 4.10 to 4.11
sed 's/410/411/g'? /etc/apt/sources.list.d/van-belle.list
apt update
apt