extended provision-backend
Oliver Liebel
oliver at itc.li
Tue Aug 11 12:39:20 MDT 2009
Andrew Bartlett schrieb:
> Anyway, if you can test these patches, I would appreciate it. If that
> passes, then I or mdw can push them.
>
> Andrew Bartlett
>
i have tested your patches.
"make test" seems to pass, until the started samba is queried.
the output i got is listed below.
the error looks to me identical as the one
i have noticed last week:
(see http://lists.samba.org/archive/samba-technical/2009-August/066051.html
and http://lists.samba.org/archive/samba-technical/2009-August/066055.html)
greetings,
oliver
-------------------------------
OPENLDAP_SLAPD=/usr/local/libexec/slapd TEST_LDAP=yes make test
Samba will be compiled with flags:
CPP = gcc -E
CPPFLAGS = -I./include -I. -I./lib -I./../lib/replace
-I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
CC = gcc
CFLAGS = -g -DDEBUG_PASSWORD -DDEVELOPER -Wall -Wshadow
-Werror-implicit-function-declaration -Wstrict-prototypes
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wmissing-format-attribute -Wformat=2 -Wdeclaration-after-statement
-Wunused-macros -Wno-format-y2k -Wno-unused-parameter
PICFLAG = -fPIC
BNLD = gcc
BNLD_FLAGS = -Wl,--export-dynamic
STLD = /usr/bin/ar
STLD_FLAGS = -rcs
SHLD = gcc
SHLD_FLAGS = -shared -Wl,-Bsymbolic
MDLD = gcc
MDLD_FLAGS = -shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined
SHLIBEXT = so
srcdir = .
builddir = .
pwd = /install/samba4/source4
LD_LIBRARY_PATH=./bin/shared:$LD_LIBRARY_PATH PYTHON=/usr/bin/python2.6
/usr/bin/perl -W ./../selftest/selftest.pl --prefix=./st --builddir=.
--srcdir=. --exclude=./selftest/skip --testlist="./selftest/tests.sh|"
--exclude=./selftest/slow --socket-wrapper | /usr/bin/perl -W
./../selftest/filter-subunit.pl --expected-failures=./selftest/knownfail
| /usr/bin/perl -W ./../selftest/format-subunit.pl --format=plain
--immediate
SOCKET_WRAPPER_DIR=./st/w
Version 4.0.0alpha9-GIT-UNKNOWN
OPTIONS --configfile=$SMB_CONF_PATH --maximum-runtime=2400
--target=samba4 --basedir=/install/samba4/source4/st/s4client
--format=subunit
Your openldap Backend for Samba4 is now configured, and is ready to be
started
Server Role: domain controller
Hostname: localdc1
DNS Domain: samba.example.com
Base DN: DC=samba,DC=example,DC=com
LDAP admin user: samba-admin
LDAP admin password: localdcpass
LDAP Debug-Output:
(1, 'connection to remote LDAP server dropped?')
Ok. - No other slapd-Instance listening on:
ldapi://%2Finstall%2Fsamba4%2Fsource4%2Fst%2Fdc%2Fprivate%2Fldap%2Fldapi.
Starting slapd now for final provision.
Started slapd for final provisioning with PID: 29708
Now run final provision with: --ldap-backend=ldapi
--ldap-backend-type=openldap --password=localdcpass
--username=samba-admin --realm=samba.example.com --domain=SAMBADOMAIN
--server-role='domain controller'
schema_fsmo_init: no schema dn present: (skip schema loading)
naming_fsmo_init: no partitions dn present: (skip loading of naming
contexts details)
pdc_fsmo_init: no domain dn present: (skip loading of domain details)
schema_fsmo_init: no schema head present: (skip schema loading)
naming_fsmo_init: no partitions dn present: (skip loading of naming
contexts details)
pdc_fsmo_init: no domain object present: (skip loading of domain details)
PROVISIONING DC...STARTING SAMBA... DONE
delaying for nbt name registration
Lookup failed - NT_STATUS_IO_TIMEOUT
127.0.0.1 LOCALDC1<00>
127.0.0.1 LOCALDC1<00>
127.0.0.1 LOCALDC1<00>
127.0.0.1 LOCALDC<00>
127.0.0.1 LOCALDC<00>
127.0.0.1 LOCALDC1<00>
127.0.0.1 LOCALDC1<00>
127.0.0.1 LOCALDC1<00>
127.0.0.1 LOCALDC1<00>
127.0.0.1 LOCALDC<00>
127.0.0.1 LOCALDC<00>
SAMBA LOG of: localdc1
samba version 4.0.0alpha9-GIT-UNKNOWN started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
samba: using 'single' process model
[1/603 in 0s] samba4.ldb.ldap with options (dc)
Found 5 entries
Should have found at least 10 entries
Check rootDSE for Controls
Test Paged Results Control
Paged Results Control test returned 0 items
Test Server Sort Control
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Server Sort Control test returned 0 items
Test Extended DN Control
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Extended DN Control test returned 0 items
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Extended DN Control test returned 0 items
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Extended DN Control test returned 0 items
Test Domain scope Control
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Extended Domain scope Control test returned 0 items
Test Attribute Scope Query Control
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Attribute Scope Query test returned 0 items
Test Search Options Control
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Search Options Control Query test returned 0 items
Test Search Options Control with Domain Scope Control
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Search Options Control Query test returned 0 items
Test
<WKGUID=22B70C67D56E4EFB91E9300FCA3DC1AA,DC=samba,DC=example,DC=com> =>
ForeignSecurityPrincipals
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Test
<wkGuId=22B70C67D56E4EFB91E9300FCA3DC1AA,DC=samba,DC=example,DC=com> =>
ForeignSecurityPrincipals
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Test
<WKGUID=2FBAC1870ADE11D297C400C04FD8D5CD,DC=samba,DC=example,DC=com> =>
Infrastructure
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Test
<wkGuId=2FBAC1870ADE11D297C400C04FD8D5CD,DC=samba,DC=example,DC=com> =>
Infrastructure
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Test
<WKGUID=AB1D30F3768811D1ADED00C04FD8D5CD,DC=samba,DC=example,DC=com> =>
System
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Test
<wkGuId=AB1D30F3768811D1ADED00C04FD8D5CD,DC=samba,DC=example,DC=com> =>
System
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Test
<WKGUID=A361B2FFFFD211D1AA4B00C04FD7D83A,DC=samba,DC=example,DC=com> =>
Domain
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Test
<wkGuId=A361B2FFFFD211D1AA4B00C04FD7D83A,DC=samba,DC=example,DC=com> =>
Domain
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Test
<WKGUID=AA312825768811D1ADED00C04FD8D5CD,DC=samba,DC=example,DC=com> =>
Computers
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Test
<wkGuId=AA312825768811D1ADED00C04FD8D5CD,DC=samba,DC=example,DC=com> =>
Computers
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Test
<WKGUID=A9D1CA15768811D1ADED00C04FD8D5CD,DC=samba,DC=example,DC=com> =>
Users
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Test
<wkGuId=A9D1CA15768811D1ADED00C04FD8D5CD,DC=samba,DC=example,DC=com> =>
Users
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
Object not found by WKGUID
Getting HEX GUID/SID of DC=samba,DC=example,DC=com
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
HEXGUID[]
Getting STR GUID/SID of DC=samba,DC=example,DC=com
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
STRDN:
STRGUID[]
Getting STR GUID/SID of DC=samba,DC=example,DC=com
Failed to connect to ldap URL 'ldap://127.0.0.1' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://127.0.0.1'
Failed to connect to ldap://127.0.0.1 - (null)
STRDN:
STRSID[]
envlog: SAMBA LOG of: localdc1
ERROR: talloc_steal with references at ldap_server/ldap_backend.c:430
reference at lib/ldb/ldb_map/ldb_map_outbound.c:208
...<same message repeated more than 50 times>...
ERROR: talloc_steal with references at ldap_server/ldap_backend.c:430
reference at lib/ldb/ldb_map/ldb_map_outbound.c:208
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
INTERNAL ERROR: Signal 11 in pid 29755 (4.0.0alpha9-GIT-UNKNOWN)
Please read the file BUGS.txt in the distribution
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
smb_panic(): calling panic action
[/install/samba4/selftest/gdb_backtrace 29755 ./bin/samba]
gdb_backtrace: ERROR: No debugger found.
smb_panic(): action returned status 1
PANIC: internal error
BACKTRACE: 20 stack frames:
#0 ./bin/samba(call_backtrace+0x2b) [0x8968713]
#1 ./bin/samba(smb_panic+0x296) [0x8968a95]
#2 ./bin/samba [0x8968c60]
#3 ./bin/samba(fault_setup+0) [0x8968c95]
#4 [0xffffe400]
#5 ./bin/samba [0x83dd083]
#6 ./bin/samba [0x83dd34c]
#7 ./bin/samba(packet_recv+0x746) [0x86bbc32]
#8 ./bin/samba(ldapsrv_recv+0x9a) [0x83dd43e]
#9 ./bin/samba [0x80f73e3]
#10 ./bin/samba [0x80f745e]
#11 ./bin/samba [0x8986494]
#12 ./bin/samba [0x8986b01]
#13 ./bin/samba(_tevent_loop_once+0xdf) [0x8982fb7]
#14 ./bin/samba(tevent_common_loop_wait+0x26) [0x89831d8]
#15 ./bin/samba(_tevent_loop_wait+0x1d) [0x8983296]
#16 ./bin/samba [0x80f0d2e]
#17 ./bin/samba(main+0x38) [0x80f0d93]
#18 /lib/libc.so.6(__libc_start_main+0xe5) [0x403a9705]
#19 ./bin/samba [0x80efe71]
./bin/samba got signal 6 and exits with 0!
---------------------
More information about the samba-technical
mailing list