[PATCHES] idmap_rfc2307 with test

Andrew Bartlett abartlet at samba.org
Thu Feb 28 21:33:33 MST 2013


On Thu, 2013-02-21 at 14:41 -0700, Christof Schmitt wrote:
> Here is an updated version of the idmap_rfc2307 module. The patches
> apply to current master. The first five patches eliminate some code
> duplication and allow the reuse of some ad and ldap code.  The last
> patch implements a testcase for the new idmap module.

I wanted to push this (except the LD_LIBRARY_PATH patch, which I don't
think is required, or should be better justified), but even with that I
got:

initialize_winbindd_cache: clearing cache and re-creating with version
number 2
[1/2 in 0s] idmap.rfc2307
SAMBADOMAIN\Administrator resolved to 100000
UNEXPECTED(failure): idmap.rfc2307.test 100000 -eq
2000000(s3member_rfc2307)
REASON: _StringException: _StringException:
SAMBADOMAIN\Domain Users resolved to 100003
UNEXPECTED(failure): idmap.rfc2307.test 100003 -eq
2000001(s3member_rfc2307)
REASON: _StringException: _StringException:
command: /data/samba/git/samba-push/source3/../nsswitch/tests/test_idmap_rfc2307.sh $DOMAIN Administrator 2000000 "Domain Users" 2000001 ou=idmap,dc=samba,dc=example,dc=com 2>&1 | /data/samba/git/samba-push/selftest/filter-subunit --fail-on-empty --prefix="idmap.rfc2307." --suffix="(s3member_rfc2307)"
expanded
command: /data/samba/git/samba-push/source3/../nsswitch/tests/test_idmap_rfc2307.sh SAMBADOMAIN Administrator 2000000 "Domain Users" 2000001 ou=idmap,dc=samba,dc=example,dc=com 2>&1 | /data/samba/git/samba-push/selftest/filter-subunit --fail-on-empty --prefix="idmap.rfc2307." --suffix="(s3member_rfc2307)"
ERROR: Testsuite[idmap.rfc2307]
REASON: Exit code was 1


Does this pass for you, and what do you think the issue is?

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list