1 =================================
2 Release Notes for Samba 3.0.25rc2
4 =================================
6 This is the second release candidate of the Samba 3.0.25 code base
7 and is provided for testing only. An RC release means that we are
8 close to the final release but the code may still have a few
9 remaining minor bugs. This release is *not* intended for production
10 servers. There has been a substantial amount of development since
11 the 3.0.23/3.0.24 series of stable releases. We would like to ask the
12 Samba community for help in testing these changes as we work towards
13 the next significant production upgrade Samba 3.0 release.
15 Major features included in the 3.0.25 code base include:
17 o Significant improvements in the winbind off-line logon support.
18 o Support for secure DDNS updates as part of the 'net ads join'
20 o Rewritten IdMap interface which allows for TTL based caching and
22 o New plug-in interface for the "winbind nss info" parameter.
23 o New file change notify subsystem which is able to make use of
25 o Support for passing Windows security descriptors to a VFS
26 plug-in allowing for multiple Unix ACL implements to running side
27 by side on the Same server.
28 o Improved compatibility with Windows Vista clients including
29 improved read performance with Linux servers.
30 o Man pages for VFS plug-ins.
33 Off-line Logons and AD Site Support
34 ===================================
36 Winbind's capability to support offline logons has been greatly
37 improved with the 3.0.25 release including support for locating
38 domain controllers asynchronously using Active Directory Site
42 New IdMap Interface for Winbindd
43 ================================
45 The 3.0.25 release of Samba will include a rewritten IdMap interface
46 for winbindd which replaces the "idmap backend" parameter. The
47 initial design document may be found at
49 http://www.samba.org/~idra/samba3_newidmap.pdf
51 Please refer to the "idmap domains" description in the smb.conf(5)
52 man page for more details.
58 The "net ads join" command is now able to register the host's DNS A
59 records with Windows 2000 SP4 and 2003 DNS servers. This
60 feature must be enabled at compile time using the --with-dnsupdate
61 when running the ./configure script. There is also a related "net ads
62 dns" command for refreshing a host's records which could be launched
63 from a dhcp client script when a new IP address is obtained.
66 Support for Additional ACL Modules
67 ==================================
69 Samba's POSIX ACL support has been moved inside of the VFS layer
70 which means it is now possible to support multiple ACL implementations
71 on the same server including NFSv4 and GPFS ACLs.
77 Windows Vista introduces pipe-lined read support for improved
78 performance when transferring files. The new vfs_readahead plugin
79 allows Linux file servers to utilize additional Kernel buffers
80 for caching files in order to avoid Disk I/O wait time when serving
81 Vista clients. If you experience poor read performance between
82 Linux servers and Vista clients, please test the vfs_readahead
83 module by adding the following lines to the share definition
87 vfs objects = readahead
89 Note that this plugin will result in additional RAM requirements
90 due to the increased amount of kernel buffer caches used by smbd.
91 Please refer to vfs_readahead(8) for more information.
94 ######################################################################
98 Changes since 3.0.25pre2
99 ------------------------
104 o Jeremy Allison <jra@samba.org>
105 * BUG 4494: Make sure to fail immediately if sendfile fails and
106 don't continue on to call chain_reply() (based on report from
108 * Remove tdb.h from the libsmbsharemodes.so header file.
109 * BUG 3634: Fix crash in nmbd caused by a bad "interfaces" include
111 * Add initial version to winbindd_cache.tdb file. Automatically
112 delete existing non-versioned cache files.
113 * Fix the storage size of time_t in winbindd_cache.tdb to be 8
115 * Cope with signature errors on sessionsetupX logins where the
116 server just reflects our signature back to us. Allow the upper
117 layer to see the real error.
118 * BUG 4512: Limit the volume label for a share to 32 UNICODE
120 * Allow arbitrary bases in int and ulong parsing in smb.conf.
121 * Fix off-by-one error in tconX parsing.
124 o Andrew Bartlett <abartlet@samba.org>
125 * Ensure debug messages from tools print the correct config file
126 location if the file was defined as a command line option.
129 o Gerald (Jerry) Carter <jerry@samba.org>
130 * BUG 4501 (partial): Fix crash bugs in idmap_ad plugin by adding
131 the schema_mode option when using "winbind nss info = template".
132 * BUG 4491, 4501 (partial): Disable attempts to allocate a uid/gid if no
133 idmap alloc backend has been defined. Do not defined a default
135 * Fix "make install" to include creating the links between
136 idmap_ad and the nss_info_rfc2307 and nss_info_sfu plugins.
137 * Enable the --with-dnsupdate in the Fedora/RHEL RPM packaging
139 * BUG 4508: Remove potential loops in the idmap API by requiring
140 the caller defined the SID type rather than having the idmap layer
141 call back up to determine the SID type when allocating
143 * Don't inherit the offline flag for winbindd_domains that have
144 not been initialized yet.
145 * Fix a crash in idmap_ldap caused by a NULL pointer dereference.
146 * Fix deadlock and timeout conditions in idmap_rid.
149 o Guenther Deschner <gd@samba.org>
150 * Build fixes when linking against Heimdal 0.8 Kerberos libraries.
151 * Build fixes when using older Heimdal Krb5 libs (e.g. 0.6.3).
154 o William Jojo <jojowil@hvcc.edu>
155 * BUG 3632: Fix for EISCON in open_any_socket_out() on AIX.
158 o Taj Khattra <taj.khattra@gmail.com>
159 * Fix missing lock count release in transaction cancel.
162 o Herb Lewis <herb@samba.org>
163 * Allow profiling level to be set on startup.
166 o Ying Li <ying.li2@hp.com>
167 * Use the default tdb idmap plugin when neither idmap domains
168 nor idmap backend have been defined.
171 o Jason Mader <jason@ncac.gwu.edu>
172 * Various compile warning fixes.
173 * Initial patch set for strptime() in libreplace.
176 o Jim McDonough <jmcd@us.ibm.com>
177 * Fix the GPFS VFS module to pass the POSIX ACL tests (Thanks to
181 o Stefan Metzmacher <metze@samba.org>
182 * BUG 4496: Fix libreplace failure on ulibc systems.
183 * Merge numerous libreplace fixes from the SAMBA_4_0 code base
184 (stdint.h, stdbool.h, unsetenv, strptime(), strtoll(), et. al.).
185 * Move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace.
188 o Lars Mueller <lmuelle@samba.org>
189 * Log the reason for failures when not creating a core file on a
190 crash due to restrictive permissions on the log file directory.
193 o Jorge Santos <jorge_a_santos@hotmail.com>
194 * BUG 4500: Fix compile bug in quota.c.
197 o Simo Sorce <idra@samba.org>
198 * Offline logon fixes in the idmap backend manager.
199 * Cleanup initialization code in the sfu and rfc2307 nss_info
200 plugins to protect against a crash if called before the idmap_ad
201 module has been initialized.
202 * Protect against crashes in get_dc_name() in the idmap_ad code
203 when we are working offline.
206 Release Notes for older release follow:
208 --------------------------------------------------
209 =================================
210 Release Notes for Samba 3.0.25rc1
212 =================================
215 ######################################################################
219 Changes since 3.0.25pre2
220 ------------------------
225 o Jeremy Allison <jra@samba.org>
226 * Fix connection problem between pre-3.0.25 smbclient and new DFS
228 * Fix valgrind errors in credentials.c.
229 * Fix logic error in CIFS POSIX extensions for open() and mkdir().
230 * Fix if logic error when checking for password resets of machine
231 trust accounts in Samba's passdb.
232 * Ensure we use the same technique to pull the share mode data out
234 * Fixes buffer parsing in the server side Lanman and RAP calls.
235 * Fix GetPrinter() info level 3 to fix displaying and setting
236 security descriptors on printers from WinXP x86_64 clients.
237 * Return correct error code to the trans2 GetDfsReferral() request
238 from Vista clients (fixes listing share contents in the Vista
240 * BUG 4486: Fix the exclude_dir parameter in the VFS recycle
242 * Consolidate the become_root_uid_only() calls to only use
244 * Add vfs_readahead module to deal with the pipe-lined reads
246 * BUG 4404: Fix server SMB/CIFS protocol bugs that broke Vista
247 clients trying to utilize offline file support.
250 o Gerald (Jerry) Carter <jerry@samba.org>
251 * Fix unlocking screen savers via pam_winbind.
252 * Fixes for the Krb5 ticket refresh event handler in winbindd
253 when using "winbind refresh tickets = yes".
254 * Ensure that winbindd can resolve SIDs in the the "Unix User" and
256 * BUG 4484: Add more checks to ensure that the %a variable is set
257 correctly for Vista clients.
258 * BUG 4439: Fix the object picker dialog when modifying ACLs
259 on a Samba member server in an AD domain by implementing
260 server support for the DsRoleGetPrimaryDomainInfo() RPC.
261 * Don't cache the S-1-22-{1,2} domain SID/uig/gid lookups in
265 o Steven Danneman <steven.danneman@isilon.com>
267 * Fix core dump when config file in same directory.
270 o Guenther Deschner <gd@samba.org>
271 * Fix tdb keynames in netsamlogon_clear_cached_user().
272 * Add missing proto_exists dependency for the Winbind NSS target
276 o William Jojo <jojowil@hvcc.edu>
277 * BUG 4447: Fix compile failure on AIX 5.2.
280 o Volker Lendecke <vl@samba.org>
281 * BUG 4460: Fix compile error in winbind_nss_irix.c.
282 * Fix Coverity bug reports.
283 * Fixes buffer parsing in the server side Lanman and RAP calls.
286 o Herb Lewis <herb@samba.org>
287 * Fix compile error in nmbd_incomingdgrams.c.
290 o Derrell Lipman <derrell@samba.org>
291 * BUG 4115: Fix for using kerberos logins in libsmbclient.so.
292 * BUG 4309: Prevent netbios keepalive on port 445 which causes
293 Vista to disconnect Samba clients.
294 * Ensure that the libsmbclient example programs link with the
295 libsmbclient library that's part of the current tree.
298 o Jason Mader <jason@ncac.gwu.edu>
299 * Various compile warning fixes.
302 o Don McCall <don.mccall@hp.com>
303 * Fix compile bug in vfs_default on platforms without utimes().
304 * HP-UX compile fixes.
307 o Stefan Metzmacher <metze@samba.org>
308 * POSIX ACL compile warning fixes.
309 * Fix --with-fhs, where confdir is set to \${sysconfdir} but
310 sysconfdir wasn't defined in the Makefile.
311 * Add localstatedir to configure.in for completeness.
314 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
318 o Lars Mueller <lmuelle@samba.org>
319 * Merge more proto_exists dependency fixes from SAMBA_3_0.
323 o James Peach <jpeach@apple.com>
324 * Changing the FindFirst response for the UNIX_INFO2 level to
325 include a length field before the name.
326 * Add call to chflags(2) in the default VFS module.
329 o Jiri Sasek <jiri.sasek@sun.com>
330 * Fix incorrect Krb5 linking on Solaris.
333 o Karolin Seeger <ks@sernet.de>
334 * Fix a compile problem in shadow_copy_test.c.
337 o Simo Sorce <idra@samba.org>
338 * Remove redundant log messages from idmap_ad.c.
339 * BUG 3974: Fix ambiguity between the -N option and the -T
343 Release Notes for older release follow:
345 --------------------------------------------------
346 ==================================
347 Release Notes for Samba 3.0.25pre2
349 ==================================
352 ######################################################################
356 Changes since 3.0.25pre1
357 ------------------------
362 Parameter Name Description Default
363 -------------- ----------- -------
364 debug prefix timestamp New No
365 idmap cache time Renamed 900
366 idmap negative cache time Renamed 120
367 lock spin count Removed n/a
373 o Jeremy Allison <jra@samba.org>
374 * Fix CIFS POSIX unlink behavior.
375 * Change POSIX_UNLINK to allow clients to differentiate between
377 * Add smbclient implementations of POSIX open/mkdir/unlink/rmdir.
378 * Refactor MS-DFS server and client code.
379 * Support deep MS-DFS referrals in Samba client applications.
380 * Change the VFS interface to use struct timespec for utimes.
381 * Fix build failures on *BSD platforms caused by introduction of
383 * Optimize exit path in the byte-range locking code in smbd to
384 only read the locking db if there are outstanding lock requests.
385 * Fix long-standing bug in our chain processing code.
386 * BUG 4384: Fix bug in old search code.
387 * Add support for the UNIX_INFO2 info level.
388 * Add in the "create info" field to the reply from POSIX_OPEN
390 * Refactor the sessionsetupX code a little to allow us to return
391 a NT_STATUS_TIME_DIFFERENCE_AT_DC error to a client.
392 * Fix memory leaks in the LDAP sasl bind code.
393 * Fix crash in vfs audit/full audit modules caused by API changes.
396 o Alexander Bokovoy <ab@samba.org>
397 * Ensure nfsv4 chown logic is controlled by "nfs4:chown=[yes|no]".
400 o Gerald (Jerry) Carter <jerry@samba.org>
401 * Fix server affinity bug in Winbind's ADS connection handling.
402 * Fix crash when enumerating local group membership in usrmgr.exe
404 * Rework parsing for NetFileEnum() and NetSessionEnum()
405 * Add server stub for NetFileClose()
406 * Return correct information for sessions and open files
407 including session duration, number of open files, and open pipes.
408 * Fixes for "winbind normalize names" functionality:
409 - Fix getgroups() call called using a normalized name
410 - Fix some more name mappings that could cause for example
411 a user to be unable to unlock the screen as the username
412 would not match in the PAM authenticate call.
413 * Blacklist BUILTIN and MACHINE domains from the idmap domains as
414 these should only be handled by the winbindd_passdb.c backend.
415 * Allow the alloc init to fail for backwards compatible
416 configurations such as with idmap_ad.
417 * Remove the deprecated flags from idmap backend, et. al. These
418 are mutually exclusive with the "idmap domains".
419 * Add the osname and osver options to 'net ads join'
422 o Guenther Deschner <gd@samba.org>
423 * Adding experimental krb5 lib locator plugin.
424 * Ensure that Samba clients are correctly reported by the %a
425 smb.conf as "Samba" and not "Vista".
426 * Prevent a user from issuing a PAM_DELETE_CREDS request in
427 pam_close_session() for another user.
430 o Steve French <sfrench@us.ibm.com>
431 * Fix mount.cifs compile on old libc missing bind mount #define.
434 o SATOH Fumiyasu <fumiyas@osstech.co.jp>
435 * Fix memory leaks in the error paths used by winbindd's credential
437 * BUG 4409: Add minsize parameter to the vfs_recycle plugin.
440 o Zack Kirsch <zack.kirsch@isilon.com>
441 * Memory leak fixes on error paths in various places.
444 o Volker Lendecke <vl@samba.org>
445 * BUG 4365: Fix NTLMv2 implementation on Samba member servers not
447 * Reduce contention on the tdb free list by periodic reclamation
448 of dead tdb records into groups
449 * Split tdb free lists per hash chain.
451 * Add winbindd_priv_request_response() request that kills the
452 existing winbind pipe connection if it's not privileged to prevent
453 race conditions during the challenge/response authentication sequence.
456 o David Leonard <dleonard@vintela.com>.
457 * BUG 4369: Fix smbclient's showacls on files in subdirectories.
460 o Herb Lewis <herb@samba.org>
461 * Compiler warning fixes.
462 * Allow smbcontrol to use POPT_COMMON_SAMBA options to allow setting
464 * Add "debug prefix timestamp" to allow syslog type timestamps to be
465 added in the Samba log files.
468 o Jim McDonough <jmcd@us.ibm.com>
469 * Fix "password never expires" policy which would be incorrectly
470 require all users to change their password at login time.
473 o Jason Mader <jason@ncac.gwu.edu>
474 * Compiler warning fixes.
477 o Lars Mueller <lmuelle@samba.org>
478 * Fix make install to include smbmount, et. al. docs.
481 o James Peach <jpeach@apple.com>
482 * Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.
485 o Andy Polyakov <appro@fy.chalmers.se>
486 * Pull the CUPS comment and location attributes when not overridden
487 by values stored in Samba's ntprinters.tdb.
488 * BUG 3275: Allow upload of x64 printer drivers by relaxing the COFF
489 header parsing code in smbd.
492 o Robert Shearman <rob@codeweavers.com>
493 * Allow NULL domain and username in the form of user@domain to be
494 interpreted correctly by ntlm_auth for use by Wine applications.
496 o Simo Sorce <idra@samba.org>
497 * BUG 4438, 4440: Fix bugs in "net sam provision".
500 o Andrew Tridgell <tridge@samba.org>
501 * Fix an integer overflow in the ndr library code used by PIDL.
504 Release Notes for older release follow:
506 --------------------------------------------------
507 ==================================
508 Release Notes for Samba 3.0.25pre1
510 ==================================
513 ######################################################################
523 Parameter Name Description Default
524 -------------- ----------- -------
525 change notify timeout Removed n/a
526 change notify New Yes
527 fam change notify Removed n/a
529 idmap alloc backend New ""
530 idmap expire time New 900
531 idmap negative time New 120
532 kernel change notify Per share Yes
533 max stat cache size Modified 1024KB
534 printjob username New %U
535 winbind normalize names New no
542 o Michael Adam <ma@sernet.de>
543 * Patch to lib/sysquotas_linux.c replacing some "get"s by "set"s.
544 This makes the difference between the get and set calls for
545 SMB_USER_FS_QUOTA_TYPE and SMB_GROUP_FS_QUOTA_TYPE.
546 * Prevent collision from config.h created by stand alone component
550 o Jeremy Allison <jra@samba.org>
551 * winbind off-line logon fixes.
552 * Support for AD sites when locating domain controllers.
553 * Fix libsmbclient bug with Konqueror and NetApp filers that need
554 a leading / in OpenAndX calls.
555 * BUG 4187: Possible crash in signing on/off code.
556 * Fix memory leaks in pam_winbind.c.
557 * Fix a bug in the sequence number store/fetch routines in
559 * Fix the problem with Linux clients requesting O_WRONLY on write-only
561 * Fix a class of memory allocation bugs in the handling of user tokens.
562 * Fix crash bug in winbindd caused by a bug in the messaging dispatch
564 * Fix memory bloat in trans calls caused by talloc()'ing memory off the
566 * Fix wildcard renames with SMBmv.
567 * Fixes for pathname handling code.
568 * Add in the wdel smbclient command to perform wildcard deletes.
569 * Fix a bug that causes smbd to 'hang' intermittently while updating
570 the trusted domain cache.
571 * Cleanup error path processing in reduce_name().
572 * Fixes for smbtorture tests (BASE-DELETE, ...)
573 * Delete on close fixes ("I completely understand it this time").
574 * Remove unneeded checks on incoming uid/gid for mknod (fifo) Unix
576 * More fixes for Unix Extensions include support for POSIX locking.
577 * NTLMv2 fixes for Vista clients.
578 * Add an optimized lookup for Domain Users and only report the current
579 user (which is generally what the calling application wants to know
581 * Fixes for supporting the Vista backup utility based on work by Joe
582 Meadows <jameadows@webopolis.com>.
583 * Fix 4377: Fix rename of "foo" -> "Foo".
584 * BUG 4188: Fix for Vista delete directory bug.
585 * BUG 4400: Add support for processing large Krb5 tickets in SMB
586 sesssetup&X. Based on work by <todd.stecher@isilon.com>.
587 * Fix trans2 file size reporting for Linux CIFS client.
590 o Danilo Almeida <dalmeida@centeris.com>
591 * Add additional debug support for pam_winbind.
592 * Add support for listing multiple groups in pam_winbind's
593 require-membership-of option which act as a logical OR.
596 o Andrew Benham <andrew.benham@thus.net>
597 * BUG 4290: Properly compute time to password expiration in message
601 o Alexander Bokovoy <ab@samba.org>
602 * Add GPFS-provided DMAPI support
605 o Kai Blin <kai.blin@gmail.com>
606 * Match Windows NTLMSSP flags.
609 o Gerald (Jerry) Carter <jerry@samba.org>
610 * Implement pluggable "winbind nss info" interface.
611 * Removal of unmaintained smbwrapper utility.
612 * Fix server affinity bugs in the 'net ads join' code to include
613 support for AD sites.
614 * Implement DDNS update client code.
615 * Upper case the host/sAMAccountName in the keytab file.
616 * Fix lookupname call in winbindd when joined to a child domain and
617 trying to resolve a SID in a sibling domain.
618 * Fix password changes against a Windows 2000 DC using pam_winbind.
619 * Fix crash in "pdbedit -L -w"
620 * Add "winbind normalize names" option.
621 * BUG 4093: Make %a resolve correctly for Windows Vista and Windows
623 * Printing fixes for Windows Vista.
624 * Protect the sasl bind against a NULL principal string in the
626 * Fix some "cannot access LDAP when no root" bugs.
627 * NSS and PAM fixes on AIX.
628 * Cached credentials and Krb5 ticket renewal fixes in winbindd.
631 o Mathias Dietz <mdietz@de.ibm.com>
632 * Initial implementation of the GPFS VFS module.
633 * Work on NFSv4 ACL VFS plugin.
634 * Add support for share modes to the GPFS VFS plugin.
637 o Guenther Deschner <gd@samba.org>
638 * winbind off-line logon fixes.
639 * Support for AD sites when locating domain controllers.
640 * Various fixes for 'net ads' user management functions.
641 * Add an CLDAP client written in Perl.
642 * Cleanups to the Krb5 ticket refresh code in winbindd.
643 * Fixes for various error messages from pam_winbind when password
644 policies are being enforced.
645 * Implement grace logons for offline authentications in pam_winbind.
646 * Fixes for idmap_ad.
648 * BUG 4009: Fixes leaking file descriptors (CLOSE_WAIT) in winbindd
649 with short lived service tickets
650 * Implement basic AD group policy library
653 o dleonard@vintela.com
654 * Fix file descriptor leak from an error path in winbindd.
657 o SATOH Fumiyasu <fumiyas@osstech.co.jp>
658 * BUG 3319: Ensure that 'hide unreadable' does not filter MS-DFS links.
661 o Krishna Ganugapati <krishnag@centeris.com>
662 * Implement DDNS update client code.
665 o YAMASAKI Hiroyuki <h-yamasaki@pd.jp.nec.com>
666 * BUG 4346: Fix type reported for hidden shares via MS-RPC.
669 o David Hu <david.hu@hp.com>
670 * BUG 4267: Fix memory leaks in ldapsam.
673 o Bjoern Jacke <bj@sernet.de>
674 * BUG 4244: Limit stat cache to a default of 1MB.
677 o William Jojo <jojowil@hvcc.edu>
678 * BUG 3713: Re-add reporting what the profiles tool does (-v).
681 o Zack Kirsch <zack.kirsch@isilon.com>
682 * Fix memory leaks on some error paths.
685 o Volker Lendecke <vl@samba.org>
686 * Replace snum references with a structure based array.
687 * Allow changing of the hashsize when running tdbbackup.
688 * Implement secure DDNS update code
689 * Klocwork, Coverity, and IBM Checker fixes.
690 * BUG 4273: Fix crash in 'net rpc vampire'
691 * Refactor older SMB file serving code.
692 * Refactor open directory file serving code.
693 * Implement support for inotify when serving CIFS change notification
694 requests (includes merge work from SAMBA_4_0).
695 * Fixes to allow Samba 3.0 to pass various smbtorture tests (RAW-OPEN,
696 RAW-UNLINK, RAW-CLOSE, ...)
697 * Refactor delete on close file server code.
698 * MS-DFS fixes for Vista clients.
699 * BUG 4372: Long timeout in LDAP setup when accessing files after
701 * Change the static array for the in-memory mirrors of the hash chain
702 locks to a dynamically allocated one.
703 * Use inotify for file change notification on Linux.
704 * Revert "msdfs root" to default to "no".
706 * Fix memory leaks when returning user lists to clients via SAMR calls.
709 o Herb Lewis <herb@samba.org>
710 * Cleanups to sharesec utility.
711 * Compiler warning cleanups.
714 o Jim McDonough <jmcd@us.ibm.com>
715 * Bug fixes for GPFS VFS module.
718 o Stefan Metzmacher <metze@samba.org>
719 [merges from SAMBA_4_0]
720 * Portability fixes for dlopen()
724 o Gomati Mohanan <gomati.mohanan@in.ibm.com>
725 * Work on NFSv4 ACL VFS plugin.
728 o Lars Mueller <lmuelle@samba.org>
729 * Provide better feedback about deprecated use of multiple passdb
733 o James Peach <jpeach@apple.com>
734 * Replace exit_server with exit_server_cleanly where appropriate.
735 * Add docs for VFS modules.
736 * Portability fixes for autoconf and character set modules on
738 * Only attempt to reload the config file after the fork point
739 if we are in daemon mode.
742 o J Raynor <raynorj@mn.rr.com>
743 * Make sure we are privileged when doing DMAPI operations on systems
744 that don't have capability support.
747 o Jiri Sasek <Jiri.Sasek@Sun.COM>
748 * Fix possible NULL dereference in adt_tree.c
751 o Karolin Seeger <ks@sernet.de>
752 * Add 'net sam policy' commands.
753 * Fixes for "net usershare" and "guest_ok=y"
756 o Simo Sorce <idra@samba.org>
757 * Initial implementation of new IdMap interface.
758 * Fix crash in pam_winbind caused by referencing a pointer after the
759 memory had been freed.
760 * Implement escaping function for ldap RDN values.
763 o Peter Somogyi <SOMOGYI@de.ibm.com>
764 * Work on NFSv4 ACL VFS plugin.
767 o Jelmer Vernooij <jelmer@samba.org>
768 * Implement support for IDL autogenerated code to
769 handle the MS-RPC parsing functions.
772 o Don Watson <dwwatson@us.ibm.com>
773 * Fixes for 'net rpc vampire' and the guest account
776 o Martin Zielinski <mz@seh.de>
777 * Printing fixes for Windows Vista clients.
779 --------------------------------------------------
780 ==============================
781 Release Notes for Samba 3.0.24
783 ==============================
786 Important issues addressed in 3.0.24 include:
788 o Fixes for the following security advisories:
789 - CVE-2007-0452 (Potential Denial of Service bug in smbd)
790 - CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind
791 NSS library on Solaris)
792 - CVE-2007-0454 (Format string bug in afsacl.so VFS plugin)
795 ######################################################################
799 Changes since 3.0.23d
800 ---------------------
805 o Jeremy Allison <jra@samba.org>
806 * Fix for CVE-2007-0452 & CVE-2007-0454
809 o Olivier Gay <ouah@ouah.org>
810 * Fix for CVE-2007-0453
813 o Volker Lendecke <vl@samba.org>
814 * Fix for CVE-2007-0452
818 Release Notes for older release follow:
820 --------------------------------------------------
821 ===============================
822 Release Notes for Samba 3.0.23d
824 ===============================
826 This is the latest stable release of Samba. This is the version
827 that production Samba servers should be running for all current
828 bug-fixes. Please read the changes in this section and for the
829 original 3.0.23 release regarding new features and difference
830 in behavior from previous releases.
832 Important issues addressed in 3.0.23d include:
834 o Stability fixes for winbindd
835 o Portability fixes on FreeBSD and Solaris operating systems.
837 ######################################################################
841 Changes since 3.0.23c
842 ---------------------
847 o Jeremy Allison <jra@samba.org>
848 * Changes to ntlm_auth to better support Firefox's NTLM
850 * Make the "max usershares" parameter an advisory limit.
851 * BUG 4095: Cleanup bad substitution causing the username
852 to be translated to domain\user twice in spnego path.
853 * BUG 4097: Ensure all pdb_XXX calls are wrapped in
854 [un]become_root() pairs.
855 * Ensure we always return the canonicalized name
856 * Add in fixes to mangling dir code.
857 * Do not assume that gencache can always be opened for RW access.
859 * Always initialize variables in winbindd request/response
861 * Fix libsmbclient bug with Konqueror and NetApp filers that
862 need a leading / in OpenAndX calls.
863 * Added showacls toggle in the smbclient code.
864 * Add a suffix to the pidfile's program name if this is a process
865 with a non-default configuration file name.
866 * Fix protection from invalid struct tm values.
867 * BUG 4187: Possible crash in signing on/off code.
868 * BUG 4214: Fix crash bug in find_forced_group().
869 * BUG 4224: Fix enforcement of the deadtime parameter.
872 o Timur Bakeyev <timur@com.bat.ru>
873 * BUG 3856: Set the nss soname version on FreeBSD.
874 * BUG 4109: Fix bug causing smbd to turn off winbindd and
875 fail to disable the _NO_WINBIND environment.
876 * BUG 3868: Prevent --with-aio-support from trimming the
877 $LIBS variable in configure.in.
880 o Dmitry Butskoy <dmitry@butskoy.name>
881 * BUG 4075: Allow smbd to use winbindd to lookup uids/gids
882 outside the idmap range if 'winbind trusted domains
886 o Gerald (Jerry) Carter <jerry@samba.org>
887 * Fix primary group lookup failures. Use the Get_Pwnam_alloc()
888 call to ensure it finds the Unix user first.
889 * Only grant privs to Administrators if privileges are enabled
890 to avoid bogus error messages in the logs.
893 o Alex Deiter <tiamat@komi.mts.ru>
894 * BUG 3524: Fix for quota support on Solaris.
897 o Guenther Deschner <gd@samba.org>
898 * Close socket when the CLDAP request has failed.
899 * Memory leak fixes in the libads/ldap.c code.
900 * Printer publishing fixes for "net ads".
901 * Fix error code returns in the CLDAP client code.
902 * Do not anonymously query for AD schema items in winbindd.
903 * Protect against storing null-sids in the winbind cache.
904 * Fallback to non-paging LDAP searches for anonymous bound
906 * More workarounds when nscd.
907 * Fix error code typoe in the GetDcName() netlogon call
908 (including two new error codes).
909 * Fix valgrind warnings in pam_winbind
910 * Add two missing refresh_sequence_number calls where they are
911 missing just before writing to the winbind cache tdb.
912 * Attempt to locate a valid domain controller before prompting
913 for credentials in "net ads".
914 * Set 35 second timeout in winbindd's netlogon code when sending
916 * Stop "net ads {user,group} delete" from doing funny things.
917 * Fix container handling for "net ads user" and "net ads group"
919 * Fix various memleaks and seg faults in "net ads {user,group}".
922 o Udo Eberhardt <udo.eberhardt@thesycon.de>
923 * BUG 4100: Fix crash in the server spooler code by initializing
924 values for smb_io_notify_info_data_strings.
927 o Olaf Flebbe <o.flebbe@science-computing.de>
928 * BUG 4133: pam_winbind.c compile fix on AIX 5.1.
931 o David Hu <david.hu@hp.com>
932 * BUG 4212: Fix memleak in the default_ou_string handling.
935 o Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
936 * BUG 4229: Compile fix for systems without kerberos.
939 o Volker Lendecke <vl@samba.org>
940 * NTLMSSP LanMan session key fixes.
941 * Various potential seg fault fixes.
942 * Extra logic in share access checks for bad smb.conf parameter
944 * Fixes to allow smbclient to connect to Vista RC1 workstations.
945 * Fix bad search filter in ldapsam when enumerating group
949 o Jim McDonough <jmcd@us.ibm.com>
950 * Correctly handle the password expiration policy on Samba DCs.
953 o Nils Nordman <nils.nordman@nordman.org>
954 * BUG 4085: Allow smbpasswd to change expired passwords on
958 o Simo Sorce <idra@samba.org>
959 * Merge uid2sid and gid2sid async calls for SAMBA_3_0.
960 * Better fqdn handling when parsing the /etc/hosts file.
961 * Fix crash bug in pam_winbind.
963 o Andrew Tridgell <tridge@samba.org>
964 * Fix string alignment problem in password change code.
968 * BUG 4211: Logic error when enforcing "acl group control"
972 Release Notes for older release follow:
974 --------------------------------------------------
975 ===============================
976 Release Notes for Samba 3.0.23c
978 ===============================
980 We would like to thank the developers of the Saturn code analysis
981 tool from Stanford University (http://glide.stanford.edu/saturn).
982 This release includes several code fixes based on its reports.
984 Common bugs fixed in 3.0.23c include:
986 o Authentication failures in pam_winbind when the AD domain
987 policy is set to not expire passwords.
988 o Authorization failures when using smb.conf options such
989 as "valid users" with the smbpasswd passdb backend.
992 RID Algorithms & Passdb
993 =======================
995 Starting with the 3.0.23c release, the officially supported passdb
996 backends (smbpasswd, tdbsam, and ldapsam) now operate identically
997 with regards to the historical RID algorithm for unmapped users
998 and groups (i.e. accounts not in the passdb or group mapping table).
999 The resulting behavior is that all unmapped users are resolved
1000 to a SID in the S-1-22-1 domain and all unmapped groups resolve
1001 to a SID in the S-1-22-2 domain. Previously, when using the
1002 smbpasswd passdb, such users and groups would resolve to an
1003 algorithmic SID in the machine's own domain (S-1-5-XX-XX-XX).
1004 However, the smbpasswd backend still utilizes the RID algorithm
1005 when creating new user accounts or allocating a RID for a new
1006 group mapping entry.
1008 With the changes in the 3.0.23c release, it is now possible to
1009 resolve a uid/gid, name, or SID in any direction and always obtain
1010 a symmetric mapping. This is important so that values for smb.conf
1011 parameters such as "valid users" resolve to the same SIDs as those
1012 included in the local user's initial token.
1014 Most installations will notice no change. However, because
1015 an unmapped account's SID will now change even when using
1016 smbpasswd it is possible that any security descriptors on files
1017 previously copied from a Samba host to a Windows NTFS partition
1018 may now fail to give access. The workaround is to either manually
1019 map all affect groups (or add impacted users to the server's
1020 passdb) or to manually reset the file's ACL.
1023 ######################################################################
1027 Changes since 3.0.23b
1028 ---------------------
1032 o Michael Adam <ma@sernet.de>
1033 * Fix incorrect logic in internal_resolve_name() caused by if
1037 o Jeremy Allison <jra@samba.org>
1038 * Don't store a NULL SID in winbindd's offline cache.
1039 * Ensure we store the offline password hash in the correct format.
1040 * OS/2 fixes for large Extended Attributes data.
1041 * Fix nmbd crashes caused by miscalculation in pushing
1043 * Handle times consistently across all client utils including
1045 * Fix a file descriptor leak in nmbd sync DNS lookup code.
1046 * Fix inconsistency found in checking for NULL in DLIST_REMOVE
1048 * Pointer dereference fixes based on the Saturn analysis tool.
1049 * Fix memory leak in the AD DC lookup code.
1052 o Gerald (Jerry) Carter <jerry@samba.org>
1053 * RHEL4 and Fedora packaging updates.
1054 * Remove RID algorithm support for unmapped users and groups
1055 when using an smbpasswd backend.
1056 * Extend the NT token for local users' with the S-1-22-2
1057 SID for each supplementary group
1058 * BUG 3969: Fix unsigned time comparison with expiration
1060 * Merge Guenther's fixes from the SuSE SLES10 tree to ensure
1061 that winbindd talks to the correct DC when servicing PAM
1062 authentication requests.
1063 * Do not use the generic IP address sort routines for AD DCs
1064 since the SRV lookup include a sorting algorithm based
1065 on priority and weight.
1066 * Fix our DNS SRV lookup code to deal with multi-homed hosts.
1067 * More changes to ensure that the primary group SID for
1068 a local user is based on the primary Unix group and not the
1069 primaryGroupSID passdb attribute.
1070 * Disable storing SIDs in the S-1-22-1 and S-1-22-2 domain
1071 to the SID<->uid/gid cache.
1074 o Guenther Deschner <gd@samba.org>
1075 * Fix msdfs RPC client and server management RPCs.
1076 * Align idmap_ad with the current idmap_methods interface.
1079 o Volker Lendecke <vl@samba.org>
1080 * Re-add support for "username level" when looking up the
1081 matching Unix user for an smbpasswd entry.
1085 o Simo Sorce <idra@samba.org>
1086 * Let innetgr() work without binding its use to a
1087 NIS domain to support netgroups in local files.
1090 o Ben Winslow <rain@bluecherry.net>
1091 * Allow client smb signing to be turned off correctly.
1094 --------------------------------------------------
1095 ===============================
1096 Release Notes for Samba 3.0.23b
1098 ===============================
1100 Common bugs fixed in 3.0.23b include:
1102 o Ambiguity with unqualified names in smb.conf parameters
1103 such as "force user" and "valid users".
1104 o Errors in 'net ads join' caused by bad IP address in the list
1105 of domain controllers.
1106 o SMB signing errors in the client and server code.
1107 o Domain join failures when using smbpasswd on a Samba PDC.
1110 Member servers, domain accounts, and smb.conf
1111 =============================================
1113 Since Samba 3.0.8, it has been recommended that all domain accounts
1114 listed in smb.conf on a member server be fully qualified with the
1115 domain name. This is now a requirement. All unqualified names are
1116 assumed to be local to the Unix host, either as part of the server's
1117 local passdb or in the local system list of accounts (e.g. /etc/passwd
1120 The reason for this change is that smbd has transitioned from
1121 access checks based on string comparisons to token based
1122 authorization. All names are resolved to a SID and then verified
1123 against the logged on user's NT user token. Local names will
1124 resolve to a local SID, while qualified domain names will resolve
1125 to the appropriate domain SID.
1127 If the member server is not running winbindd at all, domain
1128 accounts will be implicitly mapped to local accounts and their
1129 tokens will be modified appropriately to reflect the local
1130 SID and group membership.
1132 For example, the following share will restrict access to the
1133 domain group "Linux Admins" and the local group srvadmin.
1137 valid users = +"DOMAIN\Linux Admins" +srvadmin
1139 Note that to restrict the [homes] share on a member server to the
1140 owner of that directory, it is necessary to prefix the %S value
1144 security = {domain,ads}
1146 winbind separator = +
1148 valid users = DOM+%S
1152 ######################################################################
1156 Changes since 3.0.23a
1157 ---------------------
1161 o Michael Adams <ma@sernet.de>
1162 * Fix memory leaks on error paths in 'net ads join'.
1165 o Jeremy Allison <jra@samba.org>
1166 * BUG 3962: Fix memory leak when enumerating print jobs.
1167 * Fix file access flags for the Linux CIFS fs client.
1168 * Fix memory leaks in the smbclient DFS code.
1169 * BUG 3967: Fix SMB signing client bug in trans calls.
1170 * BUG 3985: Ensure in msdfs we check for our NetBIOS aliases.
1171 * Added lookup_name_smbconf() to be called when looking up names
1172 from smb.conf. Unqualified names are assumed to be local.
1173 * BUG 4003: Fix SMB signing server error in NTcancel reply.
1176 o Gerald (Jerry) Carter <jerry@samba.org>
1177 * Fix a few "smbldap_open(): Cannot open when not root" bugs when
1178 viewing or modifying local group membership.
1179 * Make LsaLookupSids() reply include the full SID of unresolved
1181 * BUG 3957: Prevent returning strange DC IP addresses by zeroing
1182 memory in the SRV hostlist in case there is not an A record for
1184 * BUG 3964: normalize the case of usernames prior to getpwnam()
1185 call in the smbpasswd backend.
1186 * Cleanup the 'net ads help join' output and document createupn
1187 and createcomputer options.
1188 * Fix a regression in the ldapsam URI syntax. Allow multiple
1189 LDAP URIs to be grouped by "".
1192 o William Charles <william@charles.name>
1193 * BUG 3959: Remove rand() from SRV RR comparison to fix crashes
1197 o Guenther Deschner <gd@samba.org>
1198 * Fix memory leaks in pam_winbind.
1199 * Save the logon script path from the info3 in the PAM session
1200 allowing other PAM modules to pick it up from there.
1203 o Volker Lendecke <vl@samba.org>
1204 * BUG 3991: Fix problem with user tokens on standalone systems
1205 configured to use a username map.
1206 * Fix bug where qualified user or group names in smb.conf
1207 were assumed to use the '\' character as the winbind separator.
1209 --------------------------------------------------
1210 ===============================
1211 Release Notes for Samba 3.0.23a
1213 ===============================
1215 Common bugs fixed in 3.0.23a include:
1217 o Failure to strip the domain name from groups when 'winbind
1218 use default domain = yes'
1219 o Failure in pam_winbind to correctly parse arguments.
1220 o Bad token creation of local users on member servers not
1222 o Failure to add users or groups to ACLs using the Windows
1224 o Failure in file serving code when 'kernel oplocks = yes'.
1226 New features in 3.0.23a include:
1228 o New "createupn" option to "net ads join"
1229 o Rewritten Kerberos keytab generation when 'use kerberos
1234 ######################################################################
1238 Changes since 3.0.23
1239 --------------------
1243 o Jeremy Allison <jra@samba.org>
1244 * Fix memory leaks in the POSIX locking for for the Linux CIFS fs
1246 * Fix memory leaks in the AD schema parsing code.
1247 * Fixed bug in interaction with Linux kernel oplocks.
1250 o Gerald (Jerry) Carter <jerry@samba.org>
1251 * Rewrite the detection of the correct DES salting principal name
1252 when joining an Active Directory Domain.
1253 * Rewrite the keytab generation code based on existing SPN,
1254 UPN, and sAMAccountName attributes in the AD machine object.
1255 * Cleanup of dead code from idmap_ad.
1256 * Fix Winbind 32bit/64bit portability issues.
1257 * Fail 'net ads join' and disable the machine account if we cannot
1258 set any SPNs for ourselves.
1259 * Make sure to lower case all usernames before calling the create,
1260 delete, or rename hooks.
1261 * Preserve case for usernames in passdb
1262 * Flush the getpwnam cache after renaming a user
1263 * Add become/unbecome root block in _samr_delete_dom_user() when
1264 trying to verify the account's existence.
1265 * Changed 'net ads join' syntax for specifying an alternate
1266 OU. New syntax is createcomputer=<ou path top to bottom>.
1267 * Add createupn=[UPN] option to 'net ads join' for setting the
1268 userPrincipalName attribute.
1269 * Bug 3920: Restore winbind use default domain behavior for domain
1270 groups. This break local users and 'winbind nested groups' on
1274 o Guenther Deschner <gd@samba.org>
1275 * Don't clear the cache when starting winbindd in off line mode.
1276 * Fix errno reporting in pam_winbind debug messages.
1277 * BUG 3937: Fix segv in libnss_wins.so.
1280 o Volker Lendecke <vl@samba.org>
1281 * Fix memory leaks in the in error paths out of the CLDAP
1283 * AIX portability fixes for DNS client code.
1284 * BUG 3811, 3948: Fix alignment bug in on lsaquery.
1285 * BUG 3949: Fixed authorization issue on domain member
1286 servers not running winbindd.
1289 o Andrew Tridgell <tridge@samba.org>
1290 * Fixed a bug which caused resolve_ads() to spin forever if
1291 one of the DCs isn't resolvable in DNS.
1294 o Simo Sorce <idra@samba.org>
1295 * Debian packaging fixes.
1298 o Dietrich Streifert <dietrich.streifert@visionet.de>
1299 * BUG 3916: Fix error parsing pam_winbind config arguments.
1302 Release Notes for older release follow:
1304 --------------------------------------------------
1306 ==============================
1307 Release Notes for Samba 3.0.23
1309 ==============================
1311 There has been a substantial amount of cleanup work done during
1312 this development cycle. We would like to thank both Coverity
1313 (http://www.coverity.com/) and Klocwork (http://www.klocwork.com/)
1314 for analyzing the Samba source code. As a result, this release
1315 includes fixes for over 400 defects. The coverage was approximately
1316 even with over 200 defects reported by each tool.
1318 Thanks very much to those people who spent time testing the
1319 release candidates and reported their findings. We would like to
1320 especially thank Thomas Bork <tombork@web.de> for his numerous
1321 reports. We believe that the final release is in much better shape
1322 in large part due to his efforts.
1324 New features in 3.0.23 include:
1326 o Improved 'make test'
1327 o New offline mode in winbindd.
1328 o New Kerberos support for pam_winbind.so.
1329 o New handling of unmapped users and groups.
1330 o New non-root share management tools.
1331 o Improved support for local and BUILTIN groups.
1332 o Winbind IDMAP integration with RFC2307 schema objects supported
1334 o Rewritten 'net ads join' to mimic Windows XP without requiring
1335 administrative rights to join a domain.
1338 User and Group changes
1339 ======================
1341 The user and group internal management routines have been
1342 rewritten to prevent overlaps of assigned Relative Identifiers
1343 (RIDs). In the past the has been a potential problem when either
1344 manually mapping Unix groups with the 'net groupmap' command or
1345 when migrating a Windows domain to a Samba domain using 'net rpc
1348 Unmapped users are now assigned a SID in the S-1-22-1 domain and
1349 unmapped groups are assigned a SID in the S-1-22-2 domain.
1350 Previously they were assign a RID within the SAM on the Samba
1351 server. For a DC this would have been under the authority of the
1352 domain SID where as on a member server or standalone host, this
1353 would have been under the authority of the local SAM (hint: net
1356 The result is that any unmapped users or groups on an upgraded
1357 Samba domain controller may be assigned a new SID. Because the
1358 SID rather than a name is stored in Windows security descriptors,
1359 this can cause a user to no longer have access to a resource for
1360 example if a file was copied from a Samba file server to a local
1361 NTFS partition. Any files stored on the Samba server itself will
1362 continue to be accessible because Unix stores the Unix gid and not
1363 the SID for authorization checks.
1365 A further example will help illustrate the change. Assume that a
1366 group named 'developers' exists with a Unix gid of 782 but this
1367 user does not exist in Samba's group mapping table. it would be
1368 perfectly normal for this group to be appear in an ACL editor.
1369 Prior to 3.0.23, the group SID might appear as
1370 S-1-5-21-647511796-4126122067-3123570092-2565. With 3.0.23, the
1371 group SID would be reported as S-1-22-2-782. Any security
1372 descriptors associated with files stored on an NTFS disk partition
1373 would not allow access based on the group permissions if the user
1374 was not a member of the
1375 S-1-5-21-647511796-4126122067-3123570092-2565 group. Because this
1376 group SID not reported in a user's token is S-1-22-2-782, Windows
1377 would fail the authorization check even though both SIDs in some
1378 respect referred to the same Unix group.
1380 The current workaround is to create a manual domain group mapping
1381 entry for the group 'developers' to point at the
1382 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
1388 The "passdb backend" parameter no long accepts multiple backends
1389 in a chaining configuration. Also be aware that the SQL and XML
1390 based passdb modules have been removed in this release. More
1391 information of external support for a SQL passdb module can be
1392 found at http://pdbsql.sourceforge.net/.
1395 Group Mapping Changes
1396 =====================
1398 The default mapping entries for groups such as "Domain Admins" are
1399 no longer created when using an smbpasswd file or a tdbsam passdb
1400 backend. This means that it is necessary to use 'net groupmap
1401 add' rather than 'net groupmap modify' to set these entries.
1402 This change has no effect on winbindd's IDmap functionality for
1409 There has also been a minor update the Samba LDAP schema file. A
1410 substring matching rule has been added to the sambaSID attribute
1411 definition. For OpenLDAP servers, this will require the addition
1412 of 'index sambaSID sub' to the slapd.conf configuration file. It
1413 will be necessary to run slapindex after making this change. There
1414 has been no change to actual data storage schema.
1417 ######################################################################
1424 Parameter Name Description Default
1425 -------------- ----------- -------
1426 acl group control Deprecated No
1427 add port command New ""
1428 change notify timeout Changed Scope
1429 dmapi support New No
1430 dos filemode Modified No
1431 enable asu support Changed default No
1432 enable core files New Yes
1433 enable privileges Changed default Yes
1434 enable rid algorithm Removed
1435 fam change notify New Yes
1437 host msdfs Changed default Yes
1438 msdfs root Changed default Yes
1439 open files database hash size New 10007
1440 passdb expand explicit Changed default No
1441 strict locking Changed default auto
1442 usershare allow guests New No
1443 usershare max shares New 0
1444 usershare owner only New Yes
1445 usershare path New ${lockdir}
1446 usershare prefix allow list New ""
1447 usershare prefix deny list New ""
1448 usershare template share New ""
1449 winbind enum users Changed default No
1450 winbind enum groups Changed default No
1451 winbind nested groups Changed default Yes
1452 winbind offline logon New No
1453 winbind refresh tickets New No
1454 winbind max idle children Removed
1455 wins partners Removed
1458 Changes since 3.0.22
1459 --------------------
1463 o Jeremy Allison <jra@samba.org>
1464 * Fixes for various Klocwork defect reports.
1465 * Cleanup pdb_get_XXX() methods and ensure that a failure
1466 to allocate memory for a samu user structure is reported
1467 as a failure to the calling function.
1468 * Fix memleak in printing gencache contents.
1469 * Fix warnings reported by gcc4 -O6 on 64-bit systems
1470 * Fix naming conflicts with 'net usershare' structures and
1471 Solaris header files.
1472 * Fix memleaks on error paths from the ASN.1 parsing code.
1473 * Add uid to share_mode_entry structure so we can report who
1475 * Ensure we use sys_write in password chats so we're not
1477 * Ensure all new rid allocation goes through the same pdb_ldap
1479 * BUG 3308: Stop us returning duplicate mid replies on path
1480 based set-EOF trans2 calls.
1481 * Pass RAW-OPLOCK with kernel oplocks off.
1482 * Fix bug in OS/2 Warp - it doesn't set the ff_last offset
1483 correctly when doing info level 1 directory scans.
1484 * Add Samba4 replacement for timegm() to work on Solaris.
1485 * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
1486 * BUG 3592: Ignore a file in the tar output from smbclient if the
1487 read failed (e.g. due to ACCESS_DENIED). (Based on ideas from
1488 Justin Best <justinb@pdxmission.org>).
1489 * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
1490 * Push/Pull Kerberos principal and realm names to/from UTF-8.
1491 * Fix incorrect boolean in assert to make POSIX lock tests
1493 * Don't ever set O_SYNC on open unless "strict sync = yes".
1494 * Remove dead printing code.
1495 * Allow configurable guest access to Samba's usershare functionality.
1496 * BUG 3587: Make byte-range locking tdb self-cleaning.
1497 * Ensure every exit error path in the session setup code calls
1499 * Use portable wrapper functions instead of seteuid directly in
1501 * Make "change notify timeout" a per-share parameter.
1502 * Fix regression in SAMBA_4_0's smbtorture DENY tests.
1503 * Fix valgrind-spotted issue in BASE-DELETE test.
1504 * Fix early termination condition in winbindd when trying to
1505 connect to a remote DC.
1506 * Instruct winbindd to ignore fd_set when select() returns -1.
1507 * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
1508 with select returning true but no data being available.
1509 * Back port talloc_steal() fixes from SAMBA_4_0 (original fixes by
1511 * BUG 3467: Fix delete on close semantics needed by WinXP Media
1512 Center Ed. for simultaneous recording and playback (thanks to
1513 Jason Qian for the debugging assistance).
1514 * BUG 3347: Save the Unix user token used to set the
1515 delete-on-close flag.
1516 * Fix parsing of SAMR_Q_CONNECT_ANON.
1517 * Add in support for userinfo26 structure and re-enable
1519 * Schannel server fixes. Fix the credentials chaining across
1520 \netlogon pipe disconnects.
1521 * Replace ubqix code in nmbd with an internal tdb.
1522 * Fix struct timespec checks in configure.in.
1523 * Add in server support for the NetSamLogonEx().
1524 * Add support for LsaLookupSids2() and LsaLookupSids3().
1525 * Add LsaLookupNames[2-4]().
1526 * Add support for 'net usershare'.
1527 * BUG 3522: Fix error code return on SMBmkdir(foo) when foo
1528 already exists (thanks to Sandeep Tamhankar).
1529 * BUG 3510: Fix 'net rpc join' against a server when
1530 schannel is disabled.
1531 * Get rid of poor errno mapping table. Bounce through NTSTATUS
1533 * Check for SeMachineAccountPrivilege when deleting machine
1535 * Fix a logic bug with multiple oplock contention.
1536 * Add the replacements for opendir/readdir etc from SAMBA_4_0.
1537 Attempt to fix the broken directory handling in the *BSD.
1538 * Allow run time tuning of the locking tdb hash size for
1540 * BUG 3642: Ensure we don't call FD_SET on read with
1542 * BUG 3569: Work around linear posix locking issue on AIX
1543 which was causing high loads due to the tdb CLEAR_IF_FIRST
1544 flag (based on work from William JoJo).
1545 * Fix OS/2 directory delete bug found by kukks.
1546 * Match the Windows 2003 NTLMSSP signature.
1547 * Performance tuning work in core read & write file serving
1549 * Change default to 'strict locking' to better reflect
1551 * Fix error return on session setup. Ensure no data blob is
1552 added if the logon call failed so that Windows clients
1553 interpret the NT_STATUS code correctly.
1554 * Teach Samba the difference between exclusive and batch
1556 * BUG 3592: Ignore a file in a smbtar output if the first
1557 read fails (inspired by Justin Best).
1558 * BUG 3668: Workaround Windows bug with LARGE_READX where if
1559 you ask for exactly 64k bytes it returns 0.
1560 * BUG 3858: Ensure that all files are removed by a wildcard
1561 delete when 'hide unreadable = yes'.
1562 * Fix various issues raised by the Klocwork code analyzer.
1563 * Fix nmbd WINS serving bug causing duplicate IPs in the *<1b>
1564 query reply ("enhanced browsing = yes").
1565 * Fix SMB signing failures in client tools.
1566 * BUG 3909: Avoid EA lookups on MS-DFS links.
1569 o Andrew Bartlett <abartlet@samba.org>
1570 * Work around abort() in the OpenLDAP client libs caused by a NULL
1574 o Timur Bakeyev <timur@com.bat.ru>
1575 * BUG 2961: Fix compile warnings for pam_smbpass.
1576 * BUG 2746, 3763: Fix compile warnings in pam_winbind.
1579 o Alexander Bokovoy <ab@samba.org>
1580 * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
1581 * Fix absolute symlinks in the installbin.sh script.
1584 o Max N. Boyarov <m.boyarov@sam-solutions.net>
1585 * Fix crash bug in perfmon daemon example code.
1588 o Nicholas Brealey <nick@brealey.org>
1589 * Compile fix for pam_winbind.
1592 o Gerald (Jerry) Carter <jerry@samba.org>
1593 * Fix 'make install' problem when building outside source/.
1594 * Fix 'net ads join' when the workgroup is set incorrectly in
1596 * Re-add code to include the BUILTIN\Administrators SID when
1597 winbindd is not running, but the user's token includes the
1598 Domain Admin SID. Fixes access problem for managing Services.
1599 * Only call the printer publishing calls if 'security = ads'.
1600 * Normalize printing keys when deleting.
1601 * Only store LANMAN passwords on a change if 'lanman auth = yes'.
1602 * Look at the NT password (not lanman one) when determining if 'smbpasswd
1603 -e' should probably for a password.
1604 * Default eventlog tdbs to mode 0660 to allow easier access by
1605 BUILTIN\Administrators.
1606 * Remove extra call to create_user on member servers without winbindd.
1607 * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating
1608 AD DC's with out own DNS SRV queries.
1609 * Fix compile error on HP-UX reported by Ryan Novosielski.
1610 * Rewrite 'net ads join' to share common code with 'net rpc join'
1611 and behave more like a Windows XP client.
1612 * Remove --with-ldapsam option from configure (only used for
1613 backwards compatibility for 2.2 smb.conf files).
1614 * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
1615 * Remove rhosts authentication module.
1616 * Reimplement 'net ads leave' to disable the machine account in the
1617 domain rather than removing it.
1618 * Rewrite of tdbsam file descriptor handling.
1619 * Add server affinity support when selecting a remote
1621 * Remove chaining of passdb modules.
1622 * Generate a local users primary group SID based on his
1623 or her primary Unix group rather than storing the attribute
1624 in the passdb entry.
1625 * Default primary group SID to 'Domain Users' if the real Unix
1626 primary group maps to the S-1-22-2 domain.
1627 * Refactor memory management in passdb user objects.
1628 * RHEL and Fedora packaging fixes.
1629 * Implement XcvDataPort() spooler call and supporting 'add
1631 * BUG 3534: Ignore lines in the username map file with no right
1633 * Add support for the experimental %(DomainSID) smb.conf
1635 * Add support for parsing SIDs in smb.conf value lists.
1636 * Fix vuid allocation in Kerberos SMBsesssetup reply.
1637 * Ensure that local group membership is included in the
1638 getgroups() NSS reply.
1639 * Automatically create a BUILTIN\{Administrators,Users} if
1640 winbindd is running.
1641 * Automatically grant all privileges to members of the local
1642 Administrators group.
1643 * Protect against NULL cli_state* pointers in
1644 cli_rpc_pipe_open().
1645 * Add a SUBSTR matching rule the the Samba LDAP schema
1646 file for the sambaSID attribute. This will allow for
1647 Searching group mapping entries within a given domain
1648 without reorganizing the directory namespace. Also
1649 requires 'index sambaSID sub' in slapd.conf.
1650 * Fix parsing of 'idmap uid/gid' values that broke when
1651 the range included any whitespace.
1652 * Support renaming local groups (protect against renaming
1654 * Do not allow the root account to be deleted via MS-RPC.
1655 * Fix RID allocation to skip over RIDs that resolve in our
1656 own domain (work around upgraded users and groups).
1657 * Store the name/ip address combination when we do a reverse
1658 look up in case future forward lookups would fail.
1659 Fixes cases where a DC name could not be resolved via
1661 * Allow winbindd to run on standalone servers in order to
1662 provide support for local groups.
1663 * Deprecate 'acl group control' and replace it with added
1664 functionality to 'dos filemode'.
1665 * Ensure that all global memory is freed from pam_winbind
1666 when unloading the shared library (based on work from Arkady
1668 * Fix 32-bit/64-bit portability issues between PAM & NSS winbind
1669 libraries and winbindd.
1670 * Add defensive checks about create local accounts (i.e. calling
1671 'add user script') on domain member servers when winbindd
1672 is running but having problems.
1673 * Use system provided killproc() in RedHat init scripts for
1674 more robust shutdown.
1675 * Fix a crash in the printer publishing code when adding a
1676 new printer via the APW.
1677 * Fix broken compile of unsupported smbwrapper utility.
1678 * BUG 3905: Fix smbd startup failure caused by a failure to
1679 create an NT token for the guest account.
1680 * BUG 3908: Fix RPC bind authentication failure which broke
1681 user password changes.
1682 * Ensure that "net ads join" reports failure correctly if
1683 it cannot set the machine account password.
1686 o Mathias Dietz <MDIETZ@de.ibm.com>
1687 * EPERM can be a valid return from getting an xattr.
1688 Don't disable if we get it.
1691 o Guenther Deschner <gd@samba.org>
1692 * Fix memleaks in winbindd ads searches.
1693 * Fix timestamp bug in pam_winbindd which forced users to change
1694 passwords prematurely.
1695 * Small debug message cleanups.
1696 * Small fixes for 'net ads password'.
1697 * BUG 3843: Allow to set passwords directly when creating users
1698 via "net rpc user add"
1699 * Add "rpc shell" to the usage text for the net command.
1700 * Winbindd user aliases lookup fixes for large domains.
1701 * Fix memleak in the CLDAP processing code.
1702 * Enable AD features in winbindd's PAM support only when
1703 communicating with an AD domain controller.
1704 * Set our internal domains to "online" by default in winbindd.
1705 * BUG 3800: Fill the password_policy method in winbindd for
1707 * Fix memory leak when LDAP POSIX attribute queries fail.
1708 * Honor the krb5 principal name change (of the new ads join code)
1709 in the kerberized winbind pam_auth.
1710 * Correctly handle the case when there is no configuration file
1712 * Adding "own-domain" switch to wbinfo which is handy from time
1714 * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
1715 * Fix winbindd group enumeration for groups with no members.
1716 * Correct "net ads changetrustpw" to use the sAMAccountName.
1717 * Fix winbindd in ADS domains by removing code using the
1718 UPN and rely upon the sAMAccountName.
1719 * Fix a eDir related memory leak.
1720 * Don't try to add the sn attribute twice to an LDAP
1721 inetOrgPerson + samSamAccount entry.
1722 * Fix winbind function table typo.
1723 * Attempt to send the correct warning from pam_winbind when a password
1724 change was attempted too early.
1725 * Don't use cached credentials when changing passwords.
1726 * Correctly disallow unauthorized access when logging on with the
1727 kerberized pam_winbind and workstation restrictions are in effect.
1728 * Save useless round trips in pam_winbind's auth calls.
1729 * Make the existence of the /etc/security/pam_winbind.conf file
1730 non-critical and fallback to only parse the argv options in that
1732 * Add winbind debug class to the main winbindd process.
1733 * Be consistent between rpc and ads winbind backend: let the
1734 ads backend query the samlogon cache first as well.
1735 * Ignore BUILTIN groups when searching AD for group memberships.
1736 * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
1737 * Cleanup credential caches from winbind's linked list.
1738 * Fix 'winbindd -n' for new persistent caches.
1739 * Fix searching by SID in winbindd.
1740 * Add "smbcontrol winbind onlinestatus" for debugging purpose.
1741 * Prefer to use the indexed objectCategory attribute (instead of
1742 objectClass which is not indexed on AD) in LDAP queries.
1743 * Free LDAP result in ads_get_attrname_by_oid().
1744 * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
1745 * Prevent passwords of winbindd's list of credential caches from
1746 being swapped to disk using mlock().
1747 * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to
1748 support the plain posix attributes LDAP schema from win2k3-r2
1749 (based on patches from Howard Wilkinson and Bob Gautier).
1750 * Add more robust code for fallback when lookup_usergroups() fails.
1751 * Fix 'net rpc join' for winbindd running on a Samba DC.
1752 * Add help text for new 'net rpc audit' utility.
1753 * Add net ads search SID.
1754 * samrQueryDomainInfo level 5 should return the domain name, not our
1755 NetBIOS name when we are a DC.
1756 * Add some more client rpc for the querydominfo calls (from samba4 idl).
1757 * Process all the supported info levels in the samr_query_domain_info2
1759 * Wrap the samr_query_domain_info2() call around
1760 samr_query_domain_info().
1761 * Fix segv in smbctool.
1762 * Honor the time_offset also when verifying Kerberos tickets.
1763 * Prevent unnecessary longstanding LDAP connection to eDirectory.
1764 * Fix segv in smbspool.
1765 * BUG 1914: Allow to store 24 password history entries in ldapsam.
1766 * Enhancements to various commands in rpcclient
1767 * Don't force 'Administrator' to change an expired password on
1769 * Add support for offline mode in winbindd.
1770 * Provide support in pam_winbind for initializing a user's
1772 * Implement samr_chgpasswd_user3 server-side.
1773 * Make pam_winbind more robust when detecting domain users.
1774 * Add client side support for SAMR_GET_USRDOM_PWINFO.
1775 * Re-enable strict checking on C++ reserved keywords since Heimdal
1776 0.7.2 has been released.
1777 * Allow renaming of machine accounts in a Samba domain.
1778 * BUG 3539: Let winbindd try to obtain the gecos field from
1779 the msSFU30Gecos attribute when "winbind nss info = sfu" is
1781 * Correctly handle acb_info/acct_flags as uint32 not as uint16.
1782 * Return the real ACB-flags in the SamLogon() reply.
1783 * Some client side cleanup for the samr set security object
1785 * Make sure we always reset the userAccountControl bits when
1786 re-joining (net ads join) with an existing account.
1787 * Document some more MSV1_0 bits and their behavior.
1788 * Only set the last rebind timestamp when we did rebind
1789 after a update LDAP operation to avoid the ldap replication
1791 * Fix incorrect error checking in winbindd for domains with
1793 * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3
1795 * Work around crash bug in MIT krb5 libs when reading a
1796 keytab file. Stop trying to decrypt a ticket as soon as
1797 we have a clear indication that the ticket is bad.
1798 * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
1799 * Adding client side samr querygroup infolevels 2 & 5.
1800 * Make smbpasswd -a root work for eDirectory where there
1801 is no "account" structural objectclass.
1802 * Make sure we only send out a CLDAP request (net ads) to
1803 an connected AD server.
1804 * Fix a broken LDAP search filter when looking for groups.
1805 * Add in-tree version of iniparser library from
1806 http://ndevilla.free.fr/iniparser/ for use by pam_winbind
1807 (rather than linking in loadparm.c). Settings are now stored
1808 in /etc/security/pam_winbind.conf.
1809 * Fix different extended_dn handling in adssearch.pl
1810 (Thanks to Frederic Brin at Novell).
1811 * Fix a memleak in winbindd's credentials cache.
1812 * Protect against crashes in CLDAP request processing.
1813 * Remove incomplete DfsEnum() info level to avoid an smbd crash.
1816 o Aleksey Fedoseev <fedoseev@ru.ibm.com>
1817 * Fix parameter type for 'acl compatibility'.
1818 * Fixes for msgtest torture tool.
1819 * Fix crash bug in the file locking code.
1822 o Arek Glabek <aglabek@centeris.com>
1823 * Fix parsing error on input parameters in eventlogadm.
1826 o Paul Green <paulg@samba.org>
1827 * Properly rebuild time limit on systems with executable extensions.
1828 * Fix build on platforms that do not support shared libs.
1829 * Remove dead code in the auth_script module.
1832 o Bjoern Jacke <samba@j3e.de>.
1833 * Fix DMAPI compile failures on AIX and True64.
1834 * Fix AIX PIC suffix (use .o instead of .po).
1835 * Fall back to less-preferred clocks until we find one that we
1836 can use if clock_gmtime() is not available at run-time.
1837 * Fix EA support on AIX platforms.
1838 * Automatically disable file shares with no explicit path set.
1839 * Remove the local hack to set the RO bit on directories in
1840 user profiles when profile acls = yes. Rely on EAs instead.
1841 * Compile fixes for Solaris LDAP client libs.
1842 * Add DMAPI/XDSM support for AIX.
1843 * Find JFS DMAPI libs on Linux when only they are available.
1846 o William Jojo <jojowil@hvcc.edu>
1847 * Fixes for the winbind NSS library on AIX.
1848 * Fix VFS builds on AIX platforms.
1849 * Fixes for the AIX version of libnss_winbind.so
1852 o Leonid Kabanov <lkabanov@mail.ru>
1853 * BUG 3711: Shell portability fixes for 'make test'.
1856 o Volker Lendecke <vl@samba.org>
1857 * Fixes for various Klocwork defect reports.
1858 * Fixes for various Coverity defect reports.
1859 * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
1860 * Fix more potential seg-faults when something on our way to a
1861 DC connection fails.
1862 * Never fall back to using the IP address for a DC's name in RPC
1864 * Implement recycle:subdir_mode.
1865 * Activate RPC-AUTHCONTEXT in "make test".
1866 * Portability fixes for 'make test'.
1867 * Correctly set the group RID in init_sam_from_buffer.
1868 * Fix missing prompt in smbclient.
1869 * Return correct error code upon success from _net_srv_pwset().
1870 * Fix Windows XP joins to a Samba domain.
1871 * Fix 'valid users = +unixgroup' which was failing with smbpasswd
1872 when mapped to a non-algorithmic rid.
1873 * Fix regression which upper-cased machine names passed to the
1874 'add machine script'.
1875 * Correct parsing error in parse_net.c for user's with no group
1877 * Fix off by one error in client SPNEGO code and other klocwork
1879 * Memory leak fixes in 'net sam'.
1880 * BUG 3720: Fix uninitialized error return variable.
1881 * Default "passdb expand explicit" to no.
1882 * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
1883 * Fix user NT token creation when utilizing a username map.
1884 * More coverity fixes.
1885 * Fix a VUID bug in 'security = share'.
1886 * Correctly fill in the gid for local users.
1887 * Fix some warnings on True64.
1888 * Add special close handling for fake files.
1889 * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
1890 * BUG 3435: Fix 'msdfs root = yes' in [homes].
1891 * Instruct winbindd to find a trusted DC on its own when running on
1893 * Fix segv in child winbindd processes caused by a failed tconX
1895 * Dynamically compute the maximum password age based no the
1896 last change time rather than reading the must change time
1897 from the passdb record.
1898 * Rewrite mechanisms for handling lookup_{name,sid} resolution.
1899 * Assign unmapped users to the S-1-22-1 domain and unmapped
1900 groups to the S-1-22-2 domain
1901 * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
1902 * Remove sql passdb backends.
1903 * Implement rpccli_samr_set_domain_info()
1904 * Add initial support for 'net sam' command.
1905 * BUG 2413: Remove anonymous connections in 'net rpc info'.
1906 * Implement asynchronous support for trans2 calls.
1907 * Make smbclient -L use RPC to list shares, fall back to RAP.
1908 * Ensure that the global SAM SID is initialized before any
1909 dependent routines are called.
1910 * Enhance consistency checks on local configuration when joining
1912 * Fix a memleak in the server registry code for enumeration
1914 * Fix an invalid munlock() call in winbindd's credentials cache.
1915 * Fix compile warnings when passing NULL to snprintf().
1916 * BUG 3915: Fall back to a pure unix user with S-1-22 SIDs in the
1917 token in case anything weird is going on with the 'force user'.
1918 * CVE-2006-3403: Fix minor memory exhaustion DoS in smbd.
1921 o Derrell Lipman <derrell@samba.org>
1923 * BUG 3814: Only set the DFS capability flag in client requests
1924 if the share is a DFS root.
1925 * Fix bug causing previous settings to be re-initialized
1926 when parsing new configuration files.
1927 * BUG 3446: Don't ignore the authentication domain when parsing
1929 * Fix cli_setpathinfo() to actually do what it's supposed to.
1930 * Fix libsmbclient to make correct use of the new "one connection
1931 per server feature".
1934 o Jason Mader <jason@ncac.gwu.edu>
1935 * Numerous compiler warning fixes.
1938 o John E. Malmberg <wb8tyw@qsl.net>
1939 * Make smbldap obey config tests.
1942 o Jim McDonough <jmcd@us.ibm.com>
1943 * Fixes for 'make test' on AIX.
1944 * Ensure we do a wildcard search for SID's starting with the global SAM
1945 sid, not an exact search (from John Janosik).
1946 * Adapt smbclient fix to smbtree to enable long share names.
1947 * Prevent machines and users with no home directory from
1948 getting the previous entries home path when migrating via
1949 'net rpc vampire' (based on a patch from Richard Renard).
1950 * Remove hard-coded LDIF names when dumping a migrated
1951 domain's users and groups.
1952 * BUG 1374: Can't join an OU with name that contains '#'.
1955 o Stefan Metzmacher <metze@samba.org>
1956 * Add more tests to 'make test'.
1957 * Try to make timelimit.c more portable.
1958 * Fix linking of smbmount tools with --enable-socket-wrapper.
1959 * Pass 'target:samba3=yes' to samba4's smbtorture when running
1961 * Miscellaneous fixes for 'make test'.
1962 * Add improved support for 'make test' including making
1963 use of smbtorture from SAMBA_4_0.
1964 * Add --no-process-group to all server programs
1965 (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
1966 * Add configure tests --with-selftest-prefix=/tmp/samba-test
1969 o Lars Müller <lmuelle@samba.org>
1970 * Fix lock calls in the python tdb bindings.
1971 * Add -k switch to tdbdump for accessing a single key.
1972 * Debian packaging fixes.
1973 * Add -t|--password-from-stdin option to pdbedit as we had
1975 * Various minor fixes to install scripts used by 'make install'.
1978 o James Peach <jpeach@sgi.com>
1979 * Ensure smbclient always prompts on standard output when in
1981 * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
1982 * Introduce command line options to set the remainder of the
1983 parameters in dynconfig.c.
1984 * Avoid pulling in -lpthreads caused by -lrt.
1985 * Fix build failures on IRIX 6.4 due to DMAPI support.
1986 * Isolate the slow CLOCK_REALTIME message in the profiling code.
1987 * Correct comparison logic so that libunwind can be correctly detected.
1988 * Implement a "stacktrace" smbcontrol option using libunwind's remote
1989 stack tracing support (ia64 only).
1990 * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
1991 of long group lists.
1992 * New autoconf macro to test for sysconf variables.
1993 * Change profiling data macros to use stack variables rather than
1994 globals. This catches mismatched start/end calls and removes
1995 the need for special nested profiling calls.
1996 * Rewrite AC_LIBTESTFUNC so that it works like the callers
1998 * Use clock_gettime for profiling timstamps if it is available. Use
1999 the fastest clock available on uniprocessors.
2000 * Preserve errno in fcntl lock wrappers.
2001 * Initialize our saved uid and gid so that we can tell when we
2002 created the profiling shmem segment and don't bogusly refuse to
2004 * Add a new option "enable core files" which can be used to disable
2005 automatic core file dumping.
2006 * Update our internal copy of popt to that distributed with the RPM
2008 * Add support for FAM for file change notification.
2009 * Disable sendfile if the 'write cache;' has been enabled.
2010 * Refactor capability interface from being IRIX-specific to
2011 using only the POSIX interface.
2012 * Consolidate core dumping code to aid in debugging.
2013 * Add support for libunwind to generating a backtrace.
2014 * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
2015 and --without-ads are specified.
2016 * Allow the user to set winbind nss timeouts in seconds on IRIX.
2017 * Set the FILE_STATUS_OFFLINE bit by observing the events
2018 a DMAPI-based HSM is interested in.
2021 o Tim Potter <tpot@samba.org>
2022 * Build janitorial duties.
2023 * BUG 3725: Put references to $PICFLAGS in quotes.
2026 o Aruna Prabakar <aruna.prabakar@hp.com>
2027 * Show -W option in smbpasswd usage text.
2030 o ISHIKAWA Tomonori <toishika@fsi.co.jp>
2031 * BUG 2715: Fix nmbd datagram comment buffer size for multibyte
2036 * Correct syntax error in aclocal.m4.
2039 o Simo Sorce <idra@samba.org>
2040 * Pam modules install fix.
2041 * Allow "net changesecretpw" to accept a password via stdin.
2042 * Implement 'net setdomainsid' command.
2043 * Ensure that sid -> group conversion are done as root.
2044 * BUG 3413: Sanity check for existence of 'ldap admin
2045 dn' before setting a password in secrets.tdb (based on
2046 work by William Jojo).
2047 * New revision of the snprintf replace code.
2048 * Set the correct sid type when looking up a gid.
2051 o Todd Stecher <tstecher@isilon.com>
2052 * Add TCP fallback for our implementation of the CHANGEPW
2056 o Ronan Waide <waider@waider.ie>
2057 * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam()
2061 o Shlomi Yaakobovich <Shlomi@exanet.com>
2062 * Fix for machine password time_t overflow.
2065 --------------------------------------------------
2066 ==============================
2067 Release Notes for Samba 3.0.22
2069 ==============================
2071 This is a security release of Samba. The Samba 3.0.21 release
2072 series (including the patch releases a through c) has been
2073 discovered to expose the clear text of the server's machine
2074 account credentials in the winbind log files when the log
2075 level is set to 5 or higher. This defect has been assigned
2076 the CVE number CAN-2006-1059.
2081 The machine trust account password is the secret shared
2082 between a domain controller and a specific member server.
2083 Access to the member server machine credentials allows
2084 an attacker to impersonate the server in the domain and
2085 gain access to additional information regarding domain
2088 The winbindd daemon included in Samba 3.0.21 and subsequent
2089 patch releases (3.0.21a-c) writes the clear text of server's
2090 machine credentials to its log file at level 5. The winbindd
2091 log files are world readable by default and often log files
2092 are requested on open mailing lists as tools used to debug
2093 server misconfigurations.
2095 This affects servers configured to use domain or ads security
2096 and possibly Samba domain controllers as well (if configured
2101 --------------------------------------------------
2103 ===============================
2104 Release Notes for Samba 3.0.21c
2106 ===============================
2108 Common bugs fixed in 3.0.21c include:
2110 o Access checks when deleting printer driver meta-data.
2111 o Several non-default combinations schannel and SPNEGO support.
2112 o Password changes with NT4 and Win2k pre-SP4 clients.
2113 o High load issues on IRIX caused by a bug when interfacing
2114 with kernel oplocks.
2117 ######################################################################
2121 Changes since 3.0.21b
2122 ---------------------
2126 o Michael Adam <ma@SerNet.DE>
2127 * Add popt to the include path for examples/VFS.
2130 o Jeremy Allison <jra@samba.org>
2131 * Fix bug in the USC2 macros on big-endian CPUs.
2132 * Filter deleted oplocks from the output of smbstatus.
2133 * Remove invalid test check_for_pipe().
2134 * BUG 3515: Fix kernel oplock support on IRIX.
2135 * BUG 3522: Fix return value for mkdir request when the directory
2137 * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna
2139 * BUG 3330: Fix username parsing in Kerberos PAC (based on work
2141 * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto"
2142 resulting in a client disconnect after negprot.
2143 * BUG 3510: Fix 'net join' against a server with client schannel
2145 * Fix negprot bug causing a 2k client with cached domain
2146 credentials to refuse to connect to a standalone Samba host.
2147 * Ensure that the correct error is checked when encountering a
2148 socket error (fixes crashes in winbindd).
2151 o Andrew Bartlett <abartlet@samba.org>
2152 * Fix domain joins from NT4 clients and password changes.
2155 o Richard Bollinger <rabollinger@gmail.com>.
2156 * Compile fix in pdbedit.
2159 o Gerald (Jerry) Carter <jerry@samba.org>
2160 * Break RHEL/Fedora packaging out to include a samba-docs rpm.
2161 * Remove use of /var/cache/samba from RHEL/Fedora packaging.
2162 * Fix bug in loadparm.c that caused builtin services to be also
2163 listed as external services (e.g. Spooler, NETLOGON, etc..).
2164 * Fix bug in the samr dispinfo enumeration code.
2165 * Add earlier checks to deny deleting a printer driver meta-data.
2168 o Guenther Deschner <gd@samba.org>
2169 * Add Account Policy LDAP attributes for eDirectory schema.
2172 o William JoJo <jojowil@hvcc.edu>
2173 * BUG 1870: Make nmblookup do a node status on all IP's when
2175 * BUG 2353: Fix clitar -F processing.
2178 o Volker Lendecke <vl@samba.org>
2179 * Fix the build for --with-aio-support.
2180 * Fix remote password changing if password must change is set.
2181 * Fix rpcclient to obey the -W parameter.
2182 * Fix segv in smbmount and the profiles tool.
2183 * Fix typo in pdbedit help text (reported by Karolin Seeger).
2187 * Honour the $(DESTDIR) Makefile variable when installing
2191 o Jason Mader <jason@ncac.gwu.edu>
2192 * Compiler warning fixes.
2195 o Lars Müller <lmuelle@samba.org>
2196 * Fix python build with older python versions.
2197 * Update dhcp.conf files in Debian packaging
2198 * SWAT welcome file updates
2199 * Compiler warning fixes.
2200 * Add .2 to the SONAME as version suffix if we link the nss
2202 * Add -t|--password-from-stdin option to pdbedit.
2205 o James Peach <jpeach@sgi.com>
2206 * Continue not enabling valgrind on 64-bit Linux.
2209 o Tim Potter <tpot@samba.org>
2210 * Remove unused #defines.
2213 o Simo Sorce <idra@samba.org>
2214 * Debian packaging updates.
2217 o Qiao Yang <qyang@stbernard.com>
2218 * Make sure to refresh the timestamp on entries in the failed
2219 connection code in winbindd.
2222 --------------------------------------------------
2223 ===============================
2224 Release Notes for Samba 3.0.21b
2226 ===============================
2228 Common bugs fixed in 3.0.21b include:
2230 o Server crashes in smbd.
2231 o Compile issues on 64-bit platforms.
2232 o Crash bugs on big-endian systems.
2233 o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
2234 o Over 30 bugzilla reports closed.
2237 ######################################################################
2241 Changes since 3.0.21a
2242 ---------------------
2246 o Jeremy Allison <jra@samba.org>
2247 * Fix the SAMR cache across handles opens and closes.
2248 * Re-add the talloc_describe_all() function for reporting pool
2250 * Merge talloc license change from Samba 4.
2251 * Fix 64-bit compile warnings reported by gcc.
2252 * Add the share path into the sharemode db.
2253 * Consistency fixes: Remove use of uint8_t -> uint8.
2254 * BUG 3346: Fix crash bug in big-endian boxes by linearizing
2255 structure when passing through the messaging API.
2256 * BUG 3421: Fix segv in the Kerberos key tab code (Thanks to
2258 * Force smbd to exit if the guest account internal setup fails.
2259 * BUG 3419: vfs_full_audit fixes for multiple connections.
2260 * Ensure SWAT lists running processes.
2261 * Fix NTLMv2 interoperability bug between Samba servers.
2262 * Oplock break logic fixes.
2265 o Andrew Bartlett <abartlet@samba.org>
2266 * BUG 3401: Fix crash bug caused by incorrect handling of weak
2267 session keys. Based on original patch from Yau Lam Yiu.
2270 o Alexander Bokovoy <ab@samba.org>
2271 * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from
2275 o Stefan Burkei <stefan@burkei.de>
2276 * BUG 3248: When doing auth_crap authentication use the client
2277 given workstation name not our own.
2280 o Gerald (Jerry) Carter <jerry@samba.org>
2281 * Fixing net rpc registry enumerate from overwriting the open
2283 * BUG 3380: fix crash when changing printer drivers.
2284 * BUG 3391: ensure we can lookup account policies for failed
2286 * Adding query/set ops for security descriptors on services.
2287 * BUG 3329: Solaris packaging fixes.
2288 * Better formatting for smbstatus output (based on patch from
2290 * Hook the max connections spin box in the share properties
2291 MMC plug-in dialog to the 'max connections' smb.conf parameter
2292 and the 'modify share command' option.
2293 * Work around building libnss_winbind.so on Solaris when
2294 --enable-developer is specified.
2295 * Add vendor patch level string to VERSION.
2296 * Consolidate packaging for RHEL4 and Fedora based on initial
2300 o Albert Chin <@thewrittenword.com>
2301 * BUG 3374: Build failures on True64.
2304 o Guenther Deschner <gd@samba.org>
2305 * Fill in samr_get_dom_pwinfo based on Samba4.
2306 * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
2307 * Fixes for adssearch.pl example script.
2308 * Prevent 'net rpc' from dumping clear text password at high log
2309 levels unless built with DEBUG_PASSWORD.
2310 * Fix 'net ads user add' with a Windows 2003 SP1 DC.
2312 * Fix segfault in pdb_nds.c.
2313 * Don't write null sid mappings into the winbindd_cache.tdb.
2314 * Save sid_to_name lookup result in winbindd already after doing
2315 a successful name_to_sid.
2316 * BUG 3390: Fix segfault in "net rpc vampire|samdump".
2317 * BUG 1524, 3205: Support changing expired passwords in
2319 * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
2320 * BUG 3264: Allow idmap_ad to load as 'ad'. Cleanup the way
2321 idmap modules are build and loaded, idmap_rid now will have
2322 to be loaded without prefix, just "rid".
2323 * Prevent cli_krb5_get_ticket of getting into an infinite loop.
2326 o Andrew Esh <Andrew_Esh@adaptec.com>
2327 * BUG 1061: Fix nmbd to correctly the path to an lmhosts files
2328 specified on the command line with -H.
2331 o SATOH Fumiyasu <fumiya@samba.gr.jp>
2332 * End profile fixes.
2333 * BUG 3348: Don't assume owning sticky bit directory means
2334 write access allowed.
2335 * Fix double free in on failure path in POSIX acl code.
2338 o Andriy Gapon <avg@icyb.net.ua>
2339 * BUG 3458: Fix crash bug in smbd and winbindd caused by
2340 accessing freed memory.
2343 o Björn Jacke <bj@sernet.de>
2344 * Configure check for Tru64 EA functions (not yet implemented).
2345 * Find Tru64 AIO lib in configure.
2346 * Cut-n-paste fixes in configure.in.
2349 o John Janosik <jpjanosi@us.ibm.com>
2350 * IBM Tivoli Directory Server schema updates.
2353 o Michael James <michael@james.st>
2354 * sid2string fix in adssearch.pl.
2357 o William JoJo <jojowil@hvcc.edu>
2358 * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
2359 * BUG 3389: Failures on AIX in linking smbd when the symbol
2360 table for ld exceeds 65536 bytes.
2361 * Add -W to smbpassword so that the ldap admin dn password does
2362 not have to be specified on the command line.
2363 * BUG 3408: Fix for external password change programs on AIX.
2364 * BUG 1779: 64-bit compile fixes.
2367 o Martin Koeppe <mkoeppe@gmx.de>
2368 * BUG 3287: Match SFU behavior for dev/inode numbers.
2371 o Volker Lendecke <vl@samba.org>
2372 * BUG 3291: Fix valgrind error in client connection code.
2373 * BUG 3292: Prevent smbclient from spinning if server terminates
2375 * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient
2376 connection alive smbclient.
2377 * Add lookupname to rpcclient query_user as a fallback, we now
2378 accept both rid and username.
2379 * Introduce yet another copy of the string_sub function:
2380 talloc_string_sub use by AFS token code in winbindd.
2381 * BUG 3351: pdb_mysql again overwrites password fields.
2382 * BUG 3384: Fix segv in tdbtool.
2383 * Use the same CFLAGS for generating the pch as we use to
2385 * Correct typo when compiling the vfs_catia module.
2386 * Fix automatic recreation of a new tdb sam file.
2389 o Derrell Lipman <derrell@samba.org>
2391 * Fix parsing of file times (w_time and m_time were reversed).
2392 * Add additional libsmbclient test programs.
2393 * BUG 3336: Load networks interfaces in libsmbcliebt after parsing
2394 the configuration files.
2395 * Avoid doing a NetBIOS name query for each server and workgroup
2397 * Do not open connection when only looking for cached connection.
2398 * BUG 2651: Add option to log debug messages to stderr instead
2400 * Added flag to not request authentication information.
2401 * Enhancements to smbwrapper example code.
2402 * Replace smbwrapper call to dlopen(/lib/libc...) with direct
2406 o David May <mayd@cygnus.uwa.edu.au>
2407 * BUG 3329: Shell scripting portability fixes on 'make test'.
2410 o Tony Mountifield <tony@softins.co.uk>
2411 * BUG 3327: fix bad access to gencache.tdb after fork() in
2415 o Lars Müller <lmuelle@samba.org>
2416 * BUG 3264: Support backwards compatible setups using
2417 'idmap backend = idmap_rid'.
2418 * Add %w macro for the winbind separator.
2419 * Convert net command to use stderr for error messages rather
2423 o James Peach <jpeach@sgi.com>
2424 * Portability fixes in LDAP code. Don't use non-static array
2426 * Support the TCP_FASTACK socket option if it is available.
2427 * Tell the MIPSPro compiler to push DEBUG calls out of line.
2430 o Makr Proehl <m.proehl@science-computing.de>
2431 * BUG 1336: Print the server role when calling testparm in
2435 o Simo Sorce <idra@samba.org>
2436 * Crackcheck utility enhancement based on patch sent by
2438 * BUG 3405: Fix segv in vfs_recycle module on platforms wither
2439 mode_t is not 32-bits.
2442 o John Terpstra <jht@samba.org>
2443 * RHEL/Fedora spec file patches.
2446 --------------------------------------------------
2447 ===============================
2448 Release Notes for Samba 3.0.21a
2450 ===============================
2452 Common bugs fixed in 3.0.21a include:
2454 o Deadlocks when multiple users access an oplocked file
2458 ######################################################################
2462 Changes since 3.0.21
2463 --------------------
2467 o Gerald (Jerry) Carter <jerry@samba.org>
2468 * RedHat 9 packaging Fixes.
2471 o Guenther Deschner <gd@samba.org>
2472 * eDirectory schema syntax fixes.
2475 o Volker Lendecke <vl@samba.org>
2476 * BUG 3349: Deadlock caused logic error in oplock code.
2478 --------------------------------------------------
2479 ==============================
2480 Release Notes for Samba 3.0.21
2482 ==============================
2484 Common bugs fixed in 3.0.21 include:
2486 o Missing groups in a user's token when logging in via Kerberos
2487 o Incompatibilities with newer MS Windows hotfixes and
2488 embedded OS platforms
2489 o Portability and crash bugs.
2490 o Performance issues in winbindd.
2492 New features introduced in Samba 3.0.21 include:
2494 o Complete NTLMv2 support by consolidating authentication
2495 mechanism used at the CIFS and RPC layers.
2496 o The capability to manage Unix services using the Win32
2497 Service Control API.
2498 o The capability to view external Unix log files via the
2499 Microsoft Event Viewer.
2500 o New libmsrpc share library for application developers.
2501 o Rewrite of CIFS oplock implementation.
2502 o Performance Counter external daemon.
2503 o Winbindd auto-detection query methods when communicating with
2504 a domain controller.
2505 o The ability to enumerate long share names in libsmbclient
2509 ######################################################################
2516 Parameter Name Action
2517 -------------- ------
2518 dfree cache time New
2519 dfree command Per share
2523 passdb expand explicit New
2524 rename user script New
2525 reset on zero vc New
2526 svcctl list Renamed from 'enable svcctl'
2530 Changes since 3.0.20b
2531 ---------------------
2533 o Jeremy Allison <jra@samba.org>
2534 * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
2535 * Added 'map readonly' parameter.
2536 * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
2538 * Maintain schannel client session keys in volatile
2539 $(privatedir)/schannel_store.tdb.
2540 * BUG 2769: Ensure we mangle filenames ending in a space
2541 * Catch corner case of renaming a symlinked directory into
2543 * Ensure that smb.conf requests for hidden files are honored,
2544 even when DOS attributes are stored in EA's
2545 * Add new auth method "auth_script" for calling an external
2547 * BUG 2152: Fix for mangled filenames when the client does
2548 support long filenames
2549 * Rewritten implementation of client and server DCE/RPC infrastructure
2550 * BUG 3192: Adds a "dfree cache time" parameter.
2551 * Fix acl evaluation bug found by Marc Cousin. Only evaluate
2552 the S_IWGRP mask in the absence of a POSIX ACL.
2553 * Remove use of 'long long' in libsmbclient code.
2554 * Ensure the new canonicalize_servicename() in name/snum hash
2556 * BUG 2922: Integration of FreeBSD AIO patches from Timur
2558 * BUG 3216: Put directory opens into the share mode db so we
2559 can treat them similarly to file opens (delete on close,
2560 share mode violations etc.).
2561 * Fix bug in name mangling code when case sensitivity is enabled.
2562 * Remove external dependencies from the sharemodes library.
2563 * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
2564 * Don't misinterpret wild card characters in file names on disk
2565 as they are actually valid characters.
2566 * BUG 3223: Fix bug in account policy management when
2567 account_pol.tdb settings have been migrating to an LDAP
2569 * Allow the hash size of the tdb open (locking) database to be
2571 * Fix error code returns on client spoolss code.
2572 * Remove unneeded strncpy use.
2573 * Fix uninitialized variables warnings.
2574 * Cleanup smbcacls security descriptor parsing and error codes.
2575 * BUG 3224: Correctly use machine_account_name and client_name
2576 when doing netlogon credential setup. Fixes winbindd running
2578 * Backport Samba 4 time zone handling.
2579 * Fix core dump if setmntent() returns NULL.
2580 * Replace old crc32 code with one from the FreeBSD tree.
2581 * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
2582 * Remove #define of close -> close_fn macro in libsmbclient.
2583 * Return early if -1 returned from *BSD EA call (reported by
2585 * Name space cleanup by marking local functions static.
2586 * Move samr enumeration cache from per handle basis to a shared
2588 * BUG 3274: Fix invalid smbclient qpath_basic() queries against
2589 OS/2 servers (based on patch from Guenter Kukkukk).
2590 * Ensure default applies to new files (reported by Thomas
2592 * BUG 3293: Use SMBecho to testing the server in client rather
2594 * Merge talloc fixes from Samba 4 branch.
2595 * Add support DCE/RPC cancel operation.
2596 * Don't reset attrs to zero in EA get. Fixes 'hide dot files'
2597 when using EA for DOS attributes.
2598 * Fix bug in returning remote time (reported by Thomas Bork).
2599 * No users or groups to return in BUILTIN domain.
2600 * Removed separate "builtin" search enumeration.
2601 * Added count_sam_aliases to return the correct alias count.
2602 * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from
2603 eDirectory when accessing the universal password.
2604 * Fix deadlock condition in share mode locking code.
2605 * Fix logic bug in unix_mask_match().
2606 * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
2610 o Rashid N. Achilov <shelton@granch.ru>
2611 * Add better service description names to the svcctl code.
2614 o Timur Bakeyev <timur@com.bat.ru>
2615 * BUG 3262: Improve FreeBSD DOS attribute error reporting.
2618 o Andrew Bartlett <abartlet@samba.org>
2619 * Remove another ancient NTLMSSP implementation.
2620 * Allow machine account logons work if the client gives the
2624 o Alexander Bokovoy <ab@samba.org>
2625 * Add POSIX statvfs() to VFS api.
2628 o Gerald (Jerry) Carter <jerry@samba.org>
2629 * Eventlog and ServiceControl support.
2630 * BUG 1051: store the directory path so we can send the full
2631 name in the unlink call from smbclient.
2632 * Use reference count strategy for keeping the registry tdb
2634 * Convert internal registry objects to new hierarchical talloc
2635 * Allow the root user a free pass for access checks in the
2636 registry and service control checks.
2637 * Sanity checks in the privilege code to prevent empty SID
2639 * Add basic infrastructure for 'make test' when the socket
2640 wrapper library is configured at compile time
2641 * Convert profiles utility to use the current regfio interface
2642 for reading and writing user profiles
2643 * Remove netsamlogon_cache interface
2644 * Ensure that print jobs are removed even when the cancel
2645 command is received before the print cache has been updated
2646 * Fix linking problem on Solaris when including ACL support.
2647 * Give root a free pass to open the eventlog tdb files.
2648 * Fix segfault in addprinter due to mixing talloc() and
2650 * fix invalid read reported by valgrind in the spoolss
2651 backchannel connection.
2652 * Remove use of 'long long' in perfcounter registry code.
2653 * BUG 3201: make sure request structure is cleared prior to
2654 sending the request to winbindd.
2655 * Don't count open pipes in the num_files_open on a connection
2656 (regression from Samba 2.2).
2657 * Ensure servername hashing code normalizes the name.
2658 * Fix checks for connect() in -lnsl[_s].
2659 * Convert eventlog API to use NTSTATUS return codes rather
2661 * Fix segv in winbindd caused by an uninitialized variable
2662 in winbindd_dual_getsidaliases().
2663 * Allow winbindd to select the appropriate backend methods
2664 based on the DC attributes and not the security parameter.
2665 * Re-add the netsamlogon_cache tdb and ensure that user entries
2666 are updated from the PAC data during Kerberos ticket
2668 * Fix lockup when running 'wbinfo -t' on a Samba PDC caused
2669 by mangling machine names in sub_set_smb_name().
2670 * Add smbget to the list of tools built by default.
2671 * Fix clearing of eventlog tdb files.
2672 * Fix sequential reads in eventlog support.
2673 * BUG 2718: Don't use qpathinfo_basic() call when remote server
2675 * Fix build issues with the Sun compiler.
2676 * BUG 3156: Don't use find_service() when explicitly looking
2678 * Fix nss_winbind_solaris.c build breakage on HP-UX.
2679 * Initialize the local group description.
2680 * Disable WINS and NetLogon services in the MMC services
2681 plugin when the associated smb.conf features are not enabled.
2682 * Add checks for invalid characters in new share names on the
2684 * Fix SWAT installation issues with 'make install'.
2685 * Always add the BUILTIN\Administrators SID to a Domain
2689 o Alex Deiter <tiamat@komi.mts.ru>
2690 * BUG 3196: Patch to compile against the Sun LDAP client libs.
2691 (not for AD support; just ldap support).
2694 o Guenther Deschner <gd@samba.org>
2695 * Fixed compile problems and warnings with newer OpenLDAP
2697 * Fix bug when enumerating trusted domains via 'wbinfo -m'
2698 * Parse the MS Kerberos PAC to obtain the user group
2699 membership during logon.
2700 * Add support for SeRestorePrivilege to allow a process to
2701 change the ownership of a file to any arbitrary account
2702 * Fix password history storage when using Novell eDirectory for
2704 * Backport Kerberos PAC parsing from Samba 4 branch in order to
2705 correctly create the NT User Token when logging into a Samba
2707 * Add small helper function to return a PAC_LOGON_INFO.
2708 * Use LDAP bitwise matching rule when searching for groups
2710 * Avoid an infinite loop when retrying to connect in smbspool.
2711 * Memory leak fixes in the Kerberos PAC parsing code.
2712 * Improve NT_STATUS error messages returned from pam_winbind.
2713 * Rename unknown samr group fields in samr structures with
2714 the correct name.removed separate "builtin" search enumeration.
2715 * Cleanup redundant StartTLS code.
2716 * Allow StartTLS support when connecting to Windows 2003 by
2717 setting 'ldap ssl = start_tls'.
2718 * Support raw NTLMSSP session setups in smbspool.
2719 * Add rpccli_samr_chgpasswd3().
2720 * Add 'wbinfo --separator'.
2721 * Uninitialized warnings fixes.
2722 * Fix return value in client spooler code.
2723 * Require forced migration of account policies.
2726 o Steve French <sfrench@us.ibm.com>
2727 * Fix cifs to handle non-numeric uid and gid parameters.
2728 * Merge trunk and SAMBA_3_0 mount.cifs code.
2729 * Cleanup cifs cfs help message.
2732 o Paul Green <paulg@samba.org>
2733 * Update to the latest config.guess and config.sub files.
2736 o Deryck Hodge <deryck@samba.org>
2737 * Allow control of syslog facility and level in audit vfs modules.
2740 o S Murthy Kambhampaty <smk_va@yahoo.com>
2741 * Patches for Fedora RPM specfile and init script
2744 o Krishna Ganugapati <krishnag@centeris.com>
2745 * Use the subtree delete ldap control when running 'net ads
2749 o Volker Lendecke <vl@samba.org>
2750 * New oplock implementation.
2751 * Add assert() call if winbindd cannot locate the domain SID in
2752 secrets.tdb on startup
2753 * Fix an annoying timeout in winbindd when nmbd is not running.
2754 * Speed up loading smb.conf for large numbers of share
2755 definitions by adding an internal hashing of names to snums.
2756 Thanks to Michael Adam.
2757 * Fix potential segv in rpcclient's lsarpc calls.
2758 * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
2759 * Fix alignment in getdc response.
2760 * Allow pdbedit to set the domain for a user account.
2761 * Fix fallback logic in rpc binds.
2762 * Fix memleak in message handling code.
2763 * Fix connection bug to port 445 and 139 after a successful
2765 * Add additional calls to initialize_krb5_error_table() for
2766 Kerberos client code.
2767 * Implement the possibility to have AFS users as SIDs in pts.
2768 * Removed unused alternative_name code from winbindd.
2769 * Protect against NULL alternative_name strings in winbindd.
2770 * Define a default panic action with -DEVELOPER is defined.
2771 * Add the capability to reset smbd connections on a zero VC id.
2772 * Allow smb.conf variable expansion to be disabled in passdb
2774 * Add lookupname to rpcclient query_user as a fallback.
2775 * BUG 3292: Prevent smbclient from spinning when the server
2777 * BUG 2191: Fix valgrind error in cli_session_setup_guest().
2778 * Add samr_lookup_rids for the builtin domain.
2779 * Memory allocation cleanups in passdb.
2780 * Restrict samr_open_domain() to our domain only.
2781 * Change local_lookup_sid() to local_lookup_rid() since it
2782 is responsible for our domain only.
2783 * Fix some uninitialized variable warnings.
2784 * Fix winbind_lookup_name for the local domain,
2787 o Derrell Lipman <derrell@samba.org>
2788 * Cleanup libmsrpc version numbers.
2789 * BUG 3257, 3267, 3273: Plug memory and file descriptor leaks.
2790 * Fix crash bug in libsmbclient.
2791 * Add long share name support to libsmbclient when enumerating
2795 o Jason Mader <jason@ncac.gwu.edu>
2796 * Removed compiler various warnings.
2799 o Alex Masterov <alex@infobit.ru>
2800 * BUG 3218: Fix XATTR calls on *BSD systems.
2803 o Jim McDonough <jmcd@us.ibm.com>
2804 * Speed up string_to_sid by removing next_token calls and
2805 unneeded strncmp() calls.
2806 * Implement user rename for smbpasswd and LDAP backends.
2807 * BUG 2961 (partial): Add rename support for user accounts to tdbsam
2808 * BUG 3187: Fix time zone offset in logon hours restrictions.
2811 o Stefan Metzmacher <metze@samba.org>
2812 * Fix setting of quotas on linux kernel with the struct
2814 * Enable sysquota interface on Linux by default
2815 * Use lp_socket_address() when binding to port 138/udp in nmbd.
2818 o Brian Moran <bmoran@centeris.com>
2819 * Eventlog and ServiceControl support.
2820 * Added eventlogadm tool for writing Eventlog records.
2821 * Fix typo when creating Eventlog source DLL registry paths.
2822 * Add simple script to tail syslog and write records to
2824 * Fix segv in eventlogadm when not event logs are listed in
2828 o Lars Müller <lmuelle@samba.org>
2829 * Only install smbsh manpage if smbwrapper has been successfully
2831 * Ensure setmntent() returns with != NULL in the disk_quotas()
2833 * Add configure switch to disable libmsrpc build.
2834 * Add a soname to libmsrpc.
2837 o Ricky Nance <ricky.nance@gmail.com>
2838 * Updates for the mklogon perl scripts.
2841 o Chris Nicholls <skel@samba.org>
2842 * New libmsrpc library (Google SoC Project).
2843 * Fix libmsrpc build of on the Sun compiler by removing empty
2844 structure declarations.
2847 o James Peach <jpeach@sgi.com>
2848 * Fix parsing error for smb ports parameter.
2851 o Tim Potter <tpot@samba.org>
2852 * BUG 3260: Fix DYNEXP flags on HPUX.
2855 o Marcin Porwit <mporwit@centeris.com>
2856 * Eventlog and ServiceControl support.
2857 * Added basic Performance Counter daemon which can feed data
2858 for the Windows perfmon.exe tool.
2859 * Fix directory permissions in the perfcounter daemon.
2860 * Add the 'File' registry value for the eventlog keys.
2863 o Aruna Prabakar <aruna.prabakar@hp.com.
2864 * Add checks to verify that the spooler is running on HP-UX when
2865 reloading the printer name cache.
2868 o Joel Smith <joel.j.smith@novell.com>
2869 * Add iPrint printing backend support.
2872 o Toomas Soome <Toomas.Soome@mls.ee>
2873 * Implement host lookups in nss_winbind.so.1 on Solaris
2876 o Simo Sorce <idra@samba.org>
2877 * Update Debian packaging.
2880 o John Terpstra <jht@samba.org>
2881 * Add 'net idmap' usage help text.
2884 o Andrew Tridgell <tridge@samba.org>
2885 * Change license notice of standalone talloc library to LGPL.
2888 o Darren Tucker <dtucker@zip.com.au>
2889 o Crash fix for snprintf() code.
2892 o Rainer Weikusat <rainer.weikusat@sncag.com>
2893 * Fix function name typo in skeleton VFS code.
2897 Release Notes for older release follow:
2899 --------------------------------------------------
2900 ===============================
2901 Release Notes for Samba 3.0.20b
2903 ===============================
2905 Common bugs fixed in 3.0.20b include:
2907 o A crash bug in winbindd
2908 o Reporting files as read-only instead of returning the
2909 correct error code of "access denied"
2910 o File system quota support defects
2913 ######################################################################
2918 Changes since 3.0.20a
2919 ---------------------
2924 o Jeremy Allison <jra@samba.org>
2925 * BUG 3088: Fix error condition for files on a read-write share
2926 which cannot be read due to permissions.
2929 o Gerald (Jerry) Carter <jerry@samba.org>
2930 * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota
2932 * BUG 1473, 3090: Quota detection and compilation problems on
2936 o Marc Balmer <marc@msys.ch>
2937 * Build fixes when builddir != srcdir
2940 o Alex Deiter <tiamat@komi.mts.ru>
2941 * BUG 3145: Fix build issue regarding quota support on Solaris.
2944 o Volker Lendecke <vl@samba.org>
2945 * BUG 3068: Fix for winbindd crashed by empty DC alternative
2949 --------------------------------------------------
2950 ===============================
2951 Release Notes for Samba 3.0.20a
2953 ===============================
2955 Common bugs fixed in 3.0.20a include:
2957 o Stability problems with winbindd.
2958 o Crash bugs caused by incompatibilities on 64-bit systems.
2959 o Missing files from directory listings on AIX servers
2960 o User Manager interoperability problems.
2961 o Minor build difficulties on various platforms such as
2962 Solaris and OpenBSD,
2965 Winbind, security = domain, and Active Directory
2966 ================================================
2968 Recent security updates for Windows 2000 and Windows 2003 have
2969 changed the fashion in which user and group lists can be obtained
2970 from domain controllers. In short, the RPC mechanisms used by
2971 "security = domain" to retrieve users and groups is not compatible
2972 with these changes. The "security = ads" configuration is not
2973 affected by the Windows protocol changes.
2975 Samba developers are actively working to correct this problem in
2976 the 3.0.21 release. In the meantime, Administrators who are unable
2977 to migrate to "security = ads" and must continue using "security =
2978 domain", can define credentials to be used by winbindd for account
2979 enumeration by executing the following command as root.
2981 wbinfo --set-auth-user='DOMAIN\username%password'
2985 ######################################################################
2990 Changes since 3.0.20
2991 --------------------
2996 o Jeremy Allison <jra@samba.org>
2997 * BUG 3065: Fix for legacy clients retrieving a listing of
2999 * Added external library for accessing Samba's share mode
3001 * Fix winbindd credentials chain which caused logon failures
3002 after attempting to authenticate an unknown user.
3003 * Fix recursive looping bug in winbindd.
3004 * Fix build errors on 64-bit systems.
3005 * Posix ACL memory leak and crash bug fixes.
3006 * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
3007 * BUG 3060: Ensure SMBcreate truncates the file if it exists.
3008 * Hide dot files and directory logic fixes.
3009 * Correct display of open file modes by smbstatus.
3010 * BUG 3010: Fix missing files bug on AIX systems.
3013 o Gerald (Jerry) Carter <jerry@samba.org>
3014 * Allow the root user to automatically pass se_access_checks()
3015 in the registry and service control server code.
3016 * Ensure that winbindd uses the correct name in the net_auth2()
3017 request when running on a Samba PDC.
3018 * Fix linking problem with tdb utilities.
3019 * BUG 3080: Fix regression in 'net rpc shutdown' command.
3020 * Fix segv in 'net rpc' when the pipe open fails.
3021 * Fix upload bug when installing 64-bit Windows printer drivers.
3022 * Fix regression in the smburi syntax used by smbspool.
3023 * Fix sorting of subkey hash records in registry files.
3024 * Correct REG_CREATE_KEY_EX parsing error.
3025 * Interoperability issues with usrmgr.exe and Samba groups.
3026 * Use the display names and not the Unix names when enumerating
3027 groups in the ldapsam passdb backend.
3028 * Ensure that Windows domain user names are converted to lower case.
3031 o Guenther Deschner <gd@samba.org>
3032 * Prevent BUILTIN sids returned in the user's token from
3033 a Windows DC from being applied to any local group mappings
3035 * Plug memory leaks in the Kerberos keytab code.
3036 * Ensure BUILTIN groups are returned from winbindd's idmap_rid
3037 backend when 'winbind nested groups' is enabled.
3038 * Fix crash bug in winbindd caused by 64-bit build issues.
3039 * Improve debug messages in smbspool.
3040 * Give better error-message when "NDS Universal Password" change fails.
3041 * Fix password history error in the eDirectory schema file.
3042 * Ensure that Windows domain group names are converted to lower case.
3045 o Steve French <sfrench@us.ibm.com>
3046 * Allow disabling mandatory byte range lock mount flag, and fix
3047 corresponding entry in mtab.
3050 o Volker Lendecke <vl@samba.org>
3051 * Fix race condition in the NTcreate&X open code when the
3052 disposition is NTCREATEX_DISP_CREATE.
3053 * Correct logic error when checking the pid for pending print
3054 change notify messages.
3055 * Ensure that winbindd child process complete startup even when
3056 the parent is receiving authentication requests.
3057 * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
3058 when authentication fails.
3061 o Jason Mader <jason@ncac.gwu.edu>
3062 * Compile warning fixes.
3065 o Uli Meis <a.sporto@gmail.com>
3066 * Patches for pdb_*sql.c
3069 o Luke Mewburn <lukem@NetBSD.org>
3070 * Autoconf syntax fixes.
3073 o James Peach <jpeach@sgi.com>
3074 * Correct problem with creating a core file in Linux.
3077 o Stefan Metzmacher <metze@samba.org>
3078 * Quota fixes in smbd.
3081 o Peter Rindfuss <rindfuss@wz-berlin.de>
3082 * Patches for pdb_*sql.c
3085 o Jiri Sasek <Jiri.Sasek@Sun.COM>
3086 * Solaris toolchain patches for autoconf scripts.
3089 o Andrew Tridgell <tridge@samba.org>
3090 * Fix for tdb clear-if-first race condition.
3093 o Leo Weppelman <leo@wau.mis.ah.nl>
3094 * BUG 3104: Don't allow time updates to files on read-only shares.
3097 o Steve Williams <steve@celineandsteve.com>
3098 * BUG 3052: Fix compile issues on OpenBSD.
3101 --------------------------------------------------
3102 ==============================
3103 Release Notes for Samba 3.0.20
3105 ==============================
3107 Additional features introduced in Samba 3.0.20 include:
3109 o Support for several new Win32 rpc pipes.
3110 o Improved support for OS/2 clients.
3111 o New 'net rpc service' tool for managing Win32 services.
3112 o Capability to set the owner on new files and directory
3113 based on the parent's ownership.
3114 o Experimental, asynchronous IO file serving support.
3115 o Completed Support for Microsoft Print Migrator.
3116 o New Winbind IDmap plugin (ad) for retrieving uid and gid
3117 from AD servers which maintain the SFU user and group
3119 o Rewritten support for POSIX pathnames when utilizing
3120 the Linux CIFS fs client.
3121 o New asynchronous winbindd.
3122 o Support for Microsoft Print Migrator.
3123 o New Windows NT registry file I/O library.
3124 o New user right (SeTakeOwnershipPrivilege) added.
3125 o New "net share migrate" options.
3128 What happened to 3.0.15 - 3.0.19?
3129 ==================================
3131 After some discussion it was deemed that the amount of changes
3132 going into the next Samba 3.0 release needed something to catch
3133 people's attention. Skipping several releases was chosen as
3134 the best solution with the least overhead. There will be no
3135 3.0.15 - 3.0.19 ever released. The next production release
3136 following 3.0.20 should be 3.0.21.
3138 The original announcement about the version number change can
3139 be found in the samba mailing list archives:
3141 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
3144 Asynchronous Winbind Implementation
3145 ===================================
3147 Winbindd has been completely rewritten in this release to support
3148 an almost completely non-blocking, asynchronous request/reply
3149 model. This means that winbindd will scale much better in
3150 large domain environments and on high latency networks. Neither
3151 the client interface nor the command line tools (i.e. wbinfo) have
3152 changed in their calling conventions or syntax. However, due to
3153 internal structure changes, it is required (more so than normal)
3154 that you install the nss_winbind.so library included in this release.
3157 Support for Microsoft Print Migrator
3158 ====================================
3160 Samba 3.0.20 includes full support for migrating printers from
3161 Windows servers or other Samba servers via the Microsoft Print
3162 Migrator tool. Restoring printers requires a working "add printer
3163 command" defined in smb.conf. Current support also allows
3164 administrators to create a master list of printer drivers which
3165 can be restored in bulk on new (or existing) Samba installations.
3168 Asynchronous IO Support
3169 =======================
3171 Experimental support for async IO has been added to smbd for
3172 certain platforms. To enable this new feature, Samba must be
3173 compiled to include the --with-aio-support configure option.
3174 In addition, the "aio read size" and "aio write size" to non-zero
3175 values. See the smb.conf(5) man page for more details on these
3179 ######################################################################
3186 Parameter Name Action
3187 -------------- ------
3188 acl check permissions New
3189 acl group control New
3190 acl map full control New
3193 enable asu support New
3196 map to guest Modified (new value added)
3197 max stat cache size New
3198 min password length Removed
3199 printer admin Deprecated
3200 username map script New
3201 winbind enable local accounts Removed
3202 winbindd nss info New
3205 Changes since 3.0.14a
3206 ---------------------
3212 o Jeremy Allison <jra@samba.org>
3213 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
3214 * Ensure the old SMB search calls always ask mask_match() to
3215 translate patterns like ????????.???.
3216 * Split out the check_path_syntax() into a findfirst, findnext,
3217 & wildcard versions.
3218 * Fix checks for matching groups in an file ACL against the
3219 user's primary and supplementary group list.
3220 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
3221 LANMAN2 protocol, ensure the EA size is always correctly
3222 set on a query for a file with no EA's.
3223 * BUG 2551: Look at the incoming flags2 flag
3224 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
3225 uppercased on a SMBsearch request, not the protocol level.
3226 * Added "volume" command to smbclient that prints out the
3227 volume name and serial number.
3228 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
3229 * Add support for OS/2 Extended Attributes.
3230 * Correctly check OpenX open modes.
3231 * Ensure allocation size is correctly returned for OpenX.
3232 * Only set allocation on create/truncate for nttrans.
3233 * Fix oplock bug in trans2open() code.
3234 * Remove unix_ERR_XXX global nastiness.
3235 * Only do the strange DOS error for openX, not trans2open.
3236 * Ensure SMBopen replies includes the share modes as well as
3238 * BUG 2581: Add size limit (in kb) to stat cache.
3239 * Fix bug in the trans2 secondary processing.
3240 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
3241 * Add an SMB counter per connection struct for gathering
3243 * BUG 2605: Ensure smbclient doesn't perform commands if
3244 the "chdir" fails in a scripted set.
3245 * Ensure a 'forced group' is added to the list of effective
3246 gids when processing ACLs.
3247 * Refactor rpc_bind structures for better future work.
3248 * BUG 2942: Add missing value in debug message.
3249 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
3250 by 'mangling method = hash'.
3251 * Fix memory leaks in the msdfs trans2 server code.
3252 * Convert msdfs server to be talloc'd based.
3253 * Fix up stackable vfs interface.
3254 * Fix rpc fault when encountering an unknown rpc_bind auth
3256 * BUG 2954: More AIX 5.1 AIO compile fixes.
3257 * Fix valgrind bug in interaction with new aio buffer (found
3259 * BUG 2878: Fix Norton commander not running on OS/2 clients.
3260 * Cleanup SAMR user info structure naming.
3261 * BUG 2889: Fix directly listings from OS/2 clients.
3262 * Added "acl group control" parameter.
3263 * Add debug warning if AddPrinterEx() is called without having
3264 an 'add printer command' defined.
3265 * Add better log messages when modifying ldap entries.
3266 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
3267 when string is unaligned.
3268 * BUG 2918: Fix SMB chaining by ensuring that deferred open
3269 message buffer is nor reused.
3270 * Add support for client setting capabilities to select posix
3271 pathnames on the wire.
3272 * Stop using C++ reserved words so that Samba can be compiled
3273 using g++. Also allows VFS modules in C++.
3274 * More fixes to allow better large directory scaling.
3275 * BUG 2827: Ensure we call the vfs connection hook before
3276 doing a vfs stat. Allows database vfs backends to initialize
3277 with a working connection.
3278 * BUG 2826: Ensure the correct return value for symlink and
3279 readlink in the VFS.
3280 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
3281 * Added AIO support to smbd.
3282 * Add "acl map full control", true by default, to allow people
3283 to change mapping of rwx to full control or not.
3284 * Transition smbd to use NTcreate&X for internal file opens.
3285 * Add checks against the current effective group id (e.g. force
3286 user) when testing write permissions one ACLs.
3287 * Fix FindFirst/FindNext server code when parsing directories
3288 on old IRIX XFS file systems (thanks to Cale Fairchild
3289 for the debugging help).
3290 * BUG 2644: Test for special files to be ignored was reversed.
3291 * Ensure yield_connection() is called on all appropriate error
3293 * Fix EDEADLCK problem with deferred open calls.
3294 * BUG 2622: Remove DPTR_MASK as it makes no sense.
3295 * Fix the write cache based on some VERY good detective work
3297 * BUG 2346: Fix read-only excel file bugs.
3298 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
3299 return ENOSYS if not implemented.
3300 * Add new CAP for POSIX pathnames.
3301 * BUG 2703: Add NULL guard for disp_fields[0].
3302 * BUG 2681: With "strict allocate = yes" we now zero fill when
3303 a file is extended. Should catch disk full errors on write
3305 * Add "acl check permissions" to turn on/off the new
3306 behavior of checking for write access in a directory
3308 * Refactor printing interface to take offset into job.
3309 * Allow mapping of POSIX ACLs to NT perms to differentiate
3310 between directories and files.
3311 * Added encrypt/decrypt function for LSA secrets and trusted
3312 domain passwords on the wire.
3313 * BUG 2729: Resume keys are *mandatory* for a search when
3314 listing a W2K and above server from a FATxx filesystem only.
3315 * BUG 2735: Ensure that smbd mangles control characters in file
3316 and directory names.
3317 * Refactor small pieces of socket handling code (in conjunction
3319 * BUG 2698: Fix infinite listing loop in smbclient caused by
3320 an invalid character set conversion.
3321 * Add client code that will abort a directory listing if we
3322 see the same name twice between packets.
3323 * Performance improvements in trans2 qfilepathinfo code by
3324 removing unnecessary memset() calls.
3325 * Rewrite the RPC bind parsing functions to follow the
3326 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
3327 * BUG 2774: Set sparse flag if needed when returning
3329 * Fix errors listing directories from Windows NT clients
3330 which caused "." and ".." to show up in explorer.exe.
3331 * Merge of error code fixes from SAMBA_4_0 branch.
3332 * BUG 2801: Fix regression in the "delete veto files" option.
3333 * Fix based on work from Shlomi Yaakobovich to catch loops
3334 in corrupted tdb files.
3335 * Allow someone with SeTakeOwnershipPrivilege to chown the
3336 user of a file to herself.
3337 * Fix minor compiler warnings in printing/printing.c.
3338 * Merge new DOS error code from SAMBA_4.
3339 * Fix issue when non-English characters in filenames and
3341 * Fix bogus error message in smbstatus about unknown share modes.
3344 o Andrew Bartlett <abartlet@samba.org>
3345 * Support raw NTLMSSP authentication for Windows Vista
3347 * Fix parallel NTLMSSP processing by removing global state.
3348 * BUG 2684: Add per service hosts allow/deny checks for
3349 printers when connecting via MS-RPC.
3350 * BUG 2391: Fix segv caused by free a static pointer returned
3352 * Support Kerberos authentication in smbd when using a keytab
3353 and participating in a non-Microsoft Kerberos realm.
3356 o Timur Bakeyev <timur@com.bat.ru>
3357 * BUG 2546: Add support for FreeBSD EA API
3358 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
3359 * BUG 2908: Fix string length logic error in msdfs code.
3360 * BUG 2909: Fix typo that caused smbd to call the wrong
3364 o Ed Boraas <ed.boraas@concordia.ab.ca>.
3365 * Added Linux per-socket TCP settings.
3368 o Gerald (Jerry) Carter <jerry@samba.org>
3369 * Added support for \svcctl pipe rpcs.
3370 * Added 'net rpc service' subcommand for managing Win32
3372 * Refactoring work on the rpc [un]marshalling layer and
3374 * Verify privilege name in 'net rpc rights privileges' in
3375 order to provide better error messages.
3376 * Cleanup rpc structures in rpc_spoolss.h.
3377 * Cleanups and fixes for the \winreg server code.
3378 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
3379 * Fix bugs in client spoolss code after refactoring work.
3380 * Fix Valgrind warnings of invalid reads in the spoolss
3382 * Fixed a segv when enumerating services on a Samba host.
3383 * Fix segv in the service control server code.
3384 * Fix crashes in client spoolss calls caused by not checking
3385 for a valid pointer from the caller.
3386 * Fix regression in DeleteDriver() server routines.
3387 * Fix dup_a_regval() when size is 0.
3388 * Fix usrmgr.exe crash when viewing user properties at
3390 * Do not enumerate any privileges when 'enable privileges = no'
3391 and log a message if a client tries.
3392 * BUG 2872: Fix cut-n-paste error when checking pointer value
3393 in ntlmssp_set_workstation().
3394 * Fix upgrade path from earlier nt*tdb files.
3395 * Removed print handle object cache.
3396 * BUG 2853: Don't strip out characters like '$' from printer
3397 names when substituting for the lpq command.
3398 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
3399 * Fix build issues on x86_64-linux systems caused by valgrind
3400 headers. Thanks to Bent Vangli to the suggestions.
3401 * Refactor spoolss client calls.
3402 * Adding 'username map script'.
3403 * Disable schannel on the LSA and SAMR pipes in winbindd client
3404 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
3405 * Cleanup of winreg API functions.
3406 * Add server stubs for RegSetKeySec() and RegGetKeySec().
3407 * Map generic bits to specific bits in reg_open_entry()
3409 * Add write support to registry tdb and printing backends.
3410 * Use tdb lookups rather than hard-coding certain registry
3411 value names and data.
3412 * BUG 2808: don't try to install man pages if they are not
3414 * Fix initialized variables reported by valgrind.
3415 * Normalize key lookups in ntprinters.tdb.
3416 * Mark "enumports command" as deprecated.
3417 * Add missing class file for python share command example.
3418 * Fix smbclient build issue on Solaris.
3419 * BUG 2626: ensure that the calling_name is set to something
3420 after parsing smb.conf (if not set via -n).
3421 * Use "add machine script" when creating a user (ACB_NORMAL)
3422 who has a name ending in '$' (e.g. usrmgr.exe creating
3423 domain trust accounts).
3424 * Add 'rid' synonym for idmap_rid IDMap module.
3425 * Ensure that we set full access on the handle returned
3426 from _samr_create_dom_{alias,group}() so that future
3427 set_{alias,group}() commands succeed.
3428 * Fix bug when looking for internal domains in winbindd
3429 (caused winbindd_getgrgid() for local groups to fail).
3430 * Fix query and set alias info calls (level 1 from the MMC
3431 manage computer plug-in.
3432 * Remove bogus log messages about unknown specversions.
3433 * BUG 2680: copy files from an MS-DFS win2k root share
3434 * BUG 2688: re-implement support for the -P (--port) option
3435 * Support connecting to an 'msdfs proxy' share on a Samba
3437 * Strip the directory path from cups command line printing
3439 * Fix bug that prevented smbclient from creating directories
3441 * Deprecate the "printer admin" parameter in favor of the
3442 SePrintOperatorPrivilege.
3443 * Add the capability to read and write WinNT regf registry
3445 * Implement access checks for RegOpenXXX() server calls.
3446 * Extend registry client rpc calls.
3447 * Add "net rpc registry" set of commands.
3448 * Remove testprns tool.
3449 * Ensure that printer ACLs use the specific bits as well as
3450 the generic bits. Upgrade existing ntprinters.tdb SECDESC
3452 * Add server support for RegSaveKey() for dumping registry
3453 trees to a regf file.
3454 * Add "enable asu support" smb.conf parameter.
3455 * Merge various small file changes from trunk.
3456 * Remove "winbind enable local accounts" support.
3457 * Remove "ldap filter" smb.conf option.
3458 * Remove editreg utility (needs to be rewritten using regfio.c).
3459 * Fix build failure when running 'make torture' without first
3460 running 'make all' first.
3461 * BUG 1261: Remove unusable libbiconv from iconv detection
3463 * Add new option for "map to guest". "Bad Uid" re-enables the
3464 Samba 2.2 behavior of mapping authenticated users to the
3465 guest account if there does not exist a valid Unix account
3466 for the Windows domain user (based on patch from
3467 aruna.prabakar@hp.com).
3468 * Fix a couple of regressions after introduction of new winbindd.
3469 * Fix smbpasswd user password change (still worked by bad error
3470 messages) due to trying to strdup a NULL pointer.
3471 * Implement default security descriptors for the
3472 OpenService[Manager]() calls and check requested access mask
3474 * Include access checks on handle mask for \svcctl operations
3475 such as ControlService() and StartService().
3476 * Implement simulated start and stop service control for
3477 the spooler service as a per smbd service state value.
3478 * Add interface structure for controlling service via rc.init
3479 scripts (incomplete).
3480 * Convert move_driver_to_download_area() to use copy_file()
3481 rather than moving the files.
3482 * Add version number to registry.tdb file since it can be
3484 * Remove over-paranoid assert() call when checking spoolss
3486 * Fix error in EnumPrinterData() reported by valgrind.
3487 * Fix broken help links in SWAT editor caused by new doc layout.
3488 * Ensure that a domain structure in winbind is initialized prior
3489 to assigning the methods for communicating to a DC.
3490 * BUG 3000: Remove background updates of winbind cache and allow
3491 child processes to immediately update and expired cache entry.
3494 o David.Collier-Brown <David.Collier-Brown@sun.com>
3495 * Added panic action script for Solaris.
3498 o Jeremy Cooper <jeremy@ncircle.com>
3499 * Added support for several new \winreg client rpcs.
3502 o <core@road-star.jp>
3503 * BUG 2792: Ensure the shadow copy module hooks seekdir,
3504 telldir, rewinddir to match updated large directory code.
3507 o Guenther Deschner <gd@samba.org>
3508 * Close handles on group creation in rpcclient to better
3509 support mass group account creation.
3510 * Fix account policy key lookup for minimum and maximum
3512 * Fix some compiler warnings and add missing exclude-block
3513 in 'net rpc share migrate'.
3514 * Allow use of a non-default smb.conf by rpcclient.
3515 * Fix querydispinfo search semantics in rpcclient test code.
3516 * Fix querydispinfo server semantics to allow to list more
3518 * Fix server crash bug in ancient OpenPrinter() call.
3519 * Fix a crash bug when enumerating privileges via the LSA
3521 * Fix crash in EnumPrinterKey() client calls caused by previous
3523 * Various compiler warning fixes.
3524 * Fix segfault in the client AddPrinterEx-call of 'net
3526 * Fix build issues when --with-aio-support is enabled.
3527 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
3528 * Honour the CC environment variable in python build.
3529 * Fix searches in pdb_ldap for inter-domain trust accounts.
3530 * Don't expand the %L in %LOGONSERVER% from user attributes.
3531 * Fix bug in 'net rpc vampire' that caused accounts to be created
3532 with no assigned ACB flags.
3533 * Fix enumeration of builtin-aliases.
3534 * Avoid unset rids for builtin-aliases.
3535 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
3536 * More "net rpc share migrate" fixes.
3537 * Merge PADL's idmap_ad plugin (taken from the latest
3538 xad_oss_plugins-tarball).
3539 * Add support for "idmap backend = ad" when "security = ads".
3540 * Add home directory and shell support from AD via "winbindd nss
3541 support = sfu" and "security = ads".
3542 * Provide better feedback when we fail share-manipulation
3543 due to missing scripts.
3544 * Correctly substitute "\" as default winbind separator in
3545 generate_parm_table.py example share command script.
3546 * Document pam_winbind.c to clarify the working status of
3547 require-membership-of option.
3548 * Added client-support for various lsa_query_trust_dom_info()
3549 calls and a rpcclient-tester for some info-levels.
3550 * Add "net rpc trustdom vampire" tool (in conjunction with
3552 * Add missing cli_srvsvc_net_share_set_info-function and
3553 rpcclient-testers (in preparation for net share acl migration).
3554 * Print trusted domain passwords returned via rpcclient in
3556 * Error code fixes when attempting to manipulating
3557 non-existent shares.
3558 * Cleanup "net share migrate" code.
3559 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
3561 * Allow admins to uncheck the "User must change Password at
3562 next Logon" checkbox in User manager (merge from trunk).
3565 o Renaud Duhaut <rd@duhaut.com>
3566 * BUG 1040: Add directory_mode parameter when creating recycle
3570 o Steven Edwards <steven_ed4153@yahoo.com>.
3571 * Use chsize() if we don't have ftruncate().
3574 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
3575 * BUG 1780: Add Kerberos (file based ticket cache) support
3579 o Steve French <sfrench@us.ibm.com>
3580 * Update list of mount options for mount.cifs.
3581 * Add more defines for POSIX extensions to match the newly
3582 added client implementation.
3583 * Add initial support for cifs umount utility.
3584 * Fix cifs mounts to handle commas embedded in prompted
3585 password, and password and credential files.
3586 * Fix cifs mounts to handle domain name and user name in
3587 username field (in form domain\user).
3588 * Add missing error code mappings when a client unsuccessfully
3589 tries to create a hard-link.
3590 * Add support so umount.cifs can update mtab.
3591 * Add two newer mount options to syntax help for mount.cifs.
3592 * Add missing remount flag handling.
3593 * Allow domain= to be specified in credentials file.
3594 * Fix umount.cifs help, allow root to unmount someone else's
3596 * Lock mtab when updating it during umount.cifs, also delete
3597 only one matching entry at a time.
3598 * Fix minor compiler warnings in the mount.cifs helper.
3601 o Deryck Hodge <deryck@samba.org>
3602 * BUG 2137: Encode quotes for display in HTML (original patch
3606 o Olaf Imig <Olaf.Imig@bifab.de>
3607 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
3609 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
3612 o Björn Jacke <bj@sernet.de>
3613 * Added ioctl constants reported by msbackup.exe and filemon.exe.
3616 o Kevin Jamieson <bugzilla@kevinjamieson.com>
3617 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
3620 o John Janosik <jpjanosi@us.ibm.com>
3621 * BUG 2077: Correctly fill in the correct server name when
3622 processing trusted domain logins.
3623 * BUG 2976: Mark logons for unknown domains with a
3624 non-authoritative response.
3627 o William Jojo <jojowil@hvcc.edu>
3631 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
3632 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
3636 o Tom Lackemann <cessnatomny@yahoo.com>
3637 * BUG 2242: Patch to ensure that we only set the security
3638 descriptor on an NTtransact create if we created the file.
3641 o Volker Lendecke <vl@samba.org>
3642 * Port some of the non-critical changes from HEAD to 3_0.
3643 The main one is the change in pdb_enum_alias_memberships
3644 to match samr.idl a bit closer.
3645 * Close handles on user creation in rpcclient to better
3646 support mass user account creation.
3647 * Implement client RAP calls for enumusers/enumgroups level 0.
3648 * Implement a new caching API for enumerating the pdb elements.
3649 * Convert the RAP user and group enumeration functions to the
3650 utilized the pdb_search API.
3651 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
3652 RestrictAnonymous environments.
3653 * Internal passdb API changes for better search capabilities
3654 (based on original work by Guenther Deschner).
3655 * Fix various compiler warnings.
3656 * Add chain length statistics to tdbtool.
3657 * Fix set afs ACL calls on files and directories in the root of
3659 * Refactoring work on internal open code
3660 * Correctly initialize the version in a new set of nt*tdb files.
3661 * Remove smb_run_idle_events() from main process loop in smbd
3662 and instead rely upon the timeout processing to handle
3663 dropping idle LDAP connections.
3664 * Fix the bug where users show up as trusting domains.
3665 * Fix an assertion failure in winbindd.
3666 * Fix a memleak in vfs_afsacl.
3667 * Various compiler warning fixes.
3668 * Fix compile when --enable-socket-wrapper is defined.
3669 * Fixes for top level acls in vfs_acl.c.
3670 * Refactor passdb interface functions.
3671 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
3672 * Correct 2 segv's in "net rpc printer migrate".
3673 * Return correct group type from smbd for BUILTIN groups.
3674 * Backport the talloc() layer from Samba 4.
3675 * BUG 2701: Fix segv in ldap reconnection code.
3676 * BUG 2705: Fix segv when connecting from usrmgr.exe.
3677 * Use the SID in the user token for the %s expansion in 'afs
3679 * Memory leak fixes in passdb code.
3680 * BUG 2720: Fixes for "net usersidlist".
3681 * BUG 2725: Fix segv in "net ads user".
3682 * Only allow schannel connections if a successful Auth2
3683 has been previously performed.
3684 * Don't look at gencache.tdb for the trusted domains if
3686 * Rewrite winbindd using an asynchronous process model.
3689 o Herb Lewis <herb@samba.org>
3690 * Compiler warning cleanups.
3691 * smbwrapper Makefile and compile time check cleanups.
3692 * Adding robustness checks for tdbdump and tdbtool.
3693 * Extend tdb command line parsing to arbitrary hex characters.
3694 * Add LOCKING debug class.
3695 * Fix more compiler warnings.
3698 o Derrell Lipman <derrell@samba.org>
3699 * add support for opening a file for write with O_APPEND
3701 * Added smbsh/smbwrapper for Linux to example/libsmbclient
3703 * Fix smbc_stat() from returning incorrect timestamps IFF
3704 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
3705 and not if it used cli-getatr() to retrieve the timestamps
3707 * Fix handful of compiler warnings.
3708 * BUG 2498, 2484: smbc_getxattr() fixes.
3709 * BUG 1133: Added provision for overloading some global
3710 configuration options via the new, per-user file
3711 ~/.smb/smb.conf.append.
3712 * BUG 2543: Properly cache anonymous username when reverting
3713 to anonymous login, in libsmbclient.
3714 * BUG 2505: Fix large file support in libsmbclient.
3715 * BUG 2564: Ensure correct errno when smbc_opendir() was called
3716 with a file rather than a directory.
3717 * Correct deprecated lvalue casts in testsuite/libsmbclient.
3718 * BUG 2663. cli_getattrE() and cli_setattrE() were not
3719 formatting or parsing the timestamp values correctly.
3720 * Correctly detect AF_LOCAL support in configure.
3721 * Fix problem updating file times on Windows 98 hosts using
3723 * Fix compile breakage on Solaris by eliminating the use of
3724 ctime_r() in libsmbclient DEBUG statement.
3727 o Jason Mader <jason@ncac.gwu.edu>
3728 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
3729 * Various compiler warning fixes about mistyped variables.
3730 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
3732 * BUG 2527, 2538: Removed unused variables.
3735 o Marcel <samba.10.maazl@spamgourmet.com>
3736 * Fix regression in OS/2 trans2 open code.
3739 o Jim McDonough <jmcd@us.ibm.com>
3740 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
3741 (in conjunction with Volker).
3742 * BUG 2953: Prevent the credentials chain on DC gets out
3743 of sync with client when NT_STATUS_NO_USER is returned.
3744 * Added subcommands to "net rpc vampire" (mostly done by Don
3745 Watson <dwatson@us.ibm.com>) to allow data to be put into an
3746 ldif file instead of actually writing to the passdb.
3747 * BUG 2736: Add retries to workaround winbind race condition
3748 with detecting idle clients.
3749 * BUG 2953: Additional fixes for domain trusts. Also clears
3750 up the "bad stub" error when attempting to logon to a Samba
3751 domain with a bad username.
3754 o Luke Mewburn <lukem@NetBSD.org>
3755 * Compiler warning fixes.
3758 o Kalim Moghul <kalim@samba.org>
3759 * Removed unused printmode command from smbclient.
3762 o Lars Müller <lmuelle@samba.org>
3763 * Re-enable the VERSION_REVISION option in case of another
3765 * Fix spoolss python bindings after C++ compiler changes and
3767 * BUG 2659: Don't trump on memory in smbtorture.
3768 * BUG 2060: Add -fPIC which is the case for all other Samba
3770 * Fix argv parsing in "net rpc".
3771 * Add support to create position independent executable (PIE)
3772 code if the compiler supports it.
3773 * BUG 2767: Add new options to testparm (--show-all-parameters,
3774 --parameter-name, and --section-name).
3775 * Fix net share migrate files to also migrate the ACLs of
3776 the top level dir of a share.
3779 o Marcel Muller <mueller@maazl.de>
3780 * Patch to fix the OS/2 EA_FROM_LIST info level call.
3781 * Mangled names fix for OS/2 clients.
3782 * Ensure we correctly set the return packet size to include the
3783 pad bytes in reply_readbmpx().
3784 * Fix for bug in SMBwriteBraw that incorrectly returned the
3785 number of bytes written.
3788 o Ricky Nance <ricky.nance@gmail.com>
3789 * Implemented mklogon script generator for domain logon scripts.
3792 o James Peach <jpeach@sgi.com>
3793 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
3794 * BUG 2285: Patch for hires timestamps and efficient notify code.
3795 * MS-DFS tidyup patches.
3796 * Build fixes on IRIX.
3797 * IRIX compiler warning fixes.
3798 * BUG 2596: Fix become_root link issues and one IRIX stack
3800 * Fix for null pointer ACL free.
3801 * BUG 2314: Fix const compiler warnings in the quota code.
3804 o Ed Plese <ed@edplese.com>
3805 * Fix faulty logic which caused winbindd to return failure
3806 when a user possessed no supplementary groups.
3809 o Marcin Porwit <mporwit@centeris.com>
3810 * Initial support for the \eventlog pipe.
3811 * Fix a memleak in the eventlog code.
3812 * Miscellaneous fixes for Samba's experimental event log support.
3813 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
3817 o Tim Potter <tpot@samba.org>
3818 * BUG 2940, 2943: Fixed various compiler warnings regarding
3819 mismatched types and unused variables.
3820 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
3821 * BUG 2733: Fix incorrect SHLIBEXT is set when running
3822 configure script on HPUX IA.
3823 * Remove unused autoconf #define's.
3824 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
3825 * Removed unused function declarations in tdb.h.
3826 * BUG 2895: Don't wrap non-existent functions in the python
3828 * BUG 2623, 2630: $< and $* are not valid in explicit rules
3830 * BUG 2560: Fix compile error lurking where PATH_MAX is not
3832 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
3833 * BUG 2611: Add fflush(stdout) after displaying username prompt
3834 in smbsh if username not specified on command line.
3835 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
3836 * BUG 2808: Update install swat message to reflect the fact
3837 that swat/README no longer exists.
3840 o Denis Sbragion <d.sbragion@infotecna.it>
3841 * BUG 2196: Allow absolute path (system wide) recycle bin.
3844 o Fernando Schapachnik <fernando@mecon.gov.ar>
3845 * Add logon hours support for the Postgres backend.
3848 o Richard Sharpe <rsharpe@samba.org>
3849 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
3851 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
3852 * BUG 2362: Quota support fix for DragonFly.
3853 * Fix dragonfly detection in configure.
3856 o Simo Sorce <idra@samba.org>
3857 * Allow Domain Admins to force user sessions to close via the
3858 Windows Server Manager.
3859 * Add support to 'net rpc right privileges <name>' to enumerate
3860 accounts which possess a specific privilege.
3861 * Fix memory issues issues in vfstest (reported by Rainer Link).
3862 * Randomize reloading as to not overload cupsd.
3865 o Smitty <smitty@plainjoe.org>
3866 * Compile fixes for smbget when using --enable-developer.
3867 * Include LUID values to match Windows privileges since
3868 apparently this matters to printmig.exe
3871 o John Terpstra <jht@samba.org>
3872 * Solaris packaging fixes.
3873 * Clean up usage help text in "net rpc user"
3876 o Andrew Tridgell <tridge@samba.org>
3877 * Merge socket wrapper library fixes from Samba 4.
3880 o Brett Trotter <blt@iastate.edu>
3881 * Fix definition of global_sid_* in vfs_acl.c.
3884 o Mark Weaver <mark-clist@npsl.co.uk>
3885 * Patch to fix sys_select so it can't drop signals if another
3886 fd is ready to read.
3889 o Jelmer Vernooij <jelmer@samba.org>
3890 * Remove --with-manpage-languages configure option.
3891 * Merge socket wrapper fixes for IRIX systems from the
3893 * Add socket_wrapper library to 3.0. Can be enabled by passing
3894 --enable-socket-wrapper to configure.
3895 * Fix build of the various sql pdb backends after new talloc.
3898 o Qiao Yang <qyang@stbernard.com>
3899 * Use our own DC when getting the SID for a domain.
3903 Release Notes for older release follow:
3905 --------------------------------------------------
3906 ===============================
3907 Release Notes for Samba 3.0.14a
3909 ===============================
3911 Common bugs fixed in 3.0.14a include:
3913 o Compatibility issues between Winbind and Windows 2003 SP1
3914 domain controllers (*2k3sp1*).
3915 o MS-DFS errors with Windows XP SP2 clients.
3916 o High CPU loads caused by infinite loops in the FindNext()
3918 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
3922 ######################################################################
3926 Changes since 3.0.14
3927 --------------------
3931 o Jeremy Allison <jra@samba.org>
3932 * Fixed invalid SMB_ASSERT() triggered by checking access on
3936 Changes since 3.0.13
3937 --------------------
3942 Parameter Name Action
3943 -------------- ------
3944 dos filetimes Enabled by default
3949 o Jeremy Allison <jra@samba.org>
3950 * Prevent nt_status code support when negotiating protocols
3952 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
3953 as this SMB is DOS codepage only.
3954 * BUG 2585: Fix printf() issues in smbpasswd which caused
3956 * BUG 2563: Fix infinite loop on non-existent file with
3958 * BUG 2581 (partial): Ensure if realloc fails on an internal
3959 tdb we fail gracefully.
3960 * Ensure that 'dos filetimes' works with ACLs.
3961 * Set 'dos filetimes = yes' as the default for smb.conf.
3964 o Gerald (Jerry) Carter <jerry@samba.org>
3965 * Workaround autoconf issue to prevent debug symbols from
3966 being included in the default build.
3967 * Disable schannel on the \lsarpc pipe in order to successfully
3968 enumerate users and groups (*2k3sp1*)
3969 * Fix parsing error in rpc binds which broke NTLMSSP
3970 authentication. And as a result broke CTL+ALT+DEL password
3971 changes from a Windows 2003 SP1 member of a Samba domain
3973 * Revert change to FindFirst() server code that broke WinXP
3974 SP2 clients from launching *.exe files from a dfs target
3976 * BUG 2588: Force smbclient to send netbios messages to port
3977 139 unless otherwise instructed (based on patch from Thomas
3981 o Volker Lendecke <vl@samba.org>
3982 * Fix build on FreeBSD 4 where Winbind is not supported.
3983 * Fix 'wbinfo --user-sids' when using domain local groups.
3984 * Restrict domain local groups reported by 'wbinfo -r' to
3985 the Samba server domain and not the users domain.
3988 o Lin Li <linl@xandros.com>
3989 * Ensure that winbind initializes internal trusted domain
3990 structures when enumerating users and groups.
3993 o Tim Potter <tpot@samba.org>
3994 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
3996 * Fix compiler warnings.
3999 o <psz@maths.usyd.edu.au>
4000 * Fix for possible root squash NFS bugs.
4003 o Simo Sorce <irda@samba.org>
4004 * Debian packaging fixes.
4007 --------------------------------------------------
4008 ==============================
4009 Release Notes for Samba 3.0.13
4011 ==============================
4013 Common bugs fixed in 3.0.13 include:
4015 o Infinite FindNext() loop from Windows 9x client when
4016 copying or deleting files on a Samba file share using
4018 o Numerous smbclient bugs when listing directories.
4019 o Failures in smbclient when connecting to a Windows 9x
4023 ######################################################################
4027 Changes since 3.0.12
4028 --------------------
4030 o Jeremy Allison <jra@samba.org>
4031 * Fix typo bug in smbclient where flags overwrote info level
4032 in the cli_list_new().
4033 * Fix old smbclient bug where ff_searchcount was being compared
4034 to -1 resulting in processing a filename twice.
4035 * Fix segv in smbclient caused by overwriting the last 2 bytes
4037 * BUG 2530: Fix potential segv in smbclient when talking to a
4038 Windows 9x file server.
4039 * Fix last entry offset in cli_list_new() when using a
4040 FindFirst/FindNext info level of 0x104.
4041 * BUG 2501: Stop Win98 from looping doing FindNext on a
4042 singleton directory.
4043 * BUG 2521: Fix error in access checks when user group ACLs.
4046 o Gerald (Jerry) Carter <jerry@samba.org>
4047 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
4048 to delete all versions of a driver.
4049 * BUG 2517: use the realm from smb.conf for 'net ads info' when
4050 'disable netbios = yes'.
4051 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
4053 * Update RedHat packaging files to require cups support. Also
4054 remove requirement for 'idmap {uid,gid}' settings in smb.conf
4055 from winbindd init script.
4056 * BUG 2516: fix compile issue on True64.
4060 o Guenther Deschner <gd@samba.org>
4061 * Check for the correct cli-struct when copying files in 'net
4062 rpc printer' routines.
4065 o Herb Lewis <herb@samba.org>
4066 * Fix incorrect test in 'net rpc user' when the user is not
4067 a member of any groups.
4070 o Jim McDonough <jmcd@us.ibm.com>
4071 * Make sure that enum_group_members() searches the correct suffix.
4074 --------------------------------------------------
4075 ==============================
4076 Release Notes for Samba 3.0.12
4078 ==============================
4080 Common bugs fixed in 3.0.12 include:
4082 o Winbind failures when using 'disable netbios = yes'
4083 o Failure to establish a trust relationship via 'net rpc trust
4085 o Various portability & compiler issues.
4086 o Read only file deletion failure caused by new delete semantics
4087 in Windows XP SP2 and the MS 04-044 security hotfix.
4088 o Error messages from shared Excel workbooks residing on Samba
4090 o Missing files in the output of smbclient -c 'dir' when run
4091 against Windows file servers.
4092 o Inability for Print Administrators to pause/resume/purge print
4095 Additional features introduced in Samba 3.0.12:
4097 o Performance enhancements when serving directories containing
4098 large number of files.
4099 o MS-DFS support added to smbclient.
4100 o More performance improvements when using Samba/OpenLDAP based
4101 DC's via the 'ldapsam:trusted=yes' option.
4102 o Support for the Novell NDS universal password when using the
4103 ldapsam passdb backend.
4104 o New 'net rpc trustdom {add,del}' functionality to eventually
4105 replace 'smbpasswd {-a,-x} -i'.
4106 o New libsmbclient functionality.
4110 =======================
4111 Large Directory Support
4112 =======================
4114 Samba 3.0.12pre1 introduces a specific mechanism for dealing
4115 with file services that frequently contain a large number of files
4116 per directory. Historically Samba's performance has suffered
4117 in such environments due to the translation from case
4118 insensitive lookups by Windows client to the case sensitive
4119 storage mechanisms used by UNIX filesystems.
4121 Configuration details along with a short HOWTO can be found at:
4123 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
4126 ==================================
4127 libsmbclient Binary Compatibility
4128 ==================================
4130 Please note that a change has been made to the _SMBCCTX structure
4131 in source/include/libsmbclient.h. This change is not backwards
4132 compatible with applications linked against the libsmbclient.so
4133 library from Samba 3.0.11. However, it is compatible with all
4134 other Samba 3.0.x releases. This means that it will be most likely
4135 be necessary to recompile any applications linked against the
4136 3.0.11 version of the library.
4139 ######################################################################
4146 Parameter Name Action
4147 -------------- ------
4148 allocation roundup size New
4149 log nt token command New
4150 write cache Deprecated
4154 Changes since 3.0.11
4155 --------------------
4159 o Jeremy Allison <jra@samba.org>
4160 * BUG 2146: Return correct allocation sizes so as not to crash
4162 * BUG 962: Ensure that parsing of service names in smb.conf is
4164 * BUG 2201, 2227: Support new delete semantics used by MS04-044
4166 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
4167 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
4168 * Add special hooks when serving directories containing large
4170 * Ensure that WINS negative name query responses and WACK
4171 packets use the correct RR type of 0xA instead of reflecting
4172 back what the query RR type was (0x20).
4173 * BUG 2310: Only do 16-bit normalization on small dfree request.
4174 * BUG 2323: Correct authentication failure when using plaintext
4175 passwords from Windows XP clients.
4176 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
4177 work around issues building MS Visual Studio 6.0 project
4178 on a Samba file share while restoring the pre-3.0.21pre1
4179 behavior by default.
4180 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
4181 stat when checking for existence of a pathname.
4182 * Check the sticky bit on the parent directory for supporting
4183 the new WinXP SP2 file deletion semantics.
4184 * Various oplock, share mode, and byte range locking fixes
4185 found by Connectathon tests.
4186 * BUG 2271: Fix resume key issues in trans2FindFirst() client
4187 code (inspired by patch from Satwik Hebbar).
4188 * BUG 2382, 2045: More pending modtime and delayed write fixes
4189 for MS Excel (incorporates partial patches from
4190 ke_miyata@itg.hitachi.co.jp).
4191 * Debug log message cleanups.
4192 * Add case insensitive search for a principal match on logon
4193 verification in the system keytab (based on patch by
4194 Michael Brown <mbrown@fensystems.co.uk>).
4195 * Revert the previous SMB signing change from Nalin Dahyabhai
4196 when using DES keys.
4197 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
4198 * Fix FindFirst() server code to deal with resume names of ".."
4199 and "." (found by Jim McDonough).
4200 * BUG 2451: Fix missing functions in full audit VFS module.
4201 * Ensure that smbd logs failures reported by DISK_FREE()
4202 (reported by Ying Li <ying.li2@hp.com>).
4203 * Ensure that smbclient obeys the max protocol argument again.
4204 * BUG 2335: Return correct error code for OS/2 clients (based on
4205 negotiated protocol level).
4206 * BUG 2460, 2464: remove dead code and unused variables
4207 (reported by Jason Mader).
4210 o Andrew Bartlett <abartlet@samba.org>
4211 * Avoid length-limited intermediate copy of NT and LM responses
4213 * Debug message cleanups in the NTLMSSP implementation.
4216 o Manuel Baena <mbaena@lcc.uma.es>
4217 * Print actual error message in smbmnt.c:fullpath().
4220 o Vince Brimhall <vbrimhall@novell.com>
4221 * Add support for Novell NDS universal password.
4222 * BUG 2424: Ensure that uidNumber and gidNumber use match
4224 * BUG 2453: Change the way pdb_nds.c handles users with no
4225 Universal or Simple Password.
4226 * NDS schema file corrections.
4229 o Gerald (Jerry) Carter <jerry@samba.org>
4230 * Add trans2 client call for checking dfs referrals
4231 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
4232 when checking directories on modern CIFS servers.
4233 * Add MS-DFS support to smbclient.
4234 * Code cleanup of adt_tree.[ch].
4235 * Add missing checks to allow root to manage user rights.
4236 * Allow domain admins to manage rights assignments on domain members
4238 * BUG 2333: Use the lpq command to pass in the correct printer name
4239 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
4241 * BUG 1439: make sure to initialize pointer to prevent invalid
4243 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
4245 * Add cups-devel to BuidlRequires directive in Fedora spec file.
4246 * BUG 858: Fix order of popt args evaluation so we don't crash
4247 when given no command line args.
4248 * Remove dependency on bash for source/autogen.sh.
4249 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
4250 * Implement MS-DFS for recursive directory listings in smbclient.
4251 * BUG 2394: Fix nmbd linking issue on IRIX.
4252 * Only display the publish check box in the client's printer
4253 properties dialog if we are a member of an AD domain.
4254 * BUG 2363: allow 'in use' driver to be removed as long as
4255 one 'Windows NT x86' driver remains.
4256 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
4258 * Enforce better printer.tdb cache consistency when removing
4259 jobs from a print queue via SMB.
4260 * Ensure that pause/resume/purge print queue commands are run
4261 with the appropriate level of privilege necessary to actually
4263 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
4264 for 'printing = cups' installations that do not actually have
4266 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
4267 * BUG 2215: Rewrite questionable code that was causing gcc to
4269 * Add server support for LsaLookupPrivValue().
4270 * Various small compile fixes and cleanup warnings.
4271 * BUG 2456: Fix compile failure on non-gcc platforms due to
4272 non-standard pragma.
4275 o Kevin Dalley <kevin@kelphead.org>
4276 * BUG 2398: Don't force smbclient to assume a dry run if the
4277 target tarfile is /dev/null.
4280 o Guenther Deschner <gd@samba.org>
4281 * Fix crash bug in the client-spoolss enumdataex-call.
4282 * Expand the valid-workstation-scheme by expanding names
4283 beginning with a plus (+) as a unix group.
4284 * Allow own netbios name to be set in smbclient's session setup.
4285 * Better handling of LDAP over IPC connections that have expired
4287 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
4288 * Add examples/misc/adssearch.pl.
4289 * BUG 2343: Build fixes.
4290 * Support get_user_info_7 in SAMR server RPC.
4291 * Fix server_role in the samr_query_dom_info calls.
4292 * Add example perl script to check for multiple LDAP entries
4293 after running 'net rpc vampire'.
4294 * Add more output when listing printer forms via rpcclient.
4295 * Debug log message cleanup.
4298 o Steve French <sfrench@us.ibm.com>
4299 * On failed mount (ENXIO) retry share name in uppercase (fix
4300 mount to FastConnect AIX SMB server).
4301 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
4302 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
4303 it with a user name.
4304 * Update for new CIFS POSIX info levels.
4305 * Ignore users mount parm in mount.cifs.
4307 o SATOH Fumiyasu <fumiya@samba.gr.jp>
4308 * BUG 1549: Don't truncate service names in smbstatus.
4311 o William Jojo <jojowil@hvcc.edu>
4312 * BUG 2445: Patch to avoid default ACLs on AIX.
4315 o S Murthy Kambhampaty <smk_va@yahoo.com>
4316 * Add idmap_rid module to Fedora and RedHat spec files.
4319 o Volker Lendecke <vl@samba.org>
4320 * BUG 2401: Flush internal getpwnam() cache after deleting a
4322 * BUG 1604: Make winbind work with more than 10 trusted domains.
4323 * Cleanup various compiler warnings.
4324 * Fix a memory leaks in privileges code and passdb backends.
4325 * Fixes for samr_lookup_sids() client call.
4326 * Optimize _samr_query_groupmem with LDAP backend for large
4328 * Support SIDs as %s replacements in the afs username map
4330 * Add 'log nt token command' parameter. If set, %s is replaced
4331 with the user sid, and %t takes all the group sids.
4332 * Do not use the "Local Unix Group"-default description for
4333 all kinds of group-mappings.
4334 * Fix uninitialized variable in Linux nss_winbind library.
4335 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
4336 * Implement 'net afs impersonate'.
4339 o Herb Lewis <herb@samba.org>
4340 * Fix build problem when HAVE_POSIX_ACL is not defined.
4341 * BUG 2417: Add help lines for net rpc group addmem and
4345 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
4346 * Add support to libsmbclient for getting and setting DOS
4347 attributes using EA functions.
4348 * Fix libsmbclient's URL encoding/decoding.
4349 * Replace browse listing URI queries with an internal options
4350 structure (previous method violated the SMB URI syntax).
4351 * Allow tree connects to be multiplexed over a single CIFS server
4353 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
4354 can determine a dead tree connection.
4355 * Implement better solution for backwards binary compatibility
4356 in libsmbclient while adding new fields to struct _SMBCCTX.
4359 o Mark Loeser <halcy0n@gentoo.org>
4360 * BUG 2443: Compile fix for gcc4.
4363 o Jim McDonough <jmcd@us.ibm.com>
4364 * BUG 2338: Fix coredump when OS/2 checks for long file name
4365 support (with .+,;=[].) (thanks to Guenter Kukkukk).
4368 o Jason Mader <jason@ncac.gwu.edu>
4369 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
4373 o Jim McDonough <jmcd@us.ibm.com>
4374 * Fixes for server schannel implementation when 'restrict
4375 anonymous = 1' is set in smb.conf.
4376 * Fix bug in server side lookupsids reply that crashed lsass.exe
4378 * Fix 'net rpc trustdom establish'.
4379 * BUG 2062: Turn off broadcast for all 390 NICs.
4380 * Fix 'net rpc trustdom add' to correctly add new domain trust
4381 accounts. This will eventually replace 'smbpasswd -a -i'.
4382 * Implement 'net rpc trustdom del', including client side of
4383 samr_remove_sid_from_foreign_domain.
4384 * Bring IBM Directory Server schema up to date with openldap
4386 * Allow for better protection of sensitive attributes in IBM
4390 o Stefan Metzmacher <metze@samba.org>
4391 * Fix memleaks in the nttrans code.
4394 o Mike Nix <mnix@wanm.com.au>
4395 * Add SMBsplopen and SMBsplclose client calls.
4398 o Justin Ossevoort <justin@snt.utwente.nl>
4399 * BUG 2316: Fix crashes in pdb_pgsql.
4402 o James Peach <jpeach@sgi.com>
4403 * Fixes in string handling code.
4404 * Fix oplock2 test in client smbtorture.
4407 o Tim Potter <tpot@samba.org>
4408 * Fix up example pdb modules after prototype change for
4410 * BUG 2058: Fix for shared object creation in examples.
4411 * BUG 2315: Fix segv in LSA privileges server code.
4412 * Build fixes for python wrapper libraries.
4415 o Richard Sharpe <rsharpe@samba.org>
4416 * BUG 2044: Fix segv in profiles tool.
4417 * Fix bogus error messages when enumerating user group
4418 membership via 'net rpc'.
4421 o Simo Sorce <idra@samba.org>
4422 * Debian packaging fixes.
4425 o John Terpstra <jht@samba.org>
4426 * Add the capability to set account description using pdbedit.
4429 o Doug VanLeuven <roamdad@sonic.net>
4430 * Add more case/realm/name permutations to the Kerberos keytab.
4431 * AIX compile fixes.
4434 o Jelmer Vernooij <jelmer@samba.org>
4435 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
4436 * BUG 1957: Implement minimal update of fields in mySQL pdb
4440 o Torsten Werner <torsten.werner@assyst-intl.com>
4441 * BUG 2405: Define 'lpstat' printcap output on HPUX.
4444 o Shlomi Yaakobovich" <Shlomi@exanet.com>
4445 * Detect infinite loops when traversing tdbs.
4448 --------------------------------------------------
4449 ==============================
4450 Release Notes for Samba 3.0.11
4452 ==============================
4454 Common bugs fixed in 3.0.11 include:
4456 o Crash in smbd when using CUPS printing.
4457 o Parsing error of other SIDs included in the user_info_3
4458 structure returned from domain controllers.
4459 o Inefficiencies when searching non-AD LDAP directories.
4460 o Failure to expand variables in user domain attributes
4461 in tdbsam and ldapsam.
4463 o Failure to retrieve certain attribute when migrating from
4464 a Windows DC to a Samba DC via 'net rpc vampire'.
4465 o Numerous printing bugs bugs including memory
4466 bloating on large/busy print servers.
4467 o Compatibility issues with Exchange 5.5 SP4.
4470 Additional features introduced in Samba 3.0.11:
4472 o Winbindd performance improvements.
4473 o More 'net rpc vampire' functionality.
4474 o Support for the Windows privilege model to assign rights
4476 o New administrative options to the 'net rpc' command.
4483 If "ldap user suffix" or "ldap machine suffix" are defined in
4484 smb.conf, all user-accounts must reside below the user suffix,
4485 and all machine and inter-domain trust-accounts must be located
4486 below the machine suffix. Previous Samba releases would fall
4487 back to searching the 'ldap suffix' in some cases.
4494 Samba 3.0.11 supports the following assignable rights
4496 SeMachineAccountPrivilege Add machines to domain
4497 SePrintOperatorPrivilege Manage printers
4498 SeAddUsersPrivilege Add users and groups to the domain
4499 SeRemoteShutdownPrivilege Force shutdown from a remote system
4500 SeDiskOperatorPrivilege Manage disk shares
4502 These rights can be assigned to arbitrary users or groups
4503 via the 'net rpc rights grant/revoke' command. More details
4504 of Samba's privilege implementation can be found in the
4505 Samba-HOWTO-Collection.
4508 ######################################################################
4512 Changes since 3.0.10
4513 --------------------
4518 Parameter Name Action
4519 -------------- ------
4520 afs token lifetime New
4521 enable privileges New
4522 ldap password sync Alias
4523 min password length Deprecated
4524 winbind enable local accounts Deprecated
4529 o Jeremy Allison <jra@samba.org>
4530 * Extend vfs to add seekdir/telldir/rewinddir.
4531 * Fix dirent return.
4532 * Fix bugs when handling secondary trans2 requests.
4533 * Implementation of get posix acls in UNIX extensions.
4534 * Added set posix acl functionality into the UNIX extensions code.
4535 * Updated config.guess/config.sub .
4536 * Fix error reply when 'follow symlinks = no'.
4537 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
4539 * Fixes for LARGE_READX support.
4540 * Fix the problem we get on Linux where sendfile fails, but we've
4541 already sent the header using send().
4542 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
4544 * BUG 2088: Ensure inherit permissions is only applied on a new
4545 file, not an existing one.
4546 * Don't go fishing for the krb5 authorization data unless we know
4548 * Fixes for libsmbclient to ensure that interrupted system calls
4549 are restarted minus the already expired portion of the timeout
4550 (based on work by Derrell Lipman).
4551 * More Unicode string parsing fixes.
4552 * Convert the winreg pipe to use WERROR returns.
4553 * Make all LDAP timeouts consistent (input from Joe Meadows
4554 <jameadows@webopolis.com>).
4555 * BUG 2231: Remove double "\\" from client findfirst.
4556 * BUG 2238: Fix memory leak in shadow copy vfs.
4557 * Return correct DOS/NT error code on transact named pipe on
4559 * BUG 2211: Fix security descriptor parsing bug (based on work by
4560 Mrinal Kalakrishnan <mail@mrinal.net>).
4561 * BUG 2270: Fix memory leaks in cups printing backend support
4562 (based on work by Lars Mueller).
4563 * BUG 2255: Fix debug level in Kerberos error messages.
4564 * BUG 2110: Ensure we convert to ucs2 correctly after the
4565 CAN-2004-0930 patch.
4566 * Make strict locking an enum. Auto means use oplock optimization.
4567 * Fix client & server to allow 127k READX calls.
4568 * More *alloc fixes (includes additional fixes by Albert Chin.
4569 * Catch sendfile errors correctly and return the correct values
4570 we want the caller to return.
4571 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
4572 for better use by desktop environments such as GNOME.
4573 * Ensure we can't remove a level II oplock without having the
4574 shared memory area locked.
4577 o Timur Bakeyev <timur@com.bat.ru>
4578 * BUG 2100: change the way we check for errors after a dlopen().
4579 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
4582 o Andrew Bartlett <abartlet@samba.org>
4583 * Clarify error message when 'lanman auth = no'.
4584 * Remove the unnecessary UTF-8 conversion calls in the calls to
4585 auth_winbind from smbd.
4586 * Don't store the auth-user credentials with the cli_state* as
4587 this can cause the schannel setup to fail when the auth-user
4588 domain is not our primary domain.
4591 o Grigory Batalov <bga@altlinux.org>
4592 * Fix encoding while receiving of a message which was actually
4593 sent using STR_ASCII.
4596 o Daniel Beschorner <db@unit-netz.de>
4597 * BUG 603: Correct access mask check for _samr_lookup_domain()
4598 to work with Windows RAS server
4601 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
4602 * Fix missing printer_tdb reference decrement.
4605 o Gerald (Jerry) Carter <jerry@samba.org>
4606 * BUG 2073: fall back to smb_name if current_user_info is not
4607 available in lp_file_list_changed().
4608 * Fixes the spurious 'register_message_flags: tdb fetch failed'
4610 * Don't run the background LPQ daemon when we are running in
4612 * prevent the background LPQ daemon from updating the print queue
4613 cache just because multiple smbd processes sent a message that
4615 * consolidate printer searches to use find_service rather than
4617 * BUG 2091: don't remove statically defined printers in
4618 remove_stale_printers().
4619 * Fix logic error in add_a_form() that only compared N characters
4620 instead of the entire form name.
4621 * BUG 2107: fix memory bloating caused by large numbers of
4622 print_queue_updates() requests sent via messages.tdb.
4623 * Check the setprinter(3) based on the access permissions on
4624 the handle and avoid the call to print_access_check().
4625 * Re-instantiate previous semantics for calling init_unistr2()
4626 with a NULL source buffer.
4627 * Support Windows privilege model for assigning rights
4628 to specific SIDs. Based on work by Simo Sorce in the trunk
4629 svn branch. This feature is controlled by the 'enable
4630 privileges = [yes|no]' smb.conf(5) option.
4631 * Add some smb.conf scripts for add/delete/change shares and
4632 deleting cups printers.
4633 * Expand variables in the profile path, logon home and logon script
4634 values when using either tdbsam or ldapsam.
4635 * Add Domain Admins (Full Control) to the default printer security
4636 descriptor if we are a DC.
4637 * RedHat and Fedora Packaging fixes for perl dependencies.
4638 * Remove unused schema items from OpenLDAP schema file.
4639 * Remove duplicate enumeration of "Windows x86" architecture
4640 when listing printer drivers via rpcclient.
4641 * Fail set_privileges() if 'enable privileges = no' to prevent
4643 * Fix segfault in cups_queue_get().
4644 * Tighten restrictions on changing user passwords when
4645 the connected user possesses the SeMachineAccountPrivilege.
4646 * Ensure we set NETBIOSNAME.domainname for the long machine name
4647 when publishing printers in AD (based on input from Rob Foehl).
4648 * Mark 'winbind enable local accounts' as deprecated.
4649 * Mark testprns tool as deprecated.
4650 * Allow root to grant/revoke privilege assignments.
4651 * Correct interaction between user rights and se_access_check() on
4653 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
4655 * BUG 2262: Add support in configure.in for *freebsd6*.
4656 * BUG 2266: Portability fixes for quota code on FreeBSD4.
4657 * BUG 2264: Remove shutdown and abortshutdown commands from
4658 rpcclient in favor of using the same functions in 'net'.
4659 * BUG 2295: Prevent smbd from returning an empty server name
4660 in certain lanman api calls.
4661 * BUG 2290: Fix autogen.sh script in examples (based on original
4662 patch from Lars Mueller).
4663 * Fix bug enumerating domain trusts in security = ads.
4664 * Fix segv in rpcclient's dsenumdomtrusts.
4665 * Fix bug in expansion of %U and %G in included filenames.
4666 * BUG 2291: Restrict creation of server trust and domain trust
4667 accounts to members of the "Domain Admins" group.
4669 o Nadav Danieli <nadavd@exanet.com>
4670 * Short circuit some is_locked() tests if we are oplocked.
4673 o Guenther Deschner <gd@samba.org>
4674 * Allow 'localhost' as a valid server name in the smbd for the
4676 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
4677 Mewburn for the input).
4678 * BUG 2059: Add additional checks needed after logic change to the
4679 HAVE_WRFILE_KEYTAB detection test.
4680 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
4681 Samba DC. Allow us to lookup at least our own SID.
4682 * More fixes to have proper German in swat (Thanks to Reiner
4683 Klaproth and Björn Jacke.
4684 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
4685 setting security descriptors with smbcacls and using with
4686 the -S or -M switch.
4687 * Include the munged_dial, bad_password_count, logon_count, and
4688 logon_hours attributes when running 'net rpc vampire'.
4689 * Fix segfault in idmap_rid.
4690 * When winbindd is operating in the multi-mapping mode of
4691 idmap_rid, allow BUILTIN domain-mapping.
4692 * Display infolevel 12 in query_dom_info in rpcclient.
4693 * Fix bug in winbindd's lowercasing of usernames.
4694 * Allow -v or -l for displaying verbose groupmap-listing
4695 as well as "verbose".
4696 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
4698 * Close LDAP-Connection before retrying to open a new connection
4700 * Marking "min password length" as depreciated.
4701 * Implement SAMR query_dom_info-call info-level 8 server- and
4702 client-side, based on samba4-idl.
4703 * Allow rpcclient to define a port to use when connecting
4705 * Allow Account Lockout with Lockout Duration "forever" (until
4706 admin unlocks) to be set and displayed in User Manager.
4707 * Allow to set acb_mask in rpcclient's enumdomusers.
4708 * Add more generic rootDSE inspection function to check
4709 for given controls or extensions and remember these on a
4711 * Improve LDAP search efficiency by passing the acb_mask to
4713 * Fixes for ldapsam_enum_group_memberships().
4714 * Add createdomgroup to rpcclient.
4715 * Add "net rpc user RENAME"-command.
4716 * Display sam_user_info_7 in rpcclient.
4717 * Make multi-domain-mode in idmap_rid accessible from outside
4718 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
4719 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
4720 "Lockout Duration: Forever".
4721 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
4723 * Require assignment of Administrator SID in the passdb
4724 backend. Fall back to the default name of 'Administrator' if
4725 the lookup fails rather than using the first name in the
4726 default 'admin users' list.
4727 * Enhance LDAP failure debug messages.
4728 * BUG 2291: Call the 'add machine script' for server trust and
4729 domain trust accounts as well as workstation accounts.
4732 o Levente Farkas <lfarkas@lfarkas.org>
4733 * BUG 2299: Better logrotate scripts for RedHat and Fedora
4737 o Jay Fenlason <fenlason@redhat.com>
4738 * Fix crash in 'net join' due to calling free on
4740 * Several patches from RedHat's Fedora Core RPMS.
4743 o Rob Foehl <rwf@loonybin.net>.
4744 * Compiler warnings.
4745 * Try modifying printer published attributes before adding it a
4747 * Solaris packaging fixes.
4748 * Don't force the cups printer-make-and-model tag as the comment
4749 for autoloaded printers.
4750 * Implement caching of names from printcap to support a true
4751 'printcap cache time'.
4754 o Johann Hanne <jhml@gmx.net>
4755 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
4758 o Jeff Hardy <hardyjm@potsdam.edu>
4759 * Example script for 'add print command' when using CUPS.
4762 o Deryck Hodge <deryck@samba.org>
4763 * Add -P (--password-only-menu) to SWAT for displaying only the
4764 password change page to non-root users.
4767 o David Hu <david.hu@hp.com>
4768 * Copy structure from print_queue_update() message rather than
4769 referencing it. Fixes seg fault on HP-UX.
4772 o Buck Huppmann <buckh@pobox.com>
4773 * BUG 2186: Don't free uninitialized credentials.
4774 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
4775 dnsDomainName != realm.
4778 o Björn Jacke <bjoern@j3e.de>
4779 * BUG 2040: Ensure the locale is reset to C to get ASCII-
4780 compatible toupper/lower functions.
4783 o William Jojo <jojowil@hvcc.edu>
4784 * Fix HPUX sendfile and add configure.in tests and code for
4786 * AIX 5.3 compile fixes.
4789 o Volker Lendecke <vl@samba.org>
4790 * Optimize anonymous session setups by workstations in a
4792 * Reimplment the QueryUserAliases() server RPC reply.
4793 * Re-add the getpwnam-cache for performance.
4794 * Cache the result of a pdb_getsampwnam for later SID lookup
4796 * Unify the means of localtaing a user's global groups on a
4798 * Fix bug when serving the 'Start Menu' in a roaming user profile..
4799 * Map more pre-defined NT security descriptors to AFS acls.
4800 * Add timeout to AD search requests.
4801 * If a connection to a DC is requested (in winbindd), open
4802 connections simultaneously to all DCs found.
4804 * Fix logic error in handling of 'printcap name' parameter.
4805 * Prevent winbindd from SPAM'ing the log files with 'user root
4807 * Backport samr_DomInfo2 IDL specification from Samba 4.
4808 * Implement smbstatus -n, don't lookup users and groups.
4809 * Implement simple mapping that maps the space to another character
4810 defined by afsacl:space.
4811 * Add support for 'net idmap delete <idmap-file> <SID>'.
4812 * Add new parameter 'afs token lifetime' tells the AFS client
4813 when to throw away a token (patch from kllin@it.su.se).
4814 * Initial work to allow support for multiple pipe opens on a
4816 * Ensure that we still retrieve the netbios name of any DC
4817 listed as a 'password server' to work around cases where the
4818 DC was defined using an IP address or fqdn.
4819 * Fix memleak in winbindd connection code.
4820 * Fix cli_samr_queryuseraliases.
4821 * Allow wbinfo --user-sids to expand expand domain local groups.
4822 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
4823 * Fix parsing of other_sids in net_user_info3.
4824 * Correct bad failure logic when user was not a member of any
4825 domain local groups.
4828 o Jason Mader <jason@ncac.gwu.edu>
4829 * BUG 2113, 2289: Remove dead code.
4832 o Jim McDonough <jmcd@us.ibm.com>
4833 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
4834 clients. If it fails, fall back to WINREG.
4835 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
4836 * BUG 2198: Set password last change time when running 'net rpc
4838 * Add "refuse machine password change" policy field.
4841 o Luke Mewburn <lukem@NetBSD.org>
4842 * BUG 2150: shmget() - Use POSIX definitions instead of non-
4846 o Stefan Metzmacher <metze@samba.org>
4850 o Buchan Milne <bgmilne@mandrake.org>
4851 * Mandrake packaging fixes.
4854 o Lars Mueller <lmuelle@samba.org>
4855 * Fix build of libsmbclient on x86_64.
4856 * BUG 2013: Fix testsuite build issues when libsmbclient.so
4857 is installed in a non-default location.
4858 * BUG 2050: Calculate max_fd for select correctly.
4859 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
4863 o Jason Mader <jason@ncac.gwu.edu>
4864 * BUG 2069: Remove unused variables.
4865 * BUG 2075: Remove dead code paths.
4866 * BUG 2083: Fix compiler warnings caused by bad type casts.
4869 o James Peach <jpeach@sgi.com>
4870 * Fix rewinddir -> rewind_dir when using VFS macros.
4873 o Gavrie Philipson <gavrie@disksites.com>
4874 * BUG 1838: Remove stale printers imeeddiately when
4875 processing a SIGHUP and during smb.conf reload.
4878 o Tim Potter <tpot@samba.org>
4879 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
4880 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
4881 * Change the license for the winbindd external interface
4883 * HP-UX compile fixes.
4884 * Compile fixes after new setsampwent() API.
4887 o Richard Renard <rrenard@idealx.com>
4888 * Update Netscape DS 5.2 LDAP schema.
4891 o Simo Sorce <idra@samba.org>
4892 * Backport pdbedit changes from trunk.
4893 * Allows the add/change share command to create the shared
4894 directory directory on disk.
4895 * Log a warning in testparm if a print command is defined for
4896 a print service using 'printing = cups'.
4898 o Jelmer Vernooij <jelmer@samba.org>
4899 * Bug fixes for pdb_{xml,pqsql,xml}
4900 * Fixes for pdb_mysql.
4903 o Andrew Tridgell <tridge@samba.org>
4904 * Bring Samba3 into line with the Samba4 password change code.
4907 o Shiro Yamada <shiro@miraclelinux.com>
4908 * BUG 2190: Force SWAT to display parameters in unix charset and
4912 --------------------------------------------------
4913 ==============================
4914 Release Notes for Samba 3.0.10
4916 ==============================
4918 Common bugs fixed in 3.0.10 include:
4920 o Fix for security issues described in CAN-2004-1154.
4929 o Jeremy Allison <jra@samba.org>
4930 * Added checks surrounding all *alloc() calls to fix
4932 * Fix long standing memory size bug in bitmap_allocate().
4933 * Remove bogus error check in deferred open file serving
4937 o Thomas Bork <tombork@web.de>
4938 * Fix autoconf script on platforms using a version of GNU ld
4939 that does not include a date stamp in the output of --version.
4942 o Luke Mewburn <lukem@NetBSD.org>
4943 * Fix the swat install script to deal with the new image
4944 destination directory used by the docs.
4948 --------------------------------------------------
4950 =============================
4951 Release Notes for Samba 3.0.9
4953 =============================
4955 Common bugs fixed in 3.0.9 include:
4957 o Problem updating roaming user profiles.
4958 o Crash in smbd when printing from a Windows 9x client.
4959 o Unresolved symbols in libsmbclient which caused
4960 applications such as KDE's konqueror to fail when
4961 accessing smb:// URLs.
4971 o Jeremy Allison <jra@samba.org>
4972 * Correctly detect errno for no acl/ea support.
4973 * BUG 2036: Fix seg fault in 'net ads join'.
4976 o Gerald (Jerry) Carter <jerry@samba.org>
4977 * Solaris packaging fixes.
4978 * Fix seg fault in lanman printing code.
4979 * BUG 2017: fix testparm reporting for the passwd program
4981 * Fix output of smbstatus to match the man page.
4982 * BUG 2027: fix conflict with declaration MD5_CTX in system
4984 * 2028: Avoid false error messages when copying a long
4985 printer name to the device mode.
4988 o Guenther Deschner <gd@samba.org>
4989 * Allow deldriverex in rpcclient to delete drivers for a
4990 specific architecture and a specific version.
4991 * Fix a couple of rpcclient spoolss commands (setprinter,
4992 setprintername, getdriver) w.r.t to printer-naming scheme.
4993 Allow 'localhost' in the server string for certain server-side
4995 * BUG 2015: Do not fail on setting file attributes with
4996 acl support enabled.
4999 o Michel Gravey <michel.gravey@optogone.com>
5000 * Fix build when using gcc 3.0.
5003 o Volker Lendecke <vl@samba.org>
5004 * Fix tdb open logic when checking our local_pid after
5008 o Jim McDonough <jmcd@us.ibm.com>
5009 * BUG 1932: Fix crash in 'net getlocalsid' when run as
5013 o Luke Mewburn <lukem@NetBSD.org>
5014 BUG 1661: Fix KRB5_SETPW-defines
5017 o Buchan Milne <bgmilne@mandrake.org>
5018 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
5021 o Lars Mueller <lmuelle@samba.org>
5022 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
5025 o Martin Zielinski <mz@seh.de>
5026 * Add DeletePrinterDriverEx() functionality to rpcclient.
5029 --------------------------------------------------
5031 =============================
5032 Release Notes for Samba 3.0.8
5034 =============================
5036 Common bugs fixed in 3.0.8 include:
5038 o Compile fixes for HP-UX
5039 o Fixes for the printer publishing code used when joined to
5041 o Incompatibilities with file system quotas.
5042 o Several bugs in the spoolss printing code and print system
5044 o Inconsistencies in the username map functionality when
5045 configured on domain member servers.
5046 o Various compile warnings and errors on various platforms.
5047 o Fixes for Kerberos interoperability with Windows 200x
5048 domains when using DES keys.
5049 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
5050 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
5053 New features included in the 3.0.8 release are:
5055 o New migration functionality added the the net tool
5056 for files/directories, printers, and shares.
5057 o New experimental idmap backend for assigning uids/gids
5058 directly based on the user/group RID when acting as a
5059 member of single domain without any trusts.
5060 o Additional printer migration support for XP/2003 platforms.
5063 ===========================
5064 Change in Winbindd Behavior
5065 ===========================
5067 All usernames returned by winbindd are now converted to lower
5068 case for better consistency. This means any winbind installation
5069 relying on the winbind username will need to rename existing
5070 directories and/or files based on the username (%u and %U) to lower
5071 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
5072 include mail spool files, home directories, valid user lines in
5076 ======================
5077 Change in Username Map
5078 ======================
5080 Previous Samba releases would only support reading the fully qualified
5081 username (e.g. DOMAIN\user) from the username map when performing a
5082 Kerberos login from a client. However, when looking up a map
5083 entry for a user authenticated by NTLM[SSP], only the login name would be
5084 used for matches. This resulted in inconsistent behavior sometimes
5085 even on the same server.
5087 Samba 3.0.8 obeys the following rules when applying the username
5090 * When performing local authentication, the username map is
5091 applied to the login name before attempting to authenticate
5093 * When relying upon a external domain controller for validating
5094 authentication requests, smbd will apply the username map
5095 to the fully qualified username (i.e. DOMAIN\user) only
5096 after the user has been successfully authenticated.
5099 ######################################################################
5108 Parameter Name Action
5109 -------------- ------
5110 force printername New
5111 sendfile disabled by default
5117 o Jeremy Allison <jra@samba.org>
5118 * Ensure extended security bit is on only if we negotiated
5120 * Simplify statcache to use an in-memory tdb.
5121 * If you're selecting a hash algorithm for tdb, you need
5122 to do it at open time.
5123 * Removed old dir caching code - not being used now we
5124 have the statcache anyway.
5125 * Simplify the mangle hash code to use an in-memory tdb.
5126 * Merge iconv changes from Samba 4 branch.
5127 * Fix parsing of names ending in dot and a few other error
5129 * BUG 1667: Smbpasswd file could be left locked on some
5131 * Fixes for smbclient tar functionality.
5132 * BUG 1743: Fix logic bug the deferred open code.
5133 * Don't try to set security descriptors on shares where
5134 this has been turned off.
5135 * Return correct error codes on old SEARCH call.
5136 * Ensure we set errno = E2BIG when we overflow in the
5137 fast-path character conversion code.
5138 * Fix the roundup problem (returning 1mb roundup) for
5139 non-Windows clients.
5140 * Added 'stat' command to smbclient to exercise the
5141 UNIX_FILE_BASIC info level.
5142 * Fix bug where we could incorrectly set sparse attribute.
5143 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
5144 (reported by Taj Khattra <taj.khattra@gmail.com>).
5145 * Remove locked keys tdb code.
5146 * BUG 1886: Prevent delete on close being set for readonly files
5147 (and return the correct error code).
5148 * Ensure we pass most of the new lock tests except for the cancel
5149 lock which is yet to be added (merged from Samba 4 branch).
5150 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
5151 * BUG 1956: Ensure errno is saved and restored consistently on a
5153 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
5154 that all of the appropriate service principal names are set
5155 upon joining an AD domain.
5156 * Fix the correct use of resume name in the trans2 code.
5157 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
5158 correct salt used when generated the DES key after joining an
5160 * Enhanced krb5 detection routines in the autoconf scripts.
5163 o Andrew Bartlett <abartlet@samba.org>
5164 * Avoid changing the machine account password in the passdb
5165 backend, when it has 'already been changed'. This occurs
5166 in situations where the secure channel between the workstation
5167 and the DC breaks down, such as occurred in the MS04-11
5169 * Fix utility name in error message in ntlm_auth.
5170 * Fix NTLMv2 for use with pam_winbind.
5171 * Remove conversion to and from UTF8 on the winbind pipe.
5172 * Allow 'require_membership_of' and 'require-membership-of'.
5173 * Fix the error code for 'you didn't specify a domain' in
5175 * Use sys_getgroups() rather than scanning all groups
5176 when generating SAMR replies.
5179 o Igor Belyi <sambauser@katehok.ac93.org>
5180 * Ensure pdb user is deleted first before deleting UNIX
5181 user (LDAP backend needs this ordering).
5184 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
5185 * Fix core dump in 'net rpc vampire'.
5188 o Vince Brimhall <vbrimhall@novell.com>
5189 * Make ldapsam_compat robust against NULL attributes.
5192 o Gerald Carter <jerry@samba.org>
5193 * Don't limit the number of groups returned by winbindd_getgroups()
5195 * BUG 1519: Match Windows 2000 behavior when opening a
5196 printer using a servername in the form of an IP address or
5198 * BUG 1907: remove extra slashes from the printer name in
5199 getprinterdriverdir_1().
5200 * Fix standard_sub_snum() to use the current user's gid.
5201 * Fix background queue update bug (based on Volker's initial work
5203 * Add 'force printername' service parameter for people that want
5204 to enforce printername == sharename for spoolss printing.
5205 * Ensure consistent usage of the username map. Use the fully
5206 qualified DOMAIN\user format for 'security = domain|ads' and
5207 apply after authentication has succeeded.
5208 * Cosmetic fix for getent output -- lowercase the username only
5209 and not the complete domain\username string.
5210 * Packaging fixes for Solaris, Redhat, & Fedora.
5213 o Sean Chandler <sean.chandler@verizon.net>
5214 * Fix memlieak in cliconnect.c.
5217 o Darren Chew <darrenc@vicscouts.asn.au>
5218 * Solaris packaging fixes.
5221 o Nalin Dahyabhai <nalin@redhat.com>
5222 * SMB signing fix for 56-bit DES session keys.
5225 o Guenther Deschner <gd@samba.org>
5226 * add IA64 to the architecture table of printer-drivers.
5227 * Add file/share/printer migration functionality to
5229 * Show correct help for net groupmap commands.
5230 * Fix deadlock loop in winbind's required_membership_sid
5232 * Bring the same level of "required_membership"-functionality
5233 that ntlm_auth uses, to pam_winbindd as well.
5234 * Prevent "net lookup kdc" from seg-faulting when
5235 using our own implementation of krb5_lookup_kdc with
5237 * Adding getprinter level 7 to rpcclient.
5238 * Support migrating printers|shares|files from Server A
5239 to Server B while running the net-command on client C.
5240 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
5241 failure of this call non-critical (Thanks to Love @ Heimdal
5242 for the explanation and patch).
5243 * Fix typos in net's usage-output.
5244 * Fix the paranoia-check to ensure the ldap-attribute and the
5245 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
5247 * Fix several bugs in the _samr_query_useraliases() rpc reply.
5248 * Check correct string length when verifying password-policies
5249 and using extended characters (Thanks to Uwe Morgenroth from CC
5250 Compunet and Volker).
5251 * Make 'password history'-behavior in ldapsam more consistent.
5252 * Adding "Windows x64" as architecture string and driverdir "x64"
5253 for the 64bit AMD platform.
5254 * BUG 1343: Readd WKGUID-binding to match the correct default-
5255 locations of new User-, Group- and Machine-Accounts in Active
5256 Directory (this got lost during the last trunk-merge).
5257 * Fix printer-migration w.r.t. to new naming-convention for
5259 * Allow to migrate win2k3/xp-drivers as well.
5260 * Add client-side support of triggering ads printer publishing
5261 over msrpc setprinter calls inside the net-tool.
5262 * Add the idmap_rid module (written in conjunction with
5263 Sumit Bose <sbose@suse.de>).
5264 * BUG 1661: Fix build with recent heimdal releases.
5265 * Prevent idmap_rid from making unnecessary calls to domain
5266 controllers for trusted domains.
5269 o Arthur van Dongen <avdongen@xs4all.nl>
5270 * Fix typos in pam_winbind log messages and SuSE
5274 o Rob Foehl <rwf@loonybin.net>
5275 * Typo fixes for log messages in printer publishing code.
5276 * Fix memory leak in printer publishing code.
5277 * Ensure print_backend_init() only gets called once.
5278 * Have smbd check the published status of all printers
5280 * Cleanup up the XXX_a_printer() API for consistency.
5281 * Refactored the printer publishing code and include better
5285 o Steve French <sfrench@us.ibm.com>
5286 * Fix IP address override in mount.cifs mount helper and clean
5287 up warning messages from the sparse tool and expand syntax help.
5288 * Strip guest mount option off before sending to kernel mount
5289 routine to avoid logging spurious message.
5292 o Satoh Fumiyasu <fumiya@samba.gr.jp>
5293 * BUG 1732: Limit share names returned by RAP based on windows
5294 character width, not unix character width.
5295 * BUG 1498: Ensure that acl entries are stored in the correct
5299 o Brett Funderburg <brett@deepfile.com>
5300 * Pass create options parameter to nt_create_andx() function
5301 from the python bindings.
5302 * BUG 1864: Add sd->type field to security descriptor Python
5304 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
5305 when trying to return the security descriptor for a file.
5306 * BUG 1884: Fixes for the Python bindings to use the value
5307 of the desired_access filed passed into the lsa_open_policy()
5311 o Michael Gravey <michel.gravey@optogone.com>
5312 * BUG 1776: Fix warnings when building modules caused by
5313 certain versions of GNU ld not using the the default
5314 --allow-shlib-undefined flag.
5317 o Chris Hertel <crh@samba.org>
5318 * Fix logic bug in splay tree data structure when finding
5320 * Fix bug where an invalid MAC address would be printed by
5321 a node status lookup from nmblookup.
5324 o Uli Iske <iske@elkb.de>
5325 * Update the DNS/eDirectory LDAP schema file.
5328 o Björn Jacke <bjacke@sernet.de>
5329 * BUG 1766: Unify charset-handling in Content-Type:-headers to
5330 UTF-8. Reformat msgstr in msg-files to UTF-8.
5331 * Do not use display charset for swat output.
5332 * Convert the share names correctly from unix encoding to web
5333 encoding and vice versa.
5334 * Convert files from status page from unix charset to UTF-8.
5337 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
5338 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
5341 o Tom Lackemann <cessnatomny@yahoo.com>
5342 * BUG 1954: Fix memory leak in posix acl code.
5345 o Volker Lendecke <vl@samba.org>
5346 * Robustnss fix for winbindd when sending multiple requests
5347 at a high rate for a slow operation.
5348 * Solve the problem of user sids ending up with gid's
5350 * Use sys_fork instead of fork for the dual daemon so that
5351 we get the correct debug pid in the logfiles.
5352 * Based on patch from jmcd, implement special lists for the LDAP
5353 user attributes to delete.
5354 * Fix creation of aliases via usrmgr. Winbind was too strict
5355 checking the type of sids.
5356 * Lowercase all usernames returned by winbind.
5357 * BUG 1545, 1823: Only issue the ldap extended password change
5358 operation if the ldap server supports it. Also ignore object
5359 class violation errors from the extended operation.
5360 * Optimization for 'idmap backend = ldap': When asking sid2id
5361 for the wrong type, don't ask ldap when we have the opposite mapping
5363 * Fix ldapsam_compat homeDrive.
5364 * Add usersidlist and allowedusers subcommands to the net tool
5365 in order to support scanning a file server's share and list
5366 all users who have permission to connect there.
5367 * Allow for multiple DC's to be named as #1c names in lmhosts.
5368 * Memory leak fixes.
5369 * Fix checks for the local pid of an smbd process after
5373 o Herb Lewis <herb@samba.org>
5374 * Added tdbtool to be built by default.
5377 o Love <lha@stacken.kth.se>
5378 * BUG 1955: Inconsistent error return.
5381 o Sorin Manolache <sorinm@gmail.com>
5385 o Jim McDonough <jmcd@us.ibm.com>
5386 * Allow 'net ads lookup' to rely on command line arguments
5387 if contacting an ADS server fails; utilize cldap for lookups.
5388 * Fixup formatting errors in TDB_LOG calls; add printf attribute
5389 support to tdb log functions.
5392 o Bill McGonigle <bill+samba@bfccomputing.com>
5393 * BUG 1926: Type in debug message.
5397 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
5401 o Luke Mewburn <lukem@NetBSD.org>
5402 * BUG 1782: Prevent testparm from displaying parameter synonyms.
5405 o Stefan Metzmacher <metze@samba.org>
5406 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
5407 * Fix client quota support.
5408 * Fix opening of system quota file.
5411 o Lars Mueller <lmuelle@samba.org>
5412 * Small fixes for autogen.sh to deal with version detection
5413 of autoconf and autoheader; fixes for examples using
5414 libtool to adhere to stricter syntax of newer version.
5417 o Henrik Nordstrom <hno@squid-cache.org>
5418 * Allow winbindd to return the correct number of groups
5419 when the groups array must be enlarged.
5422 o Narayana Pattipati <narayana.pattipati@wipro.com>
5423 * Solaris autoconf detection fixes.
5426 o Tim Potter <tpot@samba.org>
5427 * BUG 1360: (correct fix) Use -Wl when passing flags to
5429 * HP-UX compile fixes (from JBravo on #samba-technical).
5430 * BUG 1731: More HP-UX compiles fixes.
5431 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
5432 spits the dummy otherwise.
5433 * Fix bug in Python printerdata wrapper.
5434 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
5435 <bugzilla-samba@thewrittenword.com>).
5436 * Fix parameter confusion in priming of name-to-sid cache
5437 (Found by Qiao Yang).
5438 * BUG 1888: Remove '..' from all pre-processor commands.
5439 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
5443 o Matt Selsky <selsky@columbia.edu>
5444 * BUG 350: use autoconf 2.57 feature for checking header file
5445 preprocessing (fixes configure warnings on Solaris).
5448 o Richard Renard <rrenard@idealx.com>
5449 * Fix usermgr.exe and trust relationships.
5452 o Paul Szabo <psz@maths.usyd.edu.au>
5453 * Fix to make find_workgroup use the same
5454 truncation as create_workgroup.
5457 o Richard Sharpe <rsharpe@samba.org>
5458 * Ensure cli_write() can support writes >= 65536 bytes.
5461 o Simo Sorce <idra@samba.org>
5462 * Added check password script code in examples/auth/crackcheck/
5463 * Fix memory corruption bug caused in freeing static memory.
5466 o Andrew Tridgell <tridge@samba.org>
5467 * Remove lp_use_mmap() from map_file() since the latter
5468 is for read only and does not require coherence.
5469 * Ensure that the uuid pack/unpack routines do not go past
5470 the end of the structure.
5471 * Converted Samba 3 tree to use the new utf-16 aware iconv
5473 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
5474 * Ensure configure only uses '=' instead of the bashism '=='.
5475 * Reduces the number of tdb locking calls made on file IO.
5478 o Jelmer Vernooij <jelmer@samba.org>
5479 * Convert internal data to UTF-8 before calling libxml2.
5480 * Complain if 'password chat' doesn't contain the %u variable
5481 (based on a patch by Ronan Waide).
5485 * BUG 1541: Fix recursive ls in smbclient.
5488 o Igor Zhbanov <bsg@uniyar.ac.ru>
5489 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
5492 --------------------------------------------------
5494 =============================
5495 Release Notes for Samba 3.0.7
5497 =============================
5499 Common bugs fixed in 3.0.7 include:
5501 o Fixes for two Denial of Service vulnerabilities
5502 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
5503 o Winbind failure to return user entries under certain
5505 o Syntax errors in the OpenLDAP schema file (samba.schema).
5506 o Printing errors caused by not setting default values
5507 for the various printing commands.
5516 Parameter Name Action
5517 -------------- ------
5518 winbind enable local accounts disabled by default
5523 o Jeremy Allison <jra@samba.org>
5524 * Fix parsing of names ending in dot and a few other error
5526 * BUG 1674: Move the symlinks checks into reduce_name().
5527 * Fix memleak when checking the valid names smb.conf option.
5528 * Fix memleak on error return path in the file open code.
5529 * More paranoia checks in the hash2 mangling code.
5530 * Fix syntax error in configure.in.
5531 * Match Win2k3's behavior for pathname parsing error returns.
5532 * Make nmbd more robust against bad netbios packets
5534 * Add more checks for invalid ASN.1 packets for SPNEGO packets
5538 o Andrew Bartlett <abartlet@samba.org>
5539 * Janitor work in loadparm.c -- remove unused parameters.
5542 o Gerald Carter <jerry@samba.org>
5543 * BUG 1464: Ensure that printing commands are initialized even
5544 if the 'printing' parameter is not explicitly set.
5545 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
5546 Adharsh Praveen <rprav@india.hp.com>)
5547 * Work around parsing error in the print change notify code.
5548 * remove duplicate declaration of getprintprocdir from
5550 * Only use sAMAccountName and not userPrincipalName when looking
5551 up a username in AD since the breaks winbindd (lookup_name()
5552 only works with the sAMAccountName).
5553 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
5554 filling in the username in the user_info3.
5555 * Fix logic bug in the check for creating a user's home directory
5556 in register_vuid(); caused home directory to be mismatched to
5557 the first share in smb.conf under certain conditions.
5558 * BUG 1656: rename auto.a to auto.smb.
5559 * Ensure that we assign our pid to print jobs (and not our
5560 parent's pid); ensures that spooling jobs from dead smbds
5561 are removed from the tdb.
5562 * Disable 'winbind enable local accounts' by default.
5563 * Adding some initial checks for DragonFly (same as
5567 o Guenther Deschner <gd@samba.org>
5568 * Use SMB_ASSERT() to track down NULL printer names in
5570 * Revert fix for BUG 1474 to avoid unnecessary packaging
5574 o Olaf Flebbe <o.flebbe@science-computing.de>.
5575 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
5577 * BUG 1626: More compile fixes.
5580 o Rob Foehl <rwf@loonybin.net>
5581 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
5582 by attempts to sanitize the defined attributes.
5585 o SATOH Fumiyasu <fumiya@miraclelinux.com>
5586 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
5589 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
5590 * BUG 1657: Remove used initialized variable,
5591 * BUG 1658: Add a little bit of const.
5594 o Volker Lendecke <vl@samba.org>
5595 * If there's garbage in the pidfile, we should not panic
5596 but assume that no one else is around. We can't find the
5600 o Jim McDonough <jmcd@us.ibm.com>
5601 * Fixup format string in the tdb error messages.
5604 o Jonas Olsson <lexicon@lysator.liu.se>
5605 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
5606 reporting the list in usrmgr.exe.
5609 o Tim Potter <tpot@samba.org>
5610 * Fix out-of-tree builds (problem with the script to generate
5611 the svn version number).
5612 * BUG 1360: Need to use -Wl when passing flags to the linker.
5613 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
5614 doesn't have one of its own.
5616 o Simo Sorce <idra@samba.org>
5617 * Fixup compile issues on AIX caused by broken strlen() and
5619 * Update debian packaging files.
5622 o Dimitri van der Spek <dwspek@aboveit.nl>
5623 * Use the correct counter when copying group rids from the
5624 user_info3 struct in pam_winbind.
5627 o Qiao Yang <qyang@stbernard.com>
5628 * BUG 1622: Only cache the user
5631 --------------------------------------------------
5633 =============================
5634 Release Notes for Samba 3.0.6
5636 =============================
5638 Common bugs fixed in 3.0.6 include:
5640 o Schannel failure in winbindd.
5641 o Numerous memory leaks.
5642 o Incompatibilities between the 'write list' and 'force user'
5644 o Premature optimization of the open_directory() internal
5645 function that broke tools such as the ArcServe backup
5646 agent, Macromedia HomeSite, and Robocopy.
5647 o Corrupt workgroup names in nmbd's browse.dat.
5648 o Sharing violation errors commonly seen when opening
5649 when serving Microsoft Office documents from a Samba
5651 o Browsing problems caused by an apostrophe (') in the
5652 computer's description field.
5653 o Problems creating special file types from UNIX CIFS
5654 clients and enabling 'unix extensions'.
5655 o Fix stalls in smbd caused by inaccessible LDAP servers.
5656 o Remove various memory leaks.
5657 o Fix issues in the password lockout feature.
5659 New features introduced in this release include:
5661 O Support symlinks created by CIFS clients which
5662 can be followed on the server.
5663 o Using a cups server other than localhost.
5664 o Maintaining the service principal entry in the system
5665 keytab for integration with other kerberized services.
5666 Please refer to the 'use Kerberos keytab' entry in
5667 smb.conf(5). When using the heimdal Kerberos libraries,
5668 you must also specify the following in /etc/krb5.conf:
5670 default_keytab_name = FILE:/etc/krb5.keytab
5671 o Support for maintaining individual printer names
5672 stored separately from the printer's sharename.
5673 o Support for maintaining user password history.
5674 o Support for honoring the logon times for user in a
5678 ============================================
5679 unix extensions = yes (default) and symlinks
5680 ============================================
5682 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
5683 clients supporting the UNIX extensions to the CIFS protocol
5684 can create symlinks to absolute paths which will be **followed**
5685 by the server. This functionality has been requested in order
5686 to correctly support certain applications when the user's home
5687 directory is mounted using some type of CIFS client (e.g. the
5688 cifsvfs in the Linux 2.6 kernel).
5690 If this behavior is not acceptable for your production environment
5691 you can set 'wide links = no' in the specific share declaration in
5692 the server's smb.conf. Be aware that disabling wide link support
5693 out of a share in Samba may impact the server's performance due
5694 to the fact that smbd will now have to check each path additional
5695 times before traversing it.
5698 ========================
5699 Password History Support
5700 ========================
5702 The new password history feature allows smbd to check the new
5703 password in password change requests against a list of the user's
5704 previous passwords. The number of previous passwords to save can
5705 be set using pdbedit (4 in this example):
5707 root# pdbedit -P "password history" -C 4
5709 When using the ldapsam passdb backend, it is vital to secure the
5710 following attributes from access by non-administrative users:
5714 * sambaPasswordHistory
5716 You should refer to your directory server's documentation on how
5717 to implement this restriction.
5726 Parameter Name Action
5727 -------------- ------
5729 defer sharing violations New
5730 force unknown acl user New
5732 printcap cache time New
5733 use Kerberos keytab New
5737 o Jeremy Allison <jra@samba.org>
5738 * Correct path parsing bug that broke DeletePrinterDriverEx().
5739 * Fix bugs in check_path_syntax() caught by asserts.
5740 * Internal change - rearrange internal global case setting
5741 variables to a per connection basis.
5742 * BUG 1345: Fix premature optimization in unix_convert().
5743 * Allow clients to truncate a locked file.
5744 * BUG 1319: Always check to see if a user as write access
5745 to a share, even when 'force user' is set.
5746 * Fix specific case of open that doesn't cause oplock break,
5747 or share mode check.
5748 * Correct sid type is WKN_GROUP, not alias. Added some
5749 more known types (inspired by patch from Jianliang Lu).
5750 * Allow creation of absolute symlink paths via CIFS clients.
5751 * Fix charset bug in when invoking send_mailslot().
5752 * When using widelinks = no, use realpath to canonicalize
5753 the connection path on connection create for the user.
5754 * Enhance stat open code.
5755 * Fix unix extensions mknod code path.
5756 * Allow unix domain socket creation via unix extensions.
5757 * Auto disable the 'store dos attribute' parameter if the
5758 underlying filesystem doesn't support EAs.
5759 * Implement deferred open code to fix a bug with Excel files
5761 * BUG 1427: Catch bad path errors at the right point. Ensure
5762 all our pathname parsing is consistent.
5763 * Fix SMB signing error introduced by the new deferred open
5765 * Change default setting for case sensitivity to "auto". (see
5766 commit message -- r1154 -- for details).
5767 * Add new remote client arch -- CIFSFS.
5768 * Allow smbd to maintain the service principal entry in the
5769 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
5770 Guenther Deschner, et. al.).
5771 * Fix longstanding memleak bug with logfile name.
5772 * Fix incorrect type in printer publishing (struct uuid,
5774 * Heimdal compile fixes after introduction of the new ketyab
5776 * Ensure we check attributes correctly on rename request.
5777 * Ensure we defer a sharing violation on rename correctly.
5778 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
5780 * Fix bogus error message when using "mangling method = hash"
5782 * Turn on sendfile by default for non-Win9x clients.
5783 * Handle non-io opens that cause oplock breaks correctly.
5784 * Ensure ldap replication sleep time is not more than 5 seconds.
5785 * Add support for storing a user's password history.
5786 LDAP portion of the code was based on a patch from
5787 Jianliang Lu <j.lu@tiesse.com>.
5788 * Correct memory leaks found in the password change code.
5789 * Fix support for the mknod command with the Linux CIFS client.
5790 * Remove support for passing the new password to smbpasswd
5791 on the command line without using the -s option.
5792 * Ensure home directory service number is correctly reused
5793 (inspired by patches from Michael Collin Nielsen
5794 <michael@hum.aau.dk>).
5795 * Fix to stop printing accounts from resetting the bas
5796 password and account lockout flags.
5797 * If a account was locked out by an admin (and has a bad
5798 password count of zero) leave it locked out until an admin
5799 unlocks it (but log a message).
5800 * Ensure we return the same ACL revision on the wire that
5802 * BUG 1578: Hardcode replacement for invalid characters as '_'
5803 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
5804 * Fix hashed password history for LDAP backends.
5805 * Enforce logon hours restrictions if confiogured (based on code
5806 from Richard Renard <rrenard@idealx.com>).
5807 * BUG 1606: Force smbd to disable sendfile with DOS clients
5808 and ensure that the chained header is filled in for ...&X
5810 * BUG 1602: Fix access to shares when all symlink support
5815 o Tom Alsberg <alsbergt@cs.huji.ac.il>
5816 * Allow pdbedit to export a single user from a passdb backend.
5819 o Andrew Bartlett <abartlet@samba.org>
5820 * Fix parsing bug in GetDomPwInfo().
5821 * Fix segfault in 'ntlm_auth --diagnostics'.
5822 * Re-enable code to allow sid_to_gid() to perform a group
5823 mapping lookup before checking with winbindd.
5824 * Fix memory leak in the trans2 signing code.
5825 * Allow more flexible GSS-SPENGO client and server operation
5827 * Improve smbd's internal random number generation.
5828 * Fix a few outstanding long password changes in smbd.
5829 * Fix LANMAN2 session setup code.
5832 o Eric Boehm <boehm@nortelnetworks.com>
5833 BUG 703: Final touches on netgroup case lookups.
5836 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
5837 * Ensure error status codes don't get overwritten in
5838 lsa_lookup_sids() server code.
5839 * Correct bug that caused smbd to overwrite certain error
5840 codes when returning up the call stack.
5841 * Ensure the correct sid type returned for builtin sids.
5844 o Gerald Carter <jerry@samba.org>
5845 * Fix a few bugs in the Fedora Packaging files.
5846 * Fix for setting the called name to by our IP if the
5847 called name was *SMBSERVER and *SMBSERV. Fixes issue
5848 with connecting to printers via \\ip.ad.dr.ess\printer
5850 * BUG 1315: fix for schannel client connections to servers
5851 when we haven't specifically negotiated AUTH_PIPE_SEAL.
5852 * Allow PrinterDriverData valuenames with embedded backslashes
5853 (Fixes bug with one of the Konica Fiery drivers).
5854 * Fixed string length miscalculation in netbios names that
5855 resulted in corrupt workgroup names in browse.dat.
5856 * When running smbd as a daemon, launch child smbd to update
5857 the lpq cache listing in the background.
5858 * Allow printers "Printers..." folder to be renamed to a string
5859 other than the share name.
5860 * Allow winbindd to use domain trust account passwords when
5861 running on a Samba DC to establish an schannel to remote
5863 * Fix bad merge and ensure that we always use tdb_open_log()
5864 instead of tdb_open_ex() (the former call enforce the 'use
5866 * BUG 1221: revert old change that used single and double
5867 quotes as delimeters in next_token(), and change
5868 print_parameter() to print out parm values surrounded by
5869 double quotes (instead of single quotes).
5870 * Prevent home directories added during the SMBsesssetup&X from
5871 being removed as unused services.
5872 * Invalidate the print object cache for open printer handles when
5873 smbd receives a message that an attribute on a given printer
5875 * Cause the configure script to exit if --enable-cups[=yes] is
5876 defined and the system does not have the cups devel files
5878 * BUG 1297: Prevent map_username() from being called twice
5880 * Ensure that we use the userPrincipalName AD attribute
5881 value for LDAP SASL binds.
5882 * Ensure we remove the tdb entry when deleting a job that
5884 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
5885 client sends a FindNextPrintChangeNotify() request without
5886 previously sending a FindFirstPrintChangeNotify(). Return
5887 the same error code as Windows 2000 SP4.
5888 * BUG 1516: Manually declare ldap_open_with_timeout() to
5889 workaround compiler errors on IRIX (or other systems without
5891 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
5893 * Corrected syntax error in the OID for sambaUnixIdPool,
5894 sambaSidEntry, & sambaIdmapEntry object classes.
5895 * Tighten the cache consistency with the ntprinters.tdb entry
5896 an the in memory cache associated with open printer handles.
5897 * Make sure that register_messages_flags() doesn't overwrite
5898 the originally registered flags.
5901 o Fabien Chevalier <fabien.chevalier@supelec.fr>
5902 * Debian BUG 252591: Ensure that the return value from the
5903 number of available interfaces is initialized in case no
5904 interfaces are actually available.
5907 o Guenther Deschner <gd@sernet.de>
5908 * Implement 'rpcclient setprintername'.
5909 * Add local groups to the user's NT_TOKEN since they are
5910 actually supported now.
5911 * Heimdal compile fixes after introduction of the new keytab
5913 * Correctly honor the info level parameter in 'rpcclient
5915 * Reintroduce 'force unknown acl user' parameter. When getting a
5916 security descriptor for a file, if the owner sid is not known,
5917 the owner uid is set to the current uid. Same for group sid.
5918 * Ensure that REG_SZ values in the SetPrinterData actually
5919 get written in UNICODE strings rather than ASCII.
5920 * Ensure that the last Kerberos error return is not invalid.
5921 * Display share ACL entries from rpcclient.
5922 * Correct infinite loop in pam_winbind's verification of
5923 group membership in the 'other sids' field in the user_info3
5927 o Fabian Franz <FabianFranz@gmx.de>
5928 * Support specifying a port in the device URL passed to smbspool.
5931 o Steve French <sfrench@us.ibm.com>
5932 * Handle -S and user mount parms in mount.cifs.
5933 * Fix user unmount of shares mount with suid mount.cifs.
5934 * prevent infinite recusion in reopen_logs() when expanding
5935 the smb.conf variable %I.
5938 o Bjoern Jacke <bj@sernet.de>
5939 * Install libsmbclient into $(LIBDIR), not into hard coded
5940 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
5941 and an explicit configure --libdir setting.
5944 o <kawasa_r@itg.hitachi.co.jp>
5945 * Correct more memory leaks and initialization bugs.
5946 * Fix bug that prevented core dumps from being generated
5948 * Connect to the winbind pipe in non-blocking mode to
5949 prevent processes from hanging.
5950 * Memory leak fixes.
5953 o Stephan Kulow <coolo@suse.de>
5954 * Fix crash bug in libsmbclient.
5957 o Volker Lendecke <vl@samba.org>
5958 * Added vfs_full_audit module.
5959 * Add vfs_afsacl.c which can display & set AFS acls via
5960 the NT security editor.
5961 * Fix crash bug caused by trying to Base64 encode a NULL string.
5962 * Fix DOS error code bug in reply_chkpath().
5963 * Correct misunderstanding of the max_size field in
5964 cli_samr_enum_als_groups; it is more like an account_control
5965 field with individual bits what to retrieve.
5966 * Implement 'net rpc group rename' -- rename domain groups.
5967 * Implement the 'cups server' option. This makes it possible
5968 to have virtual smbd's connect to different cups daemons.
5969 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
5970 * Fix sid_to_gid() calls in winbindd to prevent loops.
5971 * Ensure that local_sid_to_gid() sets the type of the group on
5973 * Make sure that the clients are given back the IP address to
5974 which they connected in the case of a multi-homed host. Only
5975 affects strings the spoolss printing replies.
5976 * Fix the bad password lockout. This has not worked as pdb_ldap.c
5977 did not ask for the modifyTimestamp attribute, so it could
5978 not find it. Try not to regress by not putting that attrib
5979 in the main list but append it manually for the relevant searches.
5980 * Fix two memleaks in login_cache.c.
5981 * fixes memory bloat when unmarshalling strings.
5982 * Fix compile errors using gcc 3.2 on SuSE 8.2.
5983 * Fix the build for systems without Kerberos headers.
5984 * Allow winbindd to handle authentication requests only when
5985 started without either an 'idmap uid' or 'idmap gid' range.
5986 * Fix the build for systems without ldap headers.
5987 * Fix interaction between share security descriptor and the
5988 'read only' smb.conf option.
5989 * Fix bug that caused _samr_lookupsids() with more than 32 (
5990 MAX_REF_DOMAINS) SIDs to fail.
5991 * Allow the 'idmap backend' parameter to accept a list of
5992 LDAP servers for failover purposes.
5993 * Revert code in smbd to remove a tdb when it has become
5995 * Add paranoid checks when mapping SIDs to a uid/gid to
5996 ensure that the type is correct.
5997 * Initial work on getting client support for sending mailslot
5999 * Add 'ldap timeout' parameter.
6000 * Dont always uppercase 'afs username map'.
6001 * Expand aliases for getusersids as well.
6002 * Improved NT->AFS ACL mapping VFS module.
6005 o Herb Lewis <herb@samba.org>
6006 * Add the acls debug class.
6007 * Fix logic bug in netbios name truncate routine.
6008 * Fix smbd crash caused by smbtorture IOCTL test.
6009 * Fix errno tromping before calling iconv to reset the
6011 * need to leave empty dacl so we can remove last ACE.
6014 o Jianliang Lu <Jianliang.Lu@getronics.com>
6015 * Fix to stop smbd hanging on missing group member in
6017 * Make sure Samba returns the correct group types.
6018 * Reset the bad password count password counts upon a successful login.
6021 o Jason Mader <jason@ncac.gwu.edu>
6022 * BUG 1385: Don't use non-consts in a structure initialization.
6025 o Jim McDonough <jmcd@us.ibm.com>
6026 * BUG 1279: SMBjobid fix for Samba print servers running on
6027 Big-Endian platforms.
6030 o Joe Meadows <jameadows@webopolis.com>
6031 * Add optional timeout parameter to ldap open calls.
6032 * Allow get_dc_list() to check the negative cache.
6035 o Stefan Metzmacher <metze@samba.org>
6036 * fix a configure logic bug for linux/XFS quotas when
6037 using --with-sys-quotas.
6038 * Use quota debug class in quota code.
6039 * print out the SVN revision by configure,
6042 o Buchan Milne <bgmilne@mandrake.org>
6043 * Mandrake packaging fixes.
6046 o Lars Mueller <lmuelle@samba.org>
6047 * BUG 1279: Added 'printcap cache time' parameter.
6048 * Fix afs related build issues on SuSE.
6049 * Fix compiler warnings in the Kerberos client code.
6052 o James Peach <jpeach@sgi.com>
6053 * More iconv detection fixes for IRIX.
6054 * Compile fixed for systems that do not have C99/UNIX98 compliant
6055 vsnprintf by default.
6056 * Prevent smbd from attempting to use sendfile at all if it is
6057 not supported by the server's OS.
6058 * Allow SWAT to search for index.html when serving html files
6063 * Implement NFS quota support on FreeBSD.
6066 o Tim Potter <tpot@samba.org>
6067 * BUG 1360: Use -Bsymbolic when creating shared libraries to
6068 avoid conflicts with identical symbols in the global namespace
6069 when loading libnss_wins.so.
6072 o Richard Renard <rrenard@idealx.com>
6073 * Save the current password as it is being changed into the
6074 password history list.
6077 o Richard Sharpe <rsharpe@samba.org>
6078 * Fix error return codes on some lock messages.
6079 * BUG 1178: Make the libsmbclient routines callable
6081 * BUG 1333: Make sure we return an error code when
6083 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
6084 share mode locking requests fail.
6087 o Simo Sorce <idra@samba.org>
6088 * Update Debian stable & unstable packaging.
6089 * Tidy up parametric options in testparm output.
6092 o Richard Sharpe <rsharpe@samba.org>
6093 * Add sigchild handling to winbindd to restart the child
6094 daemon if necessary.
6097 o Tom Shaw <tomisfaraway@gmail.com>
6098 * Use winbindd_fill_pwent() consistently.
6101 o Nick Thompson <nickthompson@agere.com>
6102 * Protect smbd against broken filesystems which return zero
6106 o Andrew Tridgell <tridge@samba.org>
6107 * Fixed bug in handling of timeout in socket connections.
6110 o Nick Wellnhofer <wellnhofer@aevum.de>
6111 * Prevent lp_interfaces() list from being corrupted. Fixes
6112 bug where nmbd would lose the list of network interfaces
6113 on the system and consequently shutdown.
6116 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
6117 * Fix ntlm_auth memory leaks.
6120 o Jelmer Vernooij <jelmer@samba.org>
6121 * Additional NT status to unix error mappings.
6122 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
6123 get duplicate symbol errors.
6124 * Return an error when the last command read from stdin
6126 * Prepare for better error checking in tar.
6127 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
6130 --------------------------------------------------
6132 =============================
6133 Release Notes for Samba 3.0.5
6135 =============================
6137 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
6138 the exception of correcting the two security issues outlined
6141 ######################## SECURITY RELEASE ########################
6143 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
6144 CVE ID: CAN-2004-0600, CAN-2004-0686
6145 (http://cve.mitre.org/)
6148 This is the latest stable release of Samba. This is the version
6149 that production Samba servers should be running for all current
6152 It has been confirmed that versions of Samba 3 prior to v3.0.4
6153 are vulnerable to two potential buffer overruns. The individual
6154 details are given below.
6160 Affected Versions: Samba 3.0.2 and later
6162 The internal routine used by the Samba Web Administration
6163 Tool (SWAT v3.0.2 and later) to decode the base64 data
6164 during HTTP basic authentication is subject to a buffer
6165 overrun caused by an invalid base64 character. It is
6166 recommended that all Samba v3.0.2 or later installations
6167 running SWAT either (a) upgrade to v3.0.5, or (b) disable
6168 the swat administration service as a temporary workaround.
6170 This same code is used internally to decode the
6171 sambaMungedDial attribute value when using the ldapsam
6172 passdb backend. While we do not believe that the base64
6173 decoding routines used by the ldapsam passdb backend can
6174 be exploited, sites using an LDAP directory service with
6175 Samba are strongly encouraged to verify that the DIT only
6176 allows write access to sambaSamAccount attributes by a
6177 sufficiently authorized user.
6179 The Samba Team would like to heartily thank Evgeny Demidov
6180 for analyzing and reporting this bug.
6186 Affected Versions: Samba 3.0.0 and later
6188 A buffer overrun has been located in the code used to support
6189 the 'mangling method = hash' smb.conf option. Please be aware
6190 that the default setting for this parameter is 'mangling method
6191 = hash2' and therefore not vulnerable.
6193 Affected Samba 3 installations can avoid this possible security
6194 bug by using the default hash2 mangling method. Server
6195 installations requiring the hash mangling method are encouraged
6196 to upgrade to Samba 3.0.5.
6199 ##################################################################
6201 --------------------------------------------------
6203 =============================
6204 Release Notes for Samba 3.0.4
6206 =============================
6208 Common bugs fixed in Samba 3.0.4 include:
6210 o Password changing after applying the patch described in
6211 the Microsoft KB828741 article to Windows clients.
6213 o Managing print jobs via Windows on Big-Endian servers.
6214 o Several memory leaks in winbindd and smbd.
6215 o Compile issues on AIX and *BSD.
6218 --------------------
6223 o Jeremy Allison <jra@samba.org>
6224 * Fix path processing for DeletePrinterDriverEx().
6225 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
6229 o Andrew Bartlett <abartlet@samba.org>
6230 * Fix alignment bug in GetDomPwInfo().
6233 o Alexander Bokovoy <ab@samba.org>
6234 * Fix utime[s]() issues in smbwrapper on systems
6235 that can boot both the 2.4 and 2.6 Linux kernels.
6238 o Gerald Carter <jerry@samba.org>
6239 * Fedora packaging fixes.
6240 * BUG 1302: Fix seg fault by not trying to optimize a list of
6241 invalid gids using the wrong array size.
6242 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
6243 seen when 'security = share'.
6244 * Fix problems when using IBM's compiler on AIX.
6245 * Link Developer's Guide, Example Guide, and multi-page HOWTO
6246 into SWAT's welcome page.
6247 * BUG 1293: fix double free in printer publishing code.
6250 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
6251 * Fix for handling timeouts in socket connections.
6254 o Michel Gravey <michel.gravey@optogone.com>
6255 * BUG 483: patch from to fix password hash creation in SWAT.
6258 o Volker Lendecke <vl@samba.org>
6259 * Close the open NT pipes before the tdis.
6260 * Fix AFS related build issues.
6261 * Handle error conditions when base64 encoding a blob of 0 bytes.
6264 o Herb Lewis <herb@samba.org>
6265 * Added 'acls' debug class.
6267 o kawasa_r@itg.hitachi.co.jp
6268 * Multiple variable initialization and memory leak fixes.
6271 o Stephan Kulow <coolo@suse.de>
6272 * Fix string length bug in libsmbclient that caused KDE's
6274 * BUG 429: More libsmbclient fixes.
6277 o Jim McDonough <jmcd@us.ibm.com>
6278 * BUG 1007, 1279: Store the print job using a little-endian key.
6282 o Compile fix for OpenBSD (ENOTSUP not supported).
6285 o Stefan Metzmacher <metze@samba.org>
6286 * Correct bug in disks quota views from explorer.
6289 o Tim Potter <tpot@samba.org>
6290 BUG 1305: Correct debug output.
6293 o Richard Sharpe <rsharpe@samba.org>
6294 * Fix incorrect error code mapping.
6297 o Jelmer Vernooij <jelmer@samba.org>
6298 * Add additional NT_STATUS errorm mappings.
6301 --------------------------------------------------
6303 =============================
6304 Release Notes for Samba 3.0.3
6306 =============================
6309 Common bugs fixed in Samba 3.0.3 include:
6311 o Crash bugs and change notify issues in Samba's printing code.
6312 o Honoring secondary group membership on domain member servers.
6313 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
6314 o Substitution errors for %[UuGg] in smb.conf.
6315 o winbindd crashes when using ADS security mode.
6316 o SMB signing errors.
6317 o Delays in winbindd startup caused by unnecessary
6318 connections to trusted domain controllers.
6319 o Various small memory leaks.
6320 o Winbindd failing due to expired Kerberos tickets.
6322 New features introduced in Samba 3.0.3 include:
6324 o Improved support for i18n character sets.
6325 o Support for account lockout policy based on
6326 bad password attempts.
6327 o Improved support for long password changes (>14
6328 characters) and strong password enforcement.
6329 o Support for Windows aliases (i.e. nested groups).
6330 o Experimental support for storing DOS attribute on files
6331 and folders in Extended Attributes.
6332 o Support for local nested groups via winbindd.
6333 o Specifying options to be passed directly to the CUPS libraries.
6335 Please be aware that the Samba source code repository was
6336 migrated from CVS to Subversion on April 4, 2004. Details on
6337 accessing the Samba source tree via anonymous svn can be found
6338 at http://svn.samba.org/samba/subversion.html.
6341 Changes since 3.0.2a
6342 --------------------
6346 Parameter Name Action
6347 -------------- ------
6350 only user Deprecated
6351 store dos attributes New
6353 winbind nested groups New
6359 o Jeremy Allison <jra@samba.org>
6360 * Ensure that Kerberos mutex is always properly unlocked.
6361 * Removed Heimdal "in-memory keytab" support.
6362 * Fixup the 'multiple-vuids' bugs in our server code.
6363 * Correct return code from lsa_lookup_sids() on unmapped
6364 sids (based on work by vl@samba.org).
6365 * Fix the "too many fcntl locks" scalability problem
6367 * Fixup correct (as per W2K3) returns for lookupsids
6368 as well as lookupnames.
6369 * Fixups for delete-on-close semantics as per Win2k3 behavior.
6370 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
6371 * Fix "unable to initialize" bug when smbd hasn't been run with
6372 new system and a user is being added via pdbedit/smbpasswd.
6373 * Added NTrename SMB (0xA5).
6374 * Fixup correct timeout values for blocking lock timeouts.
6375 * Fix various bugs reported by 'gentest'.
6376 * More locking fixes in the case where we own the lock.
6377 * Fix up regression in IS_NAME_VALID and renames.
6378 * Don't set allocation size on directories.
6379 * Return correct error code on fail if file exists and target
6381 * Added client "hardlink" comment to test doing NT rename with
6382 hard links. Added hardlink_internals() code - UNIX extensions
6383 now use this as well.
6384 * Use a common function to parse all pathnames from the wire for
6385 much closer emulation of Win2k3 error return codes.
6386 * Implement check_path_syntax() and rewrite string sub
6387 functions for better multibyte support.
6388 * Ensure msdfs referrals are multibyte safe.
6389 * Allow msdfs symlink syntax to be more forgiving.
6390 eg. sym_link -> msdfs://server/share/path/in/share
6391 or sym_link -> msdfs:\\server\share\path\in\share.
6392 * Cleanup multibyte netbios name support in nmbd ( based on patch
6393 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
6394 * Fix check_path_syntax() for multibyte encodings which have
6395 no '\' as second byte (based on work by ab@samba.org.
6396 * Fix the "dfs self-referrals as anonymous user" problem
6397 (based on patch from vl@samba.org).
6398 * BUG 1064: Ensure truncate attribute checking is done correctly
6399 on "hidden" dot files.
6400 * Fix bug in anonymous dfs self-referrals again.
6401 * Fix get/set of EA's in client library
6402 * Added support for OS/2 EA's in smbd server.
6403 * Added 'ea support' parameter to smb.conf.
6404 * Added 'store dos attributes' parameter to smb.conf.
6405 * Fix wildcard identical rename.
6406 * Fix reply_ctemp - make compatible with w2k3.
6407 * Fix wildcard unlink.
6408 * Fix wildcard src with wildcard dest renames.
6409 * BUG 1139: Fix based on suggestion by jdev@panix.com.
6410 swap lookups for user and group - group will do an
6411 algorithmic lookup if it fails, user won't.
6412 * Make EA's lookups case independent.
6413 * Fix SETPATHINFO in 'unix extensions' support.
6414 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
6415 the UNIX info levels, and the short case preserve names.
6418 o Timur Bakeyev <timur@com.bat.ru>
6419 * BUG 1144: only set --with-fhs when the argument is 'yes'
6420 * BUG 1152: Allow python modules to build despite libraries added
6421 to LDFLAGS instead of LDPATH.
6422 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
6425 o Craig Barratt <cbarratt@users.sourceforge.net>
6426 * BUG 389: Allow multiple exclude arguments with smbclient
6427 tar -Xr options (better support for Amanda backup client).
6430 o Andrew Bartlett <abartlet@samba.org>
6431 * Include support for linking with cracklib for enforcing strong
6433 * Add support for >14 character password changes from Windows
6435 * Add 'admin set password' capability to 'net rpc'.
6436 * Allow 'net rpc samdump' to work with any joined domain
6437 regardless of smb.conf settings.
6438 * Use an allocated buffer for count_chars.
6439 * Add sanity checks for changes in the domain SID in an
6441 * Implement python unit tests for Samba's multibyte string
6443 * Remove 'unicode' smb.conf option.
6444 * BUG 1138: Fix support for 'optional' SMB signing and other
6446 * BUG 169: Fix NTLMv2-only behavior.
6447 * Ensure 'net' honors the 'netbios name' in the smb.conf by
6449 * Support SMB signing on connections using only the LANMAN
6450 password and generate the correct the 'session key' for these
6452 * Implement --required-membership-of=, an ntlm_auth option
6453 that restricts all authentication to members of this particular
6455 * Improve our fall back code for password changes.
6456 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
6457 after the server had said something (such as an error).
6458 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
6461 o Alexander Bokovoy <ab@samba.org>
6462 * Fix incorrect size calculation of the directory name
6464 * Fix problems with very long filenames in both smbd and smbclient
6465 caused by truncating paths during character conversions.
6466 * Fix smbfs problem with Tree Disconnect issued before smbfs
6470 o Gerald Carter <jerry@samba.org>
6471 * BUG 850: Fix 'make installmodules' bug on True64.
6472 * BUG 66: mark 'only user' deprecated.
6473 * Remove corrupt tdb and shutdown (only for printing tdbs,
6474 connections, sessionid & locking).
6475 * decrement smbd counter in connections.tdb in smb_panic().
6476 * RedHat specfile updates.
6477 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
6478 * BUG 1147; bad pointer case in get_stored_queue_info()
6480 * BUG 761: read the config file before initialized default
6481 values for printing options; don't default to bsd printing
6483 * Allow the 'printing' parameter to be set on a per share basis.
6484 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
6485 * BUG 848: don't create winbind local users/groups that already
6487 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
6489 * BUG 488: fix the 'show client in col 1' button and correctly
6490 enumerate active connections.
6491 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
6492 problem when storing the updating pid for the lpq cache.
6493 * BUG 1007 (partial): Fix print change notify bugs.
6494 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
6495 and winbind use default domain = yes. Also ensures that
6496 * BUG 1151: Ensure that winbindd users are passed through
6498 * Fix client rpc binds for ASU derived servers (pc netlink,
6500 * BUG 417, 1128: Ensure that the current_user_info is set
6501 consistently so that %[UuGg] is expanded correctly.
6502 * BUG 1195: Fix crash in winbindd when the ADS server is
6504 * BUG 1185: Set reconnect time to be the same as the
6505 'winbind cache time'.
6506 * Ensure that we return the sec_desc in smb_io_printer_info_2.
6507 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
6508 * BUG 1095: Honor the '-l' option in smbclient.
6509 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
6511 * Ensure server schannel uses the auth level requested by the
6513 * Removed --with-cracklib option due to potential crash issue.
6514 * Fix -lcrypto linking problem with wbinfo.
6515 * BUG 761: allow printing parameter to set defaults on a per
6517 * Add 'cups options' parameter to allow raw printing without
6518 changing /etc/cups/cupsd.conf.
6519 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
6521 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
6522 * BUG 1288: resolve any machine netbios name (0x00) and not just
6524 * BUG 1199: Fix potential symlink issue in
6525 examples/printing/smbprint.
6528 o Robert Dahlem <Robert.Dahlem@gmx.net>
6529 * BUG 1048: Don't return short names when when 'mangled names = no'
6532 o Guenther Deschner <gd@suse.com>
6533 * Remove hard coded attribute name in the ads ranged retrieval
6535 * Add --with-libdir and --with-mandir to autoconf script.
6538 o Bostjan Golob <golob@gimb.org>
6539 * BUG 1046: Fix getpwent_list() so that the username is not
6540 overwritten by other fields.
6543 o Landon Fuller <landonf@opendarwin.org>
6544 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
6545 to fix user/group enumeration on systems whose libc does not
6546 call setgrent() before trying to enumerate users (i.e.
6550 o Steve French <sfrench@us.ibm.com>
6551 * Update mount.cifs to version 1.1.
6552 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
6553 * Fixes to minor security bug in the mount helper.
6554 * Fix credential file mounting for cifs vfs.
6555 * Fix free of incremented pointer in cifsvfs mount helper.
6556 * Fix path canonicalization of the mount target path and help
6557 text display in the cifs mount helper.
6558 * Add missing guest mount option for mount.cifs.
6561 o SATOH Fumiyasu <fumiya@miraclelinux.com>
6562 * BUG 1055; formatting fixes for 'net share'.
6563 * BUG 692: correct truncation of share names and workgroup
6565 * BUG 1088: use strchr_m() for query_host (smbclient -L).
6566 * Patch from to internally count characters correctly.
6569 o Paul Green <paulg@samba.org>
6570 * Update VOS _POSIX_C_SOURCE macro to 200112L.
6571 * Fix bug in configure.ion by moving the first use of
6572 AC_CHECK_HEADERS so it is always executed.
6573 * Fix configure.in to only use $BLDSHARED to select whether to
6574 build static or shared libraries.
6577 o Pat Haywarrd <Pat.Hayward@propero.net>
6578 * Make the session_users list dynamic (max of 128K).
6581 o Cal Heldenbrand <calzplace@yahoo.com>
6582 * Fix for for 'pam_smbpass migrate' functionality.
6585 o Chris Hertel <crh@samba.org>
6586 * fix enumeration of shares 12 characters in length via
6590 o Ulrich Holeschak <ulrich@holeschak.de>
6591 * BUG 932: fix local password change using pam_smbpass
6594 o Krischan Jodies <kj@sernet.de>
6595 * Implement 'net rpc group delete'
6598 o John Klinger <john.klinger@lmco.com>
6599 * Return NSS_SUCCESS once the max number of gids possible
6600 has been found in initgroups() on Solaris.
6601 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
6604 o Volker Lendecke <vl@samba.org>
6605 * Fix success message for net groupmap modify.
6606 * Fix errors when enumerating members of groups in 'net rpc'.
6607 * Match Windows behavior in samr_lookup_names() by returning
6608 ALIAS(4) when you search in BUILTIN.
6609 * Fix server SAMR code to be able to set alias info for
6611 * Fix duplication of logic when creating groups via smbd.
6612 * Ensure that the HWM values are set correctly after running
6614 * Add 'net rpc group add'.
6615 * Implement 'net groupmap set' and 'net groupmap cleanup'.
6616 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
6617 * Fix wb_delgrpmem (wbinfo -o).
6618 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
6619 * Fix sambaUserWorkstations on a Samba DC.
6620 * Implement wbinfo -k: Have winbind generate an AFS token after
6621 authenticating the user.
6622 * Add expand_msdfs VFS module for providing referrals based on the
6623 the client's IP address.
6624 * Implement client side NETLOGON GetDCName function.
6625 * Fix caching of name->sid lookups.
6626 * Add support in winbindd for expanding nested local groups.
6627 * Fix memleak in winbindd.
6629 * Don't list domain groups from BUILTIN.
6630 * Fix memleak in policy handle utility functions.
6631 * Decrease winbindd startup time by only contacting trusted
6632 domains as necessary.
6633 * Allow winbindd to ask the DC for its domain for a trusted
6635 * Fix Netscape DS schema based on comments from
6636 <thomas.mueller@christ-wasser.de>.
6637 * Correct case where adding a domain user to a XP local group
6638 did a lsalookupname on the user without domain prefix, and
6640 * Fix segfault in winbindd caused by 'wbinfo -a'.
6643 o Herb Lewis <herb@samba.org>
6644 * Fix typo for tag in proto file.
6645 * Add missing #ifdef HAVE_BICONV stuff.
6646 * Truncate Samba's netbios name at the first '.' (not
6650 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
6651 * Bug fixes and enhancements to libsmbclient library.
6654 o Jianliang Lu <j.lu@tiesse.com>
6655 * Enforce the 'user must change password at next login' flag.
6656 * Decode meaning of 'fields present' flags (improves support
6659 * Don't force an upper case domain name in the ntlmssp code.
6662 o L. Lucius <ib@digicron.com>.
6666 o Jim McDonough <jmcd@us.ibm.com>
6667 * Add versioning support to tdbsam.
6668 * Update the IBM Directory Server schema with the OpenLDAP
6670 * Various decoding fixes to improve usrmgr.exe support.
6671 * Fix statfs redeclaration of statfs struct on ppc
6672 * Implement support for password lockout of Samba domain
6673 controllers and standalone servers.
6674 * Get MungedDial attribute actually working with full TS
6675 strings in it for pdb_ldap.
6676 * BUG 1208 (partial): Improvements for working with expired krb5
6677 tickets in winbindd.
6678 * Use timegm, or our already existing replacement instead of
6679 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
6680 * Remove modifyTimestamp from list of our attributes.
6681 * Fix lsalookupnames to check for domain users as well as local
6683 * Merge struct uuid replacement for GUID from trunk.
6684 * BUG 1208: Finish support for handling expired tickets in
6685 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
6688 o Stefan Metzmacher <metze@samba.org>
6689 * Implement new VERSION schema based on subversion revision
6691 * Add shadow_copy vfs module.
6692 * Fix segault in login_cache support.
6695 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
6696 o BUG 979 -- Fix quota display on AIX.
6699 o James Peach <jpeach@sgi.com>
6700 * Correct check for printf() format when using the SGI MIPSPro
6702 * BUG 1038: support backtrace for 'panic action' on IRIX.
6703 * BUG 768: Accept profileing arg to IRIX init script.
6704 * BUG 748: Relax arg parsing to sambalp script (IRIX).
6705 * BUG 758: Fix pdma build.
6706 * Search IRIX ABI paths for libiconv. Based on initial fix from
6710 o Kurt Pfeifle <kpfeifle@danka.de>
6711 * Add example shell script for migrating drivers and printers
6712 from a Windows print server to a Samba print server using
6713 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
6716 o Tim Potter <tpot@samba.org>
6717 * Fix logic bug in tdb non-blocking lock routines when
6719 * BUG 1025: Include sys/acl.h in check for broken nisplus
6721 * BUG 1066: s/printf/d_printf/g in SWAT.
6722 * BUG 1098: rename internal msleep() function to fix build
6724 * BUG 1112: Fix for writable printerdata problem in python bindings.
6725 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
6726 * BUG 1155: enclose use of fchown() with guards.
6727 * Relicense tdb python module as LGPL.
6730 o Richard Sharpe <rsharpe@samba.org>
6731 * Add support to smbclient for multiple logins on the same
6732 session (based on work by abartlet@samba.org).
6733 * Correct blocking condition in smbd's use of accept() on IRIX.
6734 * Add support for printing out the MAC address on nmblookup.
6737 o Simo Sorce <idra@samba.org>
6738 * Replace unknown_3 with fields_present in SAMR code.
6739 * More length checks in strlcat().
6742 o Andrew Tridgell <tridge@samba.org>
6743 * Rewrote the AIX UESS backend for winbindd.
6744 * Fixed compilation with --enable-dmalloc.
6745 * Change tdb license to LGPL (see source/tdb/tdb.c).
6746 * Force winbindd to use schannel in clients connections to
6750 o Jelmer Vernooij <jelmer@samba.org>
6751 * Fix ETA Calculation when resuming downloads in smbget.
6752 * Add -O (for writing downloaded files to standard out)
6753 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
6754 * Fix syntax error in example mysql table
6757 o TAKEDA yasuma <yasuma@miraclelinux.com>
6758 * BUG 900: fix token processing in cmd_symlink, cmd_link,
6759 cmd_chown, cmd_chmod smbclient functions.
6762 o Shiro Yamada <shiro@miraclelinux.com>
6763 * BUG 1129: install image files for SWAT.
6766 --------------------------------------------------
6768 ==============================
6769 Release Notes for Samba 3.0.2a
6771 ==============================
6773 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
6774 to address, in particular, a problem when using pdbedit to
6775 sanitize (--force-initialized-passwords) Samba's tdbsam
6776 backend. This is the latest stable release of Samba. This
6777 is the version that all production Samba servers should be
6778 running for all current bug-fixes.
6780 ******************* Attention! Achtung! Kree! *********************
6782 Beginning with Samba 3.0.2, passwords for accounts with a last
6783 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
6784 ldapsam, etc...) of zero (0) will be regarded as uninitialized
6785 strings. This will cause authentication to fail for such
6786 accounts. If you have valid passwords that meet this criteria,
6787 you must update the last change time to a non-zero value. If you
6788 do not, then 'pdbedit --force-initialized-passwords' will disable
6789 these accounts and reset the password hashes to a string of X's.
6791 ******************* Attention! Achtung! Kree! *********************
6800 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6801 details. The list of changes per contributor are as follows:
6804 o Jeremy Allison <jra@samba.org>
6805 * Added paranoia checks in parsing code.
6808 o Andrew Bartlett <abartlet@samba.org>
6809 * Ensure that changes to uninitialized passwords in ldapsam
6810 are written to the DIT.
6813 o Gerald (Jerry) Carter <jerry@samba.org>
6814 * Fixed iterator in tdbsam.
6815 * Fix bug that disabled accounts with a valid NT password
6816 hash, but no LanMan hash.
6819 o Steve French <sfrench@us.ibm.com>
6820 * Added missing nosetuid and noexec options.
6823 o Bostjan Golob <golob@gimb.org>
6824 * BUG 1046: Don't overwrite usernames of entries returned
6828 o Sebastian Krahmer <krahmer@suse.de>
6829 * Fixed potential crash bug in NTLMSSP parsing code.
6832 o Tim Potter <tpot@samba.org>
6833 * Fixed logic in tdb_brlock error checking.
6836 o Urban Widmark <urban@teststation.com>
6837 * Set nosuid,nodev flags in smbmnt by default.
6840 --------------------------------------------------
6842 =============================
6843 Release Notes for Samba 3.0.2
6845 =============================
6847 It has been confirmed that previous versions of Samba 3.0 are
6848 susceptible to a password initialization bug that could grant an
6849 attacker unauthorized access to a user account created by the
6850 mksmbpasswd.sh shell script.
6852 The Common Vulnerabilities and Exposures project (cve.mitre.org)
6853 has assigned the name CAN-2004-0082 to this issue.
6855 Samba administrators not wishing to upgrade to the current
6856 version should download the 3.0.2 release, build the pdbedit
6859 root# pdbedit-3.0.2 --force-initialized-passwords
6861 This will disable all accounts not possessing a valid password
6862 (e.g. the password field has been set a string of X's).
6864 Samba servers running 3.0.2 are not vulnerable to this bug
6865 regardless of whether or not pdbedit has been used to sanitize
6868 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
6871 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
6872 o Logging onto a Samba domain from Windows XP clients.
6873 o Problems with the %U and %u smb.conf variables in relation to
6874 Windows 9x/ME clients.
6875 o Kerberos failures due to an invalid in memory keytab detection
6877 o Updates to the ntlm_auth tool.
6878 o Fixes for various SMB signing errors.
6879 o Better separation of WINS and DNS queries for domain controllers.
6880 o Issues with nss_winbind FreeBSD and Solaris.
6881 o Several crash bugs in smbd and winbindd.
6882 o Output formatting fixes for smbclient for better compatibility
6883 with scripts based on the 2.2 version.
6892 Parameter Name Action
6893 -------------- ------
6894 ldap replication sleep New
6895 read size removed (unused)
6896 source environment removed (unused)
6902 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6903 details. The list of changes per contributor are as follows:
6905 o Jeremy Allison <jra@samba.org>
6906 * Revert change that broke Exchange clear text samlogons.
6907 * Fix gcc 3.4 warning in MS-DFS code.
6908 * Tidy up of NTLMSSP code.
6909 * Fixes for SMB signing errors
6910 * BUG 815: Workaround NT4 bug to support plaintext
6911 password logins and UNICODE.
6912 * Fix SMB signing bug when copying large files.
6913 * Correct error logic in mkdir_internals() (caused a panic
6914 when combined with --enable-developer).
6915 * BUG 830: Protect against crashes due to bad character
6919 o Petri Asikainen <paca@sci.fi>
6920 * BUG 330, 387:Fix single valued attribute updates when
6921 working with Novell NDS.
6924 o Andrew Bartlett <abartlet@samba.org>
6925 * Correctly handle per-pipe NTLMSSP inside a NULL session.
6926 * Fix segfault in gencache
6927 * Fix early free() of encrypted_session_key.
6928 * Change DC lookup routines to more carefully separate
6929 DNS names (realms) from NetBIOS domain names.
6930 * Add new sid_to_dn() function for internal winbindd use.
6931 * Refactor cli_ds_enum_domain_trusts().
6932 * BUG 707: Implement range retrieval of ADS attributes (based
6933 on work from Volker <vl@samba.org> and Guenther Deschner
6935 * Automatically initialize the signing engine if a session key
6937 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
6938 encoded strings, only form input in SWAT.
6939 * Resets the NTLMSSP state for new negotiate packets.
6940 * Add 2-byte alignments in net_samlogon() queries to parse
6941 odd-length plain text passwords.
6942 * Allow Windows groups with no members in winbindd.
6943 * Allow normal authentication in the absence of a server
6944 generated session key.
6945 * More optimizations for looking up UNIX group lists.
6946 * Clean up error codes and return values for pam_winbindd
6947 and winbindd PAM interface.
6948 * Fix string return values in ntlm_auth tool.
6949 * Fix segfault when 'security = ads' but no realm is defined.
6950 * BUG 722: Allow winbindd to map machine accounts to uids.
6951 * More cleanups for winbindd's find_our_domain().
6952 * More clearly detect whether a domain controller is an NT4
6953 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
6954 * Increase separation between DNS queries for hosts and queries
6955 for AD domain controllers.
6956 * Include additional NT_STATUS to PAM error mappings.
6957 * Password initialization fixes.
6960 o Justin Baugh <justin.baugh@request.com>
6961 * BUG 948: Implement missing functions required for FreeBSD
6962 nss_winbind support.
6965 o Alexander Bokovoy <ab@samba.org>
6966 * BUG 922: Make sure enable fast path for strlower_m() and
6970 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
6971 * Fix crash when using 'security = server' and 'encrypt
6972 passwords = no' by always initializing the session key.
6975 o Dmitry Butskoj <buc@odusz.elektra.ru>
6976 * Fix for special files being hidden from admins.
6979 o Gerald (Jerry) Carter <jerry@samba.org>
6980 * Fix bug in the lanman session key generation. Caused
6981 "decode_pw: incorrect password length" error messages.
6982 * Save the right case for the located user name in
6983 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
6984 * BUG 897: Add well known rid for pre win2k compatible access
6986 * BUG 887: Correct typo in delete user script example.
6987 * Use short lived TALLOC_CTX* for allocating printer objects
6988 from the print handle cache.
6989 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
6990 * Fix several warnings reported by the SUN Forte C compiler.
6991 * Fully control DNS queries for AD DC's using 'name resolve order'.
6992 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
6993 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
6994 * BUG 936: fix bind credentials for schannel binds in smbd.
6995 * BUG 446: Fix output of smbclient for better compatibility
6996 with scripts based on the 2.2 version (including Amanda).
6997 * BUG 891, 949: Fedora packaging fixes.
6998 * Fix bug that caused rpcclient to incorrectly retrieve
6999 the SID for a server (this causing all calls that required
7000 this information to fail).
7001 * BUG 977: Don't create a homes share for a user if a static
7002 share already exists by the same name.
7003 * Removed unused smb.conf options.
7004 * Password initialization fixes.
7005 * Set the disable flag for template accounts created by
7007 * Disable any account has no passwords and does not have the
7008 ACB_PWNOTREQ bit set.
7011 o Guenther Deschner <gd@suse.com>
7012 * Install smbwrapper.so should be put into the $(libdir)
7014 * Add the capability to specify the new user password
7015 for "net ads password" on the command line.
7016 * Correctly detect AFS headers on SuSE.
7019 o James Flemer <jflemer@uvm.edu>
7020 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
7021 HAVE_SYS_ATTRIBUTES_H.
7024 o Luke Howard <lukeh@PADL.COM>
7025 * Fix segfault in session setup reply caused by a early free().
7028 o Stoian Ivanov <sdr@bultra.com>
7029 * Implement grepable output for smbclient -L.
7032 o LaMont Jones <lamont@debian.org>
7033 * BUG 225328 (Debian): Correct false failure LFS test that resulted
7034 in _GNU_SOURCE not being defined (thus resulting in strndup()
7038 o Volker Lendecke <vl@samba.org>
7039 * BUG 583: Ensure that user names always contain the short
7040 version of the domain name.
7041 * Fix our parsing of the LDAP uri.
7042 * Don't show the 'afs username map' in the SWAT basic view.
7043 * Fix SMB signing issues in relation to failed NTLMSSP logins.
7044 * BUG 924: Fix return codes in smbtorture harness.
7045 * Always lower-case usernames before handing it to AFS code.
7046 * Add a German translation for SWAT.
7047 * Fix a segfaults in winbindd.
7048 * Fix the user's domain passed to register_vuid() from
7049 reply_spnego_Kerberos().
7050 * Add NSS example code in nss_winbind to convert UNIX
7051 id's <-> Windows SIDs.
7052 * Display more descriptive error messages for login via 'net'.
7053 * Fix compiler warning in the net tool.
7054 * Fix length bug when decoding base64 strings.
7055 * Ensure we don't call getpwnam() inside a loop that is iterating
7056 over users with getpwent(). This broke on glibc 2.3.2.
7059 o Herb Lewis <herb@samba.org>
7060 * Fix bit rot in psec.
7063 o Jianliang Lu <j.lu@tiesse.com>
7064 * Ensure we delete the group mapping before calling the delete
7066 * Define well known RID for managing the "Power Users" group.
7067 * BUG 381: check builtin (not local) group SID when updating
7069 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
7073 o John Klinger <john.klinger@lmco.com>
7074 * Implement initgroups() call in nss_winbind on Solaris.
7077 o Jim McDonough <jmcd@us.ibm.com>
7078 * Fix regression in net rpc join caused by recent changes
7079 to cli_lsa_query_info_policy().
7080 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
7084 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
7085 * BUG 570: Ensure that configure honors the LDFLAGS variable.
7088 o Stefan Metzmacher <metze@samba.org>
7089 * Implement LDAP rebind sleep patch.
7090 * Revert to 2.2 quota code because of so many broken quota files
7092 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
7093 XFS_USER_QUOTA -> USRQUOTA
7094 XFS_GROUP_QUOTA -> GRPQUOTA
7095 * Fix disk_free calculation with group quotas.
7096 * Add debug class 'quota' and a lot of DEBUG()'s
7098 * Fix sys_chown() when no chown() is present.
7099 * Add SIGABRT to fault handling in order to catch got a
7100 backtrace if an error occurs the OpenLDAP client libs.
7104 * Allow an existing LDAP machine account to be re-used when
7105 joining an AD domain.
7108 o James Peach <jpeach@sgi.com>
7109 * BUG 889: Change smbd to use pread/pwrite on platforms that
7110 support these calls. Can lead to a significant speed increase.
7113 o Tim Potter <tpot@samba.org>
7114 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
7115 * BUG 924: Fix typo in RW2 torture test.
7118 o Richard Sharpe <rsharpe@samba.org>
7119 * Small fixes to torture.c to cleanup the error handling
7120 and prevent crashes.
7123 o J. Tournier <jerome.tournier@IDEALX.com>
7124 * Small fixes for the smbldap-tool scripts.
7127 o Andrew Tridgell <tridge@samba.org>
7128 * Fix src len check in pull_usc2().
7131 o Jelmer Vernooij <jelmer@samba.org>
7132 * Put functions for generating SQL queries in pdb_sql.c
7133 * Add pgSQL backend (based on patch by Hamish Friedlander)
7134 * BUG 908: Fix -s option to smbcontrol.
7135 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
7136 * Fix for libnss_wins on IRIX platforms.
7137 * Fix swatdir for --with-fhs.
7140 --------------------------------------------------
7142 =============================
7143 Release Notes for Samba 3.0.1
7145 =============================
7147 Some of the more common bugs in 3.0.0 addressed in the release
7150 o Substitution problems with smb.conf variables.
7151 o Errors in return codes which caused some applications
7152 to fail to open files.
7153 o General Protection Faults on Windows 2000/XP clients
7154 using Samba point-n-print features.
7155 o Several miscellaneous crash bugs.
7156 o Access problems when enumerating group mappings are
7157 stored in an LDAP Directory.
7158 o Several common SWAT bugs when writing changes to
7160 o Internal inconsistencies when 'winbind use default
7166 ----------------------
7168 Parameter Name Action
7169 -------------- ------
7170 hide local users Removed
7171 mangled map Deprecated
7172 mangled stack Removed
7173 passwd chat timeout New
7179 o Change the interface for init_unistr2 to not take a length
7180 but a flags field. We were assuming that
7181 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
7182 o Allow d_printf() to handle strings with escaped quotation
7183 marks since the msg file includes the escape character (bug 489).
7184 o Fix bad html table row termination in SWAT wizard code (bug 413).
7185 o Fix to parse the level-2 strings.
7186 o Fix for "valid users = %S" in [homes]. Fix read/write
7188 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
7189 This is the same way AC_CHECK_LIB works (bug 508).
7190 o Testparm output fixes for clarity.
7191 o Fix broken wins hook functionality -- i18n bug (bug 528).
7192 o Take care of condition where DOS and NT error codes must differ.
7193 o Default to using only built-in charsets when a working iconv
7194 implementation cannot be located.
7195 o Wrap internals of sys_setgroups() so the sys_XX() call can
7196 be done unconditionally (bug 550).
7197 o Remove duplicate smbspool link on SWAT's front page (bug 541).
7198 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
7199 --enable-debug=[yes|no] works correctly.
7200 o Allow ^C to interrupt smbpasswd if using our getpass
7201 (e.g. smbpasswd command).
7202 o Support signing only on RPC's (bug 167).
7203 o Correct bug that prevented Excel 2000 clients from opening
7204 files marked as read-only.
7205 o Portability fix bugs 546 - 549).
7206 o Explicitly initialize the value of AR for vendor makes that don't
7207 do this (e.g. HPUX 11). (bug 552).
7208 o More i18n fixes for SWAT (bug 413).
7209 o Change the cwd before the postexec script to ensure that a
7210 umount will succeed.
7211 o Correct double free that caused winbindd to crash when a DC
7212 is rebooted (bug 437).
7213 o Fix incorrect mode sum (bug 562).
7214 o Canonicalize SMB_INFO_ALLOCATION in the same was as
7215 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
7216 o Add script to generate *msg files.
7217 o Add Dutch SWAT translation file.
7218 o Make sure to call get_user_groups() with the full winbindd
7219 name for a user if he/she has one (bug 406).
7220 o Fix up error code returns from Samba4 tester. Ensure invalid
7221 paths are validated the same way.
7222 o Allow Samba3 to pass the Samba4 RAW-READ tests.
7223 o Refuse to configure if --with-expsam=$BACKEND was used but no
7224 libraries were found for $BACKEND.
7225 o Move sysquotas autoconf tests to a separate file.
7226 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
7228 o Make sure that the files that contain the static_init_$subsystem;
7229 macro get recompiled after configure by removing the object
7231 o Ensure canceling a blocking lock returns the correct error
7233 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
7234 o Updated Japanese welcome file in SWAT.
7235 o Fix to nt-time <-> unix-time functions reversible.
7236 o Ensure that winbindd uses the the escaped DN when querying
7238 o Fix portability issues when compiling (bug 505, 550)
7239 o Compile fix for tdbbackup when Samba needs to override
7240 non-C99 compliant implementations of snprintf().
7241 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
7242 o Make sure we break out of samsync loop on error.
7243 o Ensure error code path doesn't free unmalloc()'d memory
7245 o Add configure test for krb5_keytab_entry keyblock vs key
7248 o Modified testparm so that all output so all debug output goes
7249 to stderr, and all file processing goes to stdout.
7250 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
7252 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
7253 we have a devmode before copying a string to the devicename.
7254 o Support mapping REALM.COM\user to a local user account (without
7255 running winbindd) for compatibility with 2.2.x release.
7256 o Ensure we don't use mmap() on blacklisted systems.
7257 o fixed a number of bugs and memory leaks in the AIX
7259 o Call initgroups() in SWAT before becomming the user so that
7260 secondary group permissions can be used when writing to
7262 o Fix signing problems when reverse connecting back to a
7263 client for printer notify
7264 o Fix signing problems caused by a miss-sequence bug.
7265 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
7266 Fixes NEXUS tools running on Win9x clients (bug 64).
7267 o Don't leave the domain field uninitialized in cli_lsa.c if some
7268 SID could not be mapped.
7269 o Fix segfault in mount.cifs helper when there is no options
7270 specified during mount.
7271 o Change the \n after the password prompt to go to tty instead
7272 of stdout (bug 668).
7273 o Stop net -P from prompting for machine account password (bug 451).
7274 o Change in behavior to Not only change the effective uid but also
7275 the real uid when becoming unprivileged.
7276 o Cope with Exchange 5.5 cleartext pop password auth.
7277 o New files for support of initshutdown pipe. Win2k doesn't
7278 respond properly to all requests on the winreg pipe, so we need
7279 to handle this new pipe (bug 534).
7280 o Added more va_copy() checks in configure.in.
7281 o Include fixes for libsmbclient build problems.
7282 o Missing UNIX -> DOS codepage conversion in lanman.c.
7283 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
7284 o Parameterize the listen backlog in smbd and make it larger by
7285 default. A backlog of 5 is way too small these days.
7286 o Check for an invalid fid before dereferencing the fsp pointer
7288 o Remove invalid memory frees and return codes in pdb_ldap.c.
7289 o Prompt for password when invoking --set-auth-user and no
7291 o Bind the nmbd sending socket to the 'socket address'.
7292 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
7293 $LDFLAGS occurs before any library specification (bug 661).
7294 o Fix large number of printf() calls for 64-bit size_t.
7295 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
7296 keyblock in the krb5 structs.
7297 o Remove #include <compat.h> in hopes to avoid problems with
7298 apache header files.
7299 o Correct winbindd build problems on HP-UX 11.
7300 o Lowercase netgroups lookups (bug 703).
7301 o Use the actual size of the buffer in strftime instead of a made
7302 up value which just happens to be less than sizeof(fstring).
7304 o Add ldaplibs to pdbedit link line (bug 651).
7305 o Fix crash bug in smbclient completion (bug 659).
7306 o Fix packet length for browse list reply (bug 771).
7307 o Fix coredump in cli_get_backup_list().
7308 o Make sure that we expand %N (bug 612).
7309 o Allow rpcclient adddriver command to specify printer driver
7311 o Compile tdbdump by default.
7312 o Apply patches to fix iconv detection for FreeBSD.
7313 o Do not allow the 'guest account' to be added to a passdb backend
7314 using smbpasswd or pdbedit (bug 624).
7315 o Save LDFLAGS during iconv detection (bug 57).
7316 o Run krb5 logins through the username map if the winbindd
7317 lookup fails (bug 698).
7318 o Add const for lp_set_name_resolve_order() to avoid compiler
7320 o Add support for the %i macro in smb.conf to stand in for the for
7321 the local IP address to which a client connected.
7322 o Allow winbindd to match local accounts to domain SID when
7323 'winbind trusted domains only = yes' (bug 680).
7324 o Remove code in idmap_ldap that searches the user suffix and group
7325 suffix. It's not needed and provides inconsistent functionality
7326 from the tdb backend.
7327 o Patch to handle munged dial string for Windows 2000 TSE.
7328 Thanks to Gaz de France, Direction de la Recherche, Service
7329 Informatique Métier for their supporting this work by Aurelien
7330 Degrémont <adegremont@idealx.com>.
7331 o Correct the "smbldap_open: cannot access when not root error"
7332 messages when looking up group information (bug 281).
7333 o Skip over the winbind separator when looking up a user.
7334 This fixes the bug that prevented local users from
7335 matching an AD user when not running winbindd (bug 698).
7336 o Fix a problem with configure on *BSD systems. Make sure
7337 we add -liconv etc to LDFLAGS.
7338 o Fix core dump bug when "security = server" and the authentication
7340 o Correct crash bug due to an empty munged dial string.
7341 o Show files locked by a specific user (smbstatus -u 'user')
7343 o Fix bug preventing print jobs from display in the queue
7344 monitor used by Windows NT and later clients (bug 660).
7345 o Fix several reported problems with point-n-print from
7346 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
7347 reply (bug 338, 527 & 643).
7348 o Fix a handful of potential memory leaks in the LDAP code used
7349 by ldapsam[_compat] and the LDAP idmap backend.
7350 o Fix for pdbedit error code returns (bug 763).
7351 o Make sure we only enumerate group mapping entries (not
7352 /etc/group) even when doing local aliases.
7353 o Relax check on the pipe name in a dce/rpc bind response to work
7354 around issues with establishing trusts to a Windows 2003 domain.
7355 o Ensure we mangle names ending in '.' in hash2 mangling method.
7356 o Correct parsing issues with munged dial string.
7357 o Fix bugs in quota support for XFS.
7358 o Add a cleaner method for applications that need to provide
7359 name->SID mappings to do this via NSS rather than having to
7360 know the winbindd pipe protocol.
7361 o Adds a variant of the winbindd_getgroups() call called
7362 winbindd_getusersids() that provides direct SID->SIDs listing of
7363 a users supplementary groups. This is enough to allow non-Samba
7364 applications to do ACL checking.
7365 o Make sure we don't append the 'ldap suffix' when writing out the
7366 'ldap XXX suffix' values in SWAT (bug 328).
7367 o Fix renames across file systems.
7368 o Ensure that items in a list of strings containing whitespace are
7369 written out surrounded by single quotes. This means that both
7370 double and single quotes are now used to surround strings in
7372 o Enable SWAT to correctly determine if winbindd is running (bug
7374 o Include WWW-Authenticate field in 401 response for bad auth
7376 o Add support for NTLM2 (NTLMv2 session security).
7377 o Add support for variable-length session keys.
7378 o More privilege fixes for group enumeration in LDAP (bug 281).
7379 o Use the dns name (or IP) as the originating client name when
7380 using CUPS (bug 467).
7381 o Fix various SMB signing bugs.
7382 o Fix ACL propagation on a DFS root (bug 263).
7383 o Disable NTLM2 for RPC pipes.
7384 o Allow the client to specify the NTLM2 flags got NTLMSSP
7386 o Change the name of the job passed off to cups from "Test Page"
7387 to "smbprn.00000033 Test Page" so that we can get the smb
7388 jobid back. This allow users to delete jobs with cups printing
7389 backend (partial work on bug 770).
7390 o Fix build of winbindd with static pdb modules.
7391 o Retrieve the correct ACL group bits if the file has an ACL
7393 o Implement "net rpc group members": Get members of a domain group
7394 in human-readable format.
7395 o Add MacOSX (Darwin) specific charset module code.
7396 o Use samr_dispinfo(level == 1) for enumerating domain users so we
7397 can include the full name in gecos field (bug 587).
7398 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
7399 o Implement 'net rpc group list [global|local|builtin]*' for a
7400 select listing of the respective user databases.
7401 o Don't automatically set NT status code flag unless client tells
7403 o Add 'net status [sessions|shares] [parseable]'.
7404 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
7406 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
7408 o Fix inverted logic in hosts allow/deny checks caused by
7409 s/strcmp/strequal/ (bug 846).
7410 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
7411 o Fix typo in 'hash' mangling algorithm.
7412 o Support munged dial for ldapsam (bug 800).
7413 o Fix process_incoming_data() to return the number of bytes handled
7414 this call whether we have a complete PDU or not; fixes bug
7415 with multiple PDU request rpc's broken over SMBwriteX calls
7417 o Fix incorrect smb flags2 for connections to pre-NT servers
7418 (causes smbclient to fail to OS2 for example) (bug 821).
7419 o Update version string in smbldap-tools Makefile to 0.8.2.
7420 o Correct a problem with "net rpc vampire" mis-parsing the
7421 alias member info reply.
7422 o Ensure the ${libdir} is created by the installclientlib script.
7423 o Fix detection of Windows 2003 client architecture in the smb.conf
7425 o Ensure that smbd calls the add user script for a missing UNIX
7426 user on Kerberos auth call (bug 445).
7427 o Fix bugs in hosts allow/deny when using a mismatched
7428 network/netmask pair.
7429 o Protect alloc_sub_basic() from crashing when the source string
7430 is NULL (partial work on bug 687).
7431 o Fix spinlocks on IRIX.
7432 o Corrected some bad destination paths when running "configure
7434 o Add packaging files for Fedora Core 1.
7435 o Correct bug in SWAT install script for non-english languages.
7436 o Support character set ISO-8859-1 internally (bug 558).
7437 o Fixed more LDAP access errors when looking up group mappings
7439 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
7440 resolution to fail on local files on on domain members
7442 o Fix uninitialized variable in passdb.c.
7443 o Fix formal parameter type in get_static() in nsswitch/wins.c.
7444 o Fix problem mounting directories when mount.cifs is installed
7445 with the setuid bit on.
7446 o Fix bug that prevent --mandir from overriding the defaults
7447 given in the --with-fhs macro.
7448 o Fix bug in in-memory Kerberos keytab detection routines
7453 ######################################################################
7455 The original 3.0.0 release notes follow
7456 =======================================
7457 WHATS NEW IN Samba 3.0.0
7459 =======================================
7465 1) Active Directory support. Samba 3.0 is now able to
7466 join a ADS realm as a member server and authenticate
7467 users using LDAP/Kerberos.
7469 2) Unicode support. Samba will now negotiate UNICODE on the wire
7470 and internally there is now a much better infrastructure for
7471 multi-byte and UNICODE character sets.
7473 3) New authentication system. The internal authentication system
7474 has been almost completely rewritten. Most of the changes are
7475 internal, but the new auth system is also very configurable.
7477 4) New default filename mangling system.
7479 5) A new "net" command has been added. It is somewhat similar to
7480 the "net" command in windows. Eventually we plan to replace
7481 numerous other utilities (such as smbpasswd) with subcommands
7484 6) Samba now negotiates NT-style status32 codes on the wire. This
7485 improves error handling a lot.
7487 7) Better Windows 2000/XP/2003 printing support including publishing
7488 printer attributes in active directory.
7490 8) New loadable module support for passdb backends and character
7493 9) New default dual-daemon winbindd support for better performance.
7495 10) Support for migrating from a Windows NT 4.0 domain to a Samba
7496 domain and maintaining user, group and domain SIDs.
7498 11) Support for establishing trust relationships with Windows NT 4.0
7501 12) Initial support for a distributed Winbind architecture using
7502 an LDAP directory for storing SID to uid/gid mappings.
7504 13) Major updates to the Samba documentation tree.
7506 14) Full support for client and server SMB signing to ensure
7507 compatibility with default Windows 2003 security settings.
7509 15) Improvement of ACL mapping features based on code donated by
7510 Andreas Grünbacher.
7513 Plus lots of other improvements!
7516 Additional Documentation
7517 ------------------------
7519 Please refer to Samba documentation tree (included in the docs/
7520 subdirectory) for extensive explanations of installing, configuring
7521 and maintaining Samba 3.0 servers and clients. It is advised to
7522 begin with the Samba-HOWTO-Collection for overviews and specific
7523 tasks (the current book is up to approximately 400 pages) and to
7524 refer to the various man pages for information on individual options.
7526 We are very glad to be able to include the second edition of
7527 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
7528 (O'Reilly & Associates) in this release. The book is available
7529 on-line at http://samba.org/samba/docs/ and is included with
7530 the Samba Web Administration Tool (SWAT). Thanks to the authors and
7531 publisher for making "Using Samba" under the GNU Free Documentation
7535 ######################################################################
7536 Upgrading from a previous Samba 3.0 beta
7537 ########################################
7539 Beginning with Samba 3.0.0beta3, the RID allocation functions
7540 have been moved into winbindd. Previously these were handled
7541 by each passdb backend. This means that winbindd must be running
7542 to automatically allocate RIDs for users and/or groups. Otherwise,
7543 smbd will use the 2.2 algorithm for generating new RIDs.
7545 If you are using 'passdb backend = tdbsam' with a previous Samba
7546 3.0 beta release (or possibly alpha), it may be necessary to
7547 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
7548 to winbindd_idmap.tdb. To do this:
7550 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
7552 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
7554 3) run: (note that 'tdb>' is the tool's prompt for input)
7556 root# ./tdbtool /usr/local/samba/private/passdb.tdb
7557 tdb> show RID_COUNTER
7561 [000] 0A 52 00 00 .R.
7563 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
7567 If you are using 'passdb backend = ldapsam', it will be necessary to
7568 store idmap entries in the LDAP directory as well (i.e. idmap backend
7569 = ldap). Refer to the 'net idmap' command for more information on
7570 migrating SID<->UNIX id mappings from one backend to another.
7572 If the RID_COUNTER record does not exist, then these instructions are
7573 unneccessary and the new RID_COUNTER record will be correctly generated
7578 ########################
7579 Upgrading from Samba 2.2
7580 ########################
7582 This section is provided to help administrators understand the details
7583 involved with upgrading a Samba 2.2 server to Samba 3.0.
7589 Many of the options to the GNU autoconf script have been modified
7590 in the 3.0 release. The most noticeable are:
7592 * removal of --with-tdbsam (is now included by default; see section
7593 on passdb backends and authentication for more details)
7595 * --with-ldapsam is now on used to provided backward compatible
7596 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
7597 backend and authentication section for more details
7599 * inclusion of non-standard passdb modules may be enabled using
7600 --with-expsam. This includes an XML backend and a mysql backend.
7602 * removal of --with-msdfs (is now enabled by default)
7604 * removal of --with-ssl (no longer supported)
7606 * --with-utmp now defaults to 'yes' on supported systems
7608 * --with-sendfile-support is now enabled by default on supported
7615 This section contains a brief listing of changes to smb.conf options
7616 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
7617 complete descriptions of new or modified parameters.
7619 Removed Parameters (order alphabetically):
7622 * alternate permissions
7625 * code page directory
7627 * domain admin group
7628 * domain guest group
7629 * force unknown acl user
7635 * printer driver file
7636 * printer driver location
7638 * source environment
7646 New Parameters (new parameters have been grouped by function):
7650 * abort shutdown script
7653 User and Group Account Management
7654 ---------------------------------
7656 * add machine script
7657 * add user to group script
7658 * algorithmic rid base
7659 * delete group script
7660 * delete user from group script
7662 * set primary group script
7668 * passwd chat timeout
7672 * client lanman auth
7673 * client NTLMv2 auth
7679 * paranoid server security
7688 * hide special files
7689 * hide unwriteable files
7691 * kernel change notify
7701 * max reported print jobs
7703 UNICODE and Character Sets
7704 --------------------------
7710 SID to uid/gid Mappings
7711 -----------------------
7715 * winbind enable local accounts
7716 * winbind trusted domains only
7717 * template primary group
7718 * enable rid algorithm
7725 * ldap machine suffix
7727 * ldap replication sleep
7730 General Configuration
7731 ---------------------
7735 Modified Parameters (changes in behavior):
7737 * encrypt passwords (enabled by default)
7738 * mangling method (set to 'hash2' by default)
7741 * restrict anonymous (integer value)
7742 * security (new 'ads' value)
7743 * strict locking (enabled by default)
7744 * unix extensions (enabled by default)
7745 * winbind cache time (increased to 5 minutes)
7746 * winbind uid (deprecated in favor of 'idmap uid')
7747 * winbind gid (deprecated in favor of 'idmap gid')
7753 This section contains brief descriptions of any new databases
7754 introduced in Samba 3.0. Please remember to backup your existing
7755 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
7756 upgrade databases as they are opened (if necessary), but downgrading
7757 from 3.0 to 2.2 is an unsupported path.
7759 Name Description Backup?
7760 ---- ----------- -------
7761 account_policy User policy settings yes
7762 gencache Generic caching db no
7763 group_mapping Mapping table from Windows yes
7764 groups/SID to unix groups
7765 winbindd_idmap ID map table from SIDS to UNIX yes
7767 namecache Name resolution cache entries no
7768 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
7769 returned as part of a successful
7770 net_sam_logon request
7771 printing/*.tdb Cached output from 'lpq no
7772 command' created on a per print
7774 registry Read-only samba registry skeleton no
7775 that provides support for exporting
7776 various db tables via the winreg RPCs
7782 The following issues are known changes in behavior between Samba 2.2 and
7783 Samba 3.0 that may affect certain installations of Samba.
7785 1) When operating as a member of a Windows domain, Samba 2.2 would
7786 map any users authenticated by the remote DC to the 'guest account'
7787 if a uid could not be obtained via the getpwnam() call. Samba 3.0
7788 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
7789 current work around to re-establish the 2.2 behavior.
7791 2) When adding machines to a Samba 2.2 controlled domain, the
7792 'add user script' was used to create the UNIX identity of the
7793 machine trust account. Samba 3.0 introduces a new 'add machine
7794 script' that must be specified for this purpose. Samba 3.0 will
7795 not fall back to using the 'add user script' in the absence of
7796 an 'add machine script'
7799 ######################################################################
7800 Passdb Backends and Authentication
7801 ##################################
7803 There have been a few new changes that Samba administrators should be
7804 aware of when moving to Samba 3.0.
7806 1) encrypted passwords have been enabled by default in order to
7807 inter-operate better with out-of-the-box Windows client
7808 installations. This does mean that either (a) a samba account
7809 must be created for each user, or (b) 'encrypt passwords = no'
7810 must be explicitly defined in smb.conf.
7812 2) Inclusion of new 'security = ads' option for integration
7813 with an Active Directory domain using the native Windows
7814 Kerberos 5 and LDAP protocols.
7816 MIT Kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
7817 type which is neccessary for servers on which the
7818 administrator password has not been changed, or Kerberos-enabled
7819 SMB connections to servers that require Kerberos SMB signing.
7820 Besides this one difference, either MIT or Heimdal Kerberos
7821 distributions are usable by Samba 3.0.
7824 Samba 3.0 also includes the possibility of setting up chains
7825 of authentication methods (auth methods) and account storage
7826 backends (passdb backend). Please refer to the smb.conf(5)
7827 man page for details. While both parameters assume sane default
7828 values, it is likely that you will need to understand what the
7829 values actually mean in order to ensure Samba operates correctly.
7831 The recommended passdb backends at this time are
7833 * smbpasswd - 2.2 compatible flat file format
7834 * tdbsam - attribute rich database intended as an smbpasswd
7835 replacement for stand alone servers
7836 * ldapsam - attribute rich account storage and retrieval
7837 backend utilizing an LDAP directory.
7838 * ldapsam_compat - a 2.2 backward compatible LDAP account
7841 Certain functions of the smbpasswd(8) tool have been split between the
7842 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
7843 utility. See the respective man pages for details.
7846 ######################################################################
7850 This section outlines the new features affecting Samba / LDAP
7856 A new object class (sambaSamAccount) has been introduced to replace
7857 the old sambaAccount. This change aids us in the renaming of
7858 attributes to prevent clashes with attributes from other vendors.
7859 There is a conversion script (examples/LDAP/convertSambaAccount) to
7860 modify and LDIF file to the new schema.
7864 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
7865 $ convertSambaAccount --sid=<Domain SID> \
7866 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
7867 --changetype=[modify|add]
7869 The <DOM SID> can be obtained by running 'net getlocalsid
7870 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
7871 the format of the generated LDIF output--either create new entries
7872 or modify existing entries.
7874 The old sambaAccount schema may still be used by specifying the
7875 "ldapsam_compat" passdb backend. However, the sambaAccount and
7876 associated attributes have been moved to the historical section of
7877 the schema file and must be uncommented before use if needed.
7878 The 2.2 object class declaration for a sambaAccount has not changed
7879 in the 3.0 samba.schema file.
7881 Other new object classes and their uses include:
7883 * sambaDomain - domain information used to allocate rids
7884 for users and groups as necessary. The attributes are added
7885 in 'ldap suffix' directory entry automatically if
7886 an idmap uid/gid range has been set and the 'ldapsam'
7887 passdb backend has been selected.
7889 * sambaGroupMapping - an object representing the
7890 relationship between a posixGroup and a Windows
7891 group/SID. These entries are stored in the 'ldap
7892 group suffix' and managed by the 'net groupmap' command.
7894 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
7895 automatically and contains the next available 'idmap uid' and
7898 * sambaIdmapEntry - object storing a mapping between a
7899 SID and a UNIX uid/gid. These objects are created by the
7900 idmap_ldap module as needed.
7902 * sambaSidEntry - object representing a SID alone, as a Structural
7903 class on which to build the sambaIdmapEntry.
7906 New Suffix for Searching
7907 ------------------------
7909 The following new smb.conf parameters have been added to aid in directing
7910 certain LDAP queries when 'passdb backend = ldapsam://...' has been
7913 * ldap suffix - used to search for user and computer accounts
7914 * ldap user suffix - used to store user accounts
7915 * ldap machine suffix - used to store machine trust accounts
7916 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
7917 * ldap idmap suffix - location of sambaIdmapEntry objects
7919 If an 'ldap suffix' is defined, it will be appended to all of the
7920 remaining sub-suffix parameters. In this case, the order of the suffix
7921 listings in smb.conf is important. Always place the 'ldap suffix' first
7924 Due to a limitation in Samba's smb.conf parsing, you should not surround
7925 the DN's with quotation marks.
7931 Samba 3.0 supports an ldap backend for the idmap subsystem. The
7932 following options would inform Samba that the idmap table should be
7933 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
7938 idmap backend = ldap:ldap://onterose/
7939 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
7940 idmap uid = 40000-50000
7941 idmap gid = 40000-50000
7943 This configuration allows winbind installations on multiple servers to
7944 share a uid/gid number space, thus avoiding the interoperability problems
7945 with NFS that were present in Samba 2.2.
7949 ######################################################################
7950 Trust Relationships and a Samba Domain
7951 ######################################
7953 Samba 3.0.0beta2 is able to utilize winbindd as the means of
7954 allocating uids and gids to trusted users and groups. More
7955 information regarding Samba's support for establishing trust
7956 relationships can be found in the Samba-HOWTO-Collection included
7957 in the docs/ directory of this release.
7959 First create your Samba PDC and ensure that everything is
7960 working correctly before moving on the trusts.
7962 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
7963 4.0 domain named WINDOWS:
7965 1) create the trust account for SAMBA in "User Manager for Domains"
7966 2) connect the trust from the Samba domain using
7967 'net rpc trustdom establish GLASS'
7969 To create a trustlationship with SAMBA as the trusted domain:
7971 1) create the initial trust account for GLASS using
7972 'smbpasswd -a -i GLASS'. You may need to create a UNIX
7973 account for GLASS$ prior to this step (depending on your
7974 local configuration).
7975 2) connect the trust from a WINDOWS DC using "User Manager
7978 Now join winbindd on the Samba PDC to the SAMBA domain using
7979 the normal steps for adding a Samba server to an NT4 domain:
7980 (note that smbd & nmbd must be running at this point)
7982 root# net rpc join -U root
7983 Password: <enter root password from smbpasswd file here>
7985 Start winbindd and test the join with 'wbinfo -t'.
7987 Now test the trust relationship by connecting to the SAMBA DC
7988 (e.g. POGO) as a user from the WINDOWS domain:
7990 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
7993 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
7995 $ smbclient //crystal/netlogon -U root -W WINDOWS
7998 ######################################################################
8002 Beginning with Samba3.0.0beta3, winbindd has been given new account
8003 manage functionality equivalent to the 'add user script' family of
8004 smb.conf parameters. The idmap design has also been changed to
8005 centralize control of foreign SID lookups and matching to UNIX
8009 Brief Description of Changes
8010 ----------------------------
8012 1) The sid_to_uid() family of functions (smbd/uid.c) have been
8013 reverted to the 2.2.x design. This means that when resolving a
8014 SID to a UID or similar mapping:
8016 a) First consult winbindd
8017 b) perform a local lookup only if winbindd fails to
8018 return a successful answer
8020 There are some variations to this, but these two rules generally
8023 2) All idmap lookups have been moved into winbindd. This means that
8024 a server must run winbindd (and support NSS) in order to achieve
8025 any mappings of SID to dynamically allocated UNIX ids. This was
8026 a conscious design choice.
8028 3) (OBSOLETE) New functions have been added to winbindd to emulate
8029 the 'add user script' family of smbd functions without requiring
8030 that external scripts be defined. This functionality is controlled
8031 by the 'winbind enable local accounts' smb.conf parameter (enabled
8034 However, this account management functionality is only supported
8035 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
8036 must be shared among multiple Samba servers (such as a PDC and BDCs),
8037 it will be necessary to define your own 'add user script', et. al.
8038 programs that place the accounts/groups in some form of directory
8039 such as NIS or LDAP. This requirement was deemed beyond the scope
8040 of winbind's account management functions. Solutions for
8041 distributing UNIX system information have been deployed and tested
8042 for many years. We saw no need to reinvent the wheel.
8044 4) A member of a Samba controlled domain running winbindd is now able
8045 to map domain users directly onto existing UNIX accounts while still
8046 automatically creating accounts for trusted users and groups. This
8047 behavior is controlled by the 'winbind trusted domains only' smb.conf
8048 parameter (disabled by default to provide 2.2.x winbind behavior).
8050 5) Group mapping support is wrapped in the local_XX_to_XX() functions
8051 in smbd/uid.c. The reason that group mappings are not included
8052 in winbindd is because the purpose of Samba's group map is to
8053 match any Windows SID with an existing UNIX group. These UNIX
8054 groups can be created by winbindd (see next section), but the
8055 SID<->gid mapping is retreived by smbd, not winbindd.
8061 * security = server running winbindd to allocate accounts on demand
8063 * Samba PDC running winbindd to handle the automatic creation of UNIX
8064 identities for machine trust accounts
8066 * Automtically creating UNIX user and groups when migrating a Windows NT
8067 4.0 PDC to a Samba PDC. Winbindd must be running when executing
8068 'net rpc vampire' for this to work.
8071 ######################################################################
8075 * There are several bugs currently logged against the 3.0 codebase
8076 that affect the use of NT 4.0 GUI domain management tools when run
8077 against a Samba 3.0 PDC. This bugs should be released in an early
8080 Please refer to https://bugzilla.samba.org/ for a current list of bugs
8081 filed against the Samba 3.0 codebase.
8084 ######################################################################
8085 Reporting bugs & Development Discussion
8086 #######################################
8088 Please discuss this release on the samba-technical mailing list or by
8089 joining the #samba-technical IRC channel on irc.freenode.net.
8091 If you do report problems then please try to send high quality
8092 feedback. If you don't provide vital information to help us track down
8093 the problem then you will probably be ignored.
8095 A new bugzilla installation has been established to help support the
8096 Samba 3.0 community of users. This server, located at
8097 https://bugzilla.samba.org/, has replaced the older jitterbug server
8098 previously located at http://bugs.samba.org/.