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