#783 ipa-join crashes when password is specified
Closed: Fixed None Opened 13 years ago by dpal.

- Install client in F14 from the devel repo on 1/17.
- Create an entry on the server side
- Server provides DNS for the client
- Create DNS entries
- Run join command on the client
- Observe crash

It looks like the password argument gets overwritten during parsing of the arguments.
The trace is below.

(gdb) run ipa-join -w 111111 -s lenovo.home
Starting program: /usr/sbin/ipa-join ipa-join -w 111111 -s lenovo.home
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0046a046 in __strlen_sse2_bsf () from /lib/libc.so.6
(gdb) bt
#0  0x0046a046 in __strlen_sse2_bsf () from /lib/libc.so.6
#1  0x0804a10b in connect_ldap (hostname=<value optimized out>, binddn=0x0, bindpw=0x0) at ipa-join.c:217
#2  0x0804b624 in get_root_dn (argc=6, argv=0xbffff484) at ipa-join.c:249
#3  join_ldap (argc=6, argv=0xbffff484) at ipa-join.c:379
#4  join (argc=6, argv=0xbffff484) at ipa-join.c:912
#5  main (argc=6, argv=0xbffff484) at ipa-join.c:1078
(gdb)

Please address ASAP, it blocks the development of the prototype for the cloud engine provisioning script.


Metadata Update from @dpal:
- Issue assigned to simo
- Issue set to the milestone: FreeIPA 2.0 - 2011/01 (cleanup)

7 years ago

Login to comment on this ticket.

Metadata