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