summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-11-19 21:30:58 +0000
committerHerb Lewis <herb@samba.org>1998-11-19 21:30:58 +0000
commitd174f2ce57279404632a35684d2dc90b76cbddab (patch)
treee2e3c674d2aa500195ac68ec9cb471870ed84a5b
parent735631539ca8ab74056894b653a8fee785262854 (diff)
downloadsamba-d174f2ce57279404632a35684d2dc90b76cbddab.tar.gz
samba-d174f2ce57279404632a35684d2dc90b76cbddab.tar.bz2
samba-d174f2ce57279404632a35684d2dc90b76cbddab.zip
smb.conf : explicitly state "printcap name=" and "security=" parameters
idb.pl : change default behaviour for installation of config files. (This used to be commit 36928da28ca84fa64cd7b0dd66cab879e307911c)
-rwxr-xr-xpackaging/SGI/idb.pl22
-rw-r--r--packaging/SGI/smb.conf3
2 files changed, 15 insertions, 10 deletions
diff --git a/packaging/SGI/idb.pl b/packaging/SGI/idb.pl
index fed2bacd05..08c95e2ed3 100755
--- a/packaging/SGI/idb.pl
+++ b/packaging/SGI/idb.pl
@@ -109,22 +109,22 @@ while(@bins) {
if (index($nextfile,'$')) {
if ($filename eq "smbpasswd") {
- print IDB "f 0755 root sys usr/samba/bin/$filename source/$nextfile samba.sw.base\n";
+ print IDB "f 0755 root sys usr/samba/bin/$filename source/$nextfile samba.sw.base nostrip\n";
}
elsif ($filename eq "findsmb") {
print IDB "f 0755 root sys usr/samba/bin/$filename packaging/SGI/$filename samba.sw.base\n";
}
elsif ($filename eq "swat") {
- print IDB "f 4755 root sys usr/samba/bin/$filename source/$nextfile samba.sw.base\n";
+ print IDB "f 4755 root sys usr/samba/bin/$filename source/$nextfile samba.sw.base nostrip preop(/etc/killall smbd nmbd) exitop(/usr/samba/scripts/startswat.sh) removeop(/usr/samba/scripts/removeswat.sh)\n";
}
elsif ($filename eq "sambalp") {
- print IDB "f 0755 root sys usr/samba/bin/$filename packaging/SGI/$filename samba.sw.base\n";
+ print IDB "f 0755 root sys usr/samba/bin/$filename packaging/SGI/$filename samba.sw.base nostrip\n";
}
elsif ($filename eq "smbprint") {
print IDB "f 0755 root sys usr/samba/bin/$filename packaging/SGI/$filename samba.sw.base\n";
}
else {
- print IDB "f 0755 root sys usr/samba/bin/$filename source/$nextfile samba.sw.base\n";
+ print IDB "f 0755 root sys usr/samba/bin/$filename source/$nextfile samba.sw.base nostrip\n";
}
}
}
@@ -144,7 +144,6 @@ while (@docs) {
}
}
-print IDB "f 0755 root sys usr/samba/inetd.sh packaging/SGI/inetd.sh samba.sw.base\n";
print IDB "d 0755 root sys usr/samba/lib packaging/SGI samba.sw.base\n";
if (@codepage) {
print IDB "d 0755 root sys usr/samba/lib/codepages packaging/SGI samba.sw.base\n";
@@ -153,11 +152,17 @@ if (@codepage) {
print IDB "f 0644 root sys usr/samba/lib/codepages/codepage.$nextpage packaging/SGI/codepages/codepage.$nextpage samba.sw.base\n";
}
}
-print IDB "f 0644 root sys usr/samba/lib/smb.conf packaging/SGI/smb.conf samba.sw.base config(update)\n";
-print IDB "f 0755 root sys usr/samba/mkprintcap.sh packaging/SGI/mkprintcap.sh samba.sw.base\n";
+print IDB "f 0644 root sys usr/samba/lib/smb.conf packaging/SGI/smb.conf samba.sw.base config(suggest)\n";
print IDB "d 0644 root sys usr/samba/private packaging/SGI samba.sw.base\n";
-print IDB "f 0600 root sys usr/samba/private/smbpasswd packaging/SGI/smbpasswd samba.sw.base config(update)\n";
+print IDB "f 0600 root sys usr/samba/private/smbpasswd packaging/SGI/smbpasswd samba.sw.base config(suggest)\n";
+
+print IDB "d 0755 root sys usr/samba/scripts packaging/SGI samba.src.samba\n";
+print IDB "f 0755 root sys usr/samba/scripts/inetd.sh packaging/SGI/inetd.sh samba.sw.base\n";
+print IDB "f 0755 root sys usr/samba/scripts/mkprintcap.sh packaging/SGI/mkprintcap.sh samba.sw.base\n";
+print IDB "f 0755 root sys usr/samba/scripts/removeswat.sh packaging/SGI/removeswat.sh samba.sw.base\n";
+print IDB "f 0755 root sys usr/samba/scripts/startswat.sh packaging/SGI/startswat.sh samba.sw.base\n";
+
print IDB "d 0755 root sys usr/samba/src packaging/SGI samba.src.samba\n";
@sorted = sort(@allfiles);
while (@sorted) {
@@ -180,7 +185,6 @@ while (@sorted) {
}
}
-print IDB "f 0755 root sys usr/samba/startswat.sh packaging/SGI/startswat.sh samba.sw.base\n";
print IDB "d 0755 root sys usr/samba/swat packaging/SGI/swat samba.sw.base\n";
while (@swatfiles) {
$nextfile = shift @swatfiles;
diff --git a/packaging/SGI/smb.conf b/packaging/SGI/smb.conf
index b7cbae63d1..9a154f8f9b 100644
--- a/packaging/SGI/smb.conf
+++ b/packaging/SGI/smb.conf
@@ -22,6 +22,7 @@
; in the printcap file will not be visible to clients.
;
; printcap name = /usr/samba/printcap
+ printcap name = lpstat
;
; If you are using Impressario 1.x then you'll want to use the
; sambalp script provided with this package. It works around
@@ -59,7 +60,7 @@
lock directory = /usr/samba/var/locks
share modes = yes
-; security = user
+ security = user
; You need to test to see if this makes a difference on your system
socket options = TCP_NODELAY