hi,
you cannot use the root-principal unless it has administrative privileges,
this works for me:
kdestroy
kinit administrator@YOURREALM
net ads join
bye,
guenther
On Thu, Nov 07, 2002 at 08:48:44PM +0200, Jaakko Niemi
wrote:>
> 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/libc.so.6
> (gdb) bt
> #0 0x40129c01 in kill () from /lib/libc.so.6
> #1 0x40129a12 in raise () from /lib/libc.so.6
> #2 0x4012ac3e in abort () from /lib/libc.so.6
> #3 0x40123b11 in __assert_fail () from /lib/libc.so.6
> #4 0x400e8699 in ldap_get_values_len () from /usr/lib/libldap.so.2
> #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.
>
> --j
--
Guenther Deschner guenther.deschner@suse.de
SuSE Linux AG GnuPG: 8EE11688
Berliner Str. 27 phone: +49 (0) 30 / 430944778
D-13507 Berlin fax: +49 (0) 30 / 43732804
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :
http://lists.samba.org/archive/samba/attachments/20021112/636cf57a/attachment.bin