r632: pulling in release notes from 3.0.4 and getting ready to start 3.0.5pre1
[gd/samba/.git] / WHATSNEW.txt
1                  =================================
2                  Release Notes for Samba 3.0.5pre1
3                             XXXX XX, 2004
4                  =================================
5
6 This is a preview release of the Samba 3.0.5 code base and is
7 provided for testing only.  This release is *not* intended for
8 production servers.  Use at your own risk.
9
10 There have been several bug fixes since the 3.0.4 release that
11 we feel are important to make available to the Samba community
12 for wider testings.  See the "Changes" section for details on
13 exact updates.
14
15 Common bugs fixed in Samba 3.0.5pre1 include:
16
17   o <FILL IN>
18
19
20 ######################################################################
21 Changes
22 #######
23
24 Changes since 3.0.4
25 -------------------
26
27 commits
28 -------
29
30
31
32
33 Changes for older versions follow below:
34
35     --------------------------------------------------
36
37                  =============================
38                  Release Notes for Samba 3.0.4
39                           May 8, 2004
40                  =============================
41
42
43 Common bugs fixed in Samba 3.0.4 include:
44
45   o Password changing after applying the patch described in
46     the Microsoft KB828741 article to Windows clients.
47   o Crashes in smbd.
48   o Managing print jobs via Windows on Big-Endian servers.
49   o Several memory leaks in winbindd and smbd.
50   o Compile issues on AIX and *BSD.
51
52
53
54 Changes since 3.0.3
55 --------------------
56
57 commits
58 -------
59
60 o   Jeremy Allison <jra@samba.org>
61     * Fix path processing for DeletePrinterDriverEx().
62     * BUG 1303: Fix for Microsoft hotfix KB828741 password change 
63       breakage.
64
65
66 o   Andrew Bartlett <abartlet@samba.org>
67     * Fix alignment bug in GetDomPwInfo().
68
69
70 o   Alexander Bokovoy <ab@samba.org>
71     * Fix utime[s]() issues in smbwrapper on systems 
72       that can boot both the 2.4 and 2.6 Linux kernels.
73
74
75 o   Gerald Carter <jerry@samba.org>
76     * Fedora packaging fixes.
77     * BUG 1302: Fix seg fault by not trying to optimize a list of 
78       invalid gids using the wrong array size.
79     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
80       seen when 'security = share'.
81     * Fix problems when using IBM's compiler on AIX.
82     * Link Developer's Guide, Example Guide, and multi-page HOWTO
83       into SWAT's welcome page.
84     * BUG 1293: fix double free in printer publishing code.
85
86     
87 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
88     * Fix for handling timeouts in socket connections.
89
90
91 o   Michel Gravey <michel.gravey@optogone.com>
92     * BUG 483: patch from  to fix password hash creation in SWAT.
93     
94
95 o   Volker Lendecke <vl@samba.org>
96     * Close the open NT pipes before the tdis.
97     * Fix AFS related build issues.
98     * Handle error conditions when base64 encoding a blob of 0 bytes.
99
100     
101 o   Herb Lewis <herb@samba.org>
102     * Added 'acls' debug class.
103
104 o   kawasa_r@itg.hitachi.co.jp
105     * Multiple variable initialization and memory leak fixes.
106     
107     
108 o   Stephan Kulow <coolo@suse.de>
109     * Fix string length bug in libsmbclient that caused KDE's 
110       Konqueror to crash.
111     * BUG 429: More libsmbclient fixes.
112
113
114 o   Jim McDonough <jmcd@us.ibm.com>
115     * BUG 1007, 1279: Store the print job using a little-endian key.
116
117
118 o   Eric Mertens
119     o Compile fix for OpenBSD (ENOTSUP not supported).
120
121     
122 o   Stefan Metzmacher <metze@samba.org>
123     * Correct bug in disks quota views from explorer.
124
125     
126 o   Tim Potter <tpot@samba.org>
127     BUG 1305: Correct debug output.
128
129
130 o   Richard Sharpe <rsharpe@samba.org>
131     * Fix incorrect error code mapping.
132
133
134 o   Jelmer Vernooij <jelmer@samba.org>
135     * Add additional NT_STATUS errorm mappings.
136     
137
138 Changes for older versions follow below:
139
140     --------------------------------------------------
141
142                  =============================
143                  Release Notes for Samba 3.0.3
144                         April 29, 2004
145                  =============================
146
147
148 Common bugs fixed in Samba 3.0.3 include:
149
150   o Crash bugs and change notify issues in Samba's printing code.
151   o Honoring secondary group membership on domain member servers.
152   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
153   o Substitution errors for %[UuGg] in smb.conf.
154   o winbindd crashes when using ADS security mode.
155   o SMB signing errors.
156   o Delays in winbindd startup caused by unnecessary 
157     connections to trusted domain controllers.
158   o Various small memory leaks.
159   o Winbindd failing due to expired Kerberos tickets.
160
161 New features introduced in Samba 3.0.3 include:
162
163   o Improved support for i18n character sets.
164   o Support for account lockout policy based on
165     bad password attempts.
166   o Improved support for long password changes (>14
167     characters) and strong password enforcement.
168   o Support for Windows aliases (i.e. nested groups).
169   o Experimental support for storing DOS attribute on files
170     and folders in Extended Attributes.
171   o Support for local nested groups via winbindd.
172   o Specifying options to be passed directly to the CUPS libraries.
173
174 Please be aware that the Samba source code repository was 
175 migrated from CVS to Subversion on April 4, 2004.  Details on 
176 accessing the Samba source tree via anonymous svn can be found 
177 at http://svn.samba.org/samba/subversion.html.
178
179
180 Changes since 3.0.2a
181 --------------------
182 smb.conf changes
183 ----------------
184
185     Parameter Name              Action
186     --------------              ------
187     cups options                New
188     ea support                  New
189     only user                   Deprecated
190     store dos attributes        New
191     unicode                     Removed
192     winbind nested groups       New
193
194     
195 commits
196 -------
197
198 o   Jeremy Allison <jra@samba.org>
199     * Ensure that Kerberos mutex is always properly unlocked.
200     * Removed Heimdal "in-memory keytab" support.
201     * Fixup the 'multiple-vuids' bugs in our server code.
202     * Correct return code from lsa_lookup_sids() on unmapped
203       sids (based on work by vl@samba.org).
204     * Fix the "too many fcntl locks" scalability problem 
205       raised by tridge.
206     * Fixup correct (as per W2K3) returns for lookupsids 
207       as well as lookupnames.
208     * Fixups for delete-on-close semantics as per Win2k3 behavior.
209     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
210     * Fix "unable to initialize" bug when smbd hasn't been run with 
211       new system and a user is being added via pdbedit/smbpasswd.
212     * Added NTrename SMB (0xA5).
213     * Fixup correct timeout values for blocking lock timeouts.
214     * Fix various bugs reported by 'gentest'.
215     * More locking fixes in the case where we own the lock.
216     * Fix up regression in IS_NAME_VALID and renames.
217     * Don't set allocation size on directories.
218     * Return correct error code on fail if file exists and target 
219       is a directory.
220     * Added client "hardlink" comment to test doing NT rename with 
221       hard links.  Added hardlink_internals() code - UNIX extensions 
222       now use this as well.
223     * Use a common function to parse all pathnames from the wire for 
224       much closer emulation of Win2k3 error return codes.
225     * Implement check_path_syntax() and rewrite string sub 
226       functions for better multibyte support.
227     * Ensure msdfs referrals are multibyte safe.
228     * Allow msdfs symlink syntax to be more forgiving.
229       eg. sym_link -> msdfs://server/share/path/in/share 
230       or  sym_link -> msdfs:\\server\share\path\in\share.
231     * Cleanup multibyte netbios name support in nmbd ( based on patch
232       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
233     * Fix check_path_syntax() for multibyte encodings which have 
234       no '\' as second byte (based on work by ab@samba.org.
235     * Fix the "dfs self-referrals as anonymous user" problem
236       (based on patch from vl@samba.org).
237     * BUG 1064: Ensure truncate attribute checking is done correctly 
238       on "hidden" dot files.
239     * Fix bug in anonymous dfs self-referrals again.
240     * Fix get/set of EA's in client library
241     * Added support for OS/2 EA's in smbd server.
242     * Added 'ea support' parameter to smb.conf.
243     * Added 'store dos attributes' parameter to smb.conf.
244     * Fix wildcard identical rename.
245     * Fix reply_ctemp - make compatible with w2k3.
246     * Fix wildcard unlink.
247     * Fix wildcard src with wildcard dest renames.      
248     * BUG 1139: Fix based on suggestion by jdev@panix.com.
249       swap lookups for user and group - group will do an
250       algorithmic lookup if it fails, user won't.
251     * Make EA's lookups case independent.
252     * Fix SETPATHINFO in 'unix extensions' support.
253     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
254       the UNIX info levels, and the short case preserve names.
255
256
257 o   Timur Bakeyev <timur@com.bat.ru>
258     * BUG 1144: only set --with-fhs when the argument is 'yes'
259     * BUG 1152: Allow python modules to build despite libraries added 
260       to LDFLAGS instead of LDPATH.
261     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
262
263
264 o   Craig Barratt <cbarratt@users.sourceforge.net>
265     * BUG 389: Allow multiple exclude arguments with smbclient 
266       tar -Xr options (better support for Amanda backup client).
267
268
269 o   Andrew Bartlett <abartlet@samba.org>
270     * Include support for linking with cracklib for enforcing strong 
271       password changes.
272     * Add support for >14 character password changes from Windows 
273       clients.
274     * Add 'admin set password' capability to 'net rpc'.
275     * Allow 'net rpc samdump' to work with any joined domain 
276       regardless of smb.conf settings.
277     * Use an allocated buffer for count_chars.
278     * Add sanity checks for changes in the domain SID in an 
279       LDAP DIT.
280     * Implement python unit tests for Samba's multibyte string 
281       support.
282     * Remove 'unicode' smb.conf option.
283     * BUG 1138: Fix support for 'optional' SMB signing and other 
284       signing bugs.
285     * BUG 169: Fix NTLMv2-only behavior.
286     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
287       default.
288     * Support SMB signing on connections using only the LANMAN 
289       password and generate the correct the 'session key' for these 
290       connections.
291     * Implement --required-membership-of=, an ntlm_auth option 
292       that restricts all authentication to members of this particular 
293       group.
294     * Improve our fall back code for password changes.
295     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
296       after the server had said something (such as an error).
297     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
298
299       
300 o   Alexander Bokovoy <ab@samba.org>
301     * Fix incorrect size calculation of the directory name 
302       in recycle.so.
303     * Fix problems with very long filenames in both smbd and smbclient
304       caused by truncating paths during character conversions.
305     * Fix smbfs problem with Tree Disconnect issued before smbfs 
306       starts its work.
307
308
309 o   Gerald Carter <jerry@samba.org>
310     * BUG 850: Fix 'make installmodules' bug on True64.
311     * BUG 66: mark 'only user' deprecated.
312     * Remove corrupt tdb and shutdown (only for printing tdbs, 
313       connections, sessionid & locking).
314     * decrement smbd counter in connections.tdb in smb_panic().
315     * RedHat specfile updates.
316     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
317     * BUG 1147; bad pointer case in get_stored_queue_info() 
318       causing seg fault.
319     * BUG 761: read the config file before initialized default 
320       values for printing options; don't default to bsd printing 
321       Linux.
322     * Allow the 'printing' parameter to be set on a per share basis.
323     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
324     * BUG 848: don't create winbind local users/groups that already 
325       exist in the tdb.
326     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
327       LynxOS/ppc).
328     * BUG 488: fix the 'show client in col 1' button and correctly 
329       enumerate active connections.
330     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
331       problem when storing the updating pid for the lpq cache.
332     * BUG 1007 (partial): Fix print change notify bugs.
333     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
334       and winbind use default domain = yes.  Also ensures that 
335     * BUG 1151: Ensure that winbindd users are passed through 
336       the username map.
337     * Fix client rpc binds for ASU derived servers (pc netlink, 
338       etc...).
339     * BUG 417, 1128: Ensure that the current_user_info is set
340       consistently so that %[UuGg] is expanded correctly.
341     * BUG 1195: Fix crash in winbindd when the ADS server is 
342       unavailable.
343     * BUG 1185: Set reconnect time to be the same as the 
344       'winbind cache time'.
345     * Ensure that we return the sec_desc in smb_io_printer_info_2.
346     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
347     * BUG 1095: Honor the '-l' option in smbclient.
348     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
349       block.
350     * Ensure server schannel uses the auth level requested by the 
351       client.
352     * Removed --with-cracklib option due to potential crash issue.
353     * Fix -lcrypto linking problem with wbinfo.
354     * BUG 761: allow printing parameter to set defaults on a per 
355       share basis.
356     * Add 'cups options' parameter to allow raw printing without 
357       changing /etc/cups/cupsd.conf.
358     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
359       winbindd.
360     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
361     * BUG 1288: resolve any machine netbios name (0x00) and not just 
362       servers (0x20).
363     * BUG 1199: Fix potential symlink issue in 
364       examples/printing/smbprint.
365
366
367 o   Robert Dahlem <Robert.Dahlem@gmx.net>
368     * BUG 1048:  Don't return short names when when 'mangled names = no'
369
370
371 o   Guenther Deschner <gd@suse.com>
372     * Remove hard coded attribute name in the ads ranged retrieval
373       code.
374     * Add --with-libdir and --with-mandir to autoconf script.
375
376
377 o   Bostjan Golob <golob@gimb.org>
378     * BUG 1046: Fix  getpwent_list() so that the username is not 
379       overwritten by other fields.
380
381
382 o   Landon Fuller <landonf@opendarwin.org>
383     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
384       to fix user/group enumeration on systems whose libc does not 
385       call setgrent() before trying to enumerate users (i.e. 
386       FreeBSD 5.2).
387
388
389 o   Steve French <sfrench@us.ibm.com>
390     * Update mount.cifs to version 1.1.
391     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
392     * Fixes to minor security bug in the mount helper.
393     * Fix credential file mounting for cifs vfs.
394     * Fix free of incremented pointer in cifsvfs mount helper.
395     * Fix path canonicalization of the mount target path and help 
396       text display in the cifs mount helper.
397     * Add missing guest mount option for mount.cifs.
398
399
400 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
401     * BUG 1055; formatting fixes for 'net share'.
402     * BUG 692: correct truncation of share names and workgroup 
403       names in smbclient.
404     * BUG 1088: use strchr_m() for query_host (smbclient -L).
405     * Patch from to internally count characters correctly.
406
407
408 o   Paul Green <paulg@samba.org>
409     * Update VOS _POSIX_C_SOURCE macro to 200112L.
410     * Fix bug in configure.ion by moving the first use of 
411       AC_CHECK_HEADERS so it is always executed.
412     * Fix configure.in to only use $BLDSHARED to select whether to 
413       build static or shared libraries.
414
415
416 o   Pat Haywarrd <Pat.Hayward@propero.net>
417     * Make the session_users list dynamic (max of 128K).
418     
419     
420 o   Cal Heldenbrand <calzplace@yahoo.com> 
421     * Fix for for 'pam_smbpass migrate' functionality.
422
423
424 o   Chris Hertel <crh@samba.org>
425     * fix enumeration of shares 12 characters in length via 
426       smbclient.
427
428
429 o   Ulrich Holeschak <ulrich@holeschak.de>
430     * BUG 932: fix local password change using pam_smbpass
431
432
433 o   Krischan Jodies <kj@sernet.de>
434     * Implement 'net rpc group delete'
435
436
437 o   John Klinger <john.klinger@lmco.com>
438     * Return NSS_SUCCESS once the max number of gids possible 
439        has been found in initgroups() on Solaris.
440     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
441
442
443 o   Volker Lendecke <vl@samba.org>
444     * Fix success message for net groupmap modify.
445     * Fix errors when enumerating members of groups in 'net rpc'.
446     * Match Windows behavior in samr_lookup_names() by returning
447       ALIAS(4) when you search in BUILTIN. 
448     * Fix server SAMR code to be able to set alias info for 
449       builtin as well. 
450     * Fix duplication of logic when creating groups via smbd.
451     * Ensure that the HWM values are set correctly after running 
452       'net idmap'.
453     * Add 'net rpc group add'.
454     * Implement 'net groupmap set' and 'net groupmap cleanup'.
455     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
456     * Fix wb_delgrpmem (wbinfo -o).
457     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
458     * Fix sambaUserWorkstations on a Samba DC.
459     * Implement wbinfo -k: Have winbind generate an AFS token after
460       authenticating the user.
461     * Add expand_msdfs VFS module for providing referrals based on the
462       the client's IP address.
463     * Implement client side NETLOGON GetDCName function.
464     * Fix caching of name->sid lookups.
465     * Add support in winbindd for expanding nested local groups.
466     * Fix memleak in winbindd.
467     * Fix msdfs proxy.
468     * Don't list domain groups from BUILTIN.
469     * Fix memleak in policy handle utility functions.
470     * Decrease winbindd startup time by only contacting trusted 
471       domains as necessary.
472     * Allow winbindd to ask the DC for its domain for a trusted 
473       DC.
474     * Fix Netscape DS schema based on comments from 
475       <thomas.mueller@christ-wasser.de>.
476     * Correct case where adding a domain user to a XP local group 
477       did a lsalookupname on the user without domain prefix, and 
478       failed.
479     * Fix segfault in winbindd caused by 'wbinfo -a'.
480     
481
482 o   Herb Lewis <herb@samba.org>
483     * Fix typo for tag in proto file.
484     * Add missing #ifdef HAVE_BICONV stuff.
485     * Truncate Samba's netbios name at the first '.' (not 
486       right to left).
487
488
489 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
490     * Bug fixes and enhancements to libsmbclient library.
491
492     
493 o   Jianliang Lu <j.lu@tiesse.com>
494     * Enforce the 'user must change password at next login' flag.
495     * Decode meaning of 'fields present' flags (improves support 
496       for usrmgr.exe).
497     * NTLMv2 fixes.
498     * Don't force an upper case domain name in the ntlmssp code.
499     
500
501 o   L. Lucius <ib@digicron.com>.
502     * type fixes.
503
504
505 o   Jim McDonough <jmcd@us.ibm.com>
506     * Add versioning support to tdbsam.
507     * Update the IBM Directory Server schema with the OpenLDAP 
508       file.
509     * Various decoding fixes to improve usrmgr.exe support.
510     * Fix statfs redeclaration of statfs struct on ppc
511     * Implement support for password lockout of Samba domain 
512       controllers and standalone servers.
513     * Get MungedDial attribute actually working with full TS 
514       strings in it for pdb_ldap.
515     * BUG 1208 (partial): Improvements for working with expired krb5 
516       tickets in winbindd.
517     * Use timegm, or our already existing replacement instead of 
518       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
519     * Remove modifyTimestamp from list of our attributes.  
520     * Fix lsalookupnames to check for domain users as well as local 
521       users. 
522     * Merge struct uuid replacement for GUID from trunk.
523     * BUG 1208: Finish support for handling expired tickets in 
524       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
525
526
527 o   Stefan Metzmacher <metze@samba.org>
528     * Implement new VERSION schema based on subversion revision 
529       numbers.
530     * Add shadow_copy vfs module.
531     * Fix segault in login_cache support.
532
533
534 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
535      o BUG 979 -- Fix quota display on AIX.
536
537
538 o   James Peach <jpeach@sgi.com>
539     * Correct check for printf() format when using the SGI MIPSPro 
540       compiler.
541     * BUG 1038: support backtrace for 'panic action' on IRIX.
542     * BUG 768: Accept profileing arg to IRIX init script.
543     * BUG 748: Relax arg parsing to sambalp script (IRIX).
544     * BUG 758: Fix pdma build.
545     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
546       Jason Mader.
547       
548
549 o   Kurt Pfeifle <kpfeifle@danka.de>
550     * Add example shell script for migrating drivers and printers 
551       from a Windows print server to a Samba print server using 
552       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
553
554
555 o   Tim Potter <tpot@samba.org>
556     * Fix logic bug in tdb non-blocking lock routines when 
557       errno == EAGAIN.
558     * BUG 1025: Include sys/acl.h in check for broken nisplus 
559       include files.      
560     * BUG 1066: s/printf/d_printf/g in SWAT.
561     * BUG 1098: rename internal msleep() function to fix build 
562       problems on AIX.
563     * BUG 1112: Fix for writable printerdata problem in python bindings.
564     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
565     * BUG 1155: enclose use of fchown() with guards.
566     * Relicense tdb python module as LGPL.
567
568
569 o   Richard Sharpe <rsharpe@samba.org>
570     * Add support to smbclient for multiple logins on the same 
571       session (based on work by abartlet@samba.org).
572     * Correct blocking condition in smbd's use of accept() on IRIX.
573     * Add support for printing out the MAC address on nmblookup.
574
575
576 o   Simo Source <idra@samba.org>
577     * Replace unknown_3 with fields_present in SAMR code.
578     * More length checks in strlcat().
579
580
581 o   Andrew Tridgell <tridge@samba.org>
582     * Rewrote the AIX UESS backend for winbindd.
583     * Fixed compilation with --enable-dmalloc.
584     * Change tdb license to LGPL (see source/tdb/tdb.c).
585     * Force winbindd to use schannel in clients connections to 
586       DC's if possible.
587
588
589 o   Jelmer Vernooij <jelmer@samba.org>
590    * Fix ETA Calculation when resuming downloads in smbget.
591    * Add -O (for writing downloaded files to standard out) 
592      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
593     * Fix syntax error in example mysql table
594
595            
596 o   TAKEDA yasuma <yasuma@miraclelinux.com>
597     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
598       cmd_chown, cmd_chmod smbclient functions.
599
600
601 o    Shiro Yamada <shiro@miraclelinux.com>
602      * BUG 1129: install image files for SWAT.
603
604       
605     --------------------------------------------------
606
607                   ==============================
608                   Release Notes for Samba 3.0.2a
609                         February 13, 2004
610                   ==============================
611
612 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
613 to address, in particular, a problem when using pdbedit to 
614 sanitize (--force-initialized-passwords) Samba's tdbsam 
615 backend.   This is the latest stable release of Samba. This 
616 is the version that all production Samba servers should be 
617 running for all current bug-fixes.  
618
619 ******************* Attention! Achtung! Kree! *********************
620
621 Beginning with Samba 3.0.2, passwords for accounts with a last 
622 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
623 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
624 strings.  This will cause authentication to fail for such
625 accounts.  If you have valid passwords that meet this criteria, 
626 you must update the last change time to a non-zero value.  If you 
627 do not, then  'pdbedit --force-initialized-passwords' will disable 
628 these accounts and reset the password hashes to a string of X's.
629
630 ******************* Attention! Achtung! Kree! *********************
631
632
633 Changes since 3.0.2
634 -------------------
635
636 commits
637 -------
638
639 Please refer to the CVS log for the SAMBA_3_0 branch for complete
640 details.  The list of changes per contributor are as follows:
641
642
643 o   Jeremy Allison <jra@samba.org>
644     * Added paranoia checks in parsing code.
645     
646
647 o   Andrew Bartlett <abartlet@samba.org>
648     * Ensure that changes to uninitialized passwords in ldapsam 
649       are written to the DIT.
650
651
652 o   Gerald (Jerry) Carter <jerry@samba.org>
653     * Fixed iterator in tdbsam.
654     * Fix bug that disabled accounts with a valid NT password 
655       hash, but no LanMan hash.
656     
657
658 o   Steve French <sfrench@us.ibm.com>
659     * Added missing nosetuid and noexec options.
660
661     
662 o   Bostjan Golob <golob@gimb.org>
663     * BUG 1046: Don't overwrite usernames of entries returned 
664       by getpwent_list().
665
666
667 o   Sebastian Krahmer <krahmer@suse.de>
668     * Fixed potential crash bug in NTLMSSP parsing code.
669
670
671 o   Tim Potter <tpot@samba.org>
672     * Fixed logic in tdb_brlock error checking.
673
674     
675 o   Urban Widmark <urban@teststation.com>
676     * Set nosuid,nodev flags in smbmnt by default.
677     
678     
679         --------------------------------------------------
680                   
681                   =============================
682                   Release Notes for Samba 3.0.2
683                         February 9, 2004
684                   =============================
685
686 It has been confirmed that previous versions of Samba 3.0 are
687 susceptible to a password initialization bug that could grant an 
688 attacker unauthorized access to a user account created by the
689 mksmbpasswd.sh shell script.
690
691 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
692 has assigned the name CAN-2004-0082 to this issue.
693
694 Samba administrators not wishing to upgrade to the current 
695 version should download the 3.0.2 release, build the pdbedit 
696 tool, and run 
697
698    root# pdbedit-3.0.2 --force-initialized-passwords
699       
700 This will disable all accounts not possessing a valid password
701 (e.g. the password field has been set a string of X's).
702
703 Samba servers running 3.0.2 are not vulnerable to this bug 
704 regardless of whether or not pdbedit has been used to sanitize
705 the passdb backend.
706
707 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
708 release include:
709
710   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
711   o Logging onto a Samba domain from Windows XP clients.
712   o Problems with the %U and %u smb.conf variables in relation to 
713     Windows 9x/ME clients.
714   o Kerberos failures due to an invalid in memory keytab detection
715     test.
716   o Updates to the ntlm_auth tool.
717   o Fixes for various SMB signing errors.
718   o Better separation of WINS and DNS queries for domain controllers.
719   o Issues with nss_winbind FreeBSD and Solaris.
720   o Several crash bugs in smbd and winbindd.
721   o Output formatting fixes for smbclient for better compatibility
722     with scripts based on the 2.2 version.
723
724
725 Changes since 3.0.1
726 -------------------
727
728 smb.conf changes
729 ----------------
730
731     Parameter Name              Action
732     --------------              ------
733     ldap replication sleep      New
734     read size                   removed (unused)
735     source environment          removed (unused)
736
737
738 commits
739 -------
740
741 Please refer to the CVS log for the SAMBA_3_0 branch for complete
742 details.  The list of changes per contributor are as follows:
743
744 o   Jeremy Allison <jra@samba.org>
745     * Revert change that broke Exchange clear text samlogons.
746     * Fix gcc 3.4 warning in MS-DFS code.
747     * Tidy up of NTLMSSP code.
748     * Fixes for SMB signing errors
749     * BUG 815: Workaround NT4 bug to support plaintext
750       password logins and UNICODE.
751     * Fix SMB signing bug when copying large files.
752     * Correct error logic in mkdir_internals() (caused a panic
753       when combined with --enable-developer).
754     * BUG 830: Protect against crashes due to bad character 
755       conversions.
756
757       
758 o   Petri Asikainen <paca@sci.fi>
759     * BUG 330, 387:Fix single valued attribute updates when 
760       working with Novell NDS.
761
762
763 o   Andrew Bartlett <abartlet@samba.org>
764     * Correctly handle per-pipe NTLMSSP inside a NULL session.
765     * Fix segfault in gencache 
766     * Fix early free() of encrypted_session_key.
767     * Change DC lookup routines to more carefully separate
768       DNS names (realms) from NetBIOS domain names.
769     * Add new sid_to_dn() function for internal winbindd use.
770     * Refactor cli_ds_enum_domain_trusts().
771     * BUG 707: Implement range retrieval of ADS attributes (based 
772       on work from Volker <vl@samba.org> and Guenther Deschner 
773       <gd@suse.com>).
774     * Automatically initialize the signing engine if a session key
775       is available.
776     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
777       encoded strings, only form input in SWAT.
778     * Resets the NTLMSSP state for new negotiate packets.
779     * Add 2-byte alignments in net_samlogon() queries to parse 
780       odd-length plain text passwords.
781     * Allow Windows groups with no members in winbindd.
782     * Allow normal authentication in the absence of a server 
783       generated session key.
784     * More optimizations for looking up UNIX group lists.
785     * Clean up error codes and return values for pam_winbindd
786       and winbindd PAM interface.
787     * Fix string return values in ntlm_auth tool.
788     * Fix segfault when 'security = ads' but no realm is defined.
789     * BUG 722: Allow winbindd to map machine accounts to uids.
790     * More cleanups for winbindd's find_our_domain().
791     * More clearly detect whether a domain controller is an NT4
792       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
793     * Increase separation between DNS queries for hosts and queries
794       for AD domain controllers.
795     * Include additional NT_STATUS to PAM error mappings.
796     * Password initialization fixes.
797
798     
799 o   Justin Baugh <justin.baugh@request.com>
800     * BUG 948: Implement missing functions required for FreeBSD 
801       nss_winbind support. 
802
803
804 o   Alexander Bokovoy <ab@samba.org>
805     * BUG 922: Make sure enable fast path for strlower_m() and 
806       strupper_m().
807
808
809 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
810     * Fix crash when using 'security = server' and 'encrypt 
811       passwords = no' by always initializing the session key.
812
813       
814 o   Dmitry Butskoj <buc@odusz.elektra.ru>
815     * Fix for special files being hidden from admins.
816
817
818 o   Gerald (Jerry) Carter <jerry@samba.org>
819     * Fix bug in the lanman session key generation.  Caused 
820       "decode_pw: incorrect password length" error messages.
821     * Save the right case for the located user name in 
822       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
823     * BUG 897: Add well known rid for pre win2k compatible access
824       group.
825     * BUG 887: Correct typo in delete user script example.
826     * Use short lived TALLOC_CTX* for allocating printer objects 
827       from the print handle cache.
828     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
829     * Fix several warnings reported by the SUN Forte C compiler.
830     * Fully control DNS queries for AD DC's using 'name resolve order'.
831     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
832     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
833     * BUG 936: fix bind credentials for schannel binds in smbd.
834     * BUG 446: Fix output of smbclient for better compatibility 
835       with scripts based on the 2.2 version (including Amanda).
836     * BUG 891, 949: Fedora packaging fixes.
837     * Fix bug that caused rpcclient to incorrectly retrieve 
838       the SID for a server (this causing all calls that required 
839       this information to fail). 
840     * BUG 977: Don't create a homes share for a user if a static 
841       share already exists by the same name.
842     * Removed unused smb.conf options.
843     * Password initialization fixes.
844     * Set the disable flag for template accounts created by
845       mksmbpasswd.sh.
846     * Disable any account has no passwords and does not have the
847       ACB_PWNOTREQ bit set.
848
849
850 o   Guenther Deschner <gd@suse.com>
851     * Install smbwrapper.so should be put into the $(libdir) 
852       and not $(bindir).
853     * Add the capability to specify the new user password 
854       for "net ads password" on the command line.
855     * Correctly detect AFS headers on SuSE.
856         
857
858 o   James Flemer <jflemer@uvm.edu>
859     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
860       HAVE_SYS_ATTRIBUTES_H.
861
862
863 o   Luke Howard <lukeh@PADL.COM>
864     * Fix segfault in session setup reply caused by a early free().
865
866
867 o   Stoian Ivanov <sdr@bultra.com>
868     * Implement grepable output for smbclient -L.
869
870
871 o   LaMont Jones <lamont@debian.org>
872     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
873       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
874       not being defined).
875
876       
877 o   Volker Lendecke <vl@samba.org>
878     * BUG 583: Ensure that user names always contain the short 
879       version of the domain name.
880     * Fix our parsing of the LDAP uri.
881     * Don't show the 'afs username map' in the SWAT basic view.
882     * Fix SMB signing issues in relation to failed NTLMSSP logins.
883     * BUG 924: Fix return codes in smbtorture harness.
884     * Always lower-case usernames before handing it to AFS code.
885     * Add a German translation for SWAT.
886     * Fix a segfaults in winbindd.
887     * Fix the user's domain passed to register_vuid() from 
888       reply_spnego_kerberos().
889     * Add NSS example code in nss_winbind to convert UNIX 
890       id's <-> Windows SIDs.
891     * Display more descriptive error messages for login via 'net'.
892     * Fix compiler warning in the net tool.
893     * Fix length bug when decoding base64 strings.
894     * Ensure we don't call getpwnam() inside a loop that is iterating 
895       over users with getpwent().  This broke on glibc 2.3.2.
896
897
898 o   Herb Lewis <herb@samba.org>
899     * Fix bit rot in psec.
900
901
902 o   Jianliang Lu <j.lu@tiesse.com>
903     * Ensure we delete the group mapping before calling the delete 
904       group script.
905     * Define well known RID for managing the  "Power Users" group.
906     * BUG 381: check builtin (not local) group SID when updating 
907       group membership.
908     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
909       packet.
910
911
912 o   John Klinger <john.klinger@lmco.com>
913     * Implement initgroups() call in nss_winbind on Solaris.
914
915
916 o   Jim McDonough <jmcd@us.ibm.com>
917     * Fix regression in net rpc join caused by recent changes 
918       to cli_lsa_query_info_policy().
919     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
920       machine account.
921
922
923 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
924     * BUG 570: Ensure that configure honors the LDFLAGS variable.
925
926
927 o   Stefan Metzmacher <metze@samba.org>
928     * Implement LDAP rebind sleep patch.
929     * Revert to 2.2 quota code because of so many broken quota files 
930       out there.
931     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
932                       XFS_USER_QUOTA -> USRQUOTA
933                       XFS_GROUP_QUOTA -> GRPQUOTA
934     * Fix disk_free calculation with group quotas.
935     * Add debug class 'quota' and a lot of DEBUG()'s 
936       to the quota code.
937     * Fix sys_chown() when no chown() is present.
938     * Add SIGABRT to fault handling in order to catch got a 
939       backtrace if an error occurs the OpenLDAP client libs.
940
941
942 o   <ndb@theghet.to>
943     * Allow an existing LDAP machine account to be re-used when 
944       joining an AD domain.
945
946
947 o   James Peach <jpeach@sgi.com>
948     * BUG 889: Change smbd to use pread/pwrite on platforms that 
949       support these calls. Can lead to a significant speed increase.
950
951
952 o   Tim Potter <tpot@samba.org>
953     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
954     * BUG 924: Fix typo in RW2 torture test.
955     
956     
957 o   Richard Sharpe <shape@samba.org>
958     * Small fixes to torture.c to cleanup the error handling 
959       and prevent crashes.
960
961
962 o   J. Tournier <jerome.tournier@IDEALX.com>
963     * Small fixes for the smbldap-tool scripts.
964
965
966 o   Andrew Tridgell <tridge@samba.org>
967     * Fix src len check in pull_usc2().
968     
969     
970 o   Jelmer Vernooij <jelmer@samba.org>
971     * Put functions for generating SQL queries in pdb_sql.c
972     * Add pgSQL backend (based on patch by Hamish Friedlander)
973     * BUG 908: Fix -s option to smbcontrol.    
974     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
975     * Fix for libnss_wins on IRIX platforms.
976     * Fix swatdir for --with-fhs.
977
978
979         --------------------------------------------------
980
981                   =============================
982                   Release Notes for Samba 3.0.1
983                         December 15, 2003
984                   =============================
985
986 Some of the more common bugs in 3.0.0 addressed in the release 
987 include:
988
989   o Substitution problems with smb.conf variables.
990   o Errors in return codes which caused some applications
991     to fail to open files.
992   o General Protection Faults on Windows 2000/XP clients
993     using Samba point-n-print features.
994   o Several miscellaneous crash bugs.
995   o Access problems when enumerating group mappings are
996     stored in an LDAP Directory.
997   o Several common SWAT bugs when writing changes to
998     smb.conf.
999   o Internal inconsistencies when 'winbind use default
1000     domain = yes'
1001
1002
1003
1004 Changes since 3.0.0
1005 ----------------------
1006
1007     Parameter Name              Action
1008     --------------              ------
1009     hide local users            Removed
1010     mangled map                 Deprecated
1011     mangled stack               Removed
1012     passwd chat timeout         New
1013
1014
1015 commits
1016 -------
1017
1018 o   Change the interface for init_unistr2 to not take a length 
1019     but a flags field.  We were assuming that 
1020     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
1021 o   Allow d_printf() to handle strings with escaped quotation 
1022     marks since the msg file includes the escape character (bug 489).
1023 o   Fix bad html table row termination in SWAT wizard code (bug 413).
1024 o   Fix to parse the level-2 strings.
1025 o   Fix for "valid users = %S" in [homes].  Fix read/write 
1026     list as well. 
1027 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
1028     This is the same way AC_CHECK_LIB works (bug 508).
1029 o   Testparm output fixes for clarity.
1030 o   Fix broken wins hook functionality -- i18n bug (bug 528).
1031 o   Take care of condition where DOS and NT error codes must differ.
1032 o   Default to using only built-in charsets when a working iconv 
1033     implementation cannot be located.
1034 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
1035     be done unconditionally (bug 550).
1036 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
1037 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
1038     --enable-debug=[yes|no] works correctly.
1039 o   Allow ^C to interrupt smbpasswd if using our getpass 
1040     (e.g. smbpasswd command).
1041 o   Support signing only on RPC's (bug 167).
1042 o   Correct bug that prevented  Excel 2000 clients from opening 
1043     files marked as read-only.
1044 o   Portability fix bugs 546 - 549).
1045 o   Explicitly initialize the value of AR for vendor makes that don't
1046     do this (e.g. HPUX 11).  (bug 552).
1047 o   More i18n fixes for SWAT (bug 413).
1048 o   Change the cwd before the postexec script to ensure that a
1049     umount will succeed.
1050 o   Correct double free that caused winbindd to crash when a DC 
1051     is rebooted (bug 437).
1052 o   Fix incorrect mode sum (bug 562).
1053 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
1054     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
1055 o   Add script to generate *msg files.
1056 o   Add Dutch SWAT translation file.
1057 o   Make sure to call get_user_groups() with the full winbindd 
1058     name for a user if he/she has one (bug 406).
1059 o   Fix up error code returns from Samba4 tester. Ensure invalid 
1060     paths are validated the same way.  
1061 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
1062 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
1063     libraries were found for $BACKEND.
1064 o   Move sysquotas autoconf tests to a separate file.
1065 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
1066     tester
1067 o   Make sure that the files that contain the static_init_$subsystem; 
1068     macro get recompiled after configure by removing the object 
1069     files.
1070 o   Ensure canceling a blocking lock returns the correct error 
1071     message.
1072 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
1073 o   Updated Japanese welcome file in SWAT.
1074 o   Fix to  nt-time <-> unix-time functions reversible.
1075 o   Ensure that winbindd uses the the escaped DN when querying
1076     an AD ldap server.
1077 o   Fix portability issues when compiling (bug 505, 550)
1078 o   Compile fix for tdbbackup when Samba needs to override 
1079     non-C99 compliant implementations of snprintf().
1080 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
1081 o   Make sure we break out of samsync loop on error.
1082 o   Ensure error code path doesn't free unmalloc()'d memory
1083     (bug 628).
1084 o   Add configure test for krb5_keytab_entry keyblock vs key 
1085     member (bug 636).
1086 o   Fixed spinlocks.
1087 o   Modified testparm so that all output so all debug output goes 
1088     to stderr, and all file processing goes to stdout.
1089 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
1090     and smbcquotas.
1091 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
1092     we have a devmode before copying a string to the devicename.
1093 o   Support mapping REALM.COM\user to a local user account (without 
1094     running winbindd)  for compatibility with 2.2.x release.
1095 o   Ensure we don't use mmap() on blacklisted systems.
1096 o   fixed a number of bugs and memory leaks in the AIX 
1097     winbindd shim
1098 o   Call initgroups() in SWAT before becomming the user so that
1099     secondary group permissions can be used when writing to 
1100     smb.conf.
1101 o   Fix signing problems when reverse connecting back to a 
1102     client for printer notify
1103 o   Fix signing problems caused by a miss-sequence bug.
1104 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
1105     Fixes NEXUS tools running on Win9x clients (bug 64).
1106 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
1107     SID could not be mapped.
1108 o   Fix segfault in mount.cifs helper when there is no options 
1109     specified during mount.
1110 o   Change the \n after the password prompt to go to tty instead 
1111     of stdout (bug 668).
1112 o   Stop net -P from prompting for machine account password (bug 451).
1113 o   Change in behavior to Not only change the effective uid but also
1114     the real uid when becoming unprivileged.
1115 o   Cope with Exchange 5.5 cleartext pop password auth.
1116 o   New files for support of initshutdown pipe.  Win2k doesn't 
1117     respond properly to all requests on the winreg pipe, so we need 
1118     to handle this new pipe (bug 534).
1119 o   Added more va_copy() checks in configure.in.
1120 o   Include fixes for libsmbclient build problems.
1121 o   Missing UNIX -> DOS codepage conversion in lanman.c.
1122 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
1123 o   Parameterize the listen backlog in smbd and make it larger by
1124     default. A backlog of 5 is way too small these days.
1125 o   Check for an invalid fid before dereferencing the fsp pointer
1126     (bug 696).
1127 o   Remove invalid memory frees and return codes in pdb_ldap.c.
1128 o   Prompt for password when invoking --set-auth-user and no 
1129     password is given.
1130 o   Bind the nmbd sending socket to the 'socket address'.
1131 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
1132     $LDFLAGS occurs before any library specification (bug 661).
1133 o   Fix large number of printf() calls for 64-bit size_t.
1134 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
1135     keyblock in the krb5 structs.
1136 o   Remove #include <compat.h> in hopes to avoid problems with 
1137     apache header files.
1138 o   Correct winbindd build problems on HP-UX 11.
1139 o   Lowercase netgroups lookups (bug 703).
1140 o   Use the actual size of the buffer in strftime instead of a made
1141     up value which just happens to be less than sizeof(fstring).  
1142     (bug 713).
1143 o   Add ldaplibs to pdbedit link line (bug 651).
1144 o   Fix crash bug in smbclient completion (bug 659).
1145 o   Fix packet length for browse list reply (bug 771).
1146 o   Fix coredump in cli_get_backup_list().
1147 o   Make sure that we expand %N (bug 612).
1148 o   Allow rpcclient adddriver command to specify printer driver 
1149     version (bug 514).
1150 o   Compile tdbdump by default.
1151 o   Apply patches to fix iconv detection for FreeBSD.
1152 o   Do not allow the 'guest account' to be added to a passdb backend 
1153     using smbpasswd or pdbedit (bug 624).
1154 o   Save LDFLAGS during iconv detection (bug 57).
1155 o   Run krb5 logins through the username map if the winbindd 
1156     lookup fails (bug 698).
1157 o   Add const for lp_set_name_resolve_order() to avoid compiler 
1158     warnings (bug 471).
1159 o   Add support for the %i macro in smb.conf to stand in for the for
1160     the local IP address to which a client connected.
1161 o   Allow winbindd to match local accounts to domain SID when 
1162     'winbind trusted domains only = yes' (bug 680).
1163 o   Remove code in idmap_ldap that searches the user suffix and group 
1164     suffix.  It's not needed and provides inconsistent functionality 
1165     from the tdb backend.
1166 o   Patch to handle munged dial string for Windows 2000 TSE.
1167     Thanks to Gaz de France, Direction de la Recherche, Service 
1168     Informatique Métier for their supporting this work by Aurelien 
1169     Degrémont <adegremont@idealx.com>.
1170 o   Correct the "smbldap_open: cannot access when not root error"
1171     messages when looking up group information (bug 281).
1172 o   Skip over the winbind separator when looking up a user.
1173     This fixes the bug that prevented local users from
1174     matching an AD user when not running winbindd (bug 698).
1175 o   Fix a problem with configure on *BSD systems. Make sure
1176     we add -liconv etc to LDFLAGS.
1177 o   Fix core dump bug when "security = server" and the authentication
1178     server goes away.
1179 o   Correct crash bug due to an empty munged dial string.
1180 o   Show files locked by a specific user (smbstatus -u 'user') 
1181     (bug 590).
1182 o   Fix bug preventing print jobs from display in the queue
1183     monitor used by Windows NT and later clients (bug 660).
1184 o   Fix several reported problems with point-n-print from
1185     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
1186     reply (bug 338, 527 & 643).
1187 o   Fix a handful of potential memory leaks in the LDAP code used
1188     by ldapsam[_compat] and the LDAP idmap backend.
1189 o   Fix for pdbedit error code returns (bug 763).
1190 o   Make sure we only enumerate group mapping entries  (not 
1191     /etc/group) even when doing local aliases.
1192 o   Relax check on the pipe name in a dce/rpc bind response to work 
1193     around issues with establishing trusts to a Windows 2003 domain.
1194 o   Ensure we mangle names ending in '.' in hash2 mangling method.
1195 o   Correct parsing issues with munged dial string.
1196 o   Fix bugs in quota support for XFS.
1197 o   Add a cleaner method for applications that need to provide 
1198     name->SID mappings to do this via NSS rather than having to 
1199     know the winbindd pipe protocol.
1200 o   Adds a variant of the winbindd_getgroups() call called 
1201     winbindd_getusersids() that provides direct SID->SIDs listing of 
1202     a users supplementary groups. This is enough to allow non-Samba 
1203     applications to do ACL checking.
1204 o   Make sure we don't append the 'ldap suffix' when writing out the 
1205     'ldap XXX suffix' values in SWAT (bug 328).
1206 o   Fix renames across file systems.
1207 o   Ensure that items in a list of strings containing whitespace are 
1208     written out surrounded by single quotes.  This means that both 
1209     double and single quotes are now used to surround strings in 
1210     smb.conf (bug 481).
1211 o   Enable SWAT to correctly determine if winbindd is running (bug 
1212     398).
1213 o   Include WWW-Authenticate field in 401 response for bad auth 
1214     attempt (bug 629).
1215 o   Add support for NTLM2 (NTLMv2 session security).
1216 o   Add support for variable-length session keys.
1217 o   More privilege fixes for group enumeration in LDAP (bug 281).
1218 o   Use the dns name (or IP) as the originating client name when
1219     using CUPS (bug 467).
1220 o   Fix various SMB signing bugs.
1221 o   Fix ACL propagation on a DFS root (bug 263).
1222 o   Disable NTLM2 for RPC pipes.
1223 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
1224     authentication.
1225 o   Change the name of the job passed off to cups from "Test Page" 
1226     to "smbprn.00000033 Test Page" so that we can get the smb 
1227     jobid back. This allow users to delete jobs with cups printing 
1228     backend (partial work on bug 770).
1229 o   Fix build of winbindd with static pdb modules.
1230 o   Retrieve the correct ACL group bits if the file has an ACL 
1231     (bug 802).
1232 o   Implement "net rpc group members": Get members of a domain group 
1233     in human-readable format.
1234 o   Add MacOSX (Darwin) specific charset module code.
1235 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
1236     can include the full name in gecos field (bug 587).
1237 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
1238 o   Implement 'net rpc group list [global|local|builtin]*' for a 
1239     select listing of the respective user databases.
1240 o   Don't automatically set NT status code flag unless client tells 
1241     us it can cope.
1242 o   Add 'net status [sessions|shares] [parseable]'.
1243 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
1244     bug 770).
1245 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
1246    (bug 608).
1247 o   Fix inverted logic in hosts allow/deny checks caused by 
1248     s/strcmp/strequal/ (bug 846).
1249 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
1250 o   Fix typo in 'hash' mangling algorithm.
1251 o   Support munged dial for ldapsam (bug 800).
1252 o   Fix process_incoming_data() to return the number of bytes handled 
1253     this call whether we have a complete PDU or not; fixes bug 
1254     with multiple PDU request rpc's broken over SMBwriteX calls 
1255     each.
1256 o   Fix incorrect smb flags2 for connections to pre-NT servers 
1257     (causes smbclient to fail to OS2 for example) (bug 821).
1258 o   Update version string in smbldap-tools Makefile to 0.8.2.
1259 o   Correct a problem with "net rpc vampire" mis-parsing the 
1260     alias member info reply.
1261 o   Ensure the ${libdir} is created by the installclientlib script.
1262 o   Fix detection of Windows 2003 client architecture in the smb.conf
1263     %a variable.
1264 o   Ensure that smbd calls the add user script for a missing UNIX 
1265     user on kerberos auth call (bug 445).
1266 o   Fix bugs in hosts allow/deny when using a mismatched 
1267     network/netmask pair.
1268 o   Protect alloc_sub_basic() from crashing when the source string 
1269     is NULL (partial work on bug 687).
1270 o   Fix spinlocks on IRIX.
1271 o   Corrected some bad destination paths when running "configure 
1272     --with-fhs".
1273 o   Add packaging files for Fedora Core 1.
1274 o   Correct bug in SWAT install script for non-english languages.
1275 o   Support character set ISO-8859-1 internally (bug 558).
1276 o   Fixed more LDAP access errors when looking up group mappings 
1277     (bug 281).
1278 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
1279     resolution to fail on local files on on domain members 
1280     (bug 875).
1281 o   Fix uninitialized variable in passdb.c.
1282 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
1283 o   Fix problem mounting directories when mount.cifs is installed 
1284     with the setuid bit on.
1285 o   Fix bug that prevent --mandir from overriding the defaults
1286     given in the --with-fhs macro.
1287 o   Fix bug in in-memory Kerberos keytab detection routines 
1288     in configure.in
1289
1290
1291
1292 ######################################################################
1293
1294               The original 3.0.0 release notes follow
1295               =======================================
1296                     WHATS NEW IN Samba 3.0.0
1297                         September 24, 2003
1298               =======================================
1299
1300
1301 Major new features:
1302 -------------------
1303
1304 1)  Active Directory support.  Samba 3.0 is now able to  
1305     join a ADS realm as a member server and authenticate 
1306     users using LDAP/Kerberos.
1307
1308 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
1309     and internally there is now a much better infrastructure for 
1310     multi-byte and UNICODE character sets.
1311
1312 3)  New authentication system. The internal authentication system 
1313     has been almost completely rewritten. Most of the changes are 
1314     internal, but the new auth system is also very configurable.
1315
1316 4)  New default filename mangling system.
1317
1318 5)  A new "net" command has been added. It is somewhat similar to 
1319     the "net" command in windows. Eventually we plan to replace 
1320     numerous other utilities (such as smbpasswd) with subcommands 
1321     in "net".
1322
1323 6)  Samba now negotiates NT-style status32 codes on the wire. This
1324     improves error handling a lot.
1325
1326 7)  Better Windows 2000/XP/2003 printing support including publishing
1327     printer attributes in active directory.
1328
1329 8)  New loadable module support for passdb backends and character 
1330     sets.
1331
1332 9)  New default dual-daemon winbindd support for better performance.
1333
1334 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
1335     domain and maintaining user, group and domain SIDs.
1336
1337 11) Support for establishing trust relationships with Windows NT 4.0
1338     domain controllers.
1339   
1340 12) Initial support for a distributed Winbind architecture using
1341     an LDAP directory for storing SID to uid/gid mappings.
1342   
1343 13) Major updates to the Samba documentation tree.
1344
1345 14) Full support for client and server SMB signing to ensure
1346     compatibility with default Windows 2003 security settings.
1347
1348 15) Improvement of ACL mapping features based on code donated by
1349     Andreas Grünbacher.
1350
1351
1352 Plus lots of other improvements!
1353
1354
1355 Additional Documentation
1356 ------------------------
1357
1358 Please refer to Samba documentation tree (included in the docs/ 
1359 subdirectory) for extensive explanations of installing, configuring
1360 and maintaining Samba 3.0 servers and clients.  It is advised to 
1361 begin with the Samba-HOWTO-Collection for overviews and specific 
1362 tasks (the current book is up to approximately 400 pages) and to 
1363 refer to the various man pages for information on individual options.
1364
1365 We are very glad to be able to include the second edition of
1366 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
1367 (O'Reilly & Associates) in this release.  The book is available
1368 on-line at http://samba.org/samba/docs/ and is included with 
1369 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
1370 publisher for making "Using Samba" under the GNU Free Documentation 
1371 License.
1372
1373
1374 ######################################################################
1375 Upgrading from a previous Samba 3.0 beta
1376 ########################################
1377
1378 Beginning with Samba 3.0.0beta3, the RID allocation functions
1379 have been moved into winbindd.  Previously these were handled
1380 by each passdb backend.  This means that winbindd must be running
1381 to automatically allocate RIDs for users and/or groups.  Otherwise,
1382 smbd will use the 2.2 algorithm for generating new RIDs.
1383
1384 If you are using 'passdb backend = tdbsam' with a previous Samba 
1385 3.0 beta release (or possibly alpha), it may be necessary to 
1386 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
1387 to winbindd_idmap.tdb.  To do this:
1388
1389 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
1390     once)
1391 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
1392     directory
1393 3)  run: (note that 'tdb>' is the tool's prompt for input)
1394
1395        root# ./tdbtool /usr/local/samba/private/passdb.tdb
1396        tdb> show RID_COUNTER
1397        key 12 bytes
1398        RID_COUNTER
1399        data 4 bytes
1400        [000] 0A 52 00 00                                       .R.
1401
1402        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
1403        ....
1404        record moved
1405
1406 If you are using 'passdb backend = ldapsam', it will be necessary to 
1407 store idmap entries in the LDAP directory as well (i.e. idmap backend 
1408 = ldap).  Refer to the 'net idmap' command for more information on 
1409 migrating SID<->UNIX id mappings from one backend to another.
1410
1411 If the RID_COUNTER record does not exist, then these instructions are
1412 unneccessary and the new RID_COUNTER record will be correctly generated
1413 if needed.  
1414
1415
1416
1417 ########################
1418 Upgrading from Samba 2.2
1419 ########################
1420
1421 This section is provided to help administrators understand the details
1422 involved with upgrading a Samba 2.2 server to Samba 3.0.
1423
1424
1425 Building
1426 --------
1427
1428 Many of the options to the GNU autoconf script have been modified 
1429 in the 3.0 release.  The most noticeable are:
1430
1431   * removal of --with-tdbsam (is now included by default; see section
1432     on passdb backends and authentication for more details)
1433     
1434   * --with-ldapsam is now on used to provided backward compatible
1435     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
1436     backend and authentication section for more details
1437   
1438   * inclusion of non-standard passdb modules may be enabled using
1439     --with-expsam.  This includes an XML backend and a mysql backend.
1440       
1441   * removal of --with-msdfs (is now enabled by default)
1442   
1443   * removal of --with-ssl (no longer supported)
1444   
1445   * --with-utmp now defaults to 'yes' on supported systems
1446   
1447   * --with-sendfile-support is now enabled by default on supported 
1448     systems
1449   
1450     
1451 Parameters
1452 ----------
1453
1454 This section contains a brief listing of changes to smb.conf options
1455 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
1456 complete descriptions of new or modified parameters.
1457
1458 Removed Parameters (order alphabetically):
1459
1460   * admin log
1461   * alternate permissions
1462   * character set
1463   * client codepage
1464   * code page directory
1465   * coding system
1466   * domain admin group
1467   * domain guest group
1468   * force unknown acl user
1469   * hide local users
1470   * mangled stack
1471   * nt smb support
1472   * postscript
1473   * printer driver
1474   * printer driver file
1475   * printer driver location
1476   * read size
1477   * source environment
1478   * status
1479   * strip dot
1480   * total print jobs
1481   * use rhosts
1482   * valid chars
1483   * vfs options
1484
1485 New Parameters (new parameters have been grouped by function):
1486
1487   Remote management
1488   -----------------
1489   * abort shutdown script
1490   * shutdown script
1491
1492   User and Group Account Management
1493   ---------------------------------
1494   * add group script
1495   * add machine script
1496   * add user to group script
1497   * algorithmic rid base
1498   * delete group script
1499   * delete user from group script
1500   * passdb backend
1501   * set primary group script
1502
1503   Authentication
1504   --------------
1505   * auth methods
1506   * realm
1507   * passwd chat timeout
1508
1509   Protocol Options
1510   ----------------
1511   * client lanman auth
1512   * client NTLMv2 auth
1513   * client schannel
1514   * client signing
1515   * client use spnego
1516   * disable netbios
1517   * ntlm auth
1518   * paranoid server security
1519   * server schannel
1520   * server signing
1521   * smb ports
1522   * use spnego
1523
1524   File Service
1525   ------------
1526   * get quota command
1527   * hide special files
1528   * hide unwriteable files
1529   * hostname lookups
1530   * kernel change notify
1531   * mangle prefix
1532   * map acl inherit
1533   * msdfs proxy
1534   * set quota command
1535   * use sendfile
1536   * vfs objects
1537   
1538   Printing
1539   --------
1540   * max reported print jobs
1541
1542   UNICODE and Character Sets
1543   --------------------------
1544   * display charset
1545   * dos charset
1546   * unicode
1547   * unix charset
1548   
1549   SID to uid/gid Mappings
1550   -----------------------
1551   * idmap backend
1552   * idmap gid
1553   * idmap uid
1554   * winbind enable local accounts
1555   * winbind trusted domains only
1556   * template primary group
1557   * enable rid algorithm
1558
1559   LDAP
1560   ----
1561   * ldap delete dn
1562   * ldap group suffix
1563   * ldap idmap suffix
1564   * ldap machine suffix
1565   * ldap passwd sync
1566   * ldap replication sleep
1567   * ldap user suffix
1568   
1569   General Configuration
1570   ---------------------
1571   * preload modules
1572   * private dir
1573
1574 Modified Parameters (changes in behavior):
1575
1576   * encrypt passwords (enabled by default)
1577   * mangling method (set to 'hash2' by default)
1578   * passwd chat
1579   * passwd program
1580   * restrict anonymous (integer value)
1581   * security (new 'ads' value)
1582   * strict locking (enabled by default)
1583   * unix extensions (enabled by default)
1584   * winbind cache time (increased to 5 minutes)
1585   * winbind uid (deprecated in favor of 'idmap uid')
1586   * winbind gid (deprecated in favor of 'idmap gid')
1587
1588
1589 Databases
1590 ---------
1591
1592 This section contains brief descriptions of any new databases 
1593 introduced in Samba 3.0.  Please remember to backup your existing 
1594 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
1595 upgrade databases as they are opened (if necessary), but downgrading 
1596 from 3.0 to 2.2 is an unsupported path.
1597
1598 Name                    Description                             Backup?
1599 ----                    -----------                             -------
1600 account_policy          User policy settings                    yes
1601 gencache                Generic caching db                      no
1602 group_mapping           Mapping table from Windows              yes
1603                         groups/SID to unix groups        
1604 winbindd_idmap          ID map table from SIDS to UNIX          yes
1605                         uids/gids.
1606 namecache               Name resolution cache entries           no
1607 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
1608                         returned as part of a successful
1609                         net_sam_logon request 
1610 printing/*.tdb          Cached output from 'lpq                 no
1611                         command' created on a per print 
1612                         service basis
1613 registry                Read-only samba registry skeleton       no
1614                         that provides support for exporting
1615                         various db tables via the winreg RPCs
1616
1617
1618 Changes in Behavior
1619 -------------------
1620
1621 The following issues are known changes in behavior between Samba 2.2 and 
1622 Samba 3.0 that may affect certain installations of Samba.
1623
1624   1)  When operating as a member of a Windows domain, Samba 2.2 would 
1625       map any users authenticated by the remote DC to the 'guest account'
1626       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
1627       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
1628       current work around to re-establish the 2.2 behavior.
1629       
1630   2)  When adding machines to a Samba 2.2 controlled domain, the 
1631       'add user script' was used to create the UNIX identity of the 
1632       machine trust account.  Samba 3.0 introduces a new 'add machine 
1633       script' that must be specified for this purpose.  Samba 3.0 will
1634       not fall back to using the 'add user script' in the absence of 
1635       an 'add machine script'
1636   
1637
1638 ######################################################################
1639 Passdb Backends and Authentication
1640 ##################################
1641
1642 There have been a few new changes that Samba administrators should be
1643 aware of when moving to Samba 3.0.
1644
1645   1) encrypted passwords have been enabled by default in order to 
1646      inter-operate better with out-of-the-box Windows client 
1647      installations.  This does mean that either (a) a samba account
1648      must be created for each user, or (b) 'encrypt passwords = no'
1649      must be explicitly defined in smb.conf.
1650     
1651   2) Inclusion of new 'security = ads' option for integration 
1652      with an Active Directory domain using the native Windows
1653      Kerberos 5 and LDAP protocols.
1654
1655      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
1656      type which is neccessary for servers on which the 
1657      administrator password has not been changed, or kerberos-enabled 
1658      SMB connections to servers that require Kerberos SMB signing.
1659      Besides this one difference, either MIT or Heimdal Kerberos
1660      distributions are usable by Samba 3.0.
1661      
1662
1663 Samba 3.0 also includes the possibility of setting up chains
1664 of authentication methods (auth methods) and account storage 
1665 backends (passdb backend).  Please refer to the smb.conf(5) 
1666 man page for details.  While both parameters assume sane default 
1667 values, it is likely that you will need to understand what the 
1668 values actually mean in order to ensure Samba operates correctly.
1669
1670 The recommended passdb backends at this time are
1671
1672   * smbpasswd - 2.2 compatible flat file format
1673   * tdbsam - attribute rich database intended as an smbpasswd
1674     replacement for stand alone servers
1675   * ldapsam - attribute rich account storage and retrieval 
1676     backend utilizing an LDAP directory.  
1677   * ldapsam_compat - a 2.2 backward compatible LDAP account 
1678     backend
1679     
1680 Certain functions of the smbpasswd(8) tool have been split between the 
1681 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
1682 utility.  See the respective man pages for details.
1683     
1684      
1685 ######################################################################
1686 LDAP
1687 ####
1688
1689 This section outlines the new features affecting Samba / LDAP 
1690 integration.
1691
1692 New Schema
1693 ----------
1694   
1695 A new object class (sambaSamAccount) has been introduced to replace 
1696 the old sambaAccount.  This change aids us in the renaming of 
1697 attributes to prevent clashes with attributes from other vendors.  
1698 There is a conversion script (examples/LDAP/convertSambaAccount) to 
1699 modify and LDIF file to the new schema.
1700   
1701 Example:
1702   
1703   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
1704   $ convertSambaAccount --sid=<Domain SID> \
1705     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
1706     --changetype=[modify|add]
1707         
1708 The <DOM SID> can be obtained by running 'net getlocalsid 
1709 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
1710 the format of the generated LDIF output--either create new entries 
1711 or modify existing entries.
1712     
1713 The old sambaAccount schema may still be used by specifying the 
1714 "ldapsam_compat" passdb backend.  However, the sambaAccount and
1715 associated attributes have been moved to the historical section of
1716 the schema file and must be uncommented before use if needed.
1717 The 2.2 object class declaration for a sambaAccount has not changed
1718 in the 3.0 samba.schema file. 
1719   
1720 Other new object classes and their uses include:
1721   
1722   * sambaDomain - domain information used to allocate rids 
1723     for users and groups as necessary.  The attributes are added
1724     in 'ldap suffix' directory entry automatically if 
1725     an idmap uid/gid range has been set and the 'ldapsam'
1726     passdb backend has been selected.
1727       
1728   * sambaGroupMapping - an object representing the 
1729     relationship between a posixGroup and a Windows
1730     group/SID.  These entries are stored in the 'ldap 
1731     group suffix' and managed by the 'net groupmap' command.
1732     
1733   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
1734     automatically and contains the next available 'idmap uid' and 
1735     'idmap gid'
1736     
1737   * sambaIdmapEntry - object storing a mapping between a 
1738     SID and a UNIX uid/gid.  These objects are created by the 
1739     idmap_ldap module as needed.
1740
1741   * sambaSidEntry - object representing a SID alone, as a Structural
1742     class on which to build the sambaIdmapEntry.
1743
1744     
1745 New Suffix for Searching
1746 ------------------------
1747   
1748 The following new smb.conf parameters have been added to aid in directing
1749 certain LDAP queries when 'passdb backend = ldapsam://...' has been
1750 specified.
1751
1752   * ldap suffix         - used to search for user and computer accounts
1753   * ldap user suffix    - used to store user accounts
1754   * ldap machine suffix - used to store machine trust accounts
1755   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
1756   * ldap idmap suffix   - location of sambaIdmapEntry objects
1757
1758 If an 'ldap suffix' is defined, it will be appended to all of the 
1759 remaining sub-suffix parameters.  In this case, the order of the suffix
1760 listings in smb.conf is important.  Always place the 'ldap suffix' first
1761 in the list.  
1762
1763 Due to a limitation in Samba's smb.conf parsing, you should not surround 
1764 the DN's with quotation marks.
1765
1766
1767 IdMap LDAP support
1768 ------------------
1769
1770 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
1771 following options would inform Samba that the idmap table should be
1772 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
1773 dc=org" partition.
1774
1775  [global]
1776     ...
1777     idmap backend     = ldap:ldap://onterose/
1778     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
1779     idmap uid         = 40000-50000
1780     idmap gid         = 40000-50000
1781
1782 This configuration allows winbind installations on multiple servers to
1783 share a uid/gid number space, thus avoiding the interoperability problems
1784 with NFS that were present in Samba 2.2.
1785     
1786
1787
1788 ######################################################################
1789 Trust Relationships and a Samba Domain
1790 ######################################
1791
1792 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
1793 allocating uids and gids to trusted users and groups.  More
1794 information regarding Samba's support for establishing trust 
1795 relationships can be found in the Samba-HOWTO-Collection included
1796 in the docs/ directory of this release.
1797
1798 First create your Samba PDC and ensure that everything is 
1799 working correctly before moving on the trusts.
1800
1801 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
1802 4.0 domain named WINDOWS:
1803
1804   1) create the trust account for SAMBA in "User Manager for Domains"
1805   2) connect the trust from the Samba domain using
1806      'net rpc trustdom establish GLASS'
1807
1808 To create a trustlationship with SAMBA as the trusted domain:
1809
1810   1) create the initial trust account for GLASS using
1811      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
1812      account for GLASS$ prior to this step (depending on your
1813      local configuration).
1814   2) connect the trust from a WINDOWS DC using "User Manager
1815      for Domains"
1816
1817 Now join winbindd on the Samba PDC to the SAMBA domain using
1818 the normal steps for adding a Samba server to an NT4 domain:
1819 (note that smbd & nmbd must be running at this point)
1820
1821    root# net rpc join -U root
1822    Password: <enter root password from smbpasswd file here>
1823
1824 Start winbindd and test the join with 'wbinfo -t'.
1825
1826 Now test the trust relationship by connecting to the SAMBA DC
1827 (e.g. POGO) as a user from the WINDOWS domain:
1828
1829    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
1830    Password:
1831
1832 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
1833
1834    $ smbclient //crystal/netlogon -U root -W WINDOWS
1835    Password:
1836
1837 ######################################################################
1838 Changes in Winbind
1839 ##################
1840
1841 Beginning with Samba3.0.0beta3, winbindd has been given new account
1842 manage functionality equivalent to the 'add user script' family of
1843 smb.conf parameters.  The idmap design has also been changed to 
1844 centralize control of foreign SID lookups and matching to UNIX 
1845 uids and gids.
1846
1847
1848 Brief Description of Changes
1849 ----------------------------
1850
1851 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
1852    reverted to the 2.2.x design.  This means that when resolving a 
1853    SID to a UID or similar mapping:
1854
1855         a) First consult winbindd
1856         b) perform a local lookup only if winbindd fails to
1857            return a successful answer
1858
1859    There are some variations to this, but these two rules generally
1860    apply.
1861
1862 2) All idmap lookups have been moved into winbindd.  This means that
1863    a server must run winbindd (and support NSS) in order to achieve
1864    any mappings of SID to dynamically allocated UNIX ids.  This was
1865    a conscious design choice.
1866
1867 3) New functions have been added to winbindd to emulate the 'add user 
1868    script' family of smbd functions without requiring that external
1869    scripts be defined.  This functionality is controlled by the 'winbind 
1870    enable local accounts' smb.conf parameter (enabled by default).
1871
1872    However, this account management functionality is only supported 
1873    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
1874    must be shared among multiple Samba servers (such as a PDC and BDCs), 
1875    it will be necessary to define your own 'add user script', et. al.
1876    programs that place the accounts/groups in some form of directory
1877    such as NIS or LDAP.  This requirement was deemed beyond the scope
1878    of winbind's account management functions.  Solutions for 
1879    distributing UNIX system information have been deployed and tested 
1880    for many years.  We saw no need to reinvent the wheel.
1881
1882 4) A member of a Samba controlled domain running winbindd is now able 
1883    to map domain users directly onto existing UNIX accounts while still
1884    automatically creating accounts for trusted users and groups.  This
1885    behavior is controlled by the 'winbind trusted domains only' smb.conf
1886    parameter (disabled by default to provide 2.2.x winbind behavior).
1887
1888 5) Group mapping support is wrapped in the local_XX_to_XX() functions
1889    in smbd/uid.c.  The reason that group mappings are not included
1890    in winbindd is because the purpose of Samba's group map is to
1891    match any Windows SID with an existing UNIX group.  These UNIX
1892    groups can be created by winbindd (see next section), but the
1893    SID<->gid mapping is retreived by smbd, not winbindd.
1894
1895
1896 Examples
1897 --------
1898
1899 * security = server running winbindd to allocate accounts on demand
1900
1901 * Samba PDC running winbindd to handle the automatic creation of UNIX
1902   identities for machine trust accounts
1903
1904 * Automtically creating UNIX user and groups when migrating a Windows NT
1905   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
1906   'net rpc vampire' for this to work.
1907
1908    
1909 ######################################################################
1910 Known Issues
1911 ############
1912
1913 * There are several bugs currently logged against the 3.0 codebase
1914   that affect the use of NT 4.0 GUI domain management tools when run
1915   against a Samba 3.0 PDC.  This bugs should be released in an early 
1916   3.0.x release.
1917
1918 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
1919 filed against the Samba 3.0 codebase.
1920
1921
1922 ######################################################################
1923 Reporting bugs & Development Discussion
1924 #######################################
1925
1926 Please discuss this release on the samba-technical mailing list or by
1927 joining the #samba-technical IRC channel on irc.freenode.net.
1928
1929 If you do report problems then please try to send high quality
1930 feedback. If you don't provide vital information to help us track down
1931 the problem then you will probably be ignored.  
1932
1933 A new bugzilla installation has been established to help support the 
1934 Samba 3.0 community of users.  This server, located at 
1935 https://bugzilla.samba.org/, has replaced the older jitterbug server 
1936 previously located at http://bugs.samba.org/.
1937