samba4.dfs.domain plugin_s4_dc is failing

Matthieu Patou mat at samba.org
Sat Nov 5 15:57:53 MDT 2011


Hello,

On 05/11/2011 11:53, Matthieu Patou wrote:
> Hi Metze,
>
> I've got two computers both x64 and both with <samba_source>/st which 
> a tmpfs mounted volume.
>
> On one I have:
>
> [2/2 in 42s] samba4.dfs.domain(plugin_s4_dc)
> Using seed 1320481878
> UNEXPECTED(failure): samba4.dfs.domain.domain referral
> REASON: _StringException: _StringException: 
> ../source4/torture/dfs/domaindfs.c:42: dfs_cli_do_call(cli->tree, &r) 
> was NT_STATUS_INVALID_PARAMETER, expected NT_STATUS_OK: Get Domain 
> referral failed
>
> UNEXPECTED(failure): samba4.dfs.domain.dc referral
> REASON: _StringException: _StringException: 
> ../source4/torture/dfs/domaindfs.c:93: dfs_cli_do_call(cli->tree, &r) 
> was NT_STATUS_INVALID_PARAMETER, expected NT_STATUS_OK: Get Domain 
> referral failed
>
> UNEXPECTED(failure): samba4.dfs.domain.dc referral netbios
> REASON: _StringException: _StringException: 
> ../source4/torture/dfs/domaindfs.c:209: dfs_cli_do_call(cli->tree, &r) 
> was NT_STATUS_INVALID_PARAMETER, expected NT_STATUS_OK: Get Domain 
> referral failed
>
> UNEXPECTED(failure): samba4.dfs.domain.sysvol referral
> REASON: _StringException: _StringException: 
> ../source4/torture/dfs/domaindfs.c:320: dfs_cli_do_call(cli->tree, &r) 
> was NT_STATUS_INVALID_PARAMETER, expected NT_STATUS_OK: Get Domain 
> referral failed
>
> UNEXPECTED(failure): samba4.dfs.domain.dc referral on unknown domain
> REASON: _StringException: _StringException: 
> ../source4/torture/dfs/domaindfs.c:440: dfs_cli_do_call(cli->tree, &r) 
> was NT_STATUS_INVALID_PARAMETER, expected NT_STATUS_OK: Get Domain 
> referral failed
>
> UNEXPECTED(failure): samba4.dfs.domain.sysvol with subtree referral
> REASON: _StringException: _StringException: 
> ../source4/torture/dfs/domaindfs.c:467: dfs_cli_do_call(cli->tree, &r) 
> was NT_STATUS_INVALID_PARAMETER, expected NT_STATUS_OK: Get Domain 
> referral failed
>
> UNEXPECTED(failure): samba4.dfs.domain.referral with a level 2
> REASON: _StringException: _StringException: 
> ../source4/torture/dfs/domaindfs.c:503: dfs_cli_do_call(cli->tree, &r) 
> was NT_STATUS_INVALID_PARAMETER, expected NT_STATUS_UNSUCCESSFUL: 
> Unexpected STATUS for invalid deferral retquest
>
> command: /usr/local/src/samba4/bin/smbtorture 
> --configfile=$SMB_CONF_PATH --maximum-runtime=$SELFTEST_MAXTIME 
> --target=samba4 --basedir=$SELFTEST_TMPDIR 
> --option=torture:progress=no --format=subunit $LISTOPT //$SERVER/ipc\$ 
> -U$USERNAME%$PASSWORD dfs.domain $LOADLIST 2>&1 | 
> /usr/local/src/samba4/selftest/filter-subunit $LISTOPT --fail-on-empty 
> --prefix="samba4.dfs.domain."
> expanded command: /usr/local/src/samba4/bin/smbtorture 
> --configfile=/usr/local/src/samba4/st/client/client.conf 
> --maximum-runtime=1200 --target=samba4 
> --basedir=/usr/local/src/samba4/st/tmp --option=torture:progress=no 
> --format=subunit $LISTOPT //plugindc/ipc\$ -UAdministrator%locDCpass1 
> dfs.domain $LOADLIST 2>&1 | 
> /usr/local/src/samba4/selftest/filter-subunit $LISTOPT --fail-on-empty 
> --prefix="samba4.dfs.domain."
> ERROR: Testsuite[samba4.dfs.domain(plugin_s4_dc)]
> REASON: Exit code was 1
>
> Whereas on the other it's ok.
>
> The main difference is one is Ubuntu 11.11 (the right one) and the 
> other is debian 6.0.something, do you have any idea of the problem ?
> Note: the test on the regular DC works.
>
So I found the problem and I think it can be improved: I was missing an 
ldap headers (missing packet) and so --with-ads was silently ignored.

I think it would be great that :
* configure.developer implies --with-ads
* that if --with-ads was specified and either kerberos libs/headers or 
ldap libs/headers are missing then we print a error message maybe fail 
as we asked for --ads but we are not able to honor the request.

Matthieu

-- 
Matthieu Patou
Samba Team
http://samba.org



More information about the samba-technical mailing list