connecting to IPC$ goes under the guest account. the IPC$ share should
[Samba/ekacnet.git] / examples / redhat / samba-make.patch
blobb7b1095284ec7be84d584577ce83c0b9208b696d
1 *** samba-1.9.17/source/Makefile.orig Sun Jul 27 00:19:02 1997
2 --- samba-1.9.17/source/Makefile Sun Jul 27 00:21:05 1997
3 ***************
4 *** 5,15 ****
5 ###########################################################################
7 # The base directory for all samba files
8 ! BASEDIR = /usr/local/samba
10 # The base manpages directory to put the man pages in
11 # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
12 ! MANDIR = /usr/local/man
14 # The directories to put things in. If you use multiple
15 # architectures or share the samba binaries across NFS then
16 --- 5,15 ----
17 ###########################################################################
19 # The base directory for all samba files
20 ! BASEDIR = /
22 # The base manpages directory to put the man pages in
23 # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
24 ! MANDIR = /usr/man
26 # The directories to put things in. If you use multiple
27 # architectures or share the samba binaries across NFS then
28 ***************
29 *** 18,26 ****
30 # normally only applies to nmbd and smbd
31 # SBINDIR implies a secure binary directory
32 BINDIR = $(BASEDIR)/bin
33 ! SBINDIR = $(BASEDIR)/bin
34 ! LIBDIR = $(BASEDIR)/lib
35 ! VARDIR = $(BASEDIR)/var
37 # The permissions to give the executables
38 INSTALLPERMS = 0755
39 --- 18,26 ----
40 # normally only applies to nmbd and smbd
41 # SBINDIR implies a secure binary directory
42 BINDIR = $(BASEDIR)/bin
43 ! SBINDIR = $(BASEDIR)/sbin
44 ! LIBDIR = $(BASEDIR)etc
45 ! VARDIR = $(BASEDIR)var
47 # The permissions to give the executables
48 INSTALLPERMS = 0755
49 ***************
50 *** 29,41 ****
51 # add -DSYSLOG for syslog support
52 # RPM_OPT_FLAGS is needed when building an RPM distribution package
53 # for RedHat Linux.
54 ! # FLAGS1 = $(RPM_OPT_FLAGS)
55 ! FLAGS1 = -O
56 LIBS1 =
58 # You will need to use a ANSI C compiler. This means under SunOS 4 you can't
59 # use cc, instead you will have to use gcc.
60 ! # CC = gcc
62 # This may help with some versions of make
63 SHELL = /bin/sh
64 --- 29,41 ----
65 # add -DSYSLOG for syslog support
66 # RPM_OPT_FLAGS is needed when building an RPM distribution package
67 # for RedHat Linux.
68 ! FLAGS1 = $(RPM_OPT_FLAGS)
69 ! #FLAGS1 = -O
70 LIBS1 =
72 # You will need to use a ANSI C compiler. This means under SunOS 4 you can't
73 # use cc, instead you will have to use gcc.
74 ! CC = gcc
76 # This may help with some versions of make
77 SHELL = /bin/sh
78 ***************
79 *** 48,60 ****
80 # set these to where to find various files
81 # These can be overridden by command line switches (see smbd(8))
82 # or in smb.conf (see smb.conf(5))
83 ! SMBLOGFILE = $(VARDIR)/log.smb
84 ! NMBLOGFILE = $(VARDIR)/log.nmb
85 CONFIGFILE = $(LIBDIR)/smb.conf
86 LMHOSTSFILE = $(LIBDIR)/lmhosts
88 # the directory where lock files go
89 ! LOCKDIR = $(VARDIR)/locks
91 # set this to the default group you want your machine to appear in
92 # for browsing. This can also be set in nmbd (see nmbd(8))
93 --- 48,60 ----
94 # set these to where to find various files
95 # These can be overridden by command line switches (see smbd(8))
96 # or in smb.conf (see smb.conf(5))
97 ! SMBLOGFILE = $(VARDIR)/log/samba/log.smb
98 ! NMBLOGFILE = $(VARDIR)/log/samba/log.nmb
99 CONFIGFILE = $(LIBDIR)/smb.conf
100 LMHOSTSFILE = $(LIBDIR)/lmhosts
102 # the directory where lock files go
103 ! LOCKDIR = $(VARDIR)/lock/samba
105 # set this to the default group you want your machine to appear in
106 # for browsing. This can also be set in nmbd (see nmbd(8))
107 ***************
108 *** 84,91 ****
110 # This is for PAM authentication. RedHat Linux uses PAM.
111 # If you use PAM, then uncomment the following lines:
112 ! # PAM_FLAGS = -DUSE_PAM
113 ! # PAM_LIBS = -ldl -lpam
115 # This is for AFS authentication. If you use AFS then set AFS_BASE
116 # according to your system layout, and uncomment the other lines as well.
117 --- 84,91 ----
119 # This is for PAM authentication. RedHat Linux uses PAM.
120 # If you use PAM, then uncomment the following lines:
121 ! PAM_FLAGS = -DUSE_PAM
122 ! PAM_LIBS = -ldl -lpam
124 # This is for AFS authentication. If you use AFS then set AFS_BASE
125 # according to your system layout, and uncomment the other lines as well.
126 ***************
127 *** 200,207 ****
128 # contributed by Andrew.Tridgell@anu.edu.au
129 # AXPROC defines DEC Alpha Processor
130 # FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES
131 ! # FLAGSM = -DLINUX -DFAST_SHARE_MODES
132 ! # LIBSM =
134 # Use this for Linux with shadow passwords and quota
135 # contributed by xeno@mix.hive.no
136 --- 200,207 ----
137 # contributed by Andrew.Tridgell@anu.edu.au
138 # AXPROC defines DEC Alpha Processor
139 # FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES
140 ! FLAGSM = -DLINUX -DFAST_SHARE_MODES
141 ! LIBSM =
143 # Use this for Linux with shadow passwords and quota
144 # contributed by xeno@mix.hive.no