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