Re: useradd segmentation fault
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/09/2014 12:55 PM, Don Armstrong wrote:
> On Sun, 09 Nov 2014, Joris Bolsens wrote:
>> Where do i find the object file for libnss-ldap? I tried running
>> nm -a on pretty much every file I could find with libnss-ldap in
>> the name and it said it didn't recognize the file type.
>
> It should be symlinked from /lib64/libnss_ldap.so.2 or
> /lib/x86_64-linux-gnu/ and nm -Da or similar should do it.
>
Thanks, found it. here is the output,
# nm -Da libnss_ldap.so.2
00000000000034d8 t .init
0000000000000000 A EXPORTED
w _ITM_deregisterTMCloneTable
w _ITM_registerTMCloneTable
w _Jv_RegisterClasses
U __assert_fail
U __ctype_b_loc
w __cxa_finalize
U __dn_expand
U __errno_location
U __fxstat
w __gmon_start__
w __pthread_mutex_lock
w __pthread_mutex_unlock
U __register_atfork
U __res_init
U __res_search
U __res_state
U __snprintf_chk
U __stack_chk_fail
U __stpcpy_chk
U __strdup
U __syslog_chk
U __xstat
000000000000b010 T _nss_ldap_endaliasent
000000000000d380 T _nss_ldap_endautomntent
000000000000cdc0 T _nss_ldap_endetherent
0000000000009810 T _nss_ldap_endgrent
000000000000a450 T _nss_ldap_endhostent
000000000000a860 T _nss_ldap_endnetent
0000000000009af0 T _nss_ldap_endnetgrent
000000000000aac0 T _nss_ldap_endprotoent
0000000000008210 T _nss_ldap_endpwent
0000000000009f80 T _nss_ldap_endrpcent
000000000000b480 T _nss_ldap_endservent
000000000000ae90 T _nss_ldap_endspent
000000000000afa0 T _nss_ldap_getaliasbyname_r
000000000000b040 T _nss_ldap_getaliasent_r
000000000000d3b0 T _nss_ldap_getautomntbyname_r
000000000000d250 T _nss_ldap_getautomntent_r
000000000000cdf0 T _nss_ldap_getetherent_r
0000000000009840 T _nss_ldap_getgrent_r
0000000000009780 T _nss_ldap_getgrgid_r
0000000000009710 T _nss_ldap_getgrnam_r
000000000000a350 T _nss_ldap_gethostbyaddr_r
000000000000a270 T _nss_ldap_gethostbyname2_r
000000000000a320 T _nss_ldap_gethostbyname_r
000000000000a480 T _nss_ldap_gethostent_r
000000000000ccb0 T _nss_ldap_gethostton_r
000000000000a680 T _nss_ldap_getnetbyaddr_r
000000000000a5f0 T _nss_ldap_getnetbyname_r
000000000000a890 T _nss_ldap_getnetent_r
0000000000009c10 T _nss_ldap_getnetgrent_r
000000000000cd00 T _nss_ldap_getntohost_r
000000000000aa00 T _nss_ldap_getprotobyname_r
000000000000aa50 T _nss_ldap_getprotobynumber_r
000000000000aaf0 T _nss_ldap_getprotoent_r
0000000000008240 T _nss_ldap_getpwent_r
0000000000008150 T _nss_ldap_getpwnam_r
00000000000081a0 T _nss_ldap_getpwuid_r
0000000000009ec0 T _nss_ldap_getrpcbyname_r
0000000000009f10 T _nss_ldap_getrpcbynumber_r
0000000000009fb0 T _nss_ldap_getrpcent_r
000000000000b350 T _nss_ldap_getservbyname_r
000000000000b3d0 T _nss_ldap_getservbyport_r
000000000000b4b0 T _nss_ldap_getservent_r
000000000000aec0 T _nss_ldap_getspent_r
000000000000ae20 T _nss_ldap_getspnam_r
00000000000096e0 T _nss_ldap_initgroups
0000000000009400 T _nss_ldap_initgroups_dyn
000000000000aff0 T _nss_ldap_setaliasent
000000000000d1e0 T _nss_ldap_setautomntent
000000000000cda0 T _nss_ldap_setetherent
00000000000097f0 T _nss_ldap_setgrent
000000000000a430 T _nss_ldap_sethostent
000000000000a840 T _nss_ldap_setnetent
0000000000009b40 T _nss_ldap_setnetgrent
000000000000aaa0 T _nss_ldap_setprotoent
00000000000081f0 T _nss_ldap_setpwent
0000000000009f60 T _nss_ldap_setrpcent
000000000000b460 T _nss_ldap_setservent
000000000000ae70 T _nss_ldap_setspent
U access
U ber_bvfree
U ber_free
U ber_pvt_opt_on
U ber_set_option
U calloc
U close
U dup
U dup2
U ether_aton
U ether_ntoa
U fclose
U fcntl
U fgets
U fileno
U fopen
U free
U geteuid
U getpeername
U getpid
U getsockname
U gss_krb5_ccache_name
U inet_addr
U inet_makeaddr
U inet_network
U inet_ntoa
U ldap_abandon
U ldap_control_free
U ldap_controls_free
U ldap_count_entries
U ldap_count_values
U ldap_create_page_control
U ldap_err2string
U ldap_explode_dn
U ldap_explode_rdn
U ldap_first_attribute
U ldap_first_entry
U ldap_get_dn
U ldap_get_option
U ldap_get_values
U ldap_initialize
U ldap_install_tls
U ldap_ld_free
U ldap_memfree
U ldap_msgfree
U ldap_next_attribute
U ldap_next_entry
U ldap_parse_page_control
U ldap_parse_result
U ldap_result
U ldap_result2error
U ldap_sasl_interactive_bind_s
U ldap_search_ext
U ldap_search_st
U ldap_set_option
U ldap_set_rebind_proc
U ldap_simple_bind
U ldap_start_tls
U ldap_unbind
U ldap_value_free
U malloc
U memcmp
U memcpy
U pthread_once
U realloc
U setsockopt
U sigaction
U sigemptyset
U sleep
U socket
U strcasecmp
U strchr
U strcmp
U strcpy
U strlen
U strncasecmp
U strncpy
U strrchr
U strtol
U strtoll
U strtoul
U time
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJUYBRDAAoJEORnMHMHY2FrjmoP/2KiazCK0Zy95UqevUQq4pVQ
2QLQt3bZZw/Mtq/FxbNPFMQUhcEUxsXCPp5gMuGJEGwAQJChZDh6qtYL73o9722/
YAjvY/pBgFt/Jko36daozgJv14jo+GT4obTf3EHM5lhMNVZBM4dNESO5MDrqivZo
rQVh1tibideZGCTI3zX0spMcxVUbT9reb0LX1wpXnQnK3kv2+PpkfvFoem6PPmWb
JOZcKDJLSHNEOe3XGVJxPjTBh0gzGECBX1BHpAUZ9UPQG+kHv0K/kPk+6OXKAlU9
WpKSgE6+MLQiGSIpinNr/aHGZZVMk+CUc4ehFn1Mi0auIdEK5Kl/HgvgA+N6igww
WqOwteOet5bVM3hKv00DuQkvYDZEjH6SNlJ/ztxqM85FGzOaHWcP7RUW7XLhwr/h
hK4M/gs9tHdeXi5Vo+zGlTMqEJsfHkkQ9bwJIQln2cB+kiX6RdTPoAhvG6y2ohkl
8WPLD43bjB5FOnaL1+IE4Ou6+Ds5izfupJKM/avGfu4ywhUv7L9u/x0KCh9vBSzc
VHrZOiOVSzp3XgNfxhKxE5JFQmrUeOsYGwMSHUkjkfNxFSQyt8hQAa7gzgXxrRi1
YEvfVLNEd3yQiEXgab3SvUs+klZMSKcXmYXufuLhWZHsVUxgAs69mxTmD1AC+0wP
AmfR/IIqmQLY4j27Ag9c
=ZHHC
-----END PGP SIGNATURE-----
Reply to: