Someone broke my the output of LDB search

Nadezhda Ivanova nivanova at samba.org
Mon Sep 27 22:19:43 MDT 2010


Hi,
I believe Tridge fixed this today. Let us know if you encounter any more of
these.

Regards,
Nadya

On Mon, Sep 27, 2010 at 5:57 AM, Zahari Zahariev
<zahari.zahariev at gmail.com>wrote:

> Hi list,
>
> These are the files that have been changed just before 11am (GMT +3).
> This is a snippet of a replication test I am running and you can
> really see at the pottom the extra warnings I started to get. It gets
> worse if your searches pile up (source4/scripting/devel/ldbcmp).
>
> Can this be fixed?
>
>
> === Start 27-09-2010 11:01:02 ===
>
> @ Pull new source changes
> COMMAND: make distclean > /dev/null 2>&1 && git pull 2>&1
> From git://git.samba.org/samba
>   ff95491..b32625b  master     -> origin/master
> Updating ff95491..b32625b
> Fast forward
>  libcli/ldap/ldap_message.c        |    2 +
>  source4/libcli/ldap/ldap_client.c |   44
> +++++++++++++++++++++---------------
>  source4/torture/ldap/basic.c      |   41
> ++++++++++++++++++++++++++++++++++
>  source4/torture/ldap/common.c     |   29 ++++++++++++++++++++++++
>  4 files changed, 98 insertions(+), 18 deletions(-)
> Status: OK
>
> @ Run autogen.sh && configure.developer && make
> COMMAND: ./autogen.sh > /dev/null 2>&1 && ./configure.developer >
> /dev/null 2>&1 && make > /dev/null 2>&1
> Status: OK
>
> @ Kill Samba4 deamon
> COMMAND: killall -9 samba > /dev/null 2>&1
> Status: OK
>
> @ Delete old Samba4 binaries
> COMMAND: rm -rf /usr/local/samba > /dev/null 2>&1
> Status: OK
>
> @ Insatall fresh Samba4 binaries
> COMMAND: make install > /dev/null 2>&1
> Status: OK
>
> @ Get current Samba4 version
> COMMAND: /usr/local/samba/sbin/samba -V
> Version 4.0.0alpha14-GIT-b32625b+
> Status: OK
>
>
> [REMOTE] @ Kill Samba4 deamon
> COMMAND: sshpass -p postpath ssh -o StrictHostKeyChecking=no
> root at 10.191.44.17 killall -9 samba > /dev/null 2>&1
> Status: OK
>
> [REMOTE] @ Delete old Samba4 binaries
> COMMAND: sshpass -p postpath ssh -o StrictHostKeyChecking=no
> root at 10.191.44.17 rm -rf /usr/local/samba > /dev/null 2>&1
> Status: OK
>
> [REMOTE] @ Insatall fresh Samba4 binaries
> COMMAND: sshpass -p postpath ssh -o StrictHostKeyChecking=no
> root at 10.191.44.17 cd /root/samba-master/source4; make install >
> /dev/null 2>&1
> Status: OK
>
> [REMOTE] @ Get current Samba4 version
> COMMAND: sshpass -p postpath ssh -o StrictHostKeyChecking=no
> root at 10.191.44.17 /usr/local/samba/sbin/samba -V
> Version 4.0.0alpha14-GIT-b32625b+
> Status: OK
>
>
> [REMOTE] @ Provision Samba4
> COMMAND: sshpass -p postpath ssh -o StrictHostKeyChecking=no
> root at 10.191.44.17 /usr/local/samba/sbin/provision
> --realm=autorepl4.test --domain=autorepl04 --adminpass=alabala123@
> --server-role='domain controller' --function-level=2000 > /dev/null
> 2>&1
> Status: OK
>
> [REMOTE] @ Restart bind9
> COMMAND: sshpass -p postpath ssh -o StrictHostKeyChecking=no
> root at 10.191.44.17 /etc/init.d/bind9 restart
>  * Stopping domain name service... bind9
>   ...done.
>  * Starting domain name service... bind9
>   ...done.
> Status: OK
>
> COMMAND: sshpass -p postpath ssh -o StrictHostKeyChecking=no
> root at 10.191.44.17 /etc/init.d/bind9 restart
>  * Stopping domain name service... bind9
>   ...done.
>  * Starting domain name service... bind9
>   ...done.
> Status: OK
>
> [LOCAL] @ Try to resolve autorepl4.test via nslookup
> COMMAND: nslookup autorepl4.test
> Server:         10.191.44.17
> Address:        10.191.44.17#53
>
> Name:   autorepl4.test
> Address: 10.191.44.17
>
> Status: OK
>
> [REMOTE] @ Start Samba4 daemon
> COMMAND: sshpass -p postpath ssh -o StrictHostKeyChecking=no
> root at 10.191.44.17 /usr/local/samba/sbin/samba -M single -d2 -D >
> /dev/null 2>&1
> Status: OK
>
> @ Test network connection to Windows server
> COMMAND: ping 10.191.44.17 -c 10 -q 2>&1
> PING 10.191.44.17 (10.191.44.17) 56(84) bytes of data.
>
> --- 10.191.44.17 ping statistics ---
> 10 packets transmitted, 10 received, 0% packet loss, time 8998ms
> rtt min/avg/max/mdev = 0.182/0.250/0.304/0.044 ms
> Status: OK
>
> @ Check Domain & Forest functional levels of Windows server (via LDAP)
> COMMAND: /usr/local/samba/bin/ldbsearch -H ldap://10.191.44.17
> -Uadministrator%alabala123@ -b '' -s base '(objectclass=*)'
> forestFunctionality domainFunctionality 2>&1
> WARNING: talloc_steal with references at ../libcli/ldap/ldap_ildap.c:76
>        reference at ../lib/stream/packet.c:560
> WARNING: talloc_steal with references at ../libcli/ldap/ldap_bind.c:355
>        reference at ../lib/stream/packet.c:560
> WARNING: talloc_steal with references at ../libcli/ldap/ldap_bind.c:355
>        reference at ../lib/stream/packet.c:560
> WARNING: talloc_steal with references at
> ../lib/ldb/ldb_ildap/ldb_ildap.c:412
>        reference at ../lib/stream/packet.c:560
> WARNING: talloc_steal with references at
> ../lib/ldb/ldb_ildap/ldb_ildap.c:412
>        reference at ../lib/stream/packet.c:560
> WARNING: talloc_steal with references at
> ../lib/ldb/ldb_ildap/ldb_ildap.c:412
>        reference at ../lib/stream/packet.c:560
> # record 1
> dn:
> domainFunctionality: 0
> forestFunctionality: 0
>
> # returned 1 records
> # 1 entries
> # 0 referrals
> Status: OK
>


More information about the samba-technical mailing list