net ads join blows

Jaakko Niemi liiwi at
Thu Nov 7 18:48:00 GMT 2002

Starting program: /usr/bin/net ads join
root password: 
net: /home/liiwi/cvs-foo/openldap-2.1.8/libraries/libldap/getvalues.c:97: ldap_get_values_len: Assertion `entry != ((void *)0)' failed.

Program received signal SIGABRT, Aborted.
0x40129c01 in kill () from /lib/
(gdb) bt
#0  0x40129c01 in kill () from /lib/
#1  0x40129a12 in raise () from /lib/
#2  0x4012ac3e in abort () from /lib/
#3  0x40123b11 in __assert_fail () from /lib/
#4  0x400e8699 in ldap_get_values_len () from /usr/lib/
#5  0x0810b0e1 in ads_pull_sid (ads=0x81c6e20, msg=0x0, field=0x81494b0 "objectSid", sid=0xbffff568) at libads/ldap.c:1595
#6  0x0810ad89 in ads_set_machine_sd (ads=0x81c6e20, hostname=0x81ccd00 "foo1", 
    dn=0x81d1258 "cn=foo1,cn=Computers,dc=FOO,dc=COM") at libads/ldap.c:1428
#7  0x0810a3e5 in ads_add_machine_acct (ads=0x81c6e20, hostname=0x81ccd00 "foo1", org_unit=0x8113ca8 "Computers")
    at libads/ldap.c:1082
#8  0x0810a9b3 in ads_join_realm (ads=0x81c6e20, hostname=0x81521a0 "FOO1", org_unit=0x8113ca8 "Computers")
    at libads/ldap.c:1331
#9  0x0806a898 in net_ads_join (argc=0, argv=0x815fbf4) at utils/net_ads.c:652
#10 0x08068ad2 in net_run_function (argc=1, argv=0x815fbf0, table=0xbffff810, usage_fn=0x8069780 <net_ads_usage>)
    at utils/net.c:98
#11 0x0806b2fe in net_ads (argc=1, argv=0x815fbf0) at utils/net_ads.c:1044
#12 0x08068ad2 in net_run_function (argc=2, argv=0x815fbec, table=0x814c338, usage_fn=0x806bd08 <net_help>) at utils/net.c:98
#13 0x0806972a in main (argc=3, argv=0xbffffb74) at utils/net.c:563

 I tried following back where msg comes, but ran out of time.


More information about the samba-technical mailing list