Commit graph

185 commits

Author SHA1 Message Date
kei
4f9287bcc6 added conflicts with pkgsrc/japanese/samba. 2000-08-30 17:44:25 +00:00
tron
ebcef6eadf Depend on version 4.0 or newer of the "readline" package. 2000-07-20 15:40:58 +00:00
veego
679ed71d51 Solaris has no group wheel, so we have to extend the sed line in the Makefile
and change the chgrp command.
2000-05-17 09:22:28 +00:00
jlam
3651dec6a6 Updated samba to 2.0.7. Major changes from version 2.0.6 are below. A
complete list of changes can be found at http://www.samba.org/.

New Documentation in 2.0.7
--------------------------

O'Reilly and Associates have donated their book "Using Samba"
to the Samba community to be updated in a collaberative way
along with the Samba software. Starting with this release the
html of "Using Samba" will be distributed with the Samba software
as the online documentation for Samba. Bug fixes for the book
are encouraged as is new material. Please help us make this
documentation the best it can be for Samba !

Windows 2000 Issues
-------------------

This version of Samba has been tested with Windows 2000 and
the five known incompatibilities with Windows 2000 have been
fixed. See the "Changes in 2.0.7" list below for details.

New/Changed parameters in 2.0.7
-------------------------------

There are 5 new parameters in the smb.conf file.

utmp
utmp dir
utmp hostname
utmp consolidate
wtmp directory

These parameters are only available if the "--with-utmp"
option was selected at configure time. The yes/no option "utmp"
specifies whether utmp records should be recorded on user
logon/logoff. It defaults to "no". The "utmp dir" and "wtmp dir"
are string parameters specifying pathnames to the directories containing
the utmp/wtmp file databases. See the smb.conf man page for more details.

inherit permissions

This boolean parameter causes newly created files and directories
to inherit their initial permissions from their parent directory.
This can be very useful in propagating such things as the set-group
bit in directory heirarchies. See the smb.conf man page for more
details.

write cache size

This integer parameter specifies (in bytes) the size of a user level
per-file write cache that smbd will create for an oplocked file. This
can improve performance significantly for writing files by causing
writes to be done in large chunk sizes. If this parameter is set (it
defaults to zero which means no write cache) to the stripe size of
a raid volume then it will cause writes to be much more efficient.
Up to 10 write caches can be active simultaneously per smbd (allocated
for the first 10 oplocked file opens). All normal warnings about the
dangers of user level caching of data apply. See the smb.conf man page
for more details.

source environment

This pathname parameter causes Samba to read a list of environment
variables from a named file on startup. This can be useful in setting
up Samba in a clustered environment. See the smb.conf man page for more
details.

Ability to delete users added
-----------------------------

SWAT and smbpasswd can now delete users from the Samba smbpasswd file.
See the man page for smbpasswd for details.

Roving profile behavior finalized
---------------------------------

The change in behavior with roving profiles (using the "logon home"
parameter instead of the "logon path" parameter) introduced in 2.0.6
has been discovered to be consistant with the way Windows NT behaves,
and has been left as the default action. Please see the additional
notes in the "logon home" parameter description in the smb.conf man
page for more details.
2000-05-02 15:24:08 +00:00
jlam
55cbc7acab Remove readline dependency for systems whose libedit.a has readline emulation.
I've finally learned enough autoconf voodoo to do this the right way :)
Also preliminary preparations for CUPS (IPP) support.
2000-01-19 00:42:41 +00:00
jlam
52c7e9035d Add example configuration files. 1999-11-16 21:23:03 +00:00
jlam
e105e20f2d * Update samba to 2.0.6.
* It turns out -lreadline also needs -ltermcap to link under ELF.  I had
  to patch the GNU configure script to make it correctly detect readline.
  Are we going to have to do this to all the packages which depend upon
  readline?

New/Changed parameters in 2.0.6
-------------------------------

There are 6 new parameters in the smb.conf file.

wins hook

This parameter allows an external program to be called
on all changes to a Samba WINS database, allowing dynamic
DNS updates.

debug hires timestamp
debug pid
debug uid

The above 3 parameters provide greater debug information.

preexec close
rootpreexec close

The above 2 parameters control the action taken on the
success or failure of a 'preexec' script.

There is also one removed parameter.

mangle locks

The addition of these new parameters and the removal of the old
is described in more detail in the smb.conf man page,

When using "security=domain" the "password server"
parameter can now be set to the string "*', which will
cause Samba to search for Domain controllers in the
same way that Windows NT does. See the smb.conf man
page for more details.

