r6304: missed some files in the previous commit
[Samba.git] / WHATSNEW.txt
blob0dd513c9ec33c0efe12b2320270a1e286c88b383
1                    ==================================
2                    Release Notes for Samba 3.0.15pre1
3                                Apr 11, 2005
4                    ==================================
6 This is a preview release of the Samba 3.0.15 code base and
7 is provided for testing only.  This release is *not* intended
8 for production servers.  However, there have been several bug
9 fixes and new features added since 3.0.14 that we feel are
10 important to make available to the Samba community for wider
11 testing.  There are still more changes planned before the 
12 final 3.0.15 release.
14 Additional features introduced in Samba 3.0.15pre1 include:
16   o Support for several new Win32 rpc pipes.
17   o Improved support for OS/2 clients.
18   o New 'net rpc service' tool for managing Win32 services.
19   o Capability to set the owner on new files and directory
20     based on the parent's ownership.
23 ######################################################################
24 Changes
25 #######
27 Changes since 3.0.14
28 --------------------
30     Parameter Name                      Action
31     --------------                      ------
32     inherit owner                       New
33     max stat cache size                 New
35 commits
36 -------
38 o   Jeremy Allison <jra@samba.org>
39     * BUG 2533: Fix incorrect directory listings for OS/2 clients.
40     * Ensure the old SMB search calls always ask mask_match() to 
41       translate patterns like ????????.???.
42     * Split out the check_path_syntax() into a findfirst, findnext,
43       & wildcard versions.
44     * Fix checks for matching groups in an file ACL against the
45       user's primary and supplementary group list.
46     * BUG 2541: Ensure we recognise LANMAN2.1 as OS/2 and select 
47       LANMAN2 protocol, ensure the EA size is always correctly 
48       set on a query for a file with no EA's.
49     * BUG 2551: Look at the incoming flags2 flag 
50       FLAGS2_LONG_PATH_COMPONENTS determines if a reply is 
51       uppercased on a SMBsearch request, not the protocol level.
52     * Added "volume" command to smbclient that prints out the 
53       volume name and serial number.
54     * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
55     * Add support for OS/2 Extended Attributes.
56     * Correctly check OpenX open modes.
57     * Ensure allocation size is correctly returned for OpenX. 
58     * Only set allocation on create/truncate for nttrans.
59     * Fix oplock bug in trans2open() code.
60     * Remove unix_ERR_XXX global nastiness.
61     * Only do the strange DOS error for openX, not trans2open.
62     * Ensure SMBopen replies includes the share modes as well as 
63       open modes.
64     * BUG 2581: Add size limit (in kb) to stat cache.
67 o   Timur Bakeyev <timur@com.bat.ru>
68     * BUG 2546: Add support for FreeBSD EA API
69     
70     
71 o   Gerald (Jerry) Carter <jerry@samba.org>
72     * Added support for \svcctl pipe rpcs.
73     * Added 'net rpc service' subcommand for managing Win32 
74       services.
75     * Refactoring work on the rpc [un]marshalling layer and 
76       structures.
77     * Verify privilege name in 'net rpc rights privileges' in 
78       order to provide better error messages.
79     * Cleanup rpc structures in rpc_spoolss.h.
80     * Cleanups and fixes for the \winreg server code.
81     * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
84 o   Jeremy Cooper <jeremy@ncircle.com>
85     * Added support for several new \winreg client rpcs.
88 o   Guenther Deschner <gd@samba.org>
89     * Close handles on group creation in rpcclient to better 
90       support mass group account creation.
91     * Fix account policy key lookup for minimum and maximum
92       password lengths.
93     * Fix some compiler warnings and add missing exclude-block 
94       in 'net rpc share migrate'.
97 o   Steve French <sfrench@us.ibm.com>
98     * Update list of mount options for mount.cifs.
99     * Add more defines for POSIX extensions to match the newly 
100       added client implementation.
101     * Add initial support for cifs umount utility.
102     * Fix cifs mounts to handle commas embedded in prompted 
103       password, and password and credential files.
104     * Fix cifs mounts to handle domain name and user name in 
105       username field (in form domain\user).
108 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
109     * BUG 2541: Fix copying of file(s) from samba share to an OS/2 
110       local drive.
111     
112     
113 o   Tom Lackemann <cessnatomny@yahoo.com>
114     * BUG 2242: Patch to ensure that we only set the security 
115       descriptor on an NTtransact create if we created the file.
116     
118 o   Volker Lendecke <vl@samba.org>
119     * Port some of the non-critical changes from HEAD to 3_0. 
120       The main one is the change in pdb_enum_alias_memberships 
121       to match samr.idl a bit closer.
122     * Close handles on user creation in rpcclient to better 
123       support mass user account creation.
124     * Implement client RAP calls for enumusers/enumgroups level 0.
125     * Implement a new caching API for enumerating the pdb elements.
126     * Convert the RAP user and group enumeration functions to the 
127       utilized the pdb_search API. 
128     * BUG 2438: Partial fix for 'net rpc trustdom establish' in 
129       RestrictAnonymous environments.
132 o   Herb Lewis <herb@samba.org>
133     * Compiler warning cleanups.
136 o   Derrell Lipman <derrell@samba.org>
137     * add support for opening a file for write with O_APPEND 
138       in libsmbclient.
139     * Added smbsh/smbwrapper for Linux to example/libsmbclient 
140       tree.
141     * Fix smbc_stat() from returning incorrect timestamps IFF 
142       it used cli_qpathinfo2() to retrieve the timestamps (Win2k) 
143       and not if it used cli-getatr() to retrieve the timestamps 
144       (Win98). 
145     * Fix handful of compiler warnings.
146     * BUG 2498, 2484: smbc_getxattr() fixes.
147     * BUG 1133: Added provision for overloading some global 
148       configuration options via the new, per-user file 
149       ~/.smb/smb.conf.append.
150     * BUG 2543: Properly cache anonymous username when reverting 
151       to anonymous login, in libsmbclient.
152     * BUG 2505: Fix large file support in libsmbclient.
155 o   Jason Mader <jason@ncac.gwu.edu>
156     * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
159 o   Jim McDonough <jmcd@us.ibm.com>
160     * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
161       (in conjunction with Volker).
163 o   Marcel Müller <mueller@maazl.de>
164     * Patch to fix the OS/2 EA_FROM_LIST info level call.
168 o   James Peach <jpeach@sgi.com>
169     * BUG 1843: Fix quotas (with no soft limits) on IRIX.
172 o   Marcin Porwit <mporwit@centeris.com>
173     * Initial support for the \eventlog pipe.
174     
176 o   Simo Sorce <idra@samba.org>
177     * Allow Domain Admins to force user sessions to close via the 
178       Windows Server Manager.
179     * Add support to 'net rpc right privileges <name>' to enumerate 
180       accounts which possess a specific privilege.
183 o   Mark Weaver <mark-clist@npsl.co.uk>
184     * Patch to fix sys_select so it can't drop signals if another 
185       fd is ready to read. 
188 o   Jelmer Vernooij <jelmer@samba.org>
189     * Remove --with-manpage-languages configure option.
193 Release Notes for older release follow:
195       --------------------------------------------------
196                    ==============================
197                    Release Notes for Samba 3.0.14
198                             Apr 11, 2005
199                    ==============================
201 Common bugs fixed in 3.0.14 include:
203   o Compatibility issues between Winbind and Windows 2003 SP1
204     domain controllers (*2k3sp1*).
205   o MS-DFS errors with Windows XP SP2 clients.
206   o High CPU loads caused by infinite loops in the FindNext()
207     server code.
209     
210 ######################################################################
211 Changes
212 #######
214 Changes since 3.0.13
215 --------------------
217 smb.conf changes
218 ----------------
220     Parameter Name                      Action
221     --------------                      ------
222     dos filetimes                       Enabled by default
225 commits
226 -------
227 o   Jeremy Allison <jra@samba.org>
228     * Prevent nt_status code support when negotiating protocols
229       earlier than NT1.
230     * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
231       as this SMB is DOS codepage only.
232     * BUG 2585: Fix printf() issues in smbpasswd which caused
233       seg faults.
234     * BUG 2563: Fix infinite loop on non-existent file with 
235       FindNext().
236     * BUG 2581 (partial): Ensure if realloc fails on an internal 
237       tdb we fail gracefully.
238     * Ensure that 'dos filetimes' works with ACLs.
239     * Set 'dos filefimes = yes' as the default for smb.conf.
241       
242 o   Gerald (Jerry) Carter <jerry@samba.org>
243     * Workaround autoconf issue to prevent debug symbols from 
244       being included in the default build.
245     * Disable schannel on the \lsarpc pipe in order to successfully 
246       enumerate users and groups (*2k3sp1*)
247     * Fix parsing error in rpc binds which broke NTLMSSP 
248       authentication.   And as a result broke CTL+ALT+DEL password 
249       changes from a Windows 2003 SP1 member of a Samba domain 
250       (*2k3sp1*).
251     * Revert change to FindFirst() server code that broke WinXP
252       SP2 clients from launching *.exe files from a dfs target 
253       share.
254     * BUG 2588: Force smbclient to send netbios messages to port 
255       139 unless otherwise instructed (based on patch from Thomas 
256       Bork).
257       
259 o   Volker Lendecke <vl@samba.org>
260     * Fix build on FreeBSD 4 where Winbind is not supported.
261     * Fix 'wbinfo --user-sids' when using domain local groups.
262     * Restrict domain local groups reported by 'wbinfo -r' to
263       the Samba server domain and not the users domain.
266 o   Lin Li <linl@xandros.com>
267     * Ensure that winbind initializes internal trusted domain 
268       structures when enumerating users and groups.
269       
271 o   Tim Potter <tpot@samba.org>
272     * BUG 2565: Fix crash bug and compiler warnings in strchr_m() 
273       test.
274     * Fix compiler warnings.
277 o   <psz@maths.usyd.edu.au>
278     * Fix for possible root squash NFS bugs.
279     
280     
281 o   Simo Sorce <irda@samba.org>
282     * Debian packaging fixes.
283     
285       --------------------------------------------------
286                    ==============================
287                    Release Notes for Samba 3.0.13
288                             Mar 24, 2005
289                    ==============================
291 Common bugs fixed in 3.0.13 include:
293   o Infinite FindNext() loop from Windows 9x client when
294     copying or deleting files on a Samba file share using 
295     explorer.exe.
296   o Numerous smbclient bugs when listing directories.
297   o Failures in smbclient when connecting to a Windows 9x 
298     file server.
300     
301 ######################################################################
302 Changes
303 #######
305 Changes since 3.0.12
306 --------------------
308 o   Jeremy Allison <jra@samba.org>
309     * Fix typo bug in smbclient where flags overwrote info level
310       in the cli_list_new().
311     * Fix old smbclient bug where ff_searchcount was being compared 
312       to -1 resulting in processing a filename twice.
313     * Fix segv in smbclient caused by overwriting the last 2 bytes 
314       in cli_list_new().
315     * BUG 2530: Fix potential segv in smbclient when talking to a 
316       Windows 9x file server.
317     * Fix last entry offset in cli_list_new() when using a 
318       FindFirst/FindNext info level of 0x104.
319     * BUG 2501: Stop Win98 from looping doing FindNext on a 
320       singleton directory. 
321     * BUG 2521: Fix error in access checks when user group ACLs.
322       
323       
324 o   Gerald (Jerry) Carter <jerry@samba.org>
325     * BUG 2497: Fix bug in rpcclient's deletedriverex when asking 
326       to delete all versions of a driver.
327     * BUG 2517: use the realm from smb.conf for 'net ads info' when 
328       'disable netbios = yes'.
329     * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
330       shares.  
331     * Update RedHat packaging files to require cups support.  Also
332       remove requirement for 'idmap {uid,gid}' settings in smb.conf
333       from winbindd init script.
334     * BUG 2516: fix compile issue on True64.
335     
336       
337       
338 o   Guenther Deschner <gd@samba.org>
339     * Check for the correct cli-struct when copying files in 'net 
340       rpc printer' routines.
343 o   Herb Lewis <herb@samba.org>
344     * Fix incorrect test in 'net rpc user' when the user is not
345       a member of any groups.
346       
347       
348 o   Jim McDonough <jmcd@us.ibm.com>
349     * Make sure that enum_group_members() searches the correct suffix.
350     
352       --------------------------------------------------
353                    ==============================
354                    Release Notes for Samba 3.0.12
355                             Mar 18, 2005
356                    ==============================
358 Common bugs fixed in 3.0.12 include:
360   o Winbind failures when using 'disable netbios = yes'
361   o Failure to establish a trust relationship via 'net rpc trust 
362     establish'
363   o Various portability & compiler issues.
364   o Read only file deletion failure caused by new delete semantics 
365     in Windows XP SP2 and the MS 04-044 security hotfix.
366   o Error messages from shared Excel workbooks residing on Samba 
367     file shares.
368   o Missing files in the output of smbclient -c 'dir' when run 
369     against Windows file servers.
370   o Inability for Print Administrators to pause/resume/purge print 
371     queues.
373 Additional features introduced in Samba 3.0.12:
375   o Performance enhancements when serving directories containing 
376     large number of files.
377   o MS-DFS support added to smbclient.
378   o More performance improvements when using Samba/OpenLDAP based 
379     DC's via the 'ldapsam:trusted=yes' option.
380   o Support for the Novell NDS universal password when using the
381     ldapsam passdb backend.
382   o New 'net rpc trustdom {add,del}' functionality to eventually 
383     replace 'smbpasswd {-a,-x} -i'.
384   o New libsmbclient functionality.
388 =======================
389 Large Directory Support
390 =======================
392 Samba 3.0.12pre1 introduces a specific mechanism for dealing
393 with file services that frequently contain a large number of files
394 per directory.  Historically Samba's performance has suffered 
395 in such environments due to the translation from case 
396 insensitive lookups by Windows client to the case sensitive
397 storage mechanisms used by UNIX filesystems.
399 Configuration details along with a short HOWTO can be found at:
401 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
404 ==================================
405 libsmbclient Binary Compatibility
406 ==================================
408 Please note that a change has been made to the _SMBCCTX structure 
409 in source/include/libsmbclient.h.  This change is not backwards
410 compatible with applications linked against the libsmbclient.so
411 library from Samba 3.0.11.  However, it is compatible with all 
412 other Samba 3.0.x releases.  This means that it will be most likely
413 be necessary to recompile any applications linked against the 
414 3.0.11 version of the library.
417 ######################################################################
418 Changes
419 #######
421 smb.conf changes
422 ----------------
424     Parameter Name                      Action
425     --------------                      ------
426     allocation roundup size             New
427     log nt token command                New
428     write cache                         Deprecated
430 Changes since 3.0.12rc1
431 -----------------------
434 o   Jeremy Allison <jra@samba.org>
435     * Debug log message cleanups.
436     * Add case insensitive search for a principal match on logon 
437       verification in the system keytab (based on patch by 
438       Michael Brown <mbrown@fensystems.co.uk>).
439     * Revert the previous SMB signing change from Nalin Dahyabhai
440       when using DES keys.
441     * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
442     * Fix FindFirst() server code to deal with resume names of ".."
443       and "." (found by Jim McDonough).
444     * BUG 2451: Fix missing functions in full audit VFS module.
445     * Ensure that smbd logs failures reported by DISK_FREE()
446       (reported by Ying Li <ying.li2@hp.com>).
447     * Ensure that smbclient obeys the max protocol argument again.
448     * BUG 2335: Return correct error code for OS/2 clients (based on
449       negotiated protocol level).
450     * BUG 2460, 2464: remove dead code and unused variables 
451       (reported by Jason Mader).
454 o   Vince Brimhall <vbrimhall@novell.com>
455     * BUG 2453: Change the way pdb_nds.c handles users with no 
456       Universal or Simple Password.
457     * NDS schema file corrections.
460 o   Gerald (Jerry) Carter <jerry@samba.org>
461     * Various small compile fixes and cleanup warnings.
462     * BUG 2456: Fix compile failure on non-gcc platforms due to
463       non-standard pragma.
466 o   Guenther Deschner <gd@samba.org>
467     * Add example perl script to check for multiple LDAP entries
468       after running 'net rpc vampire'.
469     * Add more output when listing printer forms via rpcclient.
470     * Debug log message cleanup.
473 o   William Jojo <jojowil@hvcc.edu>
474     * BUG 2445: Patch to avoid default ACLs on AIX.
477 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
478     * Implement better solution for backwards binary compatibility
479       in libsmbclient while adding new fields to struct _SMBCCTX.
482 o   Mark Loeser <halcy0n@gentoo.org>
483     * BUG 2443: Compile fix for gcc4.
486 o   Jim McDonough <jmcd@us.ibm.com>
487     * BUG 2338: Fix coredump when OS/2 checks for long file name 
488       support (with .+,;=[].) (thanks to Guenter Kukkukk).
491 o   John Terpstra <jht@samba.org>
492     * Add the capability to set account description using pdbedit.
495 o   Doug VanLeuven <roamdad@sonic.net> 
496     * Add more case/realm/name permutations to the kerberos keytab.
497     
498     
499 Changes since 3.0.11
500 --------------------
502 commits
503 -------
504 o   Jeremy Allison <jra@samba.org>
505     * BUG 2146: Return correct allocation sizes so as not to crash 
506       the VC++ compiler.
507     * BUG 962: Ensure that parsing of service names in smb.conf is 
508       multibyte safe.
509     * BUG 2201, 2227: Support new delete semantics used by MS04-044
510       and XP SP2.
511     * BUG 1525: Correctly timestamps interpreted on 64-bit time_t 
512       values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
513     * Add special hooks when serving directories containing large
514       numbers of files.
515     * Ensure that WINS negative name query responses and WACK 
516       packets use the correct RR type of 0xA instead of reflecting 
517       back what the query RR type was (0x20).
518     * BUG 2310: Only do 16-bit normalization on small dfree request.
519     * BUG 2323: Correct authentication failure when using plaintext 
520       passwords from Windows XP clients.
521     * BUG 2146: Add new smb.conf option 'allocation roundup size' to
522       work around issues building MS Visual Studio 6.0 project 
523       on a Samba file share while restoring the pre-3.0.21pre1 
524       behavior by default.
525     * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of 
526       stat when checking for existence of a pathname.
527     * Check the sticky bit on the parent directory for supporting
528       the new WinXP SP2 file deletion semantics.
529     * Various oplock, share mode, and byte range locking fixes
530       found by Connectathon tests.
531     * BUG 2271: Fix resume key issues in trans2FindFirst() client 
532       code.
533     * BUG 2382, 2045: More pending modtime and delayed write fixes
534       for MS Excel (incorporates partial patches from 
535       ke_miyata@itg.hitachi.co.jp).
536       
538 o   Andrew Bartlett <abartlet@samba.org>
539     * Avoid length-limited intermediate copy of NT and LM responses 
540       in NETLOGON client.
541     * Debug message cleanups in the NTLMSSP implementation.
542       
544 o   Manuel Baena <mbaena@lcc.uma.es>
545     * Print actual error message in smbmnt.c:fullpath().
548 o   Vince Brimhall <vbrimhall@novell.com>
549     * Add support for Novell NDS universal password.
550     * BUG 2424: Ensure that uidNumber and gidNumber use match 
551       the RFC2307 schema
552     
553     
554 o   Gerald (Jerry) Carter <jerry@samba.org>
555     * Add trans2 client call for checking dfs referrals
556     * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO) 
557       when checking directories on modern CIFS servers.
558     * Add MS-DFS support to smbclient.
559     * Code cleanup of adt_tree.[ch].
560     * Add missing checks to allow root to manage user rights.
561     * Allow domain admins to manage rights assignments on domain members
562       servers.
563     * BUG 2333: Use the lpq command to pass in the correct printer name 
564       for cups_queue_get().  CUPS backend now sets 'lpq command= %p' as 
565       the default.
566     * BUG 1439: make sure to initialize pointer to prevent invalid 
567       free()'s on exit.
568     * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable 
569       netbios = yes'.
570     * Add cups-devel to BuidlRequires directive in Fedora spec file.
571     * BUG 858: Fix order of popt args evaluation so we don't crash 
572       when given no command line args.
573     * Remove dependency on bash for source/autogen.sh.
574     * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
575     * Implement MS-DFS for recursive directory listings in smbclient.
576     * BUG 2394: Fix nmbd linking issue on IRIX.
577     * Only display the publish check box in the client's printer 
578       properties dialog if we are a member of an AD domain.
579     * BUG 2363: allow 'in use' driver to be removed as long as 
580       one 'Windows NT x86' driver remains.
581     * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for 
582       porting purposes.
583     * Enforce better printer.tdb cache consistency when removing 
584       jobs from a print queue via SMB.
585     * Ensure that pause/resume/purge print queue commands are run
586       with the appropriate level of privilege necessary to actually
587       work.
588     * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
589       for 'printing = cups' installations that do not actually have 
590       libcups.
591     * BUG 2425: Remove incorrect checks for Win98 DFS clients.
592     * BUG 2215: Rewrite questionable code that was causing gcc to 
593       choke.
594     * Add server support for LsaLookupPrivValue().
595       
597 o   Kevin Dalley <kevin@kelphead.org>
598     * BUG 2398: Don't force smbclient to assume a dry run if the 
599       target tarfile is /dev/null.
600       
601       
602 o   Guenther Deschner <gd@samba.org>
603     * Fix crash bug in the client-spoolss enumdataex-call.
604     * Expand the valid-workstation-scheme by expanding names 
605       beginning with a plus (+) as a unix group.
606     * Allow own netbios name to be set in smbclient's session setup.
607     * Better handling of LDAP over IPC connections that have expired 
608       on the LDAP-Server.
609     * Fix pipe-mismatch for NETDFS in cli_dfs.c.
610     * Add examples/misc/adssearch.pl.
611     * BUG 2343: Build fixes.
612     * Support get_user_info_7 in SAMR server RPC.
613     * Fix server_role in the samr_query_dom_info calls. 
616 o   Steve French <sfrench@us.ibm.com>
617     * On failed mount (ENXIO) retry share name in uppercase (fix
618       mount to FastConnect AIX SMB server).
619     * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
620     * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
621       it with a user name.
622     * Update for new CIFS POSIX info levels.
623     * Ignore users mount parm in mount.cifs.
626 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
627     * BUG 1549: Don't truncate service names in smbstatus.
628     
630 o   S Murthy Kambhampaty <smk_va@yahoo.com>
631     * Add idmap_rid module to Fedora and RedHat spec files.      
632       
633       
634 o   Volker Lendecke <vl@samba.org>
635     * BUG 2401: Flush internal getpwnam() cache after deleting a 
636       user.
637     * BUG 1604: Make winbind work with more than 10 trusted domains.
638     * Cleanup various compiler warnings.
639     * Fix a memory leaks in privileges code and passdb backends.
640     * Fixes for samr_lookup_sids() client call.
641     * Optimize _samr_query_groupmem with LDAP backend for large 
642       domains.
643     * Support SIDs as %s replacements in the afs username map 
644       parameter.
645     * Add 'log nt token command' parameter. If set, %s is replaced 
646       with the user sid, and %t takes all the group sids.
647     * Do not use the "Local Unix Group"-default description for 
648       all kinds of group-mappings. 
649     * Fix uninitialized variable in Linux nss_winbind library.
650     * Move 'net afskey' into a subcommand of its own, 'net afs key'.
651     * Implement 'net afs impersonate'.
652     
654 o   Herb Lewis <herb@samba.org>
655     * Fix build problem when HAVE_POSIX_ACL is not defined.
656     * BUG 2417: Add help lines for net rpc group addmem and 
657       delmem commands.
658     
659     
660 o   Jason Mader <jason@ncac.gwu.edu>
661     * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340, 2341, 
662        2342)
663     
664     
665 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
666     * Add support to libsmbclient for getting and setting DOS 
667       attributes using EA functions.
668     * Fix libsmbclient's URL encoding/decoding.
669     * Replace browse listing URI queries with an internal options 
670       structure (previous method violated the SMB URI syntax).
671     * Allow tree connects to be multiplexed over a single CIFS server 
672       connection context.
673     * Ensure that cli_tdis() sets the cnum field to -1 so that callers
674       can determine a dead tree connection.
675     
677 o   Justin Ossevoort <justin@snt.utwente.nl>
678     * BUG 2316: Fix crashes in pdb_pgsql.
679     
680     
681 o   Jim McDonough <jmcd@us.ibm.com>
682     * Fixes for server schannel implementation when 'restrict 
683       anonymous = 1' is set in smb.conf.
684     * Fix bug in server side lookupsids reply that crashed lsass.exe 
685       on Windows clients.
686     * Fix 'net rpc trustdom establish'.
687     * BUG 2062: Turn off broadcast for all 390 NICs.
688     * Fix 'net rpc trustdom add' to correctly add new domain trust 
689       accounts.  This will eventually replace 'smbpasswd -a -i'.
690     * Implement 'net rpc trustdom del', including client side of 
691       samr_remove_sid_from_foreign_domain.
692     * Bring IBM Directory Server schema up to date with openldap 
693       schema.
694     * Allow for better protection of sensitive attributes in IBM
695       Directory Server.
698 o   Stefan Metzmacher <metze@samba.org>    
699     * Fix memleaks in the nttrans code.
701     
702 o   Mike Nix <mnix@wanm.com.au>
703     * Add SMBsplopen and SMBsplclose client calls.
704     
706 o   James Peach <jpeach@sgi.com>
707     * Fixes in string handling code.
708     * Fix oplock2 test in client smbtorture.
709     
710     
711 o   Tim Potter <tpot@samba.org>
712     * Fix up example pdb modules after prototype change for 
713       setsampwent.
714     * BUG 2058: Fix for shared object creation in examples.
715     * BUG 2315: Fix segv in LSA privileges server code.
716     * Build fixes for python wrapper libraries.
719 o   Richard Sharpe <rsharpe@samba.org>
720     * BUG 2044: Fix segv in profiles tool.
721     * Fix bogus error messages when enumerating user group 
722       membership via 'net rpc'.
725 o   Simo Sorce <idra@samba.org>
726     * Debian packaging fixes.
727       
728       
729 o   Doug VanLeuven <roamdad@sonic.net>
730     * AIX compile fixes.
733 o   Jelmer Vernooij <jelmer@samba.org>
734     * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
735     * BUG 1957: Implement minimal update of fields in mySQL pdb 
736       module.
737     
739 o   Torsten Werner <torsten.werner@assyst-intl.com>
740     * BUG 2405: Define 'lpstat' printcap output on HPUX.
741     
743 o   Shlomi Yaakobovich" <Shlomi@exanet.com>
744     * Detect infinite loops when traversing tdbs.
747       --------------------------------------------------
748                    ==============================
749                    Release Notes for Samba 3.0.11
750                              Feb 5, 2005
751                    ==============================
753 Common bugs fixed in 3.0.11 include:
755   o Crash in smbd when using CUPS printing.
756   o Parsing error of other SIDs included in the user_info_3
757     structure returned from domain controllers.
758   o Inefficiencies when searching non-AD LDAP directories.
759   o Failure to expand variables in user domain attributes
760     in tdbsam and ldapsam.
761   o Memory leaks.
762   o Failure to retrieve certain attribute when migrating from 
763     a Windows DC to a Samba DC via 'net rpc vampire'.
764   o Numerous printing bugs bugs including memory 
765     bloating on large/busy print servers.
766   o Compatibility issues with Exchange 5.5 SP4.
767   o sendfile fixes.
769 Additional features introduced in Samba 3.0.11:
771   o Winbindd performance improvements.
772   o More 'net rpc vampire' functionality.
773   o Support for the Windows privilege model to assign rights
774     to specific SIDs.
775   o New administrative options to the 'net rpc' command.
778 ============
779 LDAP Changes
780 ============
782 If "ldap user suffix" or "ldap machine suffix" are defined in
783 smb.conf, all user-accounts must reside below the user suffix,
784 and all machine and inter-domain trust-accounts must be located 
785 below the machine suffix.  Previous Samba releases would fall 
786 back to searching the 'ldap suffix' in some cases.
789 ===============
790 Privilege Model
791 ===============
793 Samba 3.0.11 supports the following assignable rights
795 SeMachineAccountPrivilege  Add machines to domain
796 SePrintOperatorPrivilege   Manage printers
797 SeAddUsersPrivilege        Add users and groups to the domain
798 SeRemoteShutdownPrivilege  Force shutdown from a remote system
799 SeDiskOperatorPrivilege    Manage disk shares
801 These rights can be assigned to arbitrary users or groups
802 via the 'net rpc rights grant/revoke' command.  More details
803 of Samba's privilege implementation can be found in the 
804 Samba-HOWTO-Collection.
805     
807 ######################################################################
808 Changes
809 #######
811 Changes since 3.0.10
812 --------------------
814 smb.conf changes
815 ----------------
817     Parameter Name                      Action
818     --------------                      ------
819     afs token lifetime                  New
820     enable privileges                   New
821     ldap password sync                  Alias
822     min password length                 Deprecated
823     winbind enable local accounts       Deprecated
826 commits
827 -------
828 o   Jeremy Allison <jra@samba.org>
829     * Extend vfs to add seekdir/telldir/rewinddir.
830     * Fix dirent return.
831     * Fix bugs when handling secondary trans2 requests.
832     * Implementation of get posix acls in UNIX extensions.
833     * Added set posix acl functionality into the UNIX extensions code.
834     * Updated config.guess/config.sub .
835     * Fix error reply when 'follow symlinks = no'.
836     * BUG 1061, 2045: Only set mtime from pending_modtime if it's 
837       not already zero.
838     * Fixes for LARGE_READX support.
839     * Fix the problem we get on Linux where sendfile fails, but we've
840       already sent the header using send().
841     * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl 
842       inherit = no'.
843     * BUG 2088: Ensure inherit permissions is only applied on a new 
844       file, not an existing one.
845     * Don't go fishing for the krb5 authorization data unless we know
846       it's there.
847     * Fixes for libsmbclient to ensure that interrupted system calls
848       are restarted minus the already expired portion of the timeout
849       (based on work by Derrell Lipman).
850     * More Unicode string parsing fixes.
851     * Convert the winreg pipe to use WERROR returns.
852     * Make all LDAP timeouts consistent (input from Joe Meadows 
853       <jameadows@webopolis.com>).
854     * BUG 2231: Remove double "\\" from client findfirst.
855     * BUG 2238: Fix memory leak in shadow copy vfs.
856     * Return correct DOS/NT error code on transact named pipe on 
857       closed pipe handle.
858     * BUG 2211: Fix security descriptor parsing bug (based on work by 
859       Mrinal Kalakrishnan <mail@mrinal.net>).
860     * BUG 2270: Fix memory leaks in cups printing backend support 
861       (based on work by Lars Mueller).
862     * BUG 2255: Fix debug level in kerberos error messages.
863     * BUG 2110: Ensure we convert to ucs2 correctly after the 
864       CAN-2004-0930 patch.
865     * Make strict locking an enum. Auto means use oplock optimization.
866     * Fix client  & server to allow 127k READX calls.
867     * More *alloc fixes (includes additional fixes by Albert Chin.
868     * Catch sendfile errors correctly and return the correct values 
869       we want the caller to return.
870     * BUG 2092: Prevent auto-anonymous logins via libsmbclient 
871       for better use by desktop environments such as GNOME.
872     * Ensure we can't remove a level II oplock without having the
873       shared memory area locked.
874             
876 o   Timur Bakeyev <timur@com.bat.ru>
877     * BUG 2100: change the way we check for errors after a dlopen().
878     * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
879     
880     
881 o   Andrew Bartlett <abartlet@samba.org>
882     * Clarify error message when 'lanman auth = no'.
883     * Remove the unnecessary UTF-8 conversion calls in the calls to
884       auth_winbind from smbd.
885     * Don't store the auth-user credentials with the cli_state* as 
886       this can cause the schannel setup to fail when the auth-user
887       domain is not our primary domain.
890 o   Grigory Batalov <bga@altlinux.org>
891     * Fix encoding while receiving of a message which was actually 
892       sent using STR_ASCII.
895 o   Daniel Beschorner <db@unit-netz.de>
896     * BUG 603: Correct access mask check for _samr_lookup_domain()
897       to work with Windows RAS server
900 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
901     * Fix missing printer_tdb reference decrement.
902     
904 o   Gerald (Jerry) Carter <jerry@samba.org>
905     * BUG 2073: fall back to smb_name if current_user_info is not
906       available in lp_file_list_changed().
907     * Fixes the spurious 'register_message_flags: tdb fetch failed' 
908       errors.
909     * Don't run the background LPQ daemon when we are running in
910       interactive mode.
911     * prevent the background LPQ daemon from updating the print queue
912       cache just because multiple smbd processes sent a message that
913       it was out of date.
914     * consolidate printer searches to use find_service rather than 
915       for(...) loops.
916     * BUG 2091: don't remove statically defined printers in 
917       remove_stale_printers().
918     * Fix logic error in add_a_form() that only compared N characters 
919       instead of the entire form name.
920     * BUG 2107: fix memory bloating caused by large numbers of 
921       print_queue_updates() requests sent via messages.tdb.
922     * Check the setprinter(3) based on the access permissions on 
923       the handle and avoid the call to print_access_check().
924     * Re-instantiate previous semantics for calling init_unistr2() 
925       with a NULL source buffer.
926     * Support Windows privilege model for assigning rights
927       to specific SIDs.  Based on work by Simo Sorce in the trunk 
928       svn branch.  This feature is controlled by the 'enable 
929       privileges = [yes|no]' smb.conf(5) option.
930     * Add some smb.conf scripts for add/delete/change shares and 
931       deleting cups printers.
932     * Expand variables in the profile path, logon home and logon script 
933       values when using either tdbsam or ldapsam.
934     * Add Domain Admins (Full Control) to the default printer security 
935       descriptor if we are a DC.
936     * RedHat and Fedora Packaging fixes for perl dependencies.
937     * Remove unused schema items from OpenLDAP schema file.
938     * Remove duplicate enumeration of "Windows x86" architecture
939       when listing printer drivers via rpcclient.
940     * Fail set_privileges() if 'enable privileges = no' to prevent 
941       confused admins.
942     * Fix segfault in cups_queue_get().
943     * Tighten restrictions on changing user passwords when 
944       the connected user possesses the SeMachineAccountPrivilege.
945     * Ensure we set NETBIOSNAME.domainname for the long machine name
946       when publishing printers in AD (based on input from Rob Foehl).
947     * Mark 'winbind enable local accounts' as deprecated.
948     * Mark testprns tool as deprecated.
949     * Allow root to grant/revoke privilege assignments.
950     * Correct interaction between user rights and se_access_check() on
951       SAMR objects.
952     * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object 
953       class.
954     * BUG 2262: Add support in configure.in for *freebsd6*.
955     * BUG 2266: Portability fixes for quota code on FreeBSD4.
956     * BUG 2264: Remove shutdown and abortshutdown commands from 
957       rpcclient in favor of using the same functions in 'net'.
958     * BUG 2295: Prevent smbd from returning an empty server name
959       in certain lanman api calls.
960     * BUG 2290: Fix autogen.sh script in examples (based on original
961       patch from Lars Mueller).
962     * Fix bug enumerating domain trusts in security = ads.
963     * Fix segv in rpcclient's dsenumdomtrusts.
964     * Fix bug in expansion of %U and %G in included filenames.
965     * BUG 2291: Restrict creation of server trust and domain trust
966       accounts to members of the "Domain Admins" group.
968 o   Nadav Danieli <nadavd@exanet.com>
969     * Short circuit some is_locked() tests if we are oplocked.
970     
971     
972 o   Guenther Deschner <gd@samba.org>
973     * Allow 'localhost' as a valid server name in the smbd for the
974       spoolss calls.
975     * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
976       Mewburn for the input).
977     * BUG 2059: Add additional checks needed after logic change to the
978       HAVE_WRFILE_KEYTAB detection test.
979     * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a 
980       Samba DC.  Allow us to lookup at least our own SID.
981     * More fixes to have proper German in swat (Thanks to Reiner 
982       Klaproth and Björn Jacke.
983     * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while 
984       setting security descriptors with smbcacls and using with 
985       the -S or -M switch. 
986     * Include the munged_dial, bad_password_count, logon_count, and 
987       logon_hours attributes when running 'net rpc vampire'.
988     * Fix segfault in idmap_rid.
989     * When winbindd is operating in the multi-mapping mode of 
990       idmap_rid, allow BUILTIN domain-mapping.
991     * Display infolevel 12 in query_dom_info in rpcclient.
992     * Fix bug in winbindd's lowercasing of usernames.
993     * Allow -v or -l for displaying verbose groupmap-listing 
994       as well as "verbose".
995     * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc 
996       vampire'.
997     * Close LDAP-Connection before retrying to open a new connection 
998       in the retry-loop.
999     * Marking "min password length" as depreciated.  
1000     * Implement SAMR query_dom_info-call info-level 8 server- and 
1001       client-side, based on samba4-idl.
1002     * Allow rpcclient to define a port to use when connecting 
1003       to a remote server.
1004     * Allow Account Lockout with Lockout Duration "forever" (until 
1005       admin unlocks) to be set and displayed in User Manager.
1006     * Allow to set acb_mask in rpcclient's enumdomusers.
1007     * Add more generic rootDSE inspection function to check 
1008       for given controls or extensions and remember these on a 
1009       per server basis.
1010     * Improve LDAP search efficiency by passing the acb_mask to 
1011       pdb_setsampwent().
1012     * Fixes for ldapsam_enum_group_memberships().
1013     * Add createdomgroup to rpcclient.
1014     * Add "net rpc user RENAME"-command.
1015     * Display sam_user_info_7 in rpcclient.
1016     * Make multi-domain-mode in idmap_rid accessible from outside 
1017       (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
1018     * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor 
1019       "Lockout Duration: Forever".
1020     * Fix configure.in tests using KRB5_CONFIG variable and krb5-
1021       config utility.
1022     * Require assignment of Administrator SID in the passdb 
1023       backend.  Fall back to the default name of 'Administrator' if
1024       the lookup fails rather than using the first name in the
1025       default 'admin users' list.
1026     * Enhance LDAP failure debug messages.
1027     * BUG 2291: Call the 'add machine script' for server trust and 
1028       domain trust accounts as well as workstation accounts.
1029     
1030     
1031 o   Levente Farkas <lfarkas@lfarkas.org>
1032     * BUG 2299: Better logrotate scripts for RedHat and Fedora 
1033       packages.
1036 o   Jay Fenlason <fenlason@redhat.com>
1037     * Fix crash in 'net join' due to calling free on 
1038       static buffers.
1039     * Several patches from RedHat's Fedora Core RPMS.
1042 o   Rob Foehl <rwf@loonybin.net>.
1043     * Compiler warnings.
1044     * Try modifying printer published attributes before adding it a
1045       new entry in AD.
1046     * Solaris packaging fixes.
1047     * Don't force the cups printer-make-and-model tag as the comment
1048       for autoloaded printers.
1049     * Implement caching of names from printcap to support a true
1050       'printcap cache time'.
1053 o   Johann Hanne <jhml@gmx.net>
1054     * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
1057 o   Jeff Hardy <hardyjm@potsdam.edu>
1058     * Example script for 'add print command' when using CUPS.
1061 o   Deryck Hodge <deryck@samba.org>
1062     * Add -P (--password-only-menu) to SWAT for displaying only the
1063       password change page to non-root users.
1066 o   David Hu <david.hu@hp.com>
1067     * Copy structure from print_queue_update() message rather than 
1068       referencing it.  Fixes seg fault on HP-UX.
1069       
1070       
1071 o   Buck Huppmann <buckh@pobox.com>
1072     * BUG 2186: Don't free uninitialized credentials.
1073     * BUG 2189: Add the HOST/fqdn servicePrincipalName even when 
1074       dnsDomainName != realm.
1075    
1077 o   Björn Jacke <bjoern@j3e.de>
1078     * BUG 2040: Ensure the locale is reset to C to get ASCII-
1079       compatible toupper/lower functions.
1082 o   William Jojo <jojowil@hvcc.edu>
1083     * Fix HPUX sendfile and add configure.in tests and code for
1084       sendfile on AIX.
1085     * AIX 5.3 compile fixes.
1088 o   Volker Lendecke <vl@samba.org>
1089     * Optimize anonymous session setups by workstations in a 
1090       Samba domain.
1091     * Reimplment the QueryUserAliases() server RPC reply.
1092     * Re-add the getpwnam-cache for performance.
1093     * Cache the result of a pdb_getsampwnam for later SID lookup 
1094       queries.
1095     * Unify the means of localtaing a user's global groups on a 
1096       Samba DC.
1097     * Fix bug when serving the 'Start Menu' in a roaming user profile..
1098     * Map more pre-defined NT security descriptors to AFS acls.
1099     * Add timeout to AD search requests.
1100     * If a connection to a DC is requested (in winbindd), open
1101       connections simultaneously to all DCs found.
1102     * Memleak fixes.
1103     * Fix logic error in handling of 'printcap name' parameter.
1104     * Prevent winbindd from SPAM'ing the log files with 'user root 
1105       does not exist'.
1106     * Backport samr_DomInfo2 IDL specification from Samba 4.
1107     * Implement smbstatus -n, don't lookup users and groups.
1108     * Implement simple mapping that maps the space to another character 
1109       defined by afsacl:space.
1110     * Add support for 'net idmap delete <idmap-file> <SID>'.
1111     * Add new parameter 'afs token lifetime' tells the AFS client 
1112       when to throw away a token (patch from kllin@it.su.se).
1113     * Initial work to allow support for multiple pipe opens on a 
1114       single cli_state*.
1115     * Ensure that we still retrieve the netbios name of any DC 
1116       listed as a 'password server' to work around cases where the 
1117       DC was defined using an IP address or fqdn.
1118     * Fix memleak in winbindd connection code.
1119     * Fix cli_samr_queryuseraliases.
1120     * Allow wbinfo --user-sids to expand expand domain local groups.
1121     * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
1122     * Fix parsing of other_sids in net_user_info3.
1123     * Correct bad failure logic when user was not a member of any 
1124       domain local groups.
1125     
1127 o   Jason Mader <jason@ncac.gwu.edu>
1128     * BUG 2113, 2289: Remove dead code.
1131 o   Jim McDonough <jmcd@us.ibm.com>
1132     * BUG 1952: Try INITSHUTDOWN pipe first, used by newer 
1133       clients.  If it fails, fall back to WINREG.
1134     * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
1135     * BUG 2198: Set password last change time when running 'net rpc 
1136       vampire'.
1137     * Add "refuse machine password change" policy field.
1140 o   Luke Mewburn <lukem@NetBSD.org>
1141     * BUG 2150: shmget() - Use POSIX definitions instead of non-
1142       standard SHM_.
1143       
1145 o   Stefan Metzmacher <metze@samba.org>    
1146     * autogen.sh fixes.
1149 o   Buchan Milne <bgmilne@mandrake.org>
1150     * Mandrake packaging fixes.
1153 o   Lars Mueller <lmuelle@suse.de>
1154     * Fix build of libsmbclient on x86_64.
1155     * BUG 2013: Fix testsuite build issues when libsmbclient.so 
1156       is installed in a non-default location.
1157     * BUG 2050: Calculate max_fd for select correctly.
1158     * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf 
1159       script.
1162 o   Jason Mader <jason@ncac.gwu.edu>
1163     * BUG 2069: Remove unused variables.
1164     * BUG 2075: Remove dead code paths.
1165     * BUG 2083: Fix compiler warnings caused by bad type casts.
1168 o   James Peach <jpeach@sgi.com>
1169     * Fix rewinddir -> rewind_dir when using VFS macros.
1170     
1172 o   Gavrie Philipson <gavrie@disksites.com>
1173     * BUG 1838: Remove stale printers imeeddiately when 
1174       processing a SIGHUP and during smb.conf reload.
1176       
1177 o   Tim Potter <tpot@samba.org>
1178     * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
1179     * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
1180     * Change the license for the winbindd external interface 
1181       more liberal.
1182     * HP-UX compile fixes.
1183     * Compile fixes after new setsampwent() API.
1186 o   Richard Renard <rrenard@idealx.com>
1187     * Update Netscape DS 5.2 LDAP schema.
1190 o   Simo Sorce <idra@samba.org>
1191     * Backport pdbedit changes from trunk.
1192     * Allows the add/change share command to create the shared 
1193       directory directory on disk.
1194     * Log a warning in testparm if a print command is defined for
1195       a print service using 'printing = cups'.
1196      
1197 o   Jelmer Vernooij <jelmer@samba.org>
1198     * Bug fixes for pdb_{xml,pqsql,xml}
1199     * Fixes for pdb_mysql.
1202 o   Andrew Tridgell <tridge@samba.org>
1203     * Bring Samba3 into line with the Samba4 password change code.
1204     
1206 o   Shiro Yamada <shiro@miraclelinux.com>
1207     * BUG 2190: Force SWAT to display parameters in unix charset and 
1208       not UTF-8.
1211       --------------------------------------------------
1212                    ==============================
1213                    Release Notes for Samba 3.0.10
1214                              Dec 16, 2004
1215                    ==============================
1217 Common bugs fixed in 3.0.10 include:
1219   o Fix for security issues described in CAN-2004-1154.
1222 Changes since 3.0.9
1223 -------------------
1225 commits
1226 -------
1228 o   Jeremy Allison <jra@samba.org>
1229     * Added checks surrounding all *alloc() calls to fix
1230       CAN-2004-1154.
1231     * Fix long standing memory size bug in bitmap_allocate().
1232     * Remove bogus error check in deferred open file serving 
1233       code.
1236 o   Thomas Bork <tombork@web.de>
1237     * Fix autoconf script on platforms using a version of GNU ld
1238       that does not include a date stamp in the output of --version.
1241 o   Luke Mewburn <lukem@NetBSD.org>
1242     * Fix the swat install script to deal with the new image
1243       destination directory used by the docs.
1244      
1247       --------------------------------------------------
1249                    =============================
1250                    Release Notes for Samba 3.0.9
1251                              Nov 15, 2004
1252                    =============================
1254 Common bugs fixed in 3.0.9 include:
1256   o Problem updating roaming user profiles.
1257   o Crash in smbd when printing from a Windows 9x client.
1258   o Unresolved symbols in libsmbclient which caused
1259     applications such as KDE's konqueror to fail when
1260     accessing smb:// URLs.
1263 Changes since 3.0.8
1264 -------------------
1267 commits
1268 -------
1270 o   Jeremy Allison <jra@samba.org>
1271     * Correctly detect errno for no acl/ea support.
1272     * BUG 2036: Fix seg fault in 'net ads join'.
1274     
1275 o   Gerald (Jerry) Carter <jerry@samba.org>
1276     * Solaris packaging fixes.
1277     * Fix seg fault in lanman printing code.
1278     * BUG 2017: fix testparm reporting for the passwd program 
1279       string.
1280     * Fix output of smbstatus to match the man page.
1281     * BUG 2027: fix conflict with declaration MD5_CTX in system 
1282       headers.
1283     * 2028: Avoid false error messages when copying a long 
1284       printer name to the device mode.
1287 o   Guenther Deschner <gd@samba.org> 
1288     * Allow deldriverex in rpcclient to delete drivers for a 
1289       specific architecture and a specific version.
1290     * Fix a couple of rpcclient spoolss commands (setprinter, 
1291       setprintername, getdriver) w.r.t to printer-naming scheme.
1292       Allow 'localhost' in the server string for certain server-side
1293       spoolss functions.
1294     * BUG 2015: Do not fail on setting file attributes with 
1295       acl support enabled.
1298 o   Michel Gravey <michel.gravey@optogone.com>
1299     * Fix build when using gcc 3.0.
1302 o   Volker Lendecke <vl@samba.org>
1303     * Fix tdb open logic when checking our local_pid after 
1304       the fork().
1307 o   Jim McDonough <jmcd@us.ibm.com>
1308     * BUG 1932: Fix crash in 'net getlocalsid' when run as 
1309       non-root user.
1312 o   Luke Mewburn <lukem@NetBSD.org>
1313     BUG 1661: Fix KRB5_SETPW-defines
1316 o   Buchan Milne <bgmilne@mandrake.org> 
1317     * BUG 2023: Mandrake packaging fixes for building 3.0.9.
1320 o   Lars Müller <lmuelle@suse.de>
1321     * BUG 2013: Fix unresolved symbols in libsmbclient.so.
1324 o   Martin Zielinski <mz@seh.de>
1325     * Add DeletePrinterDriverEx() functionality to rpcclient.
1326     
1328       --------------------------------------------------
1330                    =============================
1331                    Release Notes for Samba 3.0.8
1332                              Nov 7, 2004
1333                    =============================
1335 Common bugs fixed in 3.0.8 include:
1337   o Compile fixes for HP-UX
1338   o Fixes for the printer publishing code used when joined to 
1339     an AD domain.
1340   o Incompatibilities with file system quotas.
1341   o Several bugs in the spoolss printing code and print system 
1342     backends.
1343   o Inconsistencies in the username map functionality when 
1344     configured on domain member servers.
1345   o Various compile warnings and errors on various platforms.
1346   o Fixes for kerberos interoperability with Windows 200x 
1347     domains when using DES keys.
1348   o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
1349   o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
1351     
1352 New features included in the 3.0.8 release are:
1354   o New migration functionality added the the net tool
1355     for files/directories, printers, and shares.
1356   o New experimental idmap backend for assigning uids/gids
1357     directly based on the user/group RID when acting as a
1358     member of single domain without any trusts.
1359   o Additional printer migration support for XP/2003 platforms.
1362 ===========================
1363 Change in Winbindd Behavior
1364 ===========================
1366 All usernames returned by winbindd are now converted to lower 
1367 case for better consistency.  This means any winbind installation
1368 relying on the winbind username will need to rename existing 
1369 directories and/or files based on the username (%u and %U) to lower 
1370 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may 
1371 include mail spool files, home directories, valid user lines in 
1372 smb.conf, etc....
1375 ======================
1376 Change in Username Map
1377 ======================
1379 Previous Samba releases would only support reading the fully qualified 
1380 username (e.g. DOMAIN\user) from the username map when performing a 
1381 kerberos login from a client.  However, when looking up a map 
1382 entry for a user authenticated by NTLM[SSP], only the login name would be
1383 used for matches.  This resulted in inconsistent behavior sometimes
1384 even on the same server.
1386 Samba 3.0.8 obeys the following rules when applying the username
1387 map functionality:
1389   * When performing local authentication, the username map is 
1390     applied to the login name before attempting to authenticate 
1391     the connection.
1392   * When relying upon a external domain controller for validating
1393     authentication requests, smbd will apply the username map 
1394     to the fully qualified username (i.e. DOMAIN\user) only
1395     after the user has been successfully authenticated.
1398 ######################################################################
1399 Changes
1400 #######
1402 Changes since 3.0.7
1403 -------------------
1405 smb.conf changes
1406 ----------------
1407     Parameter Name                      Action
1408     --------------                      ------
1409     force printername                   New
1410     sendfile                            disabled by default
1413 commits
1414 -------
1416 o   Jeremy Allison <jra@samba.org>
1417     * Ensure extended security bit is on only if we negotiated 
1418       extended security.
1419     * Simplify statcache to use an in-memory tdb. 
1420     * If you're selecting a hash algorithm for tdb, you need 
1421       to do it at open time.
1422     * Removed old dir caching code - not being used now we 
1423       have the statcache anyway.
1424     * Simplify the mangle hash code to use an in-memory tdb.
1425     * Merge iconv changes from Samba 4 branch.
1426     * Fix parsing of names ending in dot and a few other error 
1427       returns.
1428     * BUG 1667: Smbpasswd file could be left locked on some 
1429       error exits.
1430     * Fixes for smbclient tar functionality.
1431     * BUG 1743: Fix logic bug the deferred open code.
1432     * Don't try to set security descriptors on shares where 
1433       this has been turned off.
1434     * Return correct error codes on old SEARCH call.
1435     * Ensure we set errno = E2BIG when we overflow in the 
1436       fast-path character conversion code.
1437     * Fix the roundup problem (returning 1mb roundup) for 
1438       non-Windows clients.
1439     * Added 'stat' command to smbclient to exercise the 
1440       UNIX_FILE_BASIC info level.
1441     * Fix bug where we could incorrectly set sparse attribute.
1442     * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
1443       (reported by Taj Khattra <taj.khattra@gmail.com>).
1444     * Remove locked keys tdb code.
1445     * BUG 1886: Prevent delete on close being set for readonly files 
1446       (and return the correct error code).
1447     * Ensure we pass most of the new lock tests except for the cancel 
1448       lock which is yet to be added (merged from Samba 4 branch).
1449     * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
1450     * BUG 1956: Ensure errno is saved and restored consistently on a 
1451       normal_close.
1452     * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring 
1453       that all of the appropriate service principal names are set 
1454       upon joining an AD domain.
1455     * Fix the correct use of resume name in the trans2 code.
1456     * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
1457       correct salt used when generated the DES key after joining an 
1458       AD domain.
1459     * Enhanced krb5 detection routines in the autoconf scripts.
1460   
1462 o   Andrew Bartlett <abartlet@samba.org>
1463     * Avoid changing the machine account password in the passdb 
1464       backend, when it has 'already been changed'.  This occurs 
1465       in situations where the secure channel between the workstation 
1466       and the DC breaks down, such as occurred in the MS04-11 
1467       security patch.
1468     * Fix utility name in error message in ntlm_auth.
1469     * Fix NTLMv2 for use with pam_winbind.
1470     * Remove conversion to and from UTF8 on the winbind pipe.
1471     * Allow 'require_membership_of' and 'require-membership-of'.
1472     * Fix the error code for 'you didn't specify a domain' in 
1473       ntlm_auth.
1474     * Use sys_getgroups() rather than scanning all groups 
1475       when generating SAMR replies.
1478 o   Igor Belyi <sambauser@katehok.ac93.org>
1479     * Ensure pdb user is deleted first before deleting UNIX 
1480       user (LDAP backend needs this ordering).
1483 o   Cornelio Bondad Jr <Corny.Bondad@hp.com>
1484     * Fix core dump in 'net rpc vampire'.
1485     
1487 o   Vince Brimhall <vbrimhall@novell.com>
1488     * Make ldapsam_compat robust against NULL attributes.
1491 o   Gerald Carter <jerry@samba.org>
1492     * Don't limit the number of groups returned by winbindd_getgroups()
1493       by NGROUPS_MAX.
1494     * BUG 1519: Match Windows 2000 behavior when opening a 
1495       printer using a servername in the form of an IP address or 
1496       DNS name.
1497     * BUG 1907: remove extra slashes from the printer name in 
1498       getprinterdriverdir_1().  
1499     * Fix standard_sub_snum() to use the current user's gid.
1500     * Fix background queue update bug (based on Volker's initial work 
1501       in 3.1.0).
1502     * Add 'force printername' service parameter for people that want 
1503       to enforce printername == sharename for spoolss printing.
1504     * Ensure consistent usage of the username map.  Use the fully 
1505       qualified DOMAIN\user format for 'security = domain|ads' and 
1506       apply after authentication has succeeded.
1507     * Cosmetic fix for getent output -- lowercase the username only 
1508       and not the complete domain\username string.
1509     * Packaging fixes for Solaris, Redhat, & Fedora.
1511     
1512 o   Sean Chandler <sean.chandler@verizon.net>
1513     * Fix memlieak in cliconnect.c.
1516 o   Darren Chew <darrenc@vicscouts.asn.au>
1517     * Solaris packaging fixes.
1518     
1520 o   Nalin Dahyabhai <nalin@redhat.com>
1521     * SMB signing fix for 56-bit DES session keys.
1524 o   Guenther Deschner <gd@samba.org> 
1525     * add IA64 to the architecture table of printer-drivers.
1526     * Add file/share/printer migration functionality to 
1527       the net command.
1528     * Show correct help for net groupmap commands.
1529     * Fix deadlock loop in winbind's required_membership_sid
1530       verification.
1531     * Bring the same level of "required_membership"-functionality 
1532       that ntlm_auth uses, to pam_winbindd as well.
1533     * Prevent "net lookup kdc" from seg-faulting when
1534       using our own implementation of krb5_lookup_kdc with 
1535       heimdal.
1536     * Adding getprinter level 7 to rpcclient.
1537     * Support migrating printers|shares|files from Server A 
1538       to Server B while running the net-command on client C.
1539     * Fixed krb5_krbhost_get_addrinfo()-parameters and make 
1540       failure of this call non-critical (Thanks to Love @ Heimdal
1541       for the explanation and patch).
1542     * Fix typos in net's usage-output.
1543     * Fix the paranoia-check to ensure the ldap-attribute and the
1544       smb.conf-parameter for samba's "algorithmic rid base" in ldapsam 
1545       are identical.
1546     * Fix several bugs in the _samr_query_useraliases() rpc reply.
1547     * Check correct string length when verifying password-policies 
1548       and using extended characters (Thanks to Uwe Morgenroth from CC 
1549       Compunet and Volker).
1550     * Make 'password history'-behavior in ldapsam more consistent. 
1551     * Adding "Windows x64" as architecture string and driverdir "x64" 
1552       for the 64bit AMD platform.
1553     * BUG 1343: Readd WKGUID-binding to match the correct default-
1554       locations of new User-, Group- and Machine-Accounts in Active 
1555       Directory (this got lost during the last trunk-merge).
1556     * Fix printer-migration w.r.t. to new naming-convention for
1557       policy-handles.
1558     * Allow to migrate win2k3/xp-drivers as well. 
1559     * Add client-side support of triggering ads printer publishing 
1560       over msrpc setprinter calls inside the net-tool. 
1561     * Add the idmap_rid module (written in conjunction with 
1562       Sumit Bose <sbose@suse.de>).
1563     * BUG 1661: Fix build with recent heimdal releases.
1564     * Prevent idmap_rid from making unnecessary calls to domain 
1565       controllers for trusted domains.
1568 o   Arthur van Dongen <avdongen@xs4all.nl>
1569     * Fix typos in pam_winbind log messages and SuSE 
1570       packaging files.
1573 o   Rob Foehl <rwf@loonybin.net>
1574     * Typo fixes for log messages in printer publishing code.
1575     * Fix memory leak in printer publishing code.
1576     * Ensure print_backend_init() only gets called once.
1577     * Have smbd check the published status of all printers 
1578       at startup.
1579     * Cleanup up the XXX_a_printer() API for consistency.
1580     * Refactored the printer publishing code and include better 
1581       error handling.
1584 o   Steve French <sfrench@us.ibm.com>
1585     * Fix IP address override in mount.cifs mount helper and clean 
1586       up warning messages from the sparse tool and expand syntax help.
1587     * Strip guest mount option off before sending to kernel mount 
1588       routine to avoid logging spurious message.
1591 o   Satoh Fumiyasu <fumiya@samba.gr.jp>
1592     * BUG 1732: Limit share names returned by RAP based on windows 
1593       character width, not unix character width.
1594     * BUG 1498: Ensure that acl entries are stored in the correct 
1595       order.
1598 o   Brett Funderburg <brett@deepfile.com>
1599     * Pass create options parameter to nt_create_andx() function
1600       from the python bindings.
1601     * BUG 1864: Add sd->type field to security descriptor Python 
1602       representation.
1603     * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
1604       when trying to return the security descriptor for a file.
1605     * BUG 1884: Fixes for the Python bindings to use the value
1606       of the desired_access filed passed into the lsa_open_policy()
1607       routines.
1610 o   Michael Gravey <michel.gravey@optogone.com>
1611     * BUG 1776: Fix warnings when building modules caused by 
1612       certain versions of GNU ld not using the the default 
1613       --allow-shlib-undefined flag.
1616 o   Chris Hertel <crh@samba.org>
1617     * Fix logic bug in splay tree data structure when finding 
1618       a leaf node.
1619     * Fix bug where an invalid MAC address would be printed by 
1620       a node status lookup from nmblookup.
1622       
1623 o   Uli Iske <iske@elkb.de>
1624     * Update the DNS/eDirectory LDAP schema file.
1627 o   Björn Jacke <bjacke@sernet.de>
1628     * BUG 1766: Unify charset-handling in Content-Type:-headers to 
1629       UTF-8.  Reformat msgstr in msg-files to UTF-8.
1630     * Do not use display charset for swat output.
1631     * Convert the share names correctly from unix encoding to web 
1632       encoding and vice versa. 
1633     * Convert files from status page from unix charset to UTF-8.
1636 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
1637     * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
1640 o   Tom Lackemann <cessnatomny@yahoo.com>
1641     * BUG 1954: Fix memory leak in posix acl code.
1644 o   Volker Lendecke <vl@samba.org>
1645     * Robustnss fix for winbindd when sending multiple requests 
1646       at a high rate for a slow operation.  
1647     * Solve the problem of user sids ending up with gid's 
1648       and vice versa.
1649     * Use sys_fork instead of fork for the dual daemon so that 
1650       we get the correct debug pid in the logfiles.
1651     * Based on patch from jmcd, implement special lists for the LDAP 
1652       user attributes to delete.
1653     * Fix creation of aliases via usrmgr. Winbind was too strict 
1654       checking the type of sids.
1655     * Lowercase all usernames returned by winbind.
1656     * BUG 1545, 1823: Only issue the ldap extended password change 
1657       operation if the ldap server supports it.  Also ignore object 
1658       class violation errors from the extended operation.
1659     * Optimization for 'idmap backend = ldap': When asking sid2id 
1660       for the wrong type, don't ask ldap when we have the opposite mapping 
1661       in the local tdb.
1662     * Fix ldapsam_compat homeDrive.
1663     * Add usersidlist and allowedusers subcommands to the net tool
1664       in order to support scanning a file server's share and list 
1665       all users who have permission to connect there.
1666     * Allow for multiple DC's to be named as #1c names in lmhosts.
1667     * Memory leak fixes.
1668     * Fix checks for the local pid of an smbd process after 
1669       reopening tdbs.
1672 o   Herb Lewis <herb@samba.org>
1673     * Added tdbtool to be built by default.
1676 o   Love <lha@stacken.kth.se>
1677     * BUG 1955: Inconsistent error return.
1680 o   Sorin Manolache <sorinm@gmail.com>
1681     * Memory leak fix.
1684 o   Jim McDonough <jmcd@us.ibm.com>
1685     * Allow 'net ads lookup' to rely on command line arguments 
1686       if contacting an ADS server fails; utilize cldap for lookups.
1687     * Fixup formatting errors in TDB_LOG calls; add printf attribute
1688       support to tdb log functions.
1691 o   Bill McGonigle <bill+samba@bfccomputing.com>
1692     * BUG 1926: Type in debug message.
1695 o   Sean McGrath
1696     * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
1697       for libsmbclient.
1700 o   Luke Mewburn <lukem@NetBSD.org>
1701     * BUG 1782: Prevent testparm from displaying parameter synonyms.
1704 o   Stefan Metzmacher <metze@samba.org>    
1705     * Fix crash in smbcquotas and smbcacls caused by setup_logging().
1706     * Fix client quota support.
1707     * Fix opening of system quota file.
1710 o   Lars Mueller <lmuelle@suse.de>
1711     * Small fixes for autogen.sh to deal with version detection 
1712       of autoconf and autoheader; fixes for examples using 
1713       libtool to adhere to stricter syntax of newer version.
1716 o   Henrik Nordstrom <hno@squid-cache.org>
1717     * Allow winbindd to return the correct number of groups 
1718       when the groups array must be enlarged.
1721 o   Narayana Pattipati <narayana.pattipati@wipro.com>
1722     * Solaris autoconf detection fixes.
1725 o   Tim Potter <tpot@samba.org>
1726     * BUG 1360: (correct fix) Use -Wl when passing flags to 
1727       the linker.
1728     * HP-UX compile fixes (from JBravo on #samba-technical).
1729     * BUG 1731: More HP-UX compiles fixes.
1730     * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2 
1731       spits the dummy otherwise.
1732     * Fix bug in Python printerdata wrapper.
1733     * BUG 1762: nss_winbind fixes on AIX 5.x (patch from 
1734       <bugzilla-samba@thewrittenword.com>).
1735     * Fix parameter confusion in priming of name-to-sid cache
1736       (Found by Qiao Yang).
1737     * BUG 1888: Remove '..' from all pre-processor commands.
1738     * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef 
1739       DEBUG_PASSWORD.
1742 o   Matt Selsky <selsky@columbia.edu>
1743     * BUG 350: use autoconf 2.57 feature for checking header file
1744       preprocessing (fixes configure warnings on Solaris).
1747 o   Richard Renard <rrenard@idealx.com>
1748     * Fix usermgr.exe and trust relationships.
1751 o   Paul Szabo <psz@maths.usyd.edu.au>
1752     * Fix to make find_workgroup use the same 
1753       truncation as create_workgroup.
1756 o   Richard Sharpe <rsharpe@samba.org>
1757     * Ensure cli_write() can support writes >= 65536 bytes.
1760 o   Simo Sorce <idra@samba.org>
1761     * Added check password script code in examples/auth/crackcheck/
1762     * Fix memory corruption bug caused in freeing static memory.
1765 o   Andrew Tridgell <tridge@samba.org>
1766     * Remove lp_use_mmap() from map_file() since the latter 
1767       is for read only and does not require coherence.
1768     * Ensure that the uuid pack/unpack routines do not go past 
1769       the end of the structure.
1770     * Converted Samba 3 tree to use the new utf-16 aware iconv 
1771       code. 
1772     * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
1773     * Ensure configure only uses '=' instead of the bashism '=='.
1774     * Reduces the number of tdb locking calls made on file IO.
1775     
1777 o   Jelmer Vernooij <jelmer@samba.org>
1778     * Convert internal data to UTF-8 before calling libxml2.
1779     * Complain if 'password chat' doesn't contain the %u variable
1780       (based on a patch by Ronan Waide).
1781     
1783 o   Josef Zlomek
1784     * BUG 1541:  Fix recursive ls in smbclient. 
1786     
1787 o   Igor Zhbanov <bsg@uniyar.ac.ru>
1788     * BUG 1797: Prevent winbind and nmbd from ignoring the "-l" 
1789       option.
1791       --------------------------------------------------
1793                   =============================
1794                   Release Notes for Samba 3.0.7
1795                            Sept 13, 2004
1796                   =============================
1798 This is the latest stable release of Samba. This is the version
1799 that production Samba servers should be running for all
1800 current bug-fixes.  There have been several important issues
1801 fixes since the 3.0.6 release.  See the "Changes" section for
1802 details on exact updates.
1804 Common bugs fixed in 3.0.7 include:
1806   o Fixes for two Denial of Service vulnerabilities
1807     (CVE ID# CAN-2004-0807 & CAN-2004-0808).
1808   o Winbind failure to return user entries under certain
1809     conditions.
1810   o Syntax errors in the OpenLDAP schema file (samba.schema).
1811   o Printing errors caused by not setting default values
1812     for the various printing commands.
1815 Changes since 3.0.6
1816 -------------------
1818 smb.conf changes
1819 ----------------
1821     Parameter Name                      Action
1822     --------------                      ------
1823     winbind enable local accounts       disabled by default
1825     
1826 commits
1827 -------
1828 o   Jeremy Allison <jra@samba.org>
1829     * Fix parsing of names ending in dot and a few other error 
1830       returns.
1831     * BUG 1674: Move the symlinks checks into reduce_name().
1832     * Fix memleak when checking the valid names smb.conf option.
1833     * Fix memleak on error return path in the file open code.
1834     * More paranoia checks in the hash2 mangling code.
1835     * Fix syntax error in configure.in.
1836     * Match Win2k3's behavior for pathname parsing error returns.
1837     * Make nmbd more robust against bad netbios packets 
1838       (CAN-2004-0808).
1839     * Add more checks for invalid ASN.1 packets for SPNEGO packets
1840       (CAN-2004-0807).
1842   
1843 o   Andrew Bartlett <abartlet@samba.org>  
1844     * Janitor work in loadparm.c -- remove unused parameters.
1847 o   Gerald Carter <jerry@samba.org>
1848     * BUG 1464: Ensure that printing commands are initialized even
1849       if the 'printing' parameter is not explicitly set.
1850     * Resolve name conflict on DEC OSF-5.1 (inspired by patch from 
1851       Adharsh Praveen <rprav@india.hp.com>)
1852     * Work around parsing error in the print change notify code.
1853     * remove duplicate declaration of getprintprocdir from 
1854       rpcclient.
1855     * Only use sAMAccountName and not userPrincipalName when looking
1856       up a username in AD since the breaks winbindd (lookup_name() 
1857       only works with the sAMAccountName).
1858     * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not 
1859       filling in the username in the user_info3.
1860     * Fix logic bug in the check for creating a user's home directory 
1861       in register_vuid(); caused home directory to be mismatched to 
1862       the first share in smb.conf under certain conditions.
1863     * BUG 1656: rename auto.a to auto.smb.
1864     * Ensure that we assign our pid to print jobs (and not our 
1865       parent's pid); ensures that spooling jobs from dead smbds 
1866       are removed from the tdb.
1867     * Disable 'winbind enable local accounts' by default.
1868     * Adding some initial checks for DragonFly (same as 
1869       FreeBSD 4.1).
1870     
1872 o   Guenther Deschner <gd@samba.org> 
1873     * Use SMB_ASSERT() to track down NULL printer names in 
1874       the tdb open code.
1875     * Revert fix for BUG 1474 to avoid unnecessary packaging 
1876       dependencies.
1879 o   Olaf Flebbe <o.flebbe@science-computing.de>.  
1880     * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 
1881       and 5.1.
1882     * BUG 1626: More compile fixes.
1885 o   Rob Foehl <rwf@loonybin.net>
1886     * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset 
1887       by attempts to sanitize the defined attributes.
1890 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
1891     * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
1894 o   Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
1895     * BUG 1657: Remove used initialized variable, 
1896     * BUG 1658: Add a little bit of const.
1899 o   Volker Lendecke <vl@samba.org>
1900     * If there's garbage in the pidfile, we should not panic 
1901       but assume that no one else is around. We can't find the 
1902       other guy anyway.
1905 o   Jim McDonough <jmcd@us.ibm.com>
1906     * Fixup format string in the tdb error messages.
1909 o   Jonas Olsson <lexicon@lysator.liu.se>
1910     * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when 
1911       reporting the list in usrmgr.exe.
1914 o   Tim Potter <tpot@samba.org>
1915     * Fix out-of-tree builds (problem with the script to generate 
1916       the svn version number).
1917     * BUG 1360:  Need to use -Wl when passing flags to the linker.
1918     * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which 
1919       doesn't have one of its own.
1921 o   Simo Sorce <idra@samba.org>
1922     * Fixup compile issues on AIX caused by broken strlen() and 
1923       strdup().
1924     * Update debian packaging files.
1927 o   Dimitri van der Spek <dwspek@aboveit.nl>
1928     * Use the correct counter when copying group rids from the 
1929       user_info3 struct in pam_winbind.
1930       
1932 o   Qiao Yang <qyang@stbernard.com>
1933     * BUG 1622: Only cache the user
1936       --------------------------------------------------
1937       
1938                   =============================
1939                   Release Notes for Samba 3.0.6
1940                            Aug 19, 2004
1941                   =============================
1943 Common bugs fixed in 3.0.6 include:
1945   o Schannel failure in winbindd.
1946   o Numerous memory leaks.
1947   o Incompatibilities between the 'write list' and 'force user'
1948     smb.conf options.
1949   o Premature optimization of the open_directory() internal 
1950     function that broke tools such as the ArcServe backup 
1951     agent, Macromedia HomeSite, and Robocopy.
1952   o Corrupt workgroup names in nmbd's browse.dat.
1953   o Sharing violation errors commonly seen when opening
1954     when serving Microsoft Office documents from a Samba 
1955     file share.
1956   o Browsing problems caused by an apostrophe (') in the 
1957     computer's description field.
1958   o Problems creating special file types from UNIX CIFS 
1959     clients and enabling 'unix extensions'.
1960   o Fix stalls in smbd caused by inaccessible LDAP servers.
1961   o Remove various memory leaks.
1962   o Fix issues in the password lockout feature.
1964 New features introduced in this release include:
1966   O Support symlinks created by CIFS clients which 
1967     can be followed on the server.
1968   o Using a cups server other than localhost.
1969   o Maintaining the service principal entry in the system 
1970     keytab for integration with other kerberized services.
1971     Please refer to the 'use kerberos keytab' entry in 
1972     smb.conf(5).  When using the heimdal kerberos libraries,
1973     you must also specify the following in /etc/krb5.conf:
1974     [libdefaults]
1975        default_keytab_name = FILE:/etc/krb5.keytab
1976   o Support for maintaining individual printer names
1977     stored separately from the printer's sharename.
1978   o Support for maintaining user password history.
1979   o Support for honoring the logon times for user in a 
1980     Samba domain.
1983 ============================================
1984 unix extensions = yes (default) and symlinks
1985 ============================================
1987 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1), 
1988 clients supporting the UNIX extensions to the CIFS protocol 
1989 can create symlinks to absolute paths which will be **followed** 
1990 by the server.  This functionality has been requested in order 
1991 to correctly support certain applications when the user's home 
1992 directory is mounted using some type of CIFS client (e.g. the 
1993 cifsvfs in the Linux 2.6 kernel).
1995 If this behavior is not acceptable for your production environment
1996 you can set 'wide links = no' in the specific share declaration in 
1997 the server's smb.conf.  Be aware that disabling wide link support 
1998 out of a share in Samba may impact the server's performance due 
1999 to the fact that smbd will now have to check each path additional 
2000 times before traversing it.
2001   
2003 ========================
2004 Password History Support 
2005 ========================
2007 The new password history feature allows smbd to check the new 
2008 password in password change requests against a list of the user's
2009 previous passwords.  The number of previous passwords to save can 
2010 be set using pdbedit (4 in this example):
2012    root# pdbedit -P "password history" -C 4
2014 When using the ldapsam passdb backend, it is vital to secure the 
2015 following attributes from access by non-administrative users:
2017    * sambaNTPassword
2018    * sambaLMPassword
2019    * sambaPasswordHistory
2021 You should refer to your directory server's documentation on how 
2022 to implement this restriction.
2025 Changes since 3.0.5
2026 -------------------
2028 smb.conf changes
2029 ----------------
2031     Parameter Name              Action
2032     --------------              ------
2033     cups server                 New
2034     defer sharing violations    New
2035     force unknown acl user      New
2036     ldap timeout                New
2037     printcap cache time         New
2038     use kerberos keytab         New
2039     
2040 commits
2041 -------
2042 o   Jeremy Allison <jra@samba.org> 
2043     * Correct path parsing bug that broke DeletePrinterDriverEx().
2044     * Fix bugs in check_path_syntax() caught by asserts.
2045     * Internal change - rearrange internal global case setting 
2046       variables to a per connection basis.
2047     * BUG 1345: Fix premature optimization in unix_convert(). 
2048     * Allow clients to truncate a locked file.
2049     * BUG 1319: Always check to see if a user as write access
2050       to a share, even when 'force user' is set.
2051     * Fix specific case of open that doesn't cause oplock break, 
2052       or share mode check.
2053     * Correct sid type is WKN_GROUP, not alias. Added some 
2054       more known types (inspired by patch from Jianliang Lu).
2055     * Allow creation of absolute symlink paths via CIFS clients.
2056     * Fix charset bug in when invoking send_mailslot().
2057     * When using widelinks = no, use realpath to canonicalize 
2058       the connection path on connection create for the user. 
2059     * Enhance stat open code.
2060     * Fix unix extensions mknod code path.
2061     * Allow unix domain socket creation via unix extensions.
2062     * Auto disable the 'store dos attribute' parameter if the 
2063       underlying filesystem doesn't support EAs.
2064     * Implement deferred open code to fix a bug with Excel files 
2065       on Samba shares.
2066     * BUG 1427: Catch bad path errors at the right point.  Ensure 
2067       all our pathname parsing is consistent.
2068     * Fix SMB signing error introduced by the new deferred open 
2069       code.
2070     * Change default setting for case sensitivity to "auto". (see 
2071       commit message -- r1154 -- for details).
2072     * Add new remote client arch -- CIFSFS.
2073     * Allow smbd to maintain the service principal entry in the 
2074       system keytab file (based on patch Dan Perry <dperry@pppl.gov>, 
2075       Guenther Deschner, et. al.).
2076     * Fix longstanding memleak bug with logfile name.
2077     * Fix incorrect type in printer publishing (struct uuid, 
2078       not UUID_FLAT).
2079     * Heimdal compile fixes after introduction of the new ketyab 
2080       feature.
2081     * Ensure we check attributes correctly on rename request.
2082     * Ensure we defer a sharing violation on rename correctly.
2083     * BUG 607: Ensure we remove DNS and DNSFAIL records immediately 
2084       on timeout.
2085     * Fix bogus error message when using "mangling method = hash" 
2086       rather than hash2.
2087     * Turn on sendfile by default for non-Win9x clients.
2088     * Handle non-io opens that cause oplock breaks correctly.
2089     * Ensure ldap replication sleep time is not more than 5 seconds.
2090     * Add support for storing a user's password history.
2091       LDAP portion of the code was based on a patch from 
2092       Jianliang Lu <j.lu@tiesse.com>.
2093     * Correct memory leaks found in the password change code.
2094     * Fix support for the mknod command with the Linux CIFS client.
2095     * Remove support for passing the new password to smbpasswd 
2096       on the command line without using the -s option.
2097     * Ensure home directory service number is correctly reused
2098       (inspired by patches from Michael Collin Nielsen 
2099       <michael@hum.aau.dk>).
2100     * Fix to stop printing accounts from resetting the bas 
2101       password and account lockout flags.
2102     * If a account was locked out by an admin (and has a bad 
2103       password count of zero) leave it locked out until an admin 
2104       unlocks it (but log a message).
2105     * Ensure we return the same ACL revision on the wire that 
2106       W2K3 does.
2107     * BUG 1578: Hardcode replacement for invalid characters as '_'
2108       (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
2109     * Fix hashed password history for LDAP backends.
2110     * Enforce logon hours restrictions if confiogured (based on code 
2111       from Richard Renard <rrenard@idealx.com>).
2112     * BUG 1606: Force smbd to disable sendfile with DOS clients 
2113       and ensure that the chained header is filled in for ...&X 
2114       commands.
2115     * BUG 1602: Fix access to shares when all symlink support 
2116       has been disabled.
2120 o   Tom Alsberg <alsbergt@cs.huji.ac.il>
2121     * Allow pdbedit to export a single user from a passdb backend.
2122     
2124 o   Andrew Bartlett <abartlet@samba.org>  
2125     * Fix parsing bug in GetDomPwInfo().
2126     * Fix segfault in 'ntlm_auth --diagnostics'.
2127     * Re-enable code to allow sid_to_gid() to perform a group 
2128       mapping lookup before checking with winbindd.
2129     * Fix memory leak in the trans2 signing code.
2130     * Allow more flexible GSS-SPENGO client and server operation 
2131       in ntlm_auth.
2132     * Improve smbd's internal random number generation.
2133     * Fix a few outstanding long password changes in smbd.
2134     * Fix LANMAN2 session setup code.
2137 o   Eric Boehm <boehm@nortelnetworks.com>
2138     BUG 703: Final touches on netgroup case lookups.
2139     
2140     
2141 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
2142     * Ensure error status codes don't get overwritten in 
2143       lsa_lookup_sids() server code.
2144     * Correct bug that caused smbd to overwrite certain error 
2145       codes when returning up the call stack.
2146     * Ensure the correct sid type returned for builtin sids.
2149 o   Gerald Carter <jerry@samba.org>
2150     * Fix a few bugs in the Fedora Packaging files.
2151     * Fix for setting the called name to by our IP if the 
2152       called name was *SMBSERVER and *SMBSERV.   Fixes issue 
2153       with connecting to printers via \\ip.ad.dr.ess\printer 
2154       UNC path.
2155     * BUG 1315: fix for schannel client connections to servers
2156       when we haven't specifically negotiated AUTH_PIPE_SEAL.
2157     * Allow PrinterDriverData valuenames with embedded backslashes
2158       (Fixes bug with one of the Konica Fiery drivers).
2159     * Fixed string length miscalculation in netbios names that 
2160       resulted in corrupt workgroup names in browse.dat.
2161     * When running smbd as a daemon, launch child smbd to update 
2162       the lpq cache listing in the background.
2163     * Allow printers "Printers..." folder to be renamed to a string 
2164       other than the share name.
2165     * Allow winbindd to use domain trust account passwords when 
2166       running on a Samba DC to establish an schannel to remote 
2167       domains.
2168     * Fix bad merge and ensure that we always use tdb_open_log() 
2169       instead of tdb_open_ex() (the former call enforce the 'use 
2170       mmap' parameter).
2171     * BUG 1221: revert old change that used single and double 
2172       quotes as delimeters in next_token(), and change 
2173       print_parameter() to print out parm values surrounded by 
2174       double quotes (instead of single quotes).
2175     * Prevent home directories added during the SMBsesssetup&X from 
2176       being removed as unused services.
2177     * Invalidate the print object cache for open printer handles when
2178       smbd receives a message that an attribute on a given printer 
2179       has been changed.
2180     * Cause the configure script to exit if --enable-cups[=yes] is 
2181       defined and the system does not have the cups devel files 
2182       installed.
2183     * BUG 1297: Prevent map_username() from being called twice 
2184       during logon.
2185     * Ensure that we use the userPrincipalName AD attribute 
2186       value for LDAP SASL binds.
2187     * Ensure we remove the tdb entry when deleting a job that 
2188       is being spooled.
2189     * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
2190       client sends a FindNextPrintChangeNotify() request without 
2191       previously sending a FindFirstPrintChangeNotify().  Return 
2192       the same error code as Windows 2000 SP4.
2193     * BUG 1516: Manually declare ldap_open_with_timeout() to 
2194       workaround compiler errors on IRIX (or other systems without 
2195       LDAP headers).
2196     * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from 
2197       3.0.5.
2198     * Corrected syntax error in the OID for sambaUnixIdPool, 
2199       sambaSidEntry, & sambaIdmapEntry object classes.
2200     * Tighten the cache consistency with the ntprinters.tdb entry 
2201       an the in memory cache associated with open printer handles.
2202     * Make sure that register_messages_flags() doesn't overwrite 
2203       the originally registered flags.
2206 o   Fabien Chevalier <fabien.chevalier@supelec.fr>
2207     * Debian BUG 252591: Ensure that the return value from the 
2208       number of available interfaces is initialized in case no 
2209       interfaces are actually available.
2212 o   Guenther Deschner <gd@sernet.de> 
2213     * Implement 'rpcclient setprintername'.
2214     * Add local groups to the user's NT_TOKEN since they are 
2215       actually supported now.
2216     * Heimdal compile fixes after introduction of the new keytab 
2217       feature.
2218     * Correctly honor the info level parameter in 'rpcclient 
2219       enumprinters'.
2220     * Reintroduce 'force unknown acl user' parameter.  When getting a 
2221       security descriptor for a file, if the owner sid is not known, 
2222       the owner uid is set to the current uid. Same for group sid.
2223     * Ensure that REG_SZ values in the SetPrinterData actually 
2224       get written in UNICODE strings rather than ASCII.
2225     * Ensure that the last kerberos error return is not invalid.
2226     * Display share ACL entries from rpcclient.
2227     * Correct infinite loop in pam_winbind's verification of 
2228       group membership in the 'other sids' field in the user_info3 
2229       struct.
2232 o   Fabian Franz <FabianFranz@gmx.de>
2233     * Support specifying a port in the device URL passed to smbspool.
2234     
2235     
2236 o   Steve French <sfrench@us.ibm.com>
2237     * Handle -S and user mount parms in mount.cifs.
2238     * Fix user unmount of shares mount with suid mount.cifs.
2239     * prevent infinite recusion in reopen_logs() when expanding 
2240       the smb.conf variable %I.
2243 o   Bjoern Jacke <bj@sernet.de>
2244     * Install libsmbclient into $(LIBDIR), not into hard coded 
2245       ${prefix}/lib. This helps amd64 systems with /lib and /lib64 
2246       and an explicit configure --libdir setting.
2249 o   <kawasa_r@itg.hitachi.co.jp>
2250     * Correct more memory leaks and initialization bugs.
2251     * Fix bug that prevented core dumps from being generated 
2252       even if you tried.
2253     * Connect to the winbind pipe in non-blocking mode to 
2254       prevent processes from hanging.
2255     * Memory leak fixes.
2258 o   Stephan Kulow <coolo@suse.de>
2259     * Fix crash bug in libsmbclient.
2262 o   Volker Lendecke <vl@samba.org>
2263     * Added vfs_full_audit module.
2264     * Add vfs_afsacl.c which can display & set AFS acls via 
2265       the NT security editor.
2266     * Fix crash bug caused by trying to Base64 encode a NULL string.
2267     * Fix DOS error code bug in reply_chkpath().
2268     * Correct misunderstanding of the max_size field in 
2269       cli_samr_enum_als_groups;  it is more like an account_control 
2270       field with individual bits what to retrieve.
2271     * Implement 'net rpc group rename' -- rename domain groups.
2272     * Implement the 'cups server' option. This makes it possible 
2273       to have virtual smbd's connect to different cups daemons.
2274     * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
2275     * Fix sid_to_gid() calls in winbindd to prevent loops.
2276     * Ensure that local_sid_to_gid() sets the type of the group on 
2277       return.
2278     * Make sure that the clients are given back the IP address to 
2279       which they connected in the case of a multi-homed host. Only 
2280       affects strings the spoolss printing replies.
2281     * Fix the bad password lockout. This has not worked as pdb_ldap.c 
2282       did not ask for the modifyTimestamp attribute, so it could 
2283       not find it.   Try not to regress by not putting that attrib 
2284       in the main list but append it manually for the relevant searches.
2285     * Fix two memleaks in login_cache.c.
2286     * fixes memory bloat when unmarshalling strings.
2287     * Fix compile errors using gcc 3.2 on SuSE 8.2.
2288     * Fix the build for systems without kerberos headers.
2289     * Allow winbindd to handle authentication requests only when 
2290       started without either an 'idmap uid' or 'idmap gid' range.
2291     * Fix the build for systems without ldap headers.
2292     * Fix interaction between share security descriptor and the 
2293       'read only' smb.conf option.
2294     * Fix bug that caused _samr_lookupsids() with more than 32 (
2295       MAX_REF_DOMAINS) SIDs to fail.
2296     * Allow the 'idmap backend' parameter to accept a list of 
2297       LDAP servers for failover purposes.
2298     * Revert code in smbd to remove a tdb when it has become 
2299       corrupted.
2300     * Add paranoid checks when mapping SIDs to a uid/gid to 
2301       ensure that the type is correct.
2302     * Initial work on getting client support for sending mailslot 
2303       datagrams.
2304     * Add 'ldap timeout' parameter.
2305     * Dont always uppercase 'afs username map'.
2306     * Expand aliases for getusersids as well.
2307     * Improved NT->AFS ACL mapping VFS module.
2310 o   Herb Lewis <herb@samba.org>
2311     * Add the acls debug class.
2312     * Fix logic bug in netbios name truncate routine.
2313     * Fix smbd crash caused by smbtorture IOCTL test.
2314     * Fix errno tromping before calling iconv to reset the 
2315       conversion state.
2316     * need to leave empty dacl so we can remove last ACE.
2319 o   Jianliang Lu <Jianliang.Lu@getronics.com>
2320     * Fix to stop smbd hanging on missing group member in 
2321       get_memberuids().
2322     * Make sure Samba returns the correct group types.
2323      * Reset the bad password count password counts upon a successful login.
2324      
2325      
2326 o   Jason Mader <jason@ncac.gwu.edu>
2327     * BUG 1385: Don't use non-consts in a structure initialization.
2328     
2330 o   Jim McDonough <jmcd@us.ibm.com>
2331     * BUG 1279: SMBjobid fix for Samba print servers running on 
2332       Big-Endian platforms.
2335 o   Joe Meadows <jameadows@webopolis.com>
2336     * Add optional timeout parameter to ldap open calls.
2337     * Allow get_dc_list() to check the negative cache.
2340 o   Stefan Metzmacher <metze@samba.org>    
2341     * fix a configure logic bug for linux/XFS quotas when 
2342       using --with-sys-quotas.
2343     * Use quota debug class in quota code.
2344     * print out the SVN revision by configure,
2345     
2347 o   Buchan Milne <bgmilne@mandrake.org>
2348     * Mandrake packaging fixes.
2349     
2350     
2351 o   Lars Mueller <lmuelle@suse.de>
2352     * BUG 1279: Added 'printcap cache time' parameter.
2353     * Fix afs related build issues on SuSE.
2354     * Fix compiler warnings in the kerberos client code.
2357 o   James Peach <jpeach@sgi.com>
2358     * More iconv detection fixes for IRIX.
2359     * Compile fixed for systems that do not have C99/UNIX98 compliant 
2360       vsnprintf by default.
2361     * Prevent smbd from attempting to use sendfile at all if it is 
2362       not supported by the server's OS.
2363     * Allow SWAT to search for index.html when serving html files 
2364       in a directory.
2367 o   Dan Peterson
2368     * Implement NFS quota support on FreeBSD.
2371 o   Tim Potter <tpot@samba.org>
2372     * BUG 1360: Use -Bsymbolic when creating shared libraries to 
2373       avoid conflicts with identical symbols in the global namespace 
2374       when loading libnss_wins.so.
2377 o   Richard Renard <rrenard@idealx.com>
2378     * Save the current password as it is being changed into the 
2379       password history list.
2382 o   Richard Sharpe <rsharpe@samba.org>
2383     * Fix error return codes on some lock messages.
2384     * BUG 1178: Make the libsmbclient routines callable 
2385       by C++ programs.
2386     * BUG 1333: Make sure we return an error code when 
2387       things go wrong.
2388     * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when 
2389       share mode locking requests fail.
2392 o   Simo Sorce <idra@samba.org>
2393     * Update Debian stable & unstable packaging.
2394     * Tidy up parametric options in testparm output.
2397 o   Richard Sharpe <rsharpe@samba.org>
2398     * Add sigchild handling to winbindd to restart the child 
2399       daemon if necessary.
2402 o   Tom Shaw <tomisfaraway@gmail.com>
2403     * Use winbindd_fill_pwent() consistently.
2406 o   Nick Thompson <nickthompson@agere.com>
2407     * Protect smbd against broken filesystems which return zero 
2408       blocksize.
2411 o   Andrew Tridgell <tridge@samba.org>
2412     * Fixed bug in handling of timeout in socket connections.
2413      
2415 o   Nick Wellnhofer <wellnhofer@aevum.de>    
2416     * Prevent lp_interfaces() list from being corrupted.  Fixes
2417       bug where nmbd would lose the list of network interfaces 
2418       on the system and consequently shutdown.
2420       
2421 o   James Wilkinson <jwilk@alumni.cse.ucsc.edu>
2422     * Fix ntlm_auth memory leaks.
2425 o   Jelmer Vernooij <jelmer@samba.org>
2426     * Additional NT status to unix error mappings.
2427     * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't 
2428       get duplicate symbol errors.
2429     * Return an error when the last command read from stdin 
2430       fails in smbclient.
2431     * Prepare for better error checking in tar.
2432     * BUG 1474: Fix build of --with-expsam stuff on Solaris.
2433       
2435       --------------------------------------------------
2436       
2437                  =============================
2438                  Release Notes for Samba 3.0.5
2439                          July 20, 2004
2440                  =============================
2442 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with 
2443 the exception of correcting the two security issues outlined 
2444 below.
2446 ######################## SECURITY RELEASE ########################
2448 Summary:       Multiple Potential Buffer Overruns in Samba 3.0.x
2449 CVE ID:        CAN-2004-0600, CAN-2004-0686
2450                (http://cve.mitre.org/)
2453 This is the latest stable release of Samba. This is the version
2454 that production Samba servers should be running for all current
2455 bug-fixes.
2457 It has been confirmed that versions of Samba 3 prior to v3.0.4
2458 are vulnerable to two potential buffer overruns.  The individual
2459 details are given below.
2461 =============
2462 CAN-2004-0600
2463 =============
2465 Affected Versions:      Samba 3.0.2 and later
2467 The internal routine used by the Samba Web Administration
2468 Tool (SWAT v3.0.2 and later) to decode the base64 data
2469 during HTTP basic authentication is subject to a buffer
2470 overrun caused by an invalid base64 character.  It is
2471 recommended that all Samba v3.0.2 or later installations
2472 running SWAT either (a) upgrade to v3.0.5, or (b) disable
2473 the swat administration service as a temporary workaround.
2475 This same code is used internally to decode the
2476 sambaMungedDial attribute value when using the ldapsam
2477 passdb backend. While we do not believe that the base64
2478 decoding routines used by the ldapsam passdb backend can
2479 be exploited, sites using an LDAP directory service with
2480 Samba are strongly encouraged to verify that the DIT only
2481 allows write access to sambaSamAccount attributes by a
2482 sufficiently authorized user.
2484 The Samba Team would like to heartily thank Evgeny Demidov
2485 for analyzing and reporting this bug.
2487 -------------
2488 CAN-2004-0686
2489 -------------
2491 Affected Versions:      Samba 3.0.0 and later
2493 A buffer overrun has been located in the code used to support
2494 the 'mangling method = hash' smb.conf option.  Please be aware
2495 that the default setting for this parameter is 'mangling method
2496 = hash2' and therefore not vulnerable.
2498 Affected Samba 3 installations can avoid this possible security
2499 bug by using the default hash2 mangling method.  Server
2500 installations requiring the hash mangling method are encouraged
2501 to upgrade to Samba 3.0.5.
2504 ##################################################################
2506     --------------------------------------------------
2507                  
2508                  =============================
2509                  Release Notes for Samba 3.0.4
2510                           May 8, 2004
2511                  =============================
2513 Common bugs fixed in Samba 3.0.4 include:
2515   o Password changing after applying the patch described in 
2516     the Microsoft KB828741 article to Windows clients.
2517   o Crashes in smbd.
2518   o Managing print jobs via Windows on Big-Endian servers.
2519   o Several memory leaks in winbindd and smbd.
2520   o Compile issues on AIX and *BSD.
2522 Changes since 3.0.3
2523 --------------------
2525 commits
2526 -------
2528 o   Jeremy Allison <jra@samba.org>
2529     * Fix path processing for DeletePrinterDriverEx().
2530     * BUG 1303: Fix for Microsoft hotfix MS04-011 password change 
2531       breakage.
2534 o   Andrew Bartlett <abartlet@samba.org>
2535     * Fix alignment bug in GetDomPwInfo().
2538 o   Alexander Bokovoy <ab@samba.org>
2539     * Fix utime[s]() issues in smbwrapper on systems 
2540       that can boot both the 2.4 and 2.6 Linux kernels.
2543 o   Gerald Carter <jerry@samba.org>
2544     * Fedora packaging fixes.
2545     * BUG 1302: Fix seg fault by not trying to optimize a list of 
2546       invalid gids using the wrong array size.
2547     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
2548       seen when 'security = share'.
2549     * Fix problems when using IBM's compiler on AIX.
2550     * Link Developer's Guide, Example Guide, and multi-page HOWTO
2551       into SWAT's welcome page.
2552     * BUG 1293: fix double free in printer publishing code.
2554     
2555 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
2556     * Fix for handling timeouts in socket connections.
2559 o   Michel Gravey <michel.gravey@optogone.com>
2560     * BUG 483: patch from  to fix password hash creation in SWAT.
2561     
2563 o   Volker Lendecke <vl@samba.org>
2564     * Close the open NT pipes before the tdis.
2565     * Fix AFS related build issues.
2566     * Handle error conditions when base64 encoding a blob of 0 bytes.
2568     
2569 o   Herb Lewis <herb@samba.org>
2570     * Added 'acls' debug class.
2572 o   kawasa_r@itg.hitachi.co.jp
2573     * Multiple variable initialization and memory leak fixes.
2574     
2575     
2576 o   Stephan Kulow <coolo@suse.de>
2577     * Fix string length bug in libsmbclient that caused KDE's 
2578       Konqueror to crash.
2579     * BUG 429: More libsmbclient fixes.
2582 o   Jim McDonough <jmcd@us.ibm.com>
2583     * BUG 1007, 1279: Store the print job using a little-endian key.
2586 o   Eric Mertens
2587     o Compile fix for OpenBSD (ENOTSUP not supported).
2589     
2590 o   Stefan Metzmacher <metze@samba.org>
2591     * Correct bug in disks quota views from explorer.
2593     
2594 o   Tim Potter <tpot@samba.org>
2595     BUG 1305: Correct debug output.
2598 o   Richard Sharpe <rsharpe@samba.org>
2599     * Fix incorrect error code mapping.
2602 o   Jelmer Vernooij <jelmer@samba.org>
2603     * Add additional NT_STATUS errorm mappings.
2604     
2606     --------------------------------------------------
2608                  =============================
2609                  Release Notes for Samba 3.0.3
2610                         April 29, 2004
2611                  =============================
2614 Common bugs fixed in Samba 3.0.3 include:
2616   o Crash bugs and change notify issues in Samba's printing code.
2617   o Honoring secondary group membership on domain member servers.
2618   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
2619   o Substitution errors for %[UuGg] in smb.conf.
2620   o winbindd crashes when using ADS security mode.
2621   o SMB signing errors.
2622   o Delays in winbindd startup caused by unnecessary 
2623     connections to trusted domain controllers.
2624   o Various small memory leaks.
2625   o Winbindd failing due to expired Kerberos tickets.
2627 New features introduced in Samba 3.0.3 include:
2629   o Improved support for i18n character sets.
2630   o Support for account lockout policy based on
2631     bad password attempts.
2632   o Improved support for long password changes (>14
2633     characters) and strong password enforcement.
2634   o Support for Windows aliases (i.e. nested groups).
2635   o Experimental support for storing DOS attribute on files
2636     and folders in Extended Attributes.
2637   o Support for local nested groups via winbindd.
2638   o Specifying options to be passed directly to the CUPS libraries.
2640 Please be aware that the Samba source code repository was 
2641 migrated from CVS to Subversion on April 4, 2004.  Details on 
2642 accessing the Samba source tree via anonymous svn can be found 
2643 at http://svn.samba.org/samba/subversion.html.
2646 Changes since 3.0.2a
2647 --------------------
2648 smb.conf changes
2649 ----------------
2651     Parameter Name              Action
2652     --------------              ------
2653     cups options                New
2654     ea support                  New
2655     only user                   Deprecated
2656     store dos attributes        New
2657     unicode                     Removed
2658     winbind nested groups       New
2660     
2661 commits
2662 -------
2664 o   Jeremy Allison <jra@samba.org>
2665     * Ensure that Kerberos mutex is always properly unlocked.
2666     * Removed Heimdal "in-memory keytab" support.
2667     * Fixup the 'multiple-vuids' bugs in our server code.
2668     * Correct return code from lsa_lookup_sids() on unmapped
2669       sids (based on work by vl@samba.org).
2670     * Fix the "too many fcntl locks" scalability problem 
2671       raised by tridge.
2672     * Fixup correct (as per W2K3) returns for lookupsids 
2673       as well as lookupnames.
2674     * Fixups for delete-on-close semantics as per Win2k3 behavior.
2675     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
2676     * Fix "unable to initialize" bug when smbd hasn't been run with 
2677       new system and a user is being added via pdbedit/smbpasswd.
2678     * Added NTrename SMB (0xA5).
2679     * Fixup correct timeout values for blocking lock timeouts.
2680     * Fix various bugs reported by 'gentest'.
2681     * More locking fixes in the case where we own the lock.
2682     * Fix up regression in IS_NAME_VALID and renames.
2683     * Don't set allocation size on directories.
2684     * Return correct error code on fail if file exists and target 
2685       is a directory.
2686     * Added client "hardlink" comment to test doing NT rename with 
2687       hard links.  Added hardlink_internals() code - UNIX extensions 
2688       now use this as well.
2689     * Use a common function to parse all pathnames from the wire for 
2690       much closer emulation of Win2k3 error return codes.
2691     * Implement check_path_syntax() and rewrite string sub 
2692       functions for better multibyte support.
2693     * Ensure msdfs referrals are multibyte safe.
2694     * Allow msdfs symlink syntax to be more forgiving.
2695       eg. sym_link -> msdfs://server/share/path/in/share 
2696       or  sym_link -> msdfs:\\server\share\path\in\share.
2697     * Cleanup multibyte netbios name support in nmbd ( based on patch
2698       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
2699     * Fix check_path_syntax() for multibyte encodings which have 
2700       no '\' as second byte (based on work by ab@samba.org.
2701     * Fix the "dfs self-referrals as anonymous user" problem
2702       (based on patch from vl@samba.org).
2703     * BUG 1064: Ensure truncate attribute checking is done correctly 
2704       on "hidden" dot files.
2705     * Fix bug in anonymous dfs self-referrals again.
2706     * Fix get/set of EA's in client library
2707     * Added support for OS/2 EA's in smbd server.
2708     * Added 'ea support' parameter to smb.conf.
2709     * Added 'store dos attributes' parameter to smb.conf.
2710     * Fix wildcard identical rename.
2711     * Fix reply_ctemp - make compatible with w2k3.
2712     * Fix wildcard unlink.
2713     * Fix wildcard src with wildcard dest renames.      
2714     * BUG 1139: Fix based on suggestion by jdev@panix.com.
2715       swap lookups for user and group - group will do an
2716       algorithmic lookup if it fails, user won't.
2717     * Make EA's lookups case independent.
2718     * Fix SETPATHINFO in 'unix extensions' support.
2719     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
2720       the UNIX info levels, and the short case preserve names.
2723 o   Timur Bakeyev <timur@com.bat.ru>
2724     * BUG 1144: only set --with-fhs when the argument is 'yes'
2725     * BUG 1152: Allow python modules to build despite libraries added 
2726       to LDFLAGS instead of LDPATH.
2727     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
2730 o   Craig Barratt <cbarratt@users.sourceforge.net>
2731     * BUG 389: Allow multiple exclude arguments with smbclient 
2732       tar -Xr options (better support for Amanda backup client).
2735 o   Andrew Bartlett <abartlet@samba.org>
2736     * Include support for linking with cracklib for enforcing strong 
2737       password changes.
2738     * Add support for >14 character password changes from Windows 
2739       clients.
2740     * Add 'admin set password' capability to 'net rpc'.
2741     * Allow 'net rpc samdump' to work with any joined domain 
2742       regardless of smb.conf settings.
2743     * Use an allocated buffer for count_chars.
2744     * Add sanity checks for changes in the domain SID in an 
2745       LDAP DIT.
2746     * Implement python unit tests for Samba's multibyte string 
2747       support.
2748     * Remove 'unicode' smb.conf option.
2749     * BUG 1138: Fix support for 'optional' SMB signing and other 
2750       signing bugs.
2751     * BUG 169: Fix NTLMv2-only behavior.
2752     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
2753       default.
2754     * Support SMB signing on connections using only the LANMAN 
2755       password and generate the correct the 'session key' for these 
2756       connections.
2757     * Implement --required-membership-of=, an ntlm_auth option 
2758       that restricts all authentication to members of this particular 
2759       group.
2760     * Improve our fall back code for password changes.
2761     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
2762       after the server had said something (such as an error).
2763     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
2765       
2766 o   Alexander Bokovoy <ab@samba.org>
2767     * Fix incorrect size calculation of the directory name 
2768       in recycle.so.
2769     * Fix problems with very long filenames in both smbd and smbclient
2770       caused by truncating paths during character conversions.
2771     * Fix smbfs problem with Tree Disconnect issued before smbfs 
2772       starts its work.
2775 o   Gerald Carter <jerry@samba.org>
2776     * BUG 850: Fix 'make installmodules' bug on True64.
2777     * BUG 66: mark 'only user' deprecated.
2778     * Remove corrupt tdb and shutdown (only for printing tdbs, 
2779       connections, sessionid & locking).
2780     * decrement smbd counter in connections.tdb in smb_panic().
2781     * RedHat specfile updates.
2782     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
2783     * BUG 1147; bad pointer case in get_stored_queue_info() 
2784       causing seg fault.
2785     * BUG 761: read the config file before initialized default 
2786       values for printing options; don't default to bsd printing 
2787       Linux.
2788     * Allow the 'printing' parameter to be set on a per share basis.
2789     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
2790     * BUG 848: don't create winbind local users/groups that already 
2791       exist in the tdb.
2792     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
2793       LynxOS/ppc).
2794     * BUG 488: fix the 'show client in col 1' button and correctly 
2795       enumerate active connections.
2796     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
2797       problem when storing the updating pid for the lpq cache.
2798     * BUG 1007 (partial): Fix print change notify bugs.
2799     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
2800       and winbind use default domain = yes.  Also ensures that 
2801     * BUG 1151: Ensure that winbindd users are passed through 
2802       the username map.
2803     * Fix client rpc binds for ASU derived servers (pc netlink, 
2804       etc...).
2805     * BUG 417, 1128: Ensure that the current_user_info is set
2806       consistently so that %[UuGg] is expanded correctly.
2807     * BUG 1195: Fix crash in winbindd when the ADS server is 
2808       unavailable.
2809     * BUG 1185: Set reconnect time to be the same as the 
2810       'winbind cache time'.
2811     * Ensure that we return the sec_desc in smb_io_printer_info_2.
2812     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
2813     * BUG 1095: Honor the '-l' option in smbclient.
2814     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
2815       block.
2816     * Ensure server schannel uses the auth level requested by the 
2817       client.
2818     * Removed --with-cracklib option due to potential crash issue.
2819     * Fix -lcrypto linking problem with wbinfo.
2820     * BUG 761: allow printing parameter to set defaults on a per 
2821       share basis.
2822     * Add 'cups options' parameter to allow raw printing without 
2823       changing /etc/cups/cupsd.conf.
2824     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
2825       winbindd.
2826     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
2827     * BUG 1288: resolve any machine netbios name (0x00) and not just 
2828       servers (0x20).
2829     * BUG 1199: Fix potential symlink issue in 
2830       examples/printing/smbprint.
2833 o   Robert Dahlem <Robert.Dahlem@gmx.net>
2834     * BUG 1048:  Don't return short names when when 'mangled names = no'
2837 o   Guenther Deschner <gd@suse.com>
2838     * Remove hard coded attribute name in the ads ranged retrieval
2839       code.
2840     * Add --with-libdir and --with-mandir to autoconf script.
2843 o   Bostjan Golob <golob@gimb.org>
2844     * BUG 1046: Fix  getpwent_list() so that the username is not 
2845       overwritten by other fields.
2848 o   Landon Fuller <landonf@opendarwin.org>
2849     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
2850       to fix user/group enumeration on systems whose libc does not 
2851       call setgrent() before trying to enumerate users (i.e. 
2852       FreeBSD 5.2).
2855 o   Steve French <sfrench@us.ibm.com>
2856     * Update mount.cifs to version 1.1.
2857     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
2858     * Fixes to minor security bug in the mount helper.
2859     * Fix credential file mounting for cifs vfs.
2860     * Fix free of incremented pointer in cifsvfs mount helper.
2861     * Fix path canonicalization of the mount target path and help 
2862       text display in the cifs mount helper.
2863     * Add missing guest mount option for mount.cifs.
2866 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
2867     * BUG 1055; formatting fixes for 'net share'.
2868     * BUG 692: correct truncation of share names and workgroup 
2869       names in smbclient.
2870     * BUG 1088: use strchr_m() for query_host (smbclient -L).
2871     * Patch from to internally count characters correctly.
2874 o   Paul Green <paulg@samba.org>
2875     * Update VOS _POSIX_C_SOURCE macro to 200112L.
2876     * Fix bug in configure.ion by moving the first use of 
2877       AC_CHECK_HEADERS so it is always executed.
2878     * Fix configure.in to only use $BLDSHARED to select whether to 
2879       build static or shared libraries.
2882 o   Pat Haywarrd <Pat.Hayward@propero.net>
2883     * Make the session_users list dynamic (max of 128K).
2884     
2885     
2886 o   Cal Heldenbrand <calzplace@yahoo.com> 
2887     * Fix for for 'pam_smbpass migrate' functionality.
2890 o   Chris Hertel <crh@samba.org>
2891     * fix enumeration of shares 12 characters in length via 
2892       smbclient.
2895 o   Ulrich Holeschak <ulrich@holeschak.de>
2896     * BUG 932: fix local password change using pam_smbpass
2899 o   Krischan Jodies <kj@sernet.de>
2900     * Implement 'net rpc group delete'
2903 o   John Klinger <john.klinger@lmco.com>
2904     * Return NSS_SUCCESS once the max number of gids possible 
2905        has been found in initgroups() on Solaris.
2906     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
2909 o   Volker Lendecke <vl@samba.org>
2910     * Fix success message for net groupmap modify.
2911     * Fix errors when enumerating members of groups in 'net rpc'.
2912     * Match Windows behavior in samr_lookup_names() by returning
2913       ALIAS(4) when you search in BUILTIN. 
2914     * Fix server SAMR code to be able to set alias info for 
2915       builtin as well. 
2916     * Fix duplication of logic when creating groups via smbd.
2917     * Ensure that the HWM values are set correctly after running 
2918       'net idmap'.
2919     * Add 'net rpc group add'.
2920     * Implement 'net groupmap set' and 'net groupmap cleanup'.
2921     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
2922     * Fix wb_delgrpmem (wbinfo -o).
2923     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
2924     * Fix sambaUserWorkstations on a Samba DC.
2925     * Implement wbinfo -k: Have winbind generate an AFS token after
2926       authenticating the user.
2927     * Add expand_msdfs VFS module for providing referrals based on the
2928       the client's IP address.
2929     * Implement client side NETLOGON GetDCName function.
2930     * Fix caching of name->sid lookups.
2931     * Add support in winbindd for expanding nested local groups.
2932     * Fix memleak in winbindd.
2933     * Fix msdfs proxy.
2934     * Don't list domain groups from BUILTIN.
2935     * Fix memleak in policy handle utility functions.
2936     * Decrease winbindd startup time by only contacting trusted 
2937       domains as necessary.
2938     * Allow winbindd to ask the DC for its domain for a trusted 
2939       DC.
2940     * Fix Netscape DS schema based on comments from 
2941       <thomas.mueller@christ-wasser.de>.
2942     * Correct case where adding a domain user to a XP local group 
2943       did a lsalookupname on the user without domain prefix, and 
2944       failed.
2945     * Fix segfault in winbindd caused by 'wbinfo -a'.
2946     
2948 o   Herb Lewis <herb@samba.org>
2949     * Fix typo for tag in proto file.
2950     * Add missing #ifdef HAVE_BICONV stuff.
2951     * Truncate Samba's netbios name at the first '.' (not 
2952       right to left).
2955 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
2956     * Bug fixes and enhancements to libsmbclient library.
2958     
2959 o   Jianliang Lu <j.lu@tiesse.com>
2960     * Enforce the 'user must change password at next login' flag.
2961     * Decode meaning of 'fields present' flags (improves support 
2962       for usrmgr.exe).
2963     * NTLMv2 fixes.
2964     * Don't force an upper case domain name in the ntlmssp code.
2965     
2967 o   L. Lucius <ib@digicron.com>.
2968     * type fixes.
2971 o   Jim McDonough <jmcd@us.ibm.com>
2972     * Add versioning support to tdbsam.
2973     * Update the IBM Directory Server schema with the OpenLDAP 
2974       file.
2975     * Various decoding fixes to improve usrmgr.exe support.
2976     * Fix statfs redeclaration of statfs struct on ppc
2977     * Implement support for password lockout of Samba domain 
2978       controllers and standalone servers.
2979     * Get MungedDial attribute actually working with full TS 
2980       strings in it for pdb_ldap.
2981     * BUG 1208 (partial): Improvements for working with expired krb5 
2982       tickets in winbindd.
2983     * Use timegm, or our already existing replacement instead of 
2984       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
2985     * Remove modifyTimestamp from list of our attributes.  
2986     * Fix lsalookupnames to check for domain users as well as local 
2987       users. 
2988     * Merge struct uuid replacement for GUID from trunk.
2989     * BUG 1208: Finish support for handling expired tickets in 
2990       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
2993 o   Stefan Metzmacher <metze@samba.org>
2994     * Implement new VERSION schema based on subversion revision 
2995       numbers.
2996     * Add shadow_copy vfs module.
2997     * Fix segault in login_cache support.
3000 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
3001      o BUG 979 -- Fix quota display on AIX.
3004 o   James Peach <jpeach@sgi.com>
3005     * Correct check for printf() format when using the SGI MIPSPro 
3006       compiler.
3007     * BUG 1038: support backtrace for 'panic action' on IRIX.
3008     * BUG 768: Accept profileing arg to IRIX init script.
3009     * BUG 748: Relax arg parsing to sambalp script (IRIX).
3010     * BUG 758: Fix pdma build.
3011     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
3012       Jason Mader.
3013       
3015 o   Kurt Pfeifle <kpfeifle@danka.de>
3016     * Add example shell script for migrating drivers and printers 
3017       from a Windows print server to a Samba print server using 
3018       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
3021 o   Tim Potter <tpot@samba.org>
3022     * Fix logic bug in tdb non-blocking lock routines when 
3023       errno == EAGAIN.
3024     * BUG 1025: Include sys/acl.h in check for broken nisplus 
3025       include files.      
3026     * BUG 1066: s/printf/d_printf/g in SWAT.
3027     * BUG 1098: rename internal msleep() function to fix build 
3028       problems on AIX.
3029     * BUG 1112: Fix for writable printerdata problem in python bindings.
3030     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
3031     * BUG 1155: enclose use of fchown() with guards.
3032     * Relicense tdb python module as LGPL.
3035 o   Richard Sharpe <rsharpe@samba.org>
3036     * Add support to smbclient for multiple logins on the same 
3037       session (based on work by abartlet@samba.org).
3038     * Correct blocking condition in smbd's use of accept() on IRIX.
3039     * Add support for printing out the MAC address on nmblookup.
3042 o   Simo Sorce <idra@samba.org>
3043     * Replace unknown_3 with fields_present in SAMR code.
3044     * More length checks in strlcat().
3047 o   Andrew Tridgell <tridge@samba.org>
3048     * Rewrote the AIX UESS backend for winbindd.
3049     * Fixed compilation with --enable-dmalloc.
3050     * Change tdb license to LGPL (see source/tdb/tdb.c).
3051     * Force winbindd to use schannel in clients connections to 
3052       DC's if possible.
3055 o   Jelmer Vernooij <jelmer@samba.org>
3056    * Fix ETA Calculation when resuming downloads in smbget.
3057    * Add -O (for writing downloaded files to standard out) 
3058      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
3059     * Fix syntax error in example mysql table
3061            
3062 o   TAKEDA yasuma <yasuma@miraclelinux.com>
3063     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
3064       cmd_chown, cmd_chmod smbclient functions.
3067 o   Shiro Yamada <shiro@miraclelinux.com>
3068     * BUG 1129: install image files for SWAT.
3070       
3071     --------------------------------------------------
3073                   ==============================
3074                   Release Notes for Samba 3.0.2a
3075                         February 13, 2004
3076                   ==============================
3078 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
3079 to address, in particular, a problem when using pdbedit to 
3080 sanitize (--force-initialized-passwords) Samba's tdbsam 
3081 backend.   This is the latest stable release of Samba. This 
3082 is the version that all production Samba servers should be 
3083 running for all current bug-fixes.  
3085 ******************* Attention! Achtung! Kree! *********************
3087 Beginning with Samba 3.0.2, passwords for accounts with a last 
3088 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
3089 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
3090 strings.  This will cause authentication to fail for such
3091 accounts.  If you have valid passwords that meet this criteria, 
3092 you must update the last change time to a non-zero value.  If you 
3093 do not, then  'pdbedit --force-initialized-passwords' will disable 
3094 these accounts and reset the password hashes to a string of X's.
3096 ******************* Attention! Achtung! Kree! *********************
3099 Changes since 3.0.2
3100 -------------------
3102 commits
3103 -------
3105 Please refer to the CVS log for the SAMBA_3_0 branch for complete
3106 details.  The list of changes per contributor are as follows:
3109 o   Jeremy Allison <jra@samba.org>
3110     * Added paranoia checks in parsing code.
3111     
3113 o   Andrew Bartlett <abartlet@samba.org>
3114     * Ensure that changes to uninitialized passwords in ldapsam 
3115       are written to the DIT.
3118 o   Gerald (Jerry) Carter <jerry@samba.org>
3119     * Fixed iterator in tdbsam.
3120     * Fix bug that disabled accounts with a valid NT password 
3121       hash, but no LanMan hash.
3122     
3124 o   Steve French <sfrench@us.ibm.com>
3125     * Added missing nosetuid and noexec options.
3127     
3128 o   Bostjan Golob <golob@gimb.org>
3129     * BUG 1046: Don't overwrite usernames of entries returned 
3130       by getpwent_list().
3133 o   Sebastian Krahmer <krahmer@suse.de>
3134     * Fixed potential crash bug in NTLMSSP parsing code.
3137 o   Tim Potter <tpot@samba.org>
3138     * Fixed logic in tdb_brlock error checking.
3140     
3141 o   Urban Widmark <urban@teststation.com>
3142     * Set nosuid,nodev flags in smbmnt by default.
3143     
3144     
3145         --------------------------------------------------
3146                   
3147                   =============================
3148                   Release Notes for Samba 3.0.2
3149                         February 9, 2004
3150                   =============================
3152 It has been confirmed that previous versions of Samba 3.0 are
3153 susceptible to a password initialization bug that could grant an 
3154 attacker unauthorized access to a user account created by the
3155 mksmbpasswd.sh shell script.
3157 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
3158 has assigned the name CAN-2004-0082 to this issue.
3160 Samba administrators not wishing to upgrade to the current 
3161 version should download the 3.0.2 release, build the pdbedit 
3162 tool, and run 
3164    root# pdbedit-3.0.2 --force-initialized-passwords
3165       
3166 This will disable all accounts not possessing a valid password
3167 (e.g. the password field has been set a string of X's).
3169 Samba servers running 3.0.2 are not vulnerable to this bug 
3170 regardless of whether or not pdbedit has been used to sanitize
3171 the passdb backend.
3173 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
3174 release include:
3176   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
3177   o Logging onto a Samba domain from Windows XP clients.
3178   o Problems with the %U and %u smb.conf variables in relation to 
3179     Windows 9x/ME clients.
3180   o Kerberos failures due to an invalid in memory keytab detection
3181     test.
3182   o Updates to the ntlm_auth tool.
3183   o Fixes for various SMB signing errors.
3184   o Better separation of WINS and DNS queries for domain controllers.
3185   o Issues with nss_winbind FreeBSD and Solaris.
3186   o Several crash bugs in smbd and winbindd.
3187   o Output formatting fixes for smbclient for better compatibility
3188     with scripts based on the 2.2 version.
3191 Changes since 3.0.1
3192 -------------------
3194 smb.conf changes
3195 ----------------
3197     Parameter Name              Action
3198     --------------              ------
3199     ldap replication sleep      New
3200     read size                   removed (unused)
3201     source environment          removed (unused)
3204 commits
3205 -------
3207 Please refer to the CVS log for the SAMBA_3_0 branch for complete
3208 details.  The list of changes per contributor are as follows:
3210 o   Jeremy Allison <jra@samba.org>
3211     * Revert change that broke Exchange clear text samlogons.
3212     * Fix gcc 3.4 warning in MS-DFS code.
3213     * Tidy up of NTLMSSP code.
3214     * Fixes for SMB signing errors
3215     * BUG 815: Workaround NT4 bug to support plaintext
3216       password logins and UNICODE.
3217     * Fix SMB signing bug when copying large files.
3218     * Correct error logic in mkdir_internals() (caused a panic
3219       when combined with --enable-developer).
3220     * BUG 830: Protect against crashes due to bad character 
3221       conversions.
3223       
3224 o   Petri Asikainen <paca@sci.fi>
3225     * BUG 330, 387:Fix single valued attribute updates when 
3226       working with Novell NDS.
3229 o   Andrew Bartlett <abartlet@samba.org>
3230     * Correctly handle per-pipe NTLMSSP inside a NULL session.
3231     * Fix segfault in gencache 
3232     * Fix early free() of encrypted_session_key.
3233     * Change DC lookup routines to more carefully separate
3234       DNS names (realms) from NetBIOS domain names.
3235     * Add new sid_to_dn() function for internal winbindd use.
3236     * Refactor cli_ds_enum_domain_trusts().
3237     * BUG 707: Implement range retrieval of ADS attributes (based 
3238       on work from Volker <vl@samba.org> and Guenther Deschner 
3239       <gd@suse.com>).
3240     * Automatically initialize the signing engine if a session key
3241       is available.
3242     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
3243       encoded strings, only form input in SWAT.
3244     * Resets the NTLMSSP state for new negotiate packets.
3245     * Add 2-byte alignments in net_samlogon() queries to parse 
3246       odd-length plain text passwords.
3247     * Allow Windows groups with no members in winbindd.
3248     * Allow normal authentication in the absence of a server 
3249       generated session key.
3250     * More optimizations for looking up UNIX group lists.
3251     * Clean up error codes and return values for pam_winbindd
3252       and winbindd PAM interface.
3253     * Fix string return values in ntlm_auth tool.
3254     * Fix segfault when 'security = ads' but no realm is defined.
3255     * BUG 722: Allow winbindd to map machine accounts to uids.
3256     * More cleanups for winbindd's find_our_domain().
3257     * More clearly detect whether a domain controller is an NT4
3258       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
3259     * Increase separation between DNS queries for hosts and queries
3260       for AD domain controllers.
3261     * Include additional NT_STATUS to PAM error mappings.
3262     * Password initialization fixes.
3264     
3265 o   Justin Baugh <justin.baugh@request.com>
3266     * BUG 948: Implement missing functions required for FreeBSD 
3267       nss_winbind support. 
3270 o   Alexander Bokovoy <ab@samba.org>
3271     * BUG 922: Make sure enable fast path for strlower_m() and 
3272       strupper_m().
3275 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
3276     * Fix crash when using 'security = server' and 'encrypt 
3277       passwords = no' by always initializing the session key.
3279       
3280 o   Dmitry Butskoj <buc@odusz.elektra.ru>
3281     * Fix for special files being hidden from admins.
3284 o   Gerald (Jerry) Carter <jerry@samba.org>
3285     * Fix bug in the lanman session key generation.  Caused 
3286       "decode_pw: incorrect password length" error messages.
3287     * Save the right case for the located user name in 
3288       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
3289     * BUG 897: Add well known rid for pre win2k compatible access
3290       group.
3291     * BUG 887: Correct typo in delete user script example.
3292     * Use short lived TALLOC_CTX* for allocating printer objects 
3293       from the print handle cache.
3294     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
3295     * Fix several warnings reported by the SUN Forte C compiler.
3296     * Fully control DNS queries for AD DC's using 'name resolve order'.
3297     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
3298     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
3299     * BUG 936: fix bind credentials for schannel binds in smbd.
3300     * BUG 446: Fix output of smbclient for better compatibility 
3301       with scripts based on the 2.2 version (including Amanda).
3302     * BUG 891, 949: Fedora packaging fixes.
3303     * Fix bug that caused rpcclient to incorrectly retrieve 
3304       the SID for a server (this causing all calls that required 
3305       this information to fail). 
3306     * BUG 977: Don't create a homes share for a user if a static 
3307       share already exists by the same name.
3308     * Removed unused smb.conf options.
3309     * Password initialization fixes.
3310     * Set the disable flag for template accounts created by
3311       mksmbpasswd.sh.
3312     * Disable any account has no passwords and does not have the
3313       ACB_PWNOTREQ bit set.
3316 o   Guenther Deschner <gd@suse.com>
3317     * Install smbwrapper.so should be put into the $(libdir) 
3318       and not $(bindir).
3319     * Add the capability to specify the new user password 
3320       for "net ads password" on the command line.
3321     * Correctly detect AFS headers on SuSE.
3322         
3324 o   James Flemer <jflemer@uvm.edu>
3325     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
3326       HAVE_SYS_ATTRIBUTES_H.
3329 o   Luke Howard <lukeh@PADL.COM>
3330     * Fix segfault in session setup reply caused by a early free().
3333 o   Stoian Ivanov <sdr@bultra.com>
3334     * Implement grepable output for smbclient -L.
3337 o   LaMont Jones <lamont@debian.org>
3338     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
3339       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
3340       not being defined).
3342       
3343 o   Volker Lendecke <vl@samba.org>
3344     * BUG 583: Ensure that user names always contain the short 
3345       version of the domain name.
3346     * Fix our parsing of the LDAP uri.
3347     * Don't show the 'afs username map' in the SWAT basic view.
3348     * Fix SMB signing issues in relation to failed NTLMSSP logins.
3349     * BUG 924: Fix return codes in smbtorture harness.
3350     * Always lower-case usernames before handing it to AFS code.
3351     * Add a German translation for SWAT.
3352     * Fix a segfaults in winbindd.
3353     * Fix the user's domain passed to register_vuid() from 
3354       reply_spnego_kerberos().
3355     * Add NSS example code in nss_winbind to convert UNIX 
3356       id's <-> Windows SIDs.
3357     * Display more descriptive error messages for login via 'net'.
3358     * Fix compiler warning in the net tool.
3359     * Fix length bug when decoding base64 strings.
3360     * Ensure we don't call getpwnam() inside a loop that is iterating 
3361       over users with getpwent().  This broke on glibc 2.3.2.
3364 o   Herb Lewis <herb@samba.org>
3365     * Fix bit rot in psec.
3368 o   Jianliang Lu <j.lu@tiesse.com>
3369     * Ensure we delete the group mapping before calling the delete 
3370       group script.
3371     * Define well known RID for managing the  "Power Users" group.
3372     * BUG 381: check builtin (not local) group SID when updating 
3373       group membership.
3374     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
3375       packet.
3378 o   John Klinger <john.klinger@lmco.com>
3379     * Implement initgroups() call in nss_winbind on Solaris.
3382 o   Jim McDonough <jmcd@us.ibm.com>
3383     * Fix regression in net rpc join caused by recent changes 
3384       to cli_lsa_query_info_policy().
3385     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
3386       machine account.
3389 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
3390     * BUG 570: Ensure that configure honors the LDFLAGS variable.
3393 o   Stefan Metzmacher <metze@samba.org>
3394     * Implement LDAP rebind sleep patch.
3395     * Revert to 2.2 quota code because of so many broken quota files 
3396       out there.
3397     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
3398                       XFS_USER_QUOTA -> USRQUOTA
3399                       XFS_GROUP_QUOTA -> GRPQUOTA
3400     * Fix disk_free calculation with group quotas.
3401     * Add debug class 'quota' and a lot of DEBUG()'s 
3402       to the quota code.
3403     * Fix sys_chown() when no chown() is present.
3404     * Add SIGABRT to fault handling in order to catch got a 
3405       backtrace if an error occurs the OpenLDAP client libs.
3408 o   <ndb@theghet.to>
3409     * Allow an existing LDAP machine account to be re-used when 
3410       joining an AD domain.
3413 o   James Peach <jpeach@sgi.com>
3414     * BUG 889: Change smbd to use pread/pwrite on platforms that 
3415       support these calls. Can lead to a significant speed increase.
3418 o   Tim Potter <tpot@samba.org>
3419     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
3420     * BUG 924: Fix typo in RW2 torture test.
3421     
3422     
3423 o   Richard Sharpe <rsharpe@samba.org>
3424     * Small fixes to torture.c to cleanup the error handling 
3425       and prevent crashes.
3428 o   J. Tournier <jerome.tournier@IDEALX.com>
3429     * Small fixes for the smbldap-tool scripts.
3432 o   Andrew Tridgell <tridge@samba.org>
3433     * Fix src len check in pull_usc2().
3434     
3435     
3436 o   Jelmer Vernooij <jelmer@samba.org>
3437     * Put functions for generating SQL queries in pdb_sql.c
3438     * Add pgSQL backend (based on patch by Hamish Friedlander)
3439     * BUG 908: Fix -s option to smbcontrol.    
3440     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
3441     * Fix for libnss_wins on IRIX platforms.
3442     * Fix swatdir for --with-fhs.
3445         --------------------------------------------------
3447                   =============================
3448                   Release Notes for Samba 3.0.1
3449                         December 15, 2003
3450                   =============================
3452 Some of the more common bugs in 3.0.0 addressed in the release 
3453 include:
3455   o Substitution problems with smb.conf variables.
3456   o Errors in return codes which caused some applications
3457     to fail to open files.
3458   o General Protection Faults on Windows 2000/XP clients
3459     using Samba point-n-print features.
3460   o Several miscellaneous crash bugs.
3461   o Access problems when enumerating group mappings are
3462     stored in an LDAP Directory.
3463   o Several common SWAT bugs when writing changes to
3464     smb.conf.
3465   o Internal inconsistencies when 'winbind use default
3466     domain = yes'
3470 Changes since 3.0.0
3471 ----------------------
3473     Parameter Name              Action
3474     --------------              ------
3475     hide local users            Removed
3476     mangled map                 Deprecated
3477     mangled stack               Removed
3478     passwd chat timeout         New
3481 commits
3482 -------
3484 o   Change the interface for init_unistr2 to not take a length 
3485     but a flags field.  We were assuming that 
3486     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
3487 o   Allow d_printf() to handle strings with escaped quotation 
3488     marks since the msg file includes the escape character (bug 489).
3489 o   Fix bad html table row termination in SWAT wizard code (bug 413).
3490 o   Fix to parse the level-2 strings.
3491 o   Fix for "valid users = %S" in [homes].  Fix read/write 
3492     list as well. 
3493 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
3494     This is the same way AC_CHECK_LIB works (bug 508).
3495 o   Testparm output fixes for clarity.
3496 o   Fix broken wins hook functionality -- i18n bug (bug 528).
3497 o   Take care of condition where DOS and NT error codes must differ.
3498 o   Default to using only built-in charsets when a working iconv 
3499     implementation cannot be located.
3500 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
3501     be done unconditionally (bug 550).
3502 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
3503 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
3504     --enable-debug=[yes|no] works correctly.
3505 o   Allow ^C to interrupt smbpasswd if using our getpass 
3506     (e.g. smbpasswd command).
3507 o   Support signing only on RPC's (bug 167).
3508 o   Correct bug that prevented  Excel 2000 clients from opening 
3509     files marked as read-only.
3510 o   Portability fix bugs 546 - 549).
3511 o   Explicitly initialize the value of AR for vendor makes that don't
3512     do this (e.g. HPUX 11).  (bug 552).
3513 o   More i18n fixes for SWAT (bug 413).
3514 o   Change the cwd before the postexec script to ensure that a
3515     umount will succeed.
3516 o   Correct double free that caused winbindd to crash when a DC 
3517     is rebooted (bug 437).
3518 o   Fix incorrect mode sum (bug 562).
3519 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
3520     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
3521 o   Add script to generate *msg files.
3522 o   Add Dutch SWAT translation file.
3523 o   Make sure to call get_user_groups() with the full winbindd 
3524     name for a user if he/she has one (bug 406).
3525 o   Fix up error code returns from Samba4 tester. Ensure invalid 
3526     paths are validated the same way.  
3527 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
3528 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
3529     libraries were found for $BACKEND.
3530 o   Move sysquotas autoconf tests to a separate file.
3531 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
3532     tester
3533 o   Make sure that the files that contain the static_init_$subsystem; 
3534     macro get recompiled after configure by removing the object 
3535     files.
3536 o   Ensure canceling a blocking lock returns the correct error 
3537     message.
3538 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
3539 o   Updated Japanese welcome file in SWAT.
3540 o   Fix to  nt-time <-> unix-time functions reversible.
3541 o   Ensure that winbindd uses the the escaped DN when querying
3542     an AD ldap server.
3543 o   Fix portability issues when compiling (bug 505, 550)
3544 o   Compile fix for tdbbackup when Samba needs to override 
3545     non-C99 compliant implementations of snprintf().
3546 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
3547 o   Make sure we break out of samsync loop on error.
3548 o   Ensure error code path doesn't free unmalloc()'d memory
3549     (bug 628).
3550 o   Add configure test for krb5_keytab_entry keyblock vs key 
3551     member (bug 636).
3552 o   Fixed spinlocks.
3553 o   Modified testparm so that all output so all debug output goes 
3554     to stderr, and all file processing goes to stdout.
3555 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
3556     and smbcquotas.
3557 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
3558     we have a devmode before copying a string to the devicename.
3559 o   Support mapping REALM.COM\user to a local user account (without 
3560     running winbindd)  for compatibility with 2.2.x release.
3561 o   Ensure we don't use mmap() on blacklisted systems.
3562 o   fixed a number of bugs and memory leaks in the AIX 
3563     winbindd shim
3564 o   Call initgroups() in SWAT before becomming the user so that
3565     secondary group permissions can be used when writing to 
3566     smb.conf.
3567 o   Fix signing problems when reverse connecting back to a 
3568     client for printer notify
3569 o   Fix signing problems caused by a miss-sequence bug.
3570 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
3571     Fixes NEXUS tools running on Win9x clients (bug 64).
3572 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
3573     SID could not be mapped.
3574 o   Fix segfault in mount.cifs helper when there is no options 
3575     specified during mount.
3576 o   Change the \n after the password prompt to go to tty instead 
3577     of stdout (bug 668).
3578 o   Stop net -P from prompting for machine account password (bug 451).
3579 o   Change in behavior to Not only change the effective uid but also
3580     the real uid when becoming unprivileged.
3581 o   Cope with Exchange 5.5 cleartext pop password auth.
3582 o   New files for support of initshutdown pipe.  Win2k doesn't 
3583     respond properly to all requests on the winreg pipe, so we need 
3584     to handle this new pipe (bug 534).
3585 o   Added more va_copy() checks in configure.in.
3586 o   Include fixes for libsmbclient build problems.
3587 o   Missing UNIX -> DOS codepage conversion in lanman.c.
3588 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
3589 o   Parameterize the listen backlog in smbd and make it larger by
3590     default. A backlog of 5 is way too small these days.
3591 o   Check for an invalid fid before dereferencing the fsp pointer
3592     (bug 696).
3593 o   Remove invalid memory frees and return codes in pdb_ldap.c.
3594 o   Prompt for password when invoking --set-auth-user and no 
3595     password is given.
3596 o   Bind the nmbd sending socket to the 'socket address'.
3597 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
3598     $LDFLAGS occurs before any library specification (bug 661).
3599 o   Fix large number of printf() calls for 64-bit size_t.
3600 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
3601     keyblock in the krb5 structs.
3602 o   Remove #include <compat.h> in hopes to avoid problems with 
3603     apache header files.
3604 o   Correct winbindd build problems on HP-UX 11.
3605 o   Lowercase netgroups lookups (bug 703).
3606 o   Use the actual size of the buffer in strftime instead of a made
3607     up value which just happens to be less than sizeof(fstring).  
3608     (bug 713).
3609 o   Add ldaplibs to pdbedit link line (bug 651).
3610 o   Fix crash bug in smbclient completion (bug 659).
3611 o   Fix packet length for browse list reply (bug 771).
3612 o   Fix coredump in cli_get_backup_list().
3613 o   Make sure that we expand %N (bug 612).
3614 o   Allow rpcclient adddriver command to specify printer driver 
3615     version (bug 514).
3616 o   Compile tdbdump by default.
3617 o   Apply patches to fix iconv detection for FreeBSD.
3618 o   Do not allow the 'guest account' to be added to a passdb backend 
3619     using smbpasswd or pdbedit (bug 624).
3620 o   Save LDFLAGS during iconv detection (bug 57).
3621 o   Run krb5 logins through the username map if the winbindd 
3622     lookup fails (bug 698).
3623 o   Add const for lp_set_name_resolve_order() to avoid compiler 
3624     warnings (bug 471).
3625 o   Add support for the %i macro in smb.conf to stand in for the for
3626     the local IP address to which a client connected.
3627 o   Allow winbindd to match local accounts to domain SID when 
3628     'winbind trusted domains only = yes' (bug 680).
3629 o   Remove code in idmap_ldap that searches the user suffix and group 
3630     suffix.  It's not needed and provides inconsistent functionality 
3631     from the tdb backend.
3632 o   Patch to handle munged dial string for Windows 2000 TSE.
3633     Thanks to Gaz de France, Direction de la Recherche, Service 
3634     Informatique Métier for their supporting this work by Aurelien 
3635     Degrémont <adegremont@idealx.com>.
3636 o   Correct the "smbldap_open: cannot access when not root error"
3637     messages when looking up group information (bug 281).
3638 o   Skip over the winbind separator when looking up a user.
3639     This fixes the bug that prevented local users from
3640     matching an AD user when not running winbindd (bug 698).
3641 o   Fix a problem with configure on *BSD systems. Make sure
3642     we add -liconv etc to LDFLAGS.
3643 o   Fix core dump bug when "security = server" and the authentication
3644     server goes away.
3645 o   Correct crash bug due to an empty munged dial string.
3646 o   Show files locked by a specific user (smbstatus -u 'user') 
3647     (bug 590).
3648 o   Fix bug preventing print jobs from display in the queue
3649     monitor used by Windows NT and later clients (bug 660).
3650 o   Fix several reported problems with point-n-print from
3651     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
3652     reply (bug 338, 527 & 643).
3653 o   Fix a handful of potential memory leaks in the LDAP code used
3654     by ldapsam[_compat] and the LDAP idmap backend.
3655 o   Fix for pdbedit error code returns (bug 763).
3656 o   Make sure we only enumerate group mapping entries  (not 
3657     /etc/group) even when doing local aliases.
3658 o   Relax check on the pipe name in a dce/rpc bind response to work 
3659     around issues with establishing trusts to a Windows 2003 domain.
3660 o   Ensure we mangle names ending in '.' in hash2 mangling method.
3661 o   Correct parsing issues with munged dial string.
3662 o   Fix bugs in quota support for XFS.
3663 o   Add a cleaner method for applications that need to provide 
3664     name->SID mappings to do this via NSS rather than having to 
3665     know the winbindd pipe protocol.
3666 o   Adds a variant of the winbindd_getgroups() call called 
3667     winbindd_getusersids() that provides direct SID->SIDs listing of 
3668     a users supplementary groups. This is enough to allow non-Samba 
3669     applications to do ACL checking.
3670 o   Make sure we don't append the 'ldap suffix' when writing out the 
3671     'ldap XXX suffix' values in SWAT (bug 328).
3672 o   Fix renames across file systems.
3673 o   Ensure that items in a list of strings containing whitespace are 
3674     written out surrounded by single quotes.  This means that both 
3675     double and single quotes are now used to surround strings in 
3676     smb.conf (bug 481).
3677 o   Enable SWAT to correctly determine if winbindd is running (bug 
3678     398).
3679 o   Include WWW-Authenticate field in 401 response for bad auth 
3680     attempt (bug 629).
3681 o   Add support for NTLM2 (NTLMv2 session security).
3682 o   Add support for variable-length session keys.
3683 o   More privilege fixes for group enumeration in LDAP (bug 281).
3684 o   Use the dns name (or IP) as the originating client name when
3685     using CUPS (bug 467).
3686 o   Fix various SMB signing bugs.
3687 o   Fix ACL propagation on a DFS root (bug 263).
3688 o   Disable NTLM2 for RPC pipes.
3689 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
3690     authentication.
3691 o   Change the name of the job passed off to cups from "Test Page" 
3692     to "smbprn.00000033 Test Page" so that we can get the smb 
3693     jobid back. This allow users to delete jobs with cups printing 
3694     backend (partial work on bug 770).
3695 o   Fix build of winbindd with static pdb modules.
3696 o   Retrieve the correct ACL group bits if the file has an ACL 
3697     (bug 802).
3698 o   Implement "net rpc group members": Get members of a domain group 
3699     in human-readable format.
3700 o   Add MacOSX (Darwin) specific charset module code.
3701 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
3702     can include the full name in gecos field (bug 587).
3703 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
3704 o   Implement 'net rpc group list [global|local|builtin]*' for a 
3705     select listing of the respective user databases.
3706 o   Don't automatically set NT status code flag unless client tells 
3707     us it can cope.
3708 o   Add 'net status [sessions|shares] [parseable]'.
3709 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
3710     bug 770).
3711 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
3712    (bug 608).
3713 o   Fix inverted logic in hosts allow/deny checks caused by 
3714     s/strcmp/strequal/ (bug 846).
3715 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
3716 o   Fix typo in 'hash' mangling algorithm.
3717 o   Support munged dial for ldapsam (bug 800).
3718 o   Fix process_incoming_data() to return the number of bytes handled 
3719     this call whether we have a complete PDU or not; fixes bug 
3720     with multiple PDU request rpc's broken over SMBwriteX calls 
3721     each.
3722 o   Fix incorrect smb flags2 for connections to pre-NT servers 
3723     (causes smbclient to fail to OS2 for example) (bug 821).
3724 o   Update version string in smbldap-tools Makefile to 0.8.2.
3725 o   Correct a problem with "net rpc vampire" mis-parsing the 
3726     alias member info reply.
3727 o   Ensure the ${libdir} is created by the installclientlib script.
3728 o   Fix detection of Windows 2003 client architecture in the smb.conf
3729     %a variable.
3730 o   Ensure that smbd calls the add user script for a missing UNIX 
3731     user on kerberos auth call (bug 445).
3732 o   Fix bugs in hosts allow/deny when using a mismatched 
3733     network/netmask pair.
3734 o   Protect alloc_sub_basic() from crashing when the source string 
3735     is NULL (partial work on bug 687).
3736 o   Fix spinlocks on IRIX.
3737 o   Corrected some bad destination paths when running "configure 
3738     --with-fhs".
3739 o   Add packaging files for Fedora Core 1.
3740 o   Correct bug in SWAT install script for non-english languages.
3741 o   Support character set ISO-8859-1 internally (bug 558).
3742 o   Fixed more LDAP access errors when looking up group mappings 
3743     (bug 281).
3744 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
3745     resolution to fail on local files on on domain members 
3746     (bug 875).
3747 o   Fix uninitialized variable in passdb.c.
3748 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
3749 o   Fix problem mounting directories when mount.cifs is installed 
3750     with the setuid bit on.
3751 o   Fix bug that prevent --mandir from overriding the defaults
3752     given in the --with-fhs macro.
3753 o   Fix bug in in-memory Kerberos keytab detection routines 
3754     in configure.in
3758 ######################################################################
3760               The original 3.0.0 release notes follow
3761               =======================================
3762                     WHATS NEW IN Samba 3.0.0
3763                         September 24, 2003
3764               =======================================
3767 Major new features:
3768 -------------------
3770 1)  Active Directory support.  Samba 3.0 is now able to  
3771     join a ADS realm as a member server and authenticate 
3772     users using LDAP/Kerberos.
3774 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
3775     and internally there is now a much better infrastructure for 
3776     multi-byte and UNICODE character sets.
3778 3)  New authentication system. The internal authentication system 
3779     has been almost completely rewritten. Most of the changes are 
3780     internal, but the new auth system is also very configurable.
3782 4)  New default filename mangling system.
3784 5)  A new "net" command has been added. It is somewhat similar to 
3785     the "net" command in windows. Eventually we plan to replace 
3786     numerous other utilities (such as smbpasswd) with subcommands 
3787     in "net".
3789 6)  Samba now negotiates NT-style status32 codes on the wire. This
3790     improves error handling a lot.
3792 7)  Better Windows 2000/XP/2003 printing support including publishing
3793     printer attributes in active directory.
3795 8)  New loadable module support for passdb backends and character 
3796     sets.
3798 9)  New default dual-daemon winbindd support for better performance.
3800 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
3801     domain and maintaining user, group and domain SIDs.
3803 11) Support for establishing trust relationships with Windows NT 4.0
3804     domain controllers.
3805   
3806 12) Initial support for a distributed Winbind architecture using
3807     an LDAP directory for storing SID to uid/gid mappings.
3808   
3809 13) Major updates to the Samba documentation tree.
3811 14) Full support for client and server SMB signing to ensure
3812     compatibility with default Windows 2003 security settings.
3814 15) Improvement of ACL mapping features based on code donated by
3815     Andreas Grünbacher.
3818 Plus lots of other improvements!
3821 Additional Documentation
3822 ------------------------
3824 Please refer to Samba documentation tree (included in the docs/ 
3825 subdirectory) for extensive explanations of installing, configuring
3826 and maintaining Samba 3.0 servers and clients.  It is advised to 
3827 begin with the Samba-HOWTO-Collection for overviews and specific 
3828 tasks (the current book is up to approximately 400 pages) and to 
3829 refer to the various man pages for information on individual options.
3831 We are very glad to be able to include the second edition of
3832 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
3833 (O'Reilly & Associates) in this release.  The book is available
3834 on-line at http://samba.org/samba/docs/ and is included with 
3835 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
3836 publisher for making "Using Samba" under the GNU Free Documentation 
3837 License.
3840 ######################################################################
3841 Upgrading from a previous Samba 3.0 beta
3842 ########################################
3844 Beginning with Samba 3.0.0beta3, the RID allocation functions
3845 have been moved into winbindd.  Previously these were handled
3846 by each passdb backend.  This means that winbindd must be running
3847 to automatically allocate RIDs for users and/or groups.  Otherwise,
3848 smbd will use the 2.2 algorithm for generating new RIDs.
3850 If you are using 'passdb backend = tdbsam' with a previous Samba 
3851 3.0 beta release (or possibly alpha), it may be necessary to 
3852 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
3853 to winbindd_idmap.tdb.  To do this:
3855 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
3856     once)
3857 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
3858     directory
3859 3)  run: (note that 'tdb>' is the tool's prompt for input)
3861        root# ./tdbtool /usr/local/samba/private/passdb.tdb
3862        tdb> show RID_COUNTER
3863        key 12 bytes
3864        RID_COUNTER
3865        data 4 bytes
3866        [000] 0A 52 00 00                                       .R.
3868        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
3869        ....
3870        record moved
3872 If you are using 'passdb backend = ldapsam', it will be necessary to 
3873 store idmap entries in the LDAP directory as well (i.e. idmap backend 
3874 = ldap).  Refer to the 'net idmap' command for more information on 
3875 migrating SID<->UNIX id mappings from one backend to another.
3877 If the RID_COUNTER record does not exist, then these instructions are
3878 unneccessary and the new RID_COUNTER record will be correctly generated
3879 if needed.  
3883 ########################
3884 Upgrading from Samba 2.2
3885 ########################
3887 This section is provided to help administrators understand the details
3888 involved with upgrading a Samba 2.2 server to Samba 3.0.
3891 Building
3892 --------
3894 Many of the options to the GNU autoconf script have been modified 
3895 in the 3.0 release.  The most noticeable are:
3897   * removal of --with-tdbsam (is now included by default; see section
3898     on passdb backends and authentication for more details)
3899     
3900   * --with-ldapsam is now on used to provided backward compatible
3901     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
3902     backend and authentication section for more details
3903   
3904   * inclusion of non-standard passdb modules may be enabled using
3905     --with-expsam.  This includes an XML backend and a mysql backend.
3906       
3907   * removal of --with-msdfs (is now enabled by default)
3908   
3909   * removal of --with-ssl (no longer supported)
3910   
3911   * --with-utmp now defaults to 'yes' on supported systems
3912   
3913   * --with-sendfile-support is now enabled by default on supported 
3914     systems
3915   
3916     
3917 Parameters
3918 ----------
3920 This section contains a brief listing of changes to smb.conf options
3921 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
3922 complete descriptions of new or modified parameters.
3924 Removed Parameters (order alphabetically):
3926   * admin log
3927   * alternate permissions
3928   * character set
3929   * client codepage
3930   * code page directory
3931   * coding system
3932   * domain admin group
3933   * domain guest group
3934   * force unknown acl user
3935   * hide local users
3936   * mangled stack
3937   * nt smb support
3938   * postscript
3939   * printer driver
3940   * printer driver file
3941   * printer driver location
3942   * read size
3943   * source environment
3944   * status
3945   * strip dot
3946   * total print jobs
3947   * use rhosts
3948   * valid chars
3949   * vfs options
3951 New Parameters (new parameters have been grouped by function):
3953   Remote management
3954   -----------------
3955   * abort shutdown script
3956   * shutdown script
3958   User and Group Account Management
3959   ---------------------------------
3960   * add group script
3961   * add machine script
3962   * add user to group script
3963   * algorithmic rid base
3964   * delete group script
3965   * delete user from group script
3966   * passdb backend
3967   * set primary group script
3969   Authentication
3970   --------------
3971   * auth methods
3972   * realm
3973   * passwd chat timeout
3975   Protocol Options
3976   ----------------
3977   * client lanman auth
3978   * client NTLMv2 auth
3979   * client schannel
3980   * client signing
3981   * client use spnego
3982   * disable netbios
3983   * ntlm auth
3984   * paranoid server security
3985   * server schannel
3986   * server signing
3987   * smb ports
3988   * use spnego
3990   File Service
3991   ------------
3992   * get quota command
3993   * hide special files
3994   * hide unwriteable files
3995   * hostname lookups
3996   * kernel change notify
3997   * mangle prefix
3998   * map acl inherit
3999   * msdfs proxy
4000   * set quota command
4001   * use sendfile
4002   * vfs objects
4003   
4004   Printing
4005   --------
4006   * max reported print jobs
4008   UNICODE and Character Sets
4009   --------------------------
4010   * display charset
4011   * dos charset
4012   * unicode
4013   * unix charset
4014   
4015   SID to uid/gid Mappings
4016   -----------------------
4017   * idmap backend
4018   * idmap gid
4019   * idmap uid
4020   * winbind enable local accounts
4021   * winbind trusted domains only
4022   * template primary group
4023   * enable rid algorithm
4025   LDAP
4026   ----
4027   * ldap delete dn
4028   * ldap group suffix
4029   * ldap idmap suffix
4030   * ldap machine suffix
4031   * ldap passwd sync
4032   * ldap replication sleep
4033   * ldap user suffix
4034   
4035   General Configuration
4036   ---------------------
4037   * preload modules
4038   * private dir
4040 Modified Parameters (changes in behavior):
4042   * encrypt passwords (enabled by default)
4043   * mangling method (set to 'hash2' by default)
4044   * passwd chat
4045   * passwd program
4046   * restrict anonymous (integer value)
4047   * security (new 'ads' value)
4048   * strict locking (enabled by default)
4049   * unix extensions (enabled by default)
4050   * winbind cache time (increased to 5 minutes)
4051   * winbind uid (deprecated in favor of 'idmap uid')
4052   * winbind gid (deprecated in favor of 'idmap gid')
4055 Databases
4056 ---------
4058 This section contains brief descriptions of any new databases 
4059 introduced in Samba 3.0.  Please remember to backup your existing 
4060 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
4061 upgrade databases as they are opened (if necessary), but downgrading 
4062 from 3.0 to 2.2 is an unsupported path.
4064 Name                    Description                             Backup?
4065 ----                    -----------                             -------
4066 account_policy          User policy settings                    yes
4067 gencache                Generic caching db                      no
4068 group_mapping           Mapping table from Windows              yes
4069                         groups/SID to unix groups        
4070 winbindd_idmap          ID map table from SIDS to UNIX          yes
4071                         uids/gids.
4072 namecache               Name resolution cache entries           no
4073 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
4074                         returned as part of a successful
4075                         net_sam_logon request 
4076 printing/*.tdb          Cached output from 'lpq                 no
4077                         command' created on a per print 
4078                         service basis
4079 registry                Read-only samba registry skeleton       no
4080                         that provides support for exporting
4081                         various db tables via the winreg RPCs
4084 Changes in Behavior
4085 -------------------
4087 The following issues are known changes in behavior between Samba 2.2 and 
4088 Samba 3.0 that may affect certain installations of Samba.
4090   1)  When operating as a member of a Windows domain, Samba 2.2 would 
4091       map any users authenticated by the remote DC to the 'guest account'
4092       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
4093       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
4094       current work around to re-establish the 2.2 behavior.
4095       
4096   2)  When adding machines to a Samba 2.2 controlled domain, the 
4097       'add user script' was used to create the UNIX identity of the 
4098       machine trust account.  Samba 3.0 introduces a new 'add machine 
4099       script' that must be specified for this purpose.  Samba 3.0 will
4100       not fall back to using the 'add user script' in the absence of 
4101       an 'add machine script'
4102   
4104 ######################################################################
4105 Passdb Backends and Authentication
4106 ##################################
4108 There have been a few new changes that Samba administrators should be
4109 aware of when moving to Samba 3.0.
4111   1) encrypted passwords have been enabled by default in order to 
4112      inter-operate better with out-of-the-box Windows client 
4113      installations.  This does mean that either (a) a samba account
4114      must be created for each user, or (b) 'encrypt passwords = no'
4115      must be explicitly defined in smb.conf.
4116     
4117   2) Inclusion of new 'security = ads' option for integration 
4118      with an Active Directory domain using the native Windows
4119      Kerberos 5 and LDAP protocols.
4121      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
4122      type which is neccessary for servers on which the 
4123      administrator password has not been changed, or kerberos-enabled 
4124      SMB connections to servers that require Kerberos SMB signing.
4125      Besides this one difference, either MIT or Heimdal Kerberos
4126      distributions are usable by Samba 3.0.
4127      
4129 Samba 3.0 also includes the possibility of setting up chains
4130 of authentication methods (auth methods) and account storage 
4131 backends (passdb backend).  Please refer to the smb.conf(5) 
4132 man page for details.  While both parameters assume sane default 
4133 values, it is likely that you will need to understand what the 
4134 values actually mean in order to ensure Samba operates correctly.
4136 The recommended passdb backends at this time are
4138   * smbpasswd - 2.2 compatible flat file format
4139   * tdbsam - attribute rich database intended as an smbpasswd
4140     replacement for stand alone servers
4141   * ldapsam - attribute rich account storage and retrieval 
4142     backend utilizing an LDAP directory.  
4143   * ldapsam_compat - a 2.2 backward compatible LDAP account 
4144     backend
4145     
4146 Certain functions of the smbpasswd(8) tool have been split between the 
4147 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
4148 utility.  See the respective man pages for details.
4149     
4150      
4151 ######################################################################
4152 LDAP
4153 ####
4155 This section outlines the new features affecting Samba / LDAP 
4156 integration.
4158 New Schema
4159 ----------
4160   
4161 A new object class (sambaSamAccount) has been introduced to replace 
4162 the old sambaAccount.  This change aids us in the renaming of 
4163 attributes to prevent clashes with attributes from other vendors.  
4164 There is a conversion script (examples/LDAP/convertSambaAccount) to 
4165 modify and LDIF file to the new schema.
4166   
4167 Example:
4168   
4169   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
4170   $ convertSambaAccount --sid=<Domain SID> \
4171     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
4172     --changetype=[modify|add]
4173         
4174 The <DOM SID> can be obtained by running 'net getlocalsid 
4175 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
4176 the format of the generated LDIF output--either create new entries 
4177 or modify existing entries.
4178     
4179 The old sambaAccount schema may still be used by specifying the 
4180 "ldapsam_compat" passdb backend.  However, the sambaAccount and
4181 associated attributes have been moved to the historical section of
4182 the schema file and must be uncommented before use if needed.
4183 The 2.2 object class declaration for a sambaAccount has not changed
4184 in the 3.0 samba.schema file. 
4185   
4186 Other new object classes and their uses include:
4187   
4188   * sambaDomain - domain information used to allocate rids 
4189     for users and groups as necessary.  The attributes are added
4190     in 'ldap suffix' directory entry automatically if 
4191     an idmap uid/gid range has been set and the 'ldapsam'
4192     passdb backend has been selected.
4193       
4194   * sambaGroupMapping - an object representing the 
4195     relationship between a posixGroup and a Windows
4196     group/SID.  These entries are stored in the 'ldap 
4197     group suffix' and managed by the 'net groupmap' command.
4198     
4199   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
4200     automatically and contains the next available 'idmap uid' and 
4201     'idmap gid'
4202     
4203   * sambaIdmapEntry - object storing a mapping between a 
4204     SID and a UNIX uid/gid.  These objects are created by the 
4205     idmap_ldap module as needed.
4207   * sambaSidEntry - object representing a SID alone, as a Structural
4208     class on which to build the sambaIdmapEntry.
4210     
4211 New Suffix for Searching
4212 ------------------------
4213   
4214 The following new smb.conf parameters have been added to aid in directing
4215 certain LDAP queries when 'passdb backend = ldapsam://...' has been
4216 specified.
4218   * ldap suffix         - used to search for user and computer accounts
4219   * ldap user suffix    - used to store user accounts
4220   * ldap machine suffix - used to store machine trust accounts
4221   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
4222   * ldap idmap suffix   - location of sambaIdmapEntry objects
4224 If an 'ldap suffix' is defined, it will be appended to all of the 
4225 remaining sub-suffix parameters.  In this case, the order of the suffix
4226 listings in smb.conf is important.  Always place the 'ldap suffix' first
4227 in the list.  
4229 Due to a limitation in Samba's smb.conf parsing, you should not surround 
4230 the DN's with quotation marks.
4233 IdMap LDAP support
4234 ------------------
4236 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
4237 following options would inform Samba that the idmap table should be
4238 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
4239 dc=org" partition.
4241  [global]
4242     ...
4243     idmap backend     = ldap:ldap://onterose/
4244     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
4245     idmap uid         = 40000-50000
4246     idmap gid         = 40000-50000
4248 This configuration allows winbind installations on multiple servers to
4249 share a uid/gid number space, thus avoiding the interoperability problems
4250 with NFS that were present in Samba 2.2.
4251     
4254 ######################################################################
4255 Trust Relationships and a Samba Domain
4256 ######################################
4258 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
4259 allocating uids and gids to trusted users and groups.  More
4260 information regarding Samba's support for establishing trust 
4261 relationships can be found in the Samba-HOWTO-Collection included
4262 in the docs/ directory of this release.
4264 First create your Samba PDC and ensure that everything is 
4265 working correctly before moving on the trusts.
4267 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
4268 4.0 domain named WINDOWS:
4270   1) create the trust account for SAMBA in "User Manager for Domains"
4271   2) connect the trust from the Samba domain using
4272      'net rpc trustdom establish GLASS'
4274 To create a trustlationship with SAMBA as the trusted domain:
4276   1) create the initial trust account for GLASS using
4277      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
4278      account for GLASS$ prior to this step (depending on your
4279      local configuration).
4280   2) connect the trust from a WINDOWS DC using "User Manager
4281      for Domains"
4283 Now join winbindd on the Samba PDC to the SAMBA domain using
4284 the normal steps for adding a Samba server to an NT4 domain:
4285 (note that smbd & nmbd must be running at this point)
4287    root# net rpc join -U root
4288    Password: <enter root password from smbpasswd file here>
4290 Start winbindd and test the join with 'wbinfo -t'.
4292 Now test the trust relationship by connecting to the SAMBA DC
4293 (e.g. POGO) as a user from the WINDOWS domain:
4295    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
4296    Password:
4298 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
4300    $ smbclient //crystal/netlogon -U root -W WINDOWS
4301    Password:
4303 ######################################################################
4304 Changes in Winbind
4305 ##################
4307 Beginning with Samba3.0.0beta3, winbindd has been given new account
4308 manage functionality equivalent to the 'add user script' family of
4309 smb.conf parameters.  The idmap design has also been changed to 
4310 centralize control of foreign SID lookups and matching to UNIX 
4311 uids and gids.
4314 Brief Description of Changes
4315 ----------------------------
4317 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
4318    reverted to the 2.2.x design.  This means that when resolving a 
4319    SID to a UID or similar mapping:
4321         a) First consult winbindd
4322         b) perform a local lookup only if winbindd fails to
4323            return a successful answer
4325    There are some variations to this, but these two rules generally
4326    apply.
4328 2) All idmap lookups have been moved into winbindd.  This means that
4329    a server must run winbindd (and support NSS) in order to achieve
4330    any mappings of SID to dynamically allocated UNIX ids.  This was
4331    a conscious design choice.
4333 3) New functions have been added to winbindd to emulate the 'add user 
4334    script' family of smbd functions without requiring that external
4335    scripts be defined.  This functionality is controlled by the 'winbind 
4336    enable local accounts' smb.conf parameter (enabled by default).
4338    However, this account management functionality is only supported 
4339    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
4340    must be shared among multiple Samba servers (such as a PDC and BDCs), 
4341    it will be necessary to define your own 'add user script', et. al.
4342    programs that place the accounts/groups in some form of directory
4343    such as NIS or LDAP.  This requirement was deemed beyond the scope
4344    of winbind's account management functions.  Solutions for 
4345    distributing UNIX system information have been deployed and tested 
4346    for many years.  We saw no need to reinvent the wheel.
4348 4) A member of a Samba controlled domain running winbindd is now able 
4349    to map domain users directly onto existing UNIX accounts while still
4350    automatically creating accounts for trusted users and groups.  This
4351    behavior is controlled by the 'winbind trusted domains only' smb.conf
4352    parameter (disabled by default to provide 2.2.x winbind behavior).
4354 5) Group mapping support is wrapped in the local_XX_to_XX() functions
4355    in smbd/uid.c.  The reason that group mappings are not included
4356    in winbindd is because the purpose of Samba's group map is to
4357    match any Windows SID with an existing UNIX group.  These UNIX
4358    groups can be created by winbindd (see next section), but the
4359    SID<->gid mapping is retreived by smbd, not winbindd.
4362 Examples
4363 --------
4365 * security = server running winbindd to allocate accounts on demand
4367 * Samba PDC running winbindd to handle the automatic creation of UNIX
4368   identities for machine trust accounts
4370 * Automtically creating UNIX user and groups when migrating a Windows NT
4371   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
4372   'net rpc vampire' for this to work.
4374    
4375 ######################################################################
4376 Known Issues
4377 ############
4379 * There are several bugs currently logged against the 3.0 codebase
4380   that affect the use of NT 4.0 GUI domain management tools when run
4381   against a Samba 3.0 PDC.  This bugs should be released in an early 
4382   3.0.x release.
4384 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
4385 filed against the Samba 3.0 codebase.
4388 ######################################################################
4389 Reporting bugs & Development Discussion
4390 #######################################
4392 Please discuss this release on the samba-technical mailing list or by
4393 joining the #samba-technical IRC channel on irc.freenode.net.
4395 If you do report problems then please try to send high quality
4396 feedback. If you don't provide vital information to help us track down
4397 the problem then you will probably be ignored.  
4399 A new bugzilla installation has been established to help support the 
4400 Samba 3.0 community of users.  This server, located at 
4401 https://bugzilla.samba.org/, has replaced the older jitterbug server 
4402 previously located at http://bugs.samba.org/.