This sets everything for using a form-mail cgi script. The submitted
[metze/test/web/.git] / whatsnew / samba-3.0.1.html
1 <!--#include virtual="/samba/header.html" -->
2
3    <H2>Samba 3.0.1 Available for Download</H2>
4
5 <p>
6 <pre>
7 The Samba Team is proud to announce the availability 
8 of the first patch release of the Samba 3.0 code base.
9 This is the latest stable release of Samba and the  
10 version that all production Samba servers should be running 
11 for all current bug-fixes.  Some of the more common bugs in
12 3.0.0 addressed in the release include:
13
14   * Substitution problems with smb.conf variables.
15   * Errors in return codes which caused some applications
16     to fail to open files.
17   * General Protection Faults on Windows 2000/XP clients
18     using Samba point-n-print features.
19   * Several miscellaneous crash bugs.
20   * Access problems when enumerating group mappings are 
21     stored in an LDAP Directory.
22   * Several common SWAT bugs when writing changes to 
23     smb.conf.
24   * Internal inconsistencies when 'winbind use default 
25     domain = yes'
26
27 The source code can be downloaded from :
28
29     <a href="http://download.samba.org/samba/ftp/">http://download.samba.org/samba/ftp/</a>
30
31 The uncompressed tarball and patch file have been signed
32 using GnuPG.  The Samba public key is available at
33
34     <a href="http://download.samba.org/samba/ftp/samba-pubkey.asc">http://download.samba.org/samba/ftp/samba-pubkey.asc</a>
35
36 Binary packages are available at
37
38     <a href="http://download.samba.org/samba/ftp/Binary_Packages/">http://download.samba.org/samba/ftp/Binary_Packages/</a>
39
40 A simplified version of the CVS log of updates since 3.0.0 can
41 be found in the the download directory under the name 
42 <a href="/samba/ftp/ChangeLog-3.0.0-3.0.1">ChangeLog-3.0.0-3.0.1</a>.  
43 The release notes are also available on-line at
44
45   <a href="http://www.samba.org/samba/whatsnew/samba-3.0.1.html">http://www.samba.org/samba/whatsnew/samba-3.0.1.html</a>
46
47 Please file any bugs you find in this release at
48
49     <a href="https://bugzilla.samba.org/">https://bugzilla.samba.org/</a>
50
51 As always, all bugs are our responsibility.
52
53                                   --Enjoy
54                                   The Samba Team
55
56
57 #######################################################################
58                       WHATS NEW IN Samba 3.0.1
59                          December 15, 2003
60                   ===============================
61
62 This is the latest stable release of Samba. This is the 
63 version that all production Samba servers should be running 
64 for all current bug-fixes.  Some of the more common bugs in
65 3.0.0 addressed  in the release include:
66
67   * Substitution problems with smb.conf variables.
68   * Errors in return codes which caused some applications
69     to fail to open files.
70   * General Protection Faults on Windows 2000/XP clients
71     using Samba point-n-print features.
72   * Several miscellaneous crash bugs.
73   * Access problems when enumerating group mappings are 
74     stored in an LDAP Directory.
75   * Several common SWAT bugs when writing changes to 
76     smb.conf.
77   * Internal inconsistencies when 'winbind use default 
78     domain = yes'
79
80
81 ######################################################################
82 Changes
83 #######
84 Changes since 3.0.1rc2
85 ----------------------
86
87 Please refer to the CVS log for the SAMBA_3_0 branch for complete
88 details:
89
90 1)  Fix uninitialized variable in passdb.c.
91 2)  Fix formal parameter type in get_static() in nsswitch/wins.c.
92 3)  Fix problem mounting directories when mount.cifs is installed 
93     with the setuid bit on.
94 4)  Fix bug that prevent --mandir from overriding the defaults
95     given in the --with-fhs macro.
96 5)  Fix bug in in-memory Kerberos keytab detection routines 
97     in configure.in
98
99
100 Changes since 3.0.1rc1
101 -----------------------
102
103 1)  Update version string in smbldap-tools Makefile to 0.8.2.
104 2)  Correct a problem with "net rpc vampire" mis-parsing the 
105     alias member info reply.
106 3)  Ensure the ${libdir} is created by the installclientlib script.
107 4)  Fix detection of Windows 2003 client architecture in the smb.conf
108     %a variable.
109 5)  Ensure that smbd calls the add user script for a missing UNIX 
110     user on kerberos auth call (bug 445).
111 6)  Fix bugs in hosts allow/deny when using a mismatched 
112     network/netmask pair.
113 7)  Protect alloc_sub_basic() from crashing when the source string 
114     is NULL (partial work on bug 687).
115 8)  Fix spinlocks on IRIX.
116 9)  Corrected some bad destination paths when running "configure 
117     --with-fhs".
118 10) Add packaging files for Fedora Core 1.
119 11) Correct bug in SWAT install script for non-english languages.
120 12) Support character set ISO-8859-1 internally (bug 558).
121 13) Fixed more LDAP access errors when looking up group mappings 
122     (bug 281).
123 14) Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
124     resolution to fail on local files on on domain members 
125     (bug 875).
126
127
128 Changes since 3.0.1pre3
129 -----------------------
130
131 Removed Parameters
132   * hide local users
133   
134 Added Parameters
135   * passwd chat timeout
136
137 1)  Fix for pdbedit error code returns (bug 763).
138 2)  Make sure we only enumerate group mapping entries  (not 
139     /etc/group) even when doing local aliases.
140 3)  Relax check on the pipe name in a dce/rpc bind response to work 
141     around issues with establishing trusts to a Windows 2003 domain.
142 4)  Ensure we mangle names ending in '.' in hash2 mangling method.
143 5)  Correct parsing issues with munged dial string.
144 6)  Fix bugs in quota support for XFS.
145 7)  Add a cleaner method for applications that need to provide name->SID
146     mappings to do this via NSS rather than having to know the
147     winbindd pipe protocol.
148 8)  Adds a variant of the winbindd_getgroups() call called 
149     winbindd_getusersids() that provides direct SID->SIDs listing of a 
150     users supplementary groups. This is enough to allow non-Samba 
151     applications to do ACL checking.
152 9)  Make sure we don't append the 'ldap suffix' when writing out the 
153     'ldap XXX suffix' values in SWAT (bug 328).
154 10) Fix renames across file systems.
155 11) Ensure that items in a list of strings containing whitespace are 
156     written out surrounded by single quotes.  This means that both 
157     double and single quotes are now used to surround strings in 
158     smb.conf (bug 481).
159 12) Enable SWAT to correctly determine if winbindd is running (bug 
160     398).
161 13) Include WWW-Authenticate field in 401 response for bad auth 
162     attempt (bug 629).
163 14) Add support for NTLM2 (NTLMv2 session security).
164 15) Add support for variable-length session keys.
165 16) More privilege fixes for group enumeration in LDAP (bug 281).
166 17) Use the dns name (or IP) as the originating client name when
167     using CUPS (bug 467).
168 18) Fix various SMB signing bugs.
169 19) Fix ACL propagation on a DFS root (bug 263).
170 20) Disable NTLM2 for RPC pipes.
171 21) Allow the client to specify the NTLM2 flags got NTLMSSP 
172     authentication.
173 22) Change the name of the job passed off to cups from "Test Page" to 
174     "smbprn.00000033 Test Page" so that we can get the smb jobid back.  
175     This allow users to delete jobs with cups printing backend (partial 
176     work on bug 770).
177 23) Fix build of winbindd with static pdb modules.
178 24) Retrieve the correct ACL group bits if the file has an ACL 
179     (bug 802).
180 25) Implement "net rpc group members": Get members of a domain group 
181     in human-readable format.
182 26) Add MacOSX (Darwin) specific charset module code.
183 27) Use samr_dispinfo(level == 1) for enumerating domain users so we 
184     can include the full name in gecos field (bug 587).
185 28) Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
186 29) Implement 'net rpc group list [global|local|builtin]*' for a 
187     select listing of the respective user databases.
188 30) Don't automatically set NT status code flag unless client tells 
189     us it can cope.
190 31) Add 'net status [sessions|shares] [parseable]'.
191 32) Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
192     bug 770).
193 33) Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
194     (bug 608).
195 34) Fix inverted logic in hosts allow/deny checks caused by s/strcmp/strequal/
196     (bug 846).
197 35) Implement correct version SamrRemoveSidForeignDomain() (bug 252).
198 36) Fix typo in 'hash' mangling algorithm.
199 37) Support munged dial for ldapsam (bug 800).
200 38) Fix process_incoming_data() to return the number of bytes handled this 
201     call whether we have a complete PDU or not; fixes bug with multiple 
202     PDU request rpc's broken over SMBwriteX calls each.
203 39) Fix incorrect smb flags2 for connections to pre-NT servers (causes
204     smbclient to fail to OS2 for example) (bug 821).
205
206     
207
208 Changes since 3.0.1pre2
209 -----------------------
210
211 Please refer to the CVS log for the SAMBA_3_0 branch for complete
212 details:
213
214 1)  Skip over the winbind separator when looking up a user.
215     This fixes the bug that prevented local users from
216     matching an AD user when not running winbindd (bug 698).
217 2)  Fix a problem with configure on *BSD systems. Make sure
218     we add -liconv etc to LDFLAGS.
219 3)  Fix core dump bug when "security = server" and the authentication
220     server goes away.
221 4)  Correct crash bug due to an empty munged dial string.
222 5)  Show files locked by a specific user (smbstatus -u 'user') 
223     (bug 590).
224 6)  Fix bug preventing print jobs from display in the queue
225     monitor used by Windows NT and later clients (bug 660).
226 7)  Fix several reported problems with point-n-print from
227     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
228     reply (bug 338, 527 & 643).
229 8)  Fix a handful of potential memory leaks in the LDAP code used
230     by ldapsam[_compat] and the LDAP idmap backend.
231
232
233 Changes since 3.0.1pre1
234 -----------------------
235
236 1)  Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
237 2)  Updated Japanese welcome file in SWAT.
238 3)  Fix to  nt-time <-> unix-time functions reversible.
239 4)  Ensure that winbindd uses the the escaped DN when querying
240     an AD ldap server.
241 5)  Fix portability issues when compiling (bug 505, 550)
242 6)  Compile fix for tdbbackup when Samba needs to override 
243     non-C99 compliant implementations of snprintf().
244 7)  Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
245 8)  Make sure we break out of samsync loop on error.
246 9)  Ensure error code path doesn't free unmalloc()'d memory
247     (bug 628).
248 10) Add configure test for krb5_keytab_entry keyblock vs key 
249     member (bug 636).
250 11) Fixed spinlocks.
251 12) Modified testparm so that all output so all debug output goes 
252     to stderr, and all file processing goes to stdout.
253 13) Fix error return code for BUFFER_TOO_SMALL in smbcacls 
254     and smbcquotas.
255 14) Fix "NULL dest in safe_strcpy()" log message by ensuring that 
256     we have a devmode before copying a string to the devicename.
257 15) Support mapping REALM.COM\user to a local user account (without 
258     running winbindd)  for compatibility with 2.2.x release.
259 16) Ensure we don't use mmap() on blacklisted systems.
260 17) fixed a number of bugs and memory leaks in the AIX 
261     winbindd shim
262 18) Call initgroups() in SWAT before becomming the user so that
263     secondary group permissions can be used when writing to 
264     smb.conf.
265 19) Fix signing problems when reverse connecting back to a 
266     client for printer notify
267 20) Fix signing problems caused by a miss-sequence bug.
268 21) Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
269     Fixes NEXUS tools running on Win9x clients (bug 64).
270 22) Don't leave the domain field uninitialized in cli_lsa.c if some 
271     SID could not be mapped.
272 23) Fix segfault in mount.cifs helper when there is no options 
273     specified during mount.
274 24) Change the \n after the password prompt to go to tty instead 
275     of stdout (bug 668).
276 25) Stop net -P from prompting for machine account password (bug 451).
277 26) Change in behavior to Not only change the effective uid but also
278     the real uid when becoming unprivileged.
279 27) Cope with Exchange 5.5 cleartext pop password auth.
280 28) New files for support of initshutdown pipe.  Win2k doesn't 
281     respond properly to all requests on the winreg pipe, so we need 
282     to handle this new pipe (bug 534).
283 29) Added more va_copy() checks in configure.in.
284 30) Include fixes for libsmbclient build problems.
285 31) Missing UNIX -> DOS codepage conversion in lanman.c.
286 32) Allow DFMS-S filenames can now have arbitrary case (bug 667).
287 33) Parameterize the listen backlog in smbd and make it larger by
288     default. A backlog of 5 is way too small these days.
289 34) Check for an invalid fid before dereferencing the fsp pointer
290     (bug 696).
291 35) Remove invalid memory frees and return codes in pdb_ldap.c.
292 36) Prompt for password when invoking --set-auth-user and no 
293     password is given.
294 37) Bind the nmbd sending socket to the 'socket address'.
295 38) Re-order link command for smbd, rpcclient and smbpasswd to ensure 
296     $LDFLAGS occurs before any library specification (bug 661).
297 39) Fix large number of printf() calls for 64-bit size_t.
298 40) Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
299     keyblock in the krb5 structs.
300 41) Remove #include <compat.h> in hopes to avoid problems with 
301     apache header files.
302 42) Correct winbindd build problems on HP-UX 11.
303 43) Lowercase netgroups lookups (bug 703).
304 44) Use the actual size of the buffer in strftime instead of a made
305     up value which just happens to be less than sizeof(fstring).  
306     (bug 713).
307 45) Add ldaplibs to pdbedit link line (bug 651).
308 46) Fix crash bug in smbclient completion (bug 659).
309 47) Fix packet length for browse list reply (bug 771).
310 48) Fix coredump in cli_get_backup_list().
311 49) Make sure that we expand %N (bug 612).
312 50) Allow rpcclient adddriver command to specify printer driver 
313     version (bug 514).
314 51) Compile tdbdump by default.
315 52) Apply patches to fix iconv detection for FreeBSD.
316 53) Do not allow the 'guest account' to be added to a passdb backend 
317     using smbpasswd or pdbedit (bug 624).
318 54) Save LDFLAGS during iconv detection (bug 57).
319 55) Run krb5 logins through the username map if the winbindd 
320     lookup fails (bug 698).
321 56) Add const for lp_set_name_resolve_order() to avoid compiler 
322     warnings (bug 471).
323 57) Add support for the %i macro in smb.conf to stand in for the for
324     the local IP address to which a client connected.
325 58) Allow winbindd to match local accounts to domain SID when 
326     'winbind trusted domains only = yes' (bug 680).
327 59) Remove code in idmap_ldap that searches the user suffix and group 
328     suffix.  It's not needed and provides inconsistent functionality 
329     from the tdb backend.
330 60) Patch to handle munged dial string for Windows 200 TSE.
331 61) Correct the "smbldap_open: cannot access when not root error"
332     messages when looking up group information (bug 281).
333
334
335     
336 Changes since 3.0.0
337 -------------------
338
339 Modified parameters
340   * mangled map (deprecated)
341   
342 Removed Parameters
343   * mangled stack (unused)
344
345
346 1)  Change the interface for init_unistr2 to not take a length 
347     but a flags field.  We were assuming that 
348     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
349 2)  Allow d_printf() to handle strings with escaped quotation 
350     marks since the msg file includes the escape character (bug 489).
351 3)  Fix bad html table row termination in SWAT wizard code (bug 413).
352 4)  Fix to parse the level-2 strings.
353 5)  Fix for "valid users = %S" in [homes].  Fix read/write 
354     list as well. 
355 6)  Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
356     This is the same way AC_CHECK_LIB works (bug 508).
357 7)  Testparm output fixes for clarity.
358 8)  Fix broken wins hook functionality -- i18n bug (bug 528).
359 9)  Take care of condition where DOS and NT error codes must differ.
360 10) Default to using only built-in charsets when a working iconv 
361     implementation cannot be located.
362 11) Wrap internals of sys_setgroups() so the sys_XX() call can 
363     be done unconditionally (bug 550).
364 12) Remove duplicate smbspool link on SWAT's front page (bug 541).
365 13) Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
366     --enable-debug=[yes|no] works correctly.
367 14) Allow ^C to interrupt smbpasswd if using our getpass 
368     (e.g. smbpasswd command).
369 15) Support signing only on RPC's (bug 167).
370 16) Correct bug that prevented  Excel 2000 clients from opening 
371     files marked as read-only.
372 17) Portability fix bugs 546 - 549).
373 18) Explicitly initialize the value of AR for vendor makes that don't
374     do this (e.g. HPUX 11).  (bug 552).
375 19) More i18n fixes for SWAT (bug 413).
376 20) Change the cwd before the postexec script to ensure that a
377     umount will succeed.
378 21) Correct double free that caused winbindd to crash when a DC 
379     is rebooted (bug 437).
380 22) Fix incorrect mode sum (bug 562).
381 23) Canonicalize SMB_INFO_ALLOCATION in the same was as
382     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
383 24) Add script to generate *msg files.
384 25) Add Dutch SWAT translation file.
385 26) Make sure to call get_user_groups() with the full winbindd 
386     name for a user if he/she has one (bug 406).
387 27) Fix up error code returns from Samba4 tester. Ensure invalid 
388     paths are validated the same way.  
389 28) Allow Samba3 to pass the Samba4 RAW-READ tests.
390 29) Refuse to configure if --with-expsam=$BACKEND was used but no 
391     libraries were found for $BACKEND.
392 30) Move sysquotas autoconf tests to a separate file.
393 31) Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
394     tester
395 32) Make sure that the files that contain the static_init_$subsystem; 
396     macro get recompiled after configure by removing the object 
397     files.
398 33) Ensure canceling a blocking lock returns the correct error 
399     message.
400
401
402
403 ######################################################################
404
405               =======================================
406               The original 3.0.0 release notes follow          
407               =======================================
408
409
410 Major new features:
411 -------------------
412
413 1)  Active Directory support.  Samba 3.0 is now able to  
414     join a ADS realm as a member server and authenticate 
415     users using LDAP/Kerberos.
416
417 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
418     and internally there is now a much better infrastructure for 
419     multi-byte and UNICODE character sets.
420
421 3)  New authentication system. The internal authentication system 
422     has been almost completely rewritten. Most of the changes are 
423     internal, but the new auth system is also very configurable.
424
425 4)  New default filename mangling system.
426
427 5)  A new "net" command has been added. It is somewhat similar to 
428     the "net" command in windows. Eventually we plan to replace 
429     numerous other utilities (such as smbpasswd) with subcommands 
430     in "net".
431
432 6)  Samba now negotiates NT-style status32 codes on the wire. This
433     improves error handling a lot.
434
435 7)  Better Windows 2000/XP/2003 printing support including publishing
436     printer attributes in active directory.
437
438 8)  New loadable module support for passdb backends and character 
439     sets.
440
441 9)  New default dual-daemon winbindd support for better performance.
442
443 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
444     domain and maintaining user, group and domain SIDs.
445
446 11) Support for establishing trust relationships with Windows NT 4.0
447     domain controllers.
448   
449 12) Initial support for a distributed Winbind architecture using
450     an LDAP directory for storing SID to uid/gid mappings.
451   
452 13) Major updates to the Samba documentation tree.
453
454 14) Full support for client and server SMB signing to ensure
455     compatibility with default Windows 2003 security settings.
456
457 15) Improvement of ACL mapping features based on code donated by
458     Andreas Grünbacher.
459
460
461 Plus lots of other improvements!
462
463
464 Additional Documentation
465 ------------------------
466
467 Please refer to Samba documentation tree (included in the docs/ 
468 subdirectory) for extensive explanations of installing, configuring
469 and maintaining Samba 3.0 servers and clients.  It is advised to 
470 begin with the Samba-HOWTO-Collection for overviews and specific 
471 tasks (the current book is up to approximately 400 pages) and to 
472 refer to the various man pages for information on individual options.
473
474 We are very glad to be able to include the second edition of
475 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
476 (O'Reilly & Associates) in this release.  The book is available
477 on-line at http://samba.org/samba/docs/ and is included with 
478 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
479 publisher for making "Using Samba" under the GNU Free Documentation 
480 License.
481
482
483 ######################################################################
484 Upgrading from a previous Samba 3.0 beta
485 ########################################
486
487 Beginning with Samba 3.0.0beta3, the RID allocation functions
488 have been moved into winbindd.  Previously these were handled
489 by each passdb backend.  This means that winbindd must be running
490 to automatically allocate RIDs for users and/or groups.  Otherwise,
491 smbd will use the 2.2 algorithm for generating new RIDs.
492
493 If you are using 'passdb backend = tdbsam' with a previous Samba 
494 3.0 beta release (or possibly alpha), it may be necessary to 
495 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
496 to winbindd_idmap.tdb.  To do this:
497
498 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
499     once)
500 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
501     directory
502 3)  run: (note that 'tdb>' is the tool's prompt for input)
503
504        root# ./tdbtool /usr/local/samba/private/passdb.tdb
505        tdb> show RID_COUNTER
506        key 12 bytes
507        RID_COUNTER
508        data 4 bytes
509        [000] 0A 52 00 00                                       .R.
510
511        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
512        ....
513        record moved
514
515 If you are using 'passdb backend = ldapsam', it will be necessary to 
516 store idmap entries in the LDAP directory as well (i.e. idmap backend 
517 = ldap).  Refer to the 'net idmap' command for more information on 
518 migrating SID<->UNIX id mappings from one backend to another.
519
520 If the RID_COUNTER record does not exist, then these instructions are
521 unneccessary and the new RID_COUNTER record will be correctly generated
522 if needed.  
523
524
525
526 ########################
527 Upgrading from Samba 2.2
528 ########################
529
530 This section is provided to help administrators understand the details
531 involved with upgrading a Samba 2.2 server to Samba 3.0.
532
533
534 Building
535 --------
536
537 Many of the options to the GNU autoconf script have been modified 
538 in the 3.0 release.  The most noticeable are:
539
540   * removal of --with-tdbsam (is now included by default; see section
541     on passdb backends and authentication for more details)
542     
543   * --with-ldapsam is now on used to provided backward compatible
544     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
545     backend and authentication section for more details
546   
547   * inclusion of non-standard passdb modules may be enabled using
548     --with-expsam.  This includes an XML backend and a mysql backend.
549       
550   * removal of --with-msdfs (is now enabled by default)
551   
552   * removal of --with-ssl (no longer supported)
553   
554   * --with-utmp now defaults to 'yes' on supported systems
555   
556   * --with-sendfile-support is now enabled by default on supported 
557     systems
558   
559     
560 Parameters
561 ----------
562
563 This section contains a brief listing of changes to smb.conf options
564 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
565 complete descriptions of new or modified parameters.
566
567 Removed Parameters (order alphabetically):
568
569   * admin log
570   * alternate permissions
571   * character set
572   * client codepage
573   * code page directory
574   * coding system
575   * domain admin group
576   * domain guest group
577   * force unknown acl user
578   * hide local users
579   * nt smb support
580   * postscript
581   * printer driver
582   * printer driver file
583   * printer driver location
584   * status
585   * strip dot
586   * total print jobs
587   * use rhosts
588   * valid chars
589   * vfs options
590
591 New Parameters (new parameters have been grouped by function):
592
593   Remote management
594   -----------------
595   * abort shutdown script
596   * shutdown script
597
598   User and Group Account Management
599   ---------------------------------
600   * add group script
601   * add machine script
602   * add user to group script
603   * algorithmic rid base
604   * delete group script
605   * delete user from group script
606   * passdb backend
607   * set primary group script
608
609   Authentication
610   --------------
611   * auth methods
612   * realm
613   * passwd chat timeout
614
615   Protocol Options
616   ----------------
617   * client lanman auth
618   * client NTLMv2 auth
619   * client schannel
620   * client signing
621   * client use spnego
622   * disable netbios
623   * ntlm auth
624   * paranoid server security
625   * server schannel
626   * server signing
627   * smb ports
628   * use spnego
629
630   File Service
631   ------------
632   * get quota command
633   * hide special files
634   * hide unwriteable files
635   * hostname lookups
636   * kernel change notify
637   * mangle prefix
638   * map acl inherit
639   * msdfs proxy
640   * set quota command
641   * use sendfile
642   * vfs objects
643   
644   Printing
645   --------
646   * max reported print jobs
647
648   UNICODE and Character Sets
649   --------------------------
650   * display charset
651   * dos charset
652   * unicode
653   * unix charset
654   
655   SID to uid/gid Mappings
656   -----------------------
657   * idmap backend
658   * idmap gid
659   * idmap uid
660   * winbind enable local accounts
661   * winbind trusted domains only
662   * template primary group
663   * enable rid algorithm
664
665   LDAP
666   ----
667   * ldap delete dn
668   * ldap group suffix
669   * ldap idmap suffix
670   * ldap machine suffix
671   * ldap passwd sync
672   * ldap user suffix
673   
674   General Configuration
675   ---------------------
676   * preload modules
677   * private dir
678
679 Modified Parameters (changes in behavior):
680
681   * encrypt passwords (enabled by default)
682   * mangling method (set to 'hash2' by default)
683   * passwd chat
684   * passwd program
685   * restrict anonymous (integer value)
686   * security (new 'ads' value)
687   * strict locking (enabled by default)
688   * unix extensions (enabled by default)
689   * winbind cache time (increased to 5 minutes)
690   * winbind uid (deprecated in favor of 'idmap uid')
691   * winbind gid (deprecated in favor of 'idmap gid')
692
693
694 Databases
695 ---------
696
697 This section contains brief descriptions of any new databases 
698 introduced in Samba 3.0.  Please remember to backup your existing 
699 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
700 upgrade databases as they are opened (if necessary), but downgrading 
701 from 3.0 to 2.2 is an unsupported path.
702
703 Name                    Description                             Backup?
704 ----                    -----------                             -------
705 account_policy          User policy settings                    yes
706 gencache                Generic caching db                      no
707 group_mapping           Mapping table from Windows              yes
708                         groups/SID to unix groups        
709 winbindd_idmap          ID map table from SIDS to UNIX          yes
710                         uids/gids.
711 namecache               Name resolution cache entries           no
712 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
713                         returned as part of a successful
714                         net_sam_logon request 
715 printing/*.tdb          Cached output from 'lpq                 no
716                         command' created on a per print 
717                         service basis
718 registry                Read-only samba registry skeleton       no
719                         that provides support for exporting
720                         various db tables via the winreg RPCs
721
722
723 Changes in Behavior
724 -------------------
725
726 The following issues are known changes in behavior between Samba 2.2 and 
727 Samba 3.0 that may affect certain installations of Samba.
728
729   1)  When operating as a member of a Windows domain, Samba 2.2 would 
730       map any users authenticated by the remote DC to the 'guest account'
731       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
732       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
733       current work around to re-establish the 2.2 behavior.
734       
735   2)  When adding machines to a Samba 2.2 controlled domain, the 
736       'add user script' was used to create the UNIX identity of the 
737       machine trust account.  Samba 3.0 introduces a new 'add machine 
738       script' that must be specified for this purpose.  Samba 3.0 will
739       not fall back to using the 'add user script' in the absence of 
740       an 'add machine script'
741   
742
743 ######################################################################
744 Passdb Backends and Authentication
745 ##################################
746
747 There have been a few new changes that Samba administrators should be
748 aware of when moving to Samba 3.0.
749
750   1) encrypted passwords have been enabled by default in order to 
751      inter-operate better with out-of-the-box Windows client 
752      installations.  This does mean that either (a) a samba account
753      must be created for each user, or (b) 'encrypt passwords = no'
754      must be explicitly defined in smb.conf.
755     
756   2) Inclusion of new 'security = ads' option for integration 
757      with an Active Directory domain using the native Windows
758      Kerberos 5 and LDAP protocols.
759
760      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
761      type which is neccessary for servers on which the 
762      administrator password has not been changed, or kerberos-enabled 
763      SMB connections to servers that require Kerberos SMB signing.
764      Besides this one difference, either MIT or Heimdal Kerberos
765      distributions are usable by Samba 3.0.
766      
767
768 Samba 3.0 also includes the possibility of setting up chains
769 of authentication methods (auth methods) and account storage 
770 backends (passdb backend).  Please refer to the smb.conf(5) 
771 man page for details.  While both parameters assume sane default 
772 values, it is likely that you will need to understand what the 
773 values actually mean in order to ensure Samba operates correctly.
774
775 The recommended passdb backends at this time are
776
777   * smbpasswd - 2.2 compatible flat file format
778   * tdbsam - attribute rich database intended as an smbpasswd
779     replacement for stand alone servers
780   * ldapsam - attribute rich account storage and retrieval 
781     backend utilizing an LDAP directory.  
782   * ldapsam_compat - a 2.2 backward compatible LDAP account 
783     backend
784     
785 Certain functions of the smbpasswd(8) tool have been split between the 
786 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
787 utility.  See the respective man pages for details.
788     
789      
790 ######################################################################
791 LDAP
792 ####
793
794 This section outlines the new features affecting Samba / LDAP 
795 integration.
796
797 New Schema
798 ----------
799   
800 A new object class (sambaSamAccount) has been introduced to replace 
801 the old sambaAccount.  This change aids us in the renaming of attributes 
802 to prevent clashes with attributes from other vendors.  There is a 
803 conversion script (examples/LDAP/convertSambaAccount) to modify and LDIF 
804 file to the new schema.
805   
806 Example:
807   
808         $ ldapsearch .... -b "ou=people,dc=..." > old.ldif
809         $ convertSambaAccount <DOM SID> old.ldif new.ldif
810         
811 The <DOM SID> can be obtained by running 'net getlocalsid <DOMAINNAME>' 
812 on the Samba PDC as root.
813     
814 The old sambaAccount schema may still be used by specifying the 
815 "ldapsam_compat" passdb backend.  However, the sambaAccount and
816 associated attributes have been moved to the historical section of
817 the schema file and must be uncommented before use if needed.
818 The 2.2 object class declaration for a sambaAccount has not changed
819 in the 3.0 samba.schema file. 
820   
821 Other new object classes and their uses include:
822   
823   * sambaDomain - domain information used to allocate rids 
824     for users and groups as necessary.  The attributes are added
825     in 'ldap suffix' directory entry automatically if 
826     an idmap uid/gid range has been set and the 'ldapsam'
827     passdb backend has been selected.
828       
829   * sambaGroupMapping - an object representing the 
830     relationship between a posixGroup and a Windows
831     group/SID.  These entries are stored in the 'ldap 
832     group suffix' and managed by the 'net groupmap' command.
833     
834   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
835     automatically and contains the next available 'idmap uid' and 
836     'idmap gid'
837     
838   * sambaIdmapEntry - object storing a mapping between a 
839     SID and a UNIX uid/gid.  These objects are created by the 
840     idmap_ldap module as needed.
841
842   * sambaSidEntry - object representing a SID alone, as a Structural
843     class on which to build the sambaIdmapEntry.
844
845     
846 New Suffix for Searching
847 ------------------------
848   
849 The following new smb.conf parameters have been added to aid in directing
850 certain LDAP queries when 'passdb backend = ldapsam://...' has been
851 specified.
852
853   * ldap suffix         - used to search for user and computer accounts
854   * ldap user suffix    - used to store user accounts
855   * ldap machine suffix - used to store machine trust accounts
856   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
857   * ldap idmap suffix   - location of sambaIdmapEntry objects
858
859 If an 'ldap suffix' is defined, it will be appended to all of the 
860 remaining sub-suffix parameters.  In this case, the order of the suffix
861 listings in smb.conf is important.  Always place the 'ldap suffix' first
862 in the list.  
863
864 Due to a limitation in Samba's smb.conf parsing, you should not surround 
865 the DN's with quotation marks.
866
867
868 IdMap LDAP support
869 ------------------
870
871 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
872 following options would inform Samba that the idmap table should be
873 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
874 dc=org" partition.
875
876  [global]
877     ...
878     idmap backend     = ldap:ldap://onterose/
879     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
880     idmap uid         = 40000-50000
881     idmap gid         = 40000-50000
882
883 This configuration allows winbind installations on multiple servers to
884 share a uid/gid number space, thus avoiding the interoperability problems
885 with NFS that were present in Samba 2.2.
886     
887
888
889 ######################################################################
890 Trust Relationships and a Samba Domain
891 ######################################
892
893 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
894 allocating uids and gids to trusted users and groups.  More
895 information regarding Samba's support for establishing trust 
896 relationships can be found in the Samba-HOWTO-Collection included
897 in the docs/ directory of this release.
898
899 First create your Samba PDC and ensure that everything is 
900 working correctly before moving on the trusts.
901
902 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
903 4.0 domain named WINDOWS:
904
905   1) create the trust account for SAMBA in "User Manager for Domains"
906   2) connect the trust from the Samba domain using
907      'net rpc trustdom establish GLASS'
908
909 To create a trustlationship with SAMBA as the trusted domain:
910
911   1) create the initial trust account for GLASS using
912      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
913      account for GLASS$ prior to this step (depending on your
914      local configuration).
915   2) connect the trust from a WINDOWS DC using "User Manager
916      for Domains"
917
918 Now join winbindd on the Samba PDC to the SAMBA domain using
919 the normal steps for adding a Samba server to an NT4 domain:
920 (note that smbd & nmbd must be running at this point)
921
922    root# net rpc join -U root
923    Password: <enter root password from smbpasswd file here>
924
925 Start winbindd and test the join with 'wbinfo -t'.
926
927 Now test the trust relationship by connecting to the SAMBA DC
928 (e.g. POGO) as a user from the WINDOWS domain:
929
930    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
931    Password:
932
933 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
934
935    $ smbclient //crystal/netlogon -U root -W WINDOWS
936    Password:
937
938 ######################################################################
939 Changes in Winbind
940 ##################
941
942 Beginning with Samba3.0.0beta3, winbindd has been given new account
943 manage functionality equivalent to the 'add user script' family of
944 smb.conf parameters.  The idmap design has also been changed to 
945 centralize control of foreign SID lookups and matching to UNIX 
946 uids and gids.
947
948
949 Brief Description of Changes
950 ----------------------------
951
952 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
953    reverted to the 2.2.x design.  This means that when resolving a 
954    SID to a UID or similar mapping:
955
956         a) First consult winbindd
957         b) perform a local lookup only if winbindd fails to
958            return a successful answer
959
960    There are some variations to this, but these two rules generally
961    apply.
962
963 2) All idmap lookups have been moved into winbindd.  This means that
964    a server must run winbindd (and support NSS) in order to achieve
965    any mappings of SID to dynamically allocated UNIX ids.  This was
966    a conscious design choice.
967
968 3) New functions have been added to winbindd to emulate the 'add user 
969    script' family of smbd functions without requiring that external
970    scripts be defined.  This functionality is controlled by the 'winbind 
971    enable local accounts' smb.conf parameter (enabled by default).
972
973    However, this account management functionality is only supported 
974    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
975    must be shared among multiple Samba servers (such as a PDC and BDCs), 
976    it will be necessary to define your own 'add user script', et. al.
977    programs that place the accounts/groups in some form of directory
978    such as NIS or LDAP.  This requirement was deemed beyond the scope
979    of winbind's account management functions.  Solutions for 
980    distributing UNIX system information have been deployed and tested 
981    for many years.  We saw no need to reinvent the wheel.
982
983 4) A member of a Samba controlled domain running winbindd is now able 
984    to map domain users directly onto existing UNIX accounts while still
985    automatically creating accounts for trusted users and groups.  This
986    behavior is controlled by the 'winbind trusted domains only' smb.conf
987    parameter (disabled by default to provide 2.2.x winbind behavior).
988
989 5) Group mapping support is wrapped in the local_XX_to_XX() functions
990    in smbd/uid.c.  The reason that group mappings are not included
991    in winbindd is because the purpose of Samba's group map is to
992    match any Windows SID with an existing UNIX group.  These UNIX
993    groups can be created by winbindd (see next section), but the
994    SID<->gid mapping is retreived by smbd, not winbindd.
995
996
997 Examples
998 --------
999
1000 * security = server running winbindd to allocate accounts on demand
1001
1002 * Samba PDC running winbindd to handle the automatic creation of UNIX
1003   identities for machine trust accounts
1004
1005 * Automtically creating UNIX user and groups when migrating a Windows NT
1006   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
1007   'net rpc vampire' for this to work.
1008
1009    
1010 ######################################################################
1011 Known Issues
1012 ############
1013
1014 * There are several bugs currently logged against the 3.0 codebase
1015   that affect the use of NT 4.0 GUI domain management tools when run
1016   against a Samba 3.0 PDC.  This bugs should be released in an early 
1017   3.0.x release.
1018
1019 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
1020 filed against the Samba 3.0 codebase.
1021
1022
1023 ######################################################################
1024 Reporting bugs & Development Discussion
1025 #######################################
1026
1027 Please discuss this release on the samba-technical mailing list or by
1028 joining the #samba-technical IRC channel on irc.freenode.net.
1029
1030 If you do report problems then please try to send high quality
1031 feedback. If you don't provide vital information to help us track down
1032 the problem then you will probably be ignored.  
1033
1034 A new bugzilla installation has been established to help support the 
1035 Samba 3.0 community of users.  This server, located at 
1036 https://bugzilla.samba.org/, has replaced the older jitterbug server 
1037 previously located at http://bugs.samba.org/.
1038
1039 </pre>
1040 <!--#include virtual="/samba/footer.html" -->