summaryrefslogtreecommitdiff
path: root/net/samba/patches
AgeCommit message (Collapse)AuthorFilesLines
2004-11-13Fix full name expansion (again).kim1-0/+54
2004-09-15Strip binaries on installadam1-0/+12
2004-09-14Update net/samba to 3.0.7. Changes from version 3.0.5 include:jlam2-20/+7
o Fixes for two Denial of Service vulnerabalities (CVE ID# CAN-2004-0807 & CAN-2004-0808). o Winbind failure to return user entries under certain conditions. o Syntax errors in the OpenLDAP schema file (samba.schema). o Printing errors caused by not setting default values for the various printing commands. * Disable 'winbind enable local accounts' by default. o Schannel failure in winbindd. o Incompatibilities between the 'write list' and 'force user' smb.conf options. o Premature optimization of the open_directory() internal function that broke tools such as the ArcServe backup agent, Macromedia HomeSite, and Robocopy. o Sharing violation errors commonly seen when opening when serving Microsoft Office documents from a Samba file share. o Browsing problems caused by an apostrophe (') in the computer's description field. o Problems creating special file types from UNIX CIFS clients and enabling 'unix extensions'. o Fix stalls in smbd caused by inaccessible LDAP servers. o Remove various memory leaks. o Fix issues in the password lockout feature. o Using a cups server other than localhost. o Maintaining the service principal entry in the system keytab for integration with other kerberized services. Please refer to the 'use kerberos keytab' entry in smb.conf(5). When using the heimdal kerberos libraries, you must also specify the following in /etc/krb5.conf: [libdefaults] default_keytab_name = FILE:/etc/krb5.keytab o Support for maintaining individual printer names stored separately from the printer's sharename. o Support for maintaining user password history. o Support for honoring the logon times for user in a Samba domain. * Reintroduce 'force unknown acl user' parameter. When getting a security descriptor for a file, if the owner sid is not known, the owner uid is set to the current uid. Same for group sid.
2004-05-13Update net/samba to 3.0.4.xtraeme1-0/+13
Common bugs fixed in Samba 3.0.3 include: o Crash bugs and change notify issues in Samba's printing code. o Honoring secondary group membership on domain member servers. o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag. o Substitution errors for %[UuGg] in smb.conf. o winbindd crashes when using ADS security mode. o SMB signing errors. o Delays in winbindd startup caused by unnecessary connections to trusted domain controllers. o Various small memory leaks. o Winbindd failing due to expired Kerberos tickets. New features introduced in Samba 3.0.3 include: o Improved support for i18n character sets. o Support for account lockout policy based on bad password attempts. o Improved support for long password changes (>14 characters) and strong password enforcement. o Support for Windows aliases (i.e. nested groups). o Experimental support for storing DOS attribute on files and folders in Extended Attributes. o Support for local nested groups via winbindd. o Specifying options to be passed directly to the CUPS libraries. And more... please review "WHATSNEW.txt".
2004-02-17Update net/samba to 3.0.2a. Fixes from version 3.0.1 include:jlam3-37/+11
o Joining a Samba domain from Pre-SP2 Windows 2000 clients. o Logging onto a Samba domain from Windows XP clients. o Problems with the %U and %u smb.conf variables in relation to Windows 9x/ME clients. o Kerberos failures due to an invalid in memory keytab detection test. o Updates to the ntlm_auth tool. o Fixes for various SMB signing errors. o Better separation of WINS and DNS queries for domain controllers. o Issues with nss_winbind FreeBSD and Solaris. o Several crash bugs in smbd and winbindd. o Output formatting fixes for smbclient for better compatibility with scripts based on the 2.2 version.
2004-01-11Update net/samba to 3.0.1. Major changes from version 2.2.8anb6 include:jlam14-322/+154
* Active Directory support. Samba is able to join a ADS realm as a member server and authenticate using LDAP/Kerberos. * Unicode support. * New, more flexible authentication (passdb) system. * A new "net" command that is similar to the "net" command in Windows. * Samba now negotiates NT-style status32 codes on the wire, which greatly improves error handling. * Better Windows 2K/2K3/XP printing support. * Loadable module support for passdb backends and character sets. * More performant winbindd. * Support for migrating from a Windows NT4 domain to a Samba domain and maintaining user, group, and domain SIDs. * Support for establishing trust relationships with Windows NT4 DCs. * Initial support for a distributed Winbind architecture using an LDAP directory for storing SID-to-uid/gid mappings. * Major updates to the Samba documentation tree. * Full support for client and server SMB signing to ensure compatibility with default Windows 2K3 security settings. * Improvement of ACL mapping features.
2003-09-05Fix DFS for Windows XP and 2003 clients.kim1-0/+16
http://lists.xsec.it/pipermail/samba-it/2003-April/000321.html
2003-06-04Bump the PKGREVISION for net/samba to 2:jlam1-2/+11
* findsmb is a perl script, and we need to substitute the correct path to the perl interpreter. * Don't create ${PREFIX}/private during a "make install" as it's a completely useless directory. * Don't bother to install the completely outdated Samba HTML documentation that is superseded by the Samba HOWTO Collection documentation.
2003-03-16Updated samba to 2.2.8martti4-19/+19
**************************************** * IMPORTANT: Security bugfix for Samba * **************************************** The SuSE security audit team, in particular Sebastian Krahmer <krahmer@suse.de>, has found a flaw in the Samba main smbd code which could allow an external attacker to remotely and anonymously gain Super User (root) privileges on a server running a Samba server. This flaw exists in previous versions of Samba from 2.0.x to 2.2.7a inclusive. This is a serious problem and all sites should either upgrade to Samba 2.2.8 immediately or prohibit access to TCP ports 139 and 445. Advice created by Andrew Tridgell, the leader of the Samba Team, on how to protect an unpatched Samba server is given at the end of this section. The SMB/CIFS protocol implemented by Samba is vulnerable to many attacks, even without specific security holes. The TCP ports 139 and the new port 445 (used by Win2k and the Samba 3.0 alpha code in particular) should never be exposed to untrusted networks.
2003-02-18open_file_shared(): when falling back to O_RDONLY open_file() call afterjdolecek1-0/+16
O_RDWR fails in fcbopen case, remember the errno from previous open_file() call and set errno back to this value if the second open_file() call fails too this makes samba report EACCESS instead of confusing ENOENT if creation of file fails due to insufficient permissions for SMBcreate/SMBmknew call bump package revision
2002-12-13Updated samba to 2.2.7amartti2-9/+9
1) Fix for smbclient reporting negative file sizes on dir command and negative statistics being reported when using put or get on large files. 2) Fix bug in determination of allocation size 3) Fix 64bit size problems which prevented copying of files larger than 2 GBytes. 4) Fix for xcopy /s problem with old DOS clients not sending correct attributes on subsequent SMBsearch calls. 5) Fix bug in call to standard_sub_advanced giving a 0 length. This fixes the string overflow in string_sub errors. 6) Correctly handle querygroup rpcclient command 7) fix broken incremental tar in smbtar command
2002-10-18Updated samba to 2.2.6martti5-27/+27
* Fixes for MS-RPC printing issues affecting Windows 2000 clients * New support for smb.conf generation in SWAT * Inclusion of several performance enhancements * Fixes for several file locking bugs and returned status codes
2002-10-14Expand & in the gecos field to a capitalized login name.kim2-0/+113
2002-08-25Merge packages from the buildlink2 branch back into the main trunk thatjlam3-3/+3
have been converted to USE_BUILDLINK2.
2002-07-30Factor out common parts of samba and winbind into net/samba/Makefile.commonjlam3-0/+108
and merge their patch collections. These two packages are built from the same source tree, and updates to the main distfile should be shared by both packages.
2002-06-22Update net/samba to version 2.2.5. The quick summary of changes fromjlam5-87/+0
version 2.2.4nb1 is that there are the usual minor bug fixes, plus some important ones: * fix printing with Win2K/XP clients * fixes related to using LDAP for the SAM * fixes related to changing passwords Pkgsrc changes: * Fetch the .tar.bz2 file -- it's smaller. * Use smb.conf.default as the sample config file and get rid of the homegrown files/smb.conf.sample. smb.conf.default is more informative and is a better resource. * Remove irrelevant examples. * Move convert_smbpasswd script to the examples/samba/misc directory. It's pretty much outlived it's usefulness at this point of the Samba release cycle.
2002-06-14- Add a fix for possible buffer overflow; an array missing its terminatetaca1-0/+14
element. - Remove redundant PKGNAME and bump PKGREVISION to 1.
2002-05-05update samba package to 2.2.4.taca6-184/+19
WHAT'S NEW IN Samba 2.2.4 - 2nd May 2002 ========================================= This is the latest stable release of Samba. This is the version that all production Samba servers should be running for all current bug-fixes. There have been several fixes and internal enhancements which include: * More/better SPOOLSS printing functionality for Windows NT/2k/XP clients. * Several fixes relating to serving PC database files such as (Access and FoxPro) from a Samba file share. * Several improves in Samba's VFS layer which can be seen in the inclusion of a "Recycle Bin" vfs module. See examples/VFS/README for more details on this. * Addition of a tool (tdbbackup) for backup/restore of Samba's tdb's * Continued improvements to winbind for greater scalability and stability * Several fixes related to Samba's MS-DFS support * Rpcclient's various printer commands now work (again) New/Changed parameters in 2.2.4 -------------------------------- For more information on these parameters, see the man pages for smb.conf(5). Added/changed parameters ------------------------ * csc policy * inherit acls * nt status support * lock spin count * lock spin time * pid directory * winbind use default domain Depreciated parameters ---------------------- The following parameters have been marked as depreciated and will be removed in Samba 3.0 * postscript * printer driver * printer driver file * printer driver location Removed Parameters ------------------ none Changes in 2.2.4 ---------------- See the cvs log for SAMBA_2_2 for more details 1) added -c option to smbpasswd 2) reworked smbpasswd internal command line option parsing 3) small various bug fixes to experimental pdb_tdb.c 4) Enforce spoolss RPCs based on the access granted at PrinterOpen() 5) Added missing access checks to [add/delete/set]form 6) Compile fixes for pam_smbpass 7) fix smbd crash when netbios session request fails from spoolss_connect_to_client(). 8) fixed logic bug that prevent SetPrinter() from storing devmode 9) Removed extra get_printer_snum() calls from set_printer_hnd_name() 10) fix joining domain on big endian machine when using -U to smbpasswd 11) allow command line arg to override smb.conf log level 12) continue to retry to register 1b name with wins server if there is an old IP there 13) fix smbclient print crash bug 14) 9x pnp fix when the config file and driver file are different 15) force testparm to print the correct value for log level 16) fix swat to show full log level info 17) fix server GetPrinterData() fields to be more sensible 18) fix logic error in SetPrinterDataEx() 19) Only set smb_read_error if not already set 20) Fix string returns that require unicode 21) Merge of printing performance fixes from appliance 22) lpq parsing fixes 23) Back port tridge's xcopy /o fix from HEAD 24) Fix the printer change notify code (unfinished) 25) Patch for Domain users not showing up 26) Fixed SetPrinterData(magic key) to support zero length DEVMODE 27) Ensure that all methods of looking up and connecting to DC's work using identical logic. 28) Merge in the mutex code to stop multiple domain logon failure 29) Ignore 0/0 lock 30) Fix winbindd to respect command line debuglevel as nmbd/smbd 31) Update with tdbbackup from HEAD 32) Fix for typo on solaris nss 33) Merge in the locking changes from HEAD 34) Added POSIX ACL layer into the vfs 35) Fix the returning of domain enum 36) Fix the generation of the MACHINE.SID file into the secrets.tdb. 37) Enable test for -rdynamic when building binaries 38) Remove the "stat open" code - make it inline 39) Fix the mp3 rename bug 40) Fix for Explorer DFS problems on older Windows 9X machines 41) implement OpenPrinter() opnum == 0x01 42) Matched W2K *insane* open semantics.... 43) small fix that will prevent the "failed to marshall R_NET_SAMLOGON" message in the logs 42) don't do checking of local passdb in smbpasswd if using -r option 43) fix "smbpasswd -j DOMAIN -r * -U Admin%XXXX" so that it doesn't try to connect to a server named '*' 44) merge rpcclient code from HEAD 45) Ensure MACHINE.SID update done before child spawns 46) Fix the bad path errors for mkdir so mkdir \a\b\c\d works 47) Removed --with-vfs - always built if available 48) Fixed psec for 2.2 49) Fixed the handle leak in the connection management code 50) fix disable spoolss after the switch to nt status codes 51) Added Shirish's client side caching policy change 52) Honor the specversion when parsing the the DEVICEMODE 53) fix parsing bug when DEVICEMODE's private data does not end on a 4 byte boundary 54) do not idle an smbd when there is an open pipe 55) when a new driver is added to a Samba server, cycle through all printers and bump the change_id for each one bound to the driver 56) allow smbclient to work with a FIFO as well (needed for KDE ioslave) 57) various updates to pdb_nisplus.c 58) many small documentation updates 59) removed many compiler warnings Known Bugs ---------- * Under certain conditions when serving the MS Access 2000 executable file and an Access database from a Samba share, it is possible to experience data corruption. This pug does does occur when the database is served from a Samba file share but the Access *.exe is stored on the client's local file system. The exact reason for this bug is unknown at this time.
2002-02-05(1) Change Samba's "lockdir" from /var/run/samba to /var/db/samba.taca7-0/+242
(2) Add "piddir" as /var/run and "pidfile dir" and "pidfile directory" statement for smb.conf. (3) Some fix for password synchronization but it isn't tested much and it is almost useless under "encrypt passwords = yes" environment. Changes for INSTALL and part of Makefile are provided by "Johnny C. Lam" <jlam@netbsd.org> and (2) and (3) are got from FreeBSD ports. Bump revision to 1; samba-2.2.3nb1 now.
2002-02-04Updated samba to 2.2.3martti1-5/+5
Changes in 2.2.3 ----------------- 1). Fixed shared library compile for Solaris with native compiler. 2). UNIX CIFS extensions code added (donated by HP). 3). Changed to using NT status codes on the wire if the client can support this. 4). altname command to show 8.3 name added to smbclient. 5). const-safe endian macros now used. 6). client code now uses UNICODE on the wire. 7). Correctly return fault PDU's on bad handle. 8). Improved NT error code mapping table. 9). Many new point and print RPC calls added. 10). Win9x clients can now see full user list. 11). fileid added to identify simultaneous open files (no longer use dev/inode/time as unique value). 12). HPUX ACL code added (donated by HP). 13). vfs interfaces updated (again !). 14). MSDOS Code Page 866 -> 1251 mapping added. 15). winbindd now processes quit/hup signals correctly. 16). No tdb traversal done on startup/shutdown - ensures scalability. 17). Fix bug with paths for homes share. 18). Fixed copyfile for OS/2. 19). Fix group membership when groups are on more than one line. 20). Fixed core dumps in posix ACL mapping code. 21). Tidyup of UNICODE functions (put/get). 22). Move rpcclient to the new libsmb code. 23). Add missing Windows 2000 passthough trans2 calls. 24). Return check all tdb calls. 25). Make local name lookup work even if wins server is down. 26). pam session code added to winbind. 27). Added winbindd cache to all lookups. 28). Fix allocate bugs that caused file sizes to be incorrect. 29). Fixed write cache code - now safe to use. 30). Fixed winbindd memory leaks. 31). winbindd will now do name lookups (to allow non Open Source systems to do the nsswitch WINS lookup). Fixed by SGI. 32). passdb memory leaks fixed. 33). LDAP code updates and now properly maintained. 34). Finally figured out how changeid is meant to work. 35). Downlevel printing now looks as NT does in print monitor window. 36). Many fixups in spoolss printing RPC parsing. 37). Speed up password enumeration as a PDC. 38). Fix printer changed notify messages (work from HP). 39). Fix modify timestamp on close code. 40). Fix long standing mangled names bug. 41). Fix delete on close semantics. 42). Stop opening all files with O_NONBLOCK ! 43). Use O_NOFOLLOW for systems that have it and don't want symlinks. 44). Ensure NT suplementary groups get added to user token. 45). Try and mitigate effects of DNS timeout (do less lookups). 46). Added current user connection context stack. 47). Fixes to utmp code. 48). smbw code tidyups. 49). Added tdb open log code. Several tdb fixes.
2001-07-13Update samba to 2.2.1a.taca5-43/+53
WHATS NEW IN Samba 2.2.1a: 11th July 2001 ========================================== This is the latest stable release of Samba. This is the version that all production Samba servers should be running for all current bug-fixes. This is a minor bugfix release for 2.2.1, *NOT* security related. 1). 2.2.1 had a bug where using smbpasswd -m to add a Windows NT or Windows2000 machine into a Samba hosted PDC would fail due to our stricter user name checking. We were disallowing user names containing '$', which is needed when using smbpasswd to add a machine into a domain. Automatically adding machines (using the native Windows tools) into a Samba domain worked correctly. 2.2.1a fixes this single problem. New/Changed parameters in 2.2.1 ------------------------------- Added parameters. ----------------- obey pam restrictions When Samba is configured to use PAM, turns on or off Samba checking the PAM account restrictions. Defaults to off. pam password change When Samba is configured to use PAM, turns on or off Samba passing the password changes to PAM. Defaults to off. large readwrite New option to allow new Windows 2000 large file (64k) streaming read/write options. Needs a 64 bit underlying operating system (for Linux use kernel 2.4 with glibc 2.2 or above). Can improve performance by 10% with Windows 2000 clients. Defaults to off. Not as tested as some other Samba code paths. hide unreadable Prevents clients from seeing the existance of files that cannot be read. Off by default. enhanced browsing Turn on/off the enhanced Samba browing functionality (*1B names). Default is "on". Can prevent eternal machines in workgroups when WINS servers are not synchronised. Removed parameters. ------------------- domain groups domain admin users domain guest users Changes in 2.2.1 ----------------- 1). "find" command removed for smbclient. Internal code now used. 2). smbspool updates to retry connections from Michael Sweet. 3). Fix for mapping 8859-15 characters to UNICODE. 4). Changed "security=server" to try with invalid username to prevent account lockouts. 5). Fixes to allow Windows 2000 SP2 clients to join a Samba PDC. 6). Support for Windows 9x Nexus tools to allow security changes from Win9x. 7). Two locking fixes added. Samba 2.2.1 now passes the Clarion network lock tester tool for distributed databases. 8). Preliminary support added for Windows 2000 large file read/write SMBs. 9). Changed random number generator in Samba to prevent guess attacks. 10). Fixes for tdb corruption in connections.tdb and file locking brlock.tdb. smbd's clean the tdb files on startup and shutdown. 11). Fixes for default ACLs on Solaris. 12). Tidyup of password entry caching code. 13). Correct shutdowns added for send fails. Helps tdb cleanup code. 14). Prevent invalid '/' characters in workgroup names. 15). Removed more static arrays in SAMR code. 16). Client code is now UNICODE on the wire. 17). Fix 2 second timstamp resolution everywhere if dos timestamp set to yes. 18). All tdb opens now going through logging function. 19). Add pam password changing and pam restrictions code. 20). Printer driver management improvements (delete driver). 21). Fix difference between NULL security descriptors and empty security descriptors. 22). Fix SID returns for server roles. 23). Allow Windows 2000 mmc to view and set Samba share security descriptors. 24). Allow smbcontrol to forcibly disconnect a share. 25). tdb fixes for HPUX, OpenBSD and other OS's that don't have a coherent mmap/file read/write cache. 26). Fix race condition in returning create disposition for file create/open. 27). Fix NT rewriting of security descriptors to their canonical form for ACLs. 28). Fix for Samba running on top of Linux VFAT ftruncate bug. 29). Swat fixes for being run with xinetd that doesn't set the umask. 30). Fix for slow writes with Win9x Explorer clients. Emulates Microsoft TCP stack early ack specification error. 31). Changed lock & persistant tdb directory to /var/cache/samba by default on RedHat and Mandrake as they clear the /var/lock/samba directory on reboot.
2001-06-19Convert to use buildlink.mk files and remove unnecessary config.cachejlam2-237/+0
entry to prevent finding libncurses and unnecessary patches to configure script to handle SSL location and probing libcups. Also use FILES_SUBST instead of repeating a sed script throughout the Makefile.
2001-06-01Apply patch to tdb.c so that it works on pre-UBC systems. .tdb databasesgroo1-0/+43
were previously enlarged by the sequence: lseek, write, munmap, mmap and are now enlarged by: munmap, lseek, write, mmap. The Samba team is already aware of the problem. I expect this patch will be incorporated in a future release.
2001-05-24Use S_IRUSR/S_IWUSR and related flags from <sys/stat.h> instead ofjlam1-14/+6
SHM_{R,W}. Fix suggest by Klaus Klein. This should fix build on non-current NetBSD systems and closes PRs 13023 and 13033.
2001-05-22Add fix for platforms that don't define SHM_{R_W} in <sys/shm.h>. Wejlam1-0/+21
define them to IPC_{R,W} as they're the right values. Problem discovered by browsing current-users and port-alpha (why were there no PRs?!).
2001-05-22Use devel/readline/Makefile.readline for GNU readline support and note whyjlam2-8/+52
GNU readline is required. Clean up how to pass location of OpenSSL headers to the configure script.
2001-05-14Remove unneeded patches after samba update to 2.2.0.jlam3-175/+0
2001-05-14Update samba to 2.2.0. Changes from version 2.0.9 include:jlam2-79/+191
* Integration between Windows oplocks and NFS file opens (IRIX and Linux 2.4 kernel only). This gives complete data and locking integrity between Windows and UNIX file access to the same data files. * Ability to act as an authentication source for Windows 2000 clients as well as for NT4.x clients. * Integration with the winbind daemon that provides a single sign on facility for UNIX servers in Windows 2000/NT4 networks driven by a Windows 2000/NT4 PDC. * Support for native Windows 2000/NT4 printing RPCs. This includes support for automatic printer driver download. * Support for server supported Access Control Lists (ACLs). * On PAM (Pluggable Authentication Module) based systems - better debugging messages and encrypted password users now have access control verified via PAM - Note: Authentication still uses the encrypted password database. * Rewritten internal locking semantics for more robustness. This release supports full 64 bit locking semantics on all (even 32 bit) platforms. SMB locks are mapped onto POSIX locks (32 bit or 64 bit) as the underlying system allows. * Conversion of various internal flat data structures to use database records for increased performance and flexibility. * Support for acting as a MS-DFS (Distributed File System) server. * Support for manipulating Samba shares using Windows client tools (server manager). Per share security can be set using these tools and Samba will obey the access restrictions applied. * Samba profiling support * Compile time option for enabling a (Virtual file system) VFS layer to allow non-disk resources to be exported as Windows filesystems (such as databases etc.).
2001-05-10Update samba to 2.0.9:abs6-182/+182
Samba 2.0.9 is a security bugfix release which correctly fixes the problem 2.0.8 was supposed to address. (A bug in the handling of temporary files that allowed local users to destroy data on local devices).
2001-04-18Update "samba" package to version 2.0.8:tron2-20/+20
Samba 2.0.8 is a security bugfix release. Previous versions of Samba had a bug with the handling of temporary files that allows local users to destroy data on local devices. This bug was discovered during a routine security audit by Caldera. While no exploitation of this bug is known to have occurred it is fairly easy to exploit so sites with untrusted local users should take the threat seriously. Unfortunately we lose japanese language support by this update.
2001-04-07In smbclient 'mput' command, don't use find(1) with "-maxdepth"hubertf1-3/+12
argument which NetBSD doesn't support. Use ls(1) instead. Patch contributed by Claude Marinier <claude.marinier@dreo.dnd.ca> in PR 12564.
2000-09-03Merged japanese/samba package to net/samba, as per discussion ofkei4-23/+23
Hubert Feyrer and Manuel Bouyer.
2000-05-02Updated samba to 2.0.7. Major changes from version 2.0.6 are below. Ajlam5-40/+48
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-01-19Remove readline dependency for systems whose libedit.a has readline emulation.jlam5-22/+180
I've finally learned enough autoconf voodoo to do this the right way :) Also preliminary preparations for CUPS (IPP) support.
1999-11-16* Update samba to 2.0.6.jlam2-7/+37
* 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-08-10Update to 2.0.5a. Supplied by mcmahill@mtl.mit.edu with minor corrections bybouyer1-19/+10
me.
1999-02-18Samba 1.9.18 is dead, upgrade to samba 2.0.2.bouyer2-211/+37
1998-09-04Update to samba-1.9.18p10.bad2-12/+13
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-08-09The password file for samba cannot generally be share between machines,kim1-10/+12
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-07Add NetBSD RCS Ids.agc2-0/+4
1998-06-17Update to 1.9.18p8.bouyer2-34/+25
1998-06-04Upgrade to samba version 1.9.18p7, from Ty Sarna in PR pkg/5529.agc1-10/+19
1998-01-28Delete erroneous patch. (from Ty Sarna)agc1-15/+0
1998-01-12Additional patches for 1.9.18 from Ty Sarna (tsarna@endicor.com)agc2-0/+151
1998-01-12Update to version 1.9.18, from Ty Sarna (tsarna@endicor.com).agc1-18/+39
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.
1997-12-24Initial import of samba, from FreeBSD, into the NetBSD packagesagc1-0/+70
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.