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