diff -u -r --new-file --exclude=CVS samba-2.2.5/WHATSNEW.txt samba-2.2.6/WHATSNEW.txt
--- samba-2.2.5/WHATSNEW.txt Wed Jun 19 01:13:13 2002
+++ samba-2.2.6/WHATSNEW.txt Wed Oct 16 22:05:21 2002
@@ -1,11 +1,179 @@
- WHAT'S NEW IN Samba 2.2.5 - 18th June 2002
- ===========================================
+ WHAT'S NEW IN Samba 2.2.6 - 16th October 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:
+ * Fixes for MS-RPC printing issues affecting Windows 2000 clients
+ * New support for smb.conf generation in SWAT
+ * Inclusion of several performance enhancements (See --with-sendfile
+ & and the modified smb.conf(5) parameters in these Release Notes)
+ * Fixes for several file locking bugs and returned status codes
+
+
+New Parameters
+--------------
+
+Refer to the smb.conf(5) man page for complete descriptions of new parameters.
+
+ * profile acls (S) workaround for issue with WinXP SP1
+ and roaming user profiles
+
+Removed Parameters
+------------------
+
+ * max packet (G)
+ * packet size (G)
+
+Modified Parameters
+-------------------
+
+ * max xmit (G) new default value
+ * large readwrite (G) new default value
+
+New ./configure Options
+-----------------------
+
+ --with-sendfile Enable experimental sendfile support
+ --with-winbind-ldap-hack Enable winbindd_ldap_hack() functionality
+ for Windows 2000 native mode domains
+
+
+Changes since 2.2.5
+--------------------
+
+See the cvs log for SAMBA_2_2 for more details
+
+1) Fixed several compiler warnings caused by the use of const parameters
+2) Fixed a hang in the main smbd process caused by an EINTR in the
+ wrong place
+3) Fixed string substitutions to accept a length for sanity checks
+4) Fixed 17-bit length field in nmb header
+5) Removed non-portable inline declaration for functions
+6) Performance fix for including files with an smb.conf variable in the
+ path name
+7) Fix for parsing LPRng lpq output
+8) Parsing fix for PRINTER_INFO_2 structure which was causing viewing
+ printer properties to fail
+9) Fix for printer change notification and Windows NT clients which caused
+ the client to go into an infinite loop of refreshing the local printers
+ folder
+10) Allow trans2 and nttrans messages to be processed in oplock break state
+ which fixes a problem with oplock break requests and Win2k clients
+11) Don't crash on setfileinfo on printer fsp
+12) Memory fixes caught by Valgrind
+13) Updates to stop spurious error message in tdb
+14) Fix silly logic bug in 'make smbd processes' and 'status = no' check
+15) Fix compilation of pam_smbpass and --with-ldap
+16) Fix compilation of smbwrapper on Solaris hosts
+17) fix logic error in a check for enabling the winbind_pam_auth_crap() code
+ & fix formatting typo in --with-winbind-auth-challenge
+18) Correcting check for ldap_start_tls()
+19) Fixed a problem with getgroups() where it could include our current
+ effective gid
+20) fix incorrect semantics in the DeletePrinterDriver() spoolss rpc
+ to only attempt to delete the architecture specified by the client
+21) Don't allow TEMP attribute on directory open
+22) Restore VxFS quotas to the 2.2 branch
+23) Added basic "Wizard" functionality to SWAT
+24) Fix initial "allocation size" in NTcreate&X call
+25) Fix for open fid, "nametoolong"
+26) Exit server on receipt of a non-SMB packet. Ensure we have
+ at least smb_size bytes before processing a packet
+27) Replace inet_aton with inet_addr() to correct compile problems on Solaris
+28) Include the "account" objectclass when adding a new account to --with-ldapsam
+ in order to comply with the data model implemented by OpenLDAP 2.1.x
+29) Various fixes for POSIX compliance
+30) Correct alignment & offset bug in EnumPrinterDataEx()
+31) Fix access checks when modifying forms using a print server handle
+ (not just a printer handle)
+32) Account for case data_len == 0 in EnumPrinterDataEx()
+33) Fix logic error in blocking lock code
+34) Fixed various incorrect return codes to clients
+35) Add RESOLVE_DFSPATH to mkdir operations
+36) Fix longstanding bug in Win2k clients by clearing the shortname
+ buffer before returning ASCII short name
+37) added -t option to smbpasswd for explicitly changing a trust
+ account password when operating in security = domain
+38) installed -x option to testparm to eXclude printing all parameter
+ values that are at default settings.
+39) Fix shares/printers view in SWAT so that only Basic options are exposed
+ upon initial entry.
+40) Added 1125 & KOI8-U to codepage list in Makefile.in
+41) Include separate configure checks for *openbsd* & *freebsd* when
+ determining flags used to compile shared libraries.
+42) Merge in free list unlock on error fix
+43) Correctly fail opens with mismatching SYSTEM or HIDDEN attributes
+ if we are mapping system or hidden
+44) Fix bug with stat mode open being done on read-only open with truncate
+45) Fix crash bug discovered where cli struct was being deallocated in a
+ called function
+46) Ensure we open UNIX fifo's non-blocking
+47) Fix DeletePrinterDriver() (hopefully for the last time...yeah right....)
+48) only lowercase global_myname in the %L substitution, not the whole string
+49) Merged Steve French's fix for OS/2 EA return error being removed
+50) Patch from Steve French to fix difference in responses to smbclient
+ //server/share ls / on Samba and Windows 2000
+51) Print error and exit if smb.conf doesn't have security=domain and
+ encrypt passwords=yes when joining domain
+52) Added final Steve French patch for "required" attributes with old dir
+ listings
+53) Initialize user_rid value in WINBIND_USERINFO structure returned by
+ the rpc version of query_user()
+54) Ensure we've failed a lock with a lock denied message before automatically
+ pushing it onto the blocking queue
+55) Add experimental --with-sendfile code
+56) alignment fix in printing code merged from HEAD
+57) Merge fix for other sids in token from HEAD
+58) Merge winbindd with current (more advanced) state of play in APPLIANCE_HEAD
+59) fix smbclient / Win98 off by one bug
+60) Never, *ever* hold a mutex lock in the message database where there may be
+ traversals being attempted
+61) Add LDAP hack for retrieving the SAM sequence number when a member of a
+ Windows 2000 native mode domain
+62) Fix race condition when changing a machine account password as we were
+ no longer locking the secrets entry
+63) Allow '@' as a valid character in domain names
+64) remove jobs from the spool directory when using cups
+65) removed -lresolv for --enable-ldapsam
+66) Memory leak fix and correct use of negative caching in winbindd
+67) Updated spoolss parsing code with known good state of APPLIANCE_HEAD
+68) Delete printer security check was reversed
+69) Windows allows delete printer on a handle opened by an admin user, then
+ used on a pipe handle created by an anonymous user...We do to now...
+70) Make explicit the difference between a tdb key with no data attached, and
+ a non existent entry
+71) Ensure we register the 1c name on the unicast subnet.
+72) Fix inheritance problem when recursively setting ACLs on directories
+73) prevent ACL set on read-only share
+74) Ensure we never have more than MAX_PRINT_JOBS in a queue
+75) Added timeout to tdb_lock_bystring()
+76) Ensure we set FIRST+LAST flags on a bind request
+77) Add version strings to the usage message for smbcacls and smbpasswd
+78) Fix bug in the write cache code
+79) make the default printed values for boolean the same for all parameters
+80) Default all LDAP connections to v3 with compiling with --with-ldapsam
+81) Fix memory leak in smbspool
+82) Fix bug in mangling code that resulted in Win9x clients not being
+ able to execute batch files in deep, non 8.3 directory paths
+83) Fix infinite looping bug in winbindd_getgrent()
+84) Fix crash bug on 64-bit systems (merge from HEAD)
+85) Fix extended character bug when setting LanMan/NT password
+86) Negotiate same SMB read size as a Windows 2000 file server
+ to fix performance bug with NT4 clients
+
+
+ =========================================
+
+Older releases notes for 2.2.x distributions follow
+
+-----------------------------------------------------------------------------
+The release notes for 2.2.5 follow :
+
+There have been several fixes and internal enhancements which include:
+
* Several compile fixes for Solaris and HP-UX
* More printing fixes for Windows NT/2k/XP clients
* New options for the VFS recycle bin library
@@ -121,9 +289,6 @@
43) Added links to new documentation on SWAT welcome page
- =========================================
-
-Older releases notes for 2.2.x distributions follow
-----------------------------------------------------------------------------
The release notes for 2.2.4 follow :
diff -u -r --new-file --exclude=CVS samba-2.2.5/WHATSNEW.txt.bak samba-2.2.6/WHATSNEW.txt.bak
--- samba-2.2.5/WHATSNEW.txt.bak Thu Jan 1 00:00:00 1970
+++ samba-2.2.6/WHATSNEW.txt.bak Wed Oct 16 22:03:54 2002
@@ -0,0 +1,1068 @@
+ WHAT'S NEW IN Samba 2.2.6 - 16th October 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:
+
+ * Fixes for MS-RPC printing issues affecting Windows 2000 clients
+ * New support for smb.conf generation in SWAT
+ * Inclusion of several performance enhancements (See --with-sendfile
+ & and the modified smb.conf(5) parameters in these Release Notes)
+ * Fixes for several file locking bugs and returned status codes
+
+
+New Parameters
+--------------
+
+Refer to the smb.conf(5) man page for complete descriptions of new parameters.
+
+ * profile acls (S) workaround for issue with WinXP SP1
+ and roaming user profiles
+
+Removed Parameters
+------------------
+
+ * max packet (G)
+ * packet size (G)
+
+Modified Parameters
+-------------------
+
+ * max xmit (G) new default value
+ * large readwrite (G) new default value
+
+New ./configure Options
+-----------------------
+
+ --with-sendfile Enable experimental sendfile support
+ --with-winbind-ldap-hack Enable winbindd_ldap_hack() functionality
+ for Windows 2000 native mode domains
+
+
+Changes since 2.2.5
+--------------------
+
+See the cvs log for SAMBA_2_2 for more details
+
+1) Fixed several compiler warnings caused by the use of const parameters
+2) Fixed a hang in the main smbd process caused by an EINTR in the
+ wrong place
+3) Fixed string substitutions to accept a length for sanity checks
+4) Fixed 17-bit length field in nmb header
+5) Removed non-portable inline declaration for functions
+6) Performance fix for including files with an smb.conf variable in the
+ path name
+7) Fix for parsing LPRng lpq output
+8) Parsing fix for PRINTER_INFO_2 structure which was causing viewing
+ printer properties to fail
+9) Fix for printer change notification and Windows NT clients which caused
+ the client to go into an infinite loop of refreshing the local printers
+ folder
+10) Allow trans2 and nttrans messages to be processed in oplock break state
+ which fixes a problem with oplock break requests and Win2k clients
+11) Don't crash on setfileinfo on printer fsp
+12) Memory fixes caught by Valgrind
+13) Updates to stop spurious error message in tdb
+14) Fix silly logic bug in 'make smbd processes' and 'status = no' check
+15) Fix compilation of pam_smbpass and --with-ldap
+16) Fix compilation of smbwrapper on Solaris hosts
+17) fix logic error in a check for enabling the winbind_pam_auth_crap() code
+ & fix formatting typo in --with-winbind-auth-challenge
+18) Correcting check for ldap_start_tls()
+19) Fixed a problem with getgroups() where it could include our current
+ effective gid
+20) fix incorrect semantics in the DeletePrinterDriver() spoolss rpc
+ to only attempt to delete the architecture specified by the client
+21) Don't allow TEMP attribute on directory open
+22) Restore VxFS quotas to the 2.2 branch
+23) Added basic "Wizard" functionality to SWAT
+24) Fix initial "allocation size" in NTcreate&X call
+25) Fix for open fid, "nametoolong"
+26) Exit server on receipt of a non-SMB packet. Ensure we have
+ at least smb_size bytes before processing a packet
+27) Replace inet_aton with inet_addr() to correct compile problems on Solaris
+28) Include the "account" objectclass when adding a new account to --with-ldapsam
+ in order to comply with the data model implemented by OpenLDAP 2.1.x
+29) Various fixes for POSIX compliance
+30) Correct alignment & offset bug in EnumPrinterDataEx()
+31) Fix access checks when modifying forms using a print server handle
+ (not just a printer handle)
+32) Account for case data_len == 0 in EnumPrinterDataEx()
+33) Fix logic error in blocking lock code
+34) Fixed various incorrect return codes to clients
+35) Add RESOLVE_DFSPATH to mkdir operations
+36) Fix longstanding bug in Win2k clients by clearing the shortname
+ buffer before returning ASCII short name
+37) added -t option to smbpasswd for explicitly changing a trust
+ account password when operating in security = domain
+38) installed -x option to testparm to eXclude printing all parameter
+ values that are at default settings.
+39) Fix shares/printers view in SWAT so that only Basic options are exposed
+ upon initial entry.
+40) Added 1125 & KOI8-U to codepage list in Makefile.in
+41) Include separate configure checks for *openbsd* & *freebsd* when
+ determining flags used to compile shared libraries.
+42) Merge in free list unlock on error fix
+43) Correctly fail opens with mismatching SYSTEM or HIDDEN attributes
+ if we are mapping system or hidden
+44) Fix bug with stat mode open being done on read-only open with truncate
+45) Fix crash bug discovered where cli struct was being deallocated in a
+ called function
+46) Ensure we open UNIX fifo's non-blocking
+47) Fix DeletePrinterDriver() (hopefully for the last time...yeah right....)
+48) only lowercase global_myname in the %L substitution, not the whole string
+49) Merged Steve French's fix for OS/2 EA return error being removed
+50) Patch from Steve French to fix difference in responses to smbclient
+ //server/share ls / on Samba and Windows 2000
+51) Print error and exit if smb.conf doesn't have security=domain and
+ encrypt passwords=yes when joining domain
+52) Added final Steve French patch for "required" attributes with old dir
+ listings
+53) Initialize user_rid value in WINBIND_USERINFO structure returned by
+ the rpc version of query_user()
+54) Ensure we've failed a lock with a lock denied message before automatically
+ pushing it onto the blocking queue
+55) Add experimental --with-sendfile code
+56) alignment fix in printing code merged from HEAD
+57) Merge fix for other sids in token from HEAD
+58) Merge winbindd with current (more advanced) state of play in APPLIANCE_HEAD
+59) fix smbclient / Win98 off by one bug
+60) Never, *ever* hold a mutex lock in the message database where there may be
+ traversals being attempted
+61) Add LDAP hack for retrieving the SAM sequence number when a member of a
+ Windows 2000 native mode domain
+62) Fix race condition when changing a machine account password as we were
+ no longer locking the secrets entry
+63) Allow '@' as a valid character in domain names
+64) remove jobs from the spool directory when using cups
+65) removed -lresolv for --enable-ldapsam
+66) Memory leak fix and correct use of negative caching in winbindd
+67) Updated spoolss parsing code with known good state of APPLIANCE_HEAD
+68) Delete printer security check was reversed
+69) Windows allows delete printer on a handle opened by an admin user, then
+ used on a pipe handle created by an anonymous user...We do to now...
+70) Make explicit the difference between a tdb key with no data attached, and
+ a non existent entry
+71) Ensure we register the 1c name on the unicast subnet.
+72) Fix inheritance problem when recursively setting ACLs on directories
+73) prevent ACL set on read-only share
+74) Ensure we never have more than MAX_PRINT_JOBS in a queue
+75) Added timeout to tdb_lock_bystring()
+76) Ensure we set FIRST+LAST flags on a bind request
+77) Add version strings to the usage message for smbcacls and smbpasswd
+78) Fix bug in the write cache code
+79) make the default printed values for boolean the same for all parameters
+80) Default all LDAP connections to v3 with compiling with --with-ldapsam
+81) Fix memory leak in smbspool
+82) Fix bug in mangling code that resulted in Win9x clients not being
+ able to execute batch files in deep, non 8.3 directory paths
+83) Fix infinite looping bug in winbindd_getgrent()
+84) Fix crash bug on 64-bit systems (merge from HEAD)
+85) Fix extended character bug when setting LanMan/NT password
+86) Negotiate same SMB read size as a Windows 2000 file server
+ to fix performance bug with NT4 clients
+
+
+ =========================================
+
+Older releases notes for 2.2.x distributions follow
+
+-----------------------------------------------------------------------------
+The release notes for 2.2.5 follow :
+
+There have been several fixes and internal enhancements which include:
+
+* Several compile fixes for Solaris and HP-UX
+* More printing fixes for Windows NT/2k/XP clients
+* New options for the VFS recycle bin library
+* New internal signal handling semantics relating to directory change
+ notification and oplocks
+
+New/Changed parameters in 2.2.5
+--------------------------------
+
+For more information on these parameters, see the man pages for
+smb.conf(5).
+
+Added/changed parameters
+------------------------
+
+* block size =
+* force unknown acl user =
+* mangling method = [hash|hash2]
+
+
+Deprecated Parameters
+---------------------
+
+The following parameters have been marked as deprecated and will be removed
+in Samba 3.0
+
+* strip dot
+* status
+
+
+Removed Parameters
+------------------
+
+ none
+
+
+Changes in 2.2.5
+----------------
+
+See the cvs log for SAMBA_2_2 for more details
+
+1) Removal of several compiler warnings, incorrect Makefile dependencies,
+ and wrong autoconf tests on various platforms--Solaris & HP-UX 10.20
+ being the predominantly reported platforms
+2) Fixed winbindd crash bug on the IBM s390 running Linux
+3) Inclusion of enhanced Linux quota support
+4) Correctly link against Sun LDAP libraries on Solaris 8 (even through
+ there is no apparent SSL support there)
+5) POSIX conformance patches
+6) Include new configure --enable-cups option (can also be disabled even
+ if CUPS libraries are installed on the system)
+7) Set reasonable default for the "passwd program" parameter using an
+ autoconf test
+8) Added --with-winbind-auth for enabling winbindd_pam_auth_crap() code
+9) fixed bug to prevent root account from being deleted by the
+ "delete user script"
+10) Inclusion of autoconf script for building VFS modules
+11) Add new run time options to the VFS recycle bin library (see
+ examples/VFS/recycle/README for details)
+12) Include findsmb perl script as part of the "make install" process
+13) Return correct error code for EnumPrinters(PRINTER_ENUM_REMOTE, InfoLevel1)
+ to fix a bug where printers appear at the workgroup level in the Windows
+ NT/2k APW browse list
+14) Added support to nmblookup to return NMB flags (See nmblookup(8) for
+ details)
+15) Fix length bug that caused password changes from Windows NT/2k clients to
+ occasionally fail
+16) Correct false password expiration when using --with-ldapsam caused by
+ missing attributes in the directory
+17) added -S option to smbpasswd for storing the SID of a domain controller
+ as the local machine SID in secrets.tdb. See the smbpasswd(8) man page
+ for details.
+18) Various fixes for UNIX CIFS extensions commands
+19) Fixed CIDR notation in "hosts allow/deny"
+20) Change semantics of an idle connection to mean "no open files and no
+ open handles". We cannot idle a connection if there are open named
+ pipe handles. This fixes scalability problem on Samba print servers
+ and NT/2k clients introduced in 2.2.4
+21) Fix germam umlaut problem when returning ACL entries
+22) Return NT_STATUS_OBJECT_NAME_NOT_FOUND for ENOENT. This fixes the bug
+ of running the Microsoft Access executable (msaccess.exe) and database
+ files from a Samba share documented in the 2.2.4 release
+23) Corrected signal handling relating to directory change notification and
+ kernel oplocks
+24) Fix bug in unix_to_nt_time() that appeared on files dated close to Daylight
+ Savings Time
+25) Corrected alignment bug in spoolss parsing code which caused Win2k/XP
+ clients not to be able to view printer properties from a Samba host
+26) Fixed spoolss parsing bug causing printing from ACT! 2000 running on
+ Windows 2k/XP clients to fail
+27) Fixed incorrect error check in mod_share_entry()
+28) Allow %S variable in MS-DFS root paths
+29) Correct a bug regarding the use of 'wbinfo -A'
+30) Fixed libnss_wins.so to correctly work on RedHat 7.3 systems
+31) Store the key for a name-to-sid cache entry in upper case rather than
+ whatever case the request was made in. This gets rid of duplicate
+ cache entries.
+32) Fix bug causing the pid stored in winbindd's pid file to be the wrong id
+33) Enhanced error reporting messages of wbinfo
+34) Parameterize block size on disk size return
+35) Added new parameter to allow incoming ACLs to have owner and group forced
+ to the currently logged in user. This fixes the XCOPY /O problem
+36) Fixed bug in local_change_password() caused by reusing a struct
+ passwd* pointer
+37) Change default value for "ldap port" to 389 if "ldap ssl = no"
+38) Updated HOWTO's, manpages, and general documentation....
+39) Allow root as well as domain admins to open an LDAP connection
+40) Fixed veto files bug with ".*"
+41) Fixed uninitialized variable bug in smbpasswd that was causing a random
+ IP address to be used in the connection when joining a domain
+42) Fix for joining a domain with a netbios name of 15 characters and
+ pre-creating the account on the DC
+43) Added links to new documentation on SWAT welcome page
+
+
+
+-----------------------------------------------------------------------------
+The release notes for 2.2.4 follow :
+
+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
+
+
+Deprecated parameters
+---------------------
+
+The following parameters have been marked as deprecated
+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
+
+
+-----------------------------------------------------------------------------
+The release notes for 2.2.3a follow :
+
+This is a minor bugfix release for the 2.2.3 release. The 2.2.3
+release had a problem that was visible to Windows 2000 Explorer
+users in that copying files into a share that already existed
+failed with "Access Denied" rather than asking the user if an
+overwrite was required. This was due to an incorrect error mapping
+between the UNIX EXIST error code and the NT status error.
+
+As Windows Explorer is a highly visible end user application a quick
+bugfix release was required, hence 2.2.3a.
+
+Compilation on HPUX versions earlier than HPUX 11 has also been
+corrected.
+
+The cvs.log file is no longer included with this release, as it adds
+13Mb to the size of the release, and is easily available on the Web.
+
+-----------------------------------------------------------------------------
+The release notes for 2.2.3 follow :
+
+There are several important scaling bugs that have been fixed in this release
+for large server systems so an upgrade is recommended.
+
+LDAP update
+-----------
+
+Much work has been done on the LDAP backend code. The configure
+option --with-ldapsam is now considered to be stable. The schema
+used has changed, see the file examples/LDAP/samba.schema for the
+new schema.
+
+New documentation explaining how to set up a Samba only PDC/BDC
+setup has been added in the files Samba-LDAP-HOWTO and Samba-BDC-HOWTO
+in the documentation tree.
+
+winbindd daemon extended
+------------------------
+
+Samba 2.2.2 was the first release to include the winbind daemon.
+This code allows UNIX systems that implement the name service
+switch (nss) to be entered into a Windows NT/2000 domain and
+use the Domain controller for all user and group enumeration.
+
+Samba 2.2.3 fixes the known memory leaks in winbindd and has
+been extended to work with SGI IRIX and HPUX (11.x) in addition
+to the earlier targets of Linux and Solaris.
+
+For more information on using winbind, see the man pages for
+winbindd and wbinfo.
+
+Note that winbindd is not installed by default.
+
+New/Changed parameters in 2.2.3
+--------------------------------
+
+For more information on these parameters, see the man pages for
+smb.conf.
+
+Added/changed parameters.
+-------------------------
+
+unix extensions
+
+Enables the experimental UNIX CIFS extensions in smbd. See the manpage
+for more details.
+
+default devmode
+
+Some printer drivers will crash the Windows NT/2000 spooler service
+if they are given a default devmode, some require it. This parameter
+allows the administrator a choice of whether smbd returns such a
+default devmode for a driver.
+
+share modes
+
+This parameter has been restored to allow people who wish smbd to ignore
+client share modes. This is *very dangerous* and should not be set without
+full knowledge of what this is designed for.
+
+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). field 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 supplementary 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.
+
+-----------------------------------------------------------------------------
+The release notes for 2.2.2 follow :
+
+New daemon included - winbindd
+------------------------------
+
+Samba 2.2.2 is the first release to include the winbind daemon.
+This code allows UNIX systems that implement the name service
+switch (nss) to be entered into a Windows NT/2000 domain and
+use the Domain controller for all user and group enumeration.
+
+This allows a Samba server added to a Windows domain to serve
+file and print services with *NO* local users needed in /etc/passwd
+and /etc/group - all users and groups are read directly from the
+Windows domain controller. In addition with pam_winbind which allows
+a PAM enabled UNIX system to use a Windows domain for authentication
+service this allows single sign on and account control across
+UNIX and Windows systems.
+
+The current version of winbindd shipped in 2.2.2 does have some
+memory leaks, which will be addressed for the next Samba release,
+so it is advisable to monitor the winbind process. This code is
+being used in production by several vendors, so the leaks are
+manageable. In addition, this version of winbind does not work
+correctly against a Samba PDC, due to some missing calls on the
+PDC side. These problems are being addressed for the next Samba
+release, but it was thought better to release the code now rather
+than delay the main Samba code to match the winbind release schedule.
+
+For more information on using winbind, see the man pages for
+winbindd and wbinfo.
+
+Note that winbindd is not installed by default.
+
+New/Changed parameters in 2.2.2
+-------------------------------
+
+For more information on these parameters, see the man pages for
+smb.conf.
+
+Added/changed parameters.
+-------------------------
+
+strict allocate
+
+Causes Samba not to create UNIX 'sparse' files, but to follow the
+Windows behavior of always allocating on-disk space.
+
+use mmap
+
+Set to 'on' by default, only set to 'off' on HPUX 11.x or below or other
+UNIX systems that don't have coherent mmap/read-write internal caches.
+You should not need to set this parameter.
+
+nt acl support
+
+This parameter has been changed to a per-share option, and is very
+useful in enabling Windows 2000 SP2 to load/save profiles from a
+Samba share.
+
+New printing parameters.
+------------------------
+
+disable spoolss
+
+Setting this parameter causes Samba to go back to the old 2.0.x
+LANMAN printing behavior, for people who wish to disable the
+new SPOOLSS pipe.
+
+use client driver
+
+Causes Windows NT/2000 clients to need have a local printer driver
+installed and to treat the printer as local.
+
+New LDAP parameters.
+--------------------
+
+Samba 2.2.2 contains new code to maintain a Samba SAM database
+on a remote LDAP server. These parameters have been added as
+part of this code. These parameters are only available when Samba
+has been compiled with the --with-ldapsam option.
+
+ldap admin dn
+ldap ssl
+
+New SSL parameters.
+-------------------
+
+The SSL support in Samba has been fixed. These new parameters
+are part of the changes added. These parameters are only available
+when Samba has been compiled with the --with-ssl option.
+Please see the smb.conf man page for details.
+
+ssl egd socket
+ssl entropy file
+ssl entropy bytes
+
+New winbindd parameters.
+------------------------
+
+These parameters are used by winbindd. See the man page for
+winbindd for details.
+
+winbind separator
+winbind uid
+winbind gid
+winbind cache time
+winbind enum users
+winbind enum groups
+template homedir
+template shell
+
+Removed parameters.
+-------------------
+
+share modes
+ldap root
+ldap root passwd
+
+New Documentation.
+------------------
+
+Some new README's have been added in the docs/ directory. These cover
+using roving profiles with Windows 2000 SP2 (docs/README.Win2kSP2),
+and how to use Samba to help prevent Windows virus spread
+(docs/README.Win32-Viruses).
+
+Quota problems on a Linux 2.4 kernel.
+-------------------------------------
+
+Currently the quota interfaces have diverged between the Linus
+2.4.x kernels and the Alan Cox 2.4.x kernels (the Alan Cox variants
+are shipped with RedHat). Running quota-enabled Samba compiled on
+an Alan Cox kernel works correctly on an Alan Cox kernel (the one
+shipped by default with RedHat 7.x) but fails on a Linus kernel.
+
+This is a mess, and hopefully Alan and Linus will sort it out soon.
+In the meantime we need to ship.....
+
+Changes in 2.2.2
+-----------------
+
+1). mmap tdb code disabled on HPUX. This should prevent the reports of
+tdb corruption on HUPX.
+2). Large file support set to off in Solaris 5.5 and below.
+3). Better CUPS detection.
+4). New SAM (password database) backends - smbpasswd (traditional),
+LDAP, NIS+ and Samba TDB.
+5). Quota fixups on Linux.
+6). libsmbclient stand-alone code added. Can be built as a shared library
+under Linux.
+7). Tru64 ACL support added.
+8). winbindd option added.
+9). Realloc fail tidyup fixes all over the code.
+10). Large improvement in hash table code efficiency - would be found with
+large stat caches.
+11). Error code consistency improved (still needs more work).
+12). Profile shared memory support added to nmbd.
+13). New Windows 2000/NT passthrough info levels added.
+14). readraw/writeraw code rewritten - many bugs fixed.
+15). UNIX password sync (non pam) code fixed, use correct wildcard matcher.
+16). Reverse DNS lookup avoided on socket open.
+17). Bug preventing nmbd re-registering names on WINS server timeout fixed.
+18). Zero length byte range lock code added. Much closer to Windows semantics.
+19). Alignment fault fixes for Linux/Alpha.
+20). Error checking on tdb returns vastly improved.
+21). Handling of delete on close fixed. No longer possible to leave 'dead'
+file entries.
+22). Handling of oplock break failure cleanups improved. Should not be
+able to leave 'dead' entries.
+23). Fix handling of errors trying to set 64 bit locks on 32 bit NFS mounts.
+24). Misc. MS-DFS code fixes.
+25). Ignore logon packets if not a PDC (needed for PDC/BDC failover).
+26). winbind pam module added.
+27). Order N^^2 enumeration of printers problem fixed.
+28). Password backend database code re-ordered to allow different password
+backends (at compile time currently).
+29). Improved print driver version detection for Windows 2000.
+30). Driver DEVMODE initialization fixes.
+31). Improved SYSV print parse code.
+32). Fixed enumeration of large numbers of users/groups from Windows clients.
+Code still too slow.
+33). Fix for buggy NetApp RPC pipe clients.
+34). Fix for NT sending multiple SetPrinterDataEx calls.
+35). Fix for logic bug where smbd could delay oplock break request messages
+from other smbd daemons whilst client kept us busy.
+36). Fix deadlock problem with connections tdb on enumeration.
+37). Fixes for setting/getting NT ACLs - improved POSIX mapping both ways.
+38). Removed unused readbmpx/writebmpx code.
+39). Attempt to fix Linux 2.4.x quota mess.
+40). Improved ctemp code for Windows 2000 compatibility.
+41). Finally understood difference between set EOF and set allocation requests.
+Added strict allocate parameter to help.
+42). Correctly return name types on name to SID lookups.
+43). tdb spinlock code update.
+44). Use pread/pwrite on systems that have it to fix race condition in tdb code.
+
+-----------------------------------------------------------------------------
+The release notes for 2.2.1a follow :
+
+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.
+
+-----------------------------------------------------------------------------
+The release notes for 2.2.1 follow :
+
+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 existence of files that cannot
+be read. Off by default.
+
+enhanced browsing
+
+Turn on/off the enhanced Samba browsing functionality (*1B names).
+Default is "on". Can prevent eternal machines in workgroups when
+WINS servers are not synchronized.
+
+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 timestamp 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 & persistent tdb directory to /var/cache/samba by default on
+ RedHat and Mandrake as they clear the /var/lock/samba directory on reboot.
+
+-----------------------------------------------------------------------------
+The release notes for 2.2.0a follow :
+
+SECURITY FIX
+============
+
+This is a security bugfix release for Samba 2.2.0. This release provides the
+following two changes *ONLY* from the 2.2.0 release.
+
+1). Fix for the security hole discovered by Michal Zalewski (lcamtuf@bos.bindview.com)
+ and described in the security advisory below.
+2). Fix for the hosts allow/hosts deny parameters not being honoured.
+
+No other changes are being made for this release to ensure a security fix only.
+For new functionality (including these security fixes) download Samba 2.2.1
+when it is available.
+
+The security advisory follows :
+
+
+ IMPORTANT: Security bugfix for Samba
+ ------------------------------------
+
+June 23rd 2001
+
+
+Summary
+-------
+
+A serious security hole has been discovered in all versions of Samba
+that allows an attacker to gain root access on the target machine for
+certain types of common Samba configuration.
+
+The immediate fix is to edit your smb.conf configuration file and
+remove all occurances of the macro "%m". Replacing occurances of %m
+with %I is probably the best solution for most sites.
+
+Details
+-------
+
+A remote attacker can use a netbios name containing unix path
+characters which will then be substituted into the %m macro wherever
+it occurs in smb.conf. This can be used to cause Samba to create a log
+file on top of an important system file, which in turn can be used to
+compromise security on the server.
+
+The most commonly used configuration option that can be vulnerable to
+this attack is the "log file" option. The default value for this
+option is VARDIR/log.smbd. If the default is used then Samba is not
+vulnerable to this attack.
+
+The security hole occurs when a log file option like the following is
+used:
+
+ log file = /var/log/samba/%m.log
+
+In that case the attacker can use a locally created symbolic link to
+overwrite any file on the system. This requires local access to the
+server.
+
+If your Samba configuration has something like the following:
+
+ log file = /var/log/samba/%m
+
+Then the attacker could successfully compromise your server remotely
+as no symbolic link is required. This type of configuration is very
+rare.
+
+The most commonly used log file configuration containing %m is the
+distributed in the sample configuration file that comes with Samba:
+
+ log file = /var/log/samba/log.%m
+
+in that case your machine is not vulnerable to this attack unless you
+happen to have a subdirectory in /var/log/samba/ which starts with the
+prefix "log."
+
+Credit
+------
+
+Thanks to Michal Zalewski (lcamtuf@bos.bindview.com) for finding this
+vulnerability.
+
+
+New Release
+-----------
+
+While we recommend that vulnerable sites immediately change their
+smb.conf configuration file to prevent the attack we will also be
+making new releases of Samba within the next 24 hours to properly fix
+the problem. Please see http://www.samba.org/ for the new releases.
+
+Please report any attacks to the appropriate authority.
+
+ The Samba Team
+ security@samba.org
+
+---------------------------------------------------------------------------
+
+The release notes for 2.2.0 follow :
+
+This is the official Samba 2.2.0 release. This version of Samba provides
+the following new features and enhancements.
+
+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. winbind is not included in
+this release, it currently must be obtained separately. We are
+committed to including winbind in a future Samba 2.2.x release.
+
+Support for native Windows 2000/NT4 printing RPCs. This includes
+support for automatic printer driver download.
+
+Support for server supported Access Control Lists (ACLs).
+This release contains support for the following filesystems:
+
+ Solaris 2.6+
+ SGI Irix
+ Linux Kernel with ACL patch from http://acl.bestbits.at
+ Linux Kernel with XFS ACL support.
+ Caldera/SCO UnixWare
+ IBM AIX
+ FreeBSD (with external patch)
+
+Other platforms will be supported as resources are
+available to test and implement the necessary modules. If
+you are interested in writing the support for a particular
+ACL filesystem, please join the samba-technical mailing
+list and coordinate your efforts.
+
+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 (see below).
+
+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.).
+
+The documentation in this release has been updated and converted
+from Yodl to DocBook 4.1. There are many new parameters since 2.0.7
+and some defaults have changed.
+
+Profiling support.
+------------------
+Support for collection of profile information. A shared
+memory area has been created which contains counters for
+the number of calls to and the amount of time spent in
+various system calls, smb transactions and nmbd activity. See
+the file profile.h for a complete listing of the information
+collected. Sample code for a samba pmda (collection agent
+for Performance Co-Pilot) has been included in the pcp
+directory.
+
+To enable the profile data collection code in samba, you must
+compile samba with profile data support (run configure with
+the --with-profiling-data option). On startup, collection of
+data is disabled. To begin collecting data use the smbcontrol
+program to turn on profiling (see the smbcontrol man page).
+Profile information collection can be enabled for nmbd, all smbd
+processes or one or more selected processes. The profiling
+data collected is the aggregate for all processes that have
+profiling enabled.
+
+With samba compiled for profile data collection, you may see
+a very slight degradation in performance even with profiling
+collection turned off. On initial tests with NetBench on an
+SGI Origin 200 server, this degradation was not measurable
+with profile collection off compared to no profile collection
+compiled into samba.
+
+With count profile collection enabled on all clients, the
+degradation was less than 2%. With full profile collection
+enabled on all clients, the degradation was about 8.5%.
+
+=====================================================================
+
+If you think you have found a bug please email a report to :
+
+ samba@samba.org
+
+As always, all bugs are our responsibility.
+
+Regards,
+
+ The Samba Team.
diff -u -r --new-file --exclude=CVS samba-2.2.5/docs/Samba-HOWTO-Collection.pdf samba-2.2.6/docs/Samba-HOWTO-Collection.pdf
--- samba-2.2.5/docs/Samba-HOWTO-Collection.pdf Wed Jun 19 01:13:14 2002
+++ samba-2.2.6/docs/Samba-HOWTO-Collection.pdf Wed Oct 9 20:27:11 2002
@@ -1,6 +1,6 @@
%PDF-1.2
%âãÏÓ
-1 0 obj<>endobj
+1 0 obj<>endobj
2 0 obj<>endobj
3 0 obj<>endobj
4 0 obj<>endobj
@@ -3666,7 +3666,7 @@
0000256429 00000 n
0000256524 00000 n
trailer
-<<37f2139748809e07227d5db7799d36c3>]>>
+<]>>
startxref
256739
%%EOF
diff -u -r --new-file --exclude=CVS samba-2.2.5/docs/docbook/manpages/smb.conf.5.sgml samba-2.2.6/docs/docbook/manpages/smb.conf.5.sgml
--- samba-2.2.5/docs/docbook/manpages/smb.conf.5.sgml Wed Jun 19 01:13:16 2002
+++ samba-2.2.6/docs/docbook/manpages/smb.conf.5.sgml Wed Oct 16 04:30:47 2002
@@ -109,7 +109,7 @@
[foo]
path = /home/bar
- writeable = true
+ read only = no
@@ -124,9 +124,9 @@
[aprinter]
path = /usr/spool/public
- writeable = false
- printable = true
- guest ok = true
+ read only = yes
+ printable = yes
+ guest ok = yes
@@ -195,7 +195,7 @@
[homes]
- writeable = yes
+ read only = no
@@ -897,6 +897,7 @@
printer driver locationprinter nameprinting
+ profile aclspublicqueuepause commandqueueresume command
@@ -915,6 +916,7 @@
strict syncsync alwaysuse client driver
+ use sendfileuserusernameusers
@@ -1328,7 +1330,7 @@
queue the lock request, and periodically attempt to obtain
the lock until the timeout period expires.
- If this parameter is set to false, then
+ If this parameter is set to no, then
Samba 2.2 will behave as previous versions of Samba would and
will fail the lock request immediately if the lock range
cannot be obtained.
@@ -1353,7 +1355,7 @@
This controls whether smbd(8) will serve a browse list to
a client doing a NetServerEnum call. Normally
- set to true. You should never need to change
+ set to yes. You should never need to change
this.Default: browse list = yes
@@ -2135,11 +2137,11 @@
This option is used when Samba is attempting to
delete a directory that contains one or more vetoed directories
(see the veto files
- option). If this option is set to false (the default) then if a vetoed
+ option). If this option is set to no (the default) then if a vetoed
directory contains any non-vetoed files or directories then the
directory delete will fail. This is usually what you want.
- If this option is set to true, then Samba
+ If this option is set to yes, then Samba
will attempt to recursively delete any files and directories within
the vetoed directory. This can be useful for integration with file
serving systems such as NetAtalk which create meta-files within
@@ -2417,7 +2419,7 @@
domain logons (G)
- If set to true, the Samba server will serve
+ If set to yes, the Samba server will serve
Windows 95/98 Domain logons for the
workgroup it is in. Samba 2.2 also
has limited capability to act as a domain controller for Windows
@@ -2542,7 +2544,7 @@
default, Samba runs with POSIX semantics and refuses to change the
timestamp on a file if the user smbd is acting
on behalf of is not the file owner. Setting this option to
- true allows DOS semantics and smbd will change the file
+ yes allows DOS semantics and smbd will change the file
timestamp as DOS requires.Default: dos filetimes = no
@@ -2963,7 +2965,7 @@
caching algorithm will be used to reduce the time taken for getwd()
calls. This can have a significant impact on performance, especially
when the wide links
- parameter is set to false.
+ parameter is set to no.Default: getwd cache = yes
@@ -3108,7 +3110,7 @@
homedir map (G)Ifnis homedir
- is true, and is yes, and smbd(8) is also acting
as a Win95/98 logon server then this parameter
specifies the NIS (or YP) map from which the server for the user's
@@ -3503,11 +3505,11 @@
with Windows 2000. Note that due to Windows 2000 client redirector bugs
this requires Samba to be running on a 64-bit capable operating system such
as IRIX, Solaris or a Linux 2.4 kernel. Can improve performance by 10% with
- Windows 2000 clients. Defaults to off. Not as tested as some other Samba
- code paths.
+ Windows 2000 clients. Defaults to on. Windows NT 4.0 only supports
+ read version of this call, and ignores the write version.
- Default : large readwrite = no
+ Default : large readwrite = yes
@@ -3692,7 +3694,7 @@
oplocks are supported then level2 oplocks are
not granted (even if this parameter is set to yes).
Note also, the oplocks
- parameter must be set to true on this share in order for
+ parameter must be set to yes on this share in order for
this parameter to have any effect.See also the oplocks
@@ -3713,10 +3715,10 @@
nmbd(8) will produce Lanman announce
broadcasts that are needed by OS/2 clients in order for them to see
the Samba server in their browse list. This parameter can have three
- values, true, false, or
+ values, yes, no, or
auto. The default is auto.
- If set to false Samba will never produce these
- broadcasts. If set to true Samba will produce
+ If set to no Samba will never produce these
+ broadcasts. If set to yes Samba will produce
Lanman announce broadcasts at a frequency set by the parameter
lm interval. If set to auto
Samba will not send Lanman announce broadcasts by default but will
@@ -3771,15 +3773,15 @@
local master (G)This option allows
nmbd(8) to try and become a local master browser
- on a subnet. If set to false then
+ on a subnet. If set to no then
nmbd will not attempt to become a local master browser
on a subnet and will also lose in all browsing elections. By
- default this value is set to true. Setting this value to true doesn't
+ default this value is set to yes. Setting this value to yes doesn't
mean that Samba will become the local master
browser on a subnet, just that nmbd will
participate in elections for local master browser.
- Setting this value to false will cause nmbd
+ Setting this value to no will cause nmbdnever to become a local master browser.Default: local master = yes
@@ -4803,12 +4805,14 @@
max xmit (G)This option controls the maximum packet size
- that will be negotiated by Samba. The default is 65535, which
- is the maximum. In some cases you may find you get better performance
+ that will be negotiated by Samba. The default in Samba 2.2.6 is
+ now 16644 (changed from 65535 in earlier releases) which matches
+ Windows 2000. This allows better performance with Windows NT clients.
+ The maximum is 65535. In some cases you may find you get better performance
with a smaller value. A value below 2048 is likely to cause problems.
- Default: max xmit = 65535
+ Default: max xmit = 16644Example: max xmit = 8192
@@ -5457,7 +5461,7 @@
if the expect string is a full stop then no string is expected.If the pam
- password change parameter is set to true, the chat pairs
+ password change parameter is set to yes, the chat pairs
may be matched in any order, and success is determined by the PAM result,
not any particular output. The \n macro is ignored for PAM conversions.
@@ -5519,7 +5523,7 @@
it.Note that if the unix
- password sync parameter is set to true
+ password sync parameter is set to yes
then this program is called AS ROOT
before the SMB password in the smbpasswd(5)
file is changed. If this UNIX password change fails, then
@@ -5530,7 +5534,7 @@
is set this parameter MUST USE ABSOLUTE PATHS
for ALL programs called, and must be examined
for security implications. Note that by default unix
- password sync is set to false.
+ password sync is set to no.
See also unix
password sync.
@@ -5819,7 +5823,7 @@
url="nmbd.8.html">nmbd(8) is a preferred master browser
for its workgroup.
- If this is set to true, on startup, nmbd
+ If this is set to yes, on startup, nmbd
will force an election, and it will have a slight advantage in
winning the election. It is recommended that this parameter is
used in conjunction with
@@ -5993,7 +5997,7 @@
Note that a printable service will ALWAYS allow writing
to the service path (user privileges permitting) via the spooling
- of print data. The writeable
+ of print data. The read only
parameter controls only non-printing access to
the resource.
@@ -6240,7 +6244,40 @@
+
+
+
+ profile acls (S)
+
+ This boolean parameter was added to fix the problems that people have been
+ having with storing user profiles on Samba shares from Windows 2000 or
+ Windows XP clients. New versions of Windows 2000 or Windows XP service
+ packs do security ACL checking on the owner and ability to write of the
+ profile directory stored on a local workstation when copied from a Samba
+ share. When not in domain mode with winbindd then the security info copied
+ onto the local workstation has no meaning to the logged in user (SID) on
+ that workstation so the profile storing fails. Adding this parameter
+ onto a share used for profile storage changes two things about the
+ returned Windows ACL. Firstly it changes the owner and group owner
+ of all reported files and directories to be BUILTIN\Administrators,
+ BUILTIN\Users respectively (SIDs S-1-5-32-544, S-1-5-32-545). Secondly
+ it adds an ACE entry of "Full Control" to the SID BUILTIN\Users to
+ every returned ACL. This will allow any Windows 2000 or XP workstation
+ user to access the profile. Note that if you have multiple users logging
+ on to a workstation then in order to prevent them from being able to access
+ each others profiles you must remove the "Bypass traverse checking" advanced
+ user right. This will prevent access to other users profile directories as
+ the top level profile directory (named after the user) is created by the
+ workstation profile code and has an ACL restricting entry to the directory
+ tree to the owning user.
+ If you didn't understand the above text, you probably should not set
+ this parameter :-).
+ Default profile acls = no
+
+
+
+
@@ -6345,7 +6382,7 @@
This is a list of users that are given read-only
access to a service. If the connecting user is in this list then
they will not be given write access, no matter what the writeable
+ linkend="READONLY">read only
option is set to. The list can include group names using the
syntax described in the
invalid users parameter.
@@ -6364,8 +6401,18 @@
read only (S)
- Note that this is an inverted synonym for writeable.
+ An inverted synonym is
+ writeable.
+
+ If this parameter is yes, then users
+ of a service may not create or modify files in the service's
+ directory.
+
+ Note that a printable service (printable = yes)
+ will ALWAYS allow writing to the directory
+ (user privileges permitting), but only via spooling operations.
+
+ Default: read only = yes
@@ -6498,10 +6545,10 @@
restrict anonymous (G)
- This is a boolean parameter. If it is true, then
+ This is a boolean parameter. If it is yes, then
anonymous access to the server will be restricted, namely in the
case where the server is expecting the client to send a username,
- but it doesn't. Setting it to true will force these anonymous
+ but it doesn't. Setting it to yes will force these anonymous
connections to be denied, and the client will be required to always
supply a username and password when connecting. Use of this parameter
is only recommended for homogeneous NT client environments.
@@ -6511,7 +6558,7 @@
likes to use anonymous connections when refreshing the share list,
and this is a way to work around that.
- When restrict anonymous is true, all anonymous connections
+ When restrict anonymous is yes, all anonymous connections
are denied no matter what they are for. This can effect the ability
of a machine to access the Samba Primary Domain Controller to revalidate
its machine account after someone else has logged on the client
@@ -6815,7 +6862,7 @@
url="smbpasswd.8.html">smbpasswd(8) has been used to add this
machine into a Windows NT Domain. It expects the encrypted passwords
- parameter to be set to true. In this
+ parameter to be set to yes. In this
mode Samba will try to validate the username/password by passing
it to a Windows NT Primary or Backup Domain Controller, in exactly
the same way that a Windows NT Server would do.
@@ -7621,10 +7668,10 @@
sync always (S)This is a boolean parameter that controls
whether writes will always be written to stable storage before
- the write call returns. If this is false then the server will be
+ the write call returns. If this is no then the server will be
guided by the client's request in each write call (clients can
set a bit indicating that a particular write should be synchronous).
- If this is true then every write will be followed by a fsync()
+ If this is yes then every write will be followed by a fsync()
call to ensure the data is written to disk. Note that
the strict sync parameter must be set to
yes in order for this parameter to have
@@ -7759,9 +7806,9 @@
unix extensions(G)This boolean parameter controls whether Samba
- implments the CIFS UNIX extensions, as defined by HP. These
- extensions enable CIFS to server UNIX clients to UNIX servers
- better, and allow such things as symbolic links, hard links etc.
+ implments the CIFS UNIX extensions, as defined by HP.
+ These extensions enable Samba to better serve UNIX CIFS clients
+ by supporting features such as symbolic links, hard links, etc...
These extensions require a similarly enabled client, and are of
no current use to Windows clients.
@@ -7777,7 +7824,7 @@
This boolean parameter controls whether Samba
attempts to synchronize the UNIX password with the SMB password
when the encrypted SMB password in the smbpasswd file is changed.
- If this is set to true the program specified in the passwd
+ If this is set to yes the program specified in the passwd
programparameter is called AS ROOT -
to allow the new UNIX password to be set without access to the
old UNIX password (as the SMB password change code has no
@@ -7867,7 +7914,7 @@
This global parameter determines if the tdb internals of Samba can
depend on mmap working correctly on the running system. Samba requires a coherent
mmap/read-write system memory cache. Currently only HPUX does not have such a
- coherent cache, and so this parameter is set to false by
+ coherent cache, and so this parameter is set to no by
default on HPUX. On all other systems this parameter should be left alone. This
parameter is provided to help the Samba developers track down problems with
the tdb internal code.
@@ -7882,7 +7929,7 @@
use rhosts (G)
- If this global parameter is true, it specifies
+ If this global parameter is yes, it specifies
that the UNIX user's .rhosts file in their home directory
will be read to find the names of hosts and users who will be allowed
access without specifying a password.
@@ -7899,7 +7946,6 @@
-
user (S)Synonym for
@@ -7949,7 +7995,7 @@
can use the valid users
parameter.
- If any of the usernames begin with a '@' then the name
+ If any of the usernames begin with a '@' then the name
will be looked up first in the NIS netgroups list (if Samba
is compiled with netgroup support), followed by a lookup in
the UNIX groups database and will expand to a list of all users
@@ -8097,12 +8143,30 @@
+
+ use sendfile (S)
+ If this parameter is yes, and Samba
+ was built with the --with-sendfile-support option, and the underlying operating
+ system supports sendfile system call, then some SMB read calls (mainly ReadAndX
+ and ReadRaw) will use the more efficient sendfile system call for files that
+ are exclusively oplocked. This may make more efficient use of the system CPU's
+ and cause Samba to be faster. This is off by default as it's effects are unknown
+ as yet.
+
+
+ Default: use sendfile = no
+
+
+
+
+
+
utmp (G)This boolean parameter is only available if
Samba has been configured and compiled with the option
- --with-utmp. If set to true then Samba will attempt
+ --with-utmp. If set to yes then Samba will attempt
to add utmp or utmpx records (depending on the UNIX system) whenever a
connection is made to a Samba server. Sites may use this to record the
user connecting to a Samba share.
@@ -8380,7 +8444,7 @@
getpwent() and
endpwent() group of system calls. If
the winbind enum users parameter is
- false, calls to the getpwent system call
+ no, calls to the getpwent system call
will not return any data. Warning: Turning off user
@@ -8402,7 +8466,7 @@
getgrent() and
endgrent() group of system calls. If
the winbind enum groups parameter is
- false, calls to the getgrent() system
+ no, calls to the getgrent() system
call will not return any data. Warning: Turning off group
@@ -8478,9 +8542,9 @@
own domain. While this does not benifit Windows users, it makes SSH, FTP and e-mail
function in a way much closer to the way they would in a native unix system.
- Default: winbind use default domain = <falseg>
+ Default: winbind use default domain = <no>
- Example: winbind use default domain = true
+ Example: winbind use default domain = yes
@@ -8575,9 +8639,9 @@
wins support (G)This boolean controls if the
nmbd(8) process in Samba will act as a WINS server. You should
- not set this to true unless you have a multi-subnetted network and
+ not set this to yes unless you have a multi-subnetted network and
you wish a particular nmbd to be your WINS server.
- Note that you should NEVER set this to true
+ Note that you should NEVER set this to yes
on more than one machine in your network.Default: wins support = no
@@ -8648,7 +8712,7 @@
This is a list of users that are given read-write
access to a service. If the connecting user is in this list then
they will be given write access, no matter what the writeable
+ linkend="READONLY">read only
option is set to. The list can include group names using the
@group syntax.
@@ -8672,8 +8736,8 @@
write ok (S)
- Synonym for
- writeable.
+ Inverted synonym for
+ read only.
@@ -8693,18 +8757,8 @@
writeable (S)
- An inverted synonym is
- read only.
-
- If this parameter is no, then users
- of a service may not create or modify files in the service's
- directory.
-
- Note that a printable service (printable = yes)
- will ALWAYS allow writing to the directory
- (user privileges permitting), but only via spooling operations.
-
- Default: writeable = no
+ Inverted synonym for
+ read only.
diff -u -r --new-file --exclude=CVS samba-2.2.5/docs/docbook/manpages/smbpasswd.8.sgml samba-2.2.6/docs/docbook/manpages/smbpasswd.8.sgml
--- samba-2.2.5/docs/docbook/manpages/smbpasswd.8.sgml Wed Jun 19 01:13:16 2002
+++ samba-2.2.6/docs/docbook/manpages/smbpasswd.8.sgml Thu Aug 29 11:05:23 2002
@@ -183,6 +183,19 @@
+ -t
+ This option is used to force smbpasswd to
+ change the current password assigned to the machine trust account
+ when operating in domain security mode. This is really meant to
+ be used on systems that only run winbindd.
+ Under server installations, smbd
+ handle the password updates automatically.
+
+
+
+
+
+ -U username[%pass]This option may only be used in conjunction
with the -r option. When changing
diff -u -r --new-file --exclude=CVS samba-2.2.5/docs/docbook/manpages/testparm.1.sgml samba-2.2.6/docs/docbook/manpages/testparm.1.sgml
--- samba-2.2.5/docs/docbook/manpages/testparm.1.sgml Fri Jul 6 02:00:08 2001
+++ samba-2.2.6/docs/docbook/manpages/testparm.1.sgml Thu Aug 29 11:05:23 2002
@@ -18,6 +18,7 @@
testparm-s-h
+ -x-L <servername>config filenamehostname hostIP
@@ -69,6 +70,10 @@
Print usage message
+
+ -x
+ Print only parameters that have non-default values
+ -L servername
diff -u -r --new-file --exclude=CVS samba-2.2.5/docs/docbook/scripts/strip-links.pl samba-2.2.6/docs/docbook/scripts/strip-links.pl
--- samba-2.2.5/docs/docbook/scripts/strip-links.pl Fri Jul 6 02:00:08 2001
+++ samba-2.2.6/docs/docbook/scripts/strip-links.pl Thu Aug 29 11:05:23 2002
@@ -1,13 +1,15 @@
#!/usr/bin/perl
-## small script to stirp the tags from
+## small script to strip the tags from
## manpages generated from docbook2man. we'll leave
## the and links for now
while () {
chomp ($_);
- $_ =~ s/\s*\s*//g;
+ $_ =~ s/\s*\s+/ /g;
+ $_ =~ s/\s*\S//g;
+ $_ =~ s/\s*$//g;
print "$_\n";
}
diff -u -r --new-file --exclude=CVS samba-2.2.5/docs/htmldocs/Integrating-with-Windows.html samba-2.2.6/docs/htmldocs/Integrating-with-Windows.html
--- samba-2.2.5/docs/htmldocs/Integrating-with-Windows.html Sat Oct 13 21:08:42 2001
+++ samba-2.2.6/docs/htmldocs/Integrating-with-Windows.html Thu Aug 29 11:05:23 2002
@@ -191,7 +191,7 @@
> is one such file.
When the IP address of the destination interface has been
-determined a protocol called ARP/RARP isused to identify
+determined a protocol called ARP/RARP is used to identify
the MAC address of the target interface. ARP stands for Address
Resolution Protocol, and is a broadcast oriented method that
uses UDP (User Datagram Protocol) to send a request to all
@@ -414,7 +414,7 @@
that the primary nature of the network environment is that of a
peer-to-peer design. In a WORKGROUP all machines are responsible for
their own security, and generally such security is limited to use of
-just a password (known as SHARE MORE security). In most situations
+just a password (known as SHARE MODE security). In most situations
with peer-to-peer networking the users who control their own machines
will simply opt to have no security at all. It is possible to have
USER MODE security in a WORKGROUP environment, thus requiring use
@@ -444,8 +444,8 @@
>
All MS Windows machines employ an in memory buffer in which is
-stored the NetBIOS names and their IP addresses for all external
-machines that that the local machine has communicated with over the
+stored the NetBIOS names and IP addresses for all external
+machines that that machine has communicated with over the
past 10-15 minutes. It is more efficient to obtain an IP address
for a machine from the local cache than it is to go through all the
configured name resolution mechanisms.
If a machine whose name is in the local name cache has been shut
down before the name had been expired and flushed from the cache, then
an attempt to exchange a message with that machine will be subject
-to time-out delays. ie: It's name is in the cache, so a name resolution
+to time-out delays. i.e.: Its name is in the cache, so a name resolution
lookup will succeed, but the machine can not respond. This can be
frustrating for users - but it is a characteristic of the protocol.
As stated above, MS Windows machines register their NetBIOS names
-(ie: the machine name for each service type in operation) on start
+(i.e.: the machine name for each service type in operation) on start
up. Also, as stated above, the exact method by which this name registration
takes place is determined by whether or not the MS Windows client/server
has been given a WINS server address, whether or not LMHOSTS lookup
@@ -685,7 +685,7 @@
master browser (found by asking WINS or from LMHOSTS) and exchanging browse
list contents. This way every master browser will eventually obtain a complete
list of all machines that are on the network. Every 11-15 minutes an election
-is held to determine which machine will be the master browser. By nature of
+is held to determine which machine will be the master browser. By the nature of
the election criteria used, the machine with the highest uptime, or the
most senior protocol version, or other criteria, will win the election
as domain master browser.
MS Windows clients have a habit of dropping network mappings that
have been idle for 10 minutes or longer. When the user attempts to
-use the mapped drive connection that has been dropped the SMB protocol
-has a mechanism by which the connection can be re-established using
+use the mapped drive connection that has been dropped, the client
+re-establishes the connection using
a cached copy of the password.
When Microsoft changed the default password mode, they dropped support for
@@ -959,7 +959,7 @@
>
This mode of authentication demands that there be on the
-Unix/Linux system both a Unix style account as well as and
+Unix/Linux system both a Unix style account as well as an
smbpasswd entry for the user. The Unix system account can be
locked if required as only the encrypted password will be
used for SMB client authentication.
Several other things like a [homes] and a [netlogon] share also may be
@@ -171,33 +175,93 @@
>
The file private/MACHINE.SID identifies the domain. When a samba
-server is first started, it is created on the fly and must never be
-changed again. This file has to be the same on the PDC and the BDC,
-so the MACHINE.SID has to be copied from the PDC to the BDC.
The file private/MACHINE.SID identifies the domain. When a samba
+ server is first started, it is created on the fly and must never be
+ changed again. This file has to be the same on the PDC and the BDC,
+ so the MACHINE.SID has to be copied from the PDC to the BDC. Note that in the
+ latest Samba 2.2.x releases, the machine SID (and therefore domain SID) is stored
+ in the private/secrets.tdb database. This file cannot just
+ be copied because Samba looks under the key SECRETS/SID/DOMAIN.
+ where DOMAIN is the machine's netbios name. Since this name has
+ to be unique for each SAMBA server, this lookup will fail.
A new option has been added to the smbpasswd(8)
+ command to help ease this problem. When running smbpasswd -S as the root user,
+ the domain SID will be retrieved from a domain controller matching the value of the
+ workgroup parameter in smb.conf and stored as the
+ new Samba server's machine SID. See the smbpasswd(8)
+ man page for more details on this functionality.
+
The Unix user database has to be synchronized from the PDC to the
-BDC. This means that both the /etc/passwd and /etc/group have to be
-replicated from the PDC to the BDC. This can be done manually
-whenever changes are made, or the PDC is set up as a NIS master
-server and the BDC as a NIS slave server. To set up the BDC as a
-mere NIS client would not be enough, as the BDC would not be able to
-access its user database in case of a PDC failure.
The Unix user database has to be synchronized from the PDC to the
+ BDC. This means that both the /etc/passwd and /etc/group have to be
+ replicated from the PDC to the BDC. This can be done manually
+ whenever changes are made, or the PDC is set up as a NIS master
+ server and the BDC as a NIS slave server. To set up the BDC as a
+ mere NIS client would not be enough, as the BDC would not be able to
+ access its user database in case of a PDC failure. LDAP is also a
+ potential vehicle for sharing this information.
+
The Samba password database in the file private/smbpasswd has to be
-replicated from the PDC to the BDC. This is a bit tricky, see the
-next section.
The Samba password database in the file private/smbpasswd
+ has to be replicated from the PDC to the BDC. This is a bit tricky, see the
+ next section.
+
Any netlogon share has to be replicated from the PDC to the
-BDC. This can be done manually whenever login scripts are changed,
-or it can be done automatically together with the smbpasswd
-synchronization.
Any netlogon share has to be replicated from the PDC to the
+ BDC. This can be done manually whenever login scripts are changed,
+ or it can be done automatically together with the smbpasswd
+ synchronization.
+
Replication of the smbpasswd file is sensitive. It has to be done
-whenever changes to the SAM are made. Every user's password change is
-done in the smbpasswd file and has to be replicated to the BDC. So
+whenever changes to the SAM are made. Every user's password change
+(including machine trust account password changes) is done in the
+smbpasswd file and has to be replicated to the BDC. So
replicating the smbpasswd file very often is necessary.
As the smbpasswd file contains plain text password equivalents, it
must not be sent unencrypted over the wire. The best way to set up
smbpasswd replication from the PDC to the BDC is to use the utility
-rsync. rsync can use ssh as a transport. ssh itself can be set up to
-accept *only* rsync transfer without requiring the user to type a
-password.
rsync(1). rsync can use
+ssh(1) as a transport. ssh itself
+can be set up to accept onlyrsync transfer without requiring the user to
+type a password. Refer to the man pages for these two tools for more details.
Another solution with high potential is to use Samba's --with-ldapsam
+for sharing and/or replicating the list of sambaAccount entries.
+This can all be done over SSL to ensure security. See the Samba-LDAP-HOWTO
+for more details.
O'Reilly Publishing is working on
a guide to LDAP for System Administrators which has a planned release date of
-early summer, 2002.
Two additional Samba resources which may prove to be helpful are
IDEALX that are
- geared to manage users and group in such a Samba-LDAP Domain Controller configuration.
+ geared to manage users and group in such a Samba-LDAP Domain Controller configuration. These scripts can
+ be found in the Samba 2.2.5 release in the examples/LDAP/smbldap-tools/ directory.
The first is that all lookups must be performed sequentially. Given that
there are approximately two lookups per domain logon (one for a normal
session connection such as when mapping a network drive or printer), this
-is a performance bottleneck for lareg sites. What is needed is an indexed approach
+is a performance bottleneck for large sites. What is needed is an indexed approach
such as is used in databases.
As a result of these defeciencies, a more robust means of storing user attributes
-used by smbd was developed. The API which defines access to user accounts
+used by smbd was developed. The API which defines access to user accounts
is commonly referred to as the samdb interface (previously this was called the passdb
API, and is still so named in the CVS trees). In Samba 2.2.3, enabling support
for a samdb backend (e.g. --with-ldapsam autoconf
-option, smbd (and associated tools) will store and lookup user accounts in
+option, smbd (and associated tools) will store and lookup user accounts in
an LDAP directory. In reality, this is very easy to understand. If you are
comfortable with using an smbpasswd file, simply replace "smbpasswd" with
"LDAP directory" in all the documentation.
objectclass ( 1.3.1.5.1.4.1.7165.2.2.2 NAME 'sambaAccount' SUP top STRUCTURAL
+>objectclass ( 1.3.1.5.1.4.1.7165.2.2.3 NAME 'sambaAccount' SUP top AUXILARY
DESC 'Samba Account'
MUST ( uid $ rid )
MAY ( cn $ lmPassword $ ntPassword $ pwdLastSet $ logonTime $
@@ -261,7 +271,10 @@
description $ userWorkstations $ primaryGroupID $ domain ))
The samba.schema file has been formatted for OpenLDAP 2.0. The OID's are
+>The samba.schema file has been formatted for OpenLDAP 2.0 & 2.1. The OID's are
owned by the Samba Team and as such is legal to be openly published.
If you translate the schema to be used with Netscape DS, please
submit the modified schema file as a patch to jerry@samba.org
Since the original release, schema files for
IBM's SecureWay Server
Netscape Directory Server version 4.x and 5.x
have been submitted and included in the Samba source distribution. I cannot
+personally comment on the integration of these commercial directory servers since
+I have not had the oppotinuity to work with them.
Just as the smbpasswd file is mean to store information which supplements a
user's /etc/passwd entry, so is the sambaAccount object
-meant to supplement the UNIX user account information. A sambaAccount is a
+meant to supplement the UNIX user account information. A sambaAccount is now an
STRUCTURAL objectclass so it can be stored individually
-in the directory. However, there are several fields (e.g. uid) which overlap
-with the posixAccount objectclass outlined in RFC2307. This is by design.
AUXILARY objectclass so it can be stored alongside
+a posixAccount or person objectclass in the directory. Note that there are
+several fields (e.g. uid) which overlap with the posixAccount objectclass
+outlined in RFC2307. This is by design. The move from a STRUCTURAL objectclass
+to an AUXILIARY one was compliance with the LDAP data model which states that
+an entry can contain only one STRUCTURAL objectclass per entry. This is now
+enforced by the OpenLDAP 2.1 server.
In order to store all user account information (UNIX and Samba) in the directory,
it is necessary to use the sambaAccount and posixAccount objectclasses in
-combination. However, smbd will still obtain the user's UNIX account
+combination. However, smbd will still obtain the user's UNIX account
information via the standard C library calls (e.g. getpwnam(), et. al.).
This means that the Samba server must also have the LDAP NSS library installed
and functioning correctly. This division of information makes it possible to
@@ -297,7 +335,7 @@
>
Import existing user entries from an smbpasswd can be trivially done using
+a Perl script named import_smbpasswd.pl included in the
+examples/LDAP/ directory of the Samba source distribution. There are
+two main requirements of this script:
All users to be imported to the directory must have a valid uid on the
+ local system. This can be a problem if using a machinej different from the Samba server
+ to import the file.
The local system must have a working installation of the Net::LDAP perl
+ module which can be obtained from with http://search.cpan.org/
+ by searching for perl-ldap or directly from http://perl-ldap.sf.net/.
+
Please refer to the documentation in the same directory as the script for more details.