Re: Samba tutorial
This might help: http://us2.samba.org/samba/devel/docs/html/Samba-HOWTO-Collection.html#domain-member Matt - Original Message - From: "Darryl Hoar" <[EMAIL PROTECTED]> To: "'Ruben de Groot'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 15, 2003 9:07 AM Subject: RE: Samba tutorial > I followed your tutorial, using > FreeBSD 5.1 the same setup as > you describe. > > When I try to access the samba shares > from an NT 4 server, it keeps prompting > for username/password. None of the > Primary Domain passwords work. If I > access the share from a Win2000 machine > it works beautifully. Does this have > something to do with password encryption? > > Any ideas how to get around this problem ? > > thanks, > Darryl > > > -Original Message- > > From: Ruben de Groot [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 26, 2003 12:57 AM > > To: Darryl Hoar > > Subject: Re: Samba tutorial > > > > > > On Tue, Nov 25, 2003 at 03:16:12PM -0600, Darryl Hoar typed: > > > Thanks it looks informative. Will it work with > > > FreeBSD 4.9 (which is what I have installed) ? > > > > > > The password part seems like you need 5.1 to > > > get it to look to the PDC for passwords. > > > > Correct. Samba does run quite well on 4.x, but you'll have to > > create the windows domain users as (dummy) unix users, since > > nsswitch.conf doesn't work on 4.x. This makes administering > > such a box a little redundant (whenever you create a user in > > the windows domain, you must also create the same user on the > > samba box.) > > > > > thanks, > > > Darryl > > > > > > > -Original Message- > > > > From: Ruben de Groot [mailto:[EMAIL PROTECTED] > > > > Sent: Tuesday, November 25, 2003 2:43 PM > > > > To: Darryl Hoar > > > > Subject: Re: Samba tutorial > > > > > > > > > > > > > > > > Hi Darryl, > > > > > > > > I did this on some FBSD 5.1 systems and wrote the following howto: > > > > > > > > http://www.bzerk.org/documents/ntdomauth/ > > > > > > > > Maybe it's of some help to you. > > > > > > > > Ruben > > > > > > > > On Tue, Nov 25, 2003 at 10:16:03AM -0600, Darryl Hoar typed: > > > > > Greetings, > > > > > I just installed Freebsd 4.9 on a machine. > > > > > I want to setup Samba so that a NT4 server > > > > > can copy some files to the Freebsd 4.9 machine. > > > > > > > > > > I am looking for fine manual to read, or turtorial > > > > > for setting it up. The Freebsd machine will be a > > > > > member of an existing windows domain, but will > > > > > not be a PDC or BDC. > > > > > > > > > > thanks in advance for pointers. > > > > > > > > > > -Darryl > > > > > > > > > > ___ > > > > > [EMAIL PROTECTED] mailing list > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > To unsubscribe, send any mail to > > > > "[EMAIL PROTECTED]" > > > > > > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NATd question
There some marketing scams out there that some ISP use to get you to pay just a bit more for service. One common scam is as follows: consumer: "I have two computers. I need to make sure they can both get on the internet." (Thinking: "I know my buddy did this with his setup") ISP: "Oh you mean you need a second IP address, right?" (Thinking: "The poor guy doesn't know he can do it with one and NAT server. But I ain't telling him that.") consumer: "Will that let me get both of these connected?" ISP: "Oh you bet. It will only be $5($10/$15/maybe even $20) more dollars a month" consumer: "Ok set it up. Lets do that. I really need to get these two on the internet." ;) Matt - Original Message - From: "Vulpes Velox" <[EMAIL PROTECTED]> To: "Marwan Sultan" <[EMAIL PROTECTED]> Cc: "FreeBSD questions List" <[EMAIL PROTECTED]> Sent: Sunday, December 07, 2003 8:50 PM Subject: Re: NATd question > On Sun, 7 Dec 2003 19:56:14 +0300 > "Marwan Sultan" <[EMAIL PROTECTED]> wrote: > > > Hello Everybody, > > > > > >Im on FreeBSD 4.8-R fresh installation. > >and this is the configuration i will use on my LAN > > > >Internet ->connected-> DSL Router -> FreeBSD box -> HUB -> LAN > > > >DSL Router has an IP 192.168.0.1 and the real IP too. > > > >FreeBSD box has 2 NIC's > >My question is: > > > >Where and How to sign 2 IPs for 2 NICs? > > > >which IP the NIC connected to DSL should sign? > >Which IP the NIC connected to HUB should sign? > >Which of these IPs will be as gateway IP the clients will sign? > > The DSL connection is probally going to be DHCP so just set the nic connected to > it for DHCP. Then for the lan select what ever private address you want. > > You will have to experiment a bit to figure out which is which. > > >I have read the instructions of freebsd.org, > >and it says the gateway will be the BSD machine 192.168.0.1 > >BUT this IP in my LAN is signed to the router automatilcaly. > > You can assign the gateway machine any private address you want. BTW if you have > a gateway why are you setting up a second? > > >Can someone explain? advise? This machine will be only for this use. > > It basically works like this... > LAN -> gateway -> natd -> dsl uplink device -> WAN > > Any thing on to a address not included in the subnet mask is going to leave > throught the gateway. The usual subnet mask is 255.255.255.0 so thus there are > 256 possabilities of address in the alloted space. Now lets say out gateway is > 192.168.0.1 any thing not belonging to 192.168.0.1/24 is going to leave thought > the gateway. On it's way out that packet is going to be monkeyed, by natd, with > so it will know where to send the returned info. This is done so that it will > know which machine on the LAN it should be sent too. > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mSyslog port and FreeBSD
I have been searching endlessly for information on msyslog and FreeBSD. I have configured my server to use this port (it is currently logging everything to files) and am now trying to get it to use mysql. The only items I have found thus far has been on sourceforge.net. All I seem to find is folks saying they have problems but no one ever seems to have the answers (wow, big surprise for me;) I have a few questions, but the one I must ask is, has anyone on a FreeBSD box got this to work WITH mysql? Secondly my problem is very well defined here: http://sourceforge.net/forum/forum.php?thread_id=899889&forum_id=80955 and here: http://sourceforge.net/forum/forum.php?thread_id=965362&forum_id=80955 both seem to be the same problem and in fact they are exactly the same as my problem. I think the issue is with the actuall building of the port. The file libmsyslog_om_mysql.so is nowhere to be found on my system. This leads me to believe that perhaps it simply was not built. I used the command make WITH_MYSQL=yes install to install the port. Before installing I corrected the file in the includes as directed here: http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2003-August/009926.html The mailing list for the port returns my mail and any attempts to contact them have resulted in no answer. My only resources I have found so far have been on sourceforge (where it seems no one answers) this newsgroup and freebsd mailings. Any help would be welcome, great, and thanked for in advance! Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cant Build KDE3
"ME" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am having some problems building KDE3 on FreeBSD 5.1. When an attempt to > build the dependancy kdesdk3 is made it ALWAYS fails. Is this something I > could have caused? If so I would like to find out what it is. It seems you > MUST build kde with kdesdk3 so it is a required dependancy. I would really > like to use KDE3 and can't even find a FreeBSD package. I have heard that > cdparanoia port is broken. Would this cause kdesdk3 not to build on FreeBSD > 5.1 (my problem)? Below is the stoping point: > > c++: -lc_r: linker input file unused because linking not done > c++: -lc_r: linker input file unused because linking not done > /bin/sh ../libtool --silent --mode=link --tag=CXX > c++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwr > ite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -mcpu=pentiumpro -fno-exception > -fno-check-new -DQT_CLEAN_NAMESPACE -UQT_NO_COMPAT -DQT_NO_ASCII_CAST -L > /usr/X11R6/lib -lc_r -L/usr/local/lib -L/usr/local/lib -R /usr/local/lib -R > /usr/X11R6/lib -R /usr/X11R6/lib -R /usr/local/lib -o libcervisia.la.closure > ibcervisia_la_closure.lo -L/usr/X11R6/lib -lc_r -L/usr/local/lib -L/usr/lo > cal/lib -version-info 1:0:0 -module -no-undefined updateview.lo > protocolview.lo watchdlg.lo settingsdlg.lo changelogdlg.lo historydlg.lo > repositorydlg.lo commitdlg.lo checkoutdlg.lo updatedlg.lo tagdlg.lo > mergedlg.lo logdlg.lo logtree.lo loglist.lo diffdlg.lo resolvedlg.lo > diffview.lo annotatedlg.lo annotateview.lo cvsprogressdlg.lo tiplabel.lo > listview.lo cvsdir.lo repositories.lo misc.lo cervisiapart.lo > qttableview.lo -lkio -lkparts -Wl,-export-dynamic -L/usr/local/lib -L/usr/X1 > 1R6/lib -ljpeg -L/usr/X11R6/lib > libtool: link: warning: `-version-info' is ignored for programs > .libs/cvsdir.o: In function `CvsIgnoreList::matches(QFileInfo*)': > .libs/cvsdir.o(.text+0x735): undefined reference to `fnmatch(char const*, > char const*, int)' > gmake[2]: *** [libcervisia.la.closure] Error 1 > gmake[2]: Leaving directory > `/usr/ports/devel/kdesdk3/work/kdesdk-3.1.4/cervisia' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.1.4' > gmake: *** [all] Error 2 > *** Error code 2 > > Stop in /usr/ports/devel/kdesdk3. > *** Error code 1 > > Stop in /usr/ports/x11/kde3 > > > Thanks, > > Matt > > Sorry to answer my own post. I have found the solution. First, it was my fault. It seems the heimdal port (once again) was causing some problems with the build. The file /usr/local/fnmatch.h which was installed by heimdal was causing the problem. I deinstalled heimdal (will re-install it after KDE is up.) and attempted again. This time, for the first time, kdesdk3 built AND installed. Hope that helps someone out there. Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Cant Build KDE3
I am having some problems building KDE3 on FreeBSD 5.1. When an attempt to build the dependancy kdesdk3 is made it ALWAYS fails. Is this something I could have caused? If so I would like to find out what it is. It seems you MUST build kde with kdesdk3 so it is a required dependancy. I would really like to use KDE3 and can't even find a FreeBSD package. I have heard that cdparanoia port is broken. Would this cause kdesdk3 not to build on FreeBSD 5.1 (my problem)? Below is the stoping point: c++: -lc_r: linker input file unused because linking not done c++: -lc_r: linker input file unused because linking not done /bin/sh ../libtool --silent --mode=link --tag=CXX c++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwr ite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -mcpu=pentiumpro -fno-exception s -fno-check-new -DQT_CLEAN_NAMESPACE -UQT_NO_COMPAT -DQT_NO_ASCII_CAST -L /usr/X11R6/lib -lc_r -L/usr/local/lib -L/usr/local/lib -R /usr/local/lib -R /usr/X11R6/lib -R /usr/X11R6/lib -R /usr/local/lib -o libcervisia.la.closure libcervisia_la_closure.lo -L/usr/X11R6/lib -lc_r -L/usr/local/lib -L/usr/lo cal/lib -version-info 1:0:0 -module -no-undefined updateview.lo protocolview.lo watchdlg.lo settingsdlg.lo changelogdlg.lo historydlg.lo repositorydlg.lo commitdlg.lo checkoutdlg.lo updatedlg.lo tagdlg.lo mergedlg.lo logdlg.lo logtree.lo loglist.lo diffdlg.lo resolvedlg.lo diffview.lo annotatedlg.lo annotateview.lo cvsprogressdlg.lo tiplabel.lo listview.lo cvsdir.lo repositories.lo misc.lo cervisiapart.lo qttableview.lo -lkio -lkparts -Wl,-export-dynamic -L/usr/local/lib -L/usr/X1 1R6/lib -ljpeg -L/usr/X11R6/lib libtool: link: warning: `-version-info' is ignored for programs .libs/cvsdir.o: In function `CvsIgnoreList::matches(QFileInfo*)': .libs/cvsdir.o(.text+0x735): undefined reference to `fnmatch(char const*, char const*, int)' gmake[2]: *** [libcervisia.la.closure] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.1.4/cervisia' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.1.4' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/devel/kdesdk3. *** Error code 1 Stop in /usr/ports/x11/kde3 Thanks, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache mod_ssl build error
Original Message - From: "Dirk Meyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Matt Edwards" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, November 01, 2003 7:20 AM Subject: Re: apache mod_ssl build error > Matt Edwards schrieb:, > > > Yep. Me again. Sorry. :) Did you ever find a solution to this (see below my > > name) besides moving to 5.1? I am currently having the same issue, (though n > > ot with portupgrade), with the building of mod_ssl itself. Trouble is, I'm r > > unning 5.1. > > I have no problem on FreeBSD 5.1 > > > ap_fnmatch.c:143: `FNM_CASE_BLIND' undeclared (first use in this function) > > you might habe a "fnmatch.h" ins /usr/local/include/ > (maybe from the heimdal port) > $ pkg_info -W /usr/local/include/fnmatch.h > > If you deinstall this file, mod_ssl will build without problems. > > kind regards Dirk > > - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany > - [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] Thank you Dirk. That was exactly what I needed to get it to build. I did in fact have heimdal installed. I appreciate you getting back to me on this. I un-installed heimdal, built and installed mod_ssl and then reinstalled heimdal again. The only question that remains now is will the re-install of heimdal cause any problems? So far kerberos is working fine, but I have yet to configure apache for the ssl stuff to see if it is working ok (not that I can't, I just haven't gotten around to doing it yet. :). thanks, matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mod_ssl port and FreeBSD 5.1
Has anyone gottent the /usr/ports/www/apache13-modssl port to compile lately? What am I doing wrong? I have litterally reloaded FreeBSD 5.1 and cvsuped and still can't get the port build. Here's what I did: 1) Wiped HD clean 2) re-installed FreeBSD 5.1 via FTP, & installed cvsup 3) cvsuped to update the /usr/ports & /usr/src 4) rebuilt the world & kernel 5) rebooted 6) attempted to build /usr/ports/www/apache13-modssl It ALWAYS stops here (before AND after the new install of the OS: lite -O -pipe -mcpu=pentiumpro `../apaci` ap_fnmatch.c ap_fnmatch.c: In function `ap_fnmatch': ap_fnmatch.c:143: `FNM_CASE_BLIND' undeclared (first use in this function) ap_fnmatch.c:143: (Each undeclared identifier is reported only once ap_fnmatch.c:143: for each function it appears in.) ap_fnmatch.c: In function `rangematch': ap_fnmatch.c:190: `FNM_CASE_BLIND' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.28/src/ap. *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.28/src. *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.28. *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.28. *** Error code 1 Stop in /usr/ports/www/apache13-modssl. Please help. Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
apache+mod_ssl-1.3.28+2.8.15_1 - DOES NOT COMPILE on FreeBSD 5.1
I can't seem get apache13-modssl to build. Anyone else have this problem and *hopefully* a solution? Thanks Matt Other References I have found thus far (but no solution) http://lists.freebsd.org/pipermail/freebsd-ports/2003-April/000324.html http://lists.freebsd.org/pipermail/freebsd-ports/2003-August/003877.html RESULT: homeserver# cd /usr/ports/www/apache13-modssl homeserver# ls Makefilefiles pkg-install distinfopkg-descr pkg-plist homeserver# make You may use the following build options: WITH_APACHE_SUEXEC=yesenable the suEXEC feature [default is no] APACHE_SUEXEC_CALLER=user set the suEXEC username of the allowed caller [default is www] APACHE_SUEXEC_DOCROOT=dir set the suEXEC root directory [default is /usr/local/www/data] APACHE_SUEXEC_LOG=fileset the suEXEC logfile [default is /var/log/httpd-suexec.log] APACHE_SUEXEC_USERDIR=dir set the suEXEC user subdirectory [default is public_html] APACHE_SUEXEC_UIDMIN=uid set the suEXEC minimal allowed UID [default is 1000] APACHE_SUEXEC_GIDMIN=gid set the suEXEC minimal allowed GID [default is 1000] APACHE_SUEXEC_SAFE_PATH=path set the suEXEC safe PATH [default is /bin:/usr/bin:/usr/local/bin] APACHE_SUEXEC_UMASK=umask set the umask for the suEXEC'd script [default is inherited from the Apache process] APACHE_HARD_SERVER_LIMIT=nr Maximum number of Apache processes. [default is 512] APACHE_FD_SETSIZE=nr Maximum number of descriptors. [default is 1024] APACHE_BUFFERED_LOGS=yes Log entries are buffered before writing. Writes may not be atomic, entries from multiple children could become mixed together and your web stats may be inaccurate. [default is no] APACHE_PERF_TUNING=yesCFLAGS optimization. This setting may produce broken code and thus is not recommended for production servers. [default is no] ===> Extracting for apache+mod_ssl-1.3.28+2.8.15_1 >> Checksum OK for apache_1.3.28.tar.gz. >> Checksum OK for mod_ssl-2.8.15-1.3.28.tar.gz. ===> Patching for apache+mod_ssl-1.3.28+2.8.15_1 ===> apache+mod_ssl-1.3.28+2.8.15_1 depends on file: /usr/local/bin/perl5.6.1 - found ===> Applying mod_ssl-2.8.15 extension Configuring mod_ssl/2.8.15 for Apache/1.3.28 + Apache location: ../apache_1.3.28 (Version 1.3.28) + Auxiliary patch tool: ./etc/patch/patch (local) + Applying packages to Apache source tree: o Extended API (EAPI) o Distribution Documents o SSL Module Source o SSL Support o SSL Configuration Additions o SSL Module Documentation o Addons Done: source extension and patches successfully applied. ===> Applying FreeBSD patches for apache+mod_ssl-1.3.28+2.8.15_1 ===> apache+mod_ssl-1.3.28+2.8.15_1 depends on file: /usr/local/bin/perl5.6.1 - found ===> apache+mod_ssl-1.3.28+2.8.15_1 depends on shared library: mm.13 - found ===> apache+mod_ssl-1.3.28+2.8.15_1 depends on shared library: crypto.3 - found ===> Configuring for apache+mod_ssl-1.3.28+2.8.15_1 Configuring for Apache, Version 1.3.28 + using installation path layout: FreeBSD (config.layout) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support Creating Makefile in src + configured for FreeBSD 5.1 platform + setting C pre-processor to cc -E + using "tr [a-z] [A-Z]" to uppercase + checking for system header files + adding selected modules o rewrite_module uses ConfigStart/End enabling DBM support for mod_rewrite o db_auth_module uses ConfigStart/End using Berkeley-DB/1.x for mod_auth_db (-lc) o ssl_module uses ConfigStart/End + SSL interface: mod_ssl/2.8.15 + SSL interface build type: DSO + SSL interface compatibility: enabled + SSL interface experimental code: disabled + SSL interface conservative code: disabled + SSL interface vendor extensions: disabled + SSL interface plugin: Vendor DBM (libc) + SSL library path: /usr/local + SSL library version: OpenSSL 0.9.7c 30 Sep 2003 + SSL library type: installed package (stand-alone) + enabling Extended API (EAPI) using MM library for EAPI: (system-wide) + using builtin Expat + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src
apache mod_ssl build error
Tim, Yep. Me again. Sorry. :) Did you ever find a solution to this (see below my name) besides moving to 5.1? I am currently having the same issue, (though not with portupgrade), with the building of mod_ssl itself. Trouble is, I'm running 5.1. Thanks, Matt QUOTE: Sat Aug 2 09:01:49 PDT 2003 On FreeBSD 4.8-STABLE While portupgrading from apache+mod_ssl-1.3.27+2.8.14 to apache+mod_ssl-1.3.28+2.8.15: ap_fnmatch.c: In function `ap_fnmatch': ap_fnmatch.c:143: `FNM_CASE_BLIND' undeclared (first use in this function) ap_fnmatch.c:143: (Each undeclared identifier is reported only once ap_fnmatch.c:143: for each function it appears in.) ap_fnmatch.c: In function `rangematch': ap_fnmatch.c:190: `FNM_CASE_BLIND' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.28/src/ap. *** Error code 1 I tried both portupgrading with the -m switch for SUEXEC and, also, without it. I also pkg_deleted mm-1.3.0 and rebuilt/installed it. On FreeBSD 5.1-Current (built this morning) apache+mod_ssl-1.3.28+2.8.15 installed fine. What am I missing here? Tim Kellers CPE/NJIT ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba and ADS Support PLEASE...
Yep that did the trick. I removed the krb5 port and added the heimdal port. Everything is ok now! Thanks a whole heap Joerg! I certainly appreciate all the support. Matt - Original Message - From: "Joerg Pulz" <[EMAIL PROTECTED]> To: "Matt Edwards" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, October 24, 2003 12:03 PM Subject: Re: Samba and ADS Support PLEASE... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 24 Oct 2003, Matt Edwards wrote: > Date: Fri, 24 Oct 2003 11:31:05 -0600 > From: Matt Edwards <[EMAIL PROTECTED]> > To: Alexander Kühn <[EMAIL PROTECTED]> > Cc: Joerg Pulz <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: Re: Samba and ADS Support PLEASE... > > Ok here is what I have done thus far: > > 1) After I recieved Joerg's files and installed them I moved the gssapi.org > file back to it's original location: /usr/include/gssapi.h > 2) ran make clean twice in /usr/ports/samba-devel directory > 3) I did not build krb5 with ldap so I went back to > /usr/ports/security/krb5/ and ran: make deinstall, then I ran make clean > twice followed by: make WITH_LDAP=yes > then after a succesfull build I ran: make WITH_LDAP=yes install > 4) I went back to /usr/ports/net/samba-devel and ran: make > KRB5_HOME=/usr/local WITH_ADS=yes WITH_LDAP=yes > 5) I have verified that the file /usr/lib/libkrb5.so exists > > So far the make does not complete it still stops in the location here: > > > checking for memory keytab support...yes > > configure: error: libkrb5 is needed for Active Directory Support > > (report problem instructions) > > *** Error Code 1 > > Stop in /usr/ports/net/samba-devel > > I am totally open to trying anything at all to get this to work. Please let > me know if I can make any other changes. I can also post my config.log file > if that may help. Matt, sorry, but i've never tried to compile samba-devel with krb5 from the ports tree. i only use the heimdal stuff from plain FreeBSD-5.1 and i specified KRB5_HOME=/usr configure is running great and make too. joerg -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/mWl5SPOsGF+KA+MRAtBeAJ43VSKRUBFTWzOI0RN+sd2Q2tSz+ACgqFkz kG9eINDfgIOArvkj+Rm+4x4= =n8cM -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba and ADS Support PLEASE...
Ok here is what I have done thus far: 1) After I recieved Joerg's files and installed them I moved the gssapi.org file back to it's original location: /usr/include/gssapi.h 2) ran make clean twice in /usr/ports/samba-devel directory 3) I did not build krb5 with ldap so I went back to /usr/ports/security/krb5/ and ran: make deinstall, then I ran make clean twice followed by: make WITH_LDAP=yes then after a succesfull build I ran: make WITH_LDAP=yes install 4) I went back to /usr/ports/net/samba-devel and ran: make KRB5_HOME=/usr/local WITH_ADS=yes WITH_LDAP=yes 5) I have verified that the file /usr/lib/libkrb5.so exists So far the make does not complete it still stops in the location here: > checking for memory keytab support...yes > configure: error: libkrb5 is needed for Active Directory Support > (report problem instructions) > *** Error Code 1 > Stop in /usr/ports/net/samba-devel I am totally open to trying anything at all to get this to work. Please let me know if I can make any other changes. I can also post my config.log file if that may help. Matt - Original Message - From: "Alexander Kühn" <[EMAIL PROTECTED]> To: "Matt Edwards" <[EMAIL PROTECTED]> Cc: "Joerg Pulz" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, October 24, 2003 9:31 AM Subject: Re: Samba and ADS Support PLEASE... > When you build kerberos make sure you build it with WITH_LDAP=yes as well! > > Quoting Matt Edwards <[EMAIL PROTECTED]>: > > Joerg, > > That makefile looks like it will work much better, however I having some > trouble getting it to configure completely as well. The config process > stops and the error says: > > checking for memory keytab support...yes > configure: error: libkrb5 is needed for Active Directory Support > (report problem instructions) > *** Error Code 1 > Stop in /usr/ports/net/samba-devel > > I copied the three files to the locations you specified. When I attempted > the make I used these params: > > make WITH_ADS=yes WITH_LDAP=yes KRB5_HOME=/usr/local > > I have OpenLDAP22 installed and went with the KRB5 port (this port is > installed with all of the defaults) I have configured KRB5 so that I CAN > get a valid ticket from my ADS server using kinit. > > Please let me know if there is anything further I need to do on my end! I > am more than willing to work this issue out! > > Thanks, > > Matt > > - Original Message - > From: "Joerg Pulz" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, October 24, 2003 12:11 AM > Subject: Re: Samba and ADS Support PLEASE... > > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On Thu, 23 Oct 2003, Matt Edwards wrote: > > > > > Date: Thu, 23 Oct 2003 18:47:55 -0600 > > > From: Matt Edwards <[EMAIL PROTECTED]> > > > To: [EMAIL PROTECTED] > > > Subject: Samba and ADS Support PLEASE... > > > > > > Is it necessary to modify the Makefile of the samba-devel port on > FreeBSD in order to build the package with ADS support? I am not very > familiar with the syntax of a Makefile, but I can not seem to find anything > in the FreeBSD 5.1 samba-devel Makefile that talks of OpenLDAP, a > requirement to ADS support. If it is necessary could some one help me out > with this? > > > > > > I have tried several times with still ADS support will not compile in. > Also the /usr/include/gssapi.h file must be removed before any make (even > the just plain "make") on samba completes. I have tried it about 3 times > with 3 fresh installs of FreeBSD 5.1 and a cvsup. I think there is > something wrong with > > > the samba port but I am too inexperienced to know for sure. > > > > > > Has anyone else had this problem? > > > > i had this problem to. > > i've made some changes to the Makefile and added some more knobs. > > i've send my changes to the port maintainer. > > for anyone else who wants to use my modified version i've attached these > > files. > > > > Makefilereplaces the original samba-devel/Makefile > > pkg-plistreplaces the original samba-devel/pkg-plist > > patch-Makefile.in make wrepld buildable > samba-devel/files/patch-Makefile.in > > > > i will rewrite the whole Makefile and the pkg-plist again to get rid of > > the user-definable path stuff. > > > > regards > > Joerg > > -BEGIN PGP SIGNATURE- > > Version: GnuPG v1.2.2 (FreeBSD) > > > > iD8DBQE/mMKMSPOsGF+KA+MRAkQ+AKC7a07oyDkNw
Re: Samba and ADS Support PLEASE...
Joerg, That makefile looks like it will work much better, however I having some trouble getting it to configure completely as well. The config process stops and the error says: checking for memory keytab support...yes configure: error: libkrb5 is needed for Active Directory Support (report problem instructions) *** Error Code 1 Stop in /usr/ports/net/samba-devel I copied the three files to the locations you specified. When I attempted the make I used these params: make WITH_ADS=yes WITH_LDAP=yes KRB5_HOME=/usr/local I have OpenLDAP22 installed and went with the KRB5 port (this port is installed with all of the defaults) I have configured KRB5 so that I CAN get a valid ticket from my ADS server using kinit. Please let me know if there is anything further I need to do on my end! I am more than willing to work this issue out! Thanks, Matt - Original Message - From: "Joerg Pulz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 24, 2003 12:11 AM Subject: Re: Samba and ADS Support PLEASE... > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 23 Oct 2003, Matt Edwards wrote: > > > Date: Thu, 23 Oct 2003 18:47:55 -0600 > > From: Matt Edwards <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: Samba and ADS Support PLEASE... > > > > Is it necessary to modify the Makefile of the samba-devel port on FreeBSD in order to build the package with ADS support? I am not very familiar with the syntax of a Makefile, but I can not seem to find anything in the FreeBSD 5.1 samba-devel Makefile that talks of OpenLDAP, a requirement to ADS support. If it is necessary could some one help me out with this? > > > > I have tried several times with still ADS support will not compile in. Also the /usr/include/gssapi.h file must be removed before any make (even the just plain "make") on samba completes. I have tried it about 3 times with 3 fresh installs of FreeBSD 5.1 and a cvsup. I think there is something wrong with > > the samba port but I am too inexperienced to know for sure. > > > > Has anyone else had this problem? > > i had this problem to. > i've made some changes to the Makefile and added some more knobs. > i've send my changes to the port maintainer. > for anyone else who wants to use my modified version i've attached these > files. > > Makefilereplaces the original samba-devel/Makefile > pkg-plistreplaces the original samba-devel/pkg-plist > patch-Makefile.in make wrepld buildable samba-devel/files/patch-Makefile.in > > i will rewrite the whole Makefile and the pkg-plist again to get rid of > the user-definable path stuff. > > regards > Joerg > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.2 (FreeBSD) > > iD8DBQE/mMKMSPOsGF+KA+MRAkQ+AKC7a07oyDkNwFopgDI4Nuw2TSCd0wCgh8LP > Ieg+szTkWYyTb9vBV6Od92g= > =H9Uc > -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba and ADS Support PLEASE...
Nice to know I am not alone thanks. I am really thinking this whole issue is related to that one file I removed. To remove the file I simply mv it gssapi.org and samba built successfully, though with out ADS support. I decided to look through the file and noticed that it made quite a few references to kerberos. 2+2=4 but I am still not sure why, how or even what to do to fix it. Suppose that's why I got into unix in the first place, the challenge of it all. Thanks, Matt - Original Message - From: "Jeronimo Romero" <[EMAIL PROTECTED]> To: "Matt Edwards" <[EMAIL PROTECTED]> Sent: Friday, October 24, 2003 10:41 PM Subject: RE: Samba and ADS Support PLEASE... *This message was transferred with a trial version of CommuniGate(tm) Pro* I had the same problem. I ended up downloading the source from samba.org and compiling myself. It took far less time than trying to figure out what was wrong with the port. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Edwards Sent: Thursday, October 23, 2003 8:48 PM To: [EMAIL PROTECTED] Subject: Samba and ADS Support PLEASE... Is it necessary to modify the Makefile of the samba-devel port on FreeBSD in order to build the package with ADS support? I am not very familiar with the syntax of a Makefile, but I can not seem to find anything in the FreeBSD 5.1 samba-devel Makefile that talks of OpenLDAP, a requirement to ADS support. If it is necessary could some one help me out with this? I have tried several times with still ADS support will not compile in. Also the /usr/include/gssapi.h file must be removed before any make (even the just plain "make") on samba completes. I have tried it about 3 times with 3 fresh installs of FreeBSD 5.1 and a cvsup. I think there is something wrong with the samba port but I am too inexperienced to know for sure. Has anyone else had this problem? Thanks in Advance, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Samba and ADS Support PLEASE...
Is it necessary to modify the Makefile of the samba-devel port on FreeBSD in order to build the package with ADS support? I am not very familiar with the syntax of a Makefile, but I can not seem to find anything in the FreeBSD 5.1 samba-devel Makefile that talks of OpenLDAP, a requirement to ADS support. If it is necessary could some one help me out with this? I have tried several times with still ADS support will not compile in. Also the /usr/include/gssapi.h file must be removed before any make (even the just plain "make") on samba completes. I have tried it about 3 times with 3 fresh installs of FreeBSD 5.1 and a cvsup. I think there is something wrong with the samba port but I am too inexperienced to know for sure. Has anyone else had this problem? Thanks in Advance, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Samba 3.0 breakage
I am trying to compile the FreeBSD 5.1-RELEASE port of samba 3. Everytime I make to begin building the binaries make errors out after attempting to compile dynconfig.c. The screen fills with numerous "redifinition of 'xxx'" and "previously declared here" errors. At the end it stops with "/usr/include/gssapi.h:707: previous declaration of 'gss_canonicalize_name' ***Error code 1 Stop in /usr/ports/net/samba-devel/work/samba-3.0.0beta3/source ***Error code 1 Anyone have any ideas? I have just updated my source tree with cvsup before attempting to make. Thanks in Advance, Matt I had noticed that Tim Kellers had also posted the same problem back in July. This is happening to me in Oct. 2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"