I've been trying for a couple of days to get ADS support built into Samba 3. I've been searching the archives for something that will help me out, but nothing seems to work. Here's what I've tried, first on FreeBSD 4.8: FreeBSD 4.8 Samba 3b3, ./configure --with-ads --with-krb5=/usr (I installed FBSD krb5 from /usr/src/kerberos5) works like a charm. make works and I see all the fancy ads stuff fly by the screen like it's compiling. I then test source/bin/net ads - "ADS support not compiled in". I then try it with MIT krb5 and samba fails to compile (--with-krb5=/usr/local). I try heimdal krb5 and that compiles, but same "ADS support not compiled in" message pops up. So I give up and try Solaris 8. I try the --with-krb5=/usr --with-ads and that can't find the libs, so I install MIT krb5 and it finds krb5-config and compiles, but same mesg. I'm at a total loss on what's going on here. Am I missing some super major step? Any help is greatly appreciated. Please CC me on the reply, I wil also be checking the online archive to see if I've missed a post. Thanks, Will -- Will Froning Unix Sys. Admin. wfroning@uop.edu
For your freebsd box: Did you install openldap? You can do that from the ports tree. Then after configure, make sure you get HAVE_LDAP, HAVE_LDAP_H in config.h. If not, try to give the ldap header and library paths to the configure script. On Wednesday 30 July 2003 04:18 pm, Will Froning wrote:> I've been trying for a couple of days to get ADS support built into > Samba 3. I've been searching the archives for something that will help > me out, but nothing seems to work. > > Here's what I've tried, first on FreeBSD 4.8: > > FreeBSD 4.8 > Samba 3b3, ./configure --with-ads --with-krb5=/usr (I installed FBSD > krb5 from /usr/src/kerberos5) works like a charm. make works and I see > all the fancy ads stuff fly by the screen like it's compiling. I then > test source/bin/net ads - "ADS support not compiled in". > > I then try it with MIT krb5 and samba fails to compile > (--with-krb5=/usr/local). I try heimdal krb5 and that compiles, but > same "ADS support not compiled in" message pops up. > > So I give up and try Solaris 8. > I try the --with-krb5=/usr --with-ads and that can't find the libs, so I > install MIT krb5 and it finds krb5-config and compiles, but same mesg. > > I'm at a total loss on what's going on here. Am I missing some super > major step? Any help is greatly appreciated. > > Please CC me on the reply, I wil also be checking the online archive to > see if I've missed a post. > > Thanks, > Will
> I've been trying for a couple of days to get ADS support built into > Samba 3. I've been searching the archives for something that willhelp> me out, but nothing seems to work. > > Here's what I've tried, first on FreeBSD 4.8: > > FreeBSD 4.8 > Samba 3b3, ./configure --with-ads --with-krb5=/usr (I installed FBSD > krb5 from /usr/src/kerberos5) works like a charm. make works and Isee> all the fancy ads stuff fly by the screen like it's compiling. I then > test source/bin/net ads - "ADS support not compiled in". >Same problem here.. linux slackware. Is it necessary to also have the ldap libraries installed?