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