Raise version number up to 3.0.37.
[Samba.git] / WHATSNEW.txt
blob2ad423a559ff885d56125c161c3bdddde449486e
1                    ==============================
2                    Release Notes for Samba 3.0.36
3                            August, 5 2009
4                    ==============================
7 This is the latest bugfix release of the Samba 3.0 series.
9 Please note, that the 3.0 series will be DISCONTINUED after this release!
10 There will be neither any bugfix release nor any security release. Updating
11 to the latest release series is strongly recommended. For more information
12 on current Samba releases, please see
14 http://wiki.samba.org/index.php/Samba3_Release_Planning
17 Major enhancements included in Samba 3.0.36 are:
19    o Fix Winbind crash on 'getent group' (bug #5906).
20    o Excel save operation corrupts file ACLs (bug #4308).
21    o Prevent segmentation fault on joining a very long domain name.
24 ######################################################################
25 Changes
26 #######
28 Changes since 3.0.35
29 --------------------
32 o   Michael Adam <obnox@samba.org>
33     * BUG 5906: Fix Winbind crash on 'getent group'.
34     * BUG 6066: netinet/ip.h present but cannot be compiled on Solaris.
37 o   Jeremy Allison <jra@samba.org>
38     * BUG 4308: Excel save operation corrupts file ACLs.
39     * BUG 6099: In order to allow Win7 to connect to a Samba NT style
40     * BUG 6279: Fix Winbind crash.
41       PDC we set the flags before we know if it's an error or not.
42     * Fix logic error in try_chown.
43     * Correctly use chroot().
44     * Fix bug in processing of open modes in POSIX open.
47 o   Günther Deschner <gd@samba.org>
48     * Don't install the cifs.upcall binary twice.
51 o   Steve French <smfrench@gmail.com>
52     * BUG 4640: Fix guest mounts in mount-cifs.
53     * Fix mount.cifs handling of -V option.
56 o   Bhaskar Jain (bhajain) <bhajain@cisco.com>
57     * Prevent segmentation fault on joining a very long domain name.
60 o   Günter Kukkukk <linux@kukkukk.com>
61     * Don't try and delete a default ACL from a file.
64 o   Volker Lendecke <vl@samba.org>
65     * Add workaround for MS KB932762.
68 o   Shirish Pargaonkar <shirishpargaonkar@gmail.com>
69     * BUG 4370: Clean-up entries in /etc/mtab after unmount.
70     * Add fakemount (-f) and nomtab (-n) flags to mount.cifs.
73 o   Ted Percival <ted.percival@quest.com>
74     * Fix a crash during name resolution when log level >= 10
75       and libc segfaults if printf is passed NULL for a "%s" arg
76      (eg. Solaris).
79 o   Miguel Suarez <Miguel.Suarez@stratus.com>
80     * BUG 6085: Fix build of vfs_default.
83 o   Yasuma Takeda <yasuma@osstech.co.jp>
84     * BUG 6098: When the DNS server is invalid, the ads_find_dc() does not work
85       correctly.
88 ######################################################################
89 Reporting bugs & Development Discussion
90 #######################################
92 As 3.0 bugs will not be fixed any longer, it does not make sense to
93 create bug reports for this version. If there are any issues, please
94 retry with the latest Samba version and file a bug report for that
95 version if the issue still exists.
97 ======================================================================
98 == Our Code, Our Bugs, Our Responsibility.
99 == The Samba Team
100 ======================================================================
103 Release notes for older releases follow:
104 -------------------------------------------------
106                    ==============================
107                    Release Notes for Samba 3.0.35
108                          June, 23 2009
109                    ==============================
112 This is a security release in order to address CVE-2009-1888.
114    o CVE-2009-1888:
115      In Samba 3.0.31 to 3.3.5 (inclusive), an uninitialized read of a
116      data value can potentially affect access control when "dos filemode"
117      is set to "yes".
120 ######################################################################
121 Changes
122 #######
124 Changes since 3.0.34
125 --------------------
128 o   Jeremy Allison <jra@samba.org>
129     * Fix for CVE-2009-1888.
132 ######################################################################
133 Reporting bugs & Development Discussion
134 #######################################
136 Please discuss this release on the samba-technical mailing list or by
137 joining the #samba-technical IRC channel on irc.freenode.net.
139 If you do report problems then please try to send high quality
140 feedback. If you don't provide vital information to help us track down
141 the problem then you will probably be ignored.  All bug reports should
142 be filed under the Samba 3.0 product in the project's Bugzilla
143 database (https://bugzilla.samba.org/).
146 ======================================================================
147 == Our Code, Our Bugs, Our Responsibility.
148 == The Samba Team
149 ======================================================================
151 ----------------------------------------------------------------------
153                    ==============================
154                    Release Notes for Samba 3.0.34
155                          January, 20 2009
156                    ==============================
159 This is a bug fix release of the Samba 3.0 series.
161 Major enhancements included in Samba 3.0.34 are:
163   o Fix update of machine account passwords.
164   o Fix SMB signing issue on Windows Vista with MS Hotfix KB955302.
165   o Fix Winbind crashes.
166   o Correctly detect if the current dc is the closest one.
167   o Add saf_join_store() function to memorize the dc used at join time.
168     This avoids problems caused by replication delays shortly after domain
169     joins.
170   o Fix write list in setups using "security = share".
173 ######################################################################
174 Changes
175 #######
177 Changes since 3.0.33
178 --------------------
181 o   Michael Adam <obnox@samba.org>
182     * Fix linking cifs.upcall when nscd_flush_cache() is found.
183     * Fix smbd hanging on Solaris when winbindd closes socket.
184     * Use the reconnect methods instead of the rpc methods directly.
187 o   Jeremy Allison <jra@samba.org>
188     * BUG 1254: Fix write list in setups using "security = share".
189     * BUG 5052: Not work cancel inheritance on share.
190     * BUG 5729: Explicitly allow "-valid" parameter.
191     * BUG 5737: Fix Winbind crash in an unusual failure mode.
192     * BUG 5750: Fix SMB signing issue on Windows Vista with MS Hotfix KB955302.
193     * BUG 5751: Backport to fix showing of ACLson DFS with smbclient.
194     * BUG 5790: Fix returning STATUS_OBJECT_NAME_NOT_FOUND on set file
195       disposition call.
196     * BUG 5814: Fix core dump of Winbind while doing "rescan_trusted_domain".
197     * BUG 5873: Fix ACL inheritance.
198     * BUG 5914: Fix build failure (redefinition of struct name_list).
199     * BUG 5937: Fix filenames with "*" char hiding other files.
200     * BUG 6019: File corruption in Clustered SMB/NFS environment
201       managed via CTDB.
202     * BUG 6035: Fix possible race between fcntl F_SETLKW and alarm delivery.
203     * Remove unecessary msync.
204     * Rename cifs.spnego to cifs.upcall.
205     * Fix segfault when execution cifs.upcall without any arguments.
206     * Ensure we emit the notify message before renaming the open files.
207     * Fix use of DLIST_REMOVE.
208     * Cope with bad trans2mkdir requests from System in QNTC IBM SMB client.
209     * Fix memory leak in error path.
210     * Fix logic bug introduced in backport of ccache_regain_all_now.
213 o   Kai Blin <kai@samba.org>
214     * Reformat the WBFLAGS defines to prepare for adding a new flag.
215     * Put huge NTLMv2 blobs into extra_data on CRAP auth.
218 o   Günther Deschner <gd@samba.org>
219     * BUG 5710: Fix update of machine account passwords.
220     * Define NET_SRVPWSET2 call.
221     * Net should just use machine account creds when changing passwords.
222     * Fix net_io_q_srv_pwset2.
225 o   Carsten Dumke <carsten@cdumke.de>
226     * BUG 5892: Fix documentation of net rap printq info.
229 o   Dina Fine <dina@exanet.com>
230     * BUG 5908: Fix failing of internal change notify on share directory.
233 o   Steve French <stevef@smf-t60p.smfdom>
234     * Fix compile warning in cifs.upcall.
235     * Fix cifs.upcall manpage and comments.
238 o   Jeff Layton <jlayton@redhat.com>
239     * Build cifs.upcall by default on Linux.
240     * Fix negatively instantiate keys on error in cifs.upcall.
241     * Handle handle MSKRB5 OID properly in cifs.upcall.
242     * Bump SPNEGO msg version number and don't reject old versions in
243       cifs.upcall.
244     * Fix several problems when mounting subdirectories of shares in
245       mount.cifs.
246     * Don't prompt for password on krb5 mounts in mount.cifs.
247     * Have uppercase_string return success on NULL pointer in mount.cifs.
248     * Make return codes match the return codes for /bin/mount in mount.cifs.
249     * Use lock/unlock_mtab scheme from util-linux-ng mount prog.
252 o   Volker Lendecke <vl@samba.org>
253     * BUG 5965: Fix creation of the first share using SWAT.
254     * Fix bug triggered by the RAW-SAMBA3OPLOCKLOGOFF test.
257 o   David Leonard <David.Leonard@quest.com>
258     * BUG 4516: No IPv6 on Solaris 2.6.
261 o   Igor Mammedov <niallain@gmail.com>
262     * Add support for cifs.spnego helper into configure and Makefile.in.
263     * Add checks for spnego prereq keyutils.h and kerberos in configure.in.
264     * Add helper source for handling cifs kernel module upcall for kerberos
265       authorization.
266     * Add -c option to set service prefix to "cifs" in service principal by
267       default service prefix "host" is used.
268     * Add support for cifs.resolver upcall.
271 o   Stefan Metzmacher <metze@samba.org>
272     * Correctly detect if the current dc is the closest one.
273     * For CLDAP we need to use get_sorted_dc_list() to avoid recursion.
274     * Add fallback to return all dcs, when none is available in the requested
275       site.
276     * Add saf_join_store() function to memorize the dc used at join time.
277     * Return an error instead of crashing when no realm is given.
278     * Handle the SMB signing states the same in the krb5 and ntlmssp cases.
281 o   Andreas Schneider <mail@cynapses.org>
282     * Delete the krb5 ccname variable from the PAM environment if set.
283     * Fix the build of pam_winbind.
284     * Fix circular dependency error with autoconf 2.6.3.
287 o   Simo Sorce <idra@samba.org>
288     * Fix an ifdef check.
289     * Fix warning.
292 o   Yasuma Takeda <yasuma@osstech.co.jp>
293     * BUG 5909: Fix MS-DFS links inlcuding multibyte characters on Vista.
296 o   Andrew Tridgell <tridge@samba.org>
297     * Avoid a race condition in glibc between AIO and setresuid().
298     * Become root for AIO operations.
301 o   Bo Yang <boyang@novell.com>
302     * Don't set child->requests to NULL in parent after fork.
303     * Backport of the clean event context after fork and krb5
304       refresh chain fixes.
305     * Fix null pointer refrence in event context in backport from v3-3-test.
308 o   Qiao Yang <geoyang@ironport.com>
309     * Fix a memleak.
312 ######################################################################
313 Reporting bugs & Development Discussion
314 #######################################
316 Please discuss this release on the samba-technical mailing list or by
317 joining the #samba-technical IRC channel on irc.freenode.net.
319 If you do report problems then please try to send high quality
320 feedback. If you don't provide vital information to help us track down
321 the problem then you will probably be ignored.  All bug reports should
322 be filed under the Samba 3.0 product in the project's Bugzilla
323 database (https://bugzilla.samba.org/).
326 ======================================================================
327 == Our Code, Our Bugs, Our Responsibility.
328 == The Samba Team
329 ======================================================================
334                    ==============================
335                    Release Notes for Samba 3.0.33
336                          November, 27 2008
337                    ==============================
340 This is a security release in order to address CVE-2008-4314 ("Potential leak of
341 arbitrary memory contents").
343    o CVE-2008-4314
344      Samba 3.0.29 to 3.2.4 can potentially leak
345      arbitrary memory contents to malicious
346      clients.
348 The original security announcement for this and past advisories can
349 be found http://www.samba.org/samba/security/
351 ######################################################################
352 Changes
353 #######
355 Changes since 3.0.32
356 --------------------
359 o   Volker Lendecke <vl@samba.org>
360     * Fix for CVE-2008-4314.
363       --------------------------------------------------
364                    ===============================
365                    Release Notes for Samba 3.0.32
366                              Aug 25, 2008
367                    ===============================
369 This is a bug fix release of the Samba 3.0 production series
370 and is the version that servers should be run for all current
371 Samba 3.0 bug fixes.
373 User visible bug fixes in this release include:
375     o Prevent crash bug in Winbind caused by a race condition
376       when a child process becomes unresponsive.
377     o Fix interactive password prompting in the "net" command.
378     o Documentation clarifications and typographical fixes.
381 ######################################################################
382 Changes
383 #######
385 Changes since 3.0.31
386 --------------------
388 o   Michael Adam <obnox@samba.org>
389     * Docs fix for "password server" parameter.
390     * Fix IPC connections with interactive password prompt.
393 o   Jeremy Allison <jra@samba.org>
394     * BUG 5697: nmbd spins in reload_interfaces when only loopback
395       exists.
396     * Don't re-initialize a token when we already have one.
399 o   Gerald (Jerry) Carter <jerry@samba.org>
400     * When returning NSS_UNAVAIL from libnss_winbind, squash errno
401       to ENOENT.
404 o   Volker Lendecke <vl@samba.org>
405     * Fix a race condition in winbind leading to a crash.
408 o   Jim McDonough <jmcd@samba.org>
409     * Correct interaction between Winbind log files and the 
410       "log file" smb.conf parameter upon a reload.
413 o   Karolin Seeger <kseeger@samba.org>
414     * Fix scope description of the "printcap name" parameter in 
415       smb.conf(5).
416     * Fix typos in smbclient man page.
419 o   Bo Yang <boyang@novell.com>
420     * Allow %u parameters for print job username.
423 o   Christoph Zauner <christoph.zauner@sernet.de>
424     * Corrections to various man pages.
427       --------------------------------------------------
428                    ===============================
429                    Release Notes for Samba 3.0.31
430                              July 10, 2008
431                    ===============================
433 This is a bug fix release of the Samba 3.0 production series
434 and is the version that servers should be run for all current
435 Samba 3.0 bug fixes.
437 User visible bug fixes in this release include:
439     o Correct issues with running Winbind running on a Samba PDC.
440     o Problems with trusted Windows 2008 domains.
441     o Difficulty joining an NT4 or Windows 2000 AD domain.
444 ######################################################################
445 Changes
446 #######
448 Changes since 3.0.30
449 --------------------
451 o   Jeremy Allison <jra@samba.org>
452     * BUG 5504: Fix SIGTERM handling in Winbind children so that they
453       do not remove the unix domain socket used to field client requests.
454     * Split the winbindd_passdb backend into a 'builtin' and a 'sam'
455       backend.
456     * When allocating client buffers for large read/write - make sure we 
457       take account of the large read/write SMB headers as well as the buffer
458       space.
459     * Memory leak fixes in DC location code.
460     * BUG 5533: Winbindd fails to cope correctly with a workgroup name 
461       containing a '.'
462     * BUG 5555: Don't return NT_STATUS_PASSWORD_MUST_CHANGE error on machine
463       account logon.
464     * BUG 5551: smbd recursing back into winbindd from a winbindd call.
465     * Fix usage message for "net rpc trustdom add".
466     * Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd.
467     * BUG 5578: Bad (non-Samba) use of strlcat gives error.
468     * Canonicalize servername in the printer functions to remove leading '\\' 
469       characters.
472 o   Alexander Bokovoy <ab@samba.org>
473     * Documentation build fixes.
474     * [DOCS] Fix use of smbconfoption in samba.entities.
477 o   Gerald (Jerry) Carter <jerry@samba.org>
478     * Return NULL in sitename_fetch() if gencache_init() fails.
481 o   Steven Danneman <steven.danneman@isilon.com>
482     * Use machine account and machine password from our domain when
483       contacting trusted domains.
484     * SPNEGO SPN fix when contacting trusted domains.
487 o   Guenther Deschner <gd@samba.org>
488     * BUG 5285: Fix libcap header mismatch.
489     * Fix joining NT4 domains.
490     * Don't let winbind getgroups crash when we have no gids in the
491       token.
492     * Fallback to level 24 pwd set while joining.
493     * Fix joining w2k domains in "security = ads".
494     * Fix pam_sm_chauthtok for storing modified cached creds.
497 o   SATOH Fumiyasu <fumiyas@osstech.co.jp> 
498     * BUG 5202: Re-activate "acl group control" parameter and make it
499       only apply to owning group.
502 o   <hkurma@datadomain.com>
503     * BUG 5531: Fix conversion of ns units when converting from
504       nttime to timespec.
507 o   Volker Lendecke <vl@samba.org>
508     * BUG 4974: Map NT_STATUS_OBJECT_PATH_NOT_FOUND to ENOENT in libsmbclient.
509     * Fix a segfault in base64_encode_data_blob.
512 o   William Jojo <jojowil@hvcc.edu>
513     * AIX build fixes.
516 o   Herb Lewis <herb@samba.org>
517     * ENODATA is not defined in freeBSD 4.6.2.
520 o   Jim McDonough <jmcd@samba.org>
521     * Don't reset password last set time just because the expired flag
522       is set to 0.
525 o   Karolin Seeger <kseeger@samba.org>
526     * Fix usage message for 'net idmap dump'.
527     * Miscellaneous man page fixes.
528     * BUG 4203: Samba3-HOWTO: Add improvements/fixes submitted by Pete Boyd.
531 o   John H Terpstra <jht@samba.org>
532     * Fixes to man pages.
533     * Add tdb file documentation.
536 o   Bo Yang <boyang@novell.com>
537     * Ensure that winbindd trusted domain children keep primary domain online
538       status up to date.
539     * Update cached creds during password change.
540     * Ensure that Winbind always uses set_domain_offline() to mark a domain
541       offline.
542     * Allow authentication and memory credential refresh after password change
543       from gdm/xdm.
546 o   Chere Zhou <czhou@isilon.com>
547     * Memory leak fixes.
550       --------------------------------------------------
551                    ===============================
552                    Release Notes for Samba 3.0.30
553                             May 28, 2008
554                    ===============================
556 This is a security release in order to address CVE-2008-1105 ("Boundary 
557 failure when parsing SMB responses can result in a buffer overrun").
559   o CVE-2008-1105
560     Specifically crafted SMB responses can result in a heap overflow 
561     in the Samba client code.  Because the server process, smbd, can 
562     itself act as a client during operations such as printer notification
563     and domain authentication,  this issue affects both Samba client 
564     and server installations.
565     
566 The original security announcement for this and past advisories can 
567 be found http://www.samba.org/samba/security/
570 ######################################################################
571 Changes
572 #######
574 Changes since 3.0.29
575 --------------------
577 o   Jeremy Allison <jra@samba.org>
578     * Fix for CVE-2008-1105.
581 o   Karolin Seeger <kseeger@samba.org>
582     * Remove man pages for ldb tools not included in Samba 3.0.
584       --------------------------------------------------
586                    ===============================
587                    Release Notes for Samba 3.0.29
588                             May 20, 2008
589                    ===============================
591 Major bug fixes included in Samba 3.0.29 are:
593   o Problems following domain trusts on a Samba DC.
594   o SMB Signing errors.
595   o Interoperability issues with Windows 2008 domains.
598 ######################################################################
599 Changes
600 #######
602 Changes since 3.0.28a
603 ---------------------
605 o   Michael Adam <obnox@samba.org>
606     * Fix build for pam_smbpass.
607     * Fix a crash in tdb_wrap_log().
610 o   Jeremy Allison <jra@samba.org>
611     * BUG 5267: Fix for nmbd termination problems when no interfaces 
612       found.
613     * BUG 5326: OS/2 servers give strange "high word" replies for 
614       print jobs.
615     * Remove MS-DFS check that required the target host be ourself.
616     * BUG 5372: Fix high CPU usage of cupsd on large print servers
617       by using more efficient CUPS queries in smbd.
618     * Rewrite integer wrap checks to deal with gcc 4.x optimizations.
619     * BUG 5095: Fix the enforcement of the "Manage Documents" access right.
620     * Don't free memory from getpass() in mount.cifs.
621     * BUG 5460: Fix MS-DFS referral problem in server code.
622     * Fix bug in Winbind that caused the parent to ignore dead children.
623     * Fix compile warnings.
626 o   Alexander Bokovoy <ab@samba.org>
627     * Fix build for pam_smbpass.
628     * Document build fixes.
631 o   Kai Blin <kai@samba.org>
632     * BUG 4235: Improve compliance to the Squid helper protocol.
633       Original patch from Pawel Worach <pawel.worach@gmail.com>.
636 o   Gerald (Jerry) Carter <jerry@samba.org>
637     * BUG 5107: Fix handling of large DNS replies on AIX and Solaris.
640 o   Glenn Curtis <gcurtis@likewisesoftware.com>
641     * Prevent cycle in Winbind's list of children when reaping dead processes.
644 o   Steven Danneman <steven.danneman@isilon.com>
645     * BUG 5419: Fix memory leak in ads_do_search_all_args() (merge from v3-2).
648 o   Guenther Deschner <gd@samba.org>
649     * Fix winbind NETLOGON credential chain on a samba dc for w2k8 trusts.
650     * Fix client connections and negotiation with Windows 2008 DCs
651       in member server code.
652     * Add NT_STATUS_DOWNGRADE_DETECTED error code (merge from v3-2).
653     * BUG 5430: Fix pam_winbind.so on Solaris (requires -lsocket).
654     * Re-add samr getdispinfoindex parsing which got lost in the glue commit.
655     * BUG 5461: Implement a very basic _samr_GetDisplayEnumerationIndex().
656       Corrects interop problem between Citrix PM and a Samba DC.
659 o   Bryan Kolodziej <bryan.kolodziej@allenlund.com>
660     * BUG 3840: Fix smbclient connecting to NetApp filers when using
661       whitespace in the user's password.
664 o   Volker Lendecke <vl@samba.org>
665     * BUG 4901: Fix behavior of "ldap passwd sync = only".
666     * BUG 5317: Fix debug output from domain_client_validate().
667     * BUG 5338: Fix format string bug in rpcclient.
668     * Ensure that "wbinfo -a trusted\\user%password" works correctly
669       on a Samba DC with trusts.
670     * BUG 5336: Fix SetUsetrInfo(level 25) to update the pwdLastSet 
671       attribute.
672     * BUG 5350: Fallback to anonymous sessions if not trust password
673       could be obtained on Samba DCs and member servers.
674     * BUG 5366: Fix password chat on Sun OpenSolaris (Nevada).
675     * Fix signing problem in the client with trans requests.
678 o   Björn Jacke <bj@sernet.de>
679     * Fix alignment bug hitting Solaris with "reset in zero vc" activated.
682 o   Jim McDonough <jmcd@samba.org>
683     * Fix build with glibc 2.8.
684     * Enable winbind child processes to do something with signals, in 
685       particular closing and reopening logs on SIGHUP.
688 o   Karolin Seeger <kseeger@samba.org>
689     * Documentation cleanup after merging docs from svn to git and 
690       back-porting from the v3-2 branch.
693 o   Rafal Szczesniak <mimir@samba.org>
694     * Add implementation of machine-authenticated connection to netlogon
695       pipe used when connecting to win2k and newer domain controllers.
698 o   Simo Sorce <idra@samba.org>
699     * Fix trusted users on a DC that uses the old idmap syntax.
702 o   Bo Yang <boyang@novell.com>
703     * Only have Winbind cache domain password policies that were
704       successfully retrieved.
707 o   Martin Zielinski <mz@seh.de>
708     * Fix alignment bug when marshalling printer data replies.
709     * Fix DeleteDriverDriverEx() checks to prevent removing in use files.
713       --------------------------------------------------
715                    ===============================
716                    Release Notes for Samba 3.0.28a
717                             Mar 8, 2008
718                    ===============================
720 Major bug fixes included in Samba 3.0.28a are:
722   o Failure to join Windows 2008 domains
723   o Windows Vista (including SP1 RC) interop issues
727 ######################################################################
728 Changes
729 #######
731 smb.conf changes
732 ----------------
734     Parameter Name                      Description     Default
735     --------------                      -----------     -------
736     administrative share                New             No
737     ldap debug level                    New             0
738     ldap debug threshold                New             10
741 Changes since 3.0.28
742 --------------------
744 o   Michael Adam <obnox@samba.org>
745     * Fix bug in version string's vendor tag.
746     * Prevent net getdomainsid from crashing when called as non-root.
747     * BUG 4801: Correctly implement LSA lookup levels for LookupNames.
748     * Fixes for internal LookupNames() calls for unqualified users and 
749       groups.
750     * Remove unnecessary functions when managing domain trust 
751       passwords.
752     * Fix winbindd on a Samba DC talking to a trusted domain DC
753       (again).
754     * Consolidate the detection of the machine_account_name when
755       obtaining trust credentials from the local database.
756     * Refactor trust account database routines and session key
757       management.
758     * Fix retrieval of trusted domain password policies when
759       authenticating a user (only when WBFLAG_PAM_GET_PWD is config
760       flags is set).
761     * Refactor Winbind's cm_connect_sam().
762     * Enable building the notify_fam module.
763     * Add "ldap debug level" and "ldap debug threshold" smb.conf options.
766 o   Jeremy Allison <jra@samba.org>
767     * Fix cut-n-paste bug when filling in form values for Printer
768       info.
769     * Fix SMB signing bug found by Volker.
770     * Create locking.tdb when running smbstatus before smbd to avoid
771       confusing error messages.
772     * Add a portable version of strlcpy and strlcat.
773     * BUG 4780: Cause user mounts to inherit uid= and gid= from the
774       calling user when called as non-root, except when overridden on
775       the command line.  Original patch by Steve Langasek.
776     * BUG 5802: Recent versions of Linux-PAM support localization of
777       user prompts, so Samba must use the C locale when invoking PAM
778     * Merge Vista principal detection changes by Andreas Schneider
779       from 3.2 branch.
780     * BUG 5121: Fix problems running unix passwd sync on streams based 
781       systems.
782     * BUG 4612: Fix smbd crash when connecting from an OS/2 client.
783     * Back port Volker's ACL fixes on newly create files form 3.2.
784     * Ensure that send_getdc_request() matches the 3.2 code base.
785     * BUG 3617: Fix crash in nmbd caused by referencing freed memory.
786     * Fixes for issues reported by IBM checker.
787     * Fixes for issues reported by Coverity.
788     * Back port Volker's fix for nlink count.
789     * Back port SAMR flag fixes from Matt Geddes
790       <musicalcarrion@gmail.com>.
791     * BUG 4929: Cope with protected ACL set correctly (based on work
792       from Jim McDonough).
793     * Fix ACL set bug when group being set is the primary group.
794     * Ensure NDR wire-reads of string types are always null
795       terminated.
796     * BUG 5247: Fix mget wildcard expansion in smbclient.
797     * Fix bug in SPNEGO negotiation.
798     * BUG 3617: Fix "Invalid read of size 4" errors.
799     * BUG 5267: Prevent nmbd from shutting down when no network
800       interfaces can be located.
803 o   Kai Blin <kai@samba.org>
804     * libsmb: Do not upper-case target name on NTLMv2 hash generation.
805     * Fix an incompatible pointer type warning.
808 o   Gerald Carter <jerry@samba.org>
809     * Restrict the enctypes in the generated krb5.conf files to
810       Win2003 types.
813 o   Steven Danneman <steven.danneman@isilon.com>
814     * Error path memory leak fixes.
817 o   Guenther Deschner <gd@samba.org>
818     * Fix PAC decoding from Vista SP1 client.
819     * Fix get_trust_creds() to return always an upper-cased krb5
820       principal.
821     * Back port additional fixes necessary for support Windows 2008
822       domain joins from the 3.2 branch.
825 o   Mathias Gug <mathiaz@ubuntu.com>
826     * BUG 5802: Recent versions of Linux-PAM support localization of
827       user prompts, so Samba must use the C locale when invoking PAM
830 o   Steve Langasek <vorlon@debian.org>
831     * BUG 3727: Fix smbpasswd abort when called by non-root user.
832     * BUG 4784: Prevent umount.cifs from allowing all users to unmount shares.
833     * BUG 5802: Recent versions of Linux-PAM support localization of
834       user prompts, so Samba must use the C locale when invoking PAM
837 o   Volker Lendecke <vl@samba.org>
838     * When allocating a new vuid, also avoid partial ones.  Also
839       fully invalidate intermediate ones.
840     * Fix error path exit in create_local_nt_token() to correctly roll 
841       back security contexts.
842     * Fix valgrind warnings in nmbd.
843     * Pointer initialization fixes in notify_marshall_changes().
844     * BUG 5208: Fix uninitialized variables in vfs_hpuxacl.c (reported 
845       by David Leonard <David.Leonard@quest.com>).
846     * Copy the 3.2 version of string_replace to 3.0.
847     * Port SMB_FS_OBJECTID_INFORMATION from 3.2 (Patch by Corinna
848       Vinschen).
849     * Memory leak fixes.
850     * Fix error code propagation from cli_session_setup_kerberos().
851     * BUG 5217: Fix inotify detection.
852     * BUG 5279: Correctly check return of rename().
853     * BUG 5252: Fix confusing error messages in mount.cifs.
854     * BUG 5307: Respect FAMChanged (Thanks to Ricardo Santos).
855     * Work around a handle leak in XP 64 bit.
858 o   Guenter Kukkukk <linux@kukkukk.com>
859     * OS/2 returns eclass == ERRDOS && ecode == ERRnofiles for a zero 
860       entry directory listing.
863 o   Tom Maher <tmaher@watson.org>
864     * BUG 5175: Support krb5 auth in smbcacls.
867 o   Hans Mayer <hans.mayer@ages.at>
868     * BUG 5141: Solaris 9 compile fix.
871 o   Stefan Metzmacher <metze@samba.org>
872     * Fix default printing system detection in libreplace. 
875 o   Laurent Pinchart <pinchart@skynet.be>
876     * BUG 5163: Return better error codes when a password cannot be
877       set in and LDAP directory.
880 o   Jiri Sasek <Jiri.Sasek@Sun.COM>
881     * BUG 4866: Correct password routine detection on Solaris.
884 o   Andreas Schneider <anschneider@suse.de>
885     * Remove trailing slashes on server names when parsing input from
886       smbclient.
887     * Support Windows 2008 domain joins (variant of Todd Stecher's
888       original patch).
889     * Add "administrative share" service parameter for defining hidden
890       administrative shares that cannot be managed from Windows.
893 o   Karolin Seeger <kseeger@samba.org>
894     * Use the "ldap user suffix" when enumerating a users group
895       memberships.
898 o   Simo Sorce <idra@samba.org>
899     * Don't assume NULL termination when copying the principal name
900       in kerberos_get_default_realm_from_ccache().
901     * Fix winbindd running on a Samba DC (again).
904 o   Bo Yang <boyang@novell.com>
905     * Fix bad private_data pointer in winbindd_lookupname_async().
910                    ==============================
911                    Release Notes for Samba 3.0.28
912                             Dec 10, 2007
913                    ==============================
915 Samba 3.0.28 is a security release in order to address the following
916 defect:
918   o CVE-2007-6015
919     Boundary failure in GETDC mailslot processing can result in 
920     a buffer overrun
922 The original security announcement for this and past advisories can 
923 be found http://www.samba.org/samba/security/
925 ######################################################################
926 Changes
927 #######
929 Changes since 3.0.27a
930 ---------------------
932 o   Jeremy Allison <jra@samba.org>
933     * Fix for CVE-2007-6015.
935 o   Volker Lendecke <vl@samba.org>
936     * Fix for CVE-2007-6015.
937     * Add missing unbecome_root() calls in error path processing
938       when failing to add local groups in create_local_nt_token().
941       --------------------------------------------------
943                    ===============================
944                    Release Notes for Samba 3.0.27a
945                              Nov 20, 2007
946                    ===============================
948 Samba 3.0.27a is a bug fix release and is the current release
949 for production servers running the Samba 3.0 series.
951 Important fixes in 3.0.27a include:
953   o A crash bug regression experienced by smbfs clients caused
954     by the fix for CVE-2007-4572.
958 ######################################################################
959 Changes
960 #######
962 Changes since 3.0.27
963 --------------------
965 o   Michael Adam <obnox@samba.org>
966     * BUG 4308: Add missing become_root/unbecome_root around calls of 
967       add_aliases.  Add same changes in create_token_from_username()
968       surrounding the call to getsampwsid().
969     * BUG 5083: Make solarisacl_sys_acl_get_fd() return a result when 
970       there is one (thereby fixing a memleak).
971     * BUG 5023: Fix smbd's interaction with NFSv4 ACL compatible VFS 
972       plugins such as GPFS and ZFS.
975 o   Jeremy Allison <jra@samba.org>
976     * BUG 4978: Ensure that DOS attributes are copied with folders.
977     * Fix bug where tdb lock call interrupted with an alarm sig would 
978       not terminate and could lead to runaway smbd processes.
979     * Fix smbd crash bug which resulted from a regression in the patch
980       for CVE-2007-4572 patch.
981     * Prevent nmbd from adding non-initialized name to IP address
982       mappings to it's WINS database.
985 o   Dmitry Butskoy <buc@odusz.so-cdu.ru>
986     * Properly catch errors in the query_user() callback to avoid
987       generated struct passwd replies with zero length usernames.
990 o   Gerald (Jerry) Carter <jerry@samba.org>
991     * Prevent segv in winbindd running on a DC using the "idmap
992       backend" syntax.
995 o   Steve Langasek <vorlon@debian.org>
996     * BUG 4781: Allow cleaning of /etc/mtab by canonicalizing mountpoint.
999 o   Volker Lendecke <vl@samba.org>
1000     * BUG 4028: Fix message popup sent via "smbclient -M".
1001     * BUG 4984: Filename unix_convert() fixes for WinNT 4.0 clients.
1004 o   Stefan Metzmacher <metze@samba.org>
1005     * Fix crash bug in pidl generated client code caused by
1006       [in,out,unique] pointers.
1007     * Fix crash bug in the group mapping code.
1010 o   Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
1011     * Fixes for AIX quota support.
1014 o   Tomasz Ostrowski <tometzky@batory.org.pl>
1015     * BUG 4393: Prevent smbclient from dropping 0 bytes files from tar 
1016       archives.
1019 o   Simo Sorce <idra@samba.org>
1020     * Fixes for internal idmap domain list when "winbind trusted
1021       domains only" is enabled.
1022     * Fix 32/64-bit compatibility issues in the winbind request/response
1023       structures.
1026 o   Martin Zielinski <mz@seh.de>
1027     * Error code path fix for get_mydnsdomname().
1031       --------------------------------------------------
1033                    ==============================
1034                    Release Notes for Samba 3.0.27
1035                             Nov 15, 2007
1036                    ==============================
1038 Samba 3.0.27 is a security release in order to address the following
1039 defects:
1041   o CVE-2007-4572
1042     Stack buffer overflow in nmbd's logon request processing.
1044   o CVE-2007-5398
1045     Remote code execution in Samba's WINS server daemon (nmbd) 
1046     when processing name registration followed name query requests.
1048 The original security announcement for this and past advisories can 
1049 be found http://www.samba.org/samba/security/
1051 ######################################################################
1052 Changes
1053 #######
1055 Changes since 3.0.26a
1056 ---------------------
1058 o   Jeremy Allison <jra@samba.org>
1059     * Fix for CVE-2007-4572.
1060     * Fix for CVE-2007-5398.
1063 o   Simo Sorce <idra@samba.org>
1064     * Additional fixes for CVE-2007-4572.
1067       --------------------------------------------------
1068                    ===============================
1069                    Release Notes for Samba 3.0.26a
1070                              Sep 11, 2007
1071                    ===============================
1073 Major bug fixes included in Samba 3.0.26a are:
1075   o Memory leaks in Winbind's IDMap manager.
1078 ######################################################################
1079 Changes
1080 #######
1082 Changes since 3.0.26
1083 --------------------
1085 o   Michael Adam <obnox@samba.org>
1086     * Fix read_sock() semantics in wb_common.c to address "invalid
1087       request size" errors in winbindd logs.
1088     * Fix use of pwrite() in tdb IO code paths.
1090      
1091 o   Jeremy Allison <jra@samba.org>
1092     * Fix logic error in timeout of blocking lock processing.
1095 o   Guenther Deschner <gd@samba.org>
1096     * Fix error code in the msrpc EnumerateDomainGroups() Winbind
1097       method when a memory allocation fails.
1098     * Fix Winbind initialization storms when contacting an older Samba DC.
1100     
1101 o   Volker Lendecke <vl@samba.org>
1102     * Fix compile failure in NFSv4 VFS module.
1103     * Fix compile failures on True64.
1104     * Fix compile failure in unmaintained python bindings.
1105     * BUG 4917: Fix memory leaks in Winbind's idmap_ldap and
1106       idmap_cache backends.
1107     * Coverity fixes in the group mapping code.
1110 o   Derrell Lipman <derrell@samba.org>
1111     * Remove NetBIOS keepalives from libsmbclient and consolidate on
1112       the use of getpeername() when checking connection health.
1113     * Use formal syntax for invoking function pointers in
1114       libsmbclient.
1117 o   Lars Mueller <lars@samba.org>
1118     * Fixes for Winbind's AD site support when the host is not
1119       configured in any site or nor DC's are present within the host's
1120       configured site.
1123 o   Simo Sorce <idra@samba.org>
1124     * Debian packaging updates for 3.0.25c.
1125     * Add sanity checks for "smb ports" values.
1126     * Fix compile issues related to the VFS "open" method and newer
1127       glibc implementations.
1128     * Fix a segv in smbldap_set_creds() when using an anonymous
1129       connection.
1130     * BUG 4772: Fix us of ldap_base_dn for the idmap_ldap plugin.
1133 Release notes for older releases follow:
1135       --------------------------------------------------
1136                    ==============================
1137                    Release Notes for Samba 3.0.26
1138                              Sep 11, 2007
1139                    ==============================
1141 This is a security release of Samba 3.0 to address
1143   o CVE-2007-4138
1144         Versions: All Samba 3.0.25 releases
1145         Incorrect primary group assignment for
1146         domain users using the rfc2307 or sfu
1147         winbind nss info plugin.
1149 The original security announcement for this and past advisories
1150 can be found http://www.samba.org/samba/security/
1152 ######################################################################
1153 Changes
1154 #######
1156 Changes since 3.0.25c
1157 ---------------------
1159 o   Gerald (Jerry) Carter <jerry@samba.org>
1160     * Fix CVE-2007-4138 in the "winbind nss info = {sfu | rfc2307}"
1161       plugin (idmap_ad.c)
1164       --------------------------------------------------
1165                    ===============================
1166                    Release Notes for Samba 3.0.25c
1167                              Aug 20, 2007
1168                    ===============================
1170 Major bug fixes included in Samba 3.0.25c are:
1172   o File sharing with Widows 9x clients.
1173   o Winbind running out of file descriptors due to stalled 
1174     child processes.
1175   o MS-DFS inter-operability issues.
1178 ######################################################################
1179 Changes
1180 #######
1182 Changes since 3.0.25b
1183 ---------------------
1185 o   Michael Adam <obnox@samba.org>
1186     * Fix incorrect log messages in tdbbackup.
1187     * Fix a bug in pwrite error detection in tdb_expand_file().
1190 o   Jeremy Allison <jra@samba.org>
1191     * BUG 4711: Make cli_connect() return NT_STATUS codes.
1192     * Ensure we obey Unicode consortium restrictions.  Based on 
1193       patch from MORIYAMA Masayuki.
1194     * BUG 3204: Cope with stalled winbindd child processes and 
1195       prevent the parent winbindd process from running out of file  
1196       descriptors.
1197     * Fix realloc leak on failure case from Jim Meyering.
1198     * BUG 4759: Fix crash in ber_printf() caused invalid tag.
1199     * BUG 4763: Limit notify responses to client max buf size.      
1200     * BUG 4777: Doing a DFS traverse through a deep link could fail
1201       (not using explorer).
1202     * BUG 4779: Setting the allocation size updates the modified 
1203       time as a write does.
1204     * BUG 4308: Fix interaction with MS Excel and POSIX ACLs.
1205     * Fix POSIX unlink bug found by the Linux CIFS fs client.
1206     * Stop counting locks if we get a POSIX lock request.
1207     * Fix interaction between Linux CIFS fs client and Windows
1208       clients when the former tries to remove a file opened by the 
1209       latter.
1210     * Fix incorrect mapping of invalid resume names in FindNext 
1211       commands.
1212     * Cope with dead entries in the locking database tied to 
1213       non-existent processes (merge from 3.2-ctdb).
1214     * Fix MS-DFS related renaming bug in smbclient.
1215     * Fix for write cache corruption bug.
1216     * Fix invalid vuid from being returned by a failed call to
1217       cli_session_setup_spnego.().
1218     * Fixes for error mappings from NT_STATUS to the appropriate DOS
1219       error codes in reply_opeNXXX() calls.
1222 o   Ofir Azoulay <Ofir.Azoulay@expand.com>
1223     * Only look at errno set by SMB_VFS_CLOSE() if the call actually 
1224       failed.
1227 o   Alexander Bokovoy <ab@samba.org>
1228     * Fix vfs_readahead: transparent modules should always pass 
1229       through.
1232 o   David S. Collier-Brown <davecb@spamcop.net>
1233     * BUG 4897: Fix Solaris xattr misdeclarations.
1236 o   Guenther Deschner <gd@samba.org>
1237     * Remove redundant pointer checks when freeing memory in winbindd.
1238     * BUG 4408: Remove last traces of Heimdal KCM support.
1239     * Fix bug in user Krb5 ticket refresh feature in winbindd.
1240     * Fix Heimdal path in the krb5 renew routine.
1241     * Unused code cleanup in winbindd.
1244 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
1245     * BUG 4750: smbc_telldir_ctx() was not returning a value useful 
1246       to smbc_lseekdir_ctx().
1249 o   Bjoern Jacke <bj@sernet.de>
1250     * Add support for Extended Attributes on Solaris.
1253 o   Matthijs Kooijman <matthijs@stdin.nl>
1254     * BUG 4836: Fix incorrect log message in the nss_info 
1255       plugin init call.
1256     * BUG 4849: Fix "net ads dns register" usage text.
1259 o   Volker Lendecke <vl@samba.org>
1260     * Port cli_connect() NT_STATUS fixes to smbmount.
1261     * Add notes about smbfs/cifs to usage() in smb[u]mount.
1262     * BUG 4792: Fix pidfile name bug.
1263     * Fix missing END_PROFILE() call in the SMBunlink reply.
1264     * Coverity fixes.
1265     * Correct logic error in change notify code that would result in 
1266       an endless loop.
1267     * Fix uninitialized reads in the spoolss GetPrinterData() replies.
1268     * Fix file overwrites from Windows 9x clients.
1271 o   Herb Lewis <herb@samba.org>
1272     * Unused code cleanup.
1273     * Avoid a crash in "net rpc info" when no username has 
1274       been specified.
1275     * Remove biconv detection on *BSD.
1278 o   Derrell Lipman <derrell@samba.org>
1279     * Get/Set ACL fixes in libsmbclient.
1282 o   Jan Martin <Jan.Martin@rwedea.com>
1283     * BUG 4860: Patches for fixing MS-DFS links with trailing 
1284       back slashes.
1287 o   Jim McDonough <jmcd@us.ibm.com>
1288     * BUG 4719: "Must change password" is not set from usrmgr.exe.
1291 o   Atsushi Nakabayashi <nakabayashi@miraclelinux.com>
1292     * Ensure proper exit when nmbd is unable to reopen the wins.tdb.
1293     * Fix error path memleaks in the messaging subsystem.
1295       --------------------------------------------------
1296                    ===============================
1297                    Release Notes for Samba 3.0.25b
1298                              June 26, 2007
1299                    ===============================
1301 Major bug fixes included in Samba 3.0.25b are:
1303   o Offline caching of files with Windows XP/Vista clients.
1304   o Improper cleanup of expired or invalid byte range locks 
1305     on files.
1306   o Crashes is idmap_ldap and idmap_rid.
1309 Changes to 'net idmap dump'
1310 ===========================
1312 A change in command line syntax and behavior was introduced in the
1313 3.0.25 release series where the command 
1315   $ net idmap dump /.../path/to/idmap.tdb
1317 would overwrite the tdb instead of dumping its contents to standard 
1318 output as was the case in releases prior to Samba 3.0.25.  The 
1319 changed has been reverted in 3.0.25b and the semantics from 3.0.24
1320 and earlier releases have been restored.  
1323 ######################################################################
1324 Changes
1325 #######
1327 Changes since 3.0.25a
1328 ---------------------
1330 o   Jeremy Allison <jra@samba.org>
1331     * BUG 4655: Fix client parsing bug in spoolss EnumPrinterDataEx().
1332     * Ensure that proper oplock break requests occur during file open
1333       and performing internal checks for compatible open modes.
1334     * Fix offline file caching with Windows XP/Vista clients.
1335     * Coverity fixes.
1336     * Ensure that winbindd reports the correct client connection
1337       details in response to a SIGUSR2.
1338     * Fix timespec_current() to return the correct nano-second time.
1339     * Fix lock logic inconsistencies in tdb_traverse().
1340     * Remove restriction on string length for rpcclient commands.
1341     * BUG 4683: Fix LSA crash bug.
1342     * BUG 3204: Fix file descriptor leak in the parent winbindd when
1343       child processes hang.
1344     * Avoid calling rename_open_files() when the old and new names 
1345       are identical.
1346     * BUG 4689: Fix bug in new change notify code caused by not
1347       ignoring the max_params_return value and as a resulting
1348       returning truncated names.
1349     * Fix sync_file() to return NTSTATUS and return this on failure in
1350       the write reply path.
1351     * BUG 4678,4697: Fix token creation for clear text logins.  
1352     * BUG 4725: Don't crash when no eventlog names are defined in
1353       smb.conf.
1354     * Ensure we will always release any timeout handler on fsp close 
1355       or removal of oplock.
1358 o   Jacob Berkman <jberkman@novell.com>
1359     * BUG 4566: Pass password data to krb5_prompter.
1362 o   Gerald (Jerry) Carter <jerry@samba.org>
1363     * BUG 4579: Fix "wbinfo -t" when running winbindd on a Samba DC.
1366 o   Guenther Deschner <gd@samba.org>
1367     * BUG 4657: Fix compilation and linking of pam_smbpass.so.
1368     * Add more netlogon GetDcName() client calls.
1369     * Fix event based krb5 ticket refreshing in winbindd.
1371 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
1372     * BUG 4720: Fix smbclient connections to share names containing 
1373       multibyte characters.
1376 o   Steve Langasek <vorlon@debian.org>
1377     * Allow SIGTERM to cause nmbd to exit on awaiting an interface 
1378       to come up.
1381 o   Volker Lendecke <vl@samba.org>
1382     * Fix record state check error when reviewing entries in nmbd's
1383       WINS database.
1384     * Revert 'net idmap dump' behavior to 3.0.24 behavior to fix change 
1385       in command line syntax that would overwrite winbindd_idmap.tdb.
1386       
1388 o   Justin Maggard <jmaggard@infrant.com>
1389     * Don't expire a password if it's explicitly set as ACB_PWNOTREQ.
1392 o   <mnix@wanm.com.au>
1393     * Fix old old bug in cli_smbwrite() (not incrementing data 
1394       being sent).
1397 o   Jens Nissen <jens.nissen@gmx.net>
1398     * BUG 4537: Fix smbtorture deny test2.
1401 o   James Peach <jpeach@apple.com>
1402     * Fix structure types in the vfs_catia NT_ACL operations.
1405 o   Doug Rudoff <doug_rudoff@isilon.com>
1406     * Ensure that the the lck struct for invalid locks are correctly
1407       saved and therefore cleaned up.
1410 o   Simo Sorce <idra@samba.org>
1411     * Updates for the packaging/Debian directory.
1412     * Add missing 'c' character to the list of shell safe characters.
1413     * BUG 4667 (partial): Fix crash bug in idmap_ldap.c.
1414     * Fix inconsistencies between creating machine and user accounts.
1415     * Fix bug deleting LDAP user accounts that used the account 
1416       objectclass as its structural basis.
1417     * BUG 2319: Ensure that smbspool correctly decodes %-encoded
1418       characters.
1419     * BUG 4624: Fix crashes in idmap_rid.
1422 Release notes for older releases follow:
1424       --------------------------------------------------
1425                    ===============================
1426                    Release Notes for Samba 3.0.25a
1427                              May 25, 2007
1428                    ===============================
1430 Major bug fixes included in Samba 3.0.25a are:
1432   o Missing supplementary Unix group membership when using "force 
1433     group".
1434   o Premature expiration of domain user passwords when using a 
1435     Samba domain controller.
1436   o Failure to open the Windows object picker against a server
1437     configured to use "security = domain".
1438   * Authentication failures when using security = server.
1441 Changes to MS-DFS Root Share Behavior
1442 =====================================
1444 Please be aware that the initial value for the "msdfs root" share 
1445 parameter was changed in the 3.0.25 release series and that this 
1446 option is now disabled by default.  Windows clients frequently require 
1447 a reboot in order to clear any cached information about MS-DFS
1448 root shares on a server and you may experience failures accessing
1449 file services on Samba 3.0.25 servers until the client reboot 
1450 is performed.  Alternately, you may explicitly re-enable the 
1451 parameter in smb.conf.   Please refer to the smb.conf(5) man page
1452 for more details.
1456 ######################################################################
1457 Changes
1458 #######
1460 Changes since 3.0.25
1461 --------------------
1463 o   Michael Adam <obnox@samba.org>
1464     * Fix logic in detection of the need to replace dlopen, et. al.
1465     * Add HP-UX ACL VFS module.
1466     * Fix build of Tru64 ACL VFS module.
1469 o   Jeremy Allison <jra@samba.org>
1470     * BUG 4622: Fix authentication failures in security = server.
1471     * Fix pointer marshalling in srvsvc parsing code.
1472     * BUG 4630: Fix conversion of 8 byte time_t and NT_TIME values.
1473     * Ensure that if we're blocked on a POSIX lock we know nothing
1474       about that we retry the lock every 10 seconds instead of waiting
1475       for the standard select timeout.
1476     * BUG 4637: Fix samlogon reply regression that broke domain logons.
1477     * Fix rename on open files and improved delete-on-close semantics.
1478     * Fix POSIX setfilepathinfo to use lstat.
1481 o   Alexander Bokovoy <ab@samba.org>
1482     * Add -pie support to Python's setup.py.
1483     * Strip STYPE_TEMPORARY and STYPE_HIDDEN when printing share
1484       listing from 'net rap shares".
1485     * Fix argument parsing in "net rap server domain".
1486    
1488 o   Gerald (Jerry) Carter <jerry@samba.org>
1489     * BUG 4616: Don't return a dns or forest name when replying to the
1490       DsGetPrimaryRoleInfo() and configured for security = domain.
1491     * Trim noise by removing redundant WARNING log message that would 
1492       flood at log level 2. 
1493     * Fix truncation of supplementary Unix groups when using "force group".
1496 o   Guenther Deschner <gd@samba.org>
1497     * Always fallback to NTLM authentication in pam_winbind when the 
1498       user's account has UF_DONT_REQUIRE_PREAUTH set.
1501 o   Steve French <sfrench@us.ibm.com> 
1502     * Valgrind fixes in mount.cifs.
1505 o   Volker Lendecke <vl@samba.org>
1506     * Fix crash bug in the Solaria ACL VFS module caused by
1507       uninitialized variables.
1510 o   Herb Lewis <herb@samba.org>
1511     * Update connection structure definition for tdbtool display
1512       output.
1515 o   Derrell Lipman <derrell@samba.org>
1516     * BUG 4601: Fix smbc_getxattr() to properly return the required
1517       size of the buffer needed to contain the extended attributes.
1518     * BUG 4599: Fix failure when setting attributes.
1519     * BUG 4634: Type of the size parameter to getpeername in
1520       libsmbclient code was wrong.
1521     * Fix libsmbclient interaction with links on Vista and properly
1522       detect non-NTSTATUS errors.
1523     
1525 o   Jim McDonough <jmcd@us.ibm.com>
1526     * BUG 4630: Fix special case of unix_to_nt_time() for TIME_T_MAX
1527       and the output from http_timestring().
1530 o   Stefan Metzmacher <metze@samba.org>
1531     * Merge gdb_backtrace script changes form SAMBA_4_0.
1534 o   Lars Mueller <lars@samba.org>
1535     * Allow idmap_ldap to be built as a shared lib.
1538 o   James Peach <jpeach@apple.com>
1539     * BUG 4426: Move FAM libraries from smbd to vfs_fam_notify.
1540     * BUG 2287: Replace unnecessary AC_TRY_RUN with AC_TRY_LINK.
1541     * BUG 4589: Fix typo in pdbedit output.
1544 o   Simo Sorce <idra@samba.org>
1545     * Short circuit Unix Users and Unix Groups Domain SID checks 
1546       in smbd to avoid unnecessary calls to winbindd.
1548       --------------------------------------------------
1549                    ==============================
1550                    Release Notes for Samba 3.0.25
1551                             May 14, 2007
1552                    ==============================
1554 The 3.0.25 release is an upgrade release over the 3.0.23/3.0.24 
1555 series which means that a substantial amount of development has 
1556 occurred and many new features have been added since the last
1557 Samba production release.  We would like to thank everyone in 
1558 the Samba community that help to test the preview snapshots and 
1559 release candidates.  We believe that the this production release 
1560 is in much better shape due to your help.  
1562 Major features included in the 3.0.25 code base include:
1564   o Significant improvements in the winbind off-line logon support.
1565   o Support for secure DDNS updates as part of the 'net ads join' 
1566     process.
1567   o Rewritten IdMap interface which allows for TTL based caching and 
1568     per domain backends.
1569   o New plug-in interface for the "winbind nss info" parameter.
1570   o New file change notify subsystem which is able to make use of 
1571     inotify on Linux.
1572   o Support for passing Windows security descriptors to a VFS 
1573     plug-in allowing for multiple Unix ACL implements to running side 
1574     by side on the Same server.
1575   o Improved compatibility with Windows Vista clients including 
1576     improved read performance with Linux servers.
1577   o Man pages for IdMap and VFS plug-ins.
1579 Security Fixes included in the Samba 3.0.25 release are:
1581   o CVE-2007-2444
1582         Versions: Samba 3.0.23d - 3.0.25pre2
1583         Local SID/Name translation bug can result in
1584         user privilege elevation
1586   o CVE-2007-2446
1587         Versions: Samba 3.0.0 - 3.0.24
1588         Multiple heap overflows allow remote code execution
1590   o CVE-2007-2447
1591         Versions: Samba 3.0.0 - 3.0.24
1592         Unescaped user input parameters are passed as
1593         arguments to /bin/sh allowing for remote command
1594         execution
1597 Off-line Logons and AD Site Support
1598 ===================================
1600 Winbind's capability to support offline logons has been greatly
1601 improved with the 3.0.25 release including support for locating 
1602 domain controllers asynchronously using Active Directory Site
1603 information.
1606 New IdMap Interface for Winbindd
1607 ================================
1609 The 3.0.25 release of Samba includes a rewritten IdMap interface
1610 for winbindd which replaces the "idmap backend" parameter.  Please 
1611 refer to the "idmap domains" description in the smb.conf(5) man 
1612 page for more details.
1615 Dynamic DNS Updates
1616 ===================
1618 The "net ads join" command is now able to register the host's DNS A
1619 records with Windows 2000 SP4 and 2003 DNS servers.  This 
1620 feature must be enabled at compile time using the --with-dnsupdate 
1621 when running the ./configure script.  There is also a related "net ads 
1622 dns" command for refreshing a host's records which could be launched
1623 from a dhcp client script when a new IP address is obtained.
1626 Support for Additional ACL Modules
1627 ==================================
1629 Samba's POSIX ACL support has been moved inside of the VFS layer 
1630 which means it is now possible to support multiple ACL implementations
1631 on the same server including NFSv4 and GPFS ACLs.
1634 VFS ReadAhead Plugin
1635 ====================
1637 Windows Vista introduces pipe-lined read support for improved 
1638 performance when transferring files.  The new vfs_readahead plugin
1639 allows Linux file servers to utilize additional Kernel buffers
1640 for caching files in order to avoid Disk I/O wait time when serving
1641 Vista clients.  If you experience poor read performance between 
1642 Linux servers and Vista clients, please test the vfs_readahead
1643 module by adding the following lines to the share definition
1644 in smb.conf:
1646 [file_share]
1647         vfs objects = readahead
1649 Note that this plugin will result in additional RAM requirements
1650 due to the increased amount of kernel buffer caches used by smbd.
1651 Please refer to vfs_readahead(8) for more information.
1654 Windows Vista, Office 2007, and Offline Files
1655 =============================================
1657 Research surrounding offline files, Windows Vista, and Microsoft 
1658 Office 2007 has revealed a incompatibility between these 
1659 applications and the "map acl inherit = no" setting in smb.conf.  
1660 Users requiring support client side caching (csc) and offline 
1661 files are encouraged to enable the "map acl inherit" for any 
1662 affected share definitions in the server's configuration.
1663 Future versions of Samba will enable this setting by default.
1665 Please refer to the smb.conf(5) man page for more details on 
1666 "map acl inherit".
1669 ######################################################################
1670 Changes
1671 #######
1673 smb.conf changes
1674 ----------------
1676     Parameter Name                      Description     Default
1677     --------------                      -----------     -------
1678     change notify timeout               Removed         n/a
1679     change notify                       New             Yes
1680     debug prefix timestamp              New             No
1681     fam change notify                   Removed         n/a
1682     idmap domains                       New             ""
1683     idmap alloc backend                 New             ""
1684     idmap cache time                    New             900
1685     idmap negative cache time           New             120
1686     kernel change notify                Per share       Yes
1687     lock spin count                     Removed         n/a
1688     max stat cache size                 Modified        1024KB
1689     msdfs root                          Modified        no
1690     printjob username                   New             %U
1691     winbind normalize names             New             no
1696 Changes since 3.0.25rc3
1697 -----------------------
1700 o   Jeremy Allison <jra@samba.org>
1701     * Fix memory corruption bug during string processing.
1702     * Instantiate idiom that malloc/tallocs of array of 0 elements
1703       returns NULL.
1704     * Fix marshalling bugs in samr code based on incorrect
1705       assumptions.
1706     * Fix DFS MS-RPC enumeration reply when we have no DFS shares.
1707     * Fix memory corruption when enumerating accounts in the 
1708       LsaPrivilege database.
1709     * Fixes for CVE-2007-2444, CVE-2007-2446, and CVE-2007-2447.
1712 o   Gerald (Jerry) Carter <jerry@samba.org>
1713     * Fix memory corruption when adding/removing members from Local 
1714       Groups.
1717 o   Guenther Deschner <gd@samba.org>
1718     * Prevent leaking on full NET_USER_INFO_3 structure memory on each
1719       cached login.
1720     * Plug memory leak in client SPNEGO session setup code.
1721     * Don't clear cached U/SID and UG/SID entries when we want to 
1722       logon offline.
1725 o   Steve French <sfrench@us.ibm.com> 
1726     * Allow prepaths in mount.cifs.
1727     * Don't prompt for a password in mount.cifs when sec=none has been 
1728       specified.
1731 o   Steve Langasek <vorlon@debian.org>
1732     * BUG 4600: Fix compilation of --with-python.
1735 o   Volker Lendecke <vl@samba.org>
1736     * Fix memory corruption bug in string_replace().
1737     * Fix valgrind error in parse_domain_user().
1738     * Fix compilation of explicit --without-winbind.
1739     * Fix an uninitialized variable and other compiler warnings.
1740     * Fix memory leak in smbd's claim session code.
1741     * BUG 4613: Fix incorrect password expiration caused by stomping on 
1742       the time values in the NET_USER_INFO_3 for remote users.
1743     * Fixes for CVE-2007-2446.
1746 o   Stefan Metzmacher <metze@samba.org>
1747     * Add AC_GNU_SOURCE macro in libreplace for systems which don't have it.
1748     * Fix libreplace compiler warnings.
1751 o   Jens Nissen <jens.nissen@gmx.net>
1752     * Fix memory leak on the file/directory ACL processing code.
1755 o   Simo Sorce <idra@samba.org>
1756     * Memory allocation cleanups and sanity checks after the malloc(0)
1757       == NULL crusade.
1758     * Fix socket leak in idmap_ldap.c.
1759     * Fix failure in "net idmap restore".
1760     * Fix crash bug in idmap_ldap's get_credentials() code.
1761     * Fixes for CVE-2007-2446.
1764 o   Alison Winters <alisonw@sgi.com>
1765     * Add missing return calls in sendfilereadbraw.
1768 Changes since 3.0.24
1769 --------------------
1772 commits
1773 -------
1775 o   Michael Adam <ma@sernet.de>
1776     * Patch to lib/sysquotas_linux.c replacing some "get"s by "set"s.  
1777       This makes the difference between the get and set calls for
1778       SMB_USER_FS_QUOTA_TYPE and SMB_GROUP_FS_QUOTA_TYPE. 
1779     * Prevent collision from config.h created by stand alone component
1780       builds.
1783 o   Jeremy Allison <jra@samba.org>
1784     * Fix CIFS POSIX unlink behavior.
1785     * Change POSIX_UNLINK to allow clients to differentiate between 
1786       unlink/rmdir calls.
1787     * Add smbclient implementations of POSIX open/mkdir/unlink/rmdir.
1788     * Refactor MS-DFS server and client code.
1789     * Support deep MS-DFS referrals in Samba client applications.
1790     * Change the VFS interface to use struct timespec for utimes.
1791     * Fix build failures on *BSD platforms caused by introduction of 
1792       memalign().
1793     * Optimize exit path in the byte-range locking code in smbd to 
1794       only read the locking db if there are outstanding lock requests.
1795     * Fix long-standing bug in our chain processing code.
1796     * BUG 4384: Fix bug in old search code.
1797     * Add support for the UNIX_INFO2 info level.
1798     * Add in the "create info" field to the reply from POSIX_OPEN 
1799       and POSIX_MKDIR.
1800     * Refactor the sessionsetupX code a little to allow us to return 
1801       a NT_STATUS_TIME_DIFFERENCE_AT_DC error to a client.
1802     * Fix memory leaks in the LDAP sasl bind code.
1803     * Fix crash in vfs audit/full audit modules caused by API changes.
1804     * Fix connection problem between pre-3.0.25 smbclient and new DFS
1805       server code.
1806     * Fix valgrind errors in credentials.c.
1807     * Fix logic error in CIFS POSIX extensions for open() and mkdir().
1808     * Fix if logic error when checking for password resets of machine
1809       trust accounts in Samba's passdb.
1810     * Ensure we use the same technique to pull the share mode data out
1811       that locking.c does.
1812     * Fixes buffer parsing in the server side Lanman and RAP calls.
1813     * Fix GetPrinter() info level 3 to fix displaying and setting
1814       security descriptors on printers from WinXP x86_64 clients.
1815     * Return correct error code to the trans2 GetDfsReferral() request
1816       from Vista clients (fixes listing share contents in the Vista
1817       explorer.exe).
1818     * BUG 4486: Fix the exclude_dir parameter in the VFS recycle
1819       plugin.
1820     * Consolidate the become_root_uid_only() calls to only use
1821       become_root().
1822     * Add vfs_readahead module to deal with the pipe-lined reads 
1823       from Vista clients.
1824     * BUG 4404: Fix server SMB/CIFS protocol bugs that broke Vista
1825       clients trying to utilize offline file support.
1826     * BUG 4494: Make sure to fail immediately if sendfile fails and
1827       don't continue on to call chain_reply() (based on report from
1828       Kevin Jamieson).
1829     * Remove tdb.h from the libsmbsharemodes.so header file.
1830     * BUG 3634: Fix crash in nmbd caused by a bad "interfaces" include
1831       in smb.conf.
1832     * Add initial version to winbindd_cache.tdb file.  Automatically
1833       delete existing non-versioned cache files.
1834     * Fix the storage size of time_t in winbindd_cache.tdb to be 8
1835       bytes.
1836     * Cope with signature errors on sessionsetupX logins where the
1837       server just reflects our signature back to us. Allow the upper 
1838       layer to see the real error.  
1839     * BUG 4512: Limit the volume label for a share to 32 UNICODE
1840       characters.
1841     * Allow arbitrary bases in int and ulong parsing in smb.conf.
1842     * Fix off-by-one error in tconX parsing.
1843     * Winbind off-line logon fixes.
1844     * Support for AD sites when locating domain controllers.
1845     * Fix libsmbclient bug with Konqueror and NetApp filers that need 
1846       a leading / in OpenAndX calls. 
1847     * BUG 4187: Possible crash in signing on/off code.
1848     * Fix memory leaks in pam_winbind.c.
1849     * Fix a bug in the sequence number store/fetch routines in
1850       winbindd_cache.tdb.
1851     * Fix the problem with Linux clients requesting O_WRONLY on write-only
1852       files.
1853     * Fix a class of memory allocation bugs in the handling of user tokens.
1854     * Fix crash bug in winbindd caused by a bug in the messaging dispatch
1855       code.
1856     * Fix memory bloat in trans calls caused by talloc()'ing memory off the
1857       wrong context.
1858     * Fix wildcard renames with SMBmv.
1859     * Fixes for pathname handling code.
1860     * Add in the wdel smbclient command to perform wildcard deletes.
1861     * Fix a bug that causes smbd to 'hang' intermittently while updating
1862       the trusted domain cache.
1863     * Cleanup error path processing in reduce_name().
1864     * Fixes for smbtorture tests (BASE-DELETE, ...)
1865     * Delete on close fixes ("I completely understand it this time").
1866     * Remove unneeded checks on incoming uid/gid for mknod (fifo) Unix
1867       extensions code.
1868     * More fixes for Unix Extensions include support for POSIX locking.
1869     * NTLMv2 fixes for Vista clients.
1870     * Add an optimized lookup for Domain Users and only report the current
1871       user (which is generally what the calling application wants to know 
1872       anyways).
1873     * Fixes for supporting the Vista backup utility based on work by Joe
1874       Meadows <jameadows@webopolis.com>.
1875     * Fix 4377: Fix rename of "foo" -> "Foo".
1876     * BUG 4188: Fix for Vista delete directory bug.
1877     * BUG 4400: Add support for processing large Krb5 tickets in SMB
1878       sesssetup&X.  Based on work by <todd.stecher@isilon.com>.
1879     * Fix trans2 file size reporting for Linux CIFS client.
1880     * Allow Well-Known and Local Groups to be stored in POSIX ACLs
1881       as long as there is a SID/gid mapping entry available.
1882     * Fix memory corruption bug in the CIFS POSIX open/mkdir.
1883     * BUG 4536: Correctly delete symlinks pointing to a directory.
1886 o   Danilo Almeida <dalmeida@centeris.com>
1887     * Add additional debug support for pam_winbind.
1888     * Add support for listing multiple groups in pam_winbind's 
1889       require-membership-of option which act as a logical OR.
1892 o   Andrew Bartlett <abartlet@samba.org>
1893     * Ensure debug messages from tools print the correct config file 
1894       location if the file was defined as a command line option.
1897 o   Andrew Benham <andrew.benham@thus.net>
1898     * BUG 4290: Properly compute time to password expiration in message
1899       from pam_winbind.
1902 o   Alexander Bokovoy <ab@samba.org>
1903     * Ensure nfsv4 chown logic is controlled by "nfs4:chown=[yes|no]".
1904     * Add GPFS-provided DMAPI support
1907 o   Kai Blin <kai.blin@gmail.com>
1908     * Match Windows NTLMSSP flags.
1911 o   Gerald (Jerry) Carter <jerry@samba.org>
1912     * Implement pluggable "winbind nss info" interface.
1913     * Removal of unmaintained smbwrapper utility.
1914     * Fix server affinity bugs in the 'net ads join' code to include
1915       support for AD sites.
1916     * Implement DDNS update client code.
1917     * Upper case the host/sAMAccountName in the keytab file.
1918     * Fix lookupname call in winbindd when joined to a child domain and
1919       trying to resolve a SID in a sibling domain.
1920     * Fix password changes against a Windows 2000 DC using pam_winbind.
1921     * Fix crash in "pdbedit -L -w"
1922     * Add "winbind normalize names" option.
1923     * BUG 4093: Make %a resolve correctly for Windows Vista and Windows 
1924       XP 64bit clients.
1925     * Printing fixes for Windows Vista.
1926     * Protect the sasl bind against a NULL principal string in the 
1927       SPNEGO negTokenInit
1928     * Fix some "cannot access LDAP when no root" bugs.
1929     * NSS and PAM fixes on AIX.
1930     * Cached credentials and Krb5 ticket renewal fixes in winbindd.
1931     * Fix server affinity bug in Winbind's ADS connection handling.
1932     * Fix crash when enumerating local group membership in usrmgr.exe
1933       on a Samba DC.
1934     * Rework parsing for NetFileEnum() and NetSessionEnum()
1935     * Add server stub for NetFileClose()
1936     * Return correct information for sessions and open files
1937       including session duration, number of open files, and open pipes.
1938     * Fixes for "winbind normalize names" functionality: 
1939       - Fix getgroups() call called using a normalized name
1940       - Fix some more name mappings that could cause for example
1941         a user to be unable to unlock the screen as the username
1942         would not match in the PAM authenticate call.
1943      * Blacklist BUILTIN and MACHINE domains from the idmap domains as 
1944        these should only be handled by the winbindd_passdb.c backend.
1945      * Allow the alloc init to fail for backwards compatible 
1946        configurations such as with idmap_ad.
1947      * Remove the deprecated flags from idmap backend, et. al. These 
1948        are mutually exclusive with the "idmap domains".
1949      * Add the osname and osver options to 'net ads join'
1950     * Ensure winbindd honors the "idmap domains" option and not 
1951       default to idmap_tdb.
1952     * Fix memory corruption caused by calling free() on talloc()'d
1953       memory when adding and removing users from local groups.
1954     * BUG 4501 (partial): Fix crash bugs in idmap_ad plugin by adding
1955       the schema_mode option when using "winbind nss info = template".
1956     * BUG 4491, 4501 (partial): Disable attempts to allocate a uid/gid if no
1957       idmap alloc backend has been defined.  Do not defined a default
1958       alloc backend.
1959     * Fix "make install" to include creating the links between
1960       idmap_ad and the nss_info_rfc2307 and nss_info_sfu plugins.
1961     * Enable the --with-dnsupdate in the Fedora/RHEL RPM packaging
1962       files.
1963     * BUG 4508: Remove potential loops in the idmap API by requiring
1964       the caller defined the SID type rather than having the idmap layer
1965       call back up to determine the SID type when allocating
1966       uids/gids.
1967     * Don't inherit the offline flag for winbindd_domains that have
1968       not been initialized yet.
1969     * Fix a crash in idmap_ldap caused by a NULL pointer dereference.
1970     * Fix deadlock and timeout conditions in idmap_rid.
1973 o   Steven Danneman <steven.danneman@isilon.com>
1974     * Memory leak fixes.
1975     * Fix core dump when config file in same directory.
1978 o   Mathias Dietz <mdietz@de.ibm.com>
1979     * Initial implementation of the GPFS VFS module.
1980     * Work on NFSv4 ACL VFS plugin.
1981     * Add support for share modes to the GPFS VFS plugin.
1984 o   Guenther Deschner <gd@samba.org>
1985     * Winbind off-line logon fixes.
1986     * Support for AD sites when locating domain controllers.
1987     * Various fixes for 'net ads' user management functions.
1988     * Add an CLDAP client written in Perl.
1989     * Cleanups to the Krb5 ticket refresh code in winbindd.
1990     * Fixes for various error messages from pam_winbind when password
1991       policies are being enforced.
1992     * Implement grace logons for offline authentications in pam_winbind.
1993     * Fixes for idmap_ad.
1994     * Memory leak fixes.
1995     * BUG 4009: Fixes leaking file descriptors (CLOSE_WAIT) in winbindd
1996       with short lived service tickets
1997     * Implement basic AD group policy library
1998     * Adding experimental krb5 lib locator plugin.
1999     * Ensure that Samba clients are correctly reported by the %a 
2000       smb.conf as "Samba" and not "Vista".
2001     * Prevent a user from issuing a PAM_DELETE_CREDS request in 
2002       pam_close_session() for another user.
2003     * Fix tdb keynames in netsamlogon_clear_cached_user().
2004     * Add missing proto_exists dependency for the Winbind NSS target
2005       in the Makefile.
2006     * Build fixes when linking against Heimdal 0.8 Kerberos libraries.
2007     * Build fixes when using older Heimdal Krb5 libs (e.g. 0.6.3).
2008     * Memory allocation error checks in libgpo.
2011 o   Steve French <sfrench@us.ibm.com> 
2012     * Fix mount.cifs compile on old libc missing bind mount #define.
2015 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
2016     * Fix memory leaks in the error paths used by winbindd's credential 
2017       cache code.
2018     * BUG 4409: Add minsize parameter to the vfs_recycle plugin.
2019     * BUG 3319: Ensure that 'hide unreadable' does not filter MS-DFS links.
2022 o   Krishna Ganugapati <krishnag@centeris.com>
2023     * Implement DDNS update client code.
2026 o   YAMASAKI Hiroyuki <h-yamasaki@pd.jp.nec.com>
2027     * BUG 4346: Fix type reported for hidden shares via MS-RPC.
2030 o   David Hu <david.hu@hp.com>
2031     * BUG 4267: Fix memory leaks in ldapsam.
2034 o   Bjoern Jacke <bj@sernet.de>
2035     * BUG 4244: Limit stat cache to a default of 1MB.
2038 o   William Jojo <jojowil@hvcc.edu>
2039     * BUG 3713: Re-add reporting what the profiles tool does (-v).
2040     * BUG 3632: Fix for EISCON in open_any_socket_out() on AIX.
2041     * BUG 4447: Fix compile failure on AIX 5.2.
2044 o   Taj Khattra <taj.khattra@gmail.com>
2045     * Fix missing lock count release in transaction cancel.
2048 o   Zack Kirsch <zack.kirsch@isilon.com>
2049     * Fix memory leaks on some error paths.
2050     * Memory leak fixes on error paths in various places.
2053 o   Derrell Lipman <derrell@samba.org>
2054     * BUG 4115: Fix for using kerberos logins in libsmbclient.so.
2055     * BUG 4309: Prevent netbios keepalive on port 445 which causes
2056       Vista to disconnect Samba clients.
2057     * Ensure that the libsmbclient example programs link with the
2058       libsmbclient library that's part of the current tree.
2061 o   Volker Lendecke <vl@samba.org>
2062     * Replace snum references with a structure based array.
2063     * Allow changing of the hashsize when running tdbbackup.
2064     * Implement secure DDNS update code
2065     * Klocwork, Coverity, and IBM Checker fixes.
2066     * BUG 4273: Fix crash in 'net rpc vampire'
2067     * Refactor older SMB file serving code.
2068     * Refactor open directory file serving code.
2069     * Implement support for inotify when serving CIFS change notification
2070       requests (includes merge work from SAMBA_4_0).
2071     * Fixes to allow Samba 3.0 to pass various smbtorture tests (RAW-OPEN,
2072       RAW-UNLINK, RAW-CLOSE, ...)
2073     * Refactor delete on close file server code.
2074     * MS-DFS fixes for Vista clients.
2075     * BUG 4372: Long timeout in LDAP setup when accessing files after 
2076       10 secs.
2077     * Change the static array for the in-memory mirrors of the hash chain
2078       locks to a dynamically allocated one.
2079     * Use inotify for file change notification on Linux.
2080     * Revert "msdfs root" to default to "no".
2081     * Refactor AIO code.
2082     * Fix memory leaks when returning user lists to clients via SAMR calls.
2083     * BUG 4365: Fix NTLMv2 implementation on Samba member servers not 
2084       running winbindd.
2085     * Reduce contention on the tdb free list by periodic reclamation
2086       of dead tdb records into groups
2087     * Split tdb free lists per hash chain.
2088     * Coverity fixes.
2089     * Add winbindd_priv_request_response() request that kills the 
2090       existing winbind pipe connection if it's not privileged to prevent
2091       race conditions during the challenge/response authentication sequence.
2092     * BUG 4460: Fix compile error in winbind_nss_irix.c.
2093     * Fix Coverity bug reports.
2094     * Fixes buffer parsing in the server side Lanman and RAP calls.
2097 o   David Leonard <dleonard@vintela.com>.
2098     * Fix file descriptor leak from an error path in winbindd.
2099     * BUG 4369: Fix smbclient's showacls on files in subdirectories.
2102 o   Herb Lewis <herb@samba.org>
2103     * Cleanups to sharesec utility.
2104     * Compiler warning cleanups.
2105     * Compiler warning fixes.
2106     * Allow smbcontrol to use POPT_COMMON_SAMBA options to allow setting
2107       debug level.
2108     * Add "debug prefix timestamp" to allow syslog type timestamps to be 
2109       added in the Samba log files.
2110     * Fix compile error in nmbd_incomingdgrams.c.
2111     * Allow profiling level to be set on startup.
2114 o   Ying Li <ying.li2@hp.com>
2115     * Use the default tdb idmap plugin when neither idmap domains
2116       nor idmap backend have been defined.
2119 o   Jason Mader <jason@ncac.gwu.edu>
2120     * Various compile warning fixes. 
2121     * Initial patch set for strptime() in libreplace.
2124 o   Don McCall <don.mccall@hp.com>
2125     * Fix compile bug in vfs_default on platforms without utimes().
2126     * HP-UX compile fixes.
2129 o   Jim McDonough <jmcd@us.ibm.com>
2130     * Bug fixes for GPFS VFS module.
2131     * Fix "password never expires" policy which would be incorrectly 
2132       require all users to change their password at login time.
2133     * Fix the GPFS VFS module to pass the POSIX ACL tests (Thanks to
2134       Gomati Mohanan).
2135     * Fix crate_user() access checks when setting the "User Cannot 
2136       Change Password" flag.
2139 o   Stefan Metzmacher <metze@samba.org>
2140     * POSIX ACL compile warning fixes.
2141     * Fix --with-fhs, where confdir is set to \${sysconfdir} but
2142       sysconfdir wasn't defined in the Makefile.
2143     * Add localstatedir to configure.in for completeness.
2144     * BUG 4496: Fix libreplace failure on ulibc systems.    
2145     * Merge numerous libreplace fixes from the SAMBA_4_0 code base 
2146       (stdint.h, stdbool.h, unsetenv, strptime(), strtoll(), et. al.).
2147     * Move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace.
2148     * Portability fixes for dlopen() (merge from SAMBA_4_0)
2149     * Sync libreplace (merge from SAMBA_4_0)
2152 o   Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
2153     * AIX quota fixes.
2156 o   Gomati Mohanan <gomati.mohanan@in.ibm.com>
2157     * Work on NFSv4 ACL VFS plugin.
2160 o   Lars Mueller <lars@samba.org>
2161     * Provide better feedback about deprecated use of multiple passdb
2162       backends.  Use the first backend to have at least this one working.
2163     * Fix make install to include smbmount, et. al. docs.
2164     * Merge more proto_exists dependency fixes from SAMBA_3_0.
2165     * Makefile cleanups.
2166     * Log the reason for failures when not creating a core file on a
2167       crash due to restrictive permissions on the log file directory.
2170 o   James Peach <jpeach@apple.com>
2171     * Replace exit_server with exit_server_cleanly where appropriate.
2172     * Add docs for VFS modules.
2173     * Portability fixes for autoconf and character set modules on 
2174       OS X.
2175     * Only attempt to reload the config file after the fork point 
2176       if we are in daemon mode.
2177     * Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.
2178     * Changing the FindFirst response for the UNIX_INFO2 level to
2179       include a length field before the name.
2180     * Add call to chflags(2) in the default VFS module.
2183 o   Andy Polyakov <appro@fy.chalmers.se>
2184     * Pull the CUPS comment and location attributes when not overridden 
2185       by values stored in Samba's ntprinters.tdb.
2186     * BUG 3275: Allow upload of x64 printer drivers by relaxing the COFF 
2187       header parsing code in smbd.
2190 o   J Raynor <raynorj@mn.rr.com>
2191     * Make sure we are privileged when doing DMAPI operations on systems
2192       that don't have capability support.
2195 o   Jorge Santos <jorge_a_santos@hotmail.com>
2196     * BUG 4500: Fix compile bug in quota.c.
2199 o   Jiri Sasek <jiri.sasek@sun.com>
2200     * Fix incorrect Krb5 linking on Solaris.
2201     * Fix possible NULL dereference in adt_tree.c
2204 o   Karolin Seeger <ks@sernet.de> 
2205     * Fix a compile problem in shadow_copy_test.c.
2206     * Add 'net sam policy' commands.
2207     * Fixes for "net usershare" and "guest_ok=y"
2210 o   Robert Shearman <rob@codeweavers.com>
2211     * Allow NULL domain and username in the form of user@domain to be 
2212       interpreted correctly by ntlm_auth for use by Wine applications.
2215 o   Simo Sorce <idra@samba.org>
2216     * Remove redundant log messages from idmap_ad.c.
2217     * BUG 3974: Fix ambiguity between the -N option and the -T
2218       tar options.
2219     * Fix linking flags used when creating shared libraries.
2220     * Offline logon fixes in the idmap backend manager.
2221     * Cleanup initialization code in the sfu and rfc2307 nss_info
2222       plugins to protect against a crash if called before the idmap_ad
2223       module has been initialized.
2224     * Protect against crashes in get_dc_name() in the idmap_ad code
2225       when we are working offline.
2226     * BUG 4438, 4440: Fix bugs in "net sam provision".
2227     * Initial implementation of new IdMap interface.
2228     * Fix crash in pam_winbind caused by referencing a pointer after the 
2229       memory had been freed.
2230     * Implement escaping function for ldap RDN values.
2233 o   Peter Somogyi <SOMOGYI@de.ibm.com>
2234     * Work on NFSv4 ACL VFS plugin.
2237 o   Andrew Tridgell <tridge@samba.org>
2238     * Fix an integer overflow in the ndr library code used by PIDL.
2241 o   Jelmer Vernooij <jelmer@samba.org>
2242     * Implement support for IDL autogenerated code to
2243       handle the MS-RPC parsing functions.
2246 o   Don Watson <dwwatson@us.ibm.com>
2247     * Fixes for 'net rpc vampire' and the guest account
2250 o   Martin Zielinski <mz@seh.de>
2251     * Printing fixes for Windows Vista clients.
2254       --------------------------------------------------
2255                    ==============================
2256                    Release Notes for Samba 3.0.24
2257                              Feb 5, 2007
2258                    ==============================
2261 Important issues addressed in 3.0.24 include:
2263   o Fixes for the following security advisories:
2264     - CVE-2007-0452 (Potential Denial of Service bug in smbd)
2265     - CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind
2266       NSS library on Solaris)
2267     - CVE-2007-0454 (Format string bug in afsacl.so VFS plugin)
2270 ######################################################################
2271 Changes
2272 #######
2274 Changes since 3.0.23d
2275 ---------------------
2277 commits
2278 -------
2280 o   Jeremy Allison <jra@samba.org>
2281     * Fix for CVE-2007-0452 & CVE-2007-0454
2284 o   Olivier Gay <ouah@ouah.org>
2285     * Fix for CVE-2007-0453
2288 o   Volker Lendecke <vl@samba.org>
2289     * Fix for CVE-2007-0452
2292       --------------------------------------------------
2293                    ===============================
2294                    Release Notes for Samba 3.0.23d
2295                              Nov 14, 2006
2296                    ===============================
2298 This is the latest stable release of Samba. This is the version 
2299 that production Samba servers should be running for all current 
2300 bug-fixes.  Please read the changes in this section and for the 
2301 original 3.0.23 release regarding new features and difference 
2302 in behavior from previous releases.
2304 Important issues addressed in 3.0.23d include:
2306   o Stability fixes for winbindd
2307   o Portability fixes on FreeBSD and Solaris operating systems.
2309 ######################################################################
2310 Changes
2311 #######
2313 Changes since 3.0.23c
2314 ---------------------
2316 commits
2317 -------
2319 o   Jeremy Allison <jra@samba.org>
2320     * Changes to ntlm_auth to better support Firefox's NTLM 
2321       authentication.
2322     * Make the "max usershares" parameter an advisory limit.
2323     * BUG 4095: Cleanup bad substitution causing the username 
2324       to be translated to domain\user twice in spnego path. 
2325     * BUG 4097: Ensure all pdb_XXX calls are wrapped in 
2326       [un]become_root() pairs.
2327     * Ensure we always return the canonicalized name 
2328     * Add in fixes to mangling dir code.
2329     * Do not assume that gencache can always be opened for RW access.
2330       Fall back to RO.
2331     * Always initialize variables in winbindd request/response 
2332       structure.
2333     * Fix libsmbclient bug with Konqueror and NetApp filers that 
2334       need a leading / in OpenAndX calls. 
2335     * Added showacls toggle in the smbclient code.
2336     * Add a suffix to the pidfile's program name if this is a process
2337       with a non-default configuration file name.
2338     * Fix protection from invalid struct tm values.
2339     * BUG 4187: Possible crash in signing on/off code.
2340     * BUG 4214: Fix crash bug in find_forced_group().
2341     * BUG 4224: Fix enforcement of the deadtime parameter.
2344 o   Timur Bakeyev <timur@com.bat.ru>
2345     * BUG 3856: Set the nss soname version on FreeBSD.
2346     * BUG 4109: Fix bug causing smbd to turn off winbindd and 
2347       fail to disable the _NO_WINBIND environment.
2348     * BUG 3868: Prevent --with-aio-support from trimming the 
2349       $LIBS variable in configure.in.
2352 o   Dmitry Butskoy <dmitry@butskoy.name>
2353     * BUG 4075: Allow smbd to use winbindd to lookup uids/gids 
2354       outside the idmap range if 'winbind trusted domains 
2355       only = yes'.
2358 o   Gerald (Jerry) Carter <jerry@samba.org>
2359     * Fix primary group lookup failures.  Use the Get_Pwnam_alloc() 
2360       call to ensure it finds the Unix user first.
2361     * Only grant privs to Administrators if privileges are enabled 
2362       to avoid bogus error messages in the logs.
2365 o   Alex Deiter <tiamat@komi.mts.ru>
2366     * BUG 3524: Fix for quota support on Solaris.
2369 o   Guenther Deschner <gd@samba.org>
2370     * Close socket when the CLDAP request has failed.
2371     * Memory leak fixes in the libads/ldap.c code.
2372     * Printer publishing fixes for "net ads".
2373     * Fix error code returns in the CLDAP client code.
2374     * Do not anonymously query for AD schema items in winbindd.
2375     * Protect against storing null-sids in the winbind cache.
2376     * Fallback to non-paging LDAP searches for anonymous bound 
2377       connections.
2378     * More workarounds when nscd.
2379     * Fix error code typoe in the GetDcName() netlogon call  
2380       (including two new error codes).
2381     * Fix valgrind warnings in pam_winbind
2382     * Add two missing refresh_sequence_number calls where they are 
2383       missing just before writing to the winbind cache tdb.
2384     * Attempt to locate a valid domain controller before prompting
2385       for credentials in "net ads".
2386     * Set 35 second timeout in winbindd's netlogon code when sending 
2387       a GETDC request.
2388     * Stop "net ads {user,group} delete" from doing funny things.
2389     * Fix container handling for "net ads user" and "net ads group" 
2390       functions.
2391     * Fix various memleaks and seg faults in "net ads {user,group}".
2394 o   Udo Eberhardt <udo.eberhardt@thesycon.de>
2395     * BUG 4100: Fix crash in the server spooler code by initializing 
2396       values for smb_io_notify_info_data_strings.
2399 o   Olaf Flebbe <o.flebbe@science-computing.de>
2400     * BUG 4133: pam_winbind.c compile fix on AIX 5.1.
2403 o   David Hu <david.hu@hp.com>
2404     * BUG 4212: Fix memleak in the default_ou_string handling.
2407 o   Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
2408     * BUG 4229: Compile fix for systems without kerberos.
2411 o   Volker Lendecke <vl@samba.org>
2412     * NTLMSSP LanMan session key fixes.
2413     * Various potential seg fault fixes.
2414     * Extra logic in share access checks for bad smb.conf parameter 
2415       settings.
2416     * Fixes to allow smbclient to connect to Vista RC1 workstations.
2417     * Fix bad search filter in ldapsam when enumerating group 
2418       members.
2421 o   Jim McDonough <jmcd@us.ibm.com>
2422     * Correctly handle the password expiration policy on Samba DCs.
2425 o   Nils Nordman <nils.nordman@nordman.org>
2426     * BUG 4085: Allow smbpasswd to change expired passwords on 
2427       remote servers.
2430 o   Simo Sorce <idra@samba.org>
2431     * Merge uid2sid and gid2sid async calls for SAMBA_3_0.
2432     * Better fqdn handling when parsing the /etc/hosts file.
2433     * Fix crash bug in pam_winbind.
2435 o   Andrew Tridgell <tridge@samba.org>
2436     * Fix string alignment problem in password change code.
2439 o   Jim Wang
2440     * BUG 4211: Logic error when enforcing "acl group control"
2441       behavior.
2444 Release Notes for older release follow:
2446       --------------------------------------------------
2447                    ===============================
2448                    Release Notes for Samba 3.0.23c
2449                              Aug 30, 2006
2450                    ===============================
2452 We would like to thank the developers of the Saturn code analysis 
2453 tool from Stanford University (http://glide.stanford.edu/saturn).
2454 This release includes several code fixes based on its reports.
2456 Common bugs fixed in 3.0.23c include:
2458   o Authentication failures in pam_winbind when the AD domain
2459     policy is set to not expire passwords.
2460   o Authorization failures when using smb.conf options such
2461     as "valid users" with the smbpasswd passdb backend.
2464 RID Algorithms & Passdb
2465 =======================
2467 Starting with the 3.0.23c release, the officially supported passdb 
2468 backends (smbpasswd, tdbsam, and ldapsam) now operate identically
2469 with regards to the historical RID algorithm for unmapped users 
2470 and groups (i.e. accounts not in the passdb or group mapping table).
2471 The resulting behavior is that all unmapped users are resolved 
2472 to a SID in the S-1-22-1 domain and all unmapped groups resolve
2473 to a SID in the S-1-22-2 domain.  Previously, when using the 
2474 smbpasswd passdb, such users and groups would resolve to an 
2475 algorithmic SID in the machine's own domain (S-1-5-XX-XX-XX).
2476 However, the smbpasswd backend still utilizes the RID algorithm
2477 when creating new user accounts or allocating a RID for a new 
2478 group mapping entry.
2480 With the changes in the 3.0.23c release, it is now possible to 
2481 resolve a uid/gid, name, or SID in any direction and always obtain
2482 a symmetric mapping.  This is important so that values for smb.conf 
2483 parameters such as "valid users" resolve to the same SIDs as those 
2484 included  in the local user's initial token.
2486 Most installations will notice no change.  However, because
2487 an unmapped account's SID will now change even when using 
2488 smbpasswd it is possible that any security descriptors on files
2489 previously copied from a Samba host to a Windows NTFS partition
2490 may now fail to give access. The workaround is to either manually
2491 map all affect groups (or add impacted users to the server's 
2492 passdb) or to manually reset the file's ACL.
2495 ######################################################################
2496 Changes
2497 #######
2499 Changes since 3.0.23b
2500 ---------------------
2502 commits
2503 -------
2504 o   Michael Adam <ma@sernet.de>
2505     * Fix incorrect logic in internal_resolve_name() caused by if 
2506       statement.
2509 o   Jeremy Allison <jra@samba.org>
2510     * Don't store a NULL SID in winbindd's offline cache.
2511     * Ensure we store the offline password hash in the correct format.
2512     * OS/2 fixes for large Extended Attributes data.
2513     * Fix nmbd crashes caused by miscalculation in pushing 
2514       announcements.
2515     * Handle times consistently across all client utils including
2516       libsmbclient.
2517     * Fix a file descriptor leak in nmbd sync DNS lookup code.
2518     * Fix inconsistency found in checking for NULL in DLIST_REMOVE
2519       macro.
2520     * Pointer dereference fixes based on the Saturn analysis tool.
2521     * Fix memory leak in the AD DC lookup code.
2524 o   Gerald (Jerry) Carter <jerry@samba.org>
2525     * RHEL4  and Fedora packaging updates.
2526     * Remove RID algorithm support for unmapped users and groups
2527       when using an smbpasswd backend.
2528     * Extend the NT token for local users' with the S-1-22-2 
2529       SID for each supplementary group
2530     * BUG 3969: Fix unsigned time comparison with expiration 
2531       policy from AD DC.
2532     * Merge Guenther's fixes from the SuSE SLES10 tree to ensure 
2533       that winbindd talks to the correct DC when servicing PAM 
2534       authentication requests.
2535     * Do not use the generic IP address sort routines for AD DCs
2536       since the SRV lookup include a sorting algorithm based
2537       on priority and weight. 
2538     * Fix our DNS SRV lookup code to deal with multi-homed hosts.
2539     * More changes to ensure that the primary group SID for 
2540       a local user is based on the primary Unix group and not the
2541       primaryGroupSID passdb attribute.
2542     * Disable storing SIDs in the S-1-22-1 and S-1-22-2 domain 
2543       to the SID<->uid/gid cache.
2546 o   Guenther Deschner <gd@samba.org>
2547     * Fix msdfs RPC client and server management RPCs.
2548     * Align idmap_ad with the current idmap_methods interface.
2551 o   Volker Lendecke <vl@samba.org>
2552     * Re-add support for "username level" when looking up the 
2553       matching Unix user for an smbpasswd entry.
2554     * snprintf() fixes.
2557 o   Simo Sorce <idra@samba.org>
2558     * Let innetgr() work without binding its use to a 
2559       NIS domain to support netgroups in local files.
2562 o   Ben Winslow <rain@bluecherry.net>
2563     * Allow client smb signing to be turned off correctly.
2566       --------------------------------------------------
2567                    ===============================
2568                    Release Notes for Samba 3.0.23b
2569                              Aug 7, 2006
2570                    ===============================
2572 Common bugs fixed in 3.0.23b include:
2574   o Ambiguity with unqualified names in smb.conf parameters
2575     such as "force user" and "valid users".
2576   o Errors in 'net ads join' caused by bad IP address in the list
2577     of domain controllers.
2578   o SMB signing errors in the client and server code.
2579   o Domain join failures when using smbpasswd on a Samba PDC.
2582 Member servers, domain accounts, and smb.conf
2583 =============================================
2585 Since Samba 3.0.8, it has been recommended that all domain accounts 
2586 listed in smb.conf on a member server be fully qualified with the 
2587 domain name.  This is now a requirement.  All unqualified names are 
2588 assumed to be local to the Unix host, either as part of the server's 
2589 local passdb or in the local system list of accounts (e.g. /etc/passwd 
2590 or /etc/group).
2592 The reason for this change is that smbd has transitioned from
2593 access checks based on string comparisons to token based
2594 authorization.  All names are resolved to a SID and then verified
2595 against the logged on user's NT user token.  Local names will
2596 resolve to a local SID, while qualified domain names will resolve
2597 to the appropriate domain SID.  
2599 If the member server is not running winbindd at all, domain 
2600 accounts will be implicitly mapped to local accounts and their
2601 tokens will be modified appropriately to reflect the local 
2602 SID and group membership.
2604 For example, the following share will restrict access to the
2605 domain group "Linux Admins" and the local group srvadmin.
2607 [restricted]
2608         path = /data
2609         valid users = +"DOMAIN\Linux Admins" +srvadmin
2611 Note that to restrict the [homes] share on a member server to the 
2612 owner of that directory, it is necessary to prefix the %S value 
2613 to "valid users".
2615 [global]
2616         security = {domain,ads}
2617         workgroup = DOM
2618         winbind separator = +
2619 [homes]
2620         valid users = DOM+%S
2624 ######################################################################
2625 Changes
2626 #######
2628 Changes since 3.0.23a
2629 ---------------------
2631 commits
2632 -------
2633 o   Michael Adams <ma@sernet.de>
2634     * Fix memory leaks on error paths in 'net ads join'.
2637 o   Jeremy Allison <jra@samba.org>
2638     * BUG 3962: Fix memory leak when enumerating print jobs.
2639     * Fix file access flags for the Linux CIFS fs client.
2640     * Fix memory leaks in the smbclient DFS code.
2641     * BUG 3967: Fix SMB signing client bug in trans calls.
2642     * BUG 3985: Ensure in msdfs we check for our NetBIOS aliases.
2643     * Added lookup_name_smbconf() to be called when looking up names 
2644       from smb.conf.  Unqualified names are assumed to be local.
2645     * BUG 4003: Fix SMB signing server error in NTcancel reply.
2648 o   Gerald (Jerry) Carter <jerry@samba.org>
2649     * Fix a few "smbldap_open(): Cannot open when not root" bugs when 
2650       viewing or modifying local group membership.
2651     * Make LsaLookupSids() reply include the full SID of unresolved 
2652       SIDs.
2653     * BUG 3957: Prevent returning strange DC IP addresses by zeroing 
2654       memory in the SRV hostlist in case there is not an A record for 
2655       each SRV name.
2656     * BUG 3964: normalize the case of usernames prior to getpwnam() 
2657       call in the smbpasswd backend.
2658     * Cleanup the 'net ads help join' output and document createupn 
2659       and createcomputer options.
2660     * Fix a regression in the ldapsam URI syntax.  Allow multiple 
2661       LDAP URIs to be grouped by  "".
2664 o   William Charles <william@charles.name>
2665     * BUG 3959: Remove rand() from SRV RR comparison to fix crashes 
2666       in qsort().
2669 o   Guenther Deschner <gd@samba.org>
2670     * Fix memory leaks in pam_winbind.
2671     * Save the logon script path from the info3 in the PAM session 
2672       allowing other PAM modules to pick it up from there.
2675 o   Volker Lendecke <vl@samba.org>
2676     * BUG 3991: Fix problem with user tokens on standalone systems
2677       configured to use a username map.
2678     * Fix bug where qualified user or group names in smb.conf
2679       were assumed to use the '\' character as the winbind separator.
2681       --------------------------------------------------
2682                    ===============================
2683                    Release Notes for Samba 3.0.23a
2684                              Jul 21, 2006
2685                    ===============================
2687 Common bugs fixed in 3.0.23a include:
2689   o Failure to strip the domain name from groups when 'winbind 
2690     use default domain = yes'
2691   o Failure in pam_winbind to correctly parse arguments.
2692   o Bad token creation of local users on member servers not 
2693     running winbindd.
2694   o Failure to add users or groups to ACLs using the Windows
2695     object picker.
2696   o Failure in file serving code when 'kernel oplocks = yes'.
2698 New features in 3.0.23a include:
2700   o New "createupn" option to "net ads join"
2701   o Rewritten Kerberos keytab generation when 'use kerberos 
2702     keytab = yes'
2706 ######################################################################
2707 Changes
2708 #######
2710 Changes since 3.0.23
2711 --------------------
2713 commits
2714 -------
2715 o   Jeremy Allison <jra@samba.org>
2716     * Fix memory leaks in the POSIX locking for for the Linux CIFS fs 
2717       client.
2718     * Fix memory leaks in the AD schema parsing code.
2719     * Fixed bug in interaction with Linux kernel oplocks.
2722 o   Gerald (Jerry) Carter <jerry@samba.org>
2723     * Rewrite the detection of the correct DES salting principal name
2724       when joining an Active Directory Domain.
2725     * Rewrite the keytab generation code based on existing SPN, 
2726       UPN, and sAMAccountName attributes in the AD machine object.
2727     * Cleanup of dead code from idmap_ad.
2728     * Fix Winbind 32bit/64bit portability issues.
2729     * Fail 'net ads join' and disable the machine account if we cannot 
2730       set any SPNs for ourselves.
2731     * Make sure to lower case all usernames before calling the create, 
2732       delete, or rename hooks.
2733     * Preserve case for usernames in passdb
2734     * Flush the getpwnam cache after renaming a user
2735     * Add become/unbecome root block in _samr_delete_dom_user() when 
2736       trying to verify the account's existence.
2737     * Changed 'net ads join' syntax for specifying an alternate 
2738       OU.  New syntax is createcomputer=<ou path top to bottom>.
2739     * Add createupn=[UPN] option to 'net ads join' for setting the
2740       userPrincipalName attribute.
2741     * Bug 3920: Restore winbind use default domain behavior for domain 
2742       groups.  This break local users and 'winbind nested groups' on 
2743       domain members.
2746 o   Guenther Deschner <gd@samba.org>
2747     * Don't clear the cache when starting winbindd in off line mode.
2748     * Fix errno reporting in pam_winbind debug messages.
2749     * BUG 3937: Fix segv in libnss_wins.so.
2752 o   Volker Lendecke <vl@samba.org>
2753     * Fix memory leaks in the in error paths out of the CLDAP 
2754       request code.
2755     * AIX portability fixes for DNS client code.
2756     * BUG 3811, 3948: Fix alignment bug in on lsaquery. 
2757     * BUG 3949: Fixed authorization issue on domain member 
2758       servers not running winbindd.
2761 o   Andrew Tridgell <tridge@samba.org>
2762     * Fixed a bug which caused resolve_ads() to spin forever if 
2763       one of the DCs isn't resolvable in DNS.
2766 o   Simo Sorce <idra@samba.org>
2767     * Debian packaging fixes.
2770 o   Dietrich Streifert <dietrich.streifert@visionet.de>
2771     * BUG 3916: Fix error parsing pam_winbind config arguments.
2774 Release Notes for older release follow:
2776       --------------------------------------------------
2778                    ==============================
2779                    Release Notes for Samba 3.0.23
2780                             Jul 10, 2006
2781                    ==============================
2783 There has been a substantial amount of cleanup work done during 
2784 this development cycle.  We would like to thank both Coverity 
2785 (http://www.coverity.com/) and Klocwork (http://www.klocwork.com/)
2786 for analyzing the Samba source code. As a result, this release 
2787 includes fixes for over 400 defects.  The coverage was approximately 
2788 even with over 200 defects reported by each tool.
2790 Thanks very much to those people who spent time testing the 
2791 release candidates and reported their findings.  We would like to 
2792 especially thank Thomas Bork <tombork@web.de> for his numerous 
2793 reports.  We believe that the final release is in much better shape 
2794 in large part due to his efforts.
2796 New features in 3.0.23 include:
2798    o Improved 'make test'
2799    o New offline mode in winbindd.
2800    o New Kerberos support for pam_winbind.so.
2801    o New handling of unmapped users and groups. 
2802    o New non-root share management tools.
2803    o Improved support for local and BUILTIN groups.
2804    o Winbind IDMAP integration with RFC2307 schema objects supported 
2805      by Windows 2003 R2.
2806    o Rewritten 'net ads join' to mimic Windows XP without requiring 
2807      administrative rights to join a domain.
2810 User and Group changes
2811 ======================
2813 The user and group internal management routines have been 
2814 rewritten to prevent overlaps of assigned Relative Identifiers 
2815 (RIDs).  In the past the has been a potential problem when either 
2816 manually mapping Unix groups with the 'net groupmap' command or 
2817 when migrating a Windows domain to a Samba domain using 'net rpc 
2818 vampire'.
2820 Unmapped users are now assigned a SID in the S-1-22-1 domain and 
2821 unmapped groups are assigned a SID in the S-1-22-2 domain. 
2822 Previously they were assign a RID within the SAM on the Samba 
2823 server.  For a DC this would have been under the authority of the 
2824 domain SID where as on a member server or standalone host, this 
2825 would have been under the authority of the local SAM (hint: net 
2826 getlocalsid).
2828 The result is that any unmapped users or groups on an upgraded 
2829 Samba domain controller may be assigned a new SID.  Because the 
2830 SID rather than a name is stored in Windows security descriptors, 
2831 this can cause a user to no longer have access to a resource for 
2832 example if a file was copied from a Samba file server to a local 
2833 NTFS partition.  Any files stored on the Samba server itself will 
2834 continue to be accessible because Unix stores the Unix gid and not 
2835 the SID for authorization checks.
2837 A further example will help illustrate the change.  Assume that a 
2838 group named 'developers' exists with a Unix gid of 782 but this 
2839 user does not exist in Samba's group mapping table. it would be 
2840 perfectly normal for this group to be appear in an ACL editor.  
2841 Prior to 3.0.23, the group SID might appear as 
2842 S-1-5-21-647511796-4126122067-3123570092-2565. With 3.0.23, the 
2843 group SID would be reported as S-1-22-2-782. Any security 
2844 descriptors associated with files stored on an NTFS disk partition 
2845 would not allow access based on the group permissions if the user 
2846 was not a member of the 
2847 S-1-5-21-647511796-4126122067-3123570092-2565 group. Because this 
2848 group SID not reported in a user's token is S-1-22-2-782, Windows 
2849 would fail the authorization check even though both SIDs in some 
2850 respect referred to the same Unix group.
2852 The current workaround is to create a manual domain group mapping 
2853 entry for the group 'developers' to point at the 
2854 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
2857 Passdb Changes
2858 ==============
2860 The "passdb backend" parameter no long accepts multiple backends 
2861 in a chaining configuration.  Also be aware that the SQL and XML 
2862 based passdb modules have been removed in this release.  More 
2863 information of external support for a SQL passdb module can be 
2864 found at http://pdbsql.sourceforge.net/.
2867 Group Mapping Changes
2868 =====================
2870 The default mapping entries for groups such as "Domain Admins" are 
2871 no longer created when using an smbpasswd file or a tdbsam passdb 
2872 backend.  This means that it is necessary to use 'net groupmap 
2873 add' rather than 'net groupmap modify' to set these entries.  
2874 This change has no effect on winbindd's IDmap functionality for 
2875 domain groups.
2878 LDAP Changes
2879 ============
2881 There has also been a minor update the Samba LDAP schema file. A 
2882 substring matching rule has been added to the sambaSID attribute 
2883 definition.  For OpenLDAP servers, this will require the addition 
2884 of 'index sambaSID sub' to the slapd.conf configuration file.  It 
2885 will be necessary to run slapindex after making this change. There 
2886 has been no change to actual data storage schema.
2889 ######################################################################
2890 Changes
2891 #######
2893 smb.conf changes
2894 ----------------
2896     Parameter Name                      Description       Default
2897     --------------                      -----------       -------
2898     acl group control                   Deprecated        No
2899     add port command                    New               ""
2900     change notify timeout               Changed Scope
2901     dmapi support                       New               No
2902     dos filemode                        Modified          No
2903     enable asu support                  Changed default   No
2904     enable core files                   New               Yes
2905     enable privileges                   Changed default   Yes
2906     enable rid algorithm                Removed
2907     fam change notify                   New               Yes
2908     hosts equiv                         Removed
2909     host msdfs                          Changed default   Yes
2910     msdfs root                          Changed default   Yes
2911     open files database hash size       New               10007
2912     passdb expand explicit              Changed default   No
2913     strict locking                      Changed default   auto
2914     usershare allow guests              New               No
2915     usershare max shares                New               0
2916     usershare owner only                New               Yes
2917     usershare path                      New               ${lockdir}
2918     usershare prefix allow list         New               ""
2919     usershare prefix deny list          New               ""
2920     usershare template share            New               ""
2921     winbind enum users                  Changed default   No
2922     winbind enum groups                 Changed default   No
2923     winbind nested groups               Changed default   Yes
2924     winbind offline logon               New               No
2925     winbind refresh tickets             New               No
2926     winbind max idle children           Removed
2927     wins partners                       Removed
2930 Changes since 3.0.22
2931 --------------------
2933 commits
2934 -------
2935 o   Jeremy Allison <jra@samba.org>
2936     * Fixes for various Klocwork defect reports.
2937     * Cleanup pdb_get_XXX() methods and ensure that a failure
2938       to allocate memory for a samu user structure is reported 
2939       as a failure to the calling function.
2940     * Fix memleak in printing gencache contents.
2941     * Fix warnings reported by gcc4 -O6 on 64-bit systems 
2942     * Fix naming conflicts with 'net usershare' structures and 
2943       Solaris header files.
2944     * Fix memleaks on error paths from the ASN.1 parsing code.
2945     * Add uid to share_mode_entry structure so we can report who 
2946       opened the file.
2947     * Ensure we use sys_write in password chats so we're not 
2948       interrupted.
2949     * Ensure all new rid allocation goes through the same pdb_ldap 
2950       interface.
2951     * BUG 3308: Stop us returning duplicate mid replies on path 
2952       based set-EOF trans2 calls.
2953     * Pass RAW-OPLOCK with kernel oplocks off.
2954     * Fix bug in OS/2 Warp - it doesn't set the ff_last offset 
2955       correctly when doing info level 1 directory scans.
2956     * Add Samba4 replacement for timegm() to work on Solaris.
2957     * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
2958     * BUG 3592: Ignore a file in the tar output from smbclient if the 
2959       read failed (e.g. due to ACCESS_DENIED).  (Based on ideas from
2960       Justin Best <justinb@pdxmission.org>).
2961     * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
2962     * Push/Pull Kerberos principal and realm names to/from UTF-8.
2963     * Fix incorrect boolean in assert to make POSIX lock tests
2964       pass with CIFSFS.
2965     * Don't ever set O_SYNC on open unless "strict sync = yes".
2966     * Remove dead printing code.
2967     * Allow configurable guest access to Samba's usershare functionality.
2968     * BUG 3587: Make byte-range locking tdb self-cleaning.
2969     * Ensure every exit error path in the session setup code calls 
2970       nt_status_squash().
2971     * Use portable wrapper functions instead of seteuid directly in 
2972       winbindd.
2973     * Make "change notify timeout" a per-share parameter.
2974     * Fix regression in SAMBA_4_0's smbtorture DENY tests.
2975     * Fix valgrind-spotted issue in BASE-DELETE test.
2976     * Fix early termination condition in winbindd when trying to 
2977       connect to a remote DC.
2978     * Instruct winbindd to ignore fd_set when select() returns -1.
2979     * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
2980       with select returning true but no data being available.
2981     * Back port talloc_steal() fixes from SAMBA_4_0 (original fixes by 
2982       Andrew Tridgell).
2983     * BUG 3467: Fix delete on close semantics needed by WinXP Media 
2984       Center Ed. for simultaneous recording and playback (thanks to 
2985       Jason Qian for the debugging assistance).
2986     * BUG 3347: Save the Unix user token used to set the 
2987       delete-on-close flag.
2988     * Fix parsing of SAMR_Q_CONNECT_ANON.
2989     * Add in support for userinfo26 structure and re-enable 
2990       userinfo25 
2991     * Schannel server fixes.  Fix the credentials chaining across 
2992       \netlogon pipe disconnects.
2993     * Replace ubqix code in nmbd with an internal tdb.
2994     * Fix struct timespec checks in configure.in.
2995     * Add in server support for the NetSamLogonEx().
2996     * Add support for LsaLookupSids2() and LsaLookupSids3().
2997     * Add LsaLookupNames[2-4]().
2998     * Add support for 'net usershare'.
2999     * BUG 3522: Fix error code return on SMBmkdir(foo) when foo 
3000       already exists (thanks to Sandeep Tamhankar).
3001     * BUG 3510: Fix 'net rpc join' against a server when 
3002       schannel is disabled.
3003     * Get rid of poor errno mapping table. Bounce through NTSTATUS 
3004       instead.
3005     * Check for SeMachineAccountPrivilege when deleting machine 
3006       accounts.
3007     * Fix a logic bug with multiple oplock contention.
3008     * Add the replacements for opendir/readdir etc from SAMBA_4_0.
3009       Attempt to fix the broken directory handling in the *BSD.
3010     * Allow run time tuning of the locking tdb hash size for
3011       very busy servers.
3012     * BUG 3642: Ensure we don't call FD_SET on read with 
3013       fd == -1.
3014     * BUG 3569: Work around linear posix locking issue on AIX
3015       which was causing high loads due to the tdb CLEAR_IF_FIRST
3016       flag (based on work from William JoJo).
3017     * Fix OS/2 directory delete bug found by kukks.
3018     * Match the Windows 2003 NTLMSSP signature.
3019     * Performance tuning work in core read & write file serving 
3020       paths.
3021     * Change default to 'strict locking' to better reflect 
3022       real world clients.
3023     * Fix error return on session setup. Ensure no data blob is 
3024       added if the logon call failed so that Windows clients 
3025       interpret the NT_STATUS code correctly.
3026     * Teach Samba the difference between exclusive and batch 
3027       oplocks.
3028     * BUG 3592: Ignore a file in a smbtar output if the first 
3029       read fails (inspired by Justin Best).
3030     * BUG 3668: Workaround Windows bug with LARGE_READX where if 
3031       you ask for exactly 64k bytes it returns 0.
3032     * BUG 3858: Ensure that all files are removed by a wildcard 
3033       delete when 'hide unreadable = yes'.
3034     * Fix various issues raised by the Klocwork code analyzer.
3035     * Fix nmbd WINS serving bug causing duplicate IPs in the *<1b> 
3036       query reply ("enhanced browsing = yes").
3037     * Fix SMB signing failures in client tools.
3038     * BUG 3909: Avoid EA lookups on MS-DFS links.
3041 o   Andrew Bartlett <abartlet@samba.org>
3042     * Work around abort() in the OpenLDAP client libs caused by a NULL 
3043       msg pointer.
3046 o   Timur Bakeyev <timur@com.bat.ru>
3047     * BUG 2961: Fix compile warnings for pam_smbpass.
3048     * BUG 2746, 3763: Fix compile warnings in pam_winbind.
3051 o   Alexander Bokovoy <ab@samba.org>
3052     * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
3053     * Fix absolute symlinks in the installbin.sh script.
3056 o   Max N. Boyarov <m.boyarov@sam-solutions.net>
3057     * Fix crash bug in perfmon daemon example code.
3060 o   Nicholas Brealey <nick@brealey.org>
3061     * Compile fix for pam_winbind.
3064 o   Gerald (Jerry) Carter <jerry@samba.org>
3065     * Fix 'make install' problem when building outside source/.
3066     * Fix 'net ads join' when the workgroup is set incorrectly in 
3067       smb.conf.
3068     * Re-add code to include the BUILTIN\Administrators SID when
3069       winbindd is not running, but the user's token includes the 
3070       Domain Admin SID.  Fixes access problem for managing Services.
3071     * Only call the printer publishing calls if 'security = ads'.
3072     * Normalize printing keys when deleting.
3073     * Only store LANMAN passwords on a change if 'lanman auth = yes'.
3074     * Look at the NT password (not lanman one) when determining if 'smbpasswd 
3075       -e' should probably for a password.
3076     * Default eventlog tdbs to mode 0660 to allow easier access by 
3077       BUILTIN\Administrators.
3078     * Remove extra call to create_user on member servers without winbindd.
3079     * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating 
3080       AD DC's with out own DNS SRV queries.
3081     * Fix compile error on HP-UX reported by Ryan Novosielski.
3082     * Rewrite 'net ads join' to share common code with 'net rpc join' 
3083       and behave more like a Windows XP client.
3084     * Remove --with-ldapsam option from configure (only used for 
3085       backwards compatibility for 2.2 smb.conf files).
3086     * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
3087     * Remove rhosts authentication module.
3088     * Reimplement 'net ads leave' to disable the machine account in the 
3089       domain rather than removing it.
3090     * Rewrite of tdbsam file descriptor handling.
3091     * Add server affinity support when selecting a remote 
3092       domain controller.
3093     * Remove chaining of passdb modules.
3094     * Generate a local users primary group SID based on his 
3095       or her primary Unix group rather than storing the attribute 
3096       in the passdb entry.
3097     * Default primary group SID to 'Domain Users' if the real Unix 
3098       primary group maps to the S-1-22-2 domain.
3099     * Refactor memory management in passdb user objects.
3100     * RHEL and Fedora packaging fixes.
3101     * Implement XcvDataPort() spooler call and supporting 'add 
3102       port command'.
3103     * BUG 3534: Ignore lines in the username map file with no right 
3104       hand list.
3105     * Add support for the experimental %(DomainSID) smb.conf 
3106       variable.
3107     * Add support for parsing SIDs in smb.conf value lists.
3108     * Fix vuid allocation in Kerberos SMBsesssetup reply. 
3109     * Ensure that local group membership is included in the 
3110       getgroups() NSS reply.
3111     * Automatically create a BUILTIN\{Administrators,Users} if
3112       winbindd is running.
3113     * Automatically grant all privileges to members of the local 
3114       Administrators group.
3115     * Protect against NULL cli_state* pointers in 
3116       cli_rpc_pipe_open().
3117     * Add a SUBSTR matching rule the the Samba LDAP schema 
3118       file for the sambaSID attribute.  This will allow for 
3119       Searching group mapping entries within a given domain
3120       without reorganizing the directory namespace.  Also 
3121       requires 'index sambaSID sub' in slapd.conf.
3122     * Fix parsing of 'idmap uid/gid' values that broke when
3123       the range included any whitespace.
3124     * Support renaming local groups (protect against renaming 
3125       BUILTIN groups).
3126     * Do not allow the root account to be deleted via MS-RPC.
3127     * Fix RID allocation to skip over RIDs that resolve in our
3128       own domain (work around upgraded users and groups).
3129     * Store the name/ip address combination when we do a reverse 
3130       look up in case future forward lookups would fail.
3131       Fixes cases where a DC name could not be resolved via 
3132       NetBIOS queries,
3133     * Allow winbindd to run on standalone servers in order to
3134       provide support for local groups.
3135     * Deprecate 'acl group control' and replace it with added 
3136       functionality to 'dos filemode'.
3137     * Ensure that all global memory is freed from pam_winbind 
3138       when unloading the shared library (based on work from Arkady 
3139       Glabek).
3140     * Fix 32-bit/64-bit portability issues between PAM & NSS winbind 
3141       libraries and winbindd.
3142     * Add defensive checks about create local accounts (i.e. calling
3143       'add user script') on domain member servers when winbindd
3144       is running but having problems.
3145     * Use system provided killproc() in RedHat init scripts for 
3146       more robust shutdown.
3147     * Fix a crash in the printer publishing code when adding a 
3148       new printer via the APW.
3149     * Fix broken compile of unsupported smbwrapper utility.
3150     * BUG 3905: Fix smbd startup failure caused by a failure to
3151       create an NT token for the guest account.
3152     * BUG 3908: Fix RPC bind authentication failure which broke
3153       user password changes.
3154     * Ensure that "net ads join" reports failure correctly if
3155       it cannot set the machine account password.
3158 o   Mathias Dietz <MDIETZ@de.ibm.com>
3159     * EPERM can be a valid return from getting an xattr. 
3160       Don't disable if we get it.
3163 o   Guenther Deschner <gd@samba.org>
3164     * Fix memleaks in winbindd ads searches.
3165     * Fix timestamp bug in pam_winbindd which forced users to change
3166       passwords prematurely.
3167     * Small debug message cleanups.
3168     * Small fixes for 'net ads password'.
3169     * BUG 3843: Allow to set passwords directly when creating users 
3170       via "net rpc user add" 
3171     * Add "rpc shell" to the usage text for the net command.
3172     * Winbindd user aliases lookup fixes for large domains.
3173     * Fix memleak in the CLDAP processing code.
3174     * Enable AD features in winbindd's PAM support only when 
3175       communicating with an AD domain controller.
3176     * Set our internal domains to "online" by default in winbindd.
3177     * BUG 3800: Fill the password_policy method in winbindd for 
3178       winbindd_passdb.
3179     * Fix memory leak when LDAP POSIX attribute queries fail.
3180     * Honor the krb5 principal name change (of the new ads join code) 
3181       in the kerberized winbind pam_auth.
3182     * Correctly handle the case when there is no configuration file 
3183       for pam_winbind.
3184     * Adding "own-domain" switch to wbinfo which is handy from time 
3185       to time.
3186     * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
3187     * Fix winbindd group enumeration for groups with no members.
3188     * Correct "net ads changetrustpw" to use the sAMAccountName.
3189     * Fix winbindd in ADS domains by removing code using the 
3190       UPN and rely upon the sAMAccountName.
3191     * Fix a eDir related memory leak.
3192     * Don't try to add the sn attribute twice to an LDAP 
3193       inetOrgPerson + samSamAccount entry.
3194     * Fix winbind function table typo.
3195     * Attempt to send the correct warning from pam_winbind when a password 
3196       change was attempted too early.
3197     * Don't use cached credentials when changing passwords.
3198     * Correctly disallow unauthorized access when logging on with the
3199       kerberized pam_winbind and workstation restrictions are in effect.
3200     * Save useless round trips in pam_winbind's auth calls.
3201     * Make the existence of the /etc/security/pam_winbind.conf file
3202       non-critical and fallback to only parse the argv options in that 
3203       case.
3204     * Add winbind debug class to the main winbindd process.
3205     * Be consistent between rpc and ads winbind backend: let the 
3206       ads backend query the samlogon cache first as well.
3207     * Ignore BUILTIN groups when searching AD for group memberships.
3208     * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
3209     * Cleanup credential caches from winbind's linked list.
3210     * Fix 'winbindd -n' for new persistent caches.
3211     * Fix searching by SID in winbindd.
3212     * Add "smbcontrol winbind onlinestatus" for debugging purpose.
3213     * Prefer to use the indexed objectCategory attribute (instead of
3214       objectClass which is not indexed on AD) in LDAP queries.
3215     * Free LDAP result in ads_get_attrname_by_oid().
3216     * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
3217     * Prevent passwords of winbindd's list of credential caches from 
3218       being swapped to disk using mlock().
3219     * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to 
3220       support the plain posix attributes LDAP schema from win2k3-r2
3221       (based on patches from Howard Wilkinson and Bob Gautier).
3222     * Add more robust code for fallback when lookup_usergroups() fails.
3223     * Fix 'net rpc join' for winbindd running on a Samba DC.
3224     * Add help text for new 'net rpc audit' utility.
3225     * Add net ads search SID.
3226     * samrQueryDomainInfo level 5 should return the domain name, not our 
3227       NetBIOS name when we are a DC.
3228     * Add some more client rpc for the querydominfo calls (from samba4 idl).
3229     * Process all the supported info levels in the samr_query_domain_info2 
3230       call.
3231     * Wrap the samr_query_domain_info2() call around 
3232       samr_query_domain_info().
3233     * Fix segv in smbctool.
3234     * Honor the time_offset also when verifying Kerberos tickets.
3235     * Prevent unnecessary longstanding LDAP connection to eDirectory.
3236     * Fix segv in smbspool.
3237     * BUG 1914: Allow to store 24 password history entries in ldapsam.
3238     * Enhancements to various commands in rpcclient 
3239     * Don't force 'Administrator' to change an expired password on 
3240       logon.
3241     * Add support for offline mode in winbindd.
3242     * Provide support in pam_winbind for initializing a user's 
3243       ticket cache.
3244     * Implement samr_chgpasswd_user3 server-side.
3245     * Make pam_winbind more robust when detecting domain users.
3246     * Add client side support for SAMR_GET_USRDOM_PWINFO.
3247     * Re-enable strict checking on C++ reserved keywords since Heimdal 
3248       0.7.2 has been released.
3249     * Allow renaming of machine accounts in a Samba domain.
3250     * BUG 3539: Let winbindd try to obtain the gecos field from 
3251       the msSFU30Gecos attribute when "winbind nss info = sfu" is 
3252       set. 
3253     * Correctly handle acb_info/acct_flags as uint32 not as uint16.
3254     * Return the real ACB-flags in the SamLogon() reply.
3255     * Some client side cleanup for the samr set security object 
3256       functions.
3257     * Make sure we always reset the userAccountControl bits when 
3258       re-joining (net ads join) with an existing account.
3259     * Document some more MSV1_0 bits and their behavior.
3260     * Only set the last rebind timestamp when we did rebind 
3261       after a update LDAP operation to avoid the ldap replication 
3262       sleep period.
3263     * Fix incorrect error checking in winbindd for domains with 
3264       no trusts.
3265     * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3 
3266       structure.
3267     * Work around crash bug in MIT krb5 libs when reading a 
3268       keytab file.  Stop trying to decrypt a ticket as soon as 
3269       we have a clear indication that the ticket is bad.
3270     * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
3271     * Adding client side samr querygroup infolevels 2 & 5.
3272     * Make smbpasswd -a root work for eDirectory where there 
3273       is no "account" structural objectclass.
3274     * Make sure we only send out a CLDAP request (net ads) to 
3275       an connected AD server.
3276     * Fix a broken LDAP search filter when looking for groups.
3277     * Add in-tree version of iniparser library from 
3278       http://ndevilla.free.fr/iniparser/ for use by pam_winbind
3279       (rather than linking in loadparm.c).  Settings are now stored
3280       in /etc/security/pam_winbind.conf.
3281     * Fix different extended_dn handling in adssearch.pl
3282       (Thanks to Frederic Brin at Novell).
3283     * Fix a memleak in winbindd's credentials cache.
3284     * Protect against crashes in CLDAP request processing.
3285     * Remove incomplete DfsEnum() info level to avoid an smbd crash.
3288 o   Aleksey Fedoseev <fedoseev@ru.ibm.com>
3289     * Fix parameter type for 'acl compatibility'.
3290     * Fixes for msgtest torture tool.
3291     * Fix crash bug in the file locking code.
3294 o   Arek Glabek <aglabek@centeris.com>
3295     *  Fix parsing error on input parameters in eventlogadm.
3298 o   Paul Green <paulg@samba.org>
3299     * Properly rebuild time limit on systems with executable extensions.
3300     * Fix build on platforms that do not support shared libs.
3301     * Remove dead code in the auth_script module. 
3304 o   Bjoern Jacke <samba@j3e.de>.
3305     * Fix DMAPI compile failures on AIX and True64.
3306     * Fix AIX PIC suffix (use .o instead of .po).
3307     * Fall back to less-preferred clocks until we find one that we 
3308       can use if clock_gmtime() is not available at run-time.
3309     * Fix EA support on AIX platforms.
3310     * Automatically disable file shares with no explicit path set.
3311     * Remove the local hack to set the RO bit on directories in 
3312       user profiles when profile acls = yes.  Rely on EAs instead.
3313     * Compile fixes for Solaris LDAP client libs.
3314     * Add DMAPI/XDSM support for AIX.
3315     * Find JFS DMAPI libs on Linux when only they are available.
3318 o   William Jojo <jojowil@hvcc.edu>
3319     * Fixes for the winbind NSS library on AIX.
3320     * Fix VFS builds on AIX platforms.
3321     * Fixes for the AIX version of libnss_winbind.so
3324 o   Leonid Kabanov <lkabanov@mail.ru> 
3325     * BUG 3711: Shell portability fixes for 'make test'.
3328 o   Volker Lendecke <vl@samba.org>
3329     * Fixes for various Klocwork defect reports.
3330     * Fixes for various Coverity defect reports.
3331     * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
3332     * Fix more potential seg-faults when something on our way to a 
3333       DC connection fails.
3334     * Never fall back to using the IP address for a DC's name in RPC 
3335       connections.
3336     * Implement recycle:subdir_mode.
3337     * Activate RPC-AUTHCONTEXT in "make test".
3338     * Portability fixes for 'make test'.
3339     * Correctly set the group RID in init_sam_from_buffer.
3340     * Fix missing prompt in smbclient.
3341     * Return correct error code upon success from _net_srv_pwset().
3342     * Fix Windows XP joins to a Samba domain.
3343     * Fix 'valid users = +unixgroup' which was failing with smbpasswd
3344       when mapped to a non-algorithmic rid.
3345     * Fix regression which upper-cased machine names passed to the
3346       'add machine script'.
3347     * Correct parsing error in parse_net.c for user's with no group
3348       membership.
3349     * Fix off by one error in client SPNEGO code and other klocwork
3350       bug fixes.
3351     * Memory leak fixes in 'net sam'.
3352     * BUG 3720: Fix uninitialized error return variable.
3353     * Default "passdb expand explicit" to no.
3354     * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
3355     * Fix user NT token creation when utilizing a username map.
3356     * More coverity fixes.
3357     * Fix a VUID bug in 'security = share'.
3358     * Correctly fill in the gid for local users.
3359     * Fix some warnings on True64.
3360     * Add special close handling for fake files.
3361     * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
3362     * BUG 3435: Fix 'msdfs root = yes' in [homes].
3363     * Instruct winbindd to find a trusted DC on its own when running on 
3364       a Samba DC.
3365     * Fix segv in child winbindd processes caused by a failed tconX 
3366       to the DC.
3367     * Dynamically compute the maximum password age based no the 
3368       last change time rather than reading the must change time 
3369       from the passdb record.
3370     * Rewrite mechanisms for handling lookup_{name,sid} resolution.
3371     * Assign unmapped users to the S-1-22-1 domain and unmapped 
3372       groups to the S-1-22-2 domain
3373     * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
3374     * Remove sql passdb backends.
3375     * Implement rpccli_samr_set_domain_info()
3376     * Add initial support for 'net sam' command.
3377     * BUG 2413: Remove anonymous connections in 'net rpc info'.
3378     * Implement asynchronous support for trans2 calls.
3379     * Make smbclient -L use RPC to list shares, fall back to RAP.
3380     * Ensure that the global SAM SID is initialized before any
3381       dependent routines are called.
3382     * Enhance consistency checks on local configuration when joining
3383       a domain.
3384     * Fix a memleak in the server registry code for enumeration 
3385       shares.
3386     * Fix an invalid munlock() call in winbindd's credentials cache.
3387     * Fix compile warnings when passing NULL to snprintf().
3388     * BUG 3915: Fall back to a pure unix user with S-1-22 SIDs in the
3389       token in case anything weird is going on with the 'force user'.
3390     * CVE-2006-3403: Fix minor memory exhaustion DoS in smbd.
3393 o   Derrell Lipman <derrell@samba.org>
3394     [libsmbclient]
3395     * BUG 3814: Only set the DFS capability flag in client requests
3396       if the share is a DFS root.
3397     * Fix bug causing previous settings to be re-initialized 
3398       when parsing new configuration files.
3399     * BUG 3446: Don't ignore the authentication domain when parsing 
3400       the SMB URI.
3401     * Fix cli_setpathinfo() to actually do what it's supposed to.
3402     * Fix libsmbclient to make correct use of the new "one connection
3403       per server feature".
3406 o   Jason Mader <jason@ncac.gwu.edu>
3407     * Numerous compiler warning fixes.
3410 o   John E. Malmberg <wb8tyw@qsl.net>
3411     * Make smbldap obey config tests.
3414 o   Jim McDonough <jmcd@us.ibm.com>
3415     * Fixes for 'make test' on AIX.
3416     * Ensure we do a wildcard search for SID's starting with the global SAM 
3417       sid, not an exact search (from John Janosik).
3418     * Adapt smbclient fix to smbtree to enable long share names.
3419     * Prevent machines and users with no home directory from 
3420       getting the previous entries home path when migrating via 
3421       'net rpc vampire' (based on a patch from Richard Renard).
3422     * Remove hard-coded LDIF names when dumping a migrated 
3423       domain's users and groups.
3424     * BUG 1374: Can't join an OU with name that contains '#'.
3427 o   Stefan Metzmacher <metze@samba.org>
3428     * Add more tests to 'make test'.
3429     * Try to make timelimit.c more portable.
3430     * Fix linking of smbmount tools with --enable-socket-wrapper.
3431     * Pass 'target:samba3=yes' to samba4's smbtorture when running 
3432       samba3's make test.
3433     * Miscellaneous fixes for 'make test'.
3434     * Add improved support for 'make test' including making 
3435       use of smbtorture from SAMBA_4_0.
3436     * Add --no-process-group to all server programs 
3437       (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
3438     * Add configure tests --with-selftest-prefix=/tmp/samba-test
3441 o   Lars Müller <lmuelle@samba.org>
3442     * Fix lock calls in the python tdb bindings.
3443     * Add -k switch to tdbdump for accessing a single key.
3444     * Debian packaging fixes.
3445     * Add -t|--password-from-stdin option to pdbedit as we had 
3446       with Samba 2.2.
3447     * Various minor fixes to install scripts used by 'make install'.
3450 o   James Peach <jpeach@sgi.com>
3451     * Ensure smbclient always prompts on standard output when in
3452       interactive mode.
3453     * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
3454     * Introduce command line options to set the remainder of the 
3455       parameters in dynconfig.c.
3456     * Avoid pulling in -lpthreads caused by -lrt.
3457     * Fix build failures on IRIX 6.4 due to DMAPI support.
3458     * Isolate the slow CLOCK_REALTIME message in the profiling code.
3459     * Correct comparison logic so that libunwind can be correctly detected.
3460     * Implement a "stacktrace" smbcontrol option using libunwind's remote
3461       stack tracing support (ia64 only).
3462     * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
3463       of long group lists.
3464     * New autoconf macro to test for sysconf variables.
3465     * Change profiling data macros to use stack variables rather than
3466       globals. This catches mismatched start/end calls and removes
3467       the need for special nested profiling calls.
3468     * Rewrite AC_LIBTESTFUNC so that it works like the callers
3469       of it expect.
3470     * Use clock_gettime for profiling timstamps if it is available. Use
3471       the fastest clock available on uniprocessors.
3472     * Preserve errno in fcntl lock wrappers.
3473     * Initialize our saved uid and gid so that we can tell when we 
3474       created the profiling shmem segment and don't bogusly refuse to 
3475       look at it.
3476     * Add a new option "enable core files" which can be used to disable 
3477       automatic core file dumping. 
3478     * Update our internal copy of popt to that distributed with the RPM 
3479       4.2 source code.
3480     * Add support for FAM for file change notification.
3481     * Disable sendfile if the 'write cache;' has been enabled.
3482     * Refactor capability interface from being IRIX-specific to 
3483       using only the POSIX interface.
3484     * Consolidate core dumping code to aid in debugging.
3485     * Add support for libunwind to generating a backtrace.
3486     * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
3487       and --without-ads are specified.
3488     * Allow the user to set winbind nss timeouts in seconds on IRIX.
3489     * Set the FILE_STATUS_OFFLINE bit by observing the events 
3490       a DMAPI-based HSM is interested in.
3493 o   Tim Potter <tpot@samba.org>
3494     * Build janitorial duties.
3495     * BUG 3725: Put references to $PICFLAGS in quotes.
3498 o   Aruna Prabakar <aruna.prabakar@hp.com>
3499     * Show -W option in smbpasswd usage text.
3502 o   ISHIKAWA Tomonori <toishika@fsi.co.jp>
3503     * BUG 2715: Fix nmbd datagram comment buffer size for multibyte 
3504       character strings
3507 o   Andreas Schwab
3508     * Correct syntax error in aclocal.m4.
3511 o   Simo Sorce <idra@samba.org>
3512     * Pam modules install fix.
3513     * Allow "net changesecretpw" to accept a password via stdin.
3514     * Implement 'net setdomainsid' command.
3515     * Ensure that sid -> group conversion are done as root.
3516     * BUG 3413: Sanity check for existence of 'ldap admin 
3517       dn' before setting a password in secrets.tdb (based on
3518       work by William Jojo).
3519     * New revision of the snprintf replace code.
3520     * Set the correct sid type when looking up a gid.
3523 o   Todd Stecher <tstecher@isilon.com>
3524     * Add TCP fallback for our implementation of the CHANGEPW 
3525       kpasswd calls.
3528 o   Ronan Waide <waider@waider.ie>
3529     * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam() 
3530       functionality.
3533 o   Shlomi Yaakobovich <Shlomi@exanet.com>
3534     * Fix for machine password time_t overflow.
3537       --------------------------------------------------
3538                    ==============================
3539                    Release Notes for Samba 3.0.22
3540                             Mar 30, 2006
3541                    ==============================
3543 This is a security release of Samba. The Samba 3.0.21 release 
3544 series (including the patch releases a through c) has been 
3545 discovered to expose the clear text of the server's machine 
3546 account credentials in the winbind log files when the log 
3547 level is set to 5 or higher.  This defect has been assigned 
3548 the CVE number CAN-2006-1059.
3550 Summary
3551 =======
3553 The machine trust account password is the secret shared
3554 between a domain controller and a specific member server.
3555 Access to the member server machine credentials allows
3556 an attacker to impersonate the server in the domain and 
3557 gain access to additional information regarding domain 
3558 users and groups.
3560 The winbindd daemon included in Samba 3.0.21 and subsequent
3561 patch releases (3.0.21a-c) writes the clear text of server's
3562 machine credentials to its log file at level 5.  The winbindd
3563 log files are world readable by default and often log files
3564 are requested on open mailing lists as tools used to debug
3565 server misconfigurations.
3567 This affects servers configured to use domain or ads security
3568 and possibly Samba domain controllers as well (if configured
3569 to use winbindd).
3571 =======
3573       --------------------------------------------------
3575                    ===============================
3576                    Release Notes for Samba 3.0.21c
3577                               Feb 24, 2006
3578                    ===============================
3580 Common bugs fixed in 3.0.21c include:
3582   o Access checks when deleting printer driver meta-data.
3583   o Several non-default combinations schannel and SPNEGO support.
3584   o Password changes with NT4 and Win2k pre-SP4 clients.
3585   o High load issues on IRIX caused by a bug when interfacing 
3586     with kernel oplocks.
3589 ######################################################################
3590 Changes
3591 #######
3593 Changes since 3.0.21b
3594 ---------------------
3596 commits
3597 -------
3598 o   Michael Adam <ma@SerNet.DE>
3599     * Add popt to the include path for examples/VFS.
3602 o   Jeremy Allison <jra@samba.org>
3603     * Fix bug in the USC2 macros on big-endian CPUs.
3604     * Filter deleted oplocks from the output of smbstatus.
3605     * Remove invalid test check_for_pipe().
3606     * BUG 3515: Fix kernel oplock support on IRIX.
3607     * BUG 3522: Fix return value for mkdir request when the directory
3608       already exists.
3609     * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna 
3610       Vinschen).
3611     * BUG 3330: Fix username parsing in Kerberos PAC (based on work 
3612       by Guenther).
3613     * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto" 
3614       resulting in a client disconnect after negprot.
3615     * BUG 3510: Fix 'net join' against a server with client schannel 
3616       disabled.
3617     * Fix negprot bug causing a 2k client with cached domain 
3618       credentials to refuse to connect to a standalone Samba host.
3619     * Ensure that the correct error is checked when encountering a 
3620       socket error (fixes crashes in winbindd).
3623 o   Andrew Bartlett <abartlet@samba.org>
3624     * Fix domain joins from NT4 clients and password changes.
3627 o   Richard Bollinger <rabollinger@gmail.com>.
3628     * Compile fix in pdbedit.
3631 o   Gerald (Jerry) Carter <jerry@samba.org>
3632     * Break RHEL/Fedora packaging out to include a samba-docs rpm.
3633     * Remove use of /var/cache/samba from RHEL/Fedora packaging.
3634     * Fix bug in loadparm.c that caused builtin services to be also
3635       listed as external services (e.g. Spooler, NETLOGON, etc..).
3636     * Fix bug in the samr dispinfo enumeration code.
3637     * Add earlier checks to deny deleting a printer driver meta-data.
3640 o   Guenther Deschner <gd@samba.org>
3641     * Add Account Policy LDAP attributes for eDirectory schema.
3644 o   William JoJo <jojowil@hvcc.edu>
3645     * BUG 1870: Make nmblookup do a node status on all IP's when 
3646       requested.
3647     * BUG 2353: Fix clitar -F processing.
3650 o   Volker Lendecke <vl@samba.org>
3651     * Fix the build for --with-aio-support.
3652     * Fix remote password changing if password must change is set.
3653     * Fix rpcclient to obey the -W parameter.
3654     * Fix segv in smbmount and the profiles tool.
3655     * Fix typo in pdbedit help text (reported by Karolin Seeger).
3658 o   Vladimir Lettiev
3659     * Honour the $(DESTDIR) Makefile variable when installing 
3660       Python extensions.
3663 o   Jason Mader <jason@ncac.gwu.edu>
3664     * Compiler warning fixes.
3667 o   Lars Müller <lmuelle@samba.org>
3668     * Fix python build with older python versions.
3669     * Update dhcp.conf files in Debian packaging
3670     * SWAT welcome file updates
3671     * Compiler warning fixes.
3672     * Add .2 to the SONAME as version suffix if we link the nss 
3673       modules on linux.
3674     * Add -t|--password-from-stdin option to pdbedit.
3677 o   James Peach <jpeach@sgi.com>
3678     * Continue not enabling valgrind on 64-bit Linux.
3681 o   Tim Potter <tpot@samba.org>
3682     * Remove unused #defines.
3685 o   Simo Sorce <idra@samba.org>
3686     * Debian packaging updates.
3689 o   Qiao Yang <qyang@stbernard.com>
3690     * Make sure to refresh the timestamp on entries in the failed 
3691       connection code in winbindd.
3694       --------------------------------------------------
3695                    ===============================
3696                    Release Notes for Samba 3.0.21b
3697                               Jan 30, 2006
3698                    ===============================
3700 Common bugs fixed in 3.0.21b include:
3702   o Server crashes in smbd.
3703   o Compile issues on 64-bit platforms.
3704   o Crash bugs on big-endian systems.
3705   o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
3706   o Over 30 bugzilla reports closed.
3709 ######################################################################
3710 Changes
3711 #######
3713 Changes since 3.0.21a
3714 ---------------------
3716 commits
3717 -------
3718 o   Jeremy Allison <jra@samba.org>
3719     * Fix the SAMR cache across handles opens and closes.
3720     * Re-add the talloc_describe_all() function for reporting pool 
3721       usage.
3722     * Merge talloc license change from Samba 4.
3723     * Fix 64-bit compile warnings reported by gcc.
3724     * Add the share path into the sharemode db. 
3725     * Consistency fixes: Remove use of uint8_t -> uint8.
3726     * BUG 3346: Fix crash bug in big-endian boxes by linearizing 
3727       structure when passing through the messaging API.
3728     * BUG 3421: Fix segv in the Kerberos key tab code (Thanks to 
3729       Luke Deller).
3730     * Force smbd to exit if the guest account internal setup fails.
3731     * BUG 3419: vfs_full_audit fixes for multiple connections.
3732     * Ensure SWAT lists running processes.
3733     * Fix NTLMv2 interoperability bug between Samba servers.
3734     * Oplock break logic fixes.
3737 o   Andrew Bartlett <abartlet@samba.org>
3738     * BUG 3401: Fix crash bug caused by incorrect handling of weak 
3739       session keys.  Based on original patch from Yau Lam Yiu.
3742 o   Alexander Bokovoy <ab@samba.org>
3743     * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from 
3744       Samba TNG code).
3747 o   Stefan Burkei <stefan@burkei.de>
3748     * BUG 3248: When doing auth_crap authentication use the client 
3749       given workstation name not our own.
3752 o   Gerald (Jerry) Carter <jerry@samba.org>
3753     * Fixing net rpc registry enumerate from overwriting the open 
3754       subkey handle.
3755     * BUG 3380: fix crash when changing printer drivers.
3756     * BUG 3391: ensure we can lookup account policies for failed 
3757       logons.
3758     * Adding query/set ops for security descriptors on services.
3759     * BUG 3329: Solaris packaging fixes.
3760     * Better formatting for smbstatus output (based on patch from
3761       Adam Neilson).
3762     * Hook the max connections spin box in the share properties 
3763       MMC plug-in dialog to the 'max connections' smb.conf parameter
3764       and the 'modify share command' option.
3765     * Work around building libnss_winbind.so on Solaris when 
3766       --enable-developer is specified.
3767     * Add vendor patch level string to VERSION.
3768     * Consolidate packaging for RHEL4 and Fedora based on initial
3769       work by jht.  
3772 o   Albert Chin <@thewrittenword.com>
3773     * BUG 3374: Build failures on True64.
3776 o   Guenther Deschner <gd@samba.org>
3777     * Fill in samr_get_dom_pwinfo based on Samba4.
3778     * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
3779     * Fixes for adssearch.pl example script.
3780     * Prevent 'net rpc' from dumping clear text password at high log 
3781       levels unless built with DEBUG_PASSWORD.
3782     * Fix 'net ads user add' with a Windows 2003 SP1 DC.
3783     * Fix python build.
3784     * Fix segfault in pdb_nds.c.
3785     * Don't write null sid mappings into the winbindd_cache.tdb.
3786     * Save sid_to_name lookup result in winbindd already after doing 
3787       a successful name_to_sid.
3788     * BUG 3390: Fix segfault in "net rpc vampire|samdump".
3789     * BUG 1524, 3205: Support changing expired passwords in 
3790       pam_winbindd.
3791     * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
3792     * BUG 3264: Allow idmap_ad to load as 'ad'.  Cleanup the way 
3793       idmap modules are build and loaded, idmap_rid now will have 
3794       to be loaded without prefix, just "rid".
3795     * Prevent cli_krb5_get_ticket of getting into an infinite loop. 
3798 o   Andrew Esh <Andrew_Esh@adaptec.com>
3799     * BUG 1061: Fix nmbd to correctly the path to an lmhosts files 
3800       specified on the command line with -H.
3803 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
3804     * End profile fixes.
3805     * BUG 3348: Don't assume owning sticky bit directory means 
3806       write access allowed.
3807     * Fix double free in on failure path in POSIX acl code.
3810 o   Andriy Gapon <avg@icyb.net.ua>
3811     * BUG 3458: Fix crash bug in smbd and winbindd caused by 
3812       accessing freed memory.
3815 o   Björn Jacke <bj@sernet.de>
3816     * Configure check for Tru64 EA functions (not yet implemented).
3817     * Find Tru64 AIO lib in configure.
3818     * Cut-n-paste fixes in configure.in.
3821 o   John Janosik <jpjanosi@us.ibm.com>
3822     * IBM Tivoli Directory Server schema updates.
3825 o   Michael James <michael@james.st>
3826     * sid2string fix in adssearch.pl.
3829 o   William JoJo <jojowil@hvcc.edu>
3830     * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
3831     * BUG 3389: Failures on AIX in linking smbd when the symbol 
3832       table for ld exceeds 65536 bytes.
3833     * Add -W to smbpassword so that the ldap admin dn password does
3834       not have to be specified on the command line.
3835     * BUG 3408: Fix for external password change programs on AIX.
3836     * BUG 1779: 64-bit compile fixes.
3839 o   Martin Koeppe <mkoeppe@gmx.de>
3840     * BUG 3287: Match SFU behavior for dev/inode numbers.
3843 o   Volker Lendecke <vl@samba.org>
3844     * BUG 3291: Fix valgrind error in client connection code.
3845     * BUG 3292: Prevent smbclient from spinning if server terminates
3846       connection.
3847     * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient 
3848       connection alive smbclient.
3849     * Add lookupname to rpcclient query_user as a fallback, we now 
3850       accept both rid and username.
3851     * Introduce yet another copy of the string_sub function: 
3852       talloc_string_sub use by AFS token code in winbindd.
3853     * BUG 3351: pdb_mysql again overwrites password fields.
3854     * BUG 3384: Fix segv in tdbtool.
3855     * Use the same CFLAGS for generating the pch as we use to 
3856       actually compile.
3857     * Correct typo when compiling the vfs_catia module.
3858     * Fix automatic recreation of a new tdb sam file.
3861 o   Derrell Lipman <derrell@samba.org>
3862     [libsmbclient]
3863     * Fix parsing of file times (w_time and m_time were reversed).
3864     * Add additional libsmbclient test programs.
3865     * BUG 3336: Load networks interfaces in libsmbcliebt after parsing 
3866       the configuration files.
3867     * Avoid doing a NetBIOS name query for each server and workgroup 
3868       enumeration call.
3869     * Do not open connection when only looking for cached connection.
3870     * BUG 2651: Add option to log debug messages to stderr instead 
3871       of stdout.
3872     * Added flag to not request authentication information.
3873     * Enhancements to smbwrapper example code.
3874     * Replace smbwrapper call to dlopen(/lib/libc...) with direct 
3875       use of RTLD_NEXT.
3878 o   David May <mayd@cygnus.uwa.edu.au>
3879     * BUG 3329: Shell scripting portability fixes on 'make test'.
3882 o   Tony Mountifield <tony@softins.co.uk>
3883     * BUG 3327: fix bad access to gencache.tdb after fork() in 
3884       smbmount.
3887 o   Lars Müller <lmuelle@samba.org>
3888     * BUG 3264: Support backwards compatible setups using 
3889       'idmap backend = idmap_rid'.
3890     * Add %w macro for the winbind separator.
3891     * Convert net command to use stderr for error messages rather 
3892       than stdout.
3895 o   James Peach <jpeach@sgi.com>
3896     * Portability fixes in LDAP code.  Don't use non-static array 
3897       initializers.
3898     * Support the TCP_FASTACK socket option if it is available. 
3899     * Tell the MIPSPro compiler to push DEBUG calls out of line.
3902 o   Makr Proehl <m.proehl@science-computing.de>
3903     * BUG 1336: Print the server role when calling testparm in 
3904       non-verbose mode.
3907 o   Simo Sorce <idra@samba.org>
3908     * Crackcheck utility enhancement based on patch sent by 
3909       Tom Geissler.
3910     * BUG 3405: Fix segv in vfs_recycle module on platforms wither 
3911       mode_t is not 32-bits.
3914 o   John Terpstra <jht@samba.org>
3915     * RHEL/Fedora spec file patches.
3918       --------------------------------------------------
3919                    ===============================
3920                    Release Notes for Samba 3.0.21a
3921                               Dec 30, 2005
3922                    ===============================
3924 Common bugs fixed in 3.0.21a include:
3926   o Deadlocks when multiple users access an oplocked file 
3927     concurrently
3930 ######################################################################
3931 Changes
3932 #######
3934 Changes since 3.0.21
3935 --------------------
3937 commits
3938 -------
3939 o   Gerald (Jerry) Carter <jerry@samba.org>
3940     * RedHat 9 packaging Fixes.
3943 o   Guenther Deschner <gd@samba.org>
3944     * eDirectory schema syntax fixes.
3947 o   Volker Lendecke <vl@samba.org>
3948     * BUG 3349: Deadlock caused logic error in oplock code.
3950       --------------------------------------------------
3951                    ==============================
3952                    Release Notes for Samba 3.0.21
3953                             Dec 20, 2005
3954                    ==============================
3956 Common bugs fixed in 3.0.21 include:
3958   o Missing groups in a user's token when logging in via Kerberos
3959   o Incompatibilities with newer MS Windows hotfixes and 
3960     embedded OS platforms
3961   o Portability and crash bugs.
3962   o Performance issues in winbindd.
3964 New features introduced in Samba 3.0.21 include:
3966   o Complete NTLMv2 support by consolidating authentication
3967     mechanism used at the CIFS and RPC layers.
3968   o The capability to manage Unix services using the Win32 
3969     Service Control API.
3970   o The capability to view external Unix log files via the
3971     Microsoft Event Viewer.
3972   o New libmsrpc share library for application developers.
3973   o Rewrite of CIFS oplock implementation.
3974   o Performance Counter external daemon.
3975   o Winbindd auto-detection query methods when communicating with
3976     a domain controller.
3977   o The ability to enumerate long share names in libsmbclient 
3978     applications.
3981 ######################################################################
3982 Changes
3983 #######
3985 smb.conf changes
3986 ----------------
3988     Parameter Name                      Action
3989     --------------                      ------
3990     dfree cache time                    New
3991     dfree command                       Per share
3992     eventlog list                       New
3993     iprint server                       New
3994     map read only                       New
3995     passdb expand explicit              New
3996     rename user script                  New
3997     reset on zero vc                    New
3998     svcctl list                         Renamed from 'enable svcctl'
4002 Changes since 3.0.20b
4003 ---------------------
4005 o   Jeremy Allison <jra@samba.org>
4006     * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
4007     * Added 'map readonly' parameter.
4008     * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
4009       not defined.
4010     * Maintain schannel client session keys in volatile 
4011       $(privatedir)/schannel_store.tdb.
4012     * BUG 2769: Ensure we mangle filenames ending in a space
4013     * Catch corner case of renaming a symlinked directory into 
4014       itself
4015     * Ensure that smb.conf requests for hidden files are honored, 
4016       even when DOS attributes are stored in EA's
4017     * Add new auth method "auth_script" for calling an external 
4018       program
4019     * BUG 2152: Fix for mangled filenames when the client does 
4020       support long filenames
4021     * Rewritten implementation of client and server DCE/RPC infrastructure 
4022     * BUG 3192: Adds a "dfree cache time" parameter.
4023     * Fix acl evaluation bug found by Marc Cousin.  Only evaluate 
4024       the S_IWGRP mask in the absence of a POSIX ACL.
4025     * Remove use of 'long long' in libsmbclient code.
4026     * Ensure the new canonicalize_servicename() in name/snum hash 
4027       is multi-byte safe.
4028     * BUG 2922: Integration of FreeBSD AIO patches from Timur 
4029       Bakeyev.
4030     * BUG 3216: Put directory opens into the share mode db so we 
4031       can treat them similarly to file opens (delete on close, 
4032       share mode violations etc.).
4033     * Fix bug in name mangling code when case sensitivity is enabled.
4034     * Remove external dependencies from the sharemodes library.
4035     * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
4036     * Don't misinterpret wild card characters in file names on disk
4037       as they are actually valid characters.
4038     * BUG 3223: Fix bug in account policy management when 
4039       account_pol.tdb settings have been migrating to an LDAP 
4040       backend.
4041     * Allow the hash size of the tdb open (locking) database to be 
4042       set in local.h.
4043     * Fix error code returns on client spoolss code.
4044     * Remove unneeded strncpy use.
4045     * Fix uninitialized variables warnings.
4046     * Cleanup smbcacls security descriptor parsing and error codes.
4047     * BUG 3224: Correctly use machine_account_name and client_name 
4048       when doing netlogon credential setup.  Fixes winbindd running 
4049       on a Samba PDC.
4050     * Backport Samba 4 time zone handling.
4051     * Fix core dump if setmntent() returns NULL.
4052     * Replace old crc32 code with one from the FreeBSD tree.
4053     * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
4054     * Remove #define of close -> close_fn macro in libsmbclient.
4055     * Return early if -1 returned from *BSD EA call (reported by 
4056       Timur).
4057     * Name space cleanup by marking local functions static.
4058     * Move samr enumeration cache from per handle basis to a shared 
4059       cache.
4060     * BUG 3274: Fix invalid smbclient qpath_basic() queries against 
4061       OS/2 servers (based on patch from Guenter Kukkukk).
4062     * Ensure default applies to new files (reported by Thomas 
4063       Neumann).
4064     * BUG 3293: Use SMBecho to testing the server in client rather 
4065       than SMBchkpath.
4066     * Merge talloc fixes from Samba 4 branch.
4067     * Add support DCE/RPC cancel operation.
4068     * Don't reset attrs to zero in EA get.  Fixes 'hide dot files'
4069       when using EA for DOS attributes.
4070     * Fix bug in returning remote time (reported by Thomas Bork).
4071     * No users or groups to return in BUILTIN domain.
4072     * Removed separate "builtin" search enumeration.
4073     * Added count_sam_aliases to return the correct alias count.
4074     * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from 
4075       eDirectory when accessing the universal password.
4076     * Fix deadlock condition in share mode locking code.
4077     * Fix logic bug in unix_mask_match().
4078     * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
4082 o   Rashid N. Achilov <shelton@granch.ru>
4083     * Add better service description names to the svcctl code.
4086 o   Timur Bakeyev <timur@com.bat.ru>
4087     * BUG 3262: Improve FreeBSD DOS attribute error reporting.
4090 o   Andrew Bartlett <abartlet@samba.org>
4091     * Remove another ancient NTLMSSP implementation.
4092     * Allow machine account logons work if the client gives the 
4093       appropriate flags. 
4096 o   Alexander Bokovoy <ab@samba.org>
4097     * Add POSIX statvfs() to VFS api.
4100 o   Gerald (Jerry) Carter <jerry@samba.org>
4101     * Eventlog and ServiceControl support.
4102     * BUG 1051: store the directory path so we can send the full 
4103       name in the unlink call from smbclient.
4104     * Use reference count strategy for keeping the registry tdb 
4105       open.
4106     * Convert internal registry objects to new hierarchical talloc
4107     * Allow the root user a free pass for access checks in the
4108       registry and service control checks.
4109     * Sanity checks in the privilege code to prevent empty SID 
4110       entries
4111     * Add basic infrastructure for 'make test' when the socket 
4112       wrapper library is configured at compile time
4113     * Convert profiles utility to use the current regfio interface 
4114       for reading and writing user profiles
4115     * Remove netsamlogon_cache interface
4116     * Ensure that print jobs are removed even when the cancel 
4117       command is received before the print cache has been updated
4118     * Fix linking problem on Solaris when including ACL support.
4119     * Give root a free pass to open the eventlog tdb files.
4120     * Fix segfault in addprinter due to mixing talloc() and 
4121       malloc()'d memory.
4122     * fix invalid read reported by valgrind in the spoolss 
4123       backchannel connection.
4124     * Remove use of 'long long' in perfcounter registry code.
4125     * BUG 3201: make sure request structure is cleared prior to 
4126       sending the request to winbindd.
4127     * Don't count open pipes in the num_files_open on a connection
4128       (regression from Samba 2.2).
4129     * Ensure servername hashing code normalizes the name.
4130     * Fix checks for connect() in -lnsl[_s].
4131     * Convert eventlog API to use NTSTATUS return codes rather 
4132       than WERROR.
4133     * Fix segv in winbindd caused by an uninitialized variable 
4134       in winbindd_dual_getsidaliases().
4135     * Allow winbindd to select the appropriate backend methods
4136       based on the DC attributes and not the security parameter.
4137     * Re-add the netsamlogon_cache tdb and ensure that user entries
4138       are updated from the PAC data during Kerberos ticket 
4139       validation.
4140     * Fix lockup when running 'wbinfo -t' on a Samba PDC caused 
4141       by mangling machine names in sub_set_smb_name().
4142     * Add smbget to the list of tools built by default.
4143     * Fix clearing of eventlog tdb files.
4144     * Fix sequential reads in eventlog support.
4145     * BUG 2718: Don't use qpathinfo_basic() call when remote server 
4146       is Win9x.
4147     * Fix build issues with the Sun compiler.
4148     * BUG 3156: Don't use find_service() when explicitly looking 
4149       for a printer.
4150     * Fix nss_winbind_solaris.c build breakage on HP-UX.
4151     * Initialize the local group description.
4152     * Disable WINS and NetLogon services in the MMC services
4153       plugin when the associated smb.conf features are not enabled.
4154     * Add checks for invalid characters in new share names on the 
4155       srvsvc pipe.
4156     * Fix SWAT installation issues with 'make install'.
4157     * Always add the BUILTIN\Administrators SID to a Domain 
4158       Admins token.
4161 o   Alex Deiter <tiamat@komi.mts.ru>
4162     * BUG 3196: Patch to compile against the Sun LDAP client libs.
4163       (not for AD support; just ldap support).
4166 o   Guenther Deschner <gd@samba.org>
4167     * Fixed compile problems and warnings with newer OpenLDAP 
4168       and OpenSSL libs
4169     * Fix bug when enumerating trusted domains via 'wbinfo -m'
4170     * Parse the MS Kerberos PAC to obtain the user group 
4171       membership during logon.
4172     * Add support for SeRestorePrivilege to allow a process to 
4173       change the ownership of a file to any arbitrary account
4174     * Fix password history storage when using Novell eDirectory for 
4175       ldapsam storage
4176     * Backport Kerberos PAC parsing from Samba 4 branch in order to
4177       correctly create the NT User Token when logging into a Samba 
4178       member server
4179     * Add small helper function to return a PAC_LOGON_INFO.
4180     * Use LDAP bitwise matching rule when searching for groups 
4181       in ADS.
4182     * Avoid an infinite loop when retrying to connect in smbspool.
4183     * Memory leak fixes in the Kerberos PAC parsing code.
4184     * Improve NT_STATUS error messages returned from pam_winbind.
4185     * Rename unknown samr group fields in samr structures with 
4186       the correct name.removed separate "builtin" search enumeration.
4187     * Cleanup redundant StartTLS code.
4188     * Allow StartTLS support when connecting to Windows 2003 by
4189       setting 'ldap ssl = start_tls'.
4190     * Support raw NTLMSSP session setups in smbspool.
4191     * Add rpccli_samr_chgpasswd3().
4192     * Add 'wbinfo --separator'.
4193     * Uninitialized warnings fixes.
4194     * Fix return value in client spooler code.
4195     * Require forced migration of account policies.  
4198 o   Steve French <sfrench@us.ibm.com>
4199     * Fix cifs to handle non-numeric uid and gid parameters.
4200     * Merge trunk and SAMBA_3_0 mount.cifs code.
4201     * Cleanup cifs cfs help message.
4204 o   Paul Green <paulg@samba.org>
4205     * Update to the latest config.guess and config.sub files.
4208 o   Deryck Hodge <deryck@samba.org>
4209     * Allow control of syslog facility and level in audit vfs modules.
4212 o   S Murthy Kambhampaty <smk_va@yahoo.com>
4213     * Patches for Fedora RPM specfile and init script
4216 o   Krishna Ganugapati <krishnag@centeris.com>
4217     * Use the subtree delete ldap control when running 'net ads 
4218       leave'.
4221 o   Volker Lendecke <vl@samba.org>
4222     * New oplock implementation.
4223     * Add assert() call if winbindd cannot locate the domain SID in 
4224       secrets.tdb on startup
4225     * Fix an annoying timeout in winbindd when nmbd is not running.
4226     * Speed up loading smb.conf for large numbers of share 
4227       definitions by adding an internal hashing of names to snums. 
4228       Thanks to Michael Adam.
4229     * Fix potential segv in rpcclient's lsarpc calls.
4230     * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
4231     * Fix alignment in getdc response.
4232     * Allow pdbedit to set the domain for a user account.
4233     * Fix fallback logic in rpc binds.
4234     * Fix memleak in message handling code.
4235     * Fix connection bug to port 445 and 139 after a successful 
4236       getdcname response.
4237     * Add additional calls to initialize_krb5_error_table() for 
4238       Kerberos client code.
4239     * Implement the possibility to have AFS users as SIDs in pts.
4240     * Removed unused alternative_name code from winbindd.
4241     * Protect against NULL alternative_name strings in winbindd.
4242     * Define a default panic action with -DEVELOPER is defined.
4243     * Add the capability to reset smbd connections on a zero VC id.
4244     * Allow smb.conf variable expansion to be disabled in passdb 
4245       backends.
4246     * Add lookupname to rpcclient query_user as a fallback.
4247     * BUG 3292: Prevent smbclient from spinning when the server 
4248       disconnects.
4249     * BUG 2191: Fix valgrind error in cli_session_setup_guest().
4250     * Add samr_lookup_rids for the builtin domain.
4251     * Memory allocation cleanups in passdb.
4252     * Restrict samr_open_domain() to our domain only.
4253     * Change local_lookup_sid() to local_lookup_rid() since it 
4254       is responsible for our domain only.
4255     * Fix some uninitialized variable warnings.
4256     * Fix winbind_lookup_name for the local domain, 
4259 o   Derrell Lipman <derrell@samba.org>
4260     * Cleanup libmsrpc version numbers.
4261     * BUG 3257, 3267, 3273: Plug memory and file descriptor leaks.    
4262     * Fix crash bug in libsmbclient.
4263     * Add long share name support to libsmbclient when enumerating 
4264       shares.
4267 o   Jason Mader <jason@ncac.gwu.edu>
4268     * Removed compiler various warnings.
4271 o   Alex Masterov <alex@infobit.ru>
4272     * BUG 3218: Fix XATTR calls on *BSD systems.
4275 o   Jim McDonough <jmcd@us.ibm.com>
4276     * Speed up string_to_sid by removing next_token calls and 
4277       unneeded strncmp() calls.
4278     * Implement user rename for smbpasswd and LDAP backends.
4279     * BUG 2961 (partial): Add rename support for user accounts to tdbsam
4280     * BUG 3187: Fix time zone offset in logon hours restrictions.
4283 o   Stefan Metzmacher <metze@samba.org>
4284     * Fix setting of quotas on linux kernel with the struct 
4285       if_dqblk interface
4286     * Enable sysquota interface on Linux by default
4287     * Use lp_socket_address() when binding to port 138/udp in nmbd.
4290 o   Brian Moran <bmoran@centeris.com>
4291     * Eventlog and ServiceControl support.
4292     * Added eventlogadm tool for writing Eventlog records.
4293     * Fix typo when creating Eventlog source DLL registry paths.
4294     * Add simple script to tail syslog and write records to 
4295       eventlog tdb.
4296     * Fix segv in eventlogadm when not event logs are listed in 
4297       smb.conf.
4300 o   Lars Müller <lmuelle@samba.org>
4301     * Only install smbsh manpage if smbwrapper has been successfully
4302       built.
4303     * Ensure setmntent() returns with != NULL in the disk_quotas() 
4304       Linux version.
4305     * Add configure switch to disable libmsrpc build.
4306     * Add a soname to libmsrpc.
4309 o   Ricky Nance <ricky.nance@gmail.com>
4310     * Updates for the mklogon perl scripts.
4313 o   Chris Nicholls <skel@samba.org>
4314     * New libmsrpc library (Google SoC Project).
4315     * Fix libmsrpc build of on the Sun compiler by removing empty 
4316       structure declarations.
4319 o   James Peach <jpeach@sgi.com>
4320     * Fix parsing error for smb ports parameter.
4323 o   Tim Potter <tpot@samba.org>
4324     * BUG 3260: Fix DYNEXP flags on HPUX.
4327 o   Marcin Porwit <mporwit@centeris.com>
4328     * Eventlog and ServiceControl support.
4329     * Added basic Performance Counter daemon which can feed data
4330       for the Windows perfmon.exe tool.
4331     * Fix directory permissions in the perfcounter daemon.
4332     * Add the 'File' registry value for the eventlog keys.
4335 o   Aruna Prabakar <aruna.prabakar@hp.com.
4336     * Add checks to verify that the spooler is running on HP-UX when
4337       reloading the printer name cache.
4340 o   Joel Smith <joel.j.smith@novell.com>
4341     * Add iPrint printing backend support.
4344 o   Toomas Soome <Toomas.Soome@mls.ee>
4345     * Implement host lookups in nss_winbind.so.1 on Solaris
4348 o   Simo Sorce <idra@samba.org>
4349     * Update Debian packaging.
4352 o   John Terpstra <jht@samba.org>
4353     * Add 'net idmap' usage help text.
4356 o   Andrew Tridgell <tridge@samba.org>
4357     * Change license notice of standalone talloc library to LGPL.
4360 o   Darren Tucker <dtucker@zip.com.au>
4361     o Crash fix for snprintf() code.
4364 o   Rainer Weikusat <rainer.weikusat@sncag.com>
4365     * Fix function name typo in skeleton VFS code.
4369 Release Notes for older release follow:
4371       --------------------------------------------------
4372                    ===============================
4373                    Release Notes for Samba 3.0.20b
4374                              Oct 12, 2005
4375                    ===============================
4377 Common bugs fixed in 3.0.20b include:
4379   o A crash bug in winbindd
4380   o Reporting files as read-only instead of returning the 
4381     correct error code of "access denied"
4382   o File system quota support defects
4383   
4385 ######################################################################
4386 Changes
4387 #######
4390 Changes since 3.0.20a
4391 ---------------------
4393 commits
4394 -------
4396 o   Jeremy Allison <jra@samba.org>
4397     * BUG 3088: Fix error condition for files on a read-write share 
4398       which cannot be read due to permissions.
4401 o   Gerald (Jerry) Carter <jerry@samba.org>
4402     * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota 
4403       details.
4404     * BUG 1473, 3090: Quota detection and compilation problems on 
4405       Solaris.
4408 o   Marc Balmer <marc@msys.ch>
4409     * Build fixes when builddir != srcdir
4412 o   Alex Deiter <tiamat@komi.mts.ru>
4413     * BUG 3145: Fix build issue regarding quota support on Solaris.
4416 o   Volker Lendecke <vl@samba.org>
4417     * BUG 3068: Fix for winbindd crashed by empty DC alternative 
4418       name.
4421       --------------------------------------------------
4422                    ===============================
4423                    Release Notes for Samba 3.0.20a
4424                              Sept 30, 2005
4425                    ===============================
4427 Common bugs fixed in 3.0.20a include:
4429   o Stability problems with winbindd.
4430   o Crash bugs caused by incompatibilities on 64-bit systems.
4431   o Missing files from directory listings on AIX servers
4432   o User Manager interoperability problems.
4433   o Minor build difficulties on various platforms such as 
4434     Solaris and OpenBSD, 
4437 Winbind, security = domain, and Active Directory
4438 ================================================
4440 Recent security updates for Windows 2000 and Windows 2003 have 
4441 changed the fashion in which user and group lists can be obtained 
4442 from domain controllers.  In short, the RPC mechanisms used by 
4443 "security = domain" to retrieve users and groups is not compatible 
4444 with these changes.   The "security = ads" configuration is not 
4445 affected by the Windows protocol changes.
4447 Samba developers are actively working to correct this problem in 
4448 the 3.0.21 release.  In the meantime, Administrators who are unable 
4449 to migrate to "security = ads" and must continue using "security = 
4450 domain", can define credentials to be used by winbindd for account
4451 enumeration by executing the following command as root.
4453         wbinfo --set-auth-user='DOMAIN\username%password'
4457 ######################################################################
4458 Changes
4459 #######
4462 Changes since 3.0.20
4463 --------------------
4465 commits
4466 -------
4468 o   Jeremy Allison <jra@samba.org>
4469     * BUG 3065: Fix for legacy clients retrieving a listing of 
4470       an empty directory.
4471     * Added external library for accessing Samba's share mode 
4472       database.
4473     * Fix winbindd credentials chain which caused logon failures 
4474       after attempting to authenticate an unknown user.
4475     * Fix recursive looping bug in winbindd.
4476     * Fix build errors on 64-bit systems.
4477     * Posix ACL memory leak and crash bug fixes.
4478     * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
4479     * BUG 3060: Ensure SMBcreate truncates the file if it exists.
4480     * Hide dot files and directory logic fixes.
4481     * Correct display of open file modes by smbstatus.
4482     * BUG 3010: Fix missing files bug on AIX systems.
4485 o   Gerald (Jerry) Carter <jerry@samba.org>
4486     * Allow the root user to automatically pass se_access_checks()
4487       in the registry and service control server code.
4488     * Ensure that winbindd uses the correct name in the net_auth2()
4489       request when running on a Samba PDC.
4490     * Fix linking problem with tdb utilities.
4491     * BUG 3080: Fix regression in 'net rpc shutdown' command.
4492     * Fix segv in 'net rpc' when the pipe open fails.
4493     * Fix upload bug when installing 64-bit Windows printer drivers.
4494     * Fix regression in the smburi syntax used by smbspool.
4495     * Fix sorting of subkey hash records in registry files.
4496     * Correct REG_CREATE_KEY_EX parsing error.
4497     * Interoperability issues with usrmgr.exe and Samba groups.
4498     * Use the display names and not the Unix names when enumerating
4499       groups in the ldapsam passdb backend.
4500     * Ensure that Windows domain user names are converted to lower case.
4503 o   Guenther Deschner <gd@samba.org>
4504     * Prevent BUILTIN sids returned in the user's token from 
4505       a Windows DC from being applied to any local group mappings
4506       on the Samba host.
4507     * Plug memory leaks in the Kerberos keytab code.
4508     * Ensure BUILTIN groups are returned from winbindd's idmap_rid
4509       backend when 'winbind nested groups' is enabled.
4510     * Fix crash bug in winbindd caused by 64-bit build issues.
4511     * Improve debug messages in smbspool.
4512     * Give better error-message when "NDS Universal Password" change fails.
4513     * Fix password history error in the eDirectory schema file.
4514     * Ensure that Windows domain group names are converted to lower case.
4517 o   Steve French <sfrench@us.ibm.com>
4518     * Allow disabling mandatory byte range lock mount flag, and fix 
4519       corresponding entry in mtab.
4522 o   Volker Lendecke <vl@samba.org>
4523     * Fix race condition in the NTcreate&X open code when the 
4524       disposition is NTCREATEX_DISP_CREATE.
4525     * Correct logic error when checking the pid for pending print 
4526       change notify messages.
4527     * Ensure that winbindd child process complete startup even when
4528       the parent is receiving authentication requests.
4529     * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
4530       when authentication fails.
4533 o   Jason Mader <jason@ncac.gwu.edu>
4534     * Compile warning fixes.
4537 o   Uli Meis <a.sporto@gmail.com>
4538     * Patches for pdb_*sql.c
4541 o   Luke Mewburn <lukem@NetBSD.org>
4542     * Autoconf syntax fixes.
4545 o   James Peach <jpeach@sgi.com>
4546     * Correct problem with creating a core file in Linux.
4549 o   Stefan Metzmacher <metze@samba.org>    
4550     * Quota fixes in smbd.
4553 o   Peter Rindfuss <rindfuss@wz-berlin.de>
4554     * Patches for pdb_*sql.c
4557 o   Jiri Sasek <Jiri.Sasek@Sun.COM>
4558     * Solaris toolchain patches for autoconf scripts.
4561 o   Andrew Tridgell <tridge@samba.org>
4562     * Fix for tdb clear-if-first race condition.
4565 o   Leo Weppelman <leo@wau.mis.ah.nl>
4566     * BUG 3104: Don't allow time updates to files on read-only shares.
4569 o   Steve Williams <steve@celineandsteve.com>
4570     * BUG 3052: Fix compile issues on OpenBSD.
4573       --------------------------------------------------
4574                    ==============================
4575                    Release Notes for Samba 3.0.20
4576                              Aug 19, 2005
4577                    ==============================
4579 Additional features introduced in Samba 3.0.20 include:
4581   o Support for several new Win32 rpc pipes.
4582   o Improved support for OS/2 clients.
4583   o New 'net rpc service' tool for managing Win32 services.
4584   o Capability to set the owner on new files and directory
4585     based on the parent's ownership.
4586   o Experimental, asynchronous IO file serving support.
4587   o Completed Support for Microsoft Print Migrator.
4588   o New Winbind IDmap plugin (ad) for retrieving uid and gid
4589     from AD servers which maintain the SFU user and group 
4590     attributes.
4591   o Rewritten support for POSIX pathnames when utilizing 
4592     the Linux CIFS fs client.
4593   o New asynchronous winbindd.
4594   o Support for Microsoft Print Migrator.
4595   o New Windows NT registry file I/O library.
4596   o New user right (SeTakeOwnershipPrivilege) added.
4597   o New "net share migrate" options.
4600 What happened to 3.0.15 - 3.0.19?
4601 ==================================
4603 After some discussion it was deemed that the amount of changes 
4604 going into the next Samba 3.0 release needed something to catch
4605 people's attention.  Skipping several releases was chosen as 
4606 the best solution with the least overhead.  There will be no
4607 3.0.15 - 3.0.19 ever released.  The next production release
4608 following 3.0.20 should be 3.0.21.
4610 The original announcement about the version number change can 
4611 be found in the samba mailing list archives:
4613 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
4616 Asynchronous Winbind Implementation
4617 ===================================
4619 Winbindd has been completely rewritten in this release to support
4620 an almost completely non-blocking, asynchronous request/reply
4621 model.  This means that winbindd will scale much better in 
4622 large domain environments and on high latency networks.  Neither 
4623 the client interface nor the command line tools (i.e. wbinfo) have 
4624 changed in their calling conventions or syntax.  However, due to 
4625 internal structure changes, it is required (more so than normal) 
4626 that you install the nss_winbind.so library included in this release.
4629 Support for Microsoft Print Migrator
4630 ====================================
4632 Samba 3.0.20 includes full support for migrating printers from 
4633 Windows servers or other Samba servers via the Microsoft Print 
4634 Migrator tool.  Restoring printers requires a working "add printer 
4635 command" defined in smb.conf.  Current support also allows
4636 administrators to create a master list of printer drivers which
4637 can be restored in bulk on new (or existing) Samba installations.
4640 Asynchronous IO Support
4641 =======================
4643 Experimental support for async IO has been added to smbd for 
4644 certain platforms.  To enable this new feature, Samba must be 
4645 compiled to include the --with-aio-support configure option.
4646 In addition, the "aio read size" and "aio write size" to non-zero
4647 values.  See the smb.conf(5) man page for more details on these 
4648 settings.
4651 ######################################################################
4652 Changes
4653 #######
4655 smb.conf changes
4656 ----------------
4658     Parameter Name                      Action
4659     --------------                      ------
4660     acl check permissions               New
4661     acl group control                   New
4662     acl map full control                New
4663     aio read size                       New
4664     aio write size                      New
4665     enable asu support                  New
4666     inherit owner                       New
4667     ldap filter                         Removed
4668     map to guest                        Modified (new value added)
4669     max stat cache size                 New
4670     min password length                 Removed
4671     printer admin                       Deprecated
4672     username map script                 New
4673     winbind enable local accounts       Removed
4674     winbindd nss info                   New
4677 Changes since 3.0.14a
4678 ---------------------
4681 commits
4682 -------
4684 o   Jeremy Allison <jra@samba.org>
4685     * BUG 2533: Fix incorrect directory listings for OS/2 clients.
4686     * Ensure the old SMB search calls always ask mask_match() to 
4687       translate patterns like ????????.???.
4688     * Split out the check_path_syntax() into a findfirst, findnext,
4689       & wildcard versions.
4690     * Fix checks for matching groups in an file ACL against the
4691       user's primary and supplementary group list.
4692     * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select 
4693       LANMAN2 protocol, ensure the EA size is always correctly 
4694       set on a query for a file with no EA's.
4695     * BUG 2551: Look at the incoming flags2 flag 
4696       FLAGS2_LONG_PATH_COMPONENTS determines if a reply is 
4697       uppercased on a SMBsearch request, not the protocol level.
4698     * Added "volume" command to smbclient that prints out the 
4699       volume name and serial number.
4700     * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
4701     * Add support for OS/2 Extended Attributes.
4702     * Correctly check OpenX open modes.
4703     * Ensure allocation size is correctly returned for OpenX. 
4704     * Only set allocation on create/truncate for nttrans.
4705     * Fix oplock bug in trans2open() code.
4706     * Remove unix_ERR_XXX global nastiness.
4707     * Only do the strange DOS error for openX, not trans2open.
4708     * Ensure SMBopen replies includes the share modes as well as 
4709       open modes.
4710     * BUG 2581: Add size limit (in kb) to stat cache.
4711     * Fix bug in the trans2 secondary processing.
4712     * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
4713     * Add an SMB counter per connection struct for gathering
4714       profiling data.
4715     * BUG 2605: Ensure smbclient doesn't perform commands if 
4716       the "chdir" fails in a scripted set.
4717     * Ensure a 'forced group' is added to the list of effective
4718       gids when processing ACLs.
4719     * Refactor rpc_bind structures for better future work.
4720     * BUG 2942: Add missing value in debug message.
4721     * BUG 2946: Fix regressions in str[n]cmp_w) functions found
4722       by 'mangling method = hash'.
4723     * Fix memory leaks in the msdfs trans2 server code.
4724     * Convert msdfs server to be talloc'd based.
4725     * Fix up stackable vfs interface.
4726     * Fix rpc fault when encountering an unknown rpc_bind auth 
4727       type.
4728     * BUG 2954: More AIX 5.1 AIO compile fixes.
4729     * Fix valgrind bug in interaction with new aio buffer (found
4730       by Volker).
4731     * BUG 2878: Fix Norton commander not running on OS/2 clients. 
4732     * Cleanup SAMR user info structure naming.
4733     * BUG 2889:  Fix directly listings from OS/2 clients.
4734     * Added "acl group control" parameter.
4735     * Add debug warning if AddPrinterEx() is called without having
4736       an 'add printer command'  defined.
4737     * Add better log messages when modifying ldap entries.
4738     * BUG 2829: Fix strXX_w() functions on non-x86 platforms when 
4739       when string is unaligned.
4740     * BUG 2918: Fix SMB chaining by ensuring that deferred open 
4741       message buffer is nor reused.
4742     * Add support for client setting capabilities to select posix 
4743       pathnames on the wire.
4744     * Stop using C++ reserved words so that Samba can be compiled 
4745       using g++.  Also allows VFS modules in C++.
4746     * More fixes to allow better large directory scaling.
4747     * BUG 2827: Ensure we call the vfs connection hook before 
4748       doing a vfs stat.  Allows database vfs backends to initialize 
4749       with a working connection.
4750     * BUG 2826: Ensure the correct return value for symlink and 
4751       readlink in the VFS.
4752     * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
4753     * Added AIO support to smbd.
4754     * Add "acl map full control", true by default, to allow people 
4755       to change mapping of rwx to full control or not.
4756     * Transition smbd to use NTcreate&X for internal file opens.
4757     * Add checks against the current effective group id (e.g. force 
4758       user) when testing write permissions one ACLs.
4759     * Fix FindFirst/FindNext server code when parsing directories
4760       on old IRIX XFS file systems (thanks to Cale Fairchild
4761       for the debugging help).
4762     * BUG 2644: Test for special files to be ignored was reversed.
4763     * Ensure yield_connection() is called on all appropriate error
4764       conditions.
4765     * Fix EDEADLCK problem with deferred open calls.
4766     * BUG 2622: Remove DPTR_MASK as it makes no sense.
4767     * Fix the write cache based on some VERY good detective work
4768       from Ingo Kilian.
4769     * BUG 2346: Fix read-only excel file bugs.
4770     * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just 
4771       return ENOSYS if not implemented.
4772     * Add new CAP for POSIX pathnames.
4773     * BUG 2703: Add NULL guard for disp_fields[0].
4774     * BUG 2681: With "strict allocate = yes" we now zero fill when 
4775       a file is extended. Should catch disk full errors on write
4776       from MS-Office.
4777     * Add "acl check permissions" to turn on/off the new 
4778       behavior of checking for write access in a directory 
4779       before delete. 
4780     * Refactor printing interface to take offset into job. 
4781     * Allow mapping of POSIX ACLs to NT perms to differentiate 
4782       between directories and files.
4783     * Added encrypt/decrypt function for LSA secrets and trusted
4784       domain passwords on the wire.
4785     * BUG 2729: Resume keys are *mandatory* for a search when 
4786       listing a W2K and above server from a FATxx filesystem only.
4787     * BUG 2735: Ensure that smbd mangles control characters in file 
4788       and directory names.
4789     * Refactor small pieces of socket handling code (in conjunction 
4790       with Derrell).
4791     * BUG 2698: Fix infinite listing loop in smbclient caused by
4792       an invalid character set conversion.
4793     * Add client code that will abort a directory listing if we 
4794       see the same name twice between packets.
4795     * Performance improvements in trans2 qfilepathinfo code by 
4796       removing unnecessary memset() calls.
4797     * Rewrite the RPC bind parsing functions to follow the 
4798       spec; fixes bug with 64-bit Windows XP and OS X 10.4.
4799     * BUG 2774: Set sparse flag if needed when returning 
4800       file attributes.
4801     * Fix errors listing directories from Windows NT clients 
4802       which caused "." and ".." to show up in explorer.exe.
4803     * Merge of error code fixes from SAMBA_4_0 branch.
4804     * BUG 2801: Fix regression in the "delete veto files" option.
4805     * Fix based on work from  Shlomi Yaakobovich to catch loops 
4806       in corrupted tdb files.
4807     * Allow someone with SeTakeOwnershipPrivilege to chown the 
4808       user of a file to herself.
4809     * Fix minor compiler warnings in printing/printing.c.
4810     * Merge new DOS error code from SAMBA_4.
4811     * Fix issue when non-English characters in filenames and 
4812       directories.
4813     * Fix bogus error message in smbstatus about unknown share modes.
4816 o   Andrew Bartlett <abartlet@samba.org>
4817     * Support raw NTLMSSP authentication for Windows Vista 
4818       clients.
4819     * Fix parallel NTLMSSP processing by removing global state.
4820     * BUG 2684: Add per service hosts allow/deny checks for 
4821       printers when  connecting via MS-RPC.
4822     * BUG 2391: Fix segv caused by free a static pointer returned 
4823       from getpwnam().
4824     * Support Kerberos authentication in smbd when using a keytab
4825       and participating in a non-Microsoft Kerberos realm.
4828 o   Timur Bakeyev <timur@com.bat.ru>
4829     * BUG 2546: Add support for FreeBSD EA API
4830     * Fix detection of FreeBSD 7.x platforms in autoconf checks.
4831     * BUG 2908: Fix string length logic error in msdfs code.
4832     * BUG 2909: Fix typo that caused smbd to call the wrong 
4833       aio_fsync function.
4836 o   Ed Boraas <ed.boraas@concordia.ab.ca>.
4837     * Added Linux per-socket TCP settings.
4840 o   Gerald (Jerry) Carter <jerry@samba.org>
4841     * Added support for \svcctl pipe rpcs.
4842     * Added 'net rpc service' subcommand for managing Win32 
4843       services.
4844     * Refactoring work on the rpc [un]marshalling layer and 
4845       structures.
4846     * Verify privilege name in 'net rpc rights privileges' in 
4847       order to provide better error messages.
4848     * Cleanup rpc structures in rpc_spoolss.h.
4849     * Cleanups and fixes for the \winreg server code.
4850     * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
4851     * Fix bugs in client spoolss code after refactoring work.
4852     * Fix Valgrind warnings of invalid reads in the spoolss 
4853       server code.
4854     * Fixed a segv when enumerating services on a Samba host.
4855     * Fix segv in the service control server code.
4856     * Fix crashes in client spoolss calls caused by not checking 
4857       for a valid pointer from the caller.
4858     * Fix regression in DeleteDriver() server routines.
4859     * Fix dup_a_regval() when size is 0.
4860     * Fix usrmgr.exe crash when viewing user properties at 
4861       debuglevel 10.
4862     * Do not enumerate any privileges when 'enable privileges = no'
4863       and log a message if a client tries.
4864     * BUG 2872: Fix cut-n-paste error when checking pointer value 
4865       in ntlmssp_set_workstation().
4866     * Fix upgrade path from earlier nt*tdb files.
4867     * Removed print handle object cache.
4868     * BUG 2853: Don't strip out characters like '$' from printer 
4869       names when substituting for the lpq command.
4870     * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
4871     * Fix build issues on x86_64-linux systems caused by valgrind 
4872       headers.  Thanks to Bent Vangli to the suggestions.
4873     * Refactor spoolss client calls.
4874     * Adding 'username map script'.
4875     * Disable schannel on the LSA and SAMR pipes in winbindd client 
4876       code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
4877     * Cleanup of winreg API functions.
4878     * Add server stubs for RegSetKeySec() and RegGetKeySec().
4879     * Map generic bits to specific bits in reg_open_entry() 
4880       requests.
4881     * Add write support to registry tdb and printing backends.
4882     * Use tdb lookups rather than hard-coding certain registry 
4883       value names and data.
4884     * BUG 2808: don't try to install man pages if they are not 
4885       present.
4886     * Fix initialized variables reported by valgrind.
4887     * Normalize key lookups in ntprinters.tdb.
4888     * Mark "enumports command" as deprecated.
4889     * Add missing class file for python share command example.
4890     * Fix smbclient build issue on Solaris.
4891     * BUG 2626: ensure that the calling_name is set to something 
4892       after parsing smb.conf (if not set via -n).
4893     * Use "add machine script" when creating a user (ACB_NORMAL)
4894       who has a name ending in '$' (e.g. usrmgr.exe creating
4895       domain trust accounts).
4896     * Add 'rid' synonym for idmap_rid IDMap module.
4897     * Ensure that we set full access on the handle returned 
4898       from _samr_create_dom_{alias,group}() so that future 
4899       set_{alias,group}() commands succeed.
4900     * Fix bug when looking for internal domains in winbindd
4901       (caused winbindd_getgrgid() for local groups to fail).
4902     * Fix query and set alias info calls (level 1 from the MMC 
4903       manage computer plug-in.
4904     * Remove bogus log messages about unknown specversions.
4905     * BUG 2680: copy files from an MS-DFS win2k root share
4906     * BUG 2688: re-implement support for the -P (--port) option
4907     * Support connecting to an 'msdfs proxy' share on a Samba
4908       server.
4909     * Strip the directory path from cups command line printing 
4910       defaults.
4911     * Fix bug that prevented smbclient from creating directories 
4912       on non-dfs paths.
4913     * Deprecate the "printer admin" parameter in favor of the 
4914       SePrintOperatorPrivilege.
4915     * Add the capability to read and write WinNT regf registry 
4916       files.
4917     * Implement access checks for RegOpenXXX() server calls.
4918     * Extend registry client rpc calls.
4919     * Add "net rpc registry" set of commands.
4920     * Remove testprns tool.
4921     * Ensure that printer ACLs use the specific bits as well as 
4922       the generic bits.  Upgrade existing ntprinters.tdb SECDESC 
4923       records.
4924     * Add server support for RegSaveKey() for dumping registry 
4925       trees to a regf file.
4926     * Add "enable asu support" smb.conf parameter.
4927     * Merge various small file changes from trunk.
4928     * Remove "winbind enable local accounts" support.
4929     * Remove "ldap filter" smb.conf option.
4930     * Remove editreg utility (needs to be rewritten using regfio.c).
4931     * Fix build failure when running 'make torture' without first 
4932       running 'make all' first.
4933     * BUG 1261: Remove unusable libbiconv from iconv detection 
4934       in configure.
4935     * Add new option for "map to guest".  "Bad Uid" re-enables the
4936       Samba 2.2 behavior of mapping authenticated users to the
4937       guest account if there does not exist a valid Unix account 
4938       for the Windows domain user (based on patch from 
4939       aruna.prabakar@hp.com).
4940     * Fix a couple of regressions after introduction of new winbindd.
4941     * Fix smbpasswd user password change (still worked by bad error
4942       messages) due to trying to strdup a NULL pointer.
4943     * Implement default security descriptors for the
4944       OpenService[Manager]() calls and check requested access mask 
4945       at connect time.
4946     * Include access checks on handle mask for \svcctl operations
4947       such as ControlService() and StartService().
4948     * Implement simulated start and stop service control for 
4949       the spooler service as a per smbd service state value.
4950     * Add interface structure for controlling service via rc.init
4951       scripts (incomplete).
4952     * Convert move_driver_to_download_area() to use copy_file()
4953       rather than moving the files.
4954     * Add version number to registry.tdb file since it can be 
4955       modified now.
4956     * Remove over-paranoid assert() call when checking spoolss 
4957       buffer pointers
4958     * Fix error in EnumPrinterData() reported by valgrind.
4959     * Fix broken help links in SWAT editor caused by new doc layout.
4960     * Ensure that a domain structure in winbind is initialized prior
4961       to assigning the methods for communicating to a DC.
4962     * BUG 3000: Remove background updates of winbind cache and allow
4963       child processes to immediately update and expired cache entry.
4966 o   David.Collier-Brown  <David.Collier-Brown@sun.com>
4967     * Added panic action script for Solaris.
4970 o   Jeremy Cooper <jeremy@ncircle.com>
4971     * Added support for several new \winreg client rpcs.
4974 o   <core@road-star.jp>
4975     * BUG 2792: Ensure the shadow copy module hooks seekdir, 
4976       telldir, rewinddir to match updated large directory code.
4979 o   Guenther Deschner <gd@samba.org>
4980     * Close handles on group creation in rpcclient to better 
4981       support mass group account creation.
4982     * Fix account policy key lookup for minimum and maximum
4983       password lengths.
4984     * Fix some compiler warnings and add missing exclude-block 
4985       in 'net rpc share migrate'.
4986     * Allow use of a non-default smb.conf by rpcclient.
4987     * Fix querydispinfo search semantics in rpcclient test code.
4988     * Fix querydispinfo server semantics to allow to list more 
4989       then 511 users.
4990     * Fix server crash bug in ancient OpenPrinter() call.
4991     * Fix a crash bug when enumerating privileges via the LSA 
4992       calls.
4993     * Fix crash in EnumPrinterKey() client calls caused by previous 
4994       refactoring work.
4995     * Various compiler warning fixes.
4996     * Fix segfault in the client AddPrinterEx-call of 'net 
4997       rpc printer'.
4998     * Fix build issues when --with-aio-support is enabled.
4999     * BUG 2502: Removed the deprecated 'min passwd length parameter'.
5000     * Honour the CC environment variable in python build.
5001     * Fix searches in pdb_ldap for inter-domain trust accounts.
5002     * Don't expand the %L in %LOGONSERVER% from user attributes.
5003     * Fix bug in 'net rpc vampire' that caused accounts to be created 
5004       with no assigned ACB flags.
5005     * Fix enumeration of builtin-aliases.
5006     * Avoid unset rids for builtin-aliases.
5007     * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
5008     * More "net rpc share migrate" fixes.
5009     * Merge PADL's idmap_ad plugin (taken from the latest 
5010       xad_oss_plugins-tarball).
5011     * Add support for "idmap backend = ad" when "security = ads".
5012     * Add home directory and shell support from AD via "winbindd nss 
5013       support = sfu" and "security = ads".
5014     * Provide better feedback when we fail share-manipulation 
5015       due to missing scripts.
5016     * Correctly substitute "\" as default winbind separator in 
5017       generate_parm_table.py example share command script.
5018     * Document pam_winbind.c to clarify the working status of
5019       require-membership-of option.
5020     * Added client-support for various lsa_query_trust_dom_info()
5021       calls and a rpcclient-tester for some info-levels.
5022     * Add "net rpc trustdom vampire" tool (in conjunction with 
5023       Lars Mueller).
5024     * Add missing cli_srvsvc_net_share_set_info-function and
5025       rpcclient-testers (in preparation for net share acl migration).
5026     * Print trusted domain passwords returned via rpcclient in 
5027       display charset.
5028     * Error code fixes when attempting to manipulating 
5029       non-existent shares.
5030     * Cleanup "net share migrate" code. 
5031     * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime 
5032       = true".
5033     * Allow admins to uncheck the "User must change Password at 
5034       next Logon" checkbox in User manager (merge from trunk).
5037 o   Renaud Duhaut <rd@duhaut.com> 
5038     * BUG 1040: Add directory_mode parameter when creating recycle
5039       directories.
5042 o   Steven Edwards <steven_ed4153@yahoo.com>.
5043     * Use chsize() if we don't have ftruncate().
5046 o   Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
5047     * BUG 1780: Add Kerberos (file based ticket cache) support 
5048       to smbspool.
5051 o   Steve French <sfrench@us.ibm.com>
5052     * Update list of mount options for mount.cifs.
5053     * Add more defines for POSIX extensions to match the newly 
5054       added client implementation.
5055     * Add initial support for cifs umount utility.
5056     * Fix cifs mounts to handle commas embedded in prompted 
5057       password, and password and credential files.
5058     * Fix cifs mounts to handle domain name and user name in 
5059       username field (in form domain\user).
5060     * Add missing error code mappings when a client unsuccessfully 
5061       tries to create a hard-link.
5062     * Add support so umount.cifs can update mtab.
5063     * Add two newer mount options to syntax help for mount.cifs.
5064     * Add missing remount flag handling.
5065     * Allow domain= to be specified in credentials file. 
5066     * Fix umount.cifs help, allow root to unmount someone else's
5067       mount.
5068     * Lock mtab when updating it during umount.cifs, also delete
5069       only one matching entry at a time.
5070     * Fix minor compiler warnings in the mount.cifs helper.
5073 o   Deryck Hodge <deryck@samba.org>
5074     * BUG 2137: Encode quotes for display in HTML (original patch 
5075       from Jay Fenlason).
5078 o   Olaf Imig <Olaf.Imig@bifab.de>
5079     * BUG 1998: Correct byte ordering bug when storing 16-bit RAP 
5080       print job ids.
5081     * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
5084 o   Björn Jacke <bj@sernet.de>
5085     * Added ioctl constants reported by msbackup.exe and filemon.exe.
5088 o   Kevin Jamieson <bugzilla@kevinjamieson.com> 
5089     * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
5092 o   John Janosik <jpjanosi@us.ibm.com>
5093     * BUG 2077: Correctly fill in the correct server name when 
5094       processing trusted domain logins.
5095     * BUG 2976: Mark logons for unknown domains with a 
5096       non-authoritative response.
5099 o   William Jojo <jojowil@hvcc.edu>
5100     * AIX AIO fixes.
5103 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
5104     * BUG 2541: Fix copying of file(s) from samba share to an OS/2 
5105       local drive.
5108 o   Tom Lackemann <cessnatomny@yahoo.com>
5109     * BUG 2242: Patch to ensure that we only set the security 
5110       descriptor on an NTtransact create if we created the file.
5113 o   Volker Lendecke <vl@samba.org>
5114     * Port some of the non-critical changes from HEAD to 3_0. 
5115       The main one is the change in pdb_enum_alias_memberships 
5116       to match samr.idl a bit closer.
5117     * Close handles on user creation in rpcclient to better 
5118       support mass user account creation.
5119     * Implement client RAP calls for enumusers/enumgroups level 0.
5120     * Implement a new caching API for enumerating the pdb elements.
5121     * Convert the RAP user and group enumeration functions to the 
5122       utilized the pdb_search API. 
5123     * BUG 2438: Partial fix for 'net rpc trustdom establish' in 
5124       RestrictAnonymous environments.
5125     * Internal passdb API changes for better search capabilities
5126       (based on original work by Guenther Deschner).
5127     * Fix various compiler warnings.
5128     * Add chain length statistics to tdbtool.
5129     * Fix set afs ACL calls on files and directories in the root of 
5130       a share.
5131     * Refactoring work on internal open code
5132     * Correctly initialize the version in a new set of nt*tdb files.
5133     * Remove smb_run_idle_events() from main process loop in smbd 
5134       and instead rely upon the timeout processing to handle 
5135       dropping idle LDAP connections.
5136     * Fix the bug where users show up as trusting domains.
5137     * Fix an assertion failure in winbindd.
5138     * Fix a memleak in vfs_afsacl.
5139     * Various compiler warning fixes.
5140     * Fix compile when --enable-socket-wrapper is defined.
5141     * Fixes for top level acls in vfs_acl.c.
5142     * Refactor passdb interface functions.
5143     * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
5144     * Correct 2 segv's in "net rpc printer migrate".
5145     * Return correct group type from smbd for BUILTIN groups.
5146     * Backport the talloc() layer from Samba 4.
5147     * BUG 2701: Fix segv in ldap reconnection code.
5148     * BUG 2705: Fix segv when connecting from usrmgr.exe.
5149     * Use the SID in the user token for the %s expansion in 'afs 
5150       username map'.
5151     * Memory leak fixes in passdb code.
5152     * BUG 2720: Fixes for "net usersidlist".
5153     * BUG 2725: Fix segv in "net ads user".
5154     * Only allow schannel connections if a successful Auth2 
5155       has been previously performed.
5156     * Don't look at gencache.tdb for the trusted domains if 
5157       winbind is present.
5158     * Rewrite winbindd using an asynchronous process model.
5161 o   Herb Lewis <herb@samba.org>
5162     * Compiler warning cleanups.
5163     * smbwrapper Makefile and compile time check cleanups.
5164     * Adding robustness checks for tdbdump and tdbtool.
5165     * Extend tdb command line parsing to arbitrary hex characters.
5166     * Add LOCKING debug class.
5167     * Fix more compiler warnings.
5170 o   Derrell Lipman <derrell@samba.org>
5171     * add support for opening a file for write with O_APPEND 
5172       in libsmbclient.
5173     * Added smbsh/smbwrapper for Linux to example/libsmbclient 
5174       tree.
5175     * Fix smbc_stat() from returning incorrect timestamps IFF 
5176       it used cli_qpathinfo2() to retrieve the timestamps (Win2k) 
5177       and not if it used cli-getatr() to retrieve the timestamps 
5178       (Win98). 
5179     * Fix handful of compiler warnings.
5180     * BUG 2498, 2484: smbc_getxattr() fixes.
5181     * BUG 1133: Added provision for overloading some global 
5182       configuration options via the new, per-user file 
5183       ~/.smb/smb.conf.append.
5184     * BUG 2543: Properly cache anonymous username when reverting 
5185       to anonymous login, in libsmbclient.
5186     * BUG 2505: Fix large file support in libsmbclient.
5187     * BUG 2564: Ensure correct errno when smbc_opendir() was called 
5188       with a file rather than a directory.
5189     * Correct deprecated lvalue casts in testsuite/libsmbclient.
5190     * BUG 2663.  cli_getattrE() and cli_setattrE() were not 
5191       formatting or parsing the timestamp values correctly.
5192     * Correctly detect AF_LOCAL support in configure.
5193     * Fix problem updating file times on Windows 98 hosts using 
5194       libsmbclient.
5195     * Fix compile breakage on Solaris by eliminating the use of 
5196       ctime_r() in libsmbclient DEBUG statement.
5199 o   Jason Mader <jason@ncac.gwu.edu>
5200     * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
5201     * Various compiler warning fixes about mistyped variables.
5202     * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes 
5203       and code  cleanups.
5204     * BUG 2527, 2538: Removed unused variables.
5207 o   Marcel <samba.10.maazl@spamgourmet.com>
5208     * Fix regression in OS/2 trans2 open code.
5211 o   Jim McDonough <jmcd@us.ibm.com>
5212     * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
5213       (in conjunction with Volker).
5214     * BUG 2953: Prevent the credentials chain on DC gets out 
5215       of sync with client when NT_STATUS_NO_USER is returned.
5216     * Added subcommands to "net rpc vampire" (mostly done by Don 
5217       Watson <dwatson@us.ibm.com>) to allow data to be put into an 
5218       ldif file instead of actually writing to the passdb.  
5219     * BUG 2736: Add retries to workaround winbind race condition 
5220       with detecting idle clients.
5221     * BUG 2953: Additional fixes for domain trusts.  Also clears
5222       up the "bad stub" error when attempting to logon to a Samba
5223       domain with a bad username.
5226 o   Luke Mewburn <lukem@NetBSD.org>
5227     * Compiler warning fixes.
5230 o   Kalim Moghul <kalim@samba.org>
5231     * Removed unused printmode command from smbclient.
5234 o   Lars Müller <lmuelle@samba.org>
5235     * Re-enable the VERSION_REVISION option in case of another 
5236       letter release.
5237     * Fix spoolss python bindings after C++ compiler changes and 
5238       other python fixes.
5239     * BUG 2659: Don't trump on memory in smbtorture.
5240     * BUG 2060: Add -fPIC which is the case for all other Samba 
5241       shared libs.
5242     * Fix argv parsing in "net rpc".
5243     * Add support to create position independent executable (PIE) 
5244       code if the compiler supports it.
5245     * BUG 2767: Add new options to testparm (--show-all-parameters,
5246       --parameter-name, and --section-name).
5247     * Fix net share migrate files to also migrate the ACLs of 
5248       the top level dir of a share.
5251 o   Marcel Muller <mueller@maazl.de>
5252     * Patch to fix the OS/2 EA_FROM_LIST info level call.
5253     * Mangled names fix for OS/2 clients.
5254     * Ensure we correctly set the return packet size to include the 
5255       pad bytes in reply_readbmpx().
5256     * Fix for bug in SMBwriteBraw that incorrectly returned the 
5257       number of bytes written. 
5260 o   Ricky Nance <ricky.nance@gmail.com>
5261     * Implemented mklogon script generator for domain logon scripts.
5264 o   James Peach <jpeach@sgi.com>
5265     * BUG 1843: Fix quotas (with no soft limits) on IRIX.
5266     * BUG 2285: Patch for hires timestamps and efficient notify code.
5267     * MS-DFS tidyup patches.
5268     * Build fixes on IRIX.
5269     * IRIX compiler warning fixes.
5270     * BUG 2596: Fix become_root link issues and one IRIX stack 
5271       backtrace bug.
5272     * Fix for null pointer ACL free.
5273     * BUG 2314: Fix const compiler warnings in the quota code.
5276 o   Ed Plese <ed@edplese.com>
5277     * Fix faulty logic which caused winbindd to return failure 
5278       when a user possessed no supplementary groups.
5281 o   Marcin Porwit <mporwit@centeris.com>
5282     * Initial support for the \eventlog pipe.
5283     * Fix a memleak in the eventlog code.
5284     * Miscellaneous fixes for Samba's experimental event log support.
5285     * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server 
5286       calls.
5289 o   Tim Potter <tpot@samba.org>
5290     * BUG 2940, 2943: Fixed various compiler warnings regarding 
5291       mismatched types and unused variables.
5292     * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
5293     * BUG 2733: Fix incorrect SHLIBEXT is set when running 
5294       configure script on HPUX IA.
5295     * Remove unused autoconf #define's.
5296     * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
5297     * Removed unused function declarations in tdb.h.
5298     * BUG 2895: Don't wrap non-existent functions in the python 
5299       tdb bindings.
5300     * BUG 2623, 2630: $< and $* are not valid in explicit rules 
5301       according to POSIX.
5302     * BUG 2560: Fix compile error lurking where PATH_MAX is not 
5303       defined.
5304     * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
5305     * BUG 2611: Add fflush(stdout) after displaying username prompt 
5306       in smbsh if username not specified on command line.
5307     * BUG 2699: Fix for segfault in samba.winbind.auth_crap module 
5308     * BUG 2808: Update install swat message to reflect the fact 
5309       that swat/README no longer exists.
5312 o   Denis Sbragion <d.sbragion@infotecna.it>
5313     * BUG 2196: Allow absolute path (system wide) recycle bin.
5316 o   Fernando Schapachnik <fernando@mecon.gov.ar>
5317     * Add logon hours support for the Postgres backend.
5320 o   Richard Sharpe <rsharpe@samba.org>
5321     * Fix bug in profiles tool caused by use of MAP_PRIVATE.
5323 o   Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
5324     * BUG 2362: Quota support fix for DragonFly.
5325     * Fix dragonfly detection in configure.
5328 o   Simo Sorce <idra@samba.org>
5329     * Allow Domain Admins to force user sessions to close via the 
5330       Windows Server Manager.
5331     * Add support to 'net rpc right privileges <name>' to enumerate 
5332       accounts which possess a specific privilege.
5333     * Fix memory issues issues in vfstest (reported by Rainer Link).
5334     * Randomize reloading as to not overload cupsd.
5337 o   Smitty <smitty@plainjoe.org>
5338     * Compile fixes for smbget when using --enable-developer.
5339     * Include LUID values to match Windows privileges since 
5340       apparently this matters to printmig.exe
5343 o   John Terpstra <jht@samba.org>
5344     * Solaris packaging fixes.
5345     * Clean up usage help text in "net rpc user"
5348 o   Andrew Tridgell <tridge@samba.org>
5349     * Merge socket wrapper library fixes from Samba 4.
5352 o   Brett Trotter <blt@iastate.edu>
5353     * Fix definition of global_sid_* in vfs_acl.c.
5356 o   Mark Weaver <mark-clist@npsl.co.uk>
5357     * Patch to fix sys_select so it can't drop signals if another 
5358       fd is ready to read. 
5361 o   Jelmer Vernooij <jelmer@samba.org>
5362     * Remove --with-manpage-languages configure option.
5363     * Merge socket wrapper fixes for IRIX systems from the 
5364       Samba 4 branch.
5365     * Add socket_wrapper library to 3.0. Can be enabled by passing
5366       --enable-socket-wrapper to configure.
5367     * Fix build of the various sql pdb backends after new talloc.
5370 o   Qiao Yang <qyang@stbernard.com>
5371     * Use our own DC when getting the SID for a domain.
5375 Release Notes for older release follow:
5377       --------------------------------------------------
5378                    ===============================
5379                    Release Notes for Samba 3.0.14a
5380                               Apr 14, 2005
5381                    ===============================
5383 Common bugs fixed in 3.0.14a include:
5385   o Compatibility issues between Winbind and Windows 2003 SP1
5386     domain controllers (*2k3sp1*).
5387   o MS-DFS errors with Windows XP SP2 clients.
5388   o High CPU loads caused by infinite loops in the FindNext()
5389     server code.
5390   o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd 
5391     files.
5393     
5394 ######################################################################
5395 Changes
5396 #######
5398 Changes since 3.0.14
5399 --------------------
5401 commits
5402 -------
5403 o   Jeremy Allison <jra@samba.org>
5404     * Fixed invalid SMB_ASSERT() triggered by checking access on
5405        ACL'd files.
5408 Changes since 3.0.13
5409 --------------------
5411 smb.conf changes
5412 ----------------
5414     Parameter Name                      Action
5415     --------------                      ------
5416     dos filetimes                       Enabled by default
5419 commits
5420 -------
5421 o   Jeremy Allison <jra@samba.org>
5422     * Prevent nt_status code support when negotiating protocols
5423       earlier than NT1.
5424     * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
5425       as this SMB is DOS codepage only.
5426     * BUG 2585: Fix printf() issues in smbpasswd which caused
5427       seg faults.
5428     * BUG 2563: Fix infinite loop on non-existent file with 
5429       FindNext().
5430     * BUG 2581 (partial): Ensure if realloc fails on an internal 
5431       tdb we fail gracefully.
5432     * Ensure that 'dos filetimes' works with ACLs.
5433     * Set 'dos filetimes = yes' as the default for smb.conf.
5435       
5436 o   Gerald (Jerry) Carter <jerry@samba.org>
5437     * Workaround autoconf issue to prevent debug symbols from 
5438       being included in the default build.
5439     * Disable schannel on the \lsarpc pipe in order to successfully 
5440       enumerate users and groups (*2k3sp1*)
5441     * Fix parsing error in rpc binds which broke NTLMSSP 
5442       authentication.   And as a result broke CTL+ALT+DEL password 
5443       changes from a Windows 2003 SP1 member of a Samba domain 
5444       (*2k3sp1*).
5445     * Revert change to FindFirst() server code that broke WinXP
5446       SP2 clients from launching *.exe files from a dfs target 
5447       share.
5448     * BUG 2588: Force smbclient to send netbios messages to port 
5449       139 unless otherwise instructed (based on patch from Thomas 
5450       Bork).
5451       
5453 o   Volker Lendecke <vl@samba.org>
5454     * Fix build on FreeBSD 4 where Winbind is not supported.
5455     * Fix 'wbinfo --user-sids' when using domain local groups.
5456     * Restrict domain local groups reported by 'wbinfo -r' to
5457       the Samba server domain and not the users domain.
5460 o   Lin Li <linl@xandros.com>
5461     * Ensure that winbind initializes internal trusted domain 
5462       structures when enumerating users and groups.
5463       
5465 o   Tim Potter <tpot@samba.org>
5466     * BUG 2565: Fix crash bug and compiler warnings in strchr_m() 
5467       test.
5468     * Fix compiler warnings.
5471 o   <psz@maths.usyd.edu.au>
5472     * Fix for possible root squash NFS bugs.
5473     
5474     
5475 o   Simo Sorce <irda@samba.org>
5476     * Debian packaging fixes.
5477     
5479       --------------------------------------------------
5480                    ==============================
5481                    Release Notes for Samba 3.0.13
5482                             Mar 24, 2005
5483                    ==============================
5485 Common bugs fixed in 3.0.13 include:
5487   o Infinite FindNext() loop from Windows 9x client when
5488     copying or deleting files on a Samba file share using 
5489     explorer.exe.
5490   o Numerous smbclient bugs when listing directories.
5491   o Failures in smbclient when connecting to a Windows 9x 
5492     file server.
5494     
5495 ######################################################################
5496 Changes
5497 #######
5499 Changes since 3.0.12
5500 --------------------
5502 o   Jeremy Allison <jra@samba.org>
5503     * Fix typo bug in smbclient where flags overwrote info level
5504       in the cli_list_new().
5505     * Fix old smbclient bug where ff_searchcount was being compared 
5506       to -1 resulting in processing a filename twice.
5507     * Fix segv in smbclient caused by overwriting the last 2 bytes 
5508       in cli_list_new().
5509     * BUG 2530: Fix potential segv in smbclient when talking to a 
5510       Windows 9x file server.
5511     * Fix last entry offset in cli_list_new() when using a 
5512       FindFirst/FindNext info level of 0x104.
5513     * BUG 2501: Stop Win98 from looping doing FindNext on a 
5514       singleton directory. 
5515     * BUG 2521: Fix error in access checks when user group ACLs.
5516       
5517       
5518 o   Gerald (Jerry) Carter <jerry@samba.org>
5519     * BUG 2497: Fix bug in rpcclient's deletedriverex when asking 
5520       to delete all versions of a driver.
5521     * BUG 2517: use the realm from smb.conf for 'net ads info' when 
5522       'disable netbios = yes'.
5523     * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
5524       shares.  
5525     * Update RedHat packaging files to require cups support.  Also
5526       remove requirement for 'idmap {uid,gid}' settings in smb.conf
5527       from winbindd init script.
5528     * BUG 2516: fix compile issue on True64.
5529     
5530       
5531       
5532 o   Guenther Deschner <gd@samba.org>
5533     * Check for the correct cli-struct when copying files in 'net 
5534       rpc printer' routines.
5537 o   Herb Lewis <herb@samba.org>
5538     * Fix incorrect test in 'net rpc user' when the user is not
5539       a member of any groups.
5540       
5541       
5542 o   Jim McDonough <jmcd@us.ibm.com>
5543     * Make sure that enum_group_members() searches the correct suffix.
5544     
5546       --------------------------------------------------
5547                    ==============================
5548                    Release Notes for Samba 3.0.12
5549                             Mar 18, 2005
5550                    ==============================
5552 Common bugs fixed in 3.0.12 include:
5554   o Winbind failures when using 'disable netbios = yes'
5555   o Failure to establish a trust relationship via 'net rpc trust 
5556     establish'
5557   o Various portability & compiler issues.
5558   o Read only file deletion failure caused by new delete semantics 
5559     in Windows XP SP2 and the MS 04-044 security hotfix.
5560   o Error messages from shared Excel workbooks residing on Samba 
5561     file shares.
5562   o Missing files in the output of smbclient -c 'dir' when run 
5563     against Windows file servers.
5564   o Inability for Print Administrators to pause/resume/purge print 
5565     queues.
5567 Additional features introduced in Samba 3.0.12:
5569   o Performance enhancements when serving directories containing 
5570     large number of files.
5571   o MS-DFS support added to smbclient.
5572   o More performance improvements when using Samba/OpenLDAP based 
5573     DC's via the 'ldapsam:trusted=yes' option.
5574   o Support for the Novell NDS universal password when using the
5575     ldapsam passdb backend.
5576   o New 'net rpc trustdom {add,del}' functionality to eventually 
5577     replace 'smbpasswd {-a,-x} -i'.
5578   o New libsmbclient functionality.
5582 =======================
5583 Large Directory Support
5584 =======================
5586 Samba 3.0.12pre1 introduces a specific mechanism for dealing
5587 with file services that frequently contain a large number of files
5588 per directory.  Historically Samba's performance has suffered 
5589 in such environments due to the translation from case 
5590 insensitive lookups by Windows client to the case sensitive
5591 storage mechanisms used by UNIX filesystems.
5593 Configuration details along with a short HOWTO can be found at:
5595 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
5598 ==================================
5599 libsmbclient Binary Compatibility
5600 ==================================
5602 Please note that a change has been made to the _SMBCCTX structure 
5603 in source/include/libsmbclient.h.  This change is not backwards
5604 compatible with applications linked against the libsmbclient.so
5605 library from Samba 3.0.11.  However, it is compatible with all 
5606 other Samba 3.0.x releases.  This means that it will be most likely
5607 be necessary to recompile any applications linked against the 
5608 3.0.11 version of the library.
5611 ######################################################################
5612 Changes
5613 #######
5615 smb.conf changes
5616 ----------------
5618     Parameter Name                      Action
5619     --------------                      ------
5620     allocation roundup size             New
5621     log nt token command                New
5622     write cache                         Deprecated
5626 Changes since 3.0.11
5627 --------------------
5629 commits
5630 -------
5631 o   Jeremy Allison <jra@samba.org>
5632     * BUG 2146: Return correct allocation sizes so as not to crash 
5633       the VC++ compiler.
5634     * BUG 962: Ensure that parsing of service names in smb.conf is 
5635       multibyte safe.
5636     * BUG 2201, 2227: Support new delete semantics used by MS04-044
5637       and XP SP2.
5638     * BUG 1525: Correctly timestamps interpreted on 64-bit time_t 
5639       values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
5640     * Add special hooks when serving directories containing large
5641       numbers of files.
5642     * Ensure that WINS negative name query responses and WACK 
5643       packets use the correct RR type of 0xA instead of reflecting 
5644       back what the query RR type was (0x20).
5645     * BUG 2310: Only do 16-bit normalization on small dfree request.
5646     * BUG 2323: Correct authentication failure when using plaintext 
5647       passwords from Windows XP clients.
5648     * BUG 2146: Add new smb.conf option 'allocation roundup size' to
5649       work around issues building MS Visual Studio 6.0 project 
5650       on a Samba file share while restoring the pre-3.0.21pre1 
5651       behavior by default.
5652     * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of 
5653       stat when checking for existence of a pathname.
5654     * Check the sticky bit on the parent directory for supporting
5655       the new WinXP SP2 file deletion semantics.
5656     * Various oplock, share mode, and byte range locking fixes
5657       found by Connectathon tests.
5658     * BUG 2271: Fix resume key issues in trans2FindFirst() client 
5659       code (inspired by patch from Satwik Hebbar).
5660     * BUG 2382, 2045: More pending modtime and delayed write fixes
5661       for MS Excel (incorporates partial patches from 
5662       ke_miyata@itg.hitachi.co.jp).
5663     * Debug log message cleanups.
5664     * Add case insensitive search for a principal match on logon 
5665       verification in the system keytab (based on patch by 
5666       Michael Brown <mbrown@fensystems.co.uk>).
5667     * Revert the previous SMB signing change from Nalin Dahyabhai
5668       when using DES keys.
5669     * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
5670     * Fix FindFirst() server code to deal with resume names of ".."
5671       and "." (found by Jim McDonough).
5672     * BUG 2451: Fix missing functions in full audit VFS module.
5673     * Ensure that smbd logs failures reported by DISK_FREE()
5674       (reported by Ying Li <ying.li2@hp.com>).
5675     * Ensure that smbclient obeys the max protocol argument again.
5676     * BUG 2335: Return correct error code for OS/2 clients (based on
5677       negotiated protocol level).
5678     * BUG 2460, 2464: remove dead code and unused variables 
5679       (reported by Jason Mader).
5682 o   Andrew Bartlett <abartlet@samba.org>
5683     * Avoid length-limited intermediate copy of NT and LM responses 
5684       in NETLOGON client.
5685     * Debug message cleanups in the NTLMSSP implementation.
5688 o   Manuel Baena <mbaena@lcc.uma.es>
5689     * Print actual error message in smbmnt.c:fullpath().
5692 o   Vince Brimhall <vbrimhall@novell.com>
5693     * Add support for Novell NDS universal password.
5694     * BUG 2424: Ensure that uidNumber and gidNumber use match 
5695       the RFC2307 schema.
5696     * BUG 2453: Change the way pdb_nds.c handles users with no 
5697       Universal or Simple Password.
5698     * NDS schema file corrections.
5701 o   Gerald (Jerry) Carter <jerry@samba.org>
5702     * Add trans2 client call for checking dfs referrals
5703     * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO) 
5704       when checking directories on modern CIFS servers.
5705     * Add MS-DFS support to smbclient.
5706     * Code cleanup of adt_tree.[ch].
5707     * Add missing checks to allow root to manage user rights.
5708     * Allow domain admins to manage rights assignments on domain members
5709       servers.
5710     * BUG 2333: Use the lpq command to pass in the correct printer name 
5711       for cups_queue_get().  CUPS backend now sets 'lpq command= %p' as 
5712       the default.
5713     * BUG 1439: make sure to initialize pointer to prevent invalid 
5714       free()'s on exit.
5715     * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable 
5716       netbios = yes'.
5717     * Add cups-devel to BuidlRequires directive in Fedora spec file.
5718     * BUG 858: Fix order of popt args evaluation so we don't crash 
5719       when given no command line args.
5720     * Remove dependency on bash for source/autogen.sh.
5721     * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
5722     * Implement MS-DFS for recursive directory listings in smbclient.
5723     * BUG 2394: Fix nmbd linking issue on IRIX.
5724     * Only display the publish check box in the client's printer 
5725       properties dialog if we are a member of an AD domain.
5726     * BUG 2363: allow 'in use' driver to be removed as long as 
5727       one 'Windows NT x86' driver remains.
5728     * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for 
5729       porting purposes.
5730     * Enforce better printer.tdb cache consistency when removing 
5731       jobs from a print queue via SMB.
5732     * Ensure that pause/resume/purge print queue commands are run
5733       with the appropriate level of privilege necessary to actually
5734       work.
5735     * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
5736       for 'printing = cups' installations that do not actually have 
5737       libcups.
5738     * BUG 2425: Remove incorrect checks for Win98 DFS clients.
5739     * BUG 2215: Rewrite questionable code that was causing gcc to 
5740       choke.
5741     * Add server support for LsaLookupPrivValue().
5742     * Various small compile fixes and cleanup warnings.
5743     * BUG 2456: Fix compile failure on non-gcc platforms due to
5744       non-standard pragma.
5747 o   Kevin Dalley <kevin@kelphead.org>
5748     * BUG 2398: Don't force smbclient to assume a dry run if the 
5749       target tarfile is /dev/null.
5752 o   Guenther Deschner <gd@samba.org>
5753     * Fix crash bug in the client-spoolss enumdataex-call.
5754     * Expand the valid-workstation-scheme by expanding names 
5755       beginning with a plus (+) as a unix group.
5756     * Allow own netbios name to be set in smbclient's session setup.
5757     * Better handling of LDAP over IPC connections that have expired 
5758       on the LDAP-Server.
5759     * Fix pipe-mismatch for NETDFS in cli_dfs.c.
5760     * Add examples/misc/adssearch.pl.
5761     * BUG 2343: Build fixes.
5762     * Support get_user_info_7 in SAMR server RPC.
5763     * Fix server_role in the samr_query_dom_info calls.
5764     * Add example perl script to check for multiple LDAP entries
5765       after running 'net rpc vampire'.
5766     * Add more output when listing printer forms via rpcclient.
5767     * Debug log message cleanup.
5770 o   Steve French <sfrench@us.ibm.com>
5771     * On failed mount (ENXIO) retry share name in uppercase (fix
5772       mount to FastConnect AIX SMB server).
5773     * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
5774     * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
5775       it with a user name.
5776     * Update for new CIFS POSIX info levels.
5777     * Ignore users mount parm in mount.cifs.
5779 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
5780     * BUG 1549: Don't truncate service names in smbstatus.
5783 o   William Jojo <jojowil@hvcc.edu>
5784     * BUG 2445: Patch to avoid default ACLs on AIX.
5787 o   S Murthy Kambhampaty <smk_va@yahoo.com>
5788     * Add idmap_rid module to Fedora and RedHat spec files.      
5791 o   Volker Lendecke <vl@samba.org>
5792     * BUG 2401: Flush internal getpwnam() cache after deleting a 
5793       user.
5794     * BUG 1604: Make winbind work with more than 10 trusted domains.
5795     * Cleanup various compiler warnings.
5796     * Fix a memory leaks in privileges code and passdb backends.
5797     * Fixes for samr_lookup_sids() client call.
5798     * Optimize _samr_query_groupmem with LDAP backend for large 
5799       domains.
5800     * Support SIDs as %s replacements in the afs username map 
5801       parameter.
5802     * Add 'log nt token command' parameter. If set, %s is replaced 
5803       with the user sid, and %t takes all the group sids.
5804     * Do not use the "Local Unix Group"-default description for 
5805       all kinds of group-mappings. 
5806     * Fix uninitialized variable in Linux nss_winbind library.
5807     * Move 'net afskey' into a subcommand of its own, 'net afs key'.
5808     * Implement 'net afs impersonate'.
5809     
5811 o   Herb Lewis <herb@samba.org>
5812     * Fix build problem when HAVE_POSIX_ACL is not defined.
5813     * BUG 2417: Add help lines for net rpc group addmem and 
5814       delmem commands.
5815     
5817 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
5818     * Add support to libsmbclient for getting and setting DOS 
5819       attributes using EA functions.
5820     * Fix libsmbclient's URL encoding/decoding.
5821     * Replace browse listing URI queries with an internal options 
5822       structure (previous method violated the SMB URI syntax).
5823     * Allow tree connects to be multiplexed over a single CIFS server 
5824       connection context.
5825     * Ensure that cli_tdis() sets the cnum field to -1 so that callers
5826       can determine a dead tree connection.
5827     * Implement better solution for backwards binary compatibility
5828       in libsmbclient while adding new fields to struct _SMBCCTX.
5831 o   Mark Loeser <halcy0n@gentoo.org>
5832     * BUG 2443: Compile fix for gcc4.
5835 o   Jim McDonough <jmcd@us.ibm.com>
5836     * BUG 2338: Fix coredump when OS/2 checks for long file name 
5837       support (with .+,;=[].) (thanks to Guenter Kukkukk).
5840 o   Jason Mader <jason@ncac.gwu.edu>
5841     * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
5842       2341, 2342)
5845 o   Jim McDonough <jmcd@us.ibm.com>
5846     * Fixes for server schannel implementation when 'restrict 
5847       anonymous = 1' is set in smb.conf.
5848     * Fix bug in server side lookupsids reply that crashed lsass.exe 
5849       on Windows clients.
5850     * Fix 'net rpc trustdom establish'.
5851     * BUG 2062: Turn off broadcast for all 390 NICs.
5852     * Fix 'net rpc trustdom add' to correctly add new domain trust 
5853       accounts.  This will eventually replace 'smbpasswd -a -i'.
5854     * Implement 'net rpc trustdom del', including client side of 
5855       samr_remove_sid_from_foreign_domain.
5856     * Bring IBM Directory Server schema up to date with openldap 
5857       schema.
5858     * Allow for better protection of sensitive attributes in IBM
5859       Directory Server.
5862 o   Stefan Metzmacher <metze@samba.org>    
5863     * Fix memleaks in the nttrans code.
5866 o   Mike Nix <mnix@wanm.com.au>
5867     * Add SMBsplopen and SMBsplclose client calls.
5870 o   Justin Ossevoort <justin@snt.utwente.nl>
5871     * BUG 2316: Fix crashes in pdb_pgsql.
5874 o   James Peach <jpeach@sgi.com>
5875     * Fixes in string handling code.
5876     * Fix oplock2 test in client smbtorture.
5879 o   Tim Potter <tpot@samba.org>
5880     * Fix up example pdb modules after prototype change for 
5881       setsampwent.
5882     * BUG 2058: Fix for shared object creation in examples.
5883     * BUG 2315: Fix segv in LSA privileges server code.
5884     * Build fixes for python wrapper libraries.
5887 o   Richard Sharpe <rsharpe@samba.org>
5888     * BUG 2044: Fix segv in profiles tool.
5889     * Fix bogus error messages when enumerating user group 
5890       membership via 'net rpc'.
5893 o   Simo Sorce <idra@samba.org>
5894     * Debian packaging fixes.
5897 o   John Terpstra <jht@samba.org>
5898     * Add the capability to set account description using pdbedit.
5901 o   Doug VanLeuven <roamdad@sonic.net> 
5902     * Add more case/realm/name permutations to the Kerberos keytab.
5903     * AIX compile fixes.
5906 o   Jelmer Vernooij <jelmer@samba.org>
5907     * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
5908     * BUG 1957: Implement minimal update of fields in mySQL pdb 
5909       module.
5910     
5912 o   Torsten Werner <torsten.werner@assyst-intl.com>
5913     * BUG 2405: Define 'lpstat' printcap output on HPUX.
5914     
5916 o   Shlomi Yaakobovich" <Shlomi@exanet.com>
5917     * Detect infinite loops when traversing tdbs.
5920       --------------------------------------------------
5921                    ==============================
5922                    Release Notes for Samba 3.0.11
5923                              Feb 5, 2005
5924                    ==============================
5926 Common bugs fixed in 3.0.11 include:
5928   o Crash in smbd when using CUPS printing.
5929   o Parsing error of other SIDs included in the user_info_3
5930     structure returned from domain controllers.
5931   o Inefficiencies when searching non-AD LDAP directories.
5932   o Failure to expand variables in user domain attributes
5933     in tdbsam and ldapsam.
5934   o Memory leaks.
5935   o Failure to retrieve certain attribute when migrating from 
5936     a Windows DC to a Samba DC via 'net rpc vampire'.
5937   o Numerous printing bugs bugs including memory 
5938     bloating on large/busy print servers.
5939   o Compatibility issues with Exchange 5.5 SP4.
5940   o sendfile fixes.
5942 Additional features introduced in Samba 3.0.11:
5944   o Winbindd performance improvements.
5945   o More 'net rpc vampire' functionality.
5946   o Support for the Windows privilege model to assign rights
5947     to specific SIDs.
5948   o New administrative options to the 'net rpc' command.
5951 ============
5952 LDAP Changes
5953 ============
5955 If "ldap user suffix" or "ldap machine suffix" are defined in
5956 smb.conf, all user-accounts must reside below the user suffix,
5957 and all machine and inter-domain trust-accounts must be located 
5958 below the machine suffix.  Previous Samba releases would fall 
5959 back to searching the 'ldap suffix' in some cases.
5962 ===============
5963 Privilege Model
5964 ===============
5966 Samba 3.0.11 supports the following assignable rights
5968 SeMachineAccountPrivilege  Add machines to domain
5969 SePrintOperatorPrivilege   Manage printers
5970 SeAddUsersPrivilege        Add users and groups to the domain
5971 SeRemoteShutdownPrivilege  Force shutdown from a remote system
5972 SeDiskOperatorPrivilege    Manage disk shares
5974 These rights can be assigned to arbitrary users or groups
5975 via the 'net rpc rights grant/revoke' command.  More details
5976 of Samba's privilege implementation can be found in the 
5977 Samba-HOWTO-Collection.
5978     
5980 ######################################################################
5981 Changes
5982 #######
5984 Changes since 3.0.10
5985 --------------------
5987 smb.conf changes
5988 ----------------
5990     Parameter Name                      Action
5991     --------------                      ------
5992     afs token lifetime                  New
5993     enable privileges                   New
5994     ldap password sync                  Alias
5995     min password length                 Deprecated
5996     winbind enable local accounts       Deprecated
5999 commits
6000 -------
6001 o   Jeremy Allison <jra@samba.org>
6002     * Extend vfs to add seekdir/telldir/rewinddir.
6003     * Fix dirent return.
6004     * Fix bugs when handling secondary trans2 requests.
6005     * Implementation of get posix acls in UNIX extensions.
6006     * Added set posix acl functionality into the UNIX extensions code.
6007     * Updated config.guess/config.sub .
6008     * Fix error reply when 'follow symlinks = no'.
6009     * BUG 1061, 2045: Only set mtime from pending_modtime if it's 
6010       not already zero.
6011     * Fixes for LARGE_READX support.
6012     * Fix the problem we get on Linux where sendfile fails, but we've
6013       already sent the header using send().
6014     * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl 
6015       inherit = no'.
6016     * BUG 2088: Ensure inherit permissions is only applied on a new 
6017       file, not an existing one.
6018     * Don't go fishing for the krb5 authorization data unless we know
6019       it's there.
6020     * Fixes for libsmbclient to ensure that interrupted system calls
6021       are restarted minus the already expired portion of the timeout
6022       (based on work by Derrell Lipman).
6023     * More Unicode string parsing fixes.
6024     * Convert the winreg pipe to use WERROR returns.
6025     * Make all LDAP timeouts consistent (input from Joe Meadows 
6026       <jameadows@webopolis.com>).
6027     * BUG 2231: Remove double "\\" from client findfirst.
6028     * BUG 2238: Fix memory leak in shadow copy vfs.
6029     * Return correct DOS/NT error code on transact named pipe on 
6030       closed pipe handle.
6031     * BUG 2211: Fix security descriptor parsing bug (based on work by 
6032       Mrinal Kalakrishnan <mail@mrinal.net>).
6033     * BUG 2270: Fix memory leaks in cups printing backend support 
6034       (based on work by Lars Mueller).
6035     * BUG 2255: Fix debug level in Kerberos error messages.
6036     * BUG 2110: Ensure we convert to ucs2 correctly after the 
6037       CAN-2004-0930 patch.
6038     * Make strict locking an enum. Auto means use oplock optimization.
6039     * Fix client  & server to allow 127k READX calls.
6040     * More *alloc fixes (includes additional fixes by Albert Chin.
6041     * Catch sendfile errors correctly and return the correct values 
6042       we want the caller to return.
6043     * BUG 2092: Prevent auto-anonymous logins via libsmbclient 
6044       for better use by desktop environments such as GNOME.
6045     * Ensure we can't remove a level II oplock without having the
6046       shared memory area locked.
6047             
6049 o   Timur Bakeyev <timur@com.bat.ru>
6050     * BUG 2100: change the way we check for errors after a dlopen().
6051     * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
6052     
6053     
6054 o   Andrew Bartlett <abartlet@samba.org>
6055     * Clarify error message when 'lanman auth = no'.
6056     * Remove the unnecessary UTF-8 conversion calls in the calls to
6057       auth_winbind from smbd.
6058     * Don't store the auth-user credentials with the cli_state* as 
6059       this can cause the schannel setup to fail when the auth-user
6060       domain is not our primary domain.
6063 o   Grigory Batalov <bga@altlinux.org>
6064     * Fix encoding while receiving of a message which was actually 
6065       sent using STR_ASCII.
6068 o   Daniel Beschorner <db@unit-netz.de>
6069     * BUG 603: Correct access mask check for _samr_lookup_domain()
6070       to work with Windows RAS server
6073 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
6074     * Fix missing printer_tdb reference decrement.
6075     
6077 o   Gerald (Jerry) Carter <jerry@samba.org>
6078     * BUG 2073: fall back to smb_name if current_user_info is not
6079       available in lp_file_list_changed().
6080     * Fixes the spurious 'register_message_flags: tdb fetch failed' 
6081       errors.
6082     * Don't run the background LPQ daemon when we are running in
6083       interactive mode.
6084     * prevent the background LPQ daemon from updating the print queue
6085       cache just because multiple smbd processes sent a message that
6086       it was out of date.
6087     * consolidate printer searches to use find_service rather than 
6088       for(...) loops.
6089     * BUG 2091: don't remove statically defined printers in 
6090       remove_stale_printers().
6091     * Fix logic error in add_a_form() that only compared N characters 
6092       instead of the entire form name.
6093     * BUG 2107: fix memory bloating caused by large numbers of 
6094       print_queue_updates() requests sent via messages.tdb.
6095     * Check the setprinter(3) based on the access permissions on 
6096       the handle and avoid the call to print_access_check().
6097     * Re-instantiate previous semantics for calling init_unistr2() 
6098       with a NULL source buffer.
6099     * Support Windows privilege model for assigning rights
6100       to specific SIDs.  Based on work by Simo Sorce in the trunk 
6101       svn branch.  This feature is controlled by the 'enable 
6102       privileges = [yes|no]' smb.conf(5) option.
6103     * Add some smb.conf scripts for add/delete/change shares and 
6104       deleting cups printers.
6105     * Expand variables in the profile path, logon home and logon script 
6106       values when using either tdbsam or ldapsam.
6107     * Add Domain Admins (Full Control) to the default printer security 
6108       descriptor if we are a DC.
6109     * RedHat and Fedora Packaging fixes for perl dependencies.
6110     * Remove unused schema items from OpenLDAP schema file.
6111     * Remove duplicate enumeration of "Windows x86" architecture
6112       when listing printer drivers via rpcclient.
6113     * Fail set_privileges() if 'enable privileges = no' to prevent 
6114       confused admins.
6115     * Fix segfault in cups_queue_get().
6116     * Tighten restrictions on changing user passwords when 
6117       the connected user possesses the SeMachineAccountPrivilege.
6118     * Ensure we set NETBIOSNAME.domainname for the long machine name
6119       when publishing printers in AD (based on input from Rob Foehl).
6120     * Mark 'winbind enable local accounts' as deprecated.
6121     * Mark testprns tool as deprecated.
6122     * Allow root to grant/revoke privilege assignments.
6123     * Correct interaction between user rights and se_access_check() on
6124       SAMR objects.
6125     * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object 
6126       class.
6127     * BUG 2262: Add support in configure.in for *freebsd6*.
6128     * BUG 2266: Portability fixes for quota code on FreeBSD4.
6129     * BUG 2264: Remove shutdown and abortshutdown commands from 
6130       rpcclient in favor of using the same functions in 'net'.
6131     * BUG 2295: Prevent smbd from returning an empty server name
6132       in certain lanman api calls.
6133     * BUG 2290: Fix autogen.sh script in examples (based on original
6134       patch from Lars Mueller).
6135     * Fix bug enumerating domain trusts in security = ads.
6136     * Fix segv in rpcclient's dsenumdomtrusts.
6137     * Fix bug in expansion of %U and %G in included filenames.
6138     * BUG 2291: Restrict creation of server trust and domain trust
6139       accounts to members of the "Domain Admins" group.
6141 o   Nadav Danieli <nadavd@exanet.com>
6142     * Short circuit some is_locked() tests if we are oplocked.
6143     
6144     
6145 o   Guenther Deschner <gd@samba.org>
6146     * Allow 'localhost' as a valid server name in the smbd for the
6147       spoolss calls.
6148     * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
6149       Mewburn for the input).
6150     * BUG 2059: Add additional checks needed after logic change to the
6151       HAVE_WRFILE_KEYTAB detection test.
6152     * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a 
6153       Samba DC.  Allow us to lookup at least our own SID.
6154     * More fixes to have proper German in swat (Thanks to Reiner 
6155       Klaproth and Björn Jacke.
6156     * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while 
6157       setting security descriptors with smbcacls and using with 
6158       the -S or -M switch. 
6159     * Include the munged_dial, bad_password_count, logon_count, and 
6160       logon_hours attributes when running 'net rpc vampire'.
6161     * Fix segfault in idmap_rid.
6162     * When winbindd is operating in the multi-mapping mode of 
6163       idmap_rid, allow BUILTIN domain-mapping.
6164     * Display infolevel 12 in query_dom_info in rpcclient.
6165     * Fix bug in winbindd's lowercasing of usernames.
6166     * Allow -v or -l for displaying verbose groupmap-listing 
6167       as well as "verbose".
6168     * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc 
6169       vampire'.
6170     * Close LDAP-Connection before retrying to open a new connection 
6171       in the retry-loop.
6172     * Marking "min password length" as depreciated.  
6173     * Implement SAMR query_dom_info-call info-level 8 server- and 
6174       client-side, based on samba4-idl.
6175     * Allow rpcclient to define a port to use when connecting 
6176       to a remote server.
6177     * Allow Account Lockout with Lockout Duration "forever" (until 
6178       admin unlocks) to be set and displayed in User Manager.
6179     * Allow to set acb_mask in rpcclient's enumdomusers.
6180     * Add more generic rootDSE inspection function to check 
6181       for given controls or extensions and remember these on a 
6182       per server basis.
6183     * Improve LDAP search efficiency by passing the acb_mask to 
6184       pdb_setsampwent().
6185     * Fixes for ldapsam_enum_group_memberships().
6186     * Add createdomgroup to rpcclient.
6187     * Add "net rpc user RENAME"-command.
6188     * Display sam_user_info_7 in rpcclient.
6189     * Make multi-domain-mode in idmap_rid accessible from outside 
6190       (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
6191     * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor 
6192       "Lockout Duration: Forever".
6193     * Fix configure.in tests using KRB5_CONFIG variable and krb5-
6194       config utility.
6195     * Require assignment of Administrator SID in the passdb 
6196       backend.  Fall back to the default name of 'Administrator' if
6197       the lookup fails rather than using the first name in the
6198       default 'admin users' list.
6199     * Enhance LDAP failure debug messages.
6200     * BUG 2291: Call the 'add machine script' for server trust and 
6201       domain trust accounts as well as workstation accounts.
6202     
6203     
6204 o   Levente Farkas <lfarkas@lfarkas.org>
6205     * BUG 2299: Better logrotate scripts for RedHat and Fedora 
6206       packages.
6209 o   Jay Fenlason <fenlason@redhat.com>
6210     * Fix crash in 'net join' due to calling free on 
6211       static buffers.
6212     * Several patches from RedHat's Fedora Core RPMS.
6215 o   Rob Foehl <rwf@loonybin.net>.
6216     * Compiler warnings.
6217     * Try modifying printer published attributes before adding it a
6218       new entry in AD.
6219     * Solaris packaging fixes.
6220     * Don't force the cups printer-make-and-model tag as the comment
6221       for autoloaded printers.
6222     * Implement caching of names from printcap to support a true
6223       'printcap cache time'.
6226 o   Johann Hanne <jhml@gmx.net>
6227     * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
6230 o   Jeff Hardy <hardyjm@potsdam.edu>
6231     * Example script for 'add print command' when using CUPS.
6234 o   Deryck Hodge <deryck@samba.org>
6235     * Add -P (--password-only-menu) to SWAT for displaying only the
6236       password change page to non-root users.
6239 o   David Hu <david.hu@hp.com>
6240     * Copy structure from print_queue_update() message rather than 
6241       referencing it.  Fixes seg fault on HP-UX.
6242       
6243       
6244 o   Buck Huppmann <buckh@pobox.com>
6245     * BUG 2186: Don't free uninitialized credentials.
6246     * BUG 2189: Add the HOST/fqdn servicePrincipalName even when 
6247       dnsDomainName != realm.
6248    
6250 o   Björn Jacke <bjoern@j3e.de>
6251     * BUG 2040: Ensure the locale is reset to C to get ASCII-
6252       compatible toupper/lower functions.
6255 o   William Jojo <jojowil@hvcc.edu>
6256     * Fix HPUX sendfile and add configure.in tests and code for
6257       sendfile on AIX.
6258     * AIX 5.3 compile fixes.
6261 o   Volker Lendecke <vl@samba.org>
6262     * Optimize anonymous session setups by workstations in a 
6263       Samba domain.
6264     * Reimplment the QueryUserAliases() server RPC reply.
6265     * Re-add the getpwnam-cache for performance.
6266     * Cache the result of a pdb_getsampwnam for later SID lookup 
6267       queries.
6268     * Unify the means of localtaing a user's global groups on a 
6269       Samba DC.
6270     * Fix bug when serving the 'Start Menu' in a roaming user profile..
6271     * Map more pre-defined NT security descriptors to AFS acls.
6272     * Add timeout to AD search requests.
6273     * If a connection to a DC is requested (in winbindd), open
6274       connections simultaneously to all DCs found.
6275     * Memleak fixes.
6276     * Fix logic error in handling of 'printcap name' parameter.
6277     * Prevent winbindd from SPAM'ing the log files with 'user root 
6278       does not exist'.
6279     * Backport samr_DomInfo2 IDL specification from Samba 4.
6280     * Implement smbstatus -n, don't lookup users and groups.
6281     * Implement simple mapping that maps the space to another character 
6282       defined by afsacl:space.
6283     * Add support for 'net idmap delete <idmap-file> <SID>'.
6284     * Add new parameter 'afs token lifetime' tells the AFS client 
6285       when to throw away a token (patch from kllin@it.su.se).
6286     * Initial work to allow support for multiple pipe opens on a 
6287       single cli_state*.
6288     * Ensure that we still retrieve the netbios name of any DC 
6289       listed as a 'password server' to work around cases where the 
6290       DC was defined using an IP address or fqdn.
6291     * Fix memleak in winbindd connection code.
6292     * Fix cli_samr_queryuseraliases.
6293     * Allow wbinfo --user-sids to expand expand domain local groups.
6294     * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
6295     * Fix parsing of other_sids in net_user_info3.
6296     * Correct bad failure logic when user was not a member of any 
6297       domain local groups.
6298     
6300 o   Jason Mader <jason@ncac.gwu.edu>
6301     * BUG 2113, 2289: Remove dead code.
6304 o   Jim McDonough <jmcd@us.ibm.com>
6305     * BUG 1952: Try INITSHUTDOWN pipe first, used by newer 
6306       clients.  If it fails, fall back to WINREG.
6307     * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
6308     * BUG 2198: Set password last change time when running 'net rpc 
6309       vampire'.
6310     * Add "refuse machine password change" policy field.
6313 o   Luke Mewburn <lukem@NetBSD.org>
6314     * BUG 2150: shmget() - Use POSIX definitions instead of non-
6315       standard SHM_.
6316       
6318 o   Stefan Metzmacher <metze@samba.org>    
6319     * autogen.sh fixes.
6322 o   Buchan Milne <bgmilne@mandrake.org>
6323     * Mandrake packaging fixes.
6326 o   Lars Mueller <lmuelle@samba.org>
6327     * Fix build of libsmbclient on x86_64.
6328     * BUG 2013: Fix testsuite build issues when libsmbclient.so 
6329       is installed in a non-default location.
6330     * BUG 2050: Calculate max_fd for select correctly.
6331     * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf 
6332       script.
6335 o   Jason Mader <jason@ncac.gwu.edu>
6336     * BUG 2069: Remove unused variables.
6337     * BUG 2075: Remove dead code paths.
6338     * BUG 2083: Fix compiler warnings caused by bad type casts.
6341 o   James Peach <jpeach@sgi.com>
6342     * Fix rewinddir -> rewind_dir when using VFS macros.
6343     
6345 o   Gavrie Philipson <gavrie@disksites.com>
6346     * BUG 1838: Remove stale printers imeeddiately when 
6347       processing a SIGHUP and during smb.conf reload.
6349       
6350 o   Tim Potter <tpot@samba.org>
6351     * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
6352     * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
6353     * Change the license for the winbindd external interface 
6354       more liberal.
6355     * HP-UX compile fixes.
6356     * Compile fixes after new setsampwent() API.
6359 o   Richard Renard <rrenard@idealx.com>
6360     * Update Netscape DS 5.2 LDAP schema.
6363 o   Simo Sorce <idra@samba.org>
6364     * Backport pdbedit changes from trunk.
6365     * Allows the add/change share command to create the shared 
6366       directory directory on disk.
6367     * Log a warning in testparm if a print command is defined for
6368       a print service using 'printing = cups'.
6369      
6370 o   Jelmer Vernooij <jelmer@samba.org>
6371     * Bug fixes for pdb_{xml,pqsql,xml}
6372     * Fixes for pdb_mysql.
6375 o   Andrew Tridgell <tridge@samba.org>
6376     * Bring Samba3 into line with the Samba4 password change code.
6377     
6379 o   Shiro Yamada <shiro@miraclelinux.com>
6380     * BUG 2190: Force SWAT to display parameters in unix charset and 
6381       not UTF-8.
6384       --------------------------------------------------
6385                    ==============================
6386                    Release Notes for Samba 3.0.10
6387                              Dec 16, 2004
6388                    ==============================
6390 Common bugs fixed in 3.0.10 include:
6392   o Fix for security issues described in CAN-2004-1154.
6395 Changes since 3.0.9
6396 -------------------
6398 commits
6399 -------
6401 o   Jeremy Allison <jra@samba.org>
6402     * Added checks surrounding all *alloc() calls to fix
6403       CAN-2004-1154.
6404     * Fix long standing memory size bug in bitmap_allocate().
6405     * Remove bogus error check in deferred open file serving 
6406       code.
6409 o   Thomas Bork <tombork@web.de>
6410     * Fix autoconf script on platforms using a version of GNU ld
6411       that does not include a date stamp in the output of --version.
6414 o   Luke Mewburn <lukem@NetBSD.org>
6415     * Fix the swat install script to deal with the new image
6416       destination directory used by the docs.
6417      
6420       --------------------------------------------------
6422                    =============================
6423                    Release Notes for Samba 3.0.9
6424                              Nov 15, 2004
6425                    =============================
6427 Common bugs fixed in 3.0.9 include:
6429   o Problem updating roaming user profiles.
6430   o Crash in smbd when printing from a Windows 9x client.
6431   o Unresolved symbols in libsmbclient which caused
6432     applications such as KDE's konqueror to fail when
6433     accessing smb:// URLs.
6436 Changes since 3.0.8
6437 -------------------
6440 commits
6441 -------
6443 o   Jeremy Allison <jra@samba.org>
6444     * Correctly detect errno for no acl/ea support.
6445     * BUG 2036: Fix seg fault in 'net ads join'.
6447     
6448 o   Gerald (Jerry) Carter <jerry@samba.org>
6449     * Solaris packaging fixes.
6450     * Fix seg fault in lanman printing code.
6451     * BUG 2017: fix testparm reporting for the passwd program 
6452       string.
6453     * Fix output of smbstatus to match the man page.
6454     * BUG 2027: fix conflict with declaration MD5_CTX in system 
6455       headers.
6456     * 2028: Avoid false error messages when copying a long 
6457       printer name to the device mode.
6460 o   Guenther Deschner <gd@samba.org> 
6461     * Allow deldriverex in rpcclient to delete drivers for a 
6462       specific architecture and a specific version.
6463     * Fix a couple of rpcclient spoolss commands (setprinter, 
6464       setprintername, getdriver) w.r.t to printer-naming scheme.
6465       Allow 'localhost' in the server string for certain server-side
6466       spoolss functions.
6467     * BUG 2015: Do not fail on setting file attributes with 
6468       acl support enabled.
6471 o   Michel Gravey <michel.gravey@optogone.com>
6472     * Fix build when using gcc 3.0.
6475 o   Volker Lendecke <vl@samba.org>
6476     * Fix tdb open logic when checking our local_pid after 
6477       the fork().
6480 o   Jim McDonough <jmcd@us.ibm.com>
6481     * BUG 1932: Fix crash in 'net getlocalsid' when run as 
6482       non-root user.
6485 o   Luke Mewburn <lukem@NetBSD.org>
6486     BUG 1661: Fix KRB5_SETPW-defines
6489 o   Buchan Milne <bgmilne@mandrake.org> 
6490     * BUG 2023: Mandrake packaging fixes for building 3.0.9.
6493 o   Lars Mueller <lmuelle@samba.org>
6494     * BUG 2013: Fix unresolved symbols in libsmbclient.so.
6497 o   Martin Zielinski <mz@seh.de>
6498     * Add DeletePrinterDriverEx() functionality to rpcclient.
6499     
6501       --------------------------------------------------
6503                    =============================
6504                    Release Notes for Samba 3.0.8
6505                              Nov 7, 2004
6506                    =============================
6508 Common bugs fixed in 3.0.8 include:
6510   o Compile fixes for HP-UX
6511   o Fixes for the printer publishing code used when joined to 
6512     an AD domain.
6513   o Incompatibilities with file system quotas.
6514   o Several bugs in the spoolss printing code and print system 
6515     backends.
6516   o Inconsistencies in the username map functionality when 
6517     configured on domain member servers.
6518   o Various compile warnings and errors on various platforms.
6519   o Fixes for Kerberos interoperability with Windows 200x 
6520     domains when using DES keys.
6521   o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
6522   o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
6524     
6525 New features included in the 3.0.8 release are:
6527   o New migration functionality added the the net tool
6528     for files/directories, printers, and shares.
6529   o New experimental idmap backend for assigning uids/gids
6530     directly based on the user/group RID when acting as a
6531     member of single domain without any trusts.
6532   o Additional printer migration support for XP/2003 platforms.
6535 ===========================
6536 Change in Winbindd Behavior
6537 ===========================
6539 All usernames returned by winbindd are now converted to lower 
6540 case for better consistency.  This means any winbind installation
6541 relying on the winbind username will need to rename existing 
6542 directories and/or files based on the username (%u and %U) to lower 
6543 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may 
6544 include mail spool files, home directories, valid user lines in 
6545 smb.conf, etc....
6548 ======================
6549 Change in Username Map
6550 ======================
6552 Previous Samba releases would only support reading the fully qualified 
6553 username (e.g. DOMAIN\user) from the username map when performing a 
6554 Kerberos login from a client.  However, when looking up a map 
6555 entry for a user authenticated by NTLM[SSP], only the login name would be
6556 used for matches.  This resulted in inconsistent behavior sometimes
6557 even on the same server.
6559 Samba 3.0.8 obeys the following rules when applying the username
6560 map functionality:
6562   * When performing local authentication, the username map is 
6563     applied to the login name before attempting to authenticate 
6564     the connection.
6565   * When relying upon a external domain controller for validating
6566     authentication requests, smbd will apply the username map 
6567     to the fully qualified username (i.e. DOMAIN\user) only
6568     after the user has been successfully authenticated.
6571 ######################################################################
6572 Changes
6573 #######
6575 Changes since 3.0.7
6576 -------------------
6578 smb.conf changes
6579 ----------------
6580     Parameter Name                      Action
6581     --------------                      ------
6582     force printername                   New
6583     sendfile                            disabled by default
6586 commits
6587 -------
6589 o   Jeremy Allison <jra@samba.org>
6590     * Ensure extended security bit is on only if we negotiated 
6591       extended security.
6592     * Simplify statcache to use an in-memory tdb. 
6593     * If you're selecting a hash algorithm for tdb, you need 
6594       to do it at open time.
6595     * Removed old dir caching code - not being used now we 
6596       have the statcache anyway.
6597     * Simplify the mangle hash code to use an in-memory tdb.
6598     * Merge iconv changes from Samba 4 branch.
6599     * Fix parsing of names ending in dot and a few other error 
6600       returns.
6601     * BUG 1667: Smbpasswd file could be left locked on some 
6602       error exits.
6603     * Fixes for smbclient tar functionality.
6604     * BUG 1743: Fix logic bug the deferred open code.
6605     * Don't try to set security descriptors on shares where 
6606       this has been turned off.
6607     * Return correct error codes on old SEARCH call.
6608     * Ensure we set errno = E2BIG when we overflow in the 
6609       fast-path character conversion code.
6610     * Fix the roundup problem (returning 1mb roundup) for 
6611       non-Windows clients.
6612     * Added 'stat' command to smbclient to exercise the 
6613       UNIX_FILE_BASIC info level.
6614     * Fix bug where we could incorrectly set sparse attribute.
6615     * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
6616       (reported by Taj Khattra <taj.khattra@gmail.com>).
6617     * Remove locked keys tdb code.
6618     * BUG 1886: Prevent delete on close being set for readonly files 
6619       (and return the correct error code).
6620     * Ensure we pass most of the new lock tests except for the cancel 
6621       lock which is yet to be added (merged from Samba 4 branch).
6622     * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
6623     * BUG 1956: Ensure errno is saved and restored consistently on a 
6624       normal_close.
6625     * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring 
6626       that all of the appropriate service principal names are set 
6627       upon joining an AD domain.
6628     * Fix the correct use of resume name in the trans2 code.
6629     * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
6630       correct salt used when generated the DES key after joining an 
6631       AD domain.
6632     * Enhanced krb5 detection routines in the autoconf scripts.
6633   
6635 o   Andrew Bartlett <abartlet@samba.org>
6636     * Avoid changing the machine account password in the passdb 
6637       backend, when it has 'already been changed'.  This occurs 
6638       in situations where the secure channel between the workstation 
6639       and the DC breaks down, such as occurred in the MS04-11 
6640       security patch.
6641     * Fix utility name in error message in ntlm_auth.
6642     * Fix NTLMv2 for use with pam_winbind.
6643     * Remove conversion to and from UTF8 on the winbind pipe.
6644     * Allow 'require_membership_of' and 'require-membership-of'.
6645     * Fix the error code for 'you didn't specify a domain' in 
6646       ntlm_auth.
6647     * Use sys_getgroups() rather than scanning all groups 
6648       when generating SAMR replies.
6651 o   Igor Belyi <sambauser@katehok.ac93.org>
6652     * Ensure pdb user is deleted first before deleting UNIX 
6653       user (LDAP backend needs this ordering).
6656 o   Cornelio Bondad Jr <Corny.Bondad@hp.com>
6657     * Fix core dump in 'net rpc vampire'.
6658     
6660 o   Vince Brimhall <vbrimhall@novell.com>
6661     * Make ldapsam_compat robust against NULL attributes.
6664 o   Gerald Carter <jerry@samba.org>
6665     * Don't limit the number of groups returned by winbindd_getgroups()
6666       by NGROUPS_MAX.
6667     * BUG 1519: Match Windows 2000 behavior when opening a 
6668       printer using a servername in the form of an IP address or 
6669       DNS name.
6670     * BUG 1907: remove extra slashes from the printer name in 
6671       getprinterdriverdir_1().  
6672     * Fix standard_sub_snum() to use the current user's gid.
6673     * Fix background queue update bug (based on Volker's initial work 
6674       in 3.1.0).
6675     * Add 'force printername' service parameter for people that want 
6676       to enforce printername == sharename for spoolss printing.
6677     * Ensure consistent usage of the username map.  Use the fully 
6678       qualified DOMAIN\user format for 'security = domain|ads' and 
6679       apply after authentication has succeeded.
6680     * Cosmetic fix for getent output -- lowercase the username only 
6681       and not the complete domain\username string.
6682     * Packaging fixes for Solaris, Redhat, & Fedora.
6684     
6685 o   Sean Chandler <sean.chandler@verizon.net>
6686     * Fix memlieak in cliconnect.c.
6689 o   Darren Chew <darrenc@vicscouts.asn.au>
6690     * Solaris packaging fixes.
6691     
6693 o   Nalin Dahyabhai <nalin@redhat.com>
6694     * SMB signing fix for 56-bit DES session keys.
6697 o   Guenther Deschner <gd@samba.org> 
6698     * add IA64 to the architecture table of printer-drivers.
6699     * Add file/share/printer migration functionality to 
6700       the net command.
6701     * Show correct help for net groupmap commands.
6702     * Fix deadlock loop in winbind's required_membership_sid
6703       verification.
6704     * Bring the same level of "required_membership"-functionality 
6705       that ntlm_auth uses, to pam_winbindd as well.
6706     * Prevent "net lookup kdc" from seg-faulting when
6707       using our own implementation of krb5_lookup_kdc with 
6708       heimdal.
6709     * Adding getprinter level 7 to rpcclient.
6710     * Support migrating printers|shares|files from Server A 
6711       to Server B while running the net-command on client C.
6712     * Fixed krb5_krbhost_get_addrinfo()-parameters and make 
6713       failure of this call non-critical (Thanks to Love @ Heimdal
6714       for the explanation and patch).
6715     * Fix typos in net's usage-output.
6716     * Fix the paranoia-check to ensure the ldap-attribute and the
6717       smb.conf-parameter for samba's "algorithmic rid base" in ldapsam 
6718       are identical.
6719     * Fix several bugs in the _samr_query_useraliases() rpc reply.
6720     * Check correct string length when verifying password-policies 
6721       and using extended characters (Thanks to Uwe Morgenroth from CC 
6722       Compunet and Volker).
6723     * Make 'password history'-behavior in ldapsam more consistent. 
6724     * Adding "Windows x64" as architecture string and driverdir "x64" 
6725       for the 64bit AMD platform.
6726     * BUG 1343: Readd WKGUID-binding to match the correct default-
6727       locations of new User-, Group- and Machine-Accounts in Active 
6728       Directory (this got lost during the last trunk-merge).
6729     * Fix printer-migration w.r.t. to new naming-convention for
6730       policy-handles.
6731     * Allow to migrate win2k3/xp-drivers as well. 
6732     * Add client-side support of triggering ads printer publishing 
6733       over msrpc setprinter calls inside the net-tool. 
6734     * Add the idmap_rid module (written in conjunction with 
6735       Sumit Bose <sbose@suse.de>).
6736     * BUG 1661: Fix build with recent heimdal releases.
6737     * Prevent idmap_rid from making unnecessary calls to domain 
6738       controllers for trusted domains.
6741 o   Arthur van Dongen <avdongen@xs4all.nl>
6742     * Fix typos in pam_winbind log messages and SuSE 
6743       packaging files.
6746 o   Rob Foehl <rwf@loonybin.net>
6747     * Typo fixes for log messages in printer publishing code.
6748     * Fix memory leak in printer publishing code.
6749     * Ensure print_backend_init() only gets called once.
6750     * Have smbd check the published status of all printers 
6751       at startup.
6752     * Cleanup up the XXX_a_printer() API for consistency.
6753     * Refactored the printer publishing code and include better 
6754       error handling.
6757 o   Steve French <sfrench@us.ibm.com>
6758     * Fix IP address override in mount.cifs mount helper and clean 
6759       up warning messages from the sparse tool and expand syntax help.
6760     * Strip guest mount option off before sending to kernel mount 
6761       routine to avoid logging spurious message.
6764 o   Satoh Fumiyasu <fumiya@samba.gr.jp>
6765     * BUG 1732: Limit share names returned by RAP based on windows 
6766       character width, not unix character width.
6767     * BUG 1498: Ensure that acl entries are stored in the correct 
6768       order.
6771 o   Brett Funderburg <brett@deepfile.com>
6772     * Pass create options parameter to nt_create_andx() function
6773       from the python bindings.
6774     * BUG 1864: Add sd->type field to security descriptor Python 
6775       representation.
6776     * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
6777       when trying to return the security descriptor for a file.
6778     * BUG 1884: Fixes for the Python bindings to use the value
6779       of the desired_access filed passed into the lsa_open_policy()
6780       routines.
6783 o   Michael Gravey <michel.gravey@optogone.com>
6784     * BUG 1776: Fix warnings when building modules caused by 
6785       certain versions of GNU ld not using the the default 
6786       --allow-shlib-undefined flag.
6789 o   Chris Hertel <crh@samba.org>
6790     * Fix logic bug in splay tree data structure when finding 
6791       a leaf node.
6792     * Fix bug where an invalid MAC address would be printed by 
6793       a node status lookup from nmblookup.
6795       
6796 o   Uli Iske <iske@elkb.de>
6797     * Update the DNS/eDirectory LDAP schema file.
6800 o   Björn Jacke <bjacke@sernet.de>
6801     * BUG 1766: Unify charset-handling in Content-Type:-headers to 
6802       UTF-8.  Reformat msgstr in msg-files to UTF-8.
6803     * Do not use display charset for swat output.
6804     * Convert the share names correctly from unix encoding to web 
6805       encoding and vice versa. 
6806     * Convert files from status page from unix charset to UTF-8.
6809 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
6810     * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
6813 o   Tom Lackemann <cessnatomny@yahoo.com>
6814     * BUG 1954: Fix memory leak in posix acl code.
6817 o   Volker Lendecke <vl@samba.org>
6818     * Robustnss fix for winbindd when sending multiple requests 
6819       at a high rate for a slow operation.  
6820     * Solve the problem of user sids ending up with gid's 
6821       and vice versa.
6822     * Use sys_fork instead of fork for the dual daemon so that 
6823       we get the correct debug pid in the logfiles.
6824     * Based on patch from jmcd, implement special lists for the LDAP 
6825       user attributes to delete.
6826     * Fix creation of aliases via usrmgr. Winbind was too strict 
6827       checking the type of sids.
6828     * Lowercase all usernames returned by winbind.
6829     * BUG 1545, 1823: Only issue the ldap extended password change 
6830       operation if the ldap server supports it.  Also ignore object 
6831       class violation errors from the extended operation.
6832     * Optimization for 'idmap backend = ldap': When asking sid2id 
6833       for the wrong type, don't ask ldap when we have the opposite mapping 
6834       in the local tdb.
6835     * Fix ldapsam_compat homeDrive.
6836     * Add usersidlist and allowedusers subcommands to the net tool
6837       in order to support scanning a file server's share and list 
6838       all users who have permission to connect there.
6839     * Allow for multiple DC's to be named as #1c names in lmhosts.
6840     * Memory leak fixes.
6841     * Fix checks for the local pid of an smbd process after 
6842       reopening tdbs.
6845 o   Herb Lewis <herb@samba.org>
6846     * Added tdbtool to be built by default.
6849 o   Love <lha@stacken.kth.se>
6850     * BUG 1955: Inconsistent error return.
6853 o   Sorin Manolache <sorinm@gmail.com>
6854     * Memory leak fix.
6857 o   Jim McDonough <jmcd@us.ibm.com>
6858     * Allow 'net ads lookup' to rely on command line arguments 
6859       if contacting an ADS server fails; utilize cldap for lookups.
6860     * Fixup formatting errors in TDB_LOG calls; add printf attribute
6861       support to tdb log functions.
6864 o   Bill McGonigle <bill+samba@bfccomputing.com>
6865     * BUG 1926: Type in debug message.
6868 o   Sean McGrath
6869     * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
6870       for libsmbclient.
6873 o   Luke Mewburn <lukem@NetBSD.org>
6874     * BUG 1782: Prevent testparm from displaying parameter synonyms.
6877 o   Stefan Metzmacher <metze@samba.org>    
6878     * Fix crash in smbcquotas and smbcacls caused by setup_logging().
6879     * Fix client quota support.
6880     * Fix opening of system quota file.
6883 o   Lars Mueller <lmuelle@samba.org>
6884     * Small fixes for autogen.sh to deal with version detection 
6885       of autoconf and autoheader; fixes for examples using 
6886       libtool to adhere to stricter syntax of newer version.
6889 o   Henrik Nordstrom <hno@squid-cache.org>
6890     * Allow winbindd to return the correct number of groups 
6891       when the groups array must be enlarged.
6894 o   Narayana Pattipati <narayana.pattipati@wipro.com>
6895     * Solaris autoconf detection fixes.
6898 o   Tim Potter <tpot@samba.org>
6899     * BUG 1360: (correct fix) Use -Wl when passing flags to 
6900       the linker.
6901     * HP-UX compile fixes (from JBravo on #samba-technical).
6902     * BUG 1731: More HP-UX compiles fixes.
6903     * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2 
6904       spits the dummy otherwise.
6905     * Fix bug in Python printerdata wrapper.
6906     * BUG 1762: nss_winbind fixes on AIX 5.x (patch from 
6907       <bugzilla-samba@thewrittenword.com>).
6908     * Fix parameter confusion in priming of name-to-sid cache
6909       (Found by Qiao Yang).
6910     * BUG 1888: Remove '..' from all pre-processor commands.
6911     * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef 
6912       DEBUG_PASSWORD.
6915 o   Matt Selsky <selsky@columbia.edu>
6916     * BUG 350: use autoconf 2.57 feature for checking header file
6917       preprocessing (fixes configure warnings on Solaris).
6920 o   Richard Renard <rrenard@idealx.com>
6921     * Fix usermgr.exe and trust relationships.
6924 o   Paul Szabo <psz@maths.usyd.edu.au>
6925     * Fix to make find_workgroup use the same 
6926       truncation as create_workgroup.
6929 o   Richard Sharpe <rsharpe@samba.org>
6930     * Ensure cli_write() can support writes >= 65536 bytes.
6933 o   Simo Sorce <idra@samba.org>
6934     * Added check password script code in examples/auth/crackcheck/
6935     * Fix memory corruption bug caused in freeing static memory.
6938 o   Andrew Tridgell <tridge@samba.org>
6939     * Remove lp_use_mmap() from map_file() since the latter 
6940       is for read only and does not require coherence.
6941     * Ensure that the uuid pack/unpack routines do not go past 
6942       the end of the structure.
6943     * Converted Samba 3 tree to use the new utf-16 aware iconv 
6944       code. 
6945     * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
6946     * Ensure configure only uses '=' instead of the bashism '=='.
6947     * Reduces the number of tdb locking calls made on file IO.
6948     
6950 o   Jelmer Vernooij <jelmer@samba.org>
6951     * Convert internal data to UTF-8 before calling libxml2.
6952     * Complain if 'password chat' doesn't contain the %u variable
6953       (based on a patch by Ronan Waide).
6954     
6956 o   Josef Zlomek
6957     * BUG 1541:  Fix recursive ls in smbclient. 
6959     
6960 o   Igor Zhbanov <bsg@uniyar.ac.ru>
6961     * BUG 1797: Prevent winbind and nmbd from ignoring the "-l" 
6962       option.
6964       --------------------------------------------------
6966                   =============================
6967                   Release Notes for Samba 3.0.7
6968                            Sept 13, 2004
6969                   =============================
6971 Common bugs fixed in 3.0.7 include:
6973   o Fixes for two Denial of Service vulnerabilities
6974     (CVE ID# CAN-2004-0807 & CAN-2004-0808).
6975   o Winbind failure to return user entries under certain
6976     conditions.
6977   o Syntax errors in the OpenLDAP schema file (samba.schema).
6978   o Printing errors caused by not setting default values
6979     for the various printing commands.
6982 Changes since 3.0.6
6983 -------------------
6985 smb.conf changes
6986 ----------------
6988     Parameter Name                      Action
6989     --------------                      ------
6990     winbind enable local accounts       disabled by default
6992     
6993 commits
6994 -------
6995 o   Jeremy Allison <jra@samba.org>
6996     * Fix parsing of names ending in dot and a few other error 
6997       returns.
6998     * BUG 1674: Move the symlinks checks into reduce_name().
6999     * Fix memleak when checking the valid names smb.conf option.
7000     * Fix memleak on error return path in the file open code.
7001     * More paranoia checks in the hash2 mangling code.
7002     * Fix syntax error in configure.in.
7003     * Match Win2k3's behavior for pathname parsing error returns.
7004     * Make nmbd more robust against bad netbios packets 
7005       (CAN-2004-0808).
7006     * Add more checks for invalid ASN.1 packets for SPNEGO packets
7007       (CAN-2004-0807).
7009   
7010 o   Andrew Bartlett <abartlet@samba.org>  
7011     * Janitor work in loadparm.c -- remove unused parameters.
7014 o   Gerald Carter <jerry@samba.org>
7015     * BUG 1464: Ensure that printing commands are initialized even
7016       if the 'printing' parameter is not explicitly set.
7017     * Resolve name conflict on DEC OSF-5.1 (inspired by patch from 
7018       Adharsh Praveen <rprav@india.hp.com>)
7019     * Work around parsing error in the print change notify code.
7020     * remove duplicate declaration of getprintprocdir from 
7021       rpcclient.
7022     * Only use sAMAccountName and not userPrincipalName when looking
7023       up a username in AD since the breaks winbindd (lookup_name() 
7024       only works with the sAMAccountName).
7025     * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not 
7026       filling in the username in the user_info3.
7027     * Fix logic bug in the check for creating a user's home directory 
7028       in register_vuid(); caused home directory to be mismatched to 
7029       the first share in smb.conf under certain conditions.
7030     * BUG 1656: rename auto.a to auto.smb.
7031     * Ensure that we assign our pid to print jobs (and not our 
7032       parent's pid); ensures that spooling jobs from dead smbds 
7033       are removed from the tdb.
7034     * Disable 'winbind enable local accounts' by default.
7035     * Adding some initial checks for DragonFly (same as 
7036       FreeBSD 4.1).
7037     
7039 o   Guenther Deschner <gd@samba.org> 
7040     * Use SMB_ASSERT() to track down NULL printer names in 
7041       the tdb open code.
7042     * Revert fix for BUG 1474 to avoid unnecessary packaging 
7043       dependencies.
7046 o   Olaf Flebbe <o.flebbe@science-computing.de>.  
7047     * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 
7048       and 5.1.
7049     * BUG 1626: More compile fixes.
7052 o   Rob Foehl <rwf@loonybin.net>
7053     * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset 
7054       by attempts to sanitize the defined attributes.
7057 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
7058     * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
7061 o   Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
7062     * BUG 1657: Remove used initialized variable, 
7063     * BUG 1658: Add a little bit of const.
7066 o   Volker Lendecke <vl@samba.org>
7067     * If there's garbage in the pidfile, we should not panic 
7068       but assume that no one else is around. We can't find the 
7069       other guy anyway.
7072 o   Jim McDonough <jmcd@us.ibm.com>
7073     * Fixup format string in the tdb error messages.
7076 o   Jonas Olsson <lexicon@lysator.liu.se>
7077     * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when 
7078       reporting the list in usrmgr.exe.
7081 o   Tim Potter <tpot@samba.org>
7082     * Fix out-of-tree builds (problem with the script to generate 
7083       the svn version number).
7084     * BUG 1360:  Need to use -Wl when passing flags to the linker.
7085     * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which 
7086       doesn't have one of its own.
7088 o   Simo Sorce <idra@samba.org>
7089     * Fixup compile issues on AIX caused by broken strlen() and 
7090       strdup().
7091     * Update debian packaging files.
7094 o   Dimitri van der Spek <dwspek@aboveit.nl>
7095     * Use the correct counter when copying group rids from the 
7096       user_info3 struct in pam_winbind.
7097       
7099 o   Qiao Yang <qyang@stbernard.com>
7100     * BUG 1622: Only cache the user
7103       --------------------------------------------------
7104       
7105                   =============================
7106                   Release Notes for Samba 3.0.6
7107                            Aug 19, 2004
7108                   =============================
7110 Common bugs fixed in 3.0.6 include:
7112   o Schannel failure in winbindd.
7113   o Numerous memory leaks.
7114   o Incompatibilities between the 'write list' and 'force user'
7115     smb.conf options.
7116   o Premature optimization of the open_directory() internal 
7117     function that broke tools such as the ArcServe backup 
7118     agent, Macromedia HomeSite, and Robocopy.
7119   o Corrupt workgroup names in nmbd's browse.dat.
7120   o Sharing violation errors commonly seen when opening
7121     when serving Microsoft Office documents from a Samba 
7122     file share.
7123   o Browsing problems caused by an apostrophe (') in the 
7124     computer's description field.
7125   o Problems creating special file types from UNIX CIFS 
7126     clients and enabling 'unix extensions'.
7127   o Fix stalls in smbd caused by inaccessible LDAP servers.
7128   o Remove various memory leaks.
7129   o Fix issues in the password lockout feature.
7131 New features introduced in this release include:
7133   O Support symlinks created by CIFS clients which 
7134     can be followed on the server.
7135   o Using a cups server other than localhost.
7136   o Maintaining the service principal entry in the system 
7137     keytab for integration with other kerberized services.
7138     Please refer to the 'use Kerberos keytab' entry in 
7139     smb.conf(5).  When using the heimdal Kerberos libraries,
7140     you must also specify the following in /etc/krb5.conf:
7141     [libdefaults]
7142        default_keytab_name = FILE:/etc/krb5.keytab
7143   o Support for maintaining individual printer names
7144     stored separately from the printer's sharename.
7145   o Support for maintaining user password history.
7146   o Support for honoring the logon times for user in a 
7147     Samba domain.
7150 ============================================
7151 unix extensions = yes (default) and symlinks
7152 ============================================
7154 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1), 
7155 clients supporting the UNIX extensions to the CIFS protocol 
7156 can create symlinks to absolute paths which will be **followed** 
7157 by the server.  This functionality has been requested in order 
7158 to correctly support certain applications when the user's home 
7159 directory is mounted using some type of CIFS client (e.g. the 
7160 cifsvfs in the Linux 2.6 kernel).
7162 If this behavior is not acceptable for your production environment
7163 you can set 'wide links = no' in the specific share declaration in 
7164 the server's smb.conf.  Be aware that disabling wide link support 
7165 out of a share in Samba may impact the server's performance due 
7166 to the fact that smbd will now have to check each path additional 
7167 times before traversing it.
7168   
7170 ========================
7171 Password History Support 
7172 ========================
7174 The new password history feature allows smbd to check the new 
7175 password in password change requests against a list of the user's
7176 previous passwords.  The number of previous passwords to save can 
7177 be set using pdbedit (4 in this example):
7179    root# pdbedit -P "password history" -C 4
7181 When using the ldapsam passdb backend, it is vital to secure the 
7182 following attributes from access by non-administrative users:
7184    * sambaNTPassword
7185    * sambaLMPassword
7186    * sambaPasswordHistory
7188 You should refer to your directory server's documentation on how 
7189 to implement this restriction.
7192 Changes since 3.0.5
7193 -------------------
7195 smb.conf changes
7196 ----------------
7198     Parameter Name              Action
7199     --------------              ------
7200     cups server                 New
7201     defer sharing violations    New
7202     force unknown acl user      New
7203     ldap timeout                New
7204     printcap cache time         New
7205     use Kerberos keytab         New
7206     
7207 commits
7208 -------
7209 o   Jeremy Allison <jra@samba.org> 
7210     * Correct path parsing bug that broke DeletePrinterDriverEx().
7211     * Fix bugs in check_path_syntax() caught by asserts.
7212     * Internal change - rearrange internal global case setting 
7213       variables to a per connection basis.
7214     * BUG 1345: Fix premature optimization in unix_convert(). 
7215     * Allow clients to truncate a locked file.
7216     * BUG 1319: Always check to see if a user as write access
7217       to a share, even when 'force user' is set.
7218     * Fix specific case of open that doesn't cause oplock break, 
7219       or share mode check.
7220     * Correct sid type is WKN_GROUP, not alias. Added some 
7221       more known types (inspired by patch from Jianliang Lu).
7222     * Allow creation of absolute symlink paths via CIFS clients.
7223     * Fix charset bug in when invoking send_mailslot().
7224     * When using widelinks = no, use realpath to canonicalize 
7225       the connection path on connection create for the user. 
7226     * Enhance stat open code.
7227     * Fix unix extensions mknod code path.
7228     * Allow unix domain socket creation via unix extensions.
7229     * Auto disable the 'store dos attribute' parameter if the 
7230       underlying filesystem doesn't support EAs.
7231     * Implement deferred open code to fix a bug with Excel files 
7232       on Samba shares.
7233     * BUG 1427: Catch bad path errors at the right point.  Ensure 
7234       all our pathname parsing is consistent.
7235     * Fix SMB signing error introduced by the new deferred open 
7236       code.
7237     * Change default setting for case sensitivity to "auto". (see 
7238       commit message -- r1154 -- for details).
7239     * Add new remote client arch -- CIFSFS.
7240     * Allow smbd to maintain the service principal entry in the 
7241       system keytab file (based on patch Dan Perry <dperry@pppl.gov>, 
7242       Guenther Deschner, et. al.).
7243     * Fix longstanding memleak bug with logfile name.
7244     * Fix incorrect type in printer publishing (struct uuid, 
7245       not UUID_FLAT).
7246     * Heimdal compile fixes after introduction of the new ketyab 
7247       feature.
7248     * Ensure we check attributes correctly on rename request.
7249     * Ensure we defer a sharing violation on rename correctly.
7250     * BUG 607: Ensure we remove DNS and DNSFAIL records immediately 
7251       on timeout.
7252     * Fix bogus error message when using "mangling method = hash" 
7253       rather than hash2.
7254     * Turn on sendfile by default for non-Win9x clients.
7255     * Handle non-io opens that cause oplock breaks correctly.
7256     * Ensure ldap replication sleep time is not more than 5 seconds.
7257     * Add support for storing a user's password history.
7258       LDAP portion of the code was based on a patch from 
7259       Jianliang Lu <j.lu@tiesse.com>.
7260     * Correct memory leaks found in the password change code.
7261     * Fix support for the mknod command with the Linux CIFS client.
7262     * Remove support for passing the new password to smbpasswd 
7263       on the command line without using the -s option.
7264     * Ensure home directory service number is correctly reused
7265       (inspired by patches from Michael Collin Nielsen 
7266       <michael@hum.aau.dk>).
7267     * Fix to stop printing accounts from resetting the bas 
7268       password and account lockout flags.
7269     * If a account was locked out by an admin (and has a bad 
7270       password count of zero) leave it locked out until an admin 
7271       unlocks it (but log a message).
7272     * Ensure we return the same ACL revision on the wire that 
7273       W2K3 does.
7274     * BUG 1578: Hardcode replacement for invalid characters as '_'
7275       (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
7276     * Fix hashed password history for LDAP backends.
7277     * Enforce logon hours restrictions if confiogured (based on code 
7278       from Richard Renard <rrenard@idealx.com>).
7279     * BUG 1606: Force smbd to disable sendfile with DOS clients 
7280       and ensure that the chained header is filled in for ...&X 
7281       commands.
7282     * BUG 1602: Fix access to shares when all symlink support 
7283       has been disabled.
7287 o   Tom Alsberg <alsbergt@cs.huji.ac.il>
7288     * Allow pdbedit to export a single user from a passdb backend.
7289     
7291 o   Andrew Bartlett <abartlet@samba.org>  
7292     * Fix parsing bug in GetDomPwInfo().
7293     * Fix segfault in 'ntlm_auth --diagnostics'.
7294     * Re-enable code to allow sid_to_gid() to perform a group 
7295       mapping lookup before checking with winbindd.
7296     * Fix memory leak in the trans2 signing code.
7297     * Allow more flexible GSS-SPENGO client and server operation 
7298       in ntlm_auth.
7299     * Improve smbd's internal random number generation.
7300     * Fix a few outstanding long password changes in smbd.
7301     * Fix LANMAN2 session setup code.
7304 o   Eric Boehm <boehm@nortelnetworks.com>
7305     BUG 703: Final touches on netgroup case lookups.
7306     
7307     
7308 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
7309     * Ensure error status codes don't get overwritten in 
7310       lsa_lookup_sids() server code.
7311     * Correct bug that caused smbd to overwrite certain error 
7312       codes when returning up the call stack.
7313     * Ensure the correct sid type returned for builtin sids.
7316 o   Gerald Carter <jerry@samba.org>
7317     * Fix a few bugs in the Fedora Packaging files.
7318     * Fix for setting the called name to by our IP if the 
7319       called name was *SMBSERVER and *SMBSERV.   Fixes issue 
7320       with connecting to printers via \\ip.ad.dr.ess\printer 
7321       UNC path.
7322     * BUG 1315: fix for schannel client connections to servers
7323       when we haven't specifically negotiated AUTH_PIPE_SEAL.
7324     * Allow PrinterDriverData valuenames with embedded backslashes
7325       (Fixes bug with one of the Konica Fiery drivers).
7326     * Fixed string length miscalculation in netbios names that 
7327       resulted in corrupt workgroup names in browse.dat.
7328     * When running smbd as a daemon, launch child smbd to update 
7329       the lpq cache listing in the background.
7330     * Allow printers "Printers..." folder to be renamed to a string 
7331       other than the share name.
7332     * Allow winbindd to use domain trust account passwords when 
7333       running on a Samba DC to establish an schannel to remote 
7334       domains.
7335     * Fix bad merge and ensure that we always use tdb_open_log() 
7336       instead of tdb_open_ex() (the former call enforce the 'use 
7337       mmap' parameter).
7338     * BUG 1221: revert old change that used single and double 
7339       quotes as delimeters in next_token(), and change 
7340       print_parameter() to print out parm values surrounded by 
7341       double quotes (instead of single quotes).
7342     * Prevent home directories added during the SMBsesssetup&X from 
7343       being removed as unused services.
7344     * Invalidate the print object cache for open printer handles when
7345       smbd receives a message that an attribute on a given printer 
7346       has been changed.
7347     * Cause the configure script to exit if --enable-cups[=yes] is 
7348       defined and the system does not have the cups devel files 
7349       installed.
7350     * BUG 1297: Prevent map_username() from being called twice 
7351       during logon.
7352     * Ensure that we use the userPrincipalName AD attribute 
7353       value for LDAP SASL binds.
7354     * Ensure we remove the tdb entry when deleting a job that 
7355       is being spooled.
7356     * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
7357       client sends a FindNextPrintChangeNotify() request without 
7358       previously sending a FindFirstPrintChangeNotify().  Return 
7359       the same error code as Windows 2000 SP4.
7360     * BUG 1516: Manually declare ldap_open_with_timeout() to 
7361       workaround compiler errors on IRIX (or other systems without 
7362       LDAP headers).
7363     * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from 
7364       3.0.5.
7365     * Corrected syntax error in the OID for sambaUnixIdPool, 
7366       sambaSidEntry, & sambaIdmapEntry object classes.
7367     * Tighten the cache consistency with the ntprinters.tdb entry 
7368       an the in memory cache associated with open printer handles.
7369     * Make sure that register_messages_flags() doesn't overwrite 
7370       the originally registered flags.
7373 o   Fabien Chevalier <fabien.chevalier@supelec.fr>
7374     * Debian BUG 252591: Ensure that the return value from the 
7375       number of available interfaces is initialized in case no 
7376       interfaces are actually available.
7379 o   Guenther Deschner <gd@sernet.de> 
7380     * Implement 'rpcclient setprintername'.
7381     * Add local groups to the user's NT_TOKEN since they are 
7382       actually supported now.
7383     * Heimdal compile fixes after introduction of the new keytab 
7384       feature.
7385     * Correctly honor the info level parameter in 'rpcclient 
7386       enumprinters'.
7387     * Reintroduce 'force unknown acl user' parameter.  When getting a 
7388       security descriptor for a file, if the owner sid is not known, 
7389       the owner uid is set to the current uid. Same for group sid.
7390     * Ensure that REG_SZ values in the SetPrinterData actually 
7391       get written in UNICODE strings rather than ASCII.
7392     * Ensure that the last Kerberos error return is not invalid.
7393     * Display share ACL entries from rpcclient.
7394     * Correct infinite loop in pam_winbind's verification of 
7395       group membership in the 'other sids' field in the user_info3 
7396       struct.
7399 o   Fabian Franz <FabianFranz@gmx.de>
7400     * Support specifying a port in the device URL passed to smbspool.
7401     
7402     
7403 o   Steve French <sfrench@us.ibm.com>
7404     * Handle -S and user mount parms in mount.cifs.
7405     * Fix user unmount of shares mount with suid mount.cifs.
7406     * prevent infinite recusion in reopen_logs() when expanding 
7407       the smb.conf variable %I.
7410 o   Bjoern Jacke <bj@sernet.de>
7411     * Install libsmbclient into $(LIBDIR), not into hard coded 
7412       ${prefix}/lib. This helps amd64 systems with /lib and /lib64 
7413       and an explicit configure --libdir setting.
7416 o   <kawasa_r@itg.hitachi.co.jp>
7417     * Correct more memory leaks and initialization bugs.
7418     * Fix bug that prevented core dumps from being generated 
7419       even if you tried.
7420     * Connect to the winbind pipe in non-blocking mode to 
7421       prevent processes from hanging.
7422     * Memory leak fixes.
7425 o   Stephan Kulow <coolo@suse.de>
7426     * Fix crash bug in libsmbclient.
7429 o   Volker Lendecke <vl@samba.org>
7430     * Added vfs_full_audit module.
7431     * Add vfs_afsacl.c which can display & set AFS acls via 
7432       the NT security editor.
7433     * Fix crash bug caused by trying to Base64 encode a NULL string.
7434     * Fix DOS error code bug in reply_chkpath().
7435     * Correct misunderstanding of the max_size field in 
7436       cli_samr_enum_als_groups;  it is more like an account_control 
7437       field with individual bits what to retrieve.
7438     * Implement 'net rpc group rename' -- rename domain groups.
7439     * Implement the 'cups server' option. This makes it possible 
7440       to have virtual smbd's connect to different cups daemons.
7441     * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
7442     * Fix sid_to_gid() calls in winbindd to prevent loops.
7443     * Ensure that local_sid_to_gid() sets the type of the group on 
7444       return.
7445     * Make sure that the clients are given back the IP address to 
7446       which they connected in the case of a multi-homed host. Only 
7447       affects strings the spoolss printing replies.
7448     * Fix the bad password lockout. This has not worked as pdb_ldap.c 
7449       did not ask for the modifyTimestamp attribute, so it could 
7450       not find it.   Try not to regress by not putting that attrib 
7451       in the main list but append it manually for the relevant searches.
7452     * Fix two memleaks in login_cache.c.
7453     * fixes memory bloat when unmarshalling strings.
7454     * Fix compile errors using gcc 3.2 on SuSE 8.2.
7455     * Fix the build for systems without Kerberos headers.
7456     * Allow winbindd to handle authentication requests only when 
7457       started without either an 'idmap uid' or 'idmap gid' range.
7458     * Fix the build for systems without ldap headers.
7459     * Fix interaction between share security descriptor and the 
7460       'read only' smb.conf option.
7461     * Fix bug that caused _samr_lookupsids() with more than 32 (
7462       MAX_REF_DOMAINS) SIDs to fail.
7463     * Allow the 'idmap backend' parameter to accept a list of 
7464       LDAP servers for failover purposes.
7465     * Revert code in smbd to remove a tdb when it has become 
7466       corrupted.
7467     * Add paranoid checks when mapping SIDs to a uid/gid to 
7468       ensure that the type is correct.
7469     * Initial work on getting client support for sending mailslot 
7470       datagrams.
7471     * Add 'ldap timeout' parameter.
7472     * Dont always uppercase 'afs username map'.
7473     * Expand aliases for getusersids as well.
7474     * Improved NT->AFS ACL mapping VFS module.
7477 o   Herb Lewis <herb@samba.org>
7478     * Add the acls debug class.
7479     * Fix logic bug in netbios name truncate routine.
7480     * Fix smbd crash caused by smbtorture IOCTL test.
7481     * Fix errno tromping before calling iconv to reset the 
7482       conversion state.
7483     * need to leave empty dacl so we can remove last ACE.
7486 o   Jianliang Lu <Jianliang.Lu@getronics.com>
7487     * Fix to stop smbd hanging on missing group member in 
7488       get_memberuids().
7489     * Make sure Samba returns the correct group types.
7490      * Reset the bad password count password counts upon a successful login.
7491      
7492      
7493 o   Jason Mader <jason@ncac.gwu.edu>
7494     * BUG 1385: Don't use non-consts in a structure initialization.
7495     
7497 o   Jim McDonough <jmcd@us.ibm.com>
7498     * BUG 1279: SMBjobid fix for Samba print servers running on 
7499       Big-Endian platforms.
7502 o   Joe Meadows <jameadows@webopolis.com>
7503     * Add optional timeout parameter to ldap open calls.
7504     * Allow get_dc_list() to check the negative cache.
7507 o   Stefan Metzmacher <metze@samba.org>    
7508     * fix a configure logic bug for linux/XFS quotas when 
7509       using --with-sys-quotas.
7510     * Use quota debug class in quota code.
7511     * print out the SVN revision by configure,
7512     
7514 o   Buchan Milne <bgmilne@mandrake.org>
7515     * Mandrake packaging fixes.
7516     
7517     
7518 o   Lars Mueller <lmuelle@samba.org>
7519     * BUG 1279: Added 'printcap cache time' parameter.
7520     * Fix afs related build issues on SuSE.
7521     * Fix compiler warnings in the Kerberos client code.
7524 o   James Peach <jpeach@sgi.com>
7525     * More iconv detection fixes for IRIX.
7526     * Compile fixed for systems that do not have C99/UNIX98 compliant 
7527       vsnprintf by default.
7528     * Prevent smbd from attempting to use sendfile at all if it is 
7529       not supported by the server's OS.
7530     * Allow SWAT to search for index.html when serving html files 
7531       in a directory.
7534 o   Dan Peterson
7535     * Implement NFS quota support on FreeBSD.
7538 o   Tim Potter <tpot@samba.org>
7539     * BUG 1360: Use -Bsymbolic when creating shared libraries to 
7540       avoid conflicts with identical symbols in the global namespace 
7541       when loading libnss_wins.so.
7544 o   Richard Renard <rrenard@idealx.com>
7545     * Save the current password as it is being changed into the 
7546       password history list.
7549 o   Richard Sharpe <rsharpe@samba.org>
7550     * Fix error return codes on some lock messages.
7551     * BUG 1178: Make the libsmbclient routines callable 
7552       by C++ programs.
7553     * BUG 1333: Make sure we return an error code when 
7554       things go wrong.
7555     * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when 
7556       share mode locking requests fail.
7559 o   Simo Sorce <idra@samba.org>
7560     * Update Debian stable & unstable packaging.
7561     * Tidy up parametric options in testparm output.
7564 o   Richard Sharpe <rsharpe@samba.org>
7565     * Add sigchild handling to winbindd to restart the child 
7566       daemon if necessary.
7569 o   Tom Shaw <tomisfaraway@gmail.com>
7570     * Use winbindd_fill_pwent() consistently.
7573 o   Nick Thompson <nickthompson@agere.com>
7574     * Protect smbd against broken filesystems which return zero 
7575       blocksize.
7578 o   Andrew Tridgell <tridge@samba.org>
7579     * Fixed bug in handling of timeout in socket connections.
7580      
7582 o   Nick Wellnhofer <wellnhofer@aevum.de>    
7583     * Prevent lp_interfaces() list from being corrupted.  Fixes
7584       bug where nmbd would lose the list of network interfaces 
7585       on the system and consequently shutdown.
7587       
7588 o   James Wilkinson <jwilk@alumni.cse.ucsc.edu>
7589     * Fix ntlm_auth memory leaks.
7592 o   Jelmer Vernooij <jelmer@samba.org>
7593     * Additional NT status to unix error mappings.
7594     * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't 
7595       get duplicate symbol errors.
7596     * Return an error when the last command read from stdin 
7597       fails in smbclient.
7598     * Prepare for better error checking in tar.
7599     * BUG 1474: Fix build of --with-expsam stuff on Solaris.
7600       
7602       --------------------------------------------------
7603       
7604                  =============================
7605                  Release Notes for Samba 3.0.5
7606                          July 20, 2004
7607                  =============================
7609 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with 
7610 the exception of correcting the two security issues outlined 
7611 below.
7613 ######################## SECURITY RELEASE ########################
7615 Summary:       Multiple Potential Buffer Overruns in Samba 3.0.x
7616 CVE ID:        CAN-2004-0600, CAN-2004-0686
7617                (http://cve.mitre.org/)
7620 This is the latest stable release of Samba. This is the version
7621 that production Samba servers should be running for all current
7622 bug-fixes.
7624 It has been confirmed that versions of Samba 3 prior to v3.0.4
7625 are vulnerable to two potential buffer overruns.  The individual
7626 details are given below.
7628 =============
7629 CAN-2004-0600
7630 =============
7632 Affected Versions:      Samba 3.0.2 and later
7634 The internal routine used by the Samba Web Administration
7635 Tool (SWAT v3.0.2 and later) to decode the base64 data
7636 during HTTP basic authentication is subject to a buffer
7637 overrun caused by an invalid base64 character.  It is
7638 recommended that all Samba v3.0.2 or later installations
7639 running SWAT either (a) upgrade to v3.0.5, or (b) disable
7640 the swat administration service as a temporary workaround.
7642 This same code is used internally to decode the
7643 sambaMungedDial attribute value when using the ldapsam
7644 passdb backend. While we do not believe that the base64
7645 decoding routines used by the ldapsam passdb backend can
7646 be exploited, sites using an LDAP directory service with
7647 Samba are strongly encouraged to verify that the DIT only
7648 allows write access to sambaSamAccount attributes by a
7649 sufficiently authorized user.
7651 The Samba Team would like to heartily thank Evgeny Demidov
7652 for analyzing and reporting this bug.
7654 -------------
7655 CAN-2004-0686
7656 -------------
7658 Affected Versions:      Samba 3.0.0 and later
7660 A buffer overrun has been located in the code used to support
7661 the 'mangling method = hash' smb.conf option.  Please be aware
7662 that the default setting for this parameter is 'mangling method
7663 = hash2' and therefore not vulnerable.
7665 Affected Samba 3 installations can avoid this possible security
7666 bug by using the default hash2 mangling method.  Server
7667 installations requiring the hash mangling method are encouraged
7668 to upgrade to Samba 3.0.5.
7671 ##################################################################
7673     --------------------------------------------------
7674                  
7675                  =============================
7676                  Release Notes for Samba 3.0.4
7677                           May 8, 2004
7678                  =============================
7680 Common bugs fixed in Samba 3.0.4 include:
7682   o Password changing after applying the patch described in 
7683     the Microsoft KB828741 article to Windows clients.
7684   o Crashes in smbd.
7685   o Managing print jobs via Windows on Big-Endian servers.
7686   o Several memory leaks in winbindd and smbd.
7687   o Compile issues on AIX and *BSD.
7689 Changes since 3.0.3
7690 --------------------
7692 commits
7693 -------
7695 o   Jeremy Allison <jra@samba.org>
7696     * Fix path processing for DeletePrinterDriverEx().
7697     * BUG 1303: Fix for Microsoft hotfix MS04-011 password change 
7698       breakage.
7701 o   Andrew Bartlett <abartlet@samba.org>
7702     * Fix alignment bug in GetDomPwInfo().
7705 o   Alexander Bokovoy <ab@samba.org>
7706     * Fix utime[s]() issues in smbwrapper on systems 
7707       that can boot both the 2.4 and 2.6 Linux kernels.
7710 o   Gerald Carter <jerry@samba.org>
7711     * Fedora packaging fixes.
7712     * BUG 1302: Fix seg fault by not trying to optimize a list of 
7713       invalid gids using the wrong array size.
7714     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
7715       seen when 'security = share'.
7716     * Fix problems when using IBM's compiler on AIX.
7717     * Link Developer's Guide, Example Guide, and multi-page HOWTO
7718       into SWAT's welcome page.
7719     * BUG 1293: fix double free in printer publishing code.
7721     
7722 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
7723     * Fix for handling timeouts in socket connections.
7726 o   Michel Gravey <michel.gravey@optogone.com>
7727     * BUG 483: patch from  to fix password hash creation in SWAT.
7728     
7730 o   Volker Lendecke <vl@samba.org>
7731     * Close the open NT pipes before the tdis.
7732     * Fix AFS related build issues.
7733     * Handle error conditions when base64 encoding a blob of 0 bytes.
7735     
7736 o   Herb Lewis <herb@samba.org>
7737     * Added 'acls' debug class.
7739 o   kawasa_r@itg.hitachi.co.jp
7740     * Multiple variable initialization and memory leak fixes.
7741     
7742     
7743 o   Stephan Kulow <coolo@suse.de>
7744     * Fix string length bug in libsmbclient that caused KDE's 
7745       Konqueror to crash.
7746     * BUG 429: More libsmbclient fixes.
7749 o   Jim McDonough <jmcd@us.ibm.com>
7750     * BUG 1007, 1279: Store the print job using a little-endian key.
7753 o   Eric Mertens
7754     o Compile fix for OpenBSD (ENOTSUP not supported).
7756     
7757 o   Stefan Metzmacher <metze@samba.org>
7758     * Correct bug in disks quota views from explorer.
7760     
7761 o   Tim Potter <tpot@samba.org>
7762     BUG 1305: Correct debug output.
7765 o   Richard Sharpe <rsharpe@samba.org>
7766     * Fix incorrect error code mapping.
7769 o   Jelmer Vernooij <jelmer@samba.org>
7770     * Add additional NT_STATUS errorm mappings.
7771     
7773     --------------------------------------------------
7775                  =============================
7776                  Release Notes for Samba 3.0.3
7777                         April 29, 2004
7778                  =============================
7781 Common bugs fixed in Samba 3.0.3 include:
7783   o Crash bugs and change notify issues in Samba's printing code.
7784   o Honoring secondary group membership on domain member servers.
7785   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
7786   o Substitution errors for %[UuGg] in smb.conf.
7787   o winbindd crashes when using ADS security mode.
7788   o SMB signing errors.
7789   o Delays in winbindd startup caused by unnecessary 
7790     connections to trusted domain controllers.
7791   o Various small memory leaks.
7792   o Winbindd failing due to expired Kerberos tickets.
7794 New features introduced in Samba 3.0.3 include:
7796   o Improved support for i18n character sets.
7797   o Support for account lockout policy based on
7798     bad password attempts.
7799   o Improved support for long password changes (>14
7800     characters) and strong password enforcement.
7801   o Support for Windows aliases (i.e. nested groups).
7802   o Experimental support for storing DOS attribute on files
7803     and folders in Extended Attributes.
7804   o Support for local nested groups via winbindd.
7805   o Specifying options to be passed directly to the CUPS libraries.
7807 Please be aware that the Samba source code repository was 
7808 migrated from CVS to Subversion on April 4, 2004.  Details on 
7809 accessing the Samba source tree via anonymous svn can be found 
7810 at http://svn.samba.org/samba/subversion.html.
7813 Changes since 3.0.2a
7814 --------------------
7815 smb.conf changes
7816 ----------------
7818     Parameter Name              Action
7819     --------------              ------
7820     cups options                New
7821     ea support                  New
7822     only user                   Deprecated
7823     store dos attributes        New
7824     unicode                     Removed
7825     winbind nested groups       New
7827     
7828 commits
7829 -------
7831 o   Jeremy Allison <jra@samba.org>
7832     * Ensure that Kerberos mutex is always properly unlocked.
7833     * Removed Heimdal "in-memory keytab" support.
7834     * Fixup the 'multiple-vuids' bugs in our server code.
7835     * Correct return code from lsa_lookup_sids() on unmapped
7836       sids (based on work by vl@samba.org).
7837     * Fix the "too many fcntl locks" scalability problem 
7838       raised by tridge.
7839     * Fixup correct (as per W2K3) returns for lookupsids 
7840       as well as lookupnames.
7841     * Fixups for delete-on-close semantics as per Win2k3 behavior.
7842     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
7843     * Fix "unable to initialize" bug when smbd hasn't been run with 
7844       new system and a user is being added via pdbedit/smbpasswd.
7845     * Added NTrename SMB (0xA5).
7846     * Fixup correct timeout values for blocking lock timeouts.
7847     * Fix various bugs reported by 'gentest'.
7848     * More locking fixes in the case where we own the lock.
7849     * Fix up regression in IS_NAME_VALID and renames.
7850     * Don't set allocation size on directories.
7851     * Return correct error code on fail if file exists and target 
7852       is a directory.
7853     * Added client "hardlink" comment to test doing NT rename with 
7854       hard links.  Added hardlink_internals() code - UNIX extensions 
7855       now use this as well.
7856     * Use a common function to parse all pathnames from the wire for 
7857       much closer emulation of Win2k3 error return codes.
7858     * Implement check_path_syntax() and rewrite string sub 
7859       functions for better multibyte support.
7860     * Ensure msdfs referrals are multibyte safe.
7861     * Allow msdfs symlink syntax to be more forgiving.
7862       eg. sym_link -> msdfs://server/share/path/in/share 
7863       or  sym_link -> msdfs:\\server\share\path\in\share.
7864     * Cleanup multibyte netbios name support in nmbd ( based on patch
7865       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
7866     * Fix check_path_syntax() for multibyte encodings which have 
7867       no '\' as second byte (based on work by ab@samba.org.
7868     * Fix the "dfs self-referrals as anonymous user" problem
7869       (based on patch from vl@samba.org).
7870     * BUG 1064: Ensure truncate attribute checking is done correctly 
7871       on "hidden" dot files.
7872     * Fix bug in anonymous dfs self-referrals again.
7873     * Fix get/set of EA's in client library
7874     * Added support for OS/2 EA's in smbd server.
7875     * Added 'ea support' parameter to smb.conf.
7876     * Added 'store dos attributes' parameter to smb.conf.
7877     * Fix wildcard identical rename.
7878     * Fix reply_ctemp - make compatible with w2k3.
7879     * Fix wildcard unlink.
7880     * Fix wildcard src with wildcard dest renames.      
7881     * BUG 1139: Fix based on suggestion by jdev@panix.com.
7882       swap lookups for user and group - group will do an
7883       algorithmic lookup if it fails, user won't.
7884     * Make EA's lookups case independent.
7885     * Fix SETPATHINFO in 'unix extensions' support.
7886     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
7887       the UNIX info levels, and the short case preserve names.
7890 o   Timur Bakeyev <timur@com.bat.ru>
7891     * BUG 1144: only set --with-fhs when the argument is 'yes'
7892     * BUG 1152: Allow python modules to build despite libraries added 
7893       to LDFLAGS instead of LDPATH.
7894     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
7897 o   Craig Barratt <cbarratt@users.sourceforge.net>
7898     * BUG 389: Allow multiple exclude arguments with smbclient 
7899       tar -Xr options (better support for Amanda backup client).
7902 o   Andrew Bartlett <abartlet@samba.org>
7903     * Include support for linking with cracklib for enforcing strong 
7904       password changes.
7905     * Add support for >14 character password changes from Windows 
7906       clients.
7907     * Add 'admin set password' capability to 'net rpc'.
7908     * Allow 'net rpc samdump' to work with any joined domain 
7909       regardless of smb.conf settings.
7910     * Use an allocated buffer for count_chars.
7911     * Add sanity checks for changes in the domain SID in an 
7912       LDAP DIT.
7913     * Implement python unit tests for Samba's multibyte string 
7914       support.
7915     * Remove 'unicode' smb.conf option.
7916     * BUG 1138: Fix support for 'optional' SMB signing and other 
7917       signing bugs.
7918     * BUG 169: Fix NTLMv2-only behavior.
7919     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
7920       default.
7921     * Support SMB signing on connections using only the LANMAN 
7922       password and generate the correct the 'session key' for these 
7923       connections.
7924     * Implement --required-membership-of=, an ntlm_auth option 
7925       that restricts all authentication to members of this particular 
7926       group.
7927     * Improve our fall back code for password changes.
7928     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
7929       after the server had said something (such as an error).
7930     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
7932       
7933 o   Alexander Bokovoy <ab@samba.org>
7934     * Fix incorrect size calculation of the directory name 
7935       in recycle.so.
7936     * Fix problems with very long filenames in both smbd and smbclient
7937       caused by truncating paths during character conversions.
7938     * Fix smbfs problem with Tree Disconnect issued before smbfs 
7939       starts its work.
7942 o   Gerald Carter <jerry@samba.org>
7943     * BUG 850: Fix 'make installmodules' bug on True64.
7944     * BUG 66: mark 'only user' deprecated.
7945     * Remove corrupt tdb and shutdown (only for printing tdbs, 
7946       connections, sessionid & locking).
7947     * decrement smbd counter in connections.tdb in smb_panic().
7948     * RedHat specfile updates.
7949     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
7950     * BUG 1147; bad pointer case in get_stored_queue_info() 
7951       causing seg fault.
7952     * BUG 761: read the config file before initialized default 
7953       values for printing options; don't default to bsd printing 
7954       Linux.
7955     * Allow the 'printing' parameter to be set on a per share basis.
7956     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
7957     * BUG 848: don't create winbind local users/groups that already 
7958       exist in the tdb.
7959     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
7960       LynxOS/ppc).
7961     * BUG 488: fix the 'show client in col 1' button and correctly 
7962       enumerate active connections.
7963     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
7964       problem when storing the updating pid for the lpq cache.
7965     * BUG 1007 (partial): Fix print change notify bugs.
7966     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
7967       and winbind use default domain = yes.  Also ensures that 
7968     * BUG 1151: Ensure that winbindd users are passed through 
7969       the username map.
7970     * Fix client rpc binds for ASU derived servers (pc netlink, 
7971       etc...).
7972     * BUG 417, 1128: Ensure that the current_user_info is set
7973       consistently so that %[UuGg] is expanded correctly.
7974     * BUG 1195: Fix crash in winbindd when the ADS server is 
7975       unavailable.
7976     * BUG 1185: Set reconnect time to be the same as the 
7977       'winbind cache time'.
7978     * Ensure that we return the sec_desc in smb_io_printer_info_2.
7979     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
7980     * BUG 1095: Honor the '-l' option in smbclient.
7981     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
7982       block.
7983     * Ensure server schannel uses the auth level requested by the 
7984       client.
7985     * Removed --with-cracklib option due to potential crash issue.
7986     * Fix -lcrypto linking problem with wbinfo.
7987     * BUG 761: allow printing parameter to set defaults on a per 
7988       share basis.
7989     * Add 'cups options' parameter to allow raw printing without 
7990       changing /etc/cups/cupsd.conf.
7991     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
7992       winbindd.
7993     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
7994     * BUG 1288: resolve any machine netbios name (0x00) and not just 
7995       servers (0x20).
7996     * BUG 1199: Fix potential symlink issue in 
7997       examples/printing/smbprint.
8000 o   Robert Dahlem <Robert.Dahlem@gmx.net>
8001     * BUG 1048:  Don't return short names when when 'mangled names = no'
8004 o   Guenther Deschner <gd@suse.com>
8005     * Remove hard coded attribute name in the ads ranged retrieval
8006       code.
8007     * Add --with-libdir and --with-mandir to autoconf script.
8010 o   Bostjan Golob <golob@gimb.org>
8011     * BUG 1046: Fix  getpwent_list() so that the username is not 
8012       overwritten by other fields.
8015 o   Landon Fuller <landonf@opendarwin.org>
8016     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
8017       to fix user/group enumeration on systems whose libc does not 
8018       call setgrent() before trying to enumerate users (i.e. 
8019       FreeBSD 5.2).
8022 o   Steve French <sfrench@us.ibm.com>
8023     * Update mount.cifs to version 1.1.
8024     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
8025     * Fixes to minor security bug in the mount helper.
8026     * Fix credential file mounting for cifs vfs.
8027     * Fix free of incremented pointer in cifsvfs mount helper.
8028     * Fix path canonicalization of the mount target path and help 
8029       text display in the cifs mount helper.
8030     * Add missing guest mount option for mount.cifs.
8033 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
8034     * BUG 1055; formatting fixes for 'net share'.
8035     * BUG 692: correct truncation of share names and workgroup 
8036       names in smbclient.
8037     * BUG 1088: use strchr_m() for query_host (smbclient -L).
8038     * Patch from to internally count characters correctly.
8041 o   Paul Green <paulg@samba.org>
8042     * Update VOS _POSIX_C_SOURCE macro to 200112L.
8043     * Fix bug in configure.ion by moving the first use of 
8044       AC_CHECK_HEADERS so it is always executed.
8045     * Fix configure.in to only use $BLDSHARED to select whether to 
8046       build static or shared libraries.
8049 o   Pat Haywarrd <Pat.Hayward@propero.net>
8050     * Make the session_users list dynamic (max of 128K).
8051     
8052     
8053 o   Cal Heldenbrand <calzplace@yahoo.com> 
8054     * Fix for for 'pam_smbpass migrate' functionality.
8057 o   Chris Hertel <crh@samba.org>
8058     * fix enumeration of shares 12 characters in length via 
8059       smbclient.
8062 o   Ulrich Holeschak <ulrich@holeschak.de>
8063     * BUG 932: fix local password change using pam_smbpass
8066 o   Krischan Jodies <kj@sernet.de>
8067     * Implement 'net rpc group delete'
8070 o   John Klinger <john.klinger@lmco.com>
8071     * Return NSS_SUCCESS once the max number of gids possible 
8072        has been found in initgroups() on Solaris.
8073     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
8076 o   Volker Lendecke <vl@samba.org>
8077     * Fix success message for net groupmap modify.
8078     * Fix errors when enumerating members of groups in 'net rpc'.
8079     * Match Windows behavior in samr_lookup_names() by returning
8080       ALIAS(4) when you search in BUILTIN. 
8081     * Fix server SAMR code to be able to set alias info for 
8082       builtin as well. 
8083     * Fix duplication of logic when creating groups via smbd.
8084     * Ensure that the HWM values are set correctly after running 
8085       'net idmap'.
8086     * Add 'net rpc group add'.
8087     * Implement 'net groupmap set' and 'net groupmap cleanup'.
8088     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
8089     * Fix wb_delgrpmem (wbinfo -o).
8090     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
8091     * Fix sambaUserWorkstations on a Samba DC.
8092     * Implement wbinfo -k: Have winbind generate an AFS token after
8093       authenticating the user.
8094     * Add expand_msdfs VFS module for providing referrals based on the
8095       the client's IP address.
8096     * Implement client side NETLOGON GetDCName function.
8097     * Fix caching of name->sid lookups.
8098     * Add support in winbindd for expanding nested local groups.
8099     * Fix memleak in winbindd.
8100     * Fix msdfs proxy.
8101     * Don't list domain groups from BUILTIN.
8102     * Fix memleak in policy handle utility functions.
8103     * Decrease winbindd startup time by only contacting trusted 
8104       domains as necessary.
8105     * Allow winbindd to ask the DC for its domain for a trusted 
8106       DC.
8107     * Fix Netscape DS schema based on comments from 
8108       <thomas.mueller@christ-wasser.de>.
8109     * Correct case where adding a domain user to a XP local group 
8110       did a lsalookupname on the user without domain prefix, and 
8111       failed.
8112     * Fix segfault in winbindd caused by 'wbinfo -a'.
8113     
8115 o   Herb Lewis <herb@samba.org>
8116     * Fix typo for tag in proto file.
8117     * Add missing #ifdef HAVE_BICONV stuff.
8118     * Truncate Samba's netbios name at the first '.' (not 
8119       right to left).
8122 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
8123     * Bug fixes and enhancements to libsmbclient library.
8125     
8126 o   Jianliang Lu <j.lu@tiesse.com>
8127     * Enforce the 'user must change password at next login' flag.
8128     * Decode meaning of 'fields present' flags (improves support 
8129       for usrmgr.exe).
8130     * NTLMv2 fixes.
8131     * Don't force an upper case domain name in the ntlmssp code.
8132     
8134 o   L. Lucius <ib@digicron.com>.
8135     * type fixes.
8138 o   Jim McDonough <jmcd@us.ibm.com>
8139     * Add versioning support to tdbsam.
8140     * Update the IBM Directory Server schema with the OpenLDAP 
8141       file.
8142     * Various decoding fixes to improve usrmgr.exe support.
8143     * Fix statfs redeclaration of statfs struct on ppc
8144     * Implement support for password lockout of Samba domain 
8145       controllers and standalone servers.
8146     * Get MungedDial attribute actually working with full TS 
8147       strings in it for pdb_ldap.
8148     * BUG 1208 (partial): Improvements for working with expired krb5 
8149       tickets in winbindd.
8150     * Use timegm, or our already existing replacement instead of 
8151       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
8152     * Remove modifyTimestamp from list of our attributes.  
8153     * Fix lsalookupnames to check for domain users as well as local 
8154       users. 
8155     * Merge struct uuid replacement for GUID from trunk.
8156     * BUG 1208: Finish support for handling expired tickets in 
8157       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
8160 o   Stefan Metzmacher <metze@samba.org>
8161     * Implement new VERSION schema based on subversion revision 
8162       numbers.
8163     * Add shadow_copy vfs module.
8164     * Fix segault in login_cache support.
8167 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
8168      o BUG 979 -- Fix quota display on AIX.
8171 o   James Peach <jpeach@sgi.com>
8172     * Correct check for printf() format when using the SGI MIPSPro 
8173       compiler.
8174     * BUG 1038: support backtrace for 'panic action' on IRIX.
8175     * BUG 768: Accept profileing arg to IRIX init script.
8176     * BUG 748: Relax arg parsing to sambalp script (IRIX).
8177     * BUG 758: Fix pdma build.
8178     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
8179       Jason Mader.
8180       
8182 o   Kurt Pfeifle <kpfeifle@danka.de>
8183     * Add example shell script for migrating drivers and printers 
8184       from a Windows print server to a Samba print server using 
8185       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
8188 o   Tim Potter <tpot@samba.org>
8189     * Fix logic bug in tdb non-blocking lock routines when 
8190       errno == EAGAIN.
8191     * BUG 1025: Include sys/acl.h in check for broken nisplus 
8192       include files.      
8193     * BUG 1066: s/printf/d_printf/g in SWAT.
8194     * BUG 1098: rename internal msleep() function to fix build 
8195       problems on AIX.
8196     * BUG 1112: Fix for writable printerdata problem in python bindings.
8197     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
8198     * BUG 1155: enclose use of fchown() with guards.
8199     * Relicense tdb python module as LGPL.
8202 o   Richard Sharpe <rsharpe@samba.org>
8203     * Add support to smbclient for multiple logins on the same 
8204       session (based on work by abartlet@samba.org).
8205     * Correct blocking condition in smbd's use of accept() on IRIX.
8206     * Add support for printing out the MAC address on nmblookup.
8209 o   Simo Sorce <idra@samba.org>
8210     * Replace unknown_3 with fields_present in SAMR code.
8211     * More length checks in strlcat().
8214 o   Andrew Tridgell <tridge@samba.org>
8215     * Rewrote the AIX UESS backend for winbindd.
8216     * Fixed compilation with --enable-dmalloc.
8217     * Change tdb license to LGPL (see source/tdb/tdb.c).
8218     * Force winbindd to use schannel in clients connections to 
8219       DC's if possible.
8222 o   Jelmer Vernooij <jelmer@samba.org>
8223    * Fix ETA Calculation when resuming downloads in smbget.
8224    * Add -O (for writing downloaded files to standard out) 
8225      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
8226     * Fix syntax error in example mysql table
8228            
8229 o   TAKEDA yasuma <yasuma@miraclelinux.com>
8230     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
8231       cmd_chown, cmd_chmod smbclient functions.
8234 o   Shiro Yamada <shiro@miraclelinux.com>
8235     * BUG 1129: install image files for SWAT.
8237       
8238     --------------------------------------------------
8240                   ==============================
8241                   Release Notes for Samba 3.0.2a
8242                         February 13, 2004
8243                   ==============================
8245 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
8246 to address, in particular, a problem when using pdbedit to 
8247 sanitize (--force-initialized-passwords) Samba's tdbsam 
8248 backend.   This is the latest stable release of Samba. This 
8249 is the version that all production Samba servers should be 
8250 running for all current bug-fixes.  
8252 ******************* Attention! Achtung! Kree! *********************
8254 Beginning with Samba 3.0.2, passwords for accounts with a last 
8255 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
8256 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
8257 strings.  This will cause authentication to fail for such
8258 accounts.  If you have valid passwords that meet this criteria, 
8259 you must update the last change time to a non-zero value.  If you 
8260 do not, then  'pdbedit --force-initialized-passwords' will disable 
8261 these accounts and reset the password hashes to a string of X's.
8263 ******************* Attention! Achtung! Kree! *********************
8266 Changes since 3.0.2
8267 -------------------
8269 commits
8270 -------
8272 Please refer to the CVS log for the SAMBA_3_0 branch for complete
8273 details.  The list of changes per contributor are as follows:
8276 o   Jeremy Allison <jra@samba.org>
8277     * Added paranoia checks in parsing code.
8278     
8280 o   Andrew Bartlett <abartlet@samba.org>
8281     * Ensure that changes to uninitialized passwords in ldapsam 
8282       are written to the DIT.
8285 o   Gerald (Jerry) Carter <jerry@samba.org>
8286     * Fixed iterator in tdbsam.
8287     * Fix bug that disabled accounts with a valid NT password 
8288       hash, but no LanMan hash.
8289     
8291 o   Steve French <sfrench@us.ibm.com>
8292     * Added missing nosetuid and noexec options.
8294     
8295 o   Bostjan Golob <golob@gimb.org>
8296     * BUG 1046: Don't overwrite usernames of entries returned 
8297       by getpwent_list().
8300 o   Sebastian Krahmer <krahmer@suse.de>
8301     * Fixed potential crash bug in NTLMSSP parsing code.
8304 o   Tim Potter <tpot@samba.org>
8305     * Fixed logic in tdb_brlock error checking.
8307     
8308 o   Urban Widmark <urban@teststation.com>
8309     * Set nosuid,nodev flags in smbmnt by default.
8310     
8311     
8312         --------------------------------------------------
8313                   
8314                   =============================
8315                   Release Notes for Samba 3.0.2
8316                         February 9, 2004
8317                   =============================
8319 It has been confirmed that previous versions of Samba 3.0 are
8320 susceptible to a password initialization bug that could grant an 
8321 attacker unauthorized access to a user account created by the
8322 mksmbpasswd.sh shell script.
8324 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
8325 has assigned the name CAN-2004-0082 to this issue.
8327 Samba administrators not wishing to upgrade to the current 
8328 version should download the 3.0.2 release, build the pdbedit 
8329 tool, and run 
8331    root# pdbedit-3.0.2 --force-initialized-passwords
8332       
8333 This will disable all accounts not possessing a valid password
8334 (e.g. the password field has been set a string of X's).
8336 Samba servers running 3.0.2 are not vulnerable to this bug 
8337 regardless of whether or not pdbedit has been used to sanitize
8338 the passdb backend.
8340 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
8341 release include:
8343   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
8344   o Logging onto a Samba domain from Windows XP clients.
8345   o Problems with the %U and %u smb.conf variables in relation to 
8346     Windows 9x/ME clients.
8347   o Kerberos failures due to an invalid in memory keytab detection
8348     test.
8349   o Updates to the ntlm_auth tool.
8350   o Fixes for various SMB signing errors.
8351   o Better separation of WINS and DNS queries for domain controllers.
8352   o Issues with nss_winbind FreeBSD and Solaris.
8353   o Several crash bugs in smbd and winbindd.
8354   o Output formatting fixes for smbclient for better compatibility
8355     with scripts based on the 2.2 version.
8358 Changes since 3.0.1
8359 -------------------
8361 smb.conf changes
8362 ----------------
8364     Parameter Name              Action
8365     --------------              ------
8366     ldap replication sleep      New
8367     read size                   removed (unused)
8368     source environment          removed (unused)
8371 commits
8372 -------
8374 Please refer to the CVS log for the SAMBA_3_0 branch for complete
8375 details.  The list of changes per contributor are as follows:
8377 o   Jeremy Allison <jra@samba.org>
8378     * Revert change that broke Exchange clear text samlogons.
8379     * Fix gcc 3.4 warning in MS-DFS code.
8380     * Tidy up of NTLMSSP code.
8381     * Fixes for SMB signing errors
8382     * BUG 815: Workaround NT4 bug to support plaintext
8383       password logins and UNICODE.
8384     * Fix SMB signing bug when copying large files.
8385     * Correct error logic in mkdir_internals() (caused a panic
8386       when combined with --enable-developer).
8387     * BUG 830: Protect against crashes due to bad character 
8388       conversions.
8390       
8391 o   Petri Asikainen <paca@sci.fi>
8392     * BUG 330, 387:Fix single valued attribute updates when 
8393       working with Novell NDS.
8396 o   Andrew Bartlett <abartlet@samba.org>
8397     * Correctly handle per-pipe NTLMSSP inside a NULL session.
8398     * Fix segfault in gencache 
8399     * Fix early free() of encrypted_session_key.
8400     * Change DC lookup routines to more carefully separate
8401       DNS names (realms) from NetBIOS domain names.
8402     * Add new sid_to_dn() function for internal winbindd use.
8403     * Refactor cli_ds_enum_domain_trusts().
8404     * BUG 707: Implement range retrieval of ADS attributes (based 
8405       on work from Volker <vl@samba.org> and Guenther Deschner 
8406       <gd@suse.com>).
8407     * Automatically initialize the signing engine if a session key
8408       is available.
8409     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
8410       encoded strings, only form input in SWAT.
8411     * Resets the NTLMSSP state for new negotiate packets.
8412     * Add 2-byte alignments in net_samlogon() queries to parse 
8413       odd-length plain text passwords.
8414     * Allow Windows groups with no members in winbindd.
8415     * Allow normal authentication in the absence of a server 
8416       generated session key.
8417     * More optimizations for looking up UNIX group lists.
8418     * Clean up error codes and return values for pam_winbindd
8419       and winbindd PAM interface.
8420     * Fix string return values in ntlm_auth tool.
8421     * Fix segfault when 'security = ads' but no realm is defined.
8422     * BUG 722: Allow winbindd to map machine accounts to uids.
8423     * More cleanups for winbindd's find_our_domain().
8424     * More clearly detect whether a domain controller is an NT4
8425       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
8426     * Increase separation between DNS queries for hosts and queries
8427       for AD domain controllers.
8428     * Include additional NT_STATUS to PAM error mappings.
8429     * Password initialization fixes.
8431     
8432 o   Justin Baugh <justin.baugh@request.com>
8433     * BUG 948: Implement missing functions required for FreeBSD 
8434       nss_winbind support. 
8437 o   Alexander Bokovoy <ab@samba.org>
8438     * BUG 922: Make sure enable fast path for strlower_m() and 
8439       strupper_m().
8442 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
8443     * Fix crash when using 'security = server' and 'encrypt 
8444       passwords = no' by always initializing the session key.
8446       
8447 o   Dmitry Butskoj <buc@odusz.elektra.ru>
8448     * Fix for special files being hidden from admins.
8451 o   Gerald (Jerry) Carter <jerry@samba.org>
8452     * Fix bug in the lanman session key generation.  Caused 
8453       "decode_pw: incorrect password length" error messages.
8454     * Save the right case for the located user name in 
8455       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
8456     * BUG 897: Add well known rid for pre win2k compatible access
8457       group.
8458     * BUG 887: Correct typo in delete user script example.
8459     * Use short lived TALLOC_CTX* for allocating printer objects 
8460       from the print handle cache.
8461     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
8462     * Fix several warnings reported by the SUN Forte C compiler.
8463     * Fully control DNS queries for AD DC's using 'name resolve order'.
8464     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
8465     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
8466     * BUG 936: fix bind credentials for schannel binds in smbd.
8467     * BUG 446: Fix output of smbclient for better compatibility 
8468       with scripts based on the 2.2 version (including Amanda).
8469     * BUG 891, 949: Fedora packaging fixes.
8470     * Fix bug that caused rpcclient to incorrectly retrieve 
8471       the SID for a server (this causing all calls that required 
8472       this information to fail). 
8473     * BUG 977: Don't create a homes share for a user if a static 
8474       share already exists by the same name.
8475     * Removed unused smb.conf options.
8476     * Password initialization fixes.
8477     * Set the disable flag for template accounts created by
8478       mksmbpasswd.sh.
8479     * Disable any account has no passwords and does not have the
8480       ACB_PWNOTREQ bit set.
8483 o   Guenther Deschner <gd@suse.com>
8484     * Install smbwrapper.so should be put into the $(libdir) 
8485       and not $(bindir).
8486     * Add the capability to specify the new user password 
8487       for "net ads password" on the command line.
8488     * Correctly detect AFS headers on SuSE.
8489         
8491 o   James Flemer <jflemer@uvm.edu>
8492     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
8493       HAVE_SYS_ATTRIBUTES_H.
8496 o   Luke Howard <lukeh@PADL.COM>
8497     * Fix segfault in session setup reply caused by a early free().
8500 o   Stoian Ivanov <sdr@bultra.com>
8501     * Implement grepable output for smbclient -L.
8504 o   LaMont Jones <lamont@debian.org>
8505     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
8506       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
8507       not being defined).
8509       
8510 o   Volker Lendecke <vl@samba.org>
8511     * BUG 583: Ensure that user names always contain the short 
8512       version of the domain name.
8513     * Fix our parsing of the LDAP uri.
8514     * Don't show the 'afs username map' in the SWAT basic view.
8515     * Fix SMB signing issues in relation to failed NTLMSSP logins.
8516     * BUG 924: Fix return codes in smbtorture harness.
8517     * Always lower-case usernames before handing it to AFS code.
8518     * Add a German translation for SWAT.
8519     * Fix a segfaults in winbindd.
8520     * Fix the user's domain passed to register_vuid() from 
8521       reply_spnego_Kerberos().
8522     * Add NSS example code in nss_winbind to convert UNIX 
8523       id's <-> Windows SIDs.
8524     * Display more descriptive error messages for login via 'net'.
8525     * Fix compiler warning in the net tool.
8526     * Fix length bug when decoding base64 strings.
8527     * Ensure we don't call getpwnam() inside a loop that is iterating 
8528       over users with getpwent().  This broke on glibc 2.3.2.
8531 o   Herb Lewis <herb@samba.org>
8532     * Fix bit rot in psec.
8535 o   Jianliang Lu <j.lu@tiesse.com>
8536     * Ensure we delete the group mapping before calling the delete 
8537       group script.
8538     * Define well known RID for managing the  "Power Users" group.
8539     * BUG 381: check builtin (not local) group SID when updating 
8540       group membership.
8541     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
8542       packet.
8545 o   John Klinger <john.klinger@lmco.com>
8546     * Implement initgroups() call in nss_winbind on Solaris.
8549 o   Jim McDonough <jmcd@us.ibm.com>
8550     * Fix regression in net rpc join caused by recent changes 
8551       to cli_lsa_query_info_policy().
8552     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
8553       machine account.
8556 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
8557     * BUG 570: Ensure that configure honors the LDFLAGS variable.
8560 o   Stefan Metzmacher <metze@samba.org>
8561     * Implement LDAP rebind sleep patch.
8562     * Revert to 2.2 quota code because of so many broken quota files 
8563       out there.
8564     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
8565                       XFS_USER_QUOTA -> USRQUOTA
8566                       XFS_GROUP_QUOTA -> GRPQUOTA
8567     * Fix disk_free calculation with group quotas.
8568     * Add debug class 'quota' and a lot of DEBUG()'s 
8569       to the quota code.
8570     * Fix sys_chown() when no chown() is present.
8571     * Add SIGABRT to fault handling in order to catch got a 
8572       backtrace if an error occurs the OpenLDAP client libs.
8575 o   <ndb@theghet.to>
8576     * Allow an existing LDAP machine account to be re-used when 
8577       joining an AD domain.
8580 o   James Peach <jpeach@sgi.com>
8581     * BUG 889: Change smbd to use pread/pwrite on platforms that 
8582       support these calls. Can lead to a significant speed increase.
8585 o   Tim Potter <tpot@samba.org>
8586     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
8587     * BUG 924: Fix typo in RW2 torture test.
8588     
8589     
8590 o   Richard Sharpe <rsharpe@samba.org>
8591     * Small fixes to torture.c to cleanup the error handling 
8592       and prevent crashes.
8595 o   J. Tournier <jerome.tournier@IDEALX.com>
8596     * Small fixes for the smbldap-tool scripts.
8599 o   Andrew Tridgell <tridge@samba.org>
8600     * Fix src len check in pull_usc2().
8601     
8602     
8603 o   Jelmer Vernooij <jelmer@samba.org>
8604     * Put functions for generating SQL queries in pdb_sql.c
8605     * Add pgSQL backend (based on patch by Hamish Friedlander)
8606     * BUG 908: Fix -s option to smbcontrol.    
8607     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
8608     * Fix for libnss_wins on IRIX platforms.
8609     * Fix swatdir for --with-fhs.
8612         --------------------------------------------------
8614                   =============================
8615                   Release Notes for Samba 3.0.1
8616                         December 15, 2003
8617                   =============================
8619 Some of the more common bugs in 3.0.0 addressed in the release 
8620 include:
8622   o Substitution problems with smb.conf variables.
8623   o Errors in return codes which caused some applications
8624     to fail to open files.
8625   o General Protection Faults on Windows 2000/XP clients
8626     using Samba point-n-print features.
8627   o Several miscellaneous crash bugs.
8628   o Access problems when enumerating group mappings are
8629     stored in an LDAP Directory.
8630   o Several common SWAT bugs when writing changes to
8631     smb.conf.
8632   o Internal inconsistencies when 'winbind use default
8633     domain = yes'
8637 Changes since 3.0.0
8638 ----------------------
8640     Parameter Name              Action
8641     --------------              ------
8642     hide local users            Removed
8643     mangled map                 Deprecated
8644     mangled stack               Removed
8645     passwd chat timeout         New
8648 commits
8649 -------
8651 o   Change the interface for init_unistr2 to not take a length 
8652     but a flags field.  We were assuming that 
8653     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
8654 o   Allow d_printf() to handle strings with escaped quotation 
8655     marks since the msg file includes the escape character (bug 489).
8656 o   Fix bad html table row termination in SWAT wizard code (bug 413).
8657 o   Fix to parse the level-2 strings.
8658 o   Fix for "valid users = %S" in [homes].  Fix read/write 
8659     list as well. 
8660 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
8661     This is the same way AC_CHECK_LIB works (bug 508).
8662 o   Testparm output fixes for clarity.
8663 o   Fix broken wins hook functionality -- i18n bug (bug 528).
8664 o   Take care of condition where DOS and NT error codes must differ.
8665 o   Default to using only built-in charsets when a working iconv 
8666     implementation cannot be located.
8667 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
8668     be done unconditionally (bug 550).
8669 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
8670 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
8671     --enable-debug=[yes|no] works correctly.
8672 o   Allow ^C to interrupt smbpasswd if using our getpass 
8673     (e.g. smbpasswd command).
8674 o   Support signing only on RPC's (bug 167).
8675 o   Correct bug that prevented  Excel 2000 clients from opening 
8676     files marked as read-only.
8677 o   Portability fix bugs 546 - 549).
8678 o   Explicitly initialize the value of AR for vendor makes that don't
8679     do this (e.g. HPUX 11).  (bug 552).
8680 o   More i18n fixes for SWAT (bug 413).
8681 o   Change the cwd before the postexec script to ensure that a
8682     umount will succeed.
8683 o   Correct double free that caused winbindd to crash when a DC 
8684     is rebooted (bug 437).
8685 o   Fix incorrect mode sum (bug 562).
8686 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
8687     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
8688 o   Add script to generate *msg files.
8689 o   Add Dutch SWAT translation file.
8690 o   Make sure to call get_user_groups() with the full winbindd 
8691     name for a user if he/she has one (bug 406).
8692 o   Fix up error code returns from Samba4 tester. Ensure invalid 
8693     paths are validated the same way.  
8694 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
8695 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
8696     libraries were found for $BACKEND.
8697 o   Move sysquotas autoconf tests to a separate file.
8698 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
8699     tester
8700 o   Make sure that the files that contain the static_init_$subsystem; 
8701     macro get recompiled after configure by removing the object 
8702     files.
8703 o   Ensure canceling a blocking lock returns the correct error 
8704     message.
8705 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
8706 o   Updated Japanese welcome file in SWAT.
8707 o   Fix to  nt-time <-> unix-time functions reversible.
8708 o   Ensure that winbindd uses the the escaped DN when querying
8709     an AD ldap server.
8710 o   Fix portability issues when compiling (bug 505, 550)
8711 o   Compile fix for tdbbackup when Samba needs to override 
8712     non-C99 compliant implementations of snprintf().
8713 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
8714 o   Make sure we break out of samsync loop on error.
8715 o   Ensure error code path doesn't free unmalloc()'d memory
8716     (bug 628).
8717 o   Add configure test for krb5_keytab_entry keyblock vs key 
8718     member (bug 636).
8719 o   Fixed spinlocks.
8720 o   Modified testparm so that all output so all debug output goes 
8721     to stderr, and all file processing goes to stdout.
8722 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
8723     and smbcquotas.
8724 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
8725     we have a devmode before copying a string to the devicename.
8726 o   Support mapping REALM.COM\user to a local user account (without 
8727     running winbindd)  for compatibility with 2.2.x release.
8728 o   Ensure we don't use mmap() on blacklisted systems.
8729 o   fixed a number of bugs and memory leaks in the AIX 
8730     winbindd shim
8731 o   Call initgroups() in SWAT before becomming the user so that
8732     secondary group permissions can be used when writing to 
8733     smb.conf.
8734 o   Fix signing problems when reverse connecting back to a 
8735     client for printer notify
8736 o   Fix signing problems caused by a miss-sequence bug.
8737 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
8738     Fixes NEXUS tools running on Win9x clients (bug 64).
8739 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
8740     SID could not be mapped.
8741 o   Fix segfault in mount.cifs helper when there is no options 
8742     specified during mount.
8743 o   Change the \n after the password prompt to go to tty instead 
8744     of stdout (bug 668).
8745 o   Stop net -P from prompting for machine account password (bug 451).
8746 o   Change in behavior to Not only change the effective uid but also
8747     the real uid when becoming unprivileged.
8748 o   Cope with Exchange 5.5 cleartext pop password auth.
8749 o   New files for support of initshutdown pipe.  Win2k doesn't 
8750     respond properly to all requests on the winreg pipe, so we need 
8751     to handle this new pipe (bug 534).
8752 o   Added more va_copy() checks in configure.in.
8753 o   Include fixes for libsmbclient build problems.
8754 o   Missing UNIX -> DOS codepage conversion in lanman.c.
8755 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
8756 o   Parameterize the listen backlog in smbd and make it larger by
8757     default. A backlog of 5 is way too small these days.
8758 o   Check for an invalid fid before dereferencing the fsp pointer
8759     (bug 696).
8760 o   Remove invalid memory frees and return codes in pdb_ldap.c.
8761 o   Prompt for password when invoking --set-auth-user and no 
8762     password is given.
8763 o   Bind the nmbd sending socket to the 'socket address'.
8764 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
8765     $LDFLAGS occurs before any library specification (bug 661).
8766 o   Fix large number of printf() calls for 64-bit size_t.
8767 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
8768     keyblock in the krb5 structs.
8769 o   Remove #include <compat.h> in hopes to avoid problems with 
8770     apache header files.
8771 o   Correct winbindd build problems on HP-UX 11.
8772 o   Lowercase netgroups lookups (bug 703).
8773 o   Use the actual size of the buffer in strftime instead of a made
8774     up value which just happens to be less than sizeof(fstring).  
8775     (bug 713).
8776 o   Add ldaplibs to pdbedit link line (bug 651).
8777 o   Fix crash bug in smbclient completion (bug 659).
8778 o   Fix packet length for browse list reply (bug 771).
8779 o   Fix coredump in cli_get_backup_list().
8780 o   Make sure that we expand %N (bug 612).
8781 o   Allow rpcclient adddriver command to specify printer driver 
8782     version (bug 514).
8783 o   Compile tdbdump by default.
8784 o   Apply patches to fix iconv detection for FreeBSD.
8785 o   Do not allow the 'guest account' to be added to a passdb backend 
8786     using smbpasswd or pdbedit (bug 624).
8787 o   Save LDFLAGS during iconv detection (bug 57).
8788 o   Run krb5 logins through the username map if the winbindd 
8789     lookup fails (bug 698).
8790 o   Add const for lp_set_name_resolve_order() to avoid compiler 
8791     warnings (bug 471).
8792 o   Add support for the %i macro in smb.conf to stand in for the for
8793     the local IP address to which a client connected.
8794 o   Allow winbindd to match local accounts to domain SID when 
8795     'winbind trusted domains only = yes' (bug 680).
8796 o   Remove code in idmap_ldap that searches the user suffix and group 
8797     suffix.  It's not needed and provides inconsistent functionality 
8798     from the tdb backend.
8799 o   Patch to handle munged dial string for Windows 2000 TSE.
8800     Thanks to Gaz de France, Direction de la Recherche, Service 
8801     Informatique Métier for their supporting this work by Aurelien 
8802     Degrémont <adegremont@idealx.com>.
8803 o   Correct the "smbldap_open: cannot access when not root error"
8804     messages when looking up group information (bug 281).
8805 o   Skip over the winbind separator when looking up a user.
8806     This fixes the bug that prevented local users from
8807     matching an AD user when not running winbindd (bug 698).
8808 o   Fix a problem with configure on *BSD systems. Make sure
8809     we add -liconv etc to LDFLAGS.
8810 o   Fix core dump bug when "security = server" and the authentication
8811     server goes away.
8812 o   Correct crash bug due to an empty munged dial string.
8813 o   Show files locked by a specific user (smbstatus -u 'user') 
8814     (bug 590).
8815 o   Fix bug preventing print jobs from display in the queue
8816     monitor used by Windows NT and later clients (bug 660).
8817 o   Fix several reported problems with point-n-print from
8818     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
8819     reply (bug 338, 527 & 643).
8820 o   Fix a handful of potential memory leaks in the LDAP code used
8821     by ldapsam[_compat] and the LDAP idmap backend.
8822 o   Fix for pdbedit error code returns (bug 763).
8823 o   Make sure we only enumerate group mapping entries  (not 
8824     /etc/group) even when doing local aliases.
8825 o   Relax check on the pipe name in a dce/rpc bind response to work 
8826     around issues with establishing trusts to a Windows 2003 domain.
8827 o   Ensure we mangle names ending in '.' in hash2 mangling method.
8828 o   Correct parsing issues with munged dial string.
8829 o   Fix bugs in quota support for XFS.
8830 o   Add a cleaner method for applications that need to provide 
8831     name->SID mappings to do this via NSS rather than having to 
8832     know the winbindd pipe protocol.
8833 o   Adds a variant of the winbindd_getgroups() call called 
8834     winbindd_getusersids() that provides direct SID->SIDs listing of 
8835     a users supplementary groups. This is enough to allow non-Samba 
8836     applications to do ACL checking.
8837 o   Make sure we don't append the 'ldap suffix' when writing out the 
8838     'ldap XXX suffix' values in SWAT (bug 328).
8839 o   Fix renames across file systems.
8840 o   Ensure that items in a list of strings containing whitespace are 
8841     written out surrounded by single quotes.  This means that both 
8842     double and single quotes are now used to surround strings in 
8843     smb.conf (bug 481).
8844 o   Enable SWAT to correctly determine if winbindd is running (bug 
8845     398).
8846 o   Include WWW-Authenticate field in 401 response for bad auth 
8847     attempt (bug 629).
8848 o   Add support for NTLM2 (NTLMv2 session security).
8849 o   Add support for variable-length session keys.
8850 o   More privilege fixes for group enumeration in LDAP (bug 281).
8851 o   Use the dns name (or IP) as the originating client name when
8852     using CUPS (bug 467).
8853 o   Fix various SMB signing bugs.
8854 o   Fix ACL propagation on a DFS root (bug 263).
8855 o   Disable NTLM2 for RPC pipes.
8856 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
8857     authentication.
8858 o   Change the name of the job passed off to cups from "Test Page" 
8859     to "smbprn.00000033 Test Page" so that we can get the smb 
8860     jobid back. This allow users to delete jobs with cups printing 
8861     backend (partial work on bug 770).
8862 o   Fix build of winbindd with static pdb modules.
8863 o   Retrieve the correct ACL group bits if the file has an ACL 
8864     (bug 802).
8865 o   Implement "net rpc group members": Get members of a domain group 
8866     in human-readable format.
8867 o   Add MacOSX (Darwin) specific charset module code.
8868 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
8869     can include the full name in gecos field (bug 587).
8870 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
8871 o   Implement 'net rpc group list [global|local|builtin]*' for a 
8872     select listing of the respective user databases.
8873 o   Don't automatically set NT status code flag unless client tells 
8874     us it can cope.
8875 o   Add 'net status [sessions|shares] [parseable]'.
8876 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
8877     bug 770).
8878 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
8879    (bug 608).
8880 o   Fix inverted logic in hosts allow/deny checks caused by 
8881     s/strcmp/strequal/ (bug 846).
8882 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
8883 o   Fix typo in 'hash' mangling algorithm.
8884 o   Support munged dial for ldapsam (bug 800).
8885 o   Fix process_incoming_data() to return the number of bytes handled 
8886     this call whether we have a complete PDU or not; fixes bug 
8887     with multiple PDU request rpc's broken over SMBwriteX calls 
8888     each.
8889 o   Fix incorrect smb flags2 for connections to pre-NT servers 
8890     (causes smbclient to fail to OS2 for example) (bug 821).
8891 o   Update version string in smbldap-tools Makefile to 0.8.2.
8892 o   Correct a problem with "net rpc vampire" mis-parsing the 
8893     alias member info reply.
8894 o   Ensure the ${libdir} is created by the installclientlib script.
8895 o   Fix detection of Windows 2003 client architecture in the smb.conf
8896     %a variable.
8897 o   Ensure that smbd calls the add user script for a missing UNIX 
8898     user on Kerberos auth call (bug 445).
8899 o   Fix bugs in hosts allow/deny when using a mismatched 
8900     network/netmask pair.
8901 o   Protect alloc_sub_basic() from crashing when the source string 
8902     is NULL (partial work on bug 687).
8903 o   Fix spinlocks on IRIX.
8904 o   Corrected some bad destination paths when running "configure 
8905     --with-fhs".
8906 o   Add packaging files for Fedora Core 1.
8907 o   Correct bug in SWAT install script for non-english languages.
8908 o   Support character set ISO-8859-1 internally (bug 558).
8909 o   Fixed more LDAP access errors when looking up group mappings 
8910     (bug 281).
8911 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
8912     resolution to fail on local files on on domain members 
8913     (bug 875).
8914 o   Fix uninitialized variable in passdb.c.
8915 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
8916 o   Fix problem mounting directories when mount.cifs is installed 
8917     with the setuid bit on.
8918 o   Fix bug that prevent --mandir from overriding the defaults
8919     given in the --with-fhs macro.
8920 o   Fix bug in in-memory Kerberos keytab detection routines 
8921     in configure.in
8925 ######################################################################
8927               The original 3.0.0 release notes follow
8928               =======================================
8929                     WHATS NEW IN Samba 3.0.0
8930                         September 24, 2003
8931               =======================================
8934 Major new features:
8935 -------------------
8937 1)  Active Directory support.  Samba 3.0 is now able to  
8938     join a ADS realm as a member server and authenticate 
8939     users using LDAP/Kerberos.
8941 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
8942     and internally there is now a much better infrastructure for 
8943     multi-byte and UNICODE character sets.
8945 3)  New authentication system. The internal authentication system 
8946     has been almost completely rewritten. Most of the changes are 
8947     internal, but the new auth system is also very configurable.
8949 4)  New default filename mangling system.
8951 5)  A new "net" command has been added. It is somewhat similar to 
8952     the "net" command in windows. Eventually we plan to replace 
8953     numerous other utilities (such as smbpasswd) with subcommands 
8954     in "net".
8956 6)  Samba now negotiates NT-style status32 codes on the wire. This
8957     improves error handling a lot.
8959 7)  Better Windows 2000/XP/2003 printing support including publishing
8960     printer attributes in active directory.
8962 8)  New loadable module support for passdb backends and character 
8963     sets.
8965 9)  New default dual-daemon winbindd support for better performance.
8967 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
8968     domain and maintaining user, group and domain SIDs.
8970 11) Support for establishing trust relationships with Windows NT 4.0
8971     domain controllers.
8972   
8973 12) Initial support for a distributed Winbind architecture using
8974     an LDAP directory for storing SID to uid/gid mappings.
8975   
8976 13) Major updates to the Samba documentation tree.
8978 14) Full support for client and server SMB signing to ensure
8979     compatibility with default Windows 2003 security settings.
8981 15) Improvement of ACL mapping features based on code donated by
8982     Andreas Grünbacher.
8985 Plus lots of other improvements!
8988 Additional Documentation
8989 ------------------------
8991 Please refer to Samba documentation tree (included in the docs/ 
8992 subdirectory) for extensive explanations of installing, configuring
8993 and maintaining Samba 3.0 servers and clients.  It is advised to 
8994 begin with the Samba-HOWTO-Collection for overviews and specific 
8995 tasks (the current book is up to approximately 400 pages) and to 
8996 refer to the various man pages for information on individual options.
8998 We are very glad to be able to include the second edition of
8999 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
9000 (O'Reilly & Associates) in this release.  The book is available
9001 on-line at http://samba.org/samba/docs/ and is included with 
9002 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
9003 publisher for making "Using Samba" under the GNU Free Documentation 
9004 License.
9007 ######################################################################
9008 Upgrading from a previous Samba 3.0 beta
9009 ########################################
9011 Beginning with Samba 3.0.0beta3, the RID allocation functions
9012 have been moved into winbindd.  Previously these were handled
9013 by each passdb backend.  This means that winbindd must be running
9014 to automatically allocate RIDs for users and/or groups.  Otherwise,
9015 smbd will use the 2.2 algorithm for generating new RIDs.
9017 If you are using 'passdb backend = tdbsam' with a previous Samba 
9018 3.0 beta release (or possibly alpha), it may be necessary to 
9019 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
9020 to winbindd_idmap.tdb.  To do this:
9022 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
9023     once)
9024 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
9025     directory
9026 3)  run: (note that 'tdb>' is the tool's prompt for input)
9028        root# ./tdbtool /usr/local/samba/private/passdb.tdb
9029        tdb> show RID_COUNTER
9030        key 12 bytes
9031        RID_COUNTER
9032        data 4 bytes
9033        [000] 0A 52 00 00                                       .R.
9035        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
9036        ....
9037        record moved
9039 If you are using 'passdb backend = ldapsam', it will be necessary to 
9040 store idmap entries in the LDAP directory as well (i.e. idmap backend 
9041 = ldap).  Refer to the 'net idmap' command for more information on 
9042 migrating SID<->UNIX id mappings from one backend to another.
9044 If the RID_COUNTER record does not exist, then these instructions are
9045 unneccessary and the new RID_COUNTER record will be correctly generated
9046 if needed.  
9050 ########################
9051 Upgrading from Samba 2.2
9052 ########################
9054 This section is provided to help administrators understand the details
9055 involved with upgrading a Samba 2.2 server to Samba 3.0.
9058 Building
9059 --------
9061 Many of the options to the GNU autoconf script have been modified 
9062 in the 3.0 release.  The most noticeable are:
9064   * removal of --with-tdbsam (is now included by default; see section
9065     on passdb backends and authentication for more details)
9066     
9067   * --with-ldapsam is now on used to provided backward compatible
9068     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
9069     backend and authentication section for more details
9070   
9071   * inclusion of non-standard passdb modules may be enabled using
9072     --with-expsam.  This includes an XML backend and a mysql backend.
9073       
9074   * removal of --with-msdfs (is now enabled by default)
9075   
9076   * removal of --with-ssl (no longer supported)
9077   
9078   * --with-utmp now defaults to 'yes' on supported systems
9079   
9080   * --with-sendfile-support is now enabled by default on supported 
9081     systems
9082   
9083     
9084 Parameters
9085 ----------
9087 This section contains a brief listing of changes to smb.conf options
9088 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
9089 complete descriptions of new or modified parameters.
9091 Removed Parameters (order alphabetically):
9093   * admin log
9094   * alternate permissions
9095   * character set
9096   * client codepage
9097   * code page directory
9098   * coding system
9099   * domain admin group
9100   * domain guest group
9101   * force unknown acl user
9102   * hide local users
9103   * mangled stack
9104   * nt smb support
9105   * postscript
9106   * printer driver
9107   * printer driver file
9108   * printer driver location
9109   * read size
9110   * source environment
9111   * status
9112   * strip dot
9113   * total print jobs
9114   * use rhosts
9115   * valid chars
9116   * vfs options
9118 New Parameters (new parameters have been grouped by function):
9120   Remote management
9121   -----------------
9122   * abort shutdown script
9123   * shutdown script
9125   User and Group Account Management
9126   ---------------------------------
9127   * add group script
9128   * add machine script
9129   * add user to group script
9130   * algorithmic rid base
9131   * delete group script
9132   * delete user from group script
9133   * passdb backend
9134   * set primary group script
9136   Authentication
9137   --------------
9138   * auth methods
9139   * realm
9140   * passwd chat timeout
9142   Protocol Options
9143   ----------------
9144   * client lanman auth
9145   * client NTLMv2 auth
9146   * client schannel
9147   * client signing
9148   * client use spnego
9149   * disable netbios
9150   * ntlm auth
9151   * paranoid server security
9152   * server schannel
9153   * server signing
9154   * smb ports
9155   * use spnego
9157   File Service
9158   ------------
9159   * get quota command
9160   * hide special files
9161   * hide unwriteable files
9162   * hostname lookups
9163   * kernel change notify
9164   * mangle prefix
9165   * map acl inherit
9166   * msdfs proxy
9167   * set quota command
9168   * use sendfile
9169   * vfs objects
9170   
9171   Printing
9172   --------
9173   * max reported print jobs
9175   UNICODE and Character Sets
9176   --------------------------
9177   * display charset
9178   * dos charset
9179   * unicode
9180   * unix charset
9181   
9182   SID to uid/gid Mappings
9183   -----------------------
9184   * idmap backend
9185   * idmap gid
9186   * idmap uid
9187   * winbind enable local accounts
9188   * winbind trusted domains only
9189   * template primary group
9190   * enable rid algorithm
9192   LDAP
9193   ----
9194   * ldap delete dn
9195   * ldap group suffix
9196   * ldap idmap suffix
9197   * ldap machine suffix
9198   * ldap passwd sync
9199   * ldap replication sleep
9200   * ldap user suffix
9201   
9202   General Configuration
9203   ---------------------
9204   * preload modules
9205   * private dir
9207 Modified Parameters (changes in behavior):
9209   * encrypt passwords (enabled by default)
9210   * mangling method (set to 'hash2' by default)
9211   * passwd chat
9212   * passwd program
9213   * restrict anonymous (integer value)
9214   * security (new 'ads' value)
9215   * strict locking (enabled by default)
9216   * unix extensions (enabled by default)
9217   * winbind cache time (increased to 5 minutes)
9218   * winbind uid (deprecated in favor of 'idmap uid')
9219   * winbind gid (deprecated in favor of 'idmap gid')
9222 Databases
9223 ---------
9225 This section contains brief descriptions of any new databases 
9226 introduced in Samba 3.0.  Please remember to backup your existing 
9227 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
9228 upgrade databases as they are opened (if necessary), but downgrading 
9229 from 3.0 to 2.2 is an unsupported path.
9231 Name                    Description                             Backup?
9232 ----                    -----------                             -------
9233 account_policy          User policy settings                    yes
9234 gencache                Generic caching db                      no
9235 group_mapping           Mapping table from Windows              yes
9236                         groups/SID to unix groups        
9237 winbindd_idmap          ID map table from SIDS to UNIX          yes
9238                         uids/gids.
9239 namecache               Name resolution cache entries           no
9240 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
9241                         returned as part of a successful
9242                         net_sam_logon request 
9243 printing/*.tdb          Cached output from 'lpq                 no
9244                         command' created on a per print 
9245                         service basis
9246 registry                Read-only samba registry skeleton       no
9247                         that provides support for exporting
9248                         various db tables via the winreg RPCs
9251 Changes in Behavior
9252 -------------------
9254 The following issues are known changes in behavior between Samba 2.2 and 
9255 Samba 3.0 that may affect certain installations of Samba.
9257   1)  When operating as a member of a Windows domain, Samba 2.2 would 
9258       map any users authenticated by the remote DC to the 'guest account'
9259       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
9260       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
9261       current work around to re-establish the 2.2 behavior.
9262       
9263   2)  When adding machines to a Samba 2.2 controlled domain, the 
9264       'add user script' was used to create the UNIX identity of the 
9265       machine trust account.  Samba 3.0 introduces a new 'add machine 
9266       script' that must be specified for this purpose.  Samba 3.0 will
9267       not fall back to using the 'add user script' in the absence of 
9268       an 'add machine script'
9269   
9271 ######################################################################
9272 Passdb Backends and Authentication
9273 ##################################
9275 There have been a few new changes that Samba administrators should be
9276 aware of when moving to Samba 3.0.
9278   1) encrypted passwords have been enabled by default in order to 
9279      inter-operate better with out-of-the-box Windows client 
9280      installations.  This does mean that either (a) a samba account
9281      must be created for each user, or (b) 'encrypt passwords = no'
9282      must be explicitly defined in smb.conf.
9283     
9284   2) Inclusion of new 'security = ads' option for integration 
9285      with an Active Directory domain using the native Windows
9286      Kerberos 5 and LDAP protocols.
9288      MIT Kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
9289      type which is neccessary for servers on which the 
9290      administrator password has not been changed, or Kerberos-enabled 
9291      SMB connections to servers that require Kerberos SMB signing.
9292      Besides this one difference, either MIT or Heimdal Kerberos
9293      distributions are usable by Samba 3.0.
9294      
9296 Samba 3.0 also includes the possibility of setting up chains
9297 of authentication methods (auth methods) and account storage 
9298 backends (passdb backend).  Please refer to the smb.conf(5) 
9299 man page for details.  While both parameters assume sane default 
9300 values, it is likely that you will need to understand what the 
9301 values actually mean in order to ensure Samba operates correctly.
9303 The recommended passdb backends at this time are
9305   * smbpasswd - 2.2 compatible flat file format
9306   * tdbsam - attribute rich database intended as an smbpasswd
9307     replacement for stand alone servers
9308   * ldapsam - attribute rich account storage and retrieval 
9309     backend utilizing an LDAP directory.  
9310   * ldapsam_compat - a 2.2 backward compatible LDAP account 
9311     backend
9312     
9313 Certain functions of the smbpasswd(8) tool have been split between the 
9314 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
9315 utility.  See the respective man pages for details.
9316     
9317      
9318 ######################################################################
9319 LDAP
9320 ####
9322 This section outlines the new features affecting Samba / LDAP 
9323 integration.
9325 New Schema
9326 ----------
9327   
9328 A new object class (sambaSamAccount) has been introduced to replace 
9329 the old sambaAccount.  This change aids us in the renaming of 
9330 attributes to prevent clashes with attributes from other vendors.  
9331 There is a conversion script (examples/LDAP/convertSambaAccount) to 
9332 modify and LDIF file to the new schema.
9333   
9334 Example:
9335   
9336   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
9337   $ convertSambaAccount --sid=<Domain SID> \
9338     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
9339     --changetype=[modify|add]
9340         
9341 The <DOM SID> can be obtained by running 'net getlocalsid 
9342 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
9343 the format of the generated LDIF output--either create new entries 
9344 or modify existing entries.
9345     
9346 The old sambaAccount schema may still be used by specifying the 
9347 "ldapsam_compat" passdb backend.  However, the sambaAccount and
9348 associated attributes have been moved to the historical section of
9349 the schema file and must be uncommented before use if needed.
9350 The 2.2 object class declaration for a sambaAccount has not changed
9351 in the 3.0 samba.schema file. 
9352   
9353 Other new object classes and their uses include:
9354   
9355   * sambaDomain - domain information used to allocate rids 
9356     for users and groups as necessary.  The attributes are added
9357     in 'ldap suffix' directory entry automatically if 
9358     an idmap uid/gid range has been set and the 'ldapsam'
9359     passdb backend has been selected.
9360       
9361   * sambaGroupMapping - an object representing the 
9362     relationship between a posixGroup and a Windows
9363     group/SID.  These entries are stored in the 'ldap 
9364     group suffix' and managed by the 'net groupmap' command.
9365     
9366   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
9367     automatically and contains the next available 'idmap uid' and 
9368     'idmap gid'
9369     
9370   * sambaIdmapEntry - object storing a mapping between a 
9371     SID and a UNIX uid/gid.  These objects are created by the 
9372     idmap_ldap module as needed.
9374   * sambaSidEntry - object representing a SID alone, as a Structural
9375     class on which to build the sambaIdmapEntry.
9377     
9378 New Suffix for Searching
9379 ------------------------
9380   
9381 The following new smb.conf parameters have been added to aid in directing
9382 certain LDAP queries when 'passdb backend = ldapsam://...' has been
9383 specified.
9385   * ldap suffix         - used to search for user and computer accounts
9386   * ldap user suffix    - used to store user accounts
9387   * ldap machine suffix - used to store machine trust accounts
9388   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
9389   * ldap idmap suffix   - location of sambaIdmapEntry objects
9391 If an 'ldap suffix' is defined, it will be appended to all of the 
9392 remaining sub-suffix parameters.  In this case, the order of the suffix
9393 listings in smb.conf is important.  Always place the 'ldap suffix' first
9394 in the list.  
9396 Due to a limitation in Samba's smb.conf parsing, you should not surround 
9397 the DN's with quotation marks.
9400 IdMap LDAP support
9401 ------------------
9403 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
9404 following options would inform Samba that the idmap table should be
9405 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
9406 dc=org" partition.
9408  [global]
9409     ...
9410     idmap backend     = ldap:ldap://onterose/
9411     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
9412     idmap uid         = 40000-50000
9413     idmap gid         = 40000-50000
9415 This configuration allows winbind installations on multiple servers to
9416 share a uid/gid number space, thus avoiding the interoperability problems
9417 with NFS that were present in Samba 2.2.
9418     
9421 ######################################################################
9422 Trust Relationships and a Samba Domain
9423 ######################################
9425 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
9426 allocating uids and gids to trusted users and groups.  More
9427 information regarding Samba's support for establishing trust 
9428 relationships can be found in the Samba-HOWTO-Collection included
9429 in the docs/ directory of this release.
9431 First create your Samba PDC and ensure that everything is 
9432 working correctly before moving on the trusts.
9434 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
9435 4.0 domain named WINDOWS:
9437   1) create the trust account for SAMBA in "User Manager for Domains"
9438   2) connect the trust from the Samba domain using
9439      'net rpc trustdom establish GLASS'
9441 To create a trustlationship with SAMBA as the trusted domain:
9443   1) create the initial trust account for GLASS using
9444      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
9445      account for GLASS$ prior to this step (depending on your
9446      local configuration).
9447   2) connect the trust from a WINDOWS DC using "User Manager
9448      for Domains"
9450 Now join winbindd on the Samba PDC to the SAMBA domain using
9451 the normal steps for adding a Samba server to an NT4 domain:
9452 (note that smbd & nmbd must be running at this point)
9454    root# net rpc join -U root
9455    Password: <enter root password from smbpasswd file here>
9457 Start winbindd and test the join with 'wbinfo -t'.
9459 Now test the trust relationship by connecting to the SAMBA DC
9460 (e.g. POGO) as a user from the WINDOWS domain:
9462    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
9463    Password:
9465 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
9467    $ smbclient //crystal/netlogon -U root -W WINDOWS
9468    Password:
9470 ######################################################################
9471 Changes in Winbind
9472 ##################
9474 Beginning with Samba3.0.0beta3, winbindd has been given new account
9475 manage functionality equivalent to the 'add user script' family of
9476 smb.conf parameters.  The idmap design has also been changed to 
9477 centralize control of foreign SID lookups and matching to UNIX 
9478 uids and gids.
9481 Brief Description of Changes
9482 ----------------------------
9484 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
9485    reverted to the 2.2.x design.  This means that when resolving a 
9486    SID to a UID or similar mapping:
9488         a) First consult winbindd
9489         b) perform a local lookup only if winbindd fails to
9490            return a successful answer
9492    There are some variations to this, but these two rules generally
9493    apply.
9495 2) All idmap lookups have been moved into winbindd.  This means that
9496    a server must run winbindd (and support NSS) in order to achieve
9497    any mappings of SID to dynamically allocated UNIX ids.  This was
9498    a conscious design choice.
9500 3) (OBSOLETE) New functions have been added to winbindd to emulate 
9501    the 'add user script' family of smbd functions without requiring 
9502    that external scripts be defined.  This functionality is controlled 
9503    by the 'winbind  enable local accounts' smb.conf parameter (enabled 
9504    by default).
9506    However, this account management functionality is only supported 
9507    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
9508    must be shared among multiple Samba servers (such as a PDC and BDCs), 
9509    it will be necessary to define your own 'add user script', et. al.
9510    programs that place the accounts/groups in some form of directory
9511    such as NIS or LDAP.  This requirement was deemed beyond the scope
9512    of winbind's account management functions.  Solutions for 
9513    distributing UNIX system information have been deployed and tested 
9514    for many years.  We saw no need to reinvent the wheel.
9516 4) A member of a Samba controlled domain running winbindd is now able 
9517    to map domain users directly onto existing UNIX accounts while still
9518    automatically creating accounts for trusted users and groups.  This
9519    behavior is controlled by the 'winbind trusted domains only' smb.conf
9520    parameter (disabled by default to provide 2.2.x winbind behavior).
9522 5) Group mapping support is wrapped in the local_XX_to_XX() functions
9523    in smbd/uid.c.  The reason that group mappings are not included
9524    in winbindd is because the purpose of Samba's group map is to
9525    match any Windows SID with an existing UNIX group.  These UNIX
9526    groups can be created by winbindd (see next section), but the
9527    SID<->gid mapping is retreived by smbd, not winbindd.
9530 Examples
9531 --------
9533 * security = server running winbindd to allocate accounts on demand
9535 * Samba PDC running winbindd to handle the automatic creation of UNIX
9536   identities for machine trust accounts
9538 * Automtically creating UNIX user and groups when migrating a Windows NT
9539   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
9540   'net rpc vampire' for this to work.
9542    
9543 ######################################################################
9544 Known Issues
9545 ############
9547 * There are several bugs currently logged against the 3.0 codebase
9548   that affect the use of NT 4.0 GUI domain management tools when run
9549   against a Samba 3.0 PDC.  This bugs should be released in an early 
9550   3.0.x release.
9552 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
9553 filed against the Samba 3.0 codebase.
9556 ######################################################################
9557 Reporting bugs & Development Discussion
9558 #######################################
9560 Please discuss this release on the samba-technical mailing list or by
9561 joining the #samba-technical IRC channel on irc.freenode.net.
9563 If you do report problems then please try to send high quality
9564 feedback. If you don't provide vital information to help us track down
9565 the problem then you will probably be ignored.  
9567 A new bugzilla installation has been established to help support the 
9568 Samba 3.0 community of users.  This server, located at 
9569 https://bugzilla.samba.org/, has replaced the older jitterbug server 
9570 previously located at http://bugs.samba.org/.