1 ==================================
2 Release Notes for Samba 3.0.15pre2
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.14a 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
14 Additional features introduced in Samba 3.0.15pre2 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 ######################################################################
33 max stat cache size New
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,
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 recognize 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
64 * BUG 2581: Add size limit (in kb) to stat cache.
65 * Fix bug in the trans2 secondary processing.
66 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
67 * Add an SMB counter per connection struct for gathering
69 * BUG 2605: Ensure smbclient doesn't perform commands if
70 the "chdir" fails in a scripted set.
71 * Ensure a 'forced group' is added to the list of effective
72 gids when processing ACLs.
75 o Timur Bakeyev <timur@com.bat.ru>
76 * BUG 2546: Add support for FreeBSD EA API
79 o Gerald (Jerry) Carter <jerry@samba.org>
80 * Added support for \svcctl pipe rpcs.
81 * Added 'net rpc service' subcommand for managing Win32
83 * Refactoring work on the rpc [un]marshalling layer and
85 * Verify privilege name in 'net rpc rights privileges' in
86 order to provide better error messages.
87 * Cleanup rpc structures in rpc_spoolss.h.
88 * Cleanups and fixes for the \winreg server code.
89 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
92 o Jeremy Cooper <jeremy@ncircle.com>
93 * Added support for several new \winreg client rpcs.
96 o Guenther Deschner <gd@samba.org>
97 * Close handles on group creation in rpcclient to better
98 support mass group account creation.
99 * Fix account policy key lookup for minimum and maximum
101 * Fix some compiler warnings and add missing exclude-block
102 in 'net rpc share migrate'.
105 o Steve French <sfrench@us.ibm.com>
106 * Update list of mount options for mount.cifs.
107 * Add more defines for POSIX extensions to match the newly
108 added client implementation.
109 * Add initial support for cifs umount utility.
110 * Fix cifs mounts to handle commas embedded in prompted
111 password, and password and credential files.
112 * Fix cifs mounts to handle domain name and user name in
113 username field (in form domain\user).
116 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
117 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
121 o Tom Lackemann <cessnatomny@yahoo.com>
122 * BUG 2242: Patch to ensure that we only set the security
123 descriptor on an NTtransact create if we created the file.
126 o Volker Lendecke <vl@samba.org>
127 * Port some of the non-critical changes from HEAD to 3_0.
128 The main one is the change in pdb_enum_alias_memberships
129 to match samr.idl a bit closer.
130 * Close handles on user creation in rpcclient to better
131 support mass user account creation.
132 * Implement client RAP calls for enumusers/enumgroups level 0.
133 * Implement a new caching API for enumerating the pdb elements.
134 * Convert the RAP user and group enumeration functions to the
135 utilized the pdb_search API.
136 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
137 RestrictAnonymous environments.
138 * Internal passdb API changes for better search capabilities
139 (based on original work by Guenther Deschner).
142 o Herb Lewis <herb@samba.org>
143 * Compiler warning cleanups.
144 * smbwrapper Makefile and compile time check cleanups.
147 o Derrell Lipman <derrell@samba.org>
148 * add support for opening a file for write with O_APPEND
150 * Added smbsh/smbwrapper for Linux to example/libsmbclient
152 * Fix smbc_stat() from returning incorrect timestamps IFF
153 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
154 and not if it used cli-getatr() to retrieve the timestamps
156 * Fix handful of compiler warnings.
157 * BUG 2498, 2484: smbc_getxattr() fixes.
158 * BUG 1133: Added provision for overloading some global
159 configuration options via the new, per-user file
160 ~/.smb/smb.conf.append.
161 * BUG 2543: Properly cache anonymous username when reverting
162 to anonymous login, in libsmbclient.
163 * BUG 2505: Fix large file support in libsmbclient.
166 o Jason Mader <jason@ncac.gwu.edu>
167 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
170 o Jim McDonough <jmcd@us.ibm.com>
171 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
172 (in conjunction with Volker).
175 o Marcel Muller <mueller@maazl.de>
176 * Patch to fix the OS/2 EA_FROM_LIST info level call.
177 * Mangled names fix for OS/2 clients.
181 o James Peach <jpeach@sgi.com>
182 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
185 o Marcin Porwit <mporwit@centeris.com>
186 * Initial support for the \eventlog pipe.
189 o Simo Sorce <idra@samba.org>
190 * Allow Domain Admins to force user sessions to close via the
191 Windows Server Manager.
192 * Add support to 'net rpc right privileges <name>' to enumerate
193 accounts which possess a specific privilege.
196 o Mark Weaver <mark-clist@npsl.co.uk>
197 * Patch to fix sys_select so it can't drop signals if another
201 o Jelmer Vernooij <jelmer@samba.org>
202 * Remove --with-manpage-languages configure option.
206 Release Notes for older release follow:
208 --------------------------------------------------
209 ===============================
210 Release Notes for Samba 3.0.14a
212 ===============================
214 Common bugs fixed in 3.0.14a include:
216 o Compatibility issues between Winbind and Windows 2003 SP1
217 domain controllers (*2k3sp1*).
218 o MS-DFS errors with Windows XP SP2 clients.
219 o High CPU loads caused by infinite loops in the FindNext()
221 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
225 ######################################################################
234 o Jeremy Allison <jra@samba.org>
235 * Fixed invalid SMB_ASSERT() triggered by checking access on
245 Parameter Name Action
246 -------------- ------
247 dos filetimes Enabled by default
252 o Jeremy Allison <jra@samba.org>
253 * Prevent nt_status code support when negotiating protocols
255 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
256 as this SMB is DOS codepage only.
257 * BUG 2585: Fix printf() issues in smbpasswd which caused
259 * BUG 2563: Fix infinite loop on non-existent file with
261 * BUG 2581 (partial): Ensure if realloc fails on an internal
262 tdb we fail gracefully.
263 * Ensure that 'dos filetimes' works with ACLs.
264 * Set 'dos filetimes = yes' as the default for smb.conf.
267 o Gerald (Jerry) Carter <jerry@samba.org>
268 * Workaround autoconf issue to prevent debug symbols from
269 being included in the default build.
270 * Disable schannel on the \lsarpc pipe in order to successfully
271 enumerate users and groups (*2k3sp1*)
272 * Fix parsing error in rpc binds which broke NTLMSSP
273 authentication. And as a result broke CTL+ALT+DEL password
274 changes from a Windows 2003 SP1 member of a Samba domain
276 * Revert change to FindFirst() server code that broke WinXP
277 SP2 clients from launching *.exe files from a dfs target
279 * BUG 2588: Force smbclient to send netbios messages to port
280 139 unless otherwise instructed (based on patch from Thomas
284 o Volker Lendecke <vl@samba.org>
285 * Fix build on FreeBSD 4 where Winbind is not supported.
286 * Fix 'wbinfo --user-sids' when using domain local groups.
287 * Restrict domain local groups reported by 'wbinfo -r' to
288 the Samba server domain and not the users domain.
291 o Lin Li <linl@xandros.com>
292 * Ensure that winbind initializes internal trusted domain
293 structures when enumerating users and groups.
296 o Tim Potter <tpot@samba.org>
297 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
299 * Fix compiler warnings.
302 o <psz@maths.usyd.edu.au>
303 * Fix for possible root squash NFS bugs.
306 o Simo Sorce <irda@samba.org>
307 * Debian packaging fixes.
313 Release Notes for older release follow:
315 --------------------------------------------------
316 ==============================
317 Release Notes for Samba 3.0.13
319 ==============================
321 Common bugs fixed in 3.0.13 include:
323 o Infinite FindNext() loop from Windows 9x client when
324 copying or deleting files on a Samba file share using
326 o Numerous smbclient bugs when listing directories.
327 o Failures in smbclient when connecting to a Windows 9x
331 ######################################################################
338 o Jeremy Allison <jra@samba.org>
339 * Fix typo bug in smbclient where flags overwrote info level
340 in the cli_list_new().
341 * Fix old smbclient bug where ff_searchcount was being compared
342 to -1 resulting in processing a filename twice.
343 * Fix segv in smbclient caused by overwriting the last 2 bytes
345 * BUG 2530: Fix potential segv in smbclient when talking to a
346 Windows 9x file server.
347 * Fix last entry offset in cli_list_new() when using a
348 FindFirst/FindNext info level of 0x104.
349 * BUG 2501: Stop Win98 from looping doing FindNext on a
351 * BUG 2521: Fix error in access checks when user group ACLs.
354 o Gerald (Jerry) Carter <jerry@samba.org>
355 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
356 to delete all versions of a driver.
357 * BUG 2517: use the realm from smb.conf for 'net ads info' when
358 'disable netbios = yes'.
359 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
361 * Update RedHat packaging files to require cups support. Also
362 remove requirement for 'idmap {uid,gid}' settings in smb.conf
363 from winbindd init script.
364 * BUG 2516: fix compile issue on True64.
368 o Guenther Deschner <gd@samba.org>
369 * Check for the correct cli-struct when copying files in 'net
370 rpc printer' routines.
373 o Herb Lewis <herb@samba.org>
374 * Fix incorrect test in 'net rpc user' when the user is not
375 a member of any groups.
378 o Jim McDonough <jmcd@us.ibm.com>
379 * Make sure that enum_group_members() searches the correct suffix.
382 --------------------------------------------------
383 ==============================
384 Release Notes for Samba 3.0.12
386 ==============================
388 Common bugs fixed in 3.0.12 include:
390 o Winbind failures when using 'disable netbios = yes'
391 o Failure to establish a trust relationship via 'net rpc trust
393 o Various portability & compiler issues.
394 o Read only file deletion failure caused by new delete semantics
395 in Windows XP SP2 and the MS 04-044 security hotfix.
396 o Error messages from shared Excel workbooks residing on Samba
398 o Missing files in the output of smbclient -c 'dir' when run
399 against Windows file servers.
400 o Inability for Print Administrators to pause/resume/purge print
403 Additional features introduced in Samba 3.0.12:
405 o Performance enhancements when serving directories containing
406 large number of files.
407 o MS-DFS support added to smbclient.
408 o More performance improvements when using Samba/OpenLDAP based
409 DC's via the 'ldapsam:trusted=yes' option.
410 o Support for the Novell NDS universal password when using the
411 ldapsam passdb backend.
412 o New 'net rpc trustdom {add,del}' functionality to eventually
413 replace 'smbpasswd {-a,-x} -i'.
414 o New libsmbclient functionality.
418 =======================
419 Large Directory Support
420 =======================
422 Samba 3.0.12pre1 introduces a specific mechanism for dealing
423 with file services that frequently contain a large number of files
424 per directory. Historically Samba's performance has suffered
425 in such environments due to the translation from case
426 insensitive lookups by Windows client to the case sensitive
427 storage mechanisms used by UNIX filesystems.
429 Configuration details along with a short HOWTO can be found at:
431 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
434 ==================================
435 libsmbclient Binary Compatibility
436 ==================================
438 Please note that a change has been made to the _SMBCCTX structure
439 in source/include/libsmbclient.h. This change is not backwards
440 compatible with applications linked against the libsmbclient.so
441 library from Samba 3.0.11. However, it is compatible with all
442 other Samba 3.0.x releases. This means that it will be most likely
443 be necessary to recompile any applications linked against the
444 3.0.11 version of the library.
447 ######################################################################
454 Parameter Name Action
455 -------------- ------
456 allocation roundup size New
457 log nt token command New
458 write cache Deprecated
460 Changes since 3.0.12rc1
461 -----------------------
464 o Jeremy Allison <jra@samba.org>
465 * Debug log message cleanups.
466 * Add case insensitive search for a principal match on logon
467 verification in the system keytab (based on patch by
468 Michael Brown <mbrown@fensystems.co.uk>).
469 * Revert the previous SMB signing change from Nalin Dahyabhai
471 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
472 * Fix FindFirst() server code to deal with resume names of ".."
473 and "." (found by Jim McDonough).
474 * BUG 2451: Fix missing functions in full audit VFS module.
475 * Ensure that smbd logs failures reported by DISK_FREE()
476 (reported by Ying Li <ying.li2@hp.com>).
477 * Ensure that smbclient obeys the max protocol argument again.
478 * BUG 2335: Return correct error code for OS/2 clients (based on
479 negotiated protocol level).
480 * BUG 2460, 2464: remove dead code and unused variables
481 (reported by Jason Mader).
484 o Vince Brimhall <vbrimhall@novell.com>
485 * BUG 2453: Change the way pdb_nds.c handles users with no
486 Universal or Simple Password.
487 * NDS schema file corrections.
490 o Gerald (Jerry) Carter <jerry@samba.org>
491 * Various small compile fixes and cleanup warnings.
492 * BUG 2456: Fix compile failure on non-gcc platforms due to
496 o Guenther Deschner <gd@samba.org>
497 * Add example perl script to check for multiple LDAP entries
498 after running 'net rpc vampire'.
499 * Add more output when listing printer forms via rpcclient.
500 * Debug log message cleanup.
503 o William Jojo <jojowil@hvcc.edu>
504 * BUG 2445: Patch to avoid default ACLs on AIX.
507 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
508 * Implement better solution for backwards binary compatibility
509 in libsmbclient while adding new fields to struct _SMBCCTX.
512 o Mark Loeser <halcy0n@gentoo.org>
513 * BUG 2443: Compile fix for gcc4.
516 o Jim McDonough <jmcd@us.ibm.com>
517 * BUG 2338: Fix coredump when OS/2 checks for long file name
518 support (with .+,;=[].) (thanks to Guenter Kukkukk).
521 o John Terpstra <jht@samba.org>
522 * Add the capability to set account description using pdbedit.
525 o Doug VanLeuven <roamdad@sonic.net>
526 * Add more case/realm/name permutations to the kerberos keytab.
534 o Jeremy Allison <jra@samba.org>
535 * BUG 2146: Return correct allocation sizes so as not to crash
537 * BUG 962: Ensure that parsing of service names in smb.conf is
539 * BUG 2201, 2227: Support new delete semantics used by MS04-044
541 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
542 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
543 * Add special hooks when serving directories containing large
545 * Ensure that WINS negative name query responses and WACK
546 packets use the correct RR type of 0xA instead of reflecting
547 back what the query RR type was (0x20).
548 * BUG 2310: Only do 16-bit normalization on small dfree request.
549 * BUG 2323: Correct authentication failure when using plaintext
550 passwords from Windows XP clients.
551 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
552 work around issues building MS Visual Studio 6.0 project
553 on a Samba file share while restoring the pre-3.0.21pre1
555 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
556 stat when checking for existence of a pathname.
557 * Check the sticky bit on the parent directory for supporting
558 the new WinXP SP2 file deletion semantics.
559 * Various oplock, share mode, and byte range locking fixes
560 found by Connectathon tests.
561 * BUG 2271: Fix resume key issues in trans2FindFirst() client
563 * BUG 2382, 2045: More pending modtime and delayed write fixes
564 for MS Excel (incorporates partial patches from
565 ke_miyata@itg.hitachi.co.jp).
568 o Andrew Bartlett <abartlet@samba.org>
569 * Avoid length-limited intermediate copy of NT and LM responses
571 * Debug message cleanups in the NTLMSSP implementation.
574 o Manuel Baena <mbaena@lcc.uma.es>
575 * Print actual error message in smbmnt.c:fullpath().
578 o Vince Brimhall <vbrimhall@novell.com>
579 * Add support for Novell NDS universal password.
580 * BUG 2424: Ensure that uidNumber and gidNumber use match
584 o Gerald (Jerry) Carter <jerry@samba.org>
585 * Add trans2 client call for checking dfs referrals
586 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
587 when checking directories on modern CIFS servers.
588 * Add MS-DFS support to smbclient.
589 * Code cleanup of adt_tree.[ch].
590 * Add missing checks to allow root to manage user rights.
591 * Allow domain admins to manage rights assignments on domain members
593 * BUG 2333: Use the lpq command to pass in the correct printer name
594 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
596 * BUG 1439: make sure to initialize pointer to prevent invalid
598 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
600 * Add cups-devel to BuidlRequires directive in Fedora spec file.
601 * BUG 858: Fix order of popt args evaluation so we don't crash
602 when given no command line args.
603 * Remove dependency on bash for source/autogen.sh.
604 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
605 * Implement MS-DFS for recursive directory listings in smbclient.
606 * BUG 2394: Fix nmbd linking issue on IRIX.
607 * Only display the publish check box in the client's printer
608 properties dialog if we are a member of an AD domain.
609 * BUG 2363: allow 'in use' driver to be removed as long as
610 one 'Windows NT x86' driver remains.
611 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
613 * Enforce better printer.tdb cache consistency when removing
614 jobs from a print queue via SMB.
615 * Ensure that pause/resume/purge print queue commands are run
616 with the appropriate level of privilege necessary to actually
618 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
619 for 'printing = cups' installations that do not actually have
621 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
622 * BUG 2215: Rewrite questionable code that was causing gcc to
624 * Add server support for LsaLookupPrivValue().
627 o Kevin Dalley <kevin@kelphead.org>
628 * BUG 2398: Don't force smbclient to assume a dry run if the
629 target tarfile is /dev/null.
632 o Guenther Deschner <gd@samba.org>
633 * Fix crash bug in the client-spoolss enumdataex-call.
634 * Expand the valid-workstation-scheme by expanding names
635 beginning with a plus (+) as a unix group.
636 * Allow own netbios name to be set in smbclient's session setup.
637 * Better handling of LDAP over IPC connections that have expired
639 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
640 * Add examples/misc/adssearch.pl.
641 * BUG 2343: Build fixes.
642 * Support get_user_info_7 in SAMR server RPC.
643 * Fix server_role in the samr_query_dom_info calls.
646 o Steve French <sfrench@us.ibm.com>
647 * On failed mount (ENXIO) retry share name in uppercase (fix
648 mount to FastConnect AIX SMB server).
649 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
650 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
652 * Update for new CIFS POSIX info levels.
653 * Ignore users mount parm in mount.cifs.
656 o SATOH Fumiyasu <fumiya@samba.gr.jp>
657 * BUG 1549: Don't truncate service names in smbstatus.
660 o S Murthy Kambhampaty <smk_va@yahoo.com>
661 * Add idmap_rid module to Fedora and RedHat spec files.
664 o Volker Lendecke <vl@samba.org>
665 * BUG 2401: Flush internal getpwnam() cache after deleting a
667 * BUG 1604: Make winbind work with more than 10 trusted domains.
668 * Cleanup various compiler warnings.
669 * Fix a memory leaks in privileges code and passdb backends.
670 * Fixes for samr_lookup_sids() client call.
671 * Optimize _samr_query_groupmem with LDAP backend for large
673 * Support SIDs as %s replacements in the afs username map
675 * Add 'log nt token command' parameter. If set, %s is replaced
676 with the user sid, and %t takes all the group sids.
677 * Do not use the "Local Unix Group"-default description for
678 all kinds of group-mappings.
679 * Fix uninitialized variable in Linux nss_winbind library.
680 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
681 * Implement 'net afs impersonate'.
684 o Herb Lewis <herb@samba.org>
685 * Fix build problem when HAVE_POSIX_ACL is not defined.
686 * BUG 2417: Add help lines for net rpc group addmem and
690 o Jason Mader <jason@ncac.gwu.edu>
691 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340, 2341,
695 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
696 * Add support to libsmbclient for getting and setting DOS
697 attributes using EA functions.
698 * Fix libsmbclient's URL encoding/decoding.
699 * Replace browse listing URI queries with an internal options
700 structure (previous method violated the SMB URI syntax).
701 * Allow tree connects to be multiplexed over a single CIFS server
703 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
704 can determine a dead tree connection.
707 o Justin Ossevoort <justin@snt.utwente.nl>
708 * BUG 2316: Fix crashes in pdb_pgsql.
711 o Jim McDonough <jmcd@us.ibm.com>
712 * Fixes for server schannel implementation when 'restrict
713 anonymous = 1' is set in smb.conf.
714 * Fix bug in server side lookupsids reply that crashed lsass.exe
716 * Fix 'net rpc trustdom establish'.
717 * BUG 2062: Turn off broadcast for all 390 NICs.
718 * Fix 'net rpc trustdom add' to correctly add new domain trust
719 accounts. This will eventually replace 'smbpasswd -a -i'.
720 * Implement 'net rpc trustdom del', including client side of
721 samr_remove_sid_from_foreign_domain.
722 * Bring IBM Directory Server schema up to date with openldap
724 * Allow for better protection of sensitive attributes in IBM
728 o Stefan Metzmacher <metze@samba.org>
729 * Fix memleaks in the nttrans code.
732 o Mike Nix <mnix@wanm.com.au>
733 * Add SMBsplopen and SMBsplclose client calls.
736 o James Peach <jpeach@sgi.com>
737 * Fixes in string handling code.
738 * Fix oplock2 test in client smbtorture.
741 o Tim Potter <tpot@samba.org>
742 * Fix up example pdb modules after prototype change for
744 * BUG 2058: Fix for shared object creation in examples.
745 * BUG 2315: Fix segv in LSA privileges server code.
746 * Build fixes for python wrapper libraries.
749 o Richard Sharpe <rsharpe@samba.org>
750 * BUG 2044: Fix segv in profiles tool.
751 * Fix bogus error messages when enumerating user group
752 membership via 'net rpc'.
755 o Simo Sorce <idra@samba.org>
756 * Debian packaging fixes.
759 o Doug VanLeuven <roamdad@sonic.net>
763 o Jelmer Vernooij <jelmer@samba.org>
764 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
765 * BUG 1957: Implement minimal update of fields in mySQL pdb
769 o Torsten Werner <torsten.werner@assyst-intl.com>
770 * BUG 2405: Define 'lpstat' printcap output on HPUX.
773 o Shlomi Yaakobovich" <Shlomi@exanet.com>
774 * Detect infinite loops when traversing tdbs.
777 --------------------------------------------------
778 ==============================
779 Release Notes for Samba 3.0.11
781 ==============================
783 Common bugs fixed in 3.0.11 include:
785 o Crash in smbd when using CUPS printing.
786 o Parsing error of other SIDs included in the user_info_3
787 structure returned from domain controllers.
788 o Inefficiencies when searching non-AD LDAP directories.
789 o Failure to expand variables in user domain attributes
790 in tdbsam and ldapsam.
792 o Failure to retrieve certain attribute when migrating from
793 a Windows DC to a Samba DC via 'net rpc vampire'.
794 o Numerous printing bugs bugs including memory
795 bloating on large/busy print servers.
796 o Compatibility issues with Exchange 5.5 SP4.
799 Additional features introduced in Samba 3.0.11:
801 o Winbindd performance improvements.
802 o More 'net rpc vampire' functionality.
803 o Support for the Windows privilege model to assign rights
805 o New administrative options to the 'net rpc' command.
812 If "ldap user suffix" or "ldap machine suffix" are defined in
813 smb.conf, all user-accounts must reside below the user suffix,
814 and all machine and inter-domain trust-accounts must be located
815 below the machine suffix. Previous Samba releases would fall
816 back to searching the 'ldap suffix' in some cases.
823 Samba 3.0.11 supports the following assignable rights
825 SeMachineAccountPrivilege Add machines to domain
826 SePrintOperatorPrivilege Manage printers
827 SeAddUsersPrivilege Add users and groups to the domain
828 SeRemoteShutdownPrivilege Force shutdown from a remote system
829 SeDiskOperatorPrivilege Manage disk shares
831 These rights can be assigned to arbitrary users or groups
832 via the 'net rpc rights grant/revoke' command. More details
833 of Samba's privilege implementation can be found in the
834 Samba-HOWTO-Collection.
837 ######################################################################
847 Parameter Name Action
848 -------------- ------
849 afs token lifetime New
850 enable privileges New
851 ldap password sync Alias
852 min password length Deprecated
853 winbind enable local accounts Deprecated
858 o Jeremy Allison <jra@samba.org>
859 * Extend vfs to add seekdir/telldir/rewinddir.
861 * Fix bugs when handling secondary trans2 requests.
862 * Implementation of get posix acls in UNIX extensions.
863 * Added set posix acl functionality into the UNIX extensions code.
864 * Updated config.guess/config.sub .
865 * Fix error reply when 'follow symlinks = no'.
866 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
868 * Fixes for LARGE_READX support.
869 * Fix the problem we get on Linux where sendfile fails, but we've
870 already sent the header using send().
871 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
873 * BUG 2088: Ensure inherit permissions is only applied on a new
874 file, not an existing one.
875 * Don't go fishing for the krb5 authorization data unless we know
877 * Fixes for libsmbclient to ensure that interrupted system calls
878 are restarted minus the already expired portion of the timeout
879 (based on work by Derrell Lipman).
880 * More Unicode string parsing fixes.
881 * Convert the winreg pipe to use WERROR returns.
882 * Make all LDAP timeouts consistent (input from Joe Meadows
883 <jameadows@webopolis.com>).
884 * BUG 2231: Remove double "\\" from client findfirst.
885 * BUG 2238: Fix memory leak in shadow copy vfs.
886 * Return correct DOS/NT error code on transact named pipe on
888 * BUG 2211: Fix security descriptor parsing bug (based on work by
889 Mrinal Kalakrishnan <mail@mrinal.net>).
890 * BUG 2270: Fix memory leaks in cups printing backend support
891 (based on work by Lars Mueller).
892 * BUG 2255: Fix debug level in kerberos error messages.
893 * BUG 2110: Ensure we convert to ucs2 correctly after the
895 * Make strict locking an enum. Auto means use oplock optimization.
896 * Fix client & server to allow 127k READX calls.
897 * More *alloc fixes (includes additional fixes by Albert Chin.
898 * Catch sendfile errors correctly and return the correct values
899 we want the caller to return.
900 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
901 for better use by desktop environments such as GNOME.
902 * Ensure we can't remove a level II oplock without having the
903 shared memory area locked.
906 o Timur Bakeyev <timur@com.bat.ru>
907 * BUG 2100: change the way we check for errors after a dlopen().
908 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
911 o Andrew Bartlett <abartlet@samba.org>
912 * Clarify error message when 'lanman auth = no'.
913 * Remove the unnecessary UTF-8 conversion calls in the calls to
914 auth_winbind from smbd.
915 * Don't store the auth-user credentials with the cli_state* as
916 this can cause the schannel setup to fail when the auth-user
917 domain is not our primary domain.
920 o Grigory Batalov <bga@altlinux.org>
921 * Fix encoding while receiving of a message which was actually
922 sent using STR_ASCII.
925 o Daniel Beschorner <db@unit-netz.de>
926 * BUG 603: Correct access mask check for _samr_lookup_domain()
927 to work with Windows RAS server
930 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
931 * Fix missing printer_tdb reference decrement.
934 o Gerald (Jerry) Carter <jerry@samba.org>
935 * BUG 2073: fall back to smb_name if current_user_info is not
936 available in lp_file_list_changed().
937 * Fixes the spurious 'register_message_flags: tdb fetch failed'
939 * Don't run the background LPQ daemon when we are running in
941 * prevent the background LPQ daemon from updating the print queue
942 cache just because multiple smbd processes sent a message that
944 * consolidate printer searches to use find_service rather than
946 * BUG 2091: don't remove statically defined printers in
947 remove_stale_printers().
948 * Fix logic error in add_a_form() that only compared N characters
949 instead of the entire form name.
950 * BUG 2107: fix memory bloating caused by large numbers of
951 print_queue_updates() requests sent via messages.tdb.
952 * Check the setprinter(3) based on the access permissions on
953 the handle and avoid the call to print_access_check().
954 * Re-instantiate previous semantics for calling init_unistr2()
955 with a NULL source buffer.
956 * Support Windows privilege model for assigning rights
957 to specific SIDs. Based on work by Simo Sorce in the trunk
958 svn branch. This feature is controlled by the 'enable
959 privileges = [yes|no]' smb.conf(5) option.
960 * Add some smb.conf scripts for add/delete/change shares and
961 deleting cups printers.
962 * Expand variables in the profile path, logon home and logon script
963 values when using either tdbsam or ldapsam.
964 * Add Domain Admins (Full Control) to the default printer security
965 descriptor if we are a DC.
966 * RedHat and Fedora Packaging fixes for perl dependencies.
967 * Remove unused schema items from OpenLDAP schema file.
968 * Remove duplicate enumeration of "Windows x86" architecture
969 when listing printer drivers via rpcclient.
970 * Fail set_privileges() if 'enable privileges = no' to prevent
972 * Fix segfault in cups_queue_get().
973 * Tighten restrictions on changing user passwords when
974 the connected user possesses the SeMachineAccountPrivilege.
975 * Ensure we set NETBIOSNAME.domainname for the long machine name
976 when publishing printers in AD (based on input from Rob Foehl).
977 * Mark 'winbind enable local accounts' as deprecated.
978 * Mark testprns tool as deprecated.
979 * Allow root to grant/revoke privilege assignments.
980 * Correct interaction between user rights and se_access_check() on
982 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
984 * BUG 2262: Add support in configure.in for *freebsd6*.
985 * BUG 2266: Portability fixes for quota code on FreeBSD4.
986 * BUG 2264: Remove shutdown and abortshutdown commands from
987 rpcclient in favor of using the same functions in 'net'.
988 * BUG 2295: Prevent smbd from returning an empty server name
989 in certain lanman api calls.
990 * BUG 2290: Fix autogen.sh script in examples (based on original
991 patch from Lars Mueller).
992 * Fix bug enumerating domain trusts in security = ads.
993 * Fix segv in rpcclient's dsenumdomtrusts.
994 * Fix bug in expansion of %U and %G in included filenames.
995 * BUG 2291: Restrict creation of server trust and domain trust
996 accounts to members of the "Domain Admins" group.
998 o Nadav Danieli <nadavd@exanet.com>
999 * Short circuit some is_locked() tests if we are oplocked.
1002 o Guenther Deschner <gd@samba.org>
1003 * Allow 'localhost' as a valid server name in the smbd for the
1005 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
1006 Mewburn for the input).
1007 * BUG 2059: Add additional checks needed after logic change to the
1008 HAVE_WRFILE_KEYTAB detection test.
1009 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
1010 Samba DC. Allow us to lookup at least our own SID.
1011 * More fixes to have proper German in swat (Thanks to Reiner
1012 Klaproth and Björn Jacke.
1013 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
1014 setting security descriptors with smbcacls and using with
1015 the -S or -M switch.
1016 * Include the munged_dial, bad_password_count, logon_count, and
1017 logon_hours attributes when running 'net rpc vampire'.
1018 * Fix segfault in idmap_rid.
1019 * When winbindd is operating in the multi-mapping mode of
1020 idmap_rid, allow BUILTIN domain-mapping.
1021 * Display infolevel 12 in query_dom_info in rpcclient.
1022 * Fix bug in winbindd's lowercasing of usernames.
1023 * Allow -v or -l for displaying verbose groupmap-listing
1024 as well as "verbose".
1025 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
1027 * Close LDAP-Connection before retrying to open a new connection
1029 * Marking "min password length" as depreciated.
1030 * Implement SAMR query_dom_info-call info-level 8 server- and
1031 client-side, based on samba4-idl.
1032 * Allow rpcclient to define a port to use when connecting
1034 * Allow Account Lockout with Lockout Duration "forever" (until
1035 admin unlocks) to be set and displayed in User Manager.
1036 * Allow to set acb_mask in rpcclient's enumdomusers.
1037 * Add more generic rootDSE inspection function to check
1038 for given controls or extensions and remember these on a
1040 * Improve LDAP search efficiency by passing the acb_mask to
1042 * Fixes for ldapsam_enum_group_memberships().
1043 * Add createdomgroup to rpcclient.
1044 * Add "net rpc user RENAME"-command.
1045 * Display sam_user_info_7 in rpcclient.
1046 * Make multi-domain-mode in idmap_rid accessible from outside
1047 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
1048 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
1049 "Lockout Duration: Forever".
1050 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
1052 * Require assignment of Administrator SID in the passdb
1053 backend. Fall back to the default name of 'Administrator' if
1054 the lookup fails rather than using the first name in the
1055 default 'admin users' list.
1056 * Enhance LDAP failure debug messages.
1057 * BUG 2291: Call the 'add machine script' for server trust and
1058 domain trust accounts as well as workstation accounts.
1061 o Levente Farkas <lfarkas@lfarkas.org>
1062 * BUG 2299: Better logrotate scripts for RedHat and Fedora
1066 o Jay Fenlason <fenlason@redhat.com>
1067 * Fix crash in 'net join' due to calling free on
1069 * Several patches from RedHat's Fedora Core RPMS.
1072 o Rob Foehl <rwf@loonybin.net>.
1073 * Compiler warnings.
1074 * Try modifying printer published attributes before adding it a
1076 * Solaris packaging fixes.
1077 * Don't force the cups printer-make-and-model tag as the comment
1078 for autoloaded printers.
1079 * Implement caching of names from printcap to support a true
1080 'printcap cache time'.
1083 o Johann Hanne <jhml@gmx.net>
1084 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
1087 o Jeff Hardy <hardyjm@potsdam.edu>
1088 * Example script for 'add print command' when using CUPS.
1091 o Deryck Hodge <deryck@samba.org>
1092 * Add -P (--password-only-menu) to SWAT for displaying only the
1093 password change page to non-root users.
1096 o David Hu <david.hu@hp.com>
1097 * Copy structure from print_queue_update() message rather than
1098 referencing it. Fixes seg fault on HP-UX.
1101 o Buck Huppmann <buckh@pobox.com>
1102 * BUG 2186: Don't free uninitialized credentials.
1103 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
1104 dnsDomainName != realm.
1107 o Björn Jacke <bjoern@j3e.de>
1108 * BUG 2040: Ensure the locale is reset to C to get ASCII-
1109 compatible toupper/lower functions.
1112 o William Jojo <jojowil@hvcc.edu>
1113 * Fix HPUX sendfile and add configure.in tests and code for
1115 * AIX 5.3 compile fixes.
1118 o Volker Lendecke <vl@samba.org>
1119 * Optimize anonymous session setups by workstations in a
1121 * Reimplment the QueryUserAliases() server RPC reply.
1122 * Re-add the getpwnam-cache for performance.
1123 * Cache the result of a pdb_getsampwnam for later SID lookup
1125 * Unify the means of localtaing a user's global groups on a
1127 * Fix bug when serving the 'Start Menu' in a roaming user profile..
1128 * Map more pre-defined NT security descriptors to AFS acls.
1129 * Add timeout to AD search requests.
1130 * If a connection to a DC is requested (in winbindd), open
1131 connections simultaneously to all DCs found.
1133 * Fix logic error in handling of 'printcap name' parameter.
1134 * Prevent winbindd from SPAM'ing the log files with 'user root
1136 * Backport samr_DomInfo2 IDL specification from Samba 4.
1137 * Implement smbstatus -n, don't lookup users and groups.
1138 * Implement simple mapping that maps the space to another character
1139 defined by afsacl:space.
1140 * Add support for 'net idmap delete <idmap-file> <SID>'.
1141 * Add new parameter 'afs token lifetime' tells the AFS client
1142 when to throw away a token (patch from kllin@it.su.se).
1143 * Initial work to allow support for multiple pipe opens on a
1145 * Ensure that we still retrieve the netbios name of any DC
1146 listed as a 'password server' to work around cases where the
1147 DC was defined using an IP address or fqdn.
1148 * Fix memleak in winbindd connection code.
1149 * Fix cli_samr_queryuseraliases.
1150 * Allow wbinfo --user-sids to expand expand domain local groups.
1151 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
1152 * Fix parsing of other_sids in net_user_info3.
1153 * Correct bad failure logic when user was not a member of any
1154 domain local groups.
1157 o Jason Mader <jason@ncac.gwu.edu>
1158 * BUG 2113, 2289: Remove dead code.
1161 o Jim McDonough <jmcd@us.ibm.com>
1162 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
1163 clients. If it fails, fall back to WINREG.
1164 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
1165 * BUG 2198: Set password last change time when running 'net rpc
1167 * Add "refuse machine password change" policy field.
1170 o Luke Mewburn <lukem@NetBSD.org>
1171 * BUG 2150: shmget() - Use POSIX definitions instead of non-
1175 o Stefan Metzmacher <metze@samba.org>
1179 o Buchan Milne <bgmilne@mandrake.org>
1180 * Mandrake packaging fixes.
1183 o Lars Mueller <lmuelle@suse.de>
1184 * Fix build of libsmbclient on x86_64.
1185 * BUG 2013: Fix testsuite build issues when libsmbclient.so
1186 is installed in a non-default location.
1187 * BUG 2050: Calculate max_fd for select correctly.
1188 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
1192 o Jason Mader <jason@ncac.gwu.edu>
1193 * BUG 2069: Remove unused variables.
1194 * BUG 2075: Remove dead code paths.
1195 * BUG 2083: Fix compiler warnings caused by bad type casts.
1198 o James Peach <jpeach@sgi.com>
1199 * Fix rewinddir -> rewind_dir when using VFS macros.
1202 o Gavrie Philipson <gavrie@disksites.com>
1203 * BUG 1838: Remove stale printers imeeddiately when
1204 processing a SIGHUP and during smb.conf reload.
1207 o Tim Potter <tpot@samba.org>
1208 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
1209 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
1210 * Change the license for the winbindd external interface
1212 * HP-UX compile fixes.
1213 * Compile fixes after new setsampwent() API.
1216 o Richard Renard <rrenard@idealx.com>
1217 * Update Netscape DS 5.2 LDAP schema.
1220 o Simo Sorce <idra@samba.org>
1221 * Backport pdbedit changes from trunk.
1222 * Allows the add/change share command to create the shared
1223 directory directory on disk.
1224 * Log a warning in testparm if a print command is defined for
1225 a print service using 'printing = cups'.
1227 o Jelmer Vernooij <jelmer@samba.org>
1228 * Bug fixes for pdb_{xml,pqsql,xml}
1229 * Fixes for pdb_mysql.
1232 o Andrew Tridgell <tridge@samba.org>
1233 * Bring Samba3 into line with the Samba4 password change code.
1236 o Shiro Yamada <shiro@miraclelinux.com>
1237 * BUG 2190: Force SWAT to display parameters in unix charset and
1241 --------------------------------------------------
1242 ==============================
1243 Release Notes for Samba 3.0.10
1245 ==============================
1247 Common bugs fixed in 3.0.10 include:
1249 o Fix for security issues described in CAN-2004-1154.
1258 o Jeremy Allison <jra@samba.org>
1259 * Added checks surrounding all *alloc() calls to fix
1261 * Fix long standing memory size bug in bitmap_allocate().
1262 * Remove bogus error check in deferred open file serving
1266 o Thomas Bork <tombork@web.de>
1267 * Fix autoconf script on platforms using a version of GNU ld
1268 that does not include a date stamp in the output of --version.
1271 o Luke Mewburn <lukem@NetBSD.org>
1272 * Fix the swat install script to deal with the new image
1273 destination directory used by the docs.
1277 --------------------------------------------------
1279 =============================
1280 Release Notes for Samba 3.0.9
1282 =============================
1284 Common bugs fixed in 3.0.9 include:
1286 o Problem updating roaming user profiles.
1287 o Crash in smbd when printing from a Windows 9x client.
1288 o Unresolved symbols in libsmbclient which caused
1289 applications such as KDE's konqueror to fail when
1290 accessing smb:// URLs.
1300 o Jeremy Allison <jra@samba.org>
1301 * Correctly detect errno for no acl/ea support.
1302 * BUG 2036: Fix seg fault in 'net ads join'.
1305 o Gerald (Jerry) Carter <jerry@samba.org>
1306 * Solaris packaging fixes.
1307 * Fix seg fault in lanman printing code.
1308 * BUG 2017: fix testparm reporting for the passwd program
1310 * Fix output of smbstatus to match the man page.
1311 * BUG 2027: fix conflict with declaration MD5_CTX in system
1313 * 2028: Avoid false error messages when copying a long
1314 printer name to the device mode.
1317 o Guenther Deschner <gd@samba.org>
1318 * Allow deldriverex in rpcclient to delete drivers for a
1319 specific architecture and a specific version.
1320 * Fix a couple of rpcclient spoolss commands (setprinter,
1321 setprintername, getdriver) w.r.t to printer-naming scheme.
1322 Allow 'localhost' in the server string for certain server-side
1324 * BUG 2015: Do not fail on setting file attributes with
1325 acl support enabled.
1328 o Michel Gravey <michel.gravey@optogone.com>
1329 * Fix build when using gcc 3.0.
1332 o Volker Lendecke <vl@samba.org>
1333 * Fix tdb open logic when checking our local_pid after
1337 o Jim McDonough <jmcd@us.ibm.com>
1338 * BUG 1932: Fix crash in 'net getlocalsid' when run as
1342 o Luke Mewburn <lukem@NetBSD.org>
1343 BUG 1661: Fix KRB5_SETPW-defines
1346 o Buchan Milne <bgmilne@mandrake.org>
1347 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
1350 o Lars Müller <lmuelle@suse.de>
1351 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
1354 o Martin Zielinski <mz@seh.de>
1355 * Add DeletePrinterDriverEx() functionality to rpcclient.
1358 --------------------------------------------------
1360 =============================
1361 Release Notes for Samba 3.0.8
1363 =============================
1365 Common bugs fixed in 3.0.8 include:
1367 o Compile fixes for HP-UX
1368 o Fixes for the printer publishing code used when joined to
1370 o Incompatibilities with file system quotas.
1371 o Several bugs in the spoolss printing code and print system
1373 o Inconsistencies in the username map functionality when
1374 configured on domain member servers.
1375 o Various compile warnings and errors on various platforms.
1376 o Fixes for kerberos interoperability with Windows 200x
1377 domains when using DES keys.
1378 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
1379 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
1382 New features included in the 3.0.8 release are:
1384 o New migration functionality added the the net tool
1385 for files/directories, printers, and shares.
1386 o New experimental idmap backend for assigning uids/gids
1387 directly based on the user/group RID when acting as a
1388 member of single domain without any trusts.
1389 o Additional printer migration support for XP/2003 platforms.
1392 ===========================
1393 Change in Winbindd Behavior
1394 ===========================
1396 All usernames returned by winbindd are now converted to lower
1397 case for better consistency. This means any winbind installation
1398 relying on the winbind username will need to rename existing
1399 directories and/or files based on the username (%u and %U) to lower
1400 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
1401 include mail spool files, home directories, valid user lines in
1405 ======================
1406 Change in Username Map
1407 ======================
1409 Previous Samba releases would only support reading the fully qualified
1410 username (e.g. DOMAIN\user) from the username map when performing a
1411 kerberos login from a client. However, when looking up a map
1412 entry for a user authenticated by NTLM[SSP], only the login name would be
1413 used for matches. This resulted in inconsistent behavior sometimes
1414 even on the same server.
1416 Samba 3.0.8 obeys the following rules when applying the username
1419 * When performing local authentication, the username map is
1420 applied to the login name before attempting to authenticate
1422 * When relying upon a external domain controller for validating
1423 authentication requests, smbd will apply the username map
1424 to the fully qualified username (i.e. DOMAIN\user) only
1425 after the user has been successfully authenticated.
1428 ######################################################################
1437 Parameter Name Action
1438 -------------- ------
1439 force printername New
1440 sendfile disabled by default
1446 o Jeremy Allison <jra@samba.org>
1447 * Ensure extended security bit is on only if we negotiated
1449 * Simplify statcache to use an in-memory tdb.
1450 * If you're selecting a hash algorithm for tdb, you need
1451 to do it at open time.
1452 * Removed old dir caching code - not being used now we
1453 have the statcache anyway.
1454 * Simplify the mangle hash code to use an in-memory tdb.
1455 * Merge iconv changes from Samba 4 branch.
1456 * Fix parsing of names ending in dot and a few other error
1458 * BUG 1667: Smbpasswd file could be left locked on some
1460 * Fixes for smbclient tar functionality.
1461 * BUG 1743: Fix logic bug the deferred open code.
1462 * Don't try to set security descriptors on shares where
1463 this has been turned off.
1464 * Return correct error codes on old SEARCH call.
1465 * Ensure we set errno = E2BIG when we overflow in the
1466 fast-path character conversion code.
1467 * Fix the roundup problem (returning 1mb roundup) for
1468 non-Windows clients.
1469 * Added 'stat' command to smbclient to exercise the
1470 UNIX_FILE_BASIC info level.
1471 * Fix bug where we could incorrectly set sparse attribute.
1472 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
1473 (reported by Taj Khattra <taj.khattra@gmail.com>).
1474 * Remove locked keys tdb code.
1475 * BUG 1886: Prevent delete on close being set for readonly files
1476 (and return the correct error code).
1477 * Ensure we pass most of the new lock tests except for the cancel
1478 lock which is yet to be added (merged from Samba 4 branch).
1479 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
1480 * BUG 1956: Ensure errno is saved and restored consistently on a
1482 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
1483 that all of the appropriate service principal names are set
1484 upon joining an AD domain.
1485 * Fix the correct use of resume name in the trans2 code.
1486 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
1487 correct salt used when generated the DES key after joining an
1489 * Enhanced krb5 detection routines in the autoconf scripts.
1492 o Andrew Bartlett <abartlet@samba.org>
1493 * Avoid changing the machine account password in the passdb
1494 backend, when it has 'already been changed'. This occurs
1495 in situations where the secure channel between the workstation
1496 and the DC breaks down, such as occurred in the MS04-11
1498 * Fix utility name in error message in ntlm_auth.
1499 * Fix NTLMv2 for use with pam_winbind.
1500 * Remove conversion to and from UTF8 on the winbind pipe.
1501 * Allow 'require_membership_of' and 'require-membership-of'.
1502 * Fix the error code for 'you didn't specify a domain' in
1504 * Use sys_getgroups() rather than scanning all groups
1505 when generating SAMR replies.
1508 o Igor Belyi <sambauser@katehok.ac93.org>
1509 * Ensure pdb user is deleted first before deleting UNIX
1510 user (LDAP backend needs this ordering).
1513 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
1514 * Fix core dump in 'net rpc vampire'.
1517 o Vince Brimhall <vbrimhall@novell.com>
1518 * Make ldapsam_compat robust against NULL attributes.
1521 o Gerald Carter <jerry@samba.org>
1522 * Don't limit the number of groups returned by winbindd_getgroups()
1524 * BUG 1519: Match Windows 2000 behavior when opening a
1525 printer using a servername in the form of an IP address or
1527 * BUG 1907: remove extra slashes from the printer name in
1528 getprinterdriverdir_1().
1529 * Fix standard_sub_snum() to use the current user's gid.
1530 * Fix background queue update bug (based on Volker's initial work
1532 * Add 'force printername' service parameter for people that want
1533 to enforce printername == sharename for spoolss printing.
1534 * Ensure consistent usage of the username map. Use the fully
1535 qualified DOMAIN\user format for 'security = domain|ads' and
1536 apply after authentication has succeeded.
1537 * Cosmetic fix for getent output -- lowercase the username only
1538 and not the complete domain\username string.
1539 * Packaging fixes for Solaris, Redhat, & Fedora.
1542 o Sean Chandler <sean.chandler@verizon.net>
1543 * Fix memlieak in cliconnect.c.
1546 o Darren Chew <darrenc@vicscouts.asn.au>
1547 * Solaris packaging fixes.
1550 o Nalin Dahyabhai <nalin@redhat.com>
1551 * SMB signing fix for 56-bit DES session keys.
1554 o Guenther Deschner <gd@samba.org>
1555 * add IA64 to the architecture table of printer-drivers.
1556 * Add file/share/printer migration functionality to
1558 * Show correct help for net groupmap commands.
1559 * Fix deadlock loop in winbind's required_membership_sid
1561 * Bring the same level of "required_membership"-functionality
1562 that ntlm_auth uses, to pam_winbindd as well.
1563 * Prevent "net lookup kdc" from seg-faulting when
1564 using our own implementation of krb5_lookup_kdc with
1566 * Adding getprinter level 7 to rpcclient.
1567 * Support migrating printers|shares|files from Server A
1568 to Server B while running the net-command on client C.
1569 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
1570 failure of this call non-critical (Thanks to Love @ Heimdal
1571 for the explanation and patch).
1572 * Fix typos in net's usage-output.
1573 * Fix the paranoia-check to ensure the ldap-attribute and the
1574 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
1576 * Fix several bugs in the _samr_query_useraliases() rpc reply.
1577 * Check correct string length when verifying password-policies
1578 and using extended characters (Thanks to Uwe Morgenroth from CC
1579 Compunet and Volker).
1580 * Make 'password history'-behavior in ldapsam more consistent.
1581 * Adding "Windows x64" as architecture string and driverdir "x64"
1582 for the 64bit AMD platform.
1583 * BUG 1343: Readd WKGUID-binding to match the correct default-
1584 locations of new User-, Group- and Machine-Accounts in Active
1585 Directory (this got lost during the last trunk-merge).
1586 * Fix printer-migration w.r.t. to new naming-convention for
1588 * Allow to migrate win2k3/xp-drivers as well.
1589 * Add client-side support of triggering ads printer publishing
1590 over msrpc setprinter calls inside the net-tool.
1591 * Add the idmap_rid module (written in conjunction with
1592 Sumit Bose <sbose@suse.de>).
1593 * BUG 1661: Fix build with recent heimdal releases.
1594 * Prevent idmap_rid from making unnecessary calls to domain
1595 controllers for trusted domains.
1598 o Arthur van Dongen <avdongen@xs4all.nl>
1599 * Fix typos in pam_winbind log messages and SuSE
1603 o Rob Foehl <rwf@loonybin.net>
1604 * Typo fixes for log messages in printer publishing code.
1605 * Fix memory leak in printer publishing code.
1606 * Ensure print_backend_init() only gets called once.
1607 * Have smbd check the published status of all printers
1609 * Cleanup up the XXX_a_printer() API for consistency.
1610 * Refactored the printer publishing code and include better
1614 o Steve French <sfrench@us.ibm.com>
1615 * Fix IP address override in mount.cifs mount helper and clean
1616 up warning messages from the sparse tool and expand syntax help.
1617 * Strip guest mount option off before sending to kernel mount
1618 routine to avoid logging spurious message.
1621 o Satoh Fumiyasu <fumiya@samba.gr.jp>
1622 * BUG 1732: Limit share names returned by RAP based on windows
1623 character width, not unix character width.
1624 * BUG 1498: Ensure that acl entries are stored in the correct
1628 o Brett Funderburg <brett@deepfile.com>
1629 * Pass create options parameter to nt_create_andx() function
1630 from the python bindings.
1631 * BUG 1864: Add sd->type field to security descriptor Python
1633 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
1634 when trying to return the security descriptor for a file.
1635 * BUG 1884: Fixes for the Python bindings to use the value
1636 of the desired_access filed passed into the lsa_open_policy()
1640 o Michael Gravey <michel.gravey@optogone.com>
1641 * BUG 1776: Fix warnings when building modules caused by
1642 certain versions of GNU ld not using the the default
1643 --allow-shlib-undefined flag.
1646 o Chris Hertel <crh@samba.org>
1647 * Fix logic bug in splay tree data structure when finding
1649 * Fix bug where an invalid MAC address would be printed by
1650 a node status lookup from nmblookup.
1653 o Uli Iske <iske@elkb.de>
1654 * Update the DNS/eDirectory LDAP schema file.
1657 o Björn Jacke <bjacke@sernet.de>
1658 * BUG 1766: Unify charset-handling in Content-Type:-headers to
1659 UTF-8. Reformat msgstr in msg-files to UTF-8.
1660 * Do not use display charset for swat output.
1661 * Convert the share names correctly from unix encoding to web
1662 encoding and vice versa.
1663 * Convert files from status page from unix charset to UTF-8.
1666 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
1667 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
1670 o Tom Lackemann <cessnatomny@yahoo.com>
1671 * BUG 1954: Fix memory leak in posix acl code.
1674 o Volker Lendecke <vl@samba.org>
1675 * Robustnss fix for winbindd when sending multiple requests
1676 at a high rate for a slow operation.
1677 * Solve the problem of user sids ending up with gid's
1679 * Use sys_fork instead of fork for the dual daemon so that
1680 we get the correct debug pid in the logfiles.
1681 * Based on patch from jmcd, implement special lists for the LDAP
1682 user attributes to delete.
1683 * Fix creation of aliases via usrmgr. Winbind was too strict
1684 checking the type of sids.
1685 * Lowercase all usernames returned by winbind.
1686 * BUG 1545, 1823: Only issue the ldap extended password change
1687 operation if the ldap server supports it. Also ignore object
1688 class violation errors from the extended operation.
1689 * Optimization for 'idmap backend = ldap': When asking sid2id
1690 for the wrong type, don't ask ldap when we have the opposite mapping
1692 * Fix ldapsam_compat homeDrive.
1693 * Add usersidlist and allowedusers subcommands to the net tool
1694 in order to support scanning a file server's share and list
1695 all users who have permission to connect there.
1696 * Allow for multiple DC's to be named as #1c names in lmhosts.
1697 * Memory leak fixes.
1698 * Fix checks for the local pid of an smbd process after
1702 o Herb Lewis <herb@samba.org>
1703 * Added tdbtool to be built by default.
1706 o Love <lha@stacken.kth.se>
1707 * BUG 1955: Inconsistent error return.
1710 o Sorin Manolache <sorinm@gmail.com>
1714 o Jim McDonough <jmcd@us.ibm.com>
1715 * Allow 'net ads lookup' to rely on command line arguments
1716 if contacting an ADS server fails; utilize cldap for lookups.
1717 * Fixup formatting errors in TDB_LOG calls; add printf attribute
1718 support to tdb log functions.
1721 o Bill McGonigle <bill+samba@bfccomputing.com>
1722 * BUG 1926: Type in debug message.
1726 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
1730 o Luke Mewburn <lukem@NetBSD.org>
1731 * BUG 1782: Prevent testparm from displaying parameter synonyms.
1734 o Stefan Metzmacher <metze@samba.org>
1735 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
1736 * Fix client quota support.
1737 * Fix opening of system quota file.
1740 o Lars Mueller <lmuelle@suse.de>
1741 * Small fixes for autogen.sh to deal with version detection
1742 of autoconf and autoheader; fixes for examples using
1743 libtool to adhere to stricter syntax of newer version.
1746 o Henrik Nordstrom <hno@squid-cache.org>
1747 * Allow winbindd to return the correct number of groups
1748 when the groups array must be enlarged.
1751 o Narayana Pattipati <narayana.pattipati@wipro.com>
1752 * Solaris autoconf detection fixes.
1755 o Tim Potter <tpot@samba.org>
1756 * BUG 1360: (correct fix) Use -Wl when passing flags to
1758 * HP-UX compile fixes (from JBravo on #samba-technical).
1759 * BUG 1731: More HP-UX compiles fixes.
1760 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
1761 spits the dummy otherwise.
1762 * Fix bug in Python printerdata wrapper.
1763 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
1764 <bugzilla-samba@thewrittenword.com>).
1765 * Fix parameter confusion in priming of name-to-sid cache
1766 (Found by Qiao Yang).
1767 * BUG 1888: Remove '..' from all pre-processor commands.
1768 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
1772 o Matt Selsky <selsky@columbia.edu>
1773 * BUG 350: use autoconf 2.57 feature for checking header file
1774 preprocessing (fixes configure warnings on Solaris).
1777 o Richard Renard <rrenard@idealx.com>
1778 * Fix usermgr.exe and trust relationships.
1781 o Paul Szabo <psz@maths.usyd.edu.au>
1782 * Fix to make find_workgroup use the same
1783 truncation as create_workgroup.
1786 o Richard Sharpe <rsharpe@samba.org>
1787 * Ensure cli_write() can support writes >= 65536 bytes.
1790 o Simo Sorce <idra@samba.org>
1791 * Added check password script code in examples/auth/crackcheck/
1792 * Fix memory corruption bug caused in freeing static memory.
1795 o Andrew Tridgell <tridge@samba.org>
1796 * Remove lp_use_mmap() from map_file() since the latter
1797 is for read only and does not require coherence.
1798 * Ensure that the uuid pack/unpack routines do not go past
1799 the end of the structure.
1800 * Converted Samba 3 tree to use the new utf-16 aware iconv
1802 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
1803 * Ensure configure only uses '=' instead of the bashism '=='.
1804 * Reduces the number of tdb locking calls made on file IO.
1807 o Jelmer Vernooij <jelmer@samba.org>
1808 * Convert internal data to UTF-8 before calling libxml2.
1809 * Complain if 'password chat' doesn't contain the %u variable
1810 (based on a patch by Ronan Waide).
1814 * BUG 1541: Fix recursive ls in smbclient.
1817 o Igor Zhbanov <bsg@uniyar.ac.ru>
1818 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
1821 --------------------------------------------------
1823 =============================
1824 Release Notes for Samba 3.0.7
1826 =============================
1828 This is the latest stable release of Samba. This is the version
1829 that production Samba servers should be running for all
1830 current bug-fixes. There have been several important issues
1831 fixes since the 3.0.6 release. See the "Changes" section for
1832 details on exact updates.
1834 Common bugs fixed in 3.0.7 include:
1836 o Fixes for two Denial of Service vulnerabilities
1837 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
1838 o Winbind failure to return user entries under certain
1840 o Syntax errors in the OpenLDAP schema file (samba.schema).
1841 o Printing errors caused by not setting default values
1842 for the various printing commands.
1851 Parameter Name Action
1852 -------------- ------
1853 winbind enable local accounts disabled by default
1858 o Jeremy Allison <jra@samba.org>
1859 * Fix parsing of names ending in dot and a few other error
1861 * BUG 1674: Move the symlinks checks into reduce_name().
1862 * Fix memleak when checking the valid names smb.conf option.
1863 * Fix memleak on error return path in the file open code.
1864 * More paranoia checks in the hash2 mangling code.
1865 * Fix syntax error in configure.in.
1866 * Match Win2k3's behavior for pathname parsing error returns.
1867 * Make nmbd more robust against bad netbios packets
1869 * Add more checks for invalid ASN.1 packets for SPNEGO packets
1873 o Andrew Bartlett <abartlet@samba.org>
1874 * Janitor work in loadparm.c -- remove unused parameters.
1877 o Gerald Carter <jerry@samba.org>
1878 * BUG 1464: Ensure that printing commands are initialized even
1879 if the 'printing' parameter is not explicitly set.
1880 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
1881 Adharsh Praveen <rprav@india.hp.com>)
1882 * Work around parsing error in the print change notify code.
1883 * remove duplicate declaration of getprintprocdir from
1885 * Only use sAMAccountName and not userPrincipalName when looking
1886 up a username in AD since the breaks winbindd (lookup_name()
1887 only works with the sAMAccountName).
1888 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
1889 filling in the username in the user_info3.
1890 * Fix logic bug in the check for creating a user's home directory
1891 in register_vuid(); caused home directory to be mismatched to
1892 the first share in smb.conf under certain conditions.
1893 * BUG 1656: rename auto.a to auto.smb.
1894 * Ensure that we assign our pid to print jobs (and not our
1895 parent's pid); ensures that spooling jobs from dead smbds
1896 are removed from the tdb.
1897 * Disable 'winbind enable local accounts' by default.
1898 * Adding some initial checks for DragonFly (same as
1902 o Guenther Deschner <gd@samba.org>
1903 * Use SMB_ASSERT() to track down NULL printer names in
1905 * Revert fix for BUG 1474 to avoid unnecessary packaging
1909 o Olaf Flebbe <o.flebbe@science-computing.de>.
1910 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
1912 * BUG 1626: More compile fixes.
1915 o Rob Foehl <rwf@loonybin.net>
1916 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
1917 by attempts to sanitize the defined attributes.
1920 o SATOH Fumiyasu <fumiya@miraclelinux.com>
1921 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
1924 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
1925 * BUG 1657: Remove used initialized variable,
1926 * BUG 1658: Add a little bit of const.
1929 o Volker Lendecke <vl@samba.org>
1930 * If there's garbage in the pidfile, we should not panic
1931 but assume that no one else is around. We can't find the
1935 o Jim McDonough <jmcd@us.ibm.com>
1936 * Fixup format string in the tdb error messages.
1939 o Jonas Olsson <lexicon@lysator.liu.se>
1940 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
1941 reporting the list in usrmgr.exe.
1944 o Tim Potter <tpot@samba.org>
1945 * Fix out-of-tree builds (problem with the script to generate
1946 the svn version number).
1947 * BUG 1360: Need to use -Wl when passing flags to the linker.
1948 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
1949 doesn't have one of its own.
1951 o Simo Sorce <idra@samba.org>
1952 * Fixup compile issues on AIX caused by broken strlen() and
1954 * Update debian packaging files.
1957 o Dimitri van der Spek <dwspek@aboveit.nl>
1958 * Use the correct counter when copying group rids from the
1959 user_info3 struct in pam_winbind.
1962 o Qiao Yang <qyang@stbernard.com>
1963 * BUG 1622: Only cache the user
1966 --------------------------------------------------
1968 =============================
1969 Release Notes for Samba 3.0.6
1971 =============================
1973 Common bugs fixed in 3.0.6 include:
1975 o Schannel failure in winbindd.
1976 o Numerous memory leaks.
1977 o Incompatibilities between the 'write list' and 'force user'
1979 o Premature optimization of the open_directory() internal
1980 function that broke tools such as the ArcServe backup
1981 agent, Macromedia HomeSite, and Robocopy.
1982 o Corrupt workgroup names in nmbd's browse.dat.
1983 o Sharing violation errors commonly seen when opening
1984 when serving Microsoft Office documents from a Samba
1986 o Browsing problems caused by an apostrophe (') in the
1987 computer's description field.
1988 o Problems creating special file types from UNIX CIFS
1989 clients and enabling 'unix extensions'.
1990 o Fix stalls in smbd caused by inaccessible LDAP servers.
1991 o Remove various memory leaks.
1992 o Fix issues in the password lockout feature.
1994 New features introduced in this release include:
1996 O Support symlinks created by CIFS clients which
1997 can be followed on the server.
1998 o Using a cups server other than localhost.
1999 o Maintaining the service principal entry in the system
2000 keytab for integration with other kerberized services.
2001 Please refer to the 'use kerberos keytab' entry in
2002 smb.conf(5). When using the heimdal kerberos libraries,
2003 you must also specify the following in /etc/krb5.conf:
2005 default_keytab_name = FILE:/etc/krb5.keytab
2006 o Support for maintaining individual printer names
2007 stored separately from the printer's sharename.
2008 o Support for maintaining user password history.
2009 o Support for honoring the logon times for user in a
2013 ============================================
2014 unix extensions = yes (default) and symlinks
2015 ============================================
2017 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
2018 clients supporting the UNIX extensions to the CIFS protocol
2019 can create symlinks to absolute paths which will be **followed**
2020 by the server. This functionality has been requested in order
2021 to correctly support certain applications when the user's home
2022 directory is mounted using some type of CIFS client (e.g. the
2023 cifsvfs in the Linux 2.6 kernel).
2025 If this behavior is not acceptable for your production environment
2026 you can set 'wide links = no' in the specific share declaration in
2027 the server's smb.conf. Be aware that disabling wide link support
2028 out of a share in Samba may impact the server's performance due
2029 to the fact that smbd will now have to check each path additional
2030 times before traversing it.
2033 ========================
2034 Password History Support
2035 ========================
2037 The new password history feature allows smbd to check the new
2038 password in password change requests against a list of the user's
2039 previous passwords. The number of previous passwords to save can
2040 be set using pdbedit (4 in this example):
2042 root# pdbedit -P "password history" -C 4
2044 When using the ldapsam passdb backend, it is vital to secure the
2045 following attributes from access by non-administrative users:
2049 * sambaPasswordHistory
2051 You should refer to your directory server's documentation on how
2052 to implement this restriction.
2061 Parameter Name Action
2062 -------------- ------
2064 defer sharing violations New
2065 force unknown acl user New
2067 printcap cache time New
2068 use kerberos keytab New
2072 o Jeremy Allison <jra@samba.org>
2073 * Correct path parsing bug that broke DeletePrinterDriverEx().
2074 * Fix bugs in check_path_syntax() caught by asserts.
2075 * Internal change - rearrange internal global case setting
2076 variables to a per connection basis.
2077 * BUG 1345: Fix premature optimization in unix_convert().
2078 * Allow clients to truncate a locked file.
2079 * BUG 1319: Always check to see if a user as write access
2080 to a share, even when 'force user' is set.
2081 * Fix specific case of open that doesn't cause oplock break,
2082 or share mode check.
2083 * Correct sid type is WKN_GROUP, not alias. Added some
2084 more known types (inspired by patch from Jianliang Lu).
2085 * Allow creation of absolute symlink paths via CIFS clients.
2086 * Fix charset bug in when invoking send_mailslot().
2087 * When using widelinks = no, use realpath to canonicalize
2088 the connection path on connection create for the user.
2089 * Enhance stat open code.
2090 * Fix unix extensions mknod code path.
2091 * Allow unix domain socket creation via unix extensions.
2092 * Auto disable the 'store dos attribute' parameter if the
2093 underlying filesystem doesn't support EAs.
2094 * Implement deferred open code to fix a bug with Excel files
2096 * BUG 1427: Catch bad path errors at the right point. Ensure
2097 all our pathname parsing is consistent.
2098 * Fix SMB signing error introduced by the new deferred open
2100 * Change default setting for case sensitivity to "auto". (see
2101 commit message -- r1154 -- for details).
2102 * Add new remote client arch -- CIFSFS.
2103 * Allow smbd to maintain the service principal entry in the
2104 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
2105 Guenther Deschner, et. al.).
2106 * Fix longstanding memleak bug with logfile name.
2107 * Fix incorrect type in printer publishing (struct uuid,
2109 * Heimdal compile fixes after introduction of the new ketyab
2111 * Ensure we check attributes correctly on rename request.
2112 * Ensure we defer a sharing violation on rename correctly.
2113 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
2115 * Fix bogus error message when using "mangling method = hash"
2117 * Turn on sendfile by default for non-Win9x clients.
2118 * Handle non-io opens that cause oplock breaks correctly.
2119 * Ensure ldap replication sleep time is not more than 5 seconds.
2120 * Add support for storing a user's password history.
2121 LDAP portion of the code was based on a patch from
2122 Jianliang Lu <j.lu@tiesse.com>.
2123 * Correct memory leaks found in the password change code.
2124 * Fix support for the mknod command with the Linux CIFS client.
2125 * Remove support for passing the new password to smbpasswd
2126 on the command line without using the -s option.
2127 * Ensure home directory service number is correctly reused
2128 (inspired by patches from Michael Collin Nielsen
2129 <michael@hum.aau.dk>).
2130 * Fix to stop printing accounts from resetting the bas
2131 password and account lockout flags.
2132 * If a account was locked out by an admin (and has a bad
2133 password count of zero) leave it locked out until an admin
2134 unlocks it (but log a message).
2135 * Ensure we return the same ACL revision on the wire that
2137 * BUG 1578: Hardcode replacement for invalid characters as '_'
2138 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
2139 * Fix hashed password history for LDAP backends.
2140 * Enforce logon hours restrictions if confiogured (based on code
2141 from Richard Renard <rrenard@idealx.com>).
2142 * BUG 1606: Force smbd to disable sendfile with DOS clients
2143 and ensure that the chained header is filled in for ...&X
2145 * BUG 1602: Fix access to shares when all symlink support
2150 o Tom Alsberg <alsbergt@cs.huji.ac.il>
2151 * Allow pdbedit to export a single user from a passdb backend.
2154 o Andrew Bartlett <abartlet@samba.org>
2155 * Fix parsing bug in GetDomPwInfo().
2156 * Fix segfault in 'ntlm_auth --diagnostics'.
2157 * Re-enable code to allow sid_to_gid() to perform a group
2158 mapping lookup before checking with winbindd.
2159 * Fix memory leak in the trans2 signing code.
2160 * Allow more flexible GSS-SPENGO client and server operation
2162 * Improve smbd's internal random number generation.
2163 * Fix a few outstanding long password changes in smbd.
2164 * Fix LANMAN2 session setup code.
2167 o Eric Boehm <boehm@nortelnetworks.com>
2168 BUG 703: Final touches on netgroup case lookups.
2171 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
2172 * Ensure error status codes don't get overwritten in
2173 lsa_lookup_sids() server code.
2174 * Correct bug that caused smbd to overwrite certain error
2175 codes when returning up the call stack.
2176 * Ensure the correct sid type returned for builtin sids.
2179 o Gerald Carter <jerry@samba.org>
2180 * Fix a few bugs in the Fedora Packaging files.
2181 * Fix for setting the called name to by our IP if the
2182 called name was *SMBSERVER and *SMBSERV. Fixes issue
2183 with connecting to printers via \\ip.ad.dr.ess\printer
2185 * BUG 1315: fix for schannel client connections to servers
2186 when we haven't specifically negotiated AUTH_PIPE_SEAL.
2187 * Allow PrinterDriverData valuenames with embedded backslashes
2188 (Fixes bug with one of the Konica Fiery drivers).
2189 * Fixed string length miscalculation in netbios names that
2190 resulted in corrupt workgroup names in browse.dat.
2191 * When running smbd as a daemon, launch child smbd to update
2192 the lpq cache listing in the background.
2193 * Allow printers "Printers..." folder to be renamed to a string
2194 other than the share name.
2195 * Allow winbindd to use domain trust account passwords when
2196 running on a Samba DC to establish an schannel to remote
2198 * Fix bad merge and ensure that we always use tdb_open_log()
2199 instead of tdb_open_ex() (the former call enforce the 'use
2201 * BUG 1221: revert old change that used single and double
2202 quotes as delimeters in next_token(), and change
2203 print_parameter() to print out parm values surrounded by
2204 double quotes (instead of single quotes).
2205 * Prevent home directories added during the SMBsesssetup&X from
2206 being removed as unused services.
2207 * Invalidate the print object cache for open printer handles when
2208 smbd receives a message that an attribute on a given printer
2210 * Cause the configure script to exit if --enable-cups[=yes] is
2211 defined and the system does not have the cups devel files
2213 * BUG 1297: Prevent map_username() from being called twice
2215 * Ensure that we use the userPrincipalName AD attribute
2216 value for LDAP SASL binds.
2217 * Ensure we remove the tdb entry when deleting a job that
2219 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
2220 client sends a FindNextPrintChangeNotify() request without
2221 previously sending a FindFirstPrintChangeNotify(). Return
2222 the same error code as Windows 2000 SP4.
2223 * BUG 1516: Manually declare ldap_open_with_timeout() to
2224 workaround compiler errors on IRIX (or other systems without
2226 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
2228 * Corrected syntax error in the OID for sambaUnixIdPool,
2229 sambaSidEntry, & sambaIdmapEntry object classes.
2230 * Tighten the cache consistency with the ntprinters.tdb entry
2231 an the in memory cache associated with open printer handles.
2232 * Make sure that register_messages_flags() doesn't overwrite
2233 the originally registered flags.
2236 o Fabien Chevalier <fabien.chevalier@supelec.fr>
2237 * Debian BUG 252591: Ensure that the return value from the
2238 number of available interfaces is initialized in case no
2239 interfaces are actually available.
2242 o Guenther Deschner <gd@sernet.de>
2243 * Implement 'rpcclient setprintername'.
2244 * Add local groups to the user's NT_TOKEN since they are
2245 actually supported now.
2246 * Heimdal compile fixes after introduction of the new keytab
2248 * Correctly honor the info level parameter in 'rpcclient
2250 * Reintroduce 'force unknown acl user' parameter. When getting a
2251 security descriptor for a file, if the owner sid is not known,
2252 the owner uid is set to the current uid. Same for group sid.
2253 * Ensure that REG_SZ values in the SetPrinterData actually
2254 get written in UNICODE strings rather than ASCII.
2255 * Ensure that the last kerberos error return is not invalid.
2256 * Display share ACL entries from rpcclient.
2257 * Correct infinite loop in pam_winbind's verification of
2258 group membership in the 'other sids' field in the user_info3
2262 o Fabian Franz <FabianFranz@gmx.de>
2263 * Support specifying a port in the device URL passed to smbspool.
2266 o Steve French <sfrench@us.ibm.com>
2267 * Handle -S and user mount parms in mount.cifs.
2268 * Fix user unmount of shares mount with suid mount.cifs.
2269 * prevent infinite recusion in reopen_logs() when expanding
2270 the smb.conf variable %I.
2273 o Bjoern Jacke <bj@sernet.de>
2274 * Install libsmbclient into $(LIBDIR), not into hard coded
2275 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
2276 and an explicit configure --libdir setting.
2279 o <kawasa_r@itg.hitachi.co.jp>
2280 * Correct more memory leaks and initialization bugs.
2281 * Fix bug that prevented core dumps from being generated
2283 * Connect to the winbind pipe in non-blocking mode to
2284 prevent processes from hanging.
2285 * Memory leak fixes.
2288 o Stephan Kulow <coolo@suse.de>
2289 * Fix crash bug in libsmbclient.
2292 o Volker Lendecke <vl@samba.org>
2293 * Added vfs_full_audit module.
2294 * Add vfs_afsacl.c which can display & set AFS acls via
2295 the NT security editor.
2296 * Fix crash bug caused by trying to Base64 encode a NULL string.
2297 * Fix DOS error code bug in reply_chkpath().
2298 * Correct misunderstanding of the max_size field in
2299 cli_samr_enum_als_groups; it is more like an account_control
2300 field with individual bits what to retrieve.
2301 * Implement 'net rpc group rename' -- rename domain groups.
2302 * Implement the 'cups server' option. This makes it possible
2303 to have virtual smbd's connect to different cups daemons.
2304 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
2305 * Fix sid_to_gid() calls in winbindd to prevent loops.
2306 * Ensure that local_sid_to_gid() sets the type of the group on
2308 * Make sure that the clients are given back the IP address to
2309 which they connected in the case of a multi-homed host. Only
2310 affects strings the spoolss printing replies.
2311 * Fix the bad password lockout. This has not worked as pdb_ldap.c
2312 did not ask for the modifyTimestamp attribute, so it could
2313 not find it. Try not to regress by not putting that attrib
2314 in the main list but append it manually for the relevant searches.
2315 * Fix two memleaks in login_cache.c.
2316 * fixes memory bloat when unmarshalling strings.
2317 * Fix compile errors using gcc 3.2 on SuSE 8.2.
2318 * Fix the build for systems without kerberos headers.
2319 * Allow winbindd to handle authentication requests only when
2320 started without either an 'idmap uid' or 'idmap gid' range.
2321 * Fix the build for systems without ldap headers.
2322 * Fix interaction between share security descriptor and the
2323 'read only' smb.conf option.
2324 * Fix bug that caused _samr_lookupsids() with more than 32 (
2325 MAX_REF_DOMAINS) SIDs to fail.
2326 * Allow the 'idmap backend' parameter to accept a list of
2327 LDAP servers for failover purposes.
2328 * Revert code in smbd to remove a tdb when it has become
2330 * Add paranoid checks when mapping SIDs to a uid/gid to
2331 ensure that the type is correct.
2332 * Initial work on getting client support for sending mailslot
2334 * Add 'ldap timeout' parameter.
2335 * Dont always uppercase 'afs username map'.
2336 * Expand aliases for getusersids as well.
2337 * Improved NT->AFS ACL mapping VFS module.
2340 o Herb Lewis <herb@samba.org>
2341 * Add the acls debug class.
2342 * Fix logic bug in netbios name truncate routine.
2343 * Fix smbd crash caused by smbtorture IOCTL test.
2344 * Fix errno tromping before calling iconv to reset the
2346 * need to leave empty dacl so we can remove last ACE.
2349 o Jianliang Lu <Jianliang.Lu@getronics.com>
2350 * Fix to stop smbd hanging on missing group member in
2352 * Make sure Samba returns the correct group types.
2353 * Reset the bad password count password counts upon a successful login.
2356 o Jason Mader <jason@ncac.gwu.edu>
2357 * BUG 1385: Don't use non-consts in a structure initialization.
2360 o Jim McDonough <jmcd@us.ibm.com>
2361 * BUG 1279: SMBjobid fix for Samba print servers running on
2362 Big-Endian platforms.
2365 o Joe Meadows <jameadows@webopolis.com>
2366 * Add optional timeout parameter to ldap open calls.
2367 * Allow get_dc_list() to check the negative cache.
2370 o Stefan Metzmacher <metze@samba.org>
2371 * fix a configure logic bug for linux/XFS quotas when
2372 using --with-sys-quotas.
2373 * Use quota debug class in quota code.
2374 * print out the SVN revision by configure,
2377 o Buchan Milne <bgmilne@mandrake.org>
2378 * Mandrake packaging fixes.
2381 o Lars Mueller <lmuelle@suse.de>
2382 * BUG 1279: Added 'printcap cache time' parameter.
2383 * Fix afs related build issues on SuSE.
2384 * Fix compiler warnings in the kerberos client code.
2387 o James Peach <jpeach@sgi.com>
2388 * More iconv detection fixes for IRIX.
2389 * Compile fixed for systems that do not have C99/UNIX98 compliant
2390 vsnprintf by default.
2391 * Prevent smbd from attempting to use sendfile at all if it is
2392 not supported by the server's OS.
2393 * Allow SWAT to search for index.html when serving html files
2398 * Implement NFS quota support on FreeBSD.
2401 o Tim Potter <tpot@samba.org>
2402 * BUG 1360: Use -Bsymbolic when creating shared libraries to
2403 avoid conflicts with identical symbols in the global namespace
2404 when loading libnss_wins.so.
2407 o Richard Renard <rrenard@idealx.com>
2408 * Save the current password as it is being changed into the
2409 password history list.
2412 o Richard Sharpe <rsharpe@samba.org>
2413 * Fix error return codes on some lock messages.
2414 * BUG 1178: Make the libsmbclient routines callable
2416 * BUG 1333: Make sure we return an error code when
2418 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
2419 share mode locking requests fail.
2422 o Simo Sorce <idra@samba.org>
2423 * Update Debian stable & unstable packaging.
2424 * Tidy up parametric options in testparm output.
2427 o Richard Sharpe <rsharpe@samba.org>
2428 * Add sigchild handling to winbindd to restart the child
2429 daemon if necessary.
2432 o Tom Shaw <tomisfaraway@gmail.com>
2433 * Use winbindd_fill_pwent() consistently.
2436 o Nick Thompson <nickthompson@agere.com>
2437 * Protect smbd against broken filesystems which return zero
2441 o Andrew Tridgell <tridge@samba.org>
2442 * Fixed bug in handling of timeout in socket connections.
2445 o Nick Wellnhofer <wellnhofer@aevum.de>
2446 * Prevent lp_interfaces() list from being corrupted. Fixes
2447 bug where nmbd would lose the list of network interfaces
2448 on the system and consequently shutdown.
2451 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
2452 * Fix ntlm_auth memory leaks.
2455 o Jelmer Vernooij <jelmer@samba.org>
2456 * Additional NT status to unix error mappings.
2457 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
2458 get duplicate symbol errors.
2459 * Return an error when the last command read from stdin
2461 * Prepare for better error checking in tar.
2462 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
2465 --------------------------------------------------
2467 =============================
2468 Release Notes for Samba 3.0.5
2470 =============================
2472 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
2473 the exception of correcting the two security issues outlined
2476 ######################## SECURITY RELEASE ########################
2478 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
2479 CVE ID: CAN-2004-0600, CAN-2004-0686
2480 (http://cve.mitre.org/)
2483 This is the latest stable release of Samba. This is the version
2484 that production Samba servers should be running for all current
2487 It has been confirmed that versions of Samba 3 prior to v3.0.4
2488 are vulnerable to two potential buffer overruns. The individual
2489 details are given below.
2495 Affected Versions: Samba 3.0.2 and later
2497 The internal routine used by the Samba Web Administration
2498 Tool (SWAT v3.0.2 and later) to decode the base64 data
2499 during HTTP basic authentication is subject to a buffer
2500 overrun caused by an invalid base64 character. It is
2501 recommended that all Samba v3.0.2 or later installations
2502 running SWAT either (a) upgrade to v3.0.5, or (b) disable
2503 the swat administration service as a temporary workaround.
2505 This same code is used internally to decode the
2506 sambaMungedDial attribute value when using the ldapsam
2507 passdb backend. While we do not believe that the base64
2508 decoding routines used by the ldapsam passdb backend can
2509 be exploited, sites using an LDAP directory service with
2510 Samba are strongly encouraged to verify that the DIT only
2511 allows write access to sambaSamAccount attributes by a
2512 sufficiently authorized user.
2514 The Samba Team would like to heartily thank Evgeny Demidov
2515 for analyzing and reporting this bug.
2521 Affected Versions: Samba 3.0.0 and later
2523 A buffer overrun has been located in the code used to support
2524 the 'mangling method = hash' smb.conf option. Please be aware
2525 that the default setting for this parameter is 'mangling method
2526 = hash2' and therefore not vulnerable.
2528 Affected Samba 3 installations can avoid this possible security
2529 bug by using the default hash2 mangling method. Server
2530 installations requiring the hash mangling method are encouraged
2531 to upgrade to Samba 3.0.5.
2534 ##################################################################
2536 --------------------------------------------------
2538 =============================
2539 Release Notes for Samba 3.0.4
2541 =============================
2543 Common bugs fixed in Samba 3.0.4 include:
2545 o Password changing after applying the patch described in
2546 the Microsoft KB828741 article to Windows clients.
2548 o Managing print jobs via Windows on Big-Endian servers.
2549 o Several memory leaks in winbindd and smbd.
2550 o Compile issues on AIX and *BSD.
2553 --------------------
2558 o Jeremy Allison <jra@samba.org>
2559 * Fix path processing for DeletePrinterDriverEx().
2560 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
2564 o Andrew Bartlett <abartlet@samba.org>
2565 * Fix alignment bug in GetDomPwInfo().
2568 o Alexander Bokovoy <ab@samba.org>
2569 * Fix utime[s]() issues in smbwrapper on systems
2570 that can boot both the 2.4 and 2.6 Linux kernels.
2573 o Gerald Carter <jerry@samba.org>
2574 * Fedora packaging fixes.
2575 * BUG 1302: Fix seg fault by not trying to optimize a list of
2576 invalid gids using the wrong array size.
2577 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
2578 seen when 'security = share'.
2579 * Fix problems when using IBM's compiler on AIX.
2580 * Link Developer's Guide, Example Guide, and multi-page HOWTO
2581 into SWAT's welcome page.
2582 * BUG 1293: fix double free in printer publishing code.
2585 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
2586 * Fix for handling timeouts in socket connections.
2589 o Michel Gravey <michel.gravey@optogone.com>
2590 * BUG 483: patch from to fix password hash creation in SWAT.
2593 o Volker Lendecke <vl@samba.org>
2594 * Close the open NT pipes before the tdis.
2595 * Fix AFS related build issues.
2596 * Handle error conditions when base64 encoding a blob of 0 bytes.
2599 o Herb Lewis <herb@samba.org>
2600 * Added 'acls' debug class.
2602 o kawasa_r@itg.hitachi.co.jp
2603 * Multiple variable initialization and memory leak fixes.
2606 o Stephan Kulow <coolo@suse.de>
2607 * Fix string length bug in libsmbclient that caused KDE's
2609 * BUG 429: More libsmbclient fixes.
2612 o Jim McDonough <jmcd@us.ibm.com>
2613 * BUG 1007, 1279: Store the print job using a little-endian key.
2617 o Compile fix for OpenBSD (ENOTSUP not supported).
2620 o Stefan Metzmacher <metze@samba.org>
2621 * Correct bug in disks quota views from explorer.
2624 o Tim Potter <tpot@samba.org>
2625 BUG 1305: Correct debug output.
2628 o Richard Sharpe <rsharpe@samba.org>
2629 * Fix incorrect error code mapping.
2632 o Jelmer Vernooij <jelmer@samba.org>
2633 * Add additional NT_STATUS errorm mappings.
2636 --------------------------------------------------
2638 =============================
2639 Release Notes for Samba 3.0.3
2641 =============================
2644 Common bugs fixed in Samba 3.0.3 include:
2646 o Crash bugs and change notify issues in Samba's printing code.
2647 o Honoring secondary group membership on domain member servers.
2648 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
2649 o Substitution errors for %[UuGg] in smb.conf.
2650 o winbindd crashes when using ADS security mode.
2651 o SMB signing errors.
2652 o Delays in winbindd startup caused by unnecessary
2653 connections to trusted domain controllers.
2654 o Various small memory leaks.
2655 o Winbindd failing due to expired Kerberos tickets.
2657 New features introduced in Samba 3.0.3 include:
2659 o Improved support for i18n character sets.
2660 o Support for account lockout policy based on
2661 bad password attempts.
2662 o Improved support for long password changes (>14
2663 characters) and strong password enforcement.
2664 o Support for Windows aliases (i.e. nested groups).
2665 o Experimental support for storing DOS attribute on files
2666 and folders in Extended Attributes.
2667 o Support for local nested groups via winbindd.
2668 o Specifying options to be passed directly to the CUPS libraries.
2670 Please be aware that the Samba source code repository was
2671 migrated from CVS to Subversion on April 4, 2004. Details on
2672 accessing the Samba source tree via anonymous svn can be found
2673 at http://svn.samba.org/samba/subversion.html.
2676 Changes since 3.0.2a
2677 --------------------
2681 Parameter Name Action
2682 -------------- ------
2685 only user Deprecated
2686 store dos attributes New
2688 winbind nested groups New
2694 o Jeremy Allison <jra@samba.org>
2695 * Ensure that Kerberos mutex is always properly unlocked.
2696 * Removed Heimdal "in-memory keytab" support.
2697 * Fixup the 'multiple-vuids' bugs in our server code.
2698 * Correct return code from lsa_lookup_sids() on unmapped
2699 sids (based on work by vl@samba.org).
2700 * Fix the "too many fcntl locks" scalability problem
2702 * Fixup correct (as per W2K3) returns for lookupsids
2703 as well as lookupnames.
2704 * Fixups for delete-on-close semantics as per Win2k3 behavior.
2705 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
2706 * Fix "unable to initialize" bug when smbd hasn't been run with
2707 new system and a user is being added via pdbedit/smbpasswd.
2708 * Added NTrename SMB (0xA5).
2709 * Fixup correct timeout values for blocking lock timeouts.
2710 * Fix various bugs reported by 'gentest'.
2711 * More locking fixes in the case where we own the lock.
2712 * Fix up regression in IS_NAME_VALID and renames.
2713 * Don't set allocation size on directories.
2714 * Return correct error code on fail if file exists and target
2716 * Added client "hardlink" comment to test doing NT rename with
2717 hard links. Added hardlink_internals() code - UNIX extensions
2718 now use this as well.
2719 * Use a common function to parse all pathnames from the wire for
2720 much closer emulation of Win2k3 error return codes.
2721 * Implement check_path_syntax() and rewrite string sub
2722 functions for better multibyte support.
2723 * Ensure msdfs referrals are multibyte safe.
2724 * Allow msdfs symlink syntax to be more forgiving.
2725 eg. sym_link -> msdfs://server/share/path/in/share
2726 or sym_link -> msdfs:\\server\share\path\in\share.
2727 * Cleanup multibyte netbios name support in nmbd ( based on patch
2728 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
2729 * Fix check_path_syntax() for multibyte encodings which have
2730 no '\' as second byte (based on work by ab@samba.org.
2731 * Fix the "dfs self-referrals as anonymous user" problem
2732 (based on patch from vl@samba.org).
2733 * BUG 1064: Ensure truncate attribute checking is done correctly
2734 on "hidden" dot files.
2735 * Fix bug in anonymous dfs self-referrals again.
2736 * Fix get/set of EA's in client library
2737 * Added support for OS/2 EA's in smbd server.
2738 * Added 'ea support' parameter to smb.conf.
2739 * Added 'store dos attributes' parameter to smb.conf.
2740 * Fix wildcard identical rename.
2741 * Fix reply_ctemp - make compatible with w2k3.
2742 * Fix wildcard unlink.
2743 * Fix wildcard src with wildcard dest renames.
2744 * BUG 1139: Fix based on suggestion by jdev@panix.com.
2745 swap lookups for user and group - group will do an
2746 algorithmic lookup if it fails, user won't.
2747 * Make EA's lookups case independent.
2748 * Fix SETPATHINFO in 'unix extensions' support.
2749 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
2750 the UNIX info levels, and the short case preserve names.
2753 o Timur Bakeyev <timur@com.bat.ru>
2754 * BUG 1144: only set --with-fhs when the argument is 'yes'
2755 * BUG 1152: Allow python modules to build despite libraries added
2756 to LDFLAGS instead of LDPATH.
2757 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
2760 o Craig Barratt <cbarratt@users.sourceforge.net>
2761 * BUG 389: Allow multiple exclude arguments with smbclient
2762 tar -Xr options (better support for Amanda backup client).
2765 o Andrew Bartlett <abartlet@samba.org>
2766 * Include support for linking with cracklib for enforcing strong
2768 * Add support for >14 character password changes from Windows
2770 * Add 'admin set password' capability to 'net rpc'.
2771 * Allow 'net rpc samdump' to work with any joined domain
2772 regardless of smb.conf settings.
2773 * Use an allocated buffer for count_chars.
2774 * Add sanity checks for changes in the domain SID in an
2776 * Implement python unit tests for Samba's multibyte string
2778 * Remove 'unicode' smb.conf option.
2779 * BUG 1138: Fix support for 'optional' SMB signing and other
2781 * BUG 169: Fix NTLMv2-only behavior.
2782 * Ensure 'net' honors the 'netbios name' in the smb.conf by
2784 * Support SMB signing on connections using only the LANMAN
2785 password and generate the correct the 'session key' for these
2787 * Implement --required-membership-of=, an ntlm_auth option
2788 that restricts all authentication to members of this particular
2790 * Improve our fall back code for password changes.
2791 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
2792 after the server had said something (such as an error).
2793 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
2796 o Alexander Bokovoy <ab@samba.org>
2797 * Fix incorrect size calculation of the directory name
2799 * Fix problems with very long filenames in both smbd and smbclient
2800 caused by truncating paths during character conversions.
2801 * Fix smbfs problem with Tree Disconnect issued before smbfs
2805 o Gerald Carter <jerry@samba.org>
2806 * BUG 850: Fix 'make installmodules' bug on True64.
2807 * BUG 66: mark 'only user' deprecated.
2808 * Remove corrupt tdb and shutdown (only for printing tdbs,
2809 connections, sessionid & locking).
2810 * decrement smbd counter in connections.tdb in smb_panic().
2811 * RedHat specfile updates.
2812 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
2813 * BUG 1147; bad pointer case in get_stored_queue_info()
2815 * BUG 761: read the config file before initialized default
2816 values for printing options; don't default to bsd printing
2818 * Allow the 'printing' parameter to be set on a per share basis.
2819 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
2820 * BUG 848: don't create winbind local users/groups that already
2822 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
2824 * BUG 488: fix the 'show client in col 1' button and correctly
2825 enumerate active connections.
2826 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
2827 problem when storing the updating pid for the lpq cache.
2828 * BUG 1007 (partial): Fix print change notify bugs.
2829 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
2830 and winbind use default domain = yes. Also ensures that
2831 * BUG 1151: Ensure that winbindd users are passed through
2833 * Fix client rpc binds for ASU derived servers (pc netlink,
2835 * BUG 417, 1128: Ensure that the current_user_info is set
2836 consistently so that %[UuGg] is expanded correctly.
2837 * BUG 1195: Fix crash in winbindd when the ADS server is
2839 * BUG 1185: Set reconnect time to be the same as the
2840 'winbind cache time'.
2841 * Ensure that we return the sec_desc in smb_io_printer_info_2.
2842 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
2843 * BUG 1095: Honor the '-l' option in smbclient.
2844 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
2846 * Ensure server schannel uses the auth level requested by the
2848 * Removed --with-cracklib option due to potential crash issue.
2849 * Fix -lcrypto linking problem with wbinfo.
2850 * BUG 761: allow printing parameter to set defaults on a per
2852 * Add 'cups options' parameter to allow raw printing without
2853 changing /etc/cups/cupsd.conf.
2854 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
2856 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
2857 * BUG 1288: resolve any machine netbios name (0x00) and not just
2859 * BUG 1199: Fix potential symlink issue in
2860 examples/printing/smbprint.
2863 o Robert Dahlem <Robert.Dahlem@gmx.net>
2864 * BUG 1048: Don't return short names when when 'mangled names = no'
2867 o Guenther Deschner <gd@suse.com>
2868 * Remove hard coded attribute name in the ads ranged retrieval
2870 * Add --with-libdir and --with-mandir to autoconf script.
2873 o Bostjan Golob <golob@gimb.org>
2874 * BUG 1046: Fix getpwent_list() so that the username is not
2875 overwritten by other fields.
2878 o Landon Fuller <landonf@opendarwin.org>
2879 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
2880 to fix user/group enumeration on systems whose libc does not
2881 call setgrent() before trying to enumerate users (i.e.
2885 o Steve French <sfrench@us.ibm.com>
2886 * Update mount.cifs to version 1.1.
2887 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
2888 * Fixes to minor security bug in the mount helper.
2889 * Fix credential file mounting for cifs vfs.
2890 * Fix free of incremented pointer in cifsvfs mount helper.
2891 * Fix path canonicalization of the mount target path and help
2892 text display in the cifs mount helper.
2893 * Add missing guest mount option for mount.cifs.
2896 o SATOH Fumiyasu <fumiya@miraclelinux.com>
2897 * BUG 1055; formatting fixes for 'net share'.
2898 * BUG 692: correct truncation of share names and workgroup
2900 * BUG 1088: use strchr_m() for query_host (smbclient -L).
2901 * Patch from to internally count characters correctly.
2904 o Paul Green <paulg@samba.org>
2905 * Update VOS _POSIX_C_SOURCE macro to 200112L.
2906 * Fix bug in configure.ion by moving the first use of
2907 AC_CHECK_HEADERS so it is always executed.
2908 * Fix configure.in to only use $BLDSHARED to select whether to
2909 build static or shared libraries.
2912 o Pat Haywarrd <Pat.Hayward@propero.net>
2913 * Make the session_users list dynamic (max of 128K).
2916 o Cal Heldenbrand <calzplace@yahoo.com>
2917 * Fix for for 'pam_smbpass migrate' functionality.
2920 o Chris Hertel <crh@samba.org>
2921 * fix enumeration of shares 12 characters in length via
2925 o Ulrich Holeschak <ulrich@holeschak.de>
2926 * BUG 932: fix local password change using pam_smbpass
2929 o Krischan Jodies <kj@sernet.de>
2930 * Implement 'net rpc group delete'
2933 o John Klinger <john.klinger@lmco.com>
2934 * Return NSS_SUCCESS once the max number of gids possible
2935 has been found in initgroups() on Solaris.
2936 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
2939 o Volker Lendecke <vl@samba.org>
2940 * Fix success message for net groupmap modify.
2941 * Fix errors when enumerating members of groups in 'net rpc'.
2942 * Match Windows behavior in samr_lookup_names() by returning
2943 ALIAS(4) when you search in BUILTIN.
2944 * Fix server SAMR code to be able to set alias info for
2946 * Fix duplication of logic when creating groups via smbd.
2947 * Ensure that the HWM values are set correctly after running
2949 * Add 'net rpc group add'.
2950 * Implement 'net groupmap set' and 'net groupmap cleanup'.
2951 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
2952 * Fix wb_delgrpmem (wbinfo -o).
2953 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
2954 * Fix sambaUserWorkstations on a Samba DC.
2955 * Implement wbinfo -k: Have winbind generate an AFS token after
2956 authenticating the user.
2957 * Add expand_msdfs VFS module for providing referrals based on the
2958 the client's IP address.
2959 * Implement client side NETLOGON GetDCName function.
2960 * Fix caching of name->sid lookups.
2961 * Add support in winbindd for expanding nested local groups.
2962 * Fix memleak in winbindd.
2964 * Don't list domain groups from BUILTIN.
2965 * Fix memleak in policy handle utility functions.
2966 * Decrease winbindd startup time by only contacting trusted
2967 domains as necessary.
2968 * Allow winbindd to ask the DC for its domain for a trusted
2970 * Fix Netscape DS schema based on comments from
2971 <thomas.mueller@christ-wasser.de>.
2972 * Correct case where adding a domain user to a XP local group
2973 did a lsalookupname on the user without domain prefix, and
2975 * Fix segfault in winbindd caused by 'wbinfo -a'.
2978 o Herb Lewis <herb@samba.org>
2979 * Fix typo for tag in proto file.
2980 * Add missing #ifdef HAVE_BICONV stuff.
2981 * Truncate Samba's netbios name at the first '.' (not
2985 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
2986 * Bug fixes and enhancements to libsmbclient library.
2989 o Jianliang Lu <j.lu@tiesse.com>
2990 * Enforce the 'user must change password at next login' flag.
2991 * Decode meaning of 'fields present' flags (improves support
2994 * Don't force an upper case domain name in the ntlmssp code.
2997 o L. Lucius <ib@digicron.com>.
3001 o Jim McDonough <jmcd@us.ibm.com>
3002 * Add versioning support to tdbsam.
3003 * Update the IBM Directory Server schema with the OpenLDAP
3005 * Various decoding fixes to improve usrmgr.exe support.
3006 * Fix statfs redeclaration of statfs struct on ppc
3007 * Implement support for password lockout of Samba domain
3008 controllers and standalone servers.
3009 * Get MungedDial attribute actually working with full TS
3010 strings in it for pdb_ldap.
3011 * BUG 1208 (partial): Improvements for working with expired krb5
3012 tickets in winbindd.
3013 * Use timegm, or our already existing replacement instead of
3014 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
3015 * Remove modifyTimestamp from list of our attributes.
3016 * Fix lsalookupnames to check for domain users as well as local
3018 * Merge struct uuid replacement for GUID from trunk.
3019 * BUG 1208: Finish support for handling expired tickets in
3020 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
3023 o Stefan Metzmacher <metze@samba.org>
3024 * Implement new VERSION schema based on subversion revision
3026 * Add shadow_copy vfs module.
3027 * Fix segault in login_cache support.
3030 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
3031 o BUG 979 -- Fix quota display on AIX.
3034 o James Peach <jpeach@sgi.com>
3035 * Correct check for printf() format when using the SGI MIPSPro
3037 * BUG 1038: support backtrace for 'panic action' on IRIX.
3038 * BUG 768: Accept profileing arg to IRIX init script.
3039 * BUG 748: Relax arg parsing to sambalp script (IRIX).
3040 * BUG 758: Fix pdma build.
3041 * Search IRIX ABI paths for libiconv. Based on initial fix from
3045 o Kurt Pfeifle <kpfeifle@danka.de>
3046 * Add example shell script for migrating drivers and printers
3047 from a Windows print server to a Samba print server using
3048 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
3051 o Tim Potter <tpot@samba.org>
3052 * Fix logic bug in tdb non-blocking lock routines when
3054 * BUG 1025: Include sys/acl.h in check for broken nisplus
3056 * BUG 1066: s/printf/d_printf/g in SWAT.
3057 * BUG 1098: rename internal msleep() function to fix build
3059 * BUG 1112: Fix for writable printerdata problem in python bindings.
3060 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
3061 * BUG 1155: enclose use of fchown() with guards.
3062 * Relicense tdb python module as LGPL.
3065 o Richard Sharpe <rsharpe@samba.org>
3066 * Add support to smbclient for multiple logins on the same
3067 session (based on work by abartlet@samba.org).
3068 * Correct blocking condition in smbd's use of accept() on IRIX.
3069 * Add support for printing out the MAC address on nmblookup.
3072 o Simo Sorce <idra@samba.org>
3073 * Replace unknown_3 with fields_present in SAMR code.
3074 * More length checks in strlcat().
3077 o Andrew Tridgell <tridge@samba.org>
3078 * Rewrote the AIX UESS backend for winbindd.
3079 * Fixed compilation with --enable-dmalloc.
3080 * Change tdb license to LGPL (see source/tdb/tdb.c).
3081 * Force winbindd to use schannel in clients connections to
3085 o Jelmer Vernooij <jelmer@samba.org>
3086 * Fix ETA Calculation when resuming downloads in smbget.
3087 * Add -O (for writing downloaded files to standard out)
3088 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
3089 * Fix syntax error in example mysql table
3092 o TAKEDA yasuma <yasuma@miraclelinux.com>
3093 * BUG 900: fix token processing in cmd_symlink, cmd_link,
3094 cmd_chown, cmd_chmod smbclient functions.
3097 o Shiro Yamada <shiro@miraclelinux.com>
3098 * BUG 1129: install image files for SWAT.
3101 --------------------------------------------------
3103 ==============================
3104 Release Notes for Samba 3.0.2a
3106 ==============================
3108 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
3109 to address, in particular, a problem when using pdbedit to
3110 sanitize (--force-initialized-passwords) Samba's tdbsam
3111 backend. This is the latest stable release of Samba. This
3112 is the version that all production Samba servers should be
3113 running for all current bug-fixes.
3115 ******************* Attention! Achtung! Kree! *********************
3117 Beginning with Samba 3.0.2, passwords for accounts with a last
3118 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
3119 ldapsam, etc...) of zero (0) will be regarded as uninitialized
3120 strings. This will cause authentication to fail for such
3121 accounts. If you have valid passwords that meet this criteria,
3122 you must update the last change time to a non-zero value. If you
3123 do not, then 'pdbedit --force-initialized-passwords' will disable
3124 these accounts and reset the password hashes to a string of X's.
3126 ******************* Attention! Achtung! Kree! *********************
3135 Please refer to the CVS log for the SAMBA_3_0 branch for complete
3136 details. The list of changes per contributor are as follows:
3139 o Jeremy Allison <jra@samba.org>
3140 * Added paranoia checks in parsing code.
3143 o Andrew Bartlett <abartlet@samba.org>
3144 * Ensure that changes to uninitialized passwords in ldapsam
3145 are written to the DIT.
3148 o Gerald (Jerry) Carter <jerry@samba.org>
3149 * Fixed iterator in tdbsam.
3150 * Fix bug that disabled accounts with a valid NT password
3151 hash, but no LanMan hash.
3154 o Steve French <sfrench@us.ibm.com>
3155 * Added missing nosetuid and noexec options.
3158 o Bostjan Golob <golob@gimb.org>
3159 * BUG 1046: Don't overwrite usernames of entries returned
3163 o Sebastian Krahmer <krahmer@suse.de>
3164 * Fixed potential crash bug in NTLMSSP parsing code.
3167 o Tim Potter <tpot@samba.org>
3168 * Fixed logic in tdb_brlock error checking.
3171 o Urban Widmark <urban@teststation.com>
3172 * Set nosuid,nodev flags in smbmnt by default.
3175 --------------------------------------------------
3177 =============================
3178 Release Notes for Samba 3.0.2
3180 =============================
3182 It has been confirmed that previous versions of Samba 3.0 are
3183 susceptible to a password initialization bug that could grant an
3184 attacker unauthorized access to a user account created by the
3185 mksmbpasswd.sh shell script.
3187 The Common Vulnerabilities and Exposures project (cve.mitre.org)
3188 has assigned the name CAN-2004-0082 to this issue.
3190 Samba administrators not wishing to upgrade to the current
3191 version should download the 3.0.2 release, build the pdbedit
3194 root# pdbedit-3.0.2 --force-initialized-passwords
3196 This will disable all accounts not possessing a valid password
3197 (e.g. the password field has been set a string of X's).
3199 Samba servers running 3.0.2 are not vulnerable to this bug
3200 regardless of whether or not pdbedit has been used to sanitize
3203 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
3206 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
3207 o Logging onto a Samba domain from Windows XP clients.
3208 o Problems with the %U and %u smb.conf variables in relation to
3209 Windows 9x/ME clients.
3210 o Kerberos failures due to an invalid in memory keytab detection
3212 o Updates to the ntlm_auth tool.
3213 o Fixes for various SMB signing errors.
3214 o Better separation of WINS and DNS queries for domain controllers.
3215 o Issues with nss_winbind FreeBSD and Solaris.
3216 o Several crash bugs in smbd and winbindd.
3217 o Output formatting fixes for smbclient for better compatibility
3218 with scripts based on the 2.2 version.
3227 Parameter Name Action
3228 -------------- ------
3229 ldap replication sleep New
3230 read size removed (unused)
3231 source environment removed (unused)
3237 Please refer to the CVS log for the SAMBA_3_0 branch for complete
3238 details. The list of changes per contributor are as follows:
3240 o Jeremy Allison <jra@samba.org>
3241 * Revert change that broke Exchange clear text samlogons.
3242 * Fix gcc 3.4 warning in MS-DFS code.
3243 * Tidy up of NTLMSSP code.
3244 * Fixes for SMB signing errors
3245 * BUG 815: Workaround NT4 bug to support plaintext
3246 password logins and UNICODE.
3247 * Fix SMB signing bug when copying large files.
3248 * Correct error logic in mkdir_internals() (caused a panic
3249 when combined with --enable-developer).
3250 * BUG 830: Protect against crashes due to bad character
3254 o Petri Asikainen <paca@sci.fi>
3255 * BUG 330, 387:Fix single valued attribute updates when
3256 working with Novell NDS.
3259 o Andrew Bartlett <abartlet@samba.org>
3260 * Correctly handle per-pipe NTLMSSP inside a NULL session.
3261 * Fix segfault in gencache
3262 * Fix early free() of encrypted_session_key.
3263 * Change DC lookup routines to more carefully separate
3264 DNS names (realms) from NetBIOS domain names.
3265 * Add new sid_to_dn() function for internal winbindd use.
3266 * Refactor cli_ds_enum_domain_trusts().
3267 * BUG 707: Implement range retrieval of ADS attributes (based
3268 on work from Volker <vl@samba.org> and Guenther Deschner
3270 * Automatically initialize the signing engine if a session key
3272 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
3273 encoded strings, only form input in SWAT.
3274 * Resets the NTLMSSP state for new negotiate packets.
3275 * Add 2-byte alignments in net_samlogon() queries to parse
3276 odd-length plain text passwords.
3277 * Allow Windows groups with no members in winbindd.
3278 * Allow normal authentication in the absence of a server
3279 generated session key.
3280 * More optimizations for looking up UNIX group lists.
3281 * Clean up error codes and return values for pam_winbindd
3282 and winbindd PAM interface.
3283 * Fix string return values in ntlm_auth tool.
3284 * Fix segfault when 'security = ads' but no realm is defined.
3285 * BUG 722: Allow winbindd to map machine accounts to uids.
3286 * More cleanups for winbindd's find_our_domain().
3287 * More clearly detect whether a domain controller is an NT4
3288 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
3289 * Increase separation between DNS queries for hosts and queries
3290 for AD domain controllers.
3291 * Include additional NT_STATUS to PAM error mappings.
3292 * Password initialization fixes.
3295 o Justin Baugh <justin.baugh@request.com>
3296 * BUG 948: Implement missing functions required for FreeBSD
3297 nss_winbind support.
3300 o Alexander Bokovoy <ab@samba.org>
3301 * BUG 922: Make sure enable fast path for strlower_m() and
3305 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
3306 * Fix crash when using 'security = server' and 'encrypt
3307 passwords = no' by always initializing the session key.
3310 o Dmitry Butskoj <buc@odusz.elektra.ru>
3311 * Fix for special files being hidden from admins.
3314 o Gerald (Jerry) Carter <jerry@samba.org>
3315 * Fix bug in the lanman session key generation. Caused
3316 "decode_pw: incorrect password length" error messages.
3317 * Save the right case for the located user name in
3318 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
3319 * BUG 897: Add well known rid for pre win2k compatible access
3321 * BUG 887: Correct typo in delete user script example.
3322 * Use short lived TALLOC_CTX* for allocating printer objects
3323 from the print handle cache.
3324 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
3325 * Fix several warnings reported by the SUN Forte C compiler.
3326 * Fully control DNS queries for AD DC's using 'name resolve order'.
3327 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
3328 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
3329 * BUG 936: fix bind credentials for schannel binds in smbd.
3330 * BUG 446: Fix output of smbclient for better compatibility
3331 with scripts based on the 2.2 version (including Amanda).
3332 * BUG 891, 949: Fedora packaging fixes.
3333 * Fix bug that caused rpcclient to incorrectly retrieve
3334 the SID for a server (this causing all calls that required
3335 this information to fail).
3336 * BUG 977: Don't create a homes share for a user if a static
3337 share already exists by the same name.
3338 * Removed unused smb.conf options.
3339 * Password initialization fixes.
3340 * Set the disable flag for template accounts created by
3342 * Disable any account has no passwords and does not have the
3343 ACB_PWNOTREQ bit set.
3346 o Guenther Deschner <gd@suse.com>
3347 * Install smbwrapper.so should be put into the $(libdir)
3349 * Add the capability to specify the new user password
3350 for "net ads password" on the command line.
3351 * Correctly detect AFS headers on SuSE.
3354 o James Flemer <jflemer@uvm.edu>
3355 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
3356 HAVE_SYS_ATTRIBUTES_H.
3359 o Luke Howard <lukeh@PADL.COM>
3360 * Fix segfault in session setup reply caused by a early free().
3363 o Stoian Ivanov <sdr@bultra.com>
3364 * Implement grepable output for smbclient -L.
3367 o LaMont Jones <lamont@debian.org>
3368 * BUG 225328 (Debian): Correct false failure LFS test that resulted
3369 in _GNU_SOURCE not being defined (thus resulting in strndup()
3373 o Volker Lendecke <vl@samba.org>
3374 * BUG 583: Ensure that user names always contain the short
3375 version of the domain name.
3376 * Fix our parsing of the LDAP uri.
3377 * Don't show the 'afs username map' in the SWAT basic view.
3378 * Fix SMB signing issues in relation to failed NTLMSSP logins.
3379 * BUG 924: Fix return codes in smbtorture harness.
3380 * Always lower-case usernames before handing it to AFS code.
3381 * Add a German translation for SWAT.
3382 * Fix a segfaults in winbindd.
3383 * Fix the user's domain passed to register_vuid() from
3384 reply_spnego_kerberos().
3385 * Add NSS example code in nss_winbind to convert UNIX
3386 id's <-> Windows SIDs.
3387 * Display more descriptive error messages for login via 'net'.
3388 * Fix compiler warning in the net tool.
3389 * Fix length bug when decoding base64 strings.
3390 * Ensure we don't call getpwnam() inside a loop that is iterating
3391 over users with getpwent(). This broke on glibc 2.3.2.
3394 o Herb Lewis <herb@samba.org>
3395 * Fix bit rot in psec.
3398 o Jianliang Lu <j.lu@tiesse.com>
3399 * Ensure we delete the group mapping before calling the delete
3401 * Define well known RID for managing the "Power Users" group.
3402 * BUG 381: check builtin (not local) group SID when updating
3404 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
3408 o John Klinger <john.klinger@lmco.com>
3409 * Implement initgroups() call in nss_winbind on Solaris.
3412 o Jim McDonough <jmcd@us.ibm.com>
3413 * Fix regression in net rpc join caused by recent changes
3414 to cli_lsa_query_info_policy().
3415 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
3419 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
3420 * BUG 570: Ensure that configure honors the LDFLAGS variable.
3423 o Stefan Metzmacher <metze@samba.org>
3424 * Implement LDAP rebind sleep patch.
3425 * Revert to 2.2 quota code because of so many broken quota files
3427 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
3428 XFS_USER_QUOTA -> USRQUOTA
3429 XFS_GROUP_QUOTA -> GRPQUOTA
3430 * Fix disk_free calculation with group quotas.
3431 * Add debug class 'quota' and a lot of DEBUG()'s
3433 * Fix sys_chown() when no chown() is present.
3434 * Add SIGABRT to fault handling in order to catch got a
3435 backtrace if an error occurs the OpenLDAP client libs.
3439 * Allow an existing LDAP machine account to be re-used when
3440 joining an AD domain.
3443 o James Peach <jpeach@sgi.com>
3444 * BUG 889: Change smbd to use pread/pwrite on platforms that
3445 support these calls. Can lead to a significant speed increase.
3448 o Tim Potter <tpot@samba.org>
3449 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
3450 * BUG 924: Fix typo in RW2 torture test.
3453 o Richard Sharpe <rsharpe@samba.org>
3454 * Small fixes to torture.c to cleanup the error handling
3455 and prevent crashes.
3458 o J. Tournier <jerome.tournier@IDEALX.com>
3459 * Small fixes for the smbldap-tool scripts.
3462 o Andrew Tridgell <tridge@samba.org>
3463 * Fix src len check in pull_usc2().
3466 o Jelmer Vernooij <jelmer@samba.org>
3467 * Put functions for generating SQL queries in pdb_sql.c
3468 * Add pgSQL backend (based on patch by Hamish Friedlander)
3469 * BUG 908: Fix -s option to smbcontrol.
3470 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
3471 * Fix for libnss_wins on IRIX platforms.
3472 * Fix swatdir for --with-fhs.
3475 --------------------------------------------------
3477 =============================
3478 Release Notes for Samba 3.0.1
3480 =============================
3482 Some of the more common bugs in 3.0.0 addressed in the release
3485 o Substitution problems with smb.conf variables.
3486 o Errors in return codes which caused some applications
3487 to fail to open files.
3488 o General Protection Faults on Windows 2000/XP clients
3489 using Samba point-n-print features.
3490 o Several miscellaneous crash bugs.
3491 o Access problems when enumerating group mappings are
3492 stored in an LDAP Directory.
3493 o Several common SWAT bugs when writing changes to
3495 o Internal inconsistencies when 'winbind use default
3501 ----------------------
3503 Parameter Name Action
3504 -------------- ------
3505 hide local users Removed
3506 mangled map Deprecated
3507 mangled stack Removed
3508 passwd chat timeout New
3514 o Change the interface for init_unistr2 to not take a length
3515 but a flags field. We were assuming that
3516 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
3517 o Allow d_printf() to handle strings with escaped quotation
3518 marks since the msg file includes the escape character (bug 489).
3519 o Fix bad html table row termination in SWAT wizard code (bug 413).
3520 o Fix to parse the level-2 strings.
3521 o Fix for "valid users = %S" in [homes]. Fix read/write
3523 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
3524 This is the same way AC_CHECK_LIB works (bug 508).
3525 o Testparm output fixes for clarity.
3526 o Fix broken wins hook functionality -- i18n bug (bug 528).
3527 o Take care of condition where DOS and NT error codes must differ.
3528 o Default to using only built-in charsets when a working iconv
3529 implementation cannot be located.
3530 o Wrap internals of sys_setgroups() so the sys_XX() call can
3531 be done unconditionally (bug 550).
3532 o Remove duplicate smbspool link on SWAT's front page (bug 541).
3533 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
3534 --enable-debug=[yes|no] works correctly.
3535 o Allow ^C to interrupt smbpasswd if using our getpass
3536 (e.g. smbpasswd command).
3537 o Support signing only on RPC's (bug 167).
3538 o Correct bug that prevented Excel 2000 clients from opening
3539 files marked as read-only.
3540 o Portability fix bugs 546 - 549).
3541 o Explicitly initialize the value of AR for vendor makes that don't
3542 do this (e.g. HPUX 11). (bug 552).
3543 o More i18n fixes for SWAT (bug 413).
3544 o Change the cwd before the postexec script to ensure that a
3545 umount will succeed.
3546 o Correct double free that caused winbindd to crash when a DC
3547 is rebooted (bug 437).
3548 o Fix incorrect mode sum (bug 562).
3549 o Canonicalize SMB_INFO_ALLOCATION in the same was as
3550 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
3551 o Add script to generate *msg files.
3552 o Add Dutch SWAT translation file.
3553 o Make sure to call get_user_groups() with the full winbindd
3554 name for a user if he/she has one (bug 406).
3555 o Fix up error code returns from Samba4 tester. Ensure invalid
3556 paths are validated the same way.
3557 o Allow Samba3 to pass the Samba4 RAW-READ tests.
3558 o Refuse to configure if --with-expsam=$BACKEND was used but no
3559 libraries were found for $BACKEND.
3560 o Move sysquotas autoconf tests to a separate file.
3561 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
3563 o Make sure that the files that contain the static_init_$subsystem;
3564 macro get recompiled after configure by removing the object
3566 o Ensure canceling a blocking lock returns the correct error
3568 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
3569 o Updated Japanese welcome file in SWAT.
3570 o Fix to nt-time <-> unix-time functions reversible.
3571 o Ensure that winbindd uses the the escaped DN when querying
3573 o Fix portability issues when compiling (bug 505, 550)
3574 o Compile fix for tdbbackup when Samba needs to override
3575 non-C99 compliant implementations of snprintf().
3576 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
3577 o Make sure we break out of samsync loop on error.
3578 o Ensure error code path doesn't free unmalloc()'d memory
3580 o Add configure test for krb5_keytab_entry keyblock vs key
3583 o Modified testparm so that all output so all debug output goes
3584 to stderr, and all file processing goes to stdout.
3585 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
3587 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
3588 we have a devmode before copying a string to the devicename.
3589 o Support mapping REALM.COM\user to a local user account (without
3590 running winbindd) for compatibility with 2.2.x release.
3591 o Ensure we don't use mmap() on blacklisted systems.
3592 o fixed a number of bugs and memory leaks in the AIX
3594 o Call initgroups() in SWAT before becomming the user so that
3595 secondary group permissions can be used when writing to
3597 o Fix signing problems when reverse connecting back to a
3598 client for printer notify
3599 o Fix signing problems caused by a miss-sequence bug.
3600 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
3601 Fixes NEXUS tools running on Win9x clients (bug 64).
3602 o Don't leave the domain field uninitialized in cli_lsa.c if some
3603 SID could not be mapped.
3604 o Fix segfault in mount.cifs helper when there is no options
3605 specified during mount.
3606 o Change the \n after the password prompt to go to tty instead
3607 of stdout (bug 668).
3608 o Stop net -P from prompting for machine account password (bug 451).
3609 o Change in behavior to Not only change the effective uid but also
3610 the real uid when becoming unprivileged.
3611 o Cope with Exchange 5.5 cleartext pop password auth.
3612 o New files for support of initshutdown pipe. Win2k doesn't
3613 respond properly to all requests on the winreg pipe, so we need
3614 to handle this new pipe (bug 534).
3615 o Added more va_copy() checks in configure.in.
3616 o Include fixes for libsmbclient build problems.
3617 o Missing UNIX -> DOS codepage conversion in lanman.c.
3618 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
3619 o Parameterize the listen backlog in smbd and make it larger by
3620 default. A backlog of 5 is way too small these days.
3621 o Check for an invalid fid before dereferencing the fsp pointer
3623 o Remove invalid memory frees and return codes in pdb_ldap.c.
3624 o Prompt for password when invoking --set-auth-user and no
3626 o Bind the nmbd sending socket to the 'socket address'.
3627 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
3628 $LDFLAGS occurs before any library specification (bug 661).
3629 o Fix large number of printf() calls for 64-bit size_t.
3630 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
3631 keyblock in the krb5 structs.
3632 o Remove #include <compat.h> in hopes to avoid problems with
3633 apache header files.
3634 o Correct winbindd build problems on HP-UX 11.
3635 o Lowercase netgroups lookups (bug 703).
3636 o Use the actual size of the buffer in strftime instead of a made
3637 up value which just happens to be less than sizeof(fstring).
3639 o Add ldaplibs to pdbedit link line (bug 651).
3640 o Fix crash bug in smbclient completion (bug 659).
3641 o Fix packet length for browse list reply (bug 771).
3642 o Fix coredump in cli_get_backup_list().
3643 o Make sure that we expand %N (bug 612).
3644 o Allow rpcclient adddriver command to specify printer driver
3646 o Compile tdbdump by default.
3647 o Apply patches to fix iconv detection for FreeBSD.
3648 o Do not allow the 'guest account' to be added to a passdb backend
3649 using smbpasswd or pdbedit (bug 624).
3650 o Save LDFLAGS during iconv detection (bug 57).
3651 o Run krb5 logins through the username map if the winbindd
3652 lookup fails (bug 698).
3653 o Add const for lp_set_name_resolve_order() to avoid compiler
3655 o Add support for the %i macro in smb.conf to stand in for the for
3656 the local IP address to which a client connected.
3657 o Allow winbindd to match local accounts to domain SID when
3658 'winbind trusted domains only = yes' (bug 680).
3659 o Remove code in idmap_ldap that searches the user suffix and group
3660 suffix. It's not needed and provides inconsistent functionality
3661 from the tdb backend.
3662 o Patch to handle munged dial string for Windows 2000 TSE.
3663 Thanks to Gaz de France, Direction de la Recherche, Service
3664 Informatique Métier for their supporting this work by Aurelien
3665 Degrémont <adegremont@idealx.com>.
3666 o Correct the "smbldap_open: cannot access when not root error"
3667 messages when looking up group information (bug 281).
3668 o Skip over the winbind separator when looking up a user.
3669 This fixes the bug that prevented local users from
3670 matching an AD user when not running winbindd (bug 698).
3671 o Fix a problem with configure on *BSD systems. Make sure
3672 we add -liconv etc to LDFLAGS.
3673 o Fix core dump bug when "security = server" and the authentication
3675 o Correct crash bug due to an empty munged dial string.
3676 o Show files locked by a specific user (smbstatus -u 'user')
3678 o Fix bug preventing print jobs from display in the queue
3679 monitor used by Windows NT and later clients (bug 660).
3680 o Fix several reported problems with point-n-print from
3681 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
3682 reply (bug 338, 527 & 643).
3683 o Fix a handful of potential memory leaks in the LDAP code used
3684 by ldapsam[_compat] and the LDAP idmap backend.
3685 o Fix for pdbedit error code returns (bug 763).
3686 o Make sure we only enumerate group mapping entries (not
3687 /etc/group) even when doing local aliases.
3688 o Relax check on the pipe name in a dce/rpc bind response to work
3689 around issues with establishing trusts to a Windows 2003 domain.
3690 o Ensure we mangle names ending in '.' in hash2 mangling method.
3691 o Correct parsing issues with munged dial string.
3692 o Fix bugs in quota support for XFS.
3693 o Add a cleaner method for applications that need to provide
3694 name->SID mappings to do this via NSS rather than having to
3695 know the winbindd pipe protocol.
3696 o Adds a variant of the winbindd_getgroups() call called
3697 winbindd_getusersids() that provides direct SID->SIDs listing of
3698 a users supplementary groups. This is enough to allow non-Samba
3699 applications to do ACL checking.
3700 o Make sure we don't append the 'ldap suffix' when writing out the
3701 'ldap XXX suffix' values in SWAT (bug 328).
3702 o Fix renames across file systems.
3703 o Ensure that items in a list of strings containing whitespace are
3704 written out surrounded by single quotes. This means that both
3705 double and single quotes are now used to surround strings in
3707 o Enable SWAT to correctly determine if winbindd is running (bug
3709 o Include WWW-Authenticate field in 401 response for bad auth
3711 o Add support for NTLM2 (NTLMv2 session security).
3712 o Add support for variable-length session keys.
3713 o More privilege fixes for group enumeration in LDAP (bug 281).
3714 o Use the dns name (or IP) as the originating client name when
3715 using CUPS (bug 467).
3716 o Fix various SMB signing bugs.
3717 o Fix ACL propagation on a DFS root (bug 263).
3718 o Disable NTLM2 for RPC pipes.
3719 o Allow the client to specify the NTLM2 flags got NTLMSSP
3721 o Change the name of the job passed off to cups from "Test Page"
3722 to "smbprn.00000033 Test Page" so that we can get the smb
3723 jobid back. This allow users to delete jobs with cups printing
3724 backend (partial work on bug 770).
3725 o Fix build of winbindd with static pdb modules.
3726 o Retrieve the correct ACL group bits if the file has an ACL
3728 o Implement "net rpc group members": Get members of a domain group
3729 in human-readable format.
3730 o Add MacOSX (Darwin) specific charset module code.
3731 o Use samr_dispinfo(level == 1) for enumerating domain users so we
3732 can include the full name in gecos field (bug 587).
3733 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
3734 o Implement 'net rpc group list [global|local|builtin]*' for a
3735 select listing of the respective user databases.
3736 o Don't automatically set NT status code flag unless client tells
3738 o Add 'net status [sessions|shares] [parseable]'.
3739 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
3741 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
3743 o Fix inverted logic in hosts allow/deny checks caused by
3744 s/strcmp/strequal/ (bug 846).
3745 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
3746 o Fix typo in 'hash' mangling algorithm.
3747 o Support munged dial for ldapsam (bug 800).
3748 o Fix process_incoming_data() to return the number of bytes handled
3749 this call whether we have a complete PDU or not; fixes bug
3750 with multiple PDU request rpc's broken over SMBwriteX calls
3752 o Fix incorrect smb flags2 for connections to pre-NT servers
3753 (causes smbclient to fail to OS2 for example) (bug 821).
3754 o Update version string in smbldap-tools Makefile to 0.8.2.
3755 o Correct a problem with "net rpc vampire" mis-parsing the
3756 alias member info reply.
3757 o Ensure the ${libdir} is created by the installclientlib script.
3758 o Fix detection of Windows 2003 client architecture in the smb.conf
3760 o Ensure that smbd calls the add user script for a missing UNIX
3761 user on kerberos auth call (bug 445).
3762 o Fix bugs in hosts allow/deny when using a mismatched
3763 network/netmask pair.
3764 o Protect alloc_sub_basic() from crashing when the source string
3765 is NULL (partial work on bug 687).
3766 o Fix spinlocks on IRIX.
3767 o Corrected some bad destination paths when running "configure
3769 o Add packaging files for Fedora Core 1.
3770 o Correct bug in SWAT install script for non-english languages.
3771 o Support character set ISO-8859-1 internally (bug 558).
3772 o Fixed more LDAP access errors when looking up group mappings
3774 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
3775 resolution to fail on local files on on domain members
3777 o Fix uninitialized variable in passdb.c.
3778 o Fix formal parameter type in get_static() in nsswitch/wins.c.
3779 o Fix problem mounting directories when mount.cifs is installed
3780 with the setuid bit on.
3781 o Fix bug that prevent --mandir from overriding the defaults
3782 given in the --with-fhs macro.
3783 o Fix bug in in-memory Kerberos keytab detection routines
3788 ######################################################################
3790 The original 3.0.0 release notes follow
3791 =======================================
3792 WHATS NEW IN Samba 3.0.0
3794 =======================================
3800 1) Active Directory support. Samba 3.0 is now able to
3801 join a ADS realm as a member server and authenticate
3802 users using LDAP/Kerberos.
3804 2) Unicode support. Samba will now negotiate UNICODE on the wire
3805 and internally there is now a much better infrastructure for
3806 multi-byte and UNICODE character sets.
3808 3) New authentication system. The internal authentication system
3809 has been almost completely rewritten. Most of the changes are
3810 internal, but the new auth system is also very configurable.
3812 4) New default filename mangling system.
3814 5) A new "net" command has been added. It is somewhat similar to
3815 the "net" command in windows. Eventually we plan to replace
3816 numerous other utilities (such as smbpasswd) with subcommands
3819 6) Samba now negotiates NT-style status32 codes on the wire. This
3820 improves error handling a lot.
3822 7) Better Windows 2000/XP/2003 printing support including publishing
3823 printer attributes in active directory.
3825 8) New loadable module support for passdb backends and character
3828 9) New default dual-daemon winbindd support for better performance.
3830 10) Support for migrating from a Windows NT 4.0 domain to a Samba
3831 domain and maintaining user, group and domain SIDs.
3833 11) Support for establishing trust relationships with Windows NT 4.0
3836 12) Initial support for a distributed Winbind architecture using
3837 an LDAP directory for storing SID to uid/gid mappings.
3839 13) Major updates to the Samba documentation tree.
3841 14) Full support for client and server SMB signing to ensure
3842 compatibility with default Windows 2003 security settings.
3844 15) Improvement of ACL mapping features based on code donated by
3845 Andreas Grünbacher.
3848 Plus lots of other improvements!
3851 Additional Documentation
3852 ------------------------
3854 Please refer to Samba documentation tree (included in the docs/
3855 subdirectory) for extensive explanations of installing, configuring
3856 and maintaining Samba 3.0 servers and clients. It is advised to
3857 begin with the Samba-HOWTO-Collection for overviews and specific
3858 tasks (the current book is up to approximately 400 pages) and to
3859 refer to the various man pages for information on individual options.
3861 We are very glad to be able to include the second edition of
3862 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
3863 (O'Reilly & Associates) in this release. The book is available
3864 on-line at http://samba.org/samba/docs/ and is included with
3865 the Samba Web Administration Tool (SWAT). Thanks to the authors and
3866 publisher for making "Using Samba" under the GNU Free Documentation
3870 ######################################################################
3871 Upgrading from a previous Samba 3.0 beta
3872 ########################################
3874 Beginning with Samba 3.0.0beta3, the RID allocation functions
3875 have been moved into winbindd. Previously these were handled
3876 by each passdb backend. This means that winbindd must be running
3877 to automatically allocate RIDs for users and/or groups. Otherwise,
3878 smbd will use the 2.2 algorithm for generating new RIDs.
3880 If you are using 'passdb backend = tdbsam' with a previous Samba
3881 3.0 beta release (or possibly alpha), it may be necessary to
3882 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
3883 to winbindd_idmap.tdb. To do this:
3885 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
3887 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
3889 3) run: (note that 'tdb>' is the tool's prompt for input)
3891 root# ./tdbtool /usr/local/samba/private/passdb.tdb
3892 tdb> show RID_COUNTER
3896 [000] 0A 52 00 00 .R.
3898 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
3902 If you are using 'passdb backend = ldapsam', it will be necessary to
3903 store idmap entries in the LDAP directory as well (i.e. idmap backend
3904 = ldap). Refer to the 'net idmap' command for more information on
3905 migrating SID<->UNIX id mappings from one backend to another.
3907 If the RID_COUNTER record does not exist, then these instructions are
3908 unneccessary and the new RID_COUNTER record will be correctly generated
3913 ########################
3914 Upgrading from Samba 2.2
3915 ########################
3917 This section is provided to help administrators understand the details
3918 involved with upgrading a Samba 2.2 server to Samba 3.0.
3924 Many of the options to the GNU autoconf script have been modified
3925 in the 3.0 release. The most noticeable are:
3927 * removal of --with-tdbsam (is now included by default; see section
3928 on passdb backends and authentication for more details)
3930 * --with-ldapsam is now on used to provided backward compatible
3931 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
3932 backend and authentication section for more details
3934 * inclusion of non-standard passdb modules may be enabled using
3935 --with-expsam. This includes an XML backend and a mysql backend.
3937 * removal of --with-msdfs (is now enabled by default)
3939 * removal of --with-ssl (no longer supported)
3941 * --with-utmp now defaults to 'yes' on supported systems
3943 * --with-sendfile-support is now enabled by default on supported
3950 This section contains a brief listing of changes to smb.conf options
3951 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
3952 complete descriptions of new or modified parameters.
3954 Removed Parameters (order alphabetically):
3957 * alternate permissions
3960 * code page directory
3962 * domain admin group
3963 * domain guest group
3964 * force unknown acl user
3970 * printer driver file
3971 * printer driver location
3973 * source environment
3981 New Parameters (new parameters have been grouped by function):
3985 * abort shutdown script
3988 User and Group Account Management
3989 ---------------------------------
3991 * add machine script
3992 * add user to group script
3993 * algorithmic rid base
3994 * delete group script
3995 * delete user from group script
3997 * set primary group script
4003 * passwd chat timeout
4007 * client lanman auth
4008 * client NTLMv2 auth
4014 * paranoid server security
4023 * hide special files
4024 * hide unwriteable files
4026 * kernel change notify
4036 * max reported print jobs
4038 UNICODE and Character Sets
4039 --------------------------
4045 SID to uid/gid Mappings
4046 -----------------------
4050 * winbind enable local accounts
4051 * winbind trusted domains only
4052 * template primary group
4053 * enable rid algorithm
4060 * ldap machine suffix
4062 * ldap replication sleep
4065 General Configuration
4066 ---------------------
4070 Modified Parameters (changes in behavior):
4072 * encrypt passwords (enabled by default)
4073 * mangling method (set to 'hash2' by default)
4076 * restrict anonymous (integer value)
4077 * security (new 'ads' value)
4078 * strict locking (enabled by default)
4079 * unix extensions (enabled by default)
4080 * winbind cache time (increased to 5 minutes)
4081 * winbind uid (deprecated in favor of 'idmap uid')
4082 * winbind gid (deprecated in favor of 'idmap gid')
4088 This section contains brief descriptions of any new databases
4089 introduced in Samba 3.0. Please remember to backup your existing
4090 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
4091 upgrade databases as they are opened (if necessary), but downgrading
4092 from 3.0 to 2.2 is an unsupported path.
4094 Name Description Backup?
4095 ---- ----------- -------
4096 account_policy User policy settings yes
4097 gencache Generic caching db no
4098 group_mapping Mapping table from Windows yes
4099 groups/SID to unix groups
4100 winbindd_idmap ID map table from SIDS to UNIX yes
4102 namecache Name resolution cache entries no
4103 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
4104 returned as part of a successful
4105 net_sam_logon request
4106 printing/*.tdb Cached output from 'lpq no
4107 command' created on a per print
4109 registry Read-only samba registry skeleton no
4110 that provides support for exporting
4111 various db tables via the winreg RPCs
4117 The following issues are known changes in behavior between Samba 2.2 and
4118 Samba 3.0 that may affect certain installations of Samba.
4120 1) When operating as a member of a Windows domain, Samba 2.2 would
4121 map any users authenticated by the remote DC to the 'guest account'
4122 if a uid could not be obtained via the getpwnam() call. Samba 3.0
4123 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
4124 current work around to re-establish the 2.2 behavior.
4126 2) When adding machines to a Samba 2.2 controlled domain, the
4127 'add user script' was used to create the UNIX identity of the
4128 machine trust account. Samba 3.0 introduces a new 'add machine
4129 script' that must be specified for this purpose. Samba 3.0 will
4130 not fall back to using the 'add user script' in the absence of
4131 an 'add machine script'
4134 ######################################################################
4135 Passdb Backends and Authentication
4136 ##################################
4138 There have been a few new changes that Samba administrators should be
4139 aware of when moving to Samba 3.0.
4141 1) encrypted passwords have been enabled by default in order to
4142 inter-operate better with out-of-the-box Windows client
4143 installations. This does mean that either (a) a samba account
4144 must be created for each user, or (b) 'encrypt passwords = no'
4145 must be explicitly defined in smb.conf.
4147 2) Inclusion of new 'security = ads' option for integration
4148 with an Active Directory domain using the native Windows
4149 Kerberos 5 and LDAP protocols.
4151 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
4152 type which is neccessary for servers on which the
4153 administrator password has not been changed, or kerberos-enabled
4154 SMB connections to servers that require Kerberos SMB signing.
4155 Besides this one difference, either MIT or Heimdal Kerberos
4156 distributions are usable by Samba 3.0.
4159 Samba 3.0 also includes the possibility of setting up chains
4160 of authentication methods (auth methods) and account storage
4161 backends (passdb backend). Please refer to the smb.conf(5)
4162 man page for details. While both parameters assume sane default
4163 values, it is likely that you will need to understand what the
4164 values actually mean in order to ensure Samba operates correctly.
4166 The recommended passdb backends at this time are
4168 * smbpasswd - 2.2 compatible flat file format
4169 * tdbsam - attribute rich database intended as an smbpasswd
4170 replacement for stand alone servers
4171 * ldapsam - attribute rich account storage and retrieval
4172 backend utilizing an LDAP directory.
4173 * ldapsam_compat - a 2.2 backward compatible LDAP account
4176 Certain functions of the smbpasswd(8) tool have been split between the
4177 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
4178 utility. See the respective man pages for details.
4181 ######################################################################
4185 This section outlines the new features affecting Samba / LDAP
4191 A new object class (sambaSamAccount) has been introduced to replace
4192 the old sambaAccount. This change aids us in the renaming of
4193 attributes to prevent clashes with attributes from other vendors.
4194 There is a conversion script (examples/LDAP/convertSambaAccount) to
4195 modify and LDIF file to the new schema.
4199 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
4200 $ convertSambaAccount --sid=<Domain SID> \
4201 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
4202 --changetype=[modify|add]
4204 The <DOM SID> can be obtained by running 'net getlocalsid
4205 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
4206 the format of the generated LDIF output--either create new entries
4207 or modify existing entries.
4209 The old sambaAccount schema may still be used by specifying the
4210 "ldapsam_compat" passdb backend. However, the sambaAccount and
4211 associated attributes have been moved to the historical section of
4212 the schema file and must be uncommented before use if needed.
4213 The 2.2 object class declaration for a sambaAccount has not changed
4214 in the 3.0 samba.schema file.
4216 Other new object classes and their uses include:
4218 * sambaDomain - domain information used to allocate rids
4219 for users and groups as necessary. The attributes are added
4220 in 'ldap suffix' directory entry automatically if
4221 an idmap uid/gid range has been set and the 'ldapsam'
4222 passdb backend has been selected.
4224 * sambaGroupMapping - an object representing the
4225 relationship between a posixGroup and a Windows
4226 group/SID. These entries are stored in the 'ldap
4227 group suffix' and managed by the 'net groupmap' command.
4229 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
4230 automatically and contains the next available 'idmap uid' and
4233 * sambaIdmapEntry - object storing a mapping between a
4234 SID and a UNIX uid/gid. These objects are created by the
4235 idmap_ldap module as needed.
4237 * sambaSidEntry - object representing a SID alone, as a Structural
4238 class on which to build the sambaIdmapEntry.
4241 New Suffix for Searching
4242 ------------------------
4244 The following new smb.conf parameters have been added to aid in directing
4245 certain LDAP queries when 'passdb backend = ldapsam://...' has been
4248 * ldap suffix - used to search for user and computer accounts
4249 * ldap user suffix - used to store user accounts
4250 * ldap machine suffix - used to store machine trust accounts
4251 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
4252 * ldap idmap suffix - location of sambaIdmapEntry objects
4254 If an 'ldap suffix' is defined, it will be appended to all of the
4255 remaining sub-suffix parameters. In this case, the order of the suffix
4256 listings in smb.conf is important. Always place the 'ldap suffix' first
4259 Due to a limitation in Samba's smb.conf parsing, you should not surround
4260 the DN's with quotation marks.
4266 Samba 3.0 supports an ldap backend for the idmap subsystem. The
4267 following options would inform Samba that the idmap table should be
4268 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
4273 idmap backend = ldap:ldap://onterose/
4274 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
4275 idmap uid = 40000-50000
4276 idmap gid = 40000-50000
4278 This configuration allows winbind installations on multiple servers to
4279 share a uid/gid number space, thus avoiding the interoperability problems
4280 with NFS that were present in Samba 2.2.
4284 ######################################################################
4285 Trust Relationships and a Samba Domain
4286 ######################################
4288 Samba 3.0.0beta2 is able to utilize winbindd as the means of
4289 allocating uids and gids to trusted users and groups. More
4290 information regarding Samba's support for establishing trust
4291 relationships can be found in the Samba-HOWTO-Collection included
4292 in the docs/ directory of this release.
4294 First create your Samba PDC and ensure that everything is
4295 working correctly before moving on the trusts.
4297 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
4298 4.0 domain named WINDOWS:
4300 1) create the trust account for SAMBA in "User Manager for Domains"
4301 2) connect the trust from the Samba domain using
4302 'net rpc trustdom establish GLASS'
4304 To create a trustlationship with SAMBA as the trusted domain:
4306 1) create the initial trust account for GLASS using
4307 'smbpasswd -a -i GLASS'. You may need to create a UNIX
4308 account for GLASS$ prior to this step (depending on your
4309 local configuration).
4310 2) connect the trust from a WINDOWS DC using "User Manager
4313 Now join winbindd on the Samba PDC to the SAMBA domain using
4314 the normal steps for adding a Samba server to an NT4 domain:
4315 (note that smbd & nmbd must be running at this point)
4317 root# net rpc join -U root
4318 Password: <enter root password from smbpasswd file here>
4320 Start winbindd and test the join with 'wbinfo -t'.
4322 Now test the trust relationship by connecting to the SAMBA DC
4323 (e.g. POGO) as a user from the WINDOWS domain:
4325 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
4328 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
4330 $ smbclient //crystal/netlogon -U root -W WINDOWS
4333 ######################################################################
4337 Beginning with Samba3.0.0beta3, winbindd has been given new account
4338 manage functionality equivalent to the 'add user script' family of
4339 smb.conf parameters. The idmap design has also been changed to
4340 centralize control of foreign SID lookups and matching to UNIX
4344 Brief Description of Changes
4345 ----------------------------
4347 1) The sid_to_uid() family of functions (smbd/uid.c) have been
4348 reverted to the 2.2.x design. This means that when resolving a
4349 SID to a UID or similar mapping:
4351 a) First consult winbindd
4352 b) perform a local lookup only if winbindd fails to
4353 return a successful answer
4355 There are some variations to this, but these two rules generally
4358 2) All idmap lookups have been moved into winbindd. This means that
4359 a server must run winbindd (and support NSS) in order to achieve
4360 any mappings of SID to dynamically allocated UNIX ids. This was
4361 a conscious design choice.
4363 3) New functions have been added to winbindd to emulate the 'add user
4364 script' family of smbd functions without requiring that external
4365 scripts be defined. This functionality is controlled by the 'winbind
4366 enable local accounts' smb.conf parameter (enabled by default).
4368 However, this account management functionality is only supported
4369 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
4370 must be shared among multiple Samba servers (such as a PDC and BDCs),
4371 it will be necessary to define your own 'add user script', et. al.
4372 programs that place the accounts/groups in some form of directory
4373 such as NIS or LDAP. This requirement was deemed beyond the scope
4374 of winbind's account management functions. Solutions for
4375 distributing UNIX system information have been deployed and tested
4376 for many years. We saw no need to reinvent the wheel.
4378 4) A member of a Samba controlled domain running winbindd is now able
4379 to map domain users directly onto existing UNIX accounts while still
4380 automatically creating accounts for trusted users and groups. This
4381 behavior is controlled by the 'winbind trusted domains only' smb.conf
4382 parameter (disabled by default to provide 2.2.x winbind behavior).
4384 5) Group mapping support is wrapped in the local_XX_to_XX() functions
4385 in smbd/uid.c. The reason that group mappings are not included
4386 in winbindd is because the purpose of Samba's group map is to
4387 match any Windows SID with an existing UNIX group. These UNIX
4388 groups can be created by winbindd (see next section), but the
4389 SID<->gid mapping is retreived by smbd, not winbindd.
4395 * security = server running winbindd to allocate accounts on demand
4397 * Samba PDC running winbindd to handle the automatic creation of UNIX
4398 identities for machine trust accounts
4400 * Automtically creating UNIX user and groups when migrating a Windows NT
4401 4.0 PDC to a Samba PDC. Winbindd must be running when executing
4402 'net rpc vampire' for this to work.
4405 ######################################################################
4409 * There are several bugs currently logged against the 3.0 codebase
4410 that affect the use of NT 4.0 GUI domain management tools when run
4411 against a Samba 3.0 PDC. This bugs should be released in an early
4414 Please refer to https://bugzilla.samba.org/ for a current list of bugs
4415 filed against the Samba 3.0 codebase.
4418 ######################################################################
4419 Reporting bugs & Development Discussion
4420 #######################################
4422 Please discuss this release on the samba-technical mailing list or by
4423 joining the #samba-technical IRC channel on irc.freenode.net.
4425 If you do report problems then please try to send high quality
4426 feedback. If you don't provide vital information to help us track down
4427 the problem then you will probably be ignored.
4429 A new bugzilla installation has been established to help support the
4430 Samba 3.0 community of users. This server, located at
4431 https://bugzilla.samba.org/, has replaced the older jitterbug server
4432 previously located at http://bugs.samba.org/.