AFS on samba 2.0.2

Ken Weiss ken.weiss at ucop.edu
Thu Mar 11 16:09:06 GMT 1999


>Ken, did you ever get afs support compiled into 2.0.2?  I am in exactly
>the same boat as you are (were), where samba 1.9.18 was working great, but
>2.0.2 wouldn't compile with afs support.  I too tried to copy the relavant
>parts of the makefile over, but ended up with the same errors as you did.
>Then I found your post to the samba list, and I'm hoping that you've
>figured this problem out.
>
>Thanks for any help you can give,
>
>Paul
>----
>


Paul,

I obtained some .diffs from Steve Holstead at the University of Alberta
(Steve.Holstead at ualberta.ca), which I've attached for you. One of my
colleagues, Patrick Lawrence (pjlawrence at ucdavis.edu), applied them to the
source tree, did a little tweaking, and got successful builds on Solaris,
HPUX and Linux.

These diffs have now passed through my Macintosh on their way to you, so
you might need to fix the CR/LF's to get them to work right on a UNIX box.

Belated, but very sincere, thanks to Steve Holstead for his assistance with
this problem.

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.in.diff
Type: application/mac-binhex40
Size: 2269 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/19990311/b26cb0bf/Makefile.in.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pass_check.c.diff
Type: application/mac-binhex40
Size: 583 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/19990311/b26cb0bf/pass_check.c.bin
-------------- next part --------------
--- configure	Fri Feb 12 08:49:28 1999
+++ configure.orig	Sat Feb  6 15:51:52 1999
@@ -8685,10 +8685,6 @@
 #define WITH_AFS 1
 EOF

-afs_base='/usr/afsws'
-afs_flags='-I${AFS_BASE}/include'
-afs_libdir='${AFS_BASE}/lib'
-afs_libs='-L${AFS_LIBDIR} -L${AFS_LIBDIR}/afs -lkauth -lprot -lubik
-laudit -lauth -lrxkad -lsys -ldes -lrx -llwp -lcom_err
$(AFS_LIBDIR)/afs/util.a'
     ;;
   *)
     echo "$ac_t""no" 1>&6
@@ -9733,10 +9729,6 @@
 s%@lockdir@%$lockdir%g
 s%@swatdir@%$swatdir%g
 s%@builddir@%$builddir%g
-s%@afs_base@%$afs_base%g
-s%@afs_flags@%$afs_flags%g
-s%@afs_libdir@%$afs_libdir%g
-s%@afs_libs@%$afs_libs%g

 CEOF
 EOF
-------------- next part --------------

PS - Effective 3/19/1999 my email address will change to:

ken.weiss at ucop.edu



---------------------------------------------------------------------------
Ken Weiss                                               krweiss at ucdavis.edu
Distributed Computing Analysis & Support               530/752-5554 (voice)
2240 Academic Surge
U.C. Davis
Davis, CA 95616                        http://dcas.ucdavis.edu/kenhome.html


More information about the samba mailing list