The "interfaces" parameter in smb.conf can now be dynamically
detected on startup and can also now take an interface name
such as eth0. See the smb.conf man page for the details
on the new features of the "interfaces" parameter.
nmbd has been enhanced to use this feature.

The syntax for the Linux-specific smbmount command has been changed
and is now compatible with the standard mount command. See the modified
smbmount man page for details.

Support for the UNIX CUPS printer standard has been added.
See www.cups.org for details. Thanks to the folks at Easy Software
Products for this code. Set the printcap name to "cups" to
enable this. See the smb.conf man page for details.

Changes in 2.0.6
-----------------

1). 64-bit locking removed from Linux autoconf build. This fixes
several Linux specific locking issues.
2). Crash bug fix in smbclient recursive processing. Fix from
E. Jay Berkenbilt (ejb@ql.org).
3). "history" command added to smbclient if readline available.
4). smbtar - updates files and directory message on restore.
5). smbmnt - 'u', 'g', 'r', 'f', 'd' options added by Andrew. See
man page for details.
6). smbmount updated to be useable by autofs on Linux. See the
samba/examples/autofs/README file for details.
7). Bug fixed where TCP_NODELAY was not being used by default in smbd.
8). Many oplock fixes. Samba now waits 30 seconds, not 45. Also
smbd no longer aborts on client break failure, but logs a message
and continues. This is what NT does. This should fix many "oplock
break" message problems people have been having.
9). New code from Andrew to dynamically detect interfaces. nmbd will
now attempt to dynamically detect interface changes and register names
as an interface goes "up".
10). Win95 ioctl for print jobs added by Matt.
11). Mapping for ISO8859-1 extended for codepage 437 and 850.
12). Code Page 737 -> ISO-8859-7 (Greek-Hellenic) mapping added.
13). Character strings now correctly converted from UNIX character set
format to DOS codepage when read from smb.conf or external passwd or
group files. Samba is now much more careful about what format external
strings should be converted to/from.
14). snprintf crash fix for IRIX 6.2 and below.
15). Increased timestamp debug fixes (adds milliseconds and uid/pid if
requested).
16). Optimisation for wildcard exact match requests.
17). Win95 wildcard semantics fix - unused code removed.
18). 'mangle locks' parameter removed. This now done automatically.
19). setXid() routines re-written to provide asserts and also to fix
AIX versions prior to 4.1.x.
20). MSG_WAITALL optimisation removed due to bugs in FreeBSD.
21). Length fix when writing UNICODE string.
22). oplock processing added to libsmb client code.
23). Added more client error message strings.
24). Fix bug with connecting to encrypted server when non-encrypted
password given.
25). In security=domain, password server extended to search for DC's
if parameter = '*'.
26). "root did not create samaphore" bug fixed.
27). random generator initialized early to prevent icons not showing
up in Win9x.
28). Logging fix after SIGHUP.
29). WINS hook external call added when nmbd is a WINS server.
30). Support for CUPS printer protocol added by Michael Sweet.
31). Support for NIS+ backend password database updates.
32). Handle dashes in print job id's. Fix from Dom.Mitchell@palmerharvey.co.uk
33). Race condition in UNIX password sync on some platforms fixed by Matt.
34). Dirptr leak from Win98 fixed.
35). Logic bug in handling of level II oplocks fixed.
36). smbd crash bug fix when opening directories.
37). Paranoia oplock fix from Charles Hoch (hoch@exemplary.com)
38). Fix Win2k problem where DCE/RPC is done on SMBwrite as well as SMBwriteX.
39). Fix Win95 redirector alignment bug that caused oplock break failures.
40). Preexec close code added.
41). Extra sanity checks in testparm code.
42). oplock tests added to smbtorture.
43). Tell SWAT user if logged in as root or not.
44). Solaris packaging fixes donated by VERITAS.
1999-11-16 21:01:04 +00:00
dmcmahill
1fa4ec25df add missing readline DEPENDS 1999-10-06 17:05:23 +00:00
bouyer
cd138936c9 Update to 2.0.5a. Supplied by mcmahill@mtl.mit.edu with minor corrections by
me.
1999-08-10 16:38:08 +00:00
agc
e20be6c347 Remove NOPORTDOCS definition - it was useless anyway, as any attempt to
build a binary package with this definition would fail as the PLIST is
not correct.

If a package's documentation is overwhelming, it should arguably be handled
in a separate pre-requisite documentation package.
1999-04-13 15:31:04 +00:00
agc
d8d880edf3 Make the ${SAMBA_PRIVATE} directory owned by root, rather than
${BINOWN}, for backwards compatibility, as suggested by Manuel (group
ownership doesn't matter, since the directory is mode 700).
1999-04-09 10:55:33 +00:00
bouyer
06177b67d9 Change ${CHOWN} bin:bin to ${CHOWN} ${BINOWN}:${BINGRP}; pointed out
by Alistair G. Crooks.
1999-04-07 09:44:44 +00:00
agc
f401fde155 Make this work on Solaris.
s/chown/${CHOWN}/g
s/chmod/${CHMOD}/g
s/root:wheel/${BINOWN}:${BINGRP}/g
1999-04-07 09:18:18 +00:00
bouyer
d47976f291 Update to samba 2.0.3. 1999-03-29 16:15:34 +00:00
hubertf
2a95ad9c6b Fix CONFLICTS (remove redundancy, mostly) 1999-02-20 22:48:24 +00:00
bouyer
c5e74d2682 Samba 1.9.18 is dead, upgrade to samba 2.0.2. 1999-02-18 11:50:06 +00:00
bouyer
4c795eafc7 Make this conflict with sanba 2.* 1999-01-29 10:39:18 +00:00
kleink
bf237c0e31 Get rid of obsolete chown(8) operand usage. 1999-01-09 20:49:26 +00:00
drochner
10a5217908 samba doesn't require (and doesn't want) smbpasswd to be setuid anymore 1998-11-27 13:45:20 +00:00
bouyer
f05002c4c2 Add conflict with samba-1.9.18p8 and samba-2.0.0beta2 1998-11-27 13:13:09 +00:00
agc
e00e0b3ec3 Include bsd.prefs.mk earlier, so that SAMBA_ETCDIR and SAMBA_PRIVATE can
be set in /etc/mk.conf.
Use ${SED}, rather than sed.
Minor formatting changes.
1998-10-28 19:44:24 +00:00
bad
bd0e640265 Update to samba-1.9.18p10.
While here clean up the package somewhat:
- Remove confusion about where the SAMBA_PRIVATE directory is.
- Don't gratitously create yet another world writeable directory.
- Don't use $PREFIX as the WEB_ROOT, use the htdocs directory from the
  Apache pkg instead.
- Enable use of netgroups, checking of disk quotas and the password
  changing feature.
- Use /var/run/samba for runtime status files.
- Always install the example startup file.
- Misc. minor modification for better maintainability.
1998-09-04 19:17:18 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
kim
b93a4daed2 The password file for samba cannot generally be share between machines,
so place it in /etc/samba/private.  Other machine dependent files (e.g.
the printer defs) go now into /etc/samba by default.
1998-08-09 16:14:08 +00:00
agc
988019b016 Update package Makefiles for automatic manual page handling. 1998-06-22 12:58:33 +00:00
bouyer
376c59429a Update to 1.9.18p8. 1998-06-17 17:07:13 +00:00
agc
eddab138fd Upgrade to samba version 1.9.18p7, from Ty Sarna in PR pkg/5529. 1998-06-04 13:08:36 +00:00
agc
d1ee46230d Include bsd.prefs.mk so that variables can be set in /etc/mk.conf 1998-06-03 13:16:56 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
frueauf
f367b450ba samba is at version 1.9.18p3 now. Fixes pr 5033 by Lennart Augustsson. 1998-02-21 21:20:09 +00:00
agc
6a0bcf5c71 Upgrade to samba version 1.9.18p1, to avoid a possible data loss
problem, as reported by Scott reynolds in PR pkg/4809
1998-01-13 13:10:19 +00:00
agc
3e1a0d7579 Update to version 1.9.18, from Ty Sarna (tsarna@endicor.com).
This version unites the samba and the uncommitted samba-des packages,
as it includes a "castrated" DES implementation that is only usable as
a hash function.

Some very minor typos in the description file corrected by myself.
1998-01-12 17:19:25 +00:00
agc
ebeab1d3b3 Clean up a sed command, and lose two inappropriate and duplicate
Makefile definitions in the process.
1997-12-24 10:52:31 +00:00
agc
e584ba82cc Add NetBSD RCS Ids. 1997-12-24 10:35:27 +00:00
agc
eb359c12c4 Initial import of samba, from FreeBSD, into the NetBSD packages
collection, thanks to Ty Sarna (tsarna@endicor.com), and addresses the
first part of PR pkg/4746.

The Samba software suite is a collection of programs that implements
the SMB protocol for UNIX systems.
1997-12-24 10:32:01 +00:00