LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-15-2009, 11:19 AM   #1
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Rep: Reputation: 18
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
 
Old 05-15-2009, 04:14 PM   #2
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Original Poster
Rep: Reputation: 18
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
 
Old 05-15-2009, 04:18 PM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Are you getting anything interesting in config.log?
 
Old 05-16-2009, 09:18 AM   #4
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
What error do you get when you try to build Samba after that ./configure line?
 
Old 05-18-2009, 09:57 AM   #5
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Original Poster
Rep: Reputation: 18
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.
 
Old 05-18-2009, 09:57 AM   #6
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Original Poster
Rep: Reputation: 18
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.
 
Old 05-18-2009, 12:45 PM   #7
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Original Poster
Rep: Reputation: 18
Do I need to define ldap this way? --with-ads=/usr/include/whatever
 
Old 05-18-2009, 12:45 PM   #8
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Original Poster
Rep: Reputation: 18
Do I need to define ldap this way? --with-ads=/usr/include/whatever
 
Old 05-28-2009, 11:57 PM   #9
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
I merged your threads together so the answers can all be seen at once.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba With ADS?? kool_kid Linux - Networking 1 10-03-2007 05:46 PM
samba as ADS tshrinivasan Linux - Networking 2 02-17-2007 10:01 AM
Samba 3.0.21a and Samba Domain Member Servers in a Windows 2003 ADS Domain ramz Linux - Networking 3 04-09-2006 08:26 PM
Samba against ADS Daniboy Linux - Software 3 09-13-2005 04:49 AM
Fedora 2, samba and ADS pylagan Linux - Networking 3 10-26-2004 04:58 PM


All times are GMT -5. The time now is 03:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration