LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba 3.3.4 ADS support not compiled in (https://www.linuxquestions.org/questions/linux-server-73/samba-3-3-4-ads-support-not-compiled-in-726237/)

chackercon 05-15-2009 11:19 AM

Samba 3.3.4 ADS support not compiled in
 
I have attempted to compile this like 5 times now and it will not compile ads support.

The command that I am running is as follows,

./configure --prefix=/usr/loca/samba --with-ads --with-winbind --with-krb5=/usr/include/krb5 --with-ldap

I have no clue what I am doing wrong and have searched for hours now. Any help is always apreciated.

Thank you

chackercon 05-15-2009 04:14 PM

Samba 3.3.4 ADS support not compiled in
 
I have attempted to compile this like 5 times now and it will not compile ads support.

The command that I am running is as follows,

./configure --prefix=/usr/local/samba --with-ads --with-winbind --with-krb5=/usr/include/krb5 --with-ldap

I have no clue what I am doing wrong and have searched for hours now. Any help is always appreciated.

Thank you

billymayday 05-15-2009 04:18 PM

Are you getting anything interesting in config.log?

MS3FGX 05-16-2009 09:18 AM

What error do you get when you try to build Samba after that ./configure line?

chackercon 05-18-2009 09:57 AM

These are the errors that I get during the configure.

checking for library containing strerror... none required
checking that the C compiler understands -Werror-implicit-function-declaration... yes
checking that the C compiler understands -Werror... yes
checking for strerror... yes
checking for dlerror... yes
checking for strerror... (cached) yes
checking for hstrerror... yes
checking for krb5_free_error_contents... no
checking for initialize_krb5_error_table... yes
checking for krb5_get_init_creds_opt_get_error... no
checking for e_data pointer in krb5_error... no
checking whether krb5_mk_error takes 3 arguments MIT or 9 Heimdal... yes
checking for krb5_error_code krb5_enctype_to_string(krb5_context context, krb5_enctype enctype, char **str)... no
checking for krb5_error_code krb5_enctype_to_string(krb5_enctype enctype, char *str, size_t len)... yes




from the config.log

conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
conftest.c:52:26: error: minix/config.h: No such file or directory
conftest.c:19:26: error: minix/config.h: No such file or directory

the only errors I get. I am not sure what else I should be looking for it said that

config output for winbind
checking whether to build winbind... yes
checking how to build auth_winbind... static

config output for ldap
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking for ldap_init in -lldap... yes
checking for ldap_set_rebind_proc... yes
checking whether ldap_set_rebind_proc takes 3 arguments... 3
checking for ldap_initialize... yes
checking for ldap_initialize... (cached) yes
checking for ldap_add_result_entry... yes
checking how to build pdb_ldap... static
checking how to build idmap_ldap... static
LDAP_LIBS = -lldap -llber
No output for ads that I could find.

chackercon 05-18-2009 09:57 AM

These are the errors that I get during the configure.

checking for library containing strerror... none required
checking that the C compiler understands -Werror-implicit-function-declaration... yes
checking that the C compiler understands -Werror... yes
checking for strerror... yes
checking for dlerror... yes
checking for strerror... (cached) yes
checking for hstrerror... yes
checking for krb5_free_error_contents... no
checking for initialize_krb5_error_table... yes
checking for krb5_get_init_creds_opt_get_error... no
checking for e_data pointer in krb5_error... no
checking whether krb5_mk_error takes 3 arguments MIT or 9 Heimdal... yes
checking for krb5_error_code krb5_enctype_to_string(krb5_context context, krb5_enctype enctype, char **str)... no
checking for krb5_error_code krb5_enctype_to_string(krb5_enctype enctype, char *str, size_t len)... yes




from the config.log

conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
conftest.c:52:26: error: minix/config.h: No such file or directory
conftest.c:19:26: error: minix/config.h: No such file or directory

the only errors I get. I am not sure what else I should be looking for it said that

config output for winbind
checking whether to build winbind... yes
checking how to build auth_winbind... static

config output for ldap
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking for ldap_init in -lldap... yes
checking for ldap_set_rebind_proc... yes
checking whether ldap_set_rebind_proc takes 3 arguments... 3
checking for ldap_initialize... yes
checking for ldap_initialize... (cached) yes
checking for ldap_add_result_entry... yes
checking how to build pdb_ldap... static
checking how to build idmap_ldap... static
LDAP_LIBS = -lldap -llber
No output for ads that I could find.

chackercon 05-18-2009 12:45 PM

Do I need to define ldap this way? --with-ads=/usr/include/whatever

chackercon 05-18-2009 12:45 PM

Do I need to define ldap this way? --with-ads=/usr/include/whatever

jtshaw 05-28-2009 11:57 PM

I merged your threads together so the answers can all be seen at once.


All times are GMT -5. The time now is 01:21 AM.