1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
6 <title>Samba - Release Notes Archive</title>
11 <H2>Samba 3.0.22 Available for Download</H2>
15 ==============================
16 Release Notes for Samba 3.0.22
18 ==============================
20 This is a security release of Samba. The Samba 3.0.21 release
21 series (including the patch releases a through c) has been
22 discovered to expose the clear text of the server's machine
23 account credentials in the winbind log files when the log
24 level is set to 5 or higher. This defect has been assigned
25 the CVE number CAN-2006-1059.
30 The machine trust account password is the secret shared
31 between a domain controller and a specific member server.
32 Access to the member server machine credentials allows
33 an attacker to impersonate the server in the domain and
34 gain access to additional information regarding domain
37 The winbindd daemon included in Samba 3.0.21 and subsequent
38 patch releases (3.0.21a-c) writes the clear text of server's
39 machine credentials to its log file at level 5. The winbindd
40 log files are world readable by default and often log files
41 are requested on open mailing lists as tools used to debug
42 server misconfigurations.
44 This affects servers configured to use domain or ads security
45 and possibly Samba domain controllers as well (if configured
50 Release Notes for older release follow:
52 --------------------------------------------------
54 ===============================
55 Release Notes for Samba 3.0.21c
57 ===============================
59 Common bugs fixed in 3.0.21c include:
61 o Access checks when deleting printer driver meta-data.
62 o Several non-default combinations schannel and SPNEGO support.
63 o Password changes with NT4 and Win2k pre-SP4 clients.
64 o High load issues on IRIX caused by a bug when interfacing
68 ######################################################################
77 o Michael Adam <ma@SerNet.DE>
78 * Add popt to the include path for examples/VFS.
81 o Jeremy Allison <jra@samba.org>
82 * Fix bug in the USC2 macros on big-endian CPUs.
83 * Filter deleted oplocks from the output of smbstatus.
84 * Remove invalid test check_for_pipe().
85 * BUG 3515: Fix kernel oplock support on IRIX.
86 * BUG 3522: Fix return value for mkdir request when the directory
88 * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna
90 * BUG 3330: Fix username parsing in Kerberos PAC (based on work
92 * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto"
93 resulting in a client disconnect after negprot.
94 * BUG 3510: Fix 'net join' against a server with client schannel
96 * Fix negprot bug causing a 2k client with cached domain
97 credentials to refuse to connect to a standalone Samba host.
98 * Ensure that the correct error is checked when encountering a
99 socket error (fixes crashes in winbindd).
102 o Andrew Bartlett <abartlet@samba.org>
103 * Fix domain joins from NT4 clients and password changes.
106 o Richard Bollinger <rabollinger@gmail.com>.
107 * Compile fix in pdbedit.
110 o Gerald (Jerry) Carter <jerry@samba.org>
111 * Break RHEL/Fedora packaging out to include a samba-docs rpm.
112 * Remove use of /var/cache/samba from RHEL/Fedora packaging.
113 * Fix bug in loadparm.c that caused builtin services to be also
114 listed as external services (e.g. Spooler, NETLOGON, etc..).
115 * Fix bug in the samr dispinfo enumeration code.
116 * Add earlier checks to deny deleting a printer driver meta-data.
119 o Guenther Deschner <gd@samba.org>
120 * Add Account Policy LDAP attributes for eDirectory schema.
123 o William JoJo <jojowil@hvcc.edu>
124 * BUG 1870: Make nmblookup do a node status on all IP's when
126 * BUG 2353: Fix clitar -F processing.
129 o Volker Lendecke <vl@samba.org>
130 * Fix the build for --with-aio-support.
131 * Fix remote password changing if password must change is set.
132 * Fix rpcclient to obey the -W parameter.
133 * Fix segv in smbmount and the profiles tool.
134 * Fix typo in pdbedit help text (reported by Karolin Seeger).
138 * Honour the $(DESTDIR) Makefile variable when installing
142 o Jason Mader <jason@ncac.gwu.edu>
143 * Compiler warning fixes.
146 o Lars Müller <lmuelle@samba.org>
147 * Fix python build with older python versions.
148 * Update dhcp.conf files in Debian packaging
149 * SWAT welcome file updates
150 * Compiler warning fixes.
151 * Add .2 to the SONAME as version suffix if we link the nss
153 * Add -t|--password-from-stdin option to pdbedit.
156 o James Peach <jpeach@sgi.com>
157 * Continue not enabling valgrind on 64-bit Linux.
160 o Tim Potter <tpot@samba.org>
161 * Remove unused #defines.
164 o Simo Sorce <idra@samba.org>
165 * Debian packaging updates.
168 o Qiao Yang <qyang@stbernard.com>
169 * Make sure to refresh the timestamp on entries in the failed
170 connection code in winbindd.
174 Release Notes for older release follow:
176 --------------------------------------------------
177 ===============================
178 Release Notes for Samba 3.0.21b
180 ===============================
182 Common bugs fixed in 3.0.21b include:
184 o Server crashes in smbd.
185 o Compile issues on 64-bit platforms.
186 o Crash bugs on big-endian systems.
187 o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
188 o Over 30 bugzilla reports closed.
191 ######################################################################
195 Changes since 3.0.21a
196 ---------------------
200 o Jeremy Allison <jra@samba.org>
201 * Fix the SAMR cache across handles opens and closes.
202 * Re-add the talloc_describe_all() function for reporting pool
204 * Merge talloc license change from Samba 4.
205 * Fix 64-bit compile warnings reported by gcc.
206 * Add the share path into the sharemode db.
207 * Consistency fixes: Remove use of uint8_t -> uint8.
208 * BUG 3346: Fix crash bug in big-endian boxes by linearizing
209 structure when passing through the messaging API.
210 * BUG 3421: Fix segv in the kerberos key tab code (Thanks to
212 * Force smbd to exit if the guest account internal setup fails.
213 * BUG 3419: vfs_full_audit fixes for multiple connections.
214 * Ensure SWAT lists running processes.
215 * Fix NTLMv2 interoperability bug between Samba servers.
216 * Oplock break logic fixes.
219 o Andrew Bartlett <abartlet@samba.org>
220 * BUG 3401: Fix crash bug caused by incorrect handling of weak
221 session keys. Based on original patch from Yau Lam Yiu.
224 o Alexander Bokovoy <ab@samba.org>
225 * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from
229 o Stefan Burkei <stefan@burkei.de>
230 * BUG 3248: When doing auth_crap authentication use the client
231 given workstation name not our own.
234 o Gerald (Jerry) Carter <jerry@samba.org>
235 * Fixing net rpc registry enumerate from overwriting the open
237 * BUG 3380: fix crash when changing printer drivers.
238 * BUG 3391: ensure we can lookup account policies for failed
240 * Adding query/set ops for security descriptors on services.
241 * BUG 3329: Solaris packaging fixes.
242 * Better formatting for smbstatus output (based on patch from
244 * Hook the max connections spin box in the share properties
245 MMC plug-in dialog to the 'max connections' smb.conf parameter
246 and the 'modify share command' option.
247 * Work around building libnss_winbind.so on Solaris when
248 --enable-developer is specified.
249 * Add vendor patch level string to VERSION.
250 * Consolidate packaging for RHEL4 and Fedora based on initial
254 o Albert Chin <@thewrittenword.com>
255 * BUG 3374: Build failures on True64.
258 o Guenther Deschner <gd@samba.org>
259 * Fill in samr_get_dom_pwinfo based on Samba4.
260 * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
261 * Fixes for adssearch.pl example script.
262 * Prevent 'net rpc' from dumping clear text password at high log
263 levels unless built with DEBUG_PASSWORD.
264 * Fix 'net ads user add' with a Windows 2003 SP1 DC.
266 * Fix segfault in pdb_nds.c.
267 * Don't write null sid mappings into the winbindd_cache.tdb.
268 * Save sid_to_name lookup result in winbindd already after doing
269 a successful name_to_sid.
270 * BUG 3390: Fix segfault in "net rpc vampire|samdump".
271 * BUG 1524, 3205: Support changing expired passwords in
273 * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
274 * BUG 3264: Allow idmap_ad to load as 'ad'. Cleanup the way
275 idmap modules are build and loaded, idmap_rid now will have
276 to be loaded without prefix, just "rid".
277 * Prevent cli_krb5_get_ticket of getting into an infinite loop.
280 o Andrew Esh <Andrew_Esh@adaptec.com>
281 * BUG 1061: Fix nmbd to correctly the path to an lmhosts files
282 specified on the command line with -H.
285 o SATOH Fumiyasu <fumiya@samba.gr.jp>
287 * BUG 3348: Don't assume owning sticky bit directory means
288 write access allowed.
289 * Fix double free in on failure path in POSIX acl code.
292 o Andriy Gapon <avg@icyb.net.ua>
293 * BUG 3458: Fix crash bug in smbd and winbindd caused by
294 accessing freed memory.
297 o Björn Jacke <bj@sernet.de>
298 * Configure check for Tru64 EA functions (not yet implemented).
299 * Find Tru64 AIO lib in configure.
300 * Cut-n-paste fixes in configure.in.
303 o John Janosik <jpjanosi@us.ibm.com>
304 * IBM Tivoli Directory Server schema updates.
307 o Michael James <michael@james.st>
308 * sid2string fix in adssearch.pl.
311 o William JoJo <jojowil@hvcc.edu>
312 * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
313 * BUG 3389: Failures on AIX in linking smbd when the symbol
314 table for ld exceeds 65536 bytes.
315 * Add -W to smbpassword so that the ldap admin dn password does
316 not have to be specified on the command line.
317 * BUG 3408: Fix for external password change programs on AIX.
318 * BUG 1779: 64-bit compile fixes.
321 o Martin Koeppe <mkoeppe@gmx.de>
322 * BUG 3287: Match SFU behavior for dev/inode numbers.
325 o Volker Lendecke <vl@samba.org>
326 * BUG 3291: Fix valgrind error in client connection code.
327 * BUG 3292: Prevent smbclient from spinning if server terminates
329 * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient
330 connection alive smbclient.
331 * Add lookupname to rpcclient query_user as a fallback, we now
332 accept both rid and username.
333 * Introduce yet another copy of the string_sub function:
334 talloc_string_sub use by AFS token code in winbindd.
335 * BUG 3351: pdb_mysql again overwrites password fields.
336 * BUG 3384: Fix segv in tdbtool.
337 * Use the same CFLAGS for generating the pch as we use to
339 * Correct typo when compiling the vfs_catia module.
340 * Fix automatic recreation of a new tdb sam file.
343 o Derrell Lipman <derrell@samba.org>
345 * Fix parsing of file times (w_time and m_time were reversed).
346 * Add additional libsmbclient test programs.
347 * BUG 3336: Load networks interfaces in libsmbcliebt after parsing
348 the configuration files.
349 * Avoid doing a NetBIOS name query for each server and workgroup
351 * Do not open connection when only looking for cached connection.
352 * BUG 2651: Add option to log debug messages to stderr instead
354 * Added flag to not request authentication information.
355 * Enhancements to smbwrapper example code.
356 * Replace smbwrapper call to dlopen(/lib/libc...) with direct
360 o David May <mayd@cygnus.uwa.edu.au>
361 * BUG 3329: Shell scripting portability fixes on 'make test'.
364 o Tony Mountifield <tony@softins.co.uk>
365 * BUG 3327: fix bad access to gencache.tdb after fork() in
369 o Lars Müller <lmuelle@samba.org>
370 * BUG 3264: Support backwards compatible setups using
371 'idmap backend = idmap_rid'.
372 * Add %w macro for the winbind separator.
373 * Convert net command to use stderr for error messages rather
377 o James Peach <jpeach@sgi.com>
378 * Portability fixes in LDAP code. Don't use non-static array
380 * Support the TCP_FASTACK socket option if it is available.
381 * Tell the MIPSPro compiler to push DEBUG calls out of line.
384 o Makr Proehl <m.proehl@science-computing.de>
385 * BUG 1336: Print the server role when calling testparm in
389 o Simo Sorce <idra@samba.org>
390 * Crackcheck utility enhancement based on patch sent by
392 * BUG 3405: Fix segv ni vfs_recycle module on platforms wither
393 mode_t is not 32-bits.
396 o John Terpstra <jht@samba.org>
397 * RHEL/Fedora spec file patches.
400 --------------------------------------------------
401 ===============================
402 Release Notes for Samba 3.0.21a
404 ===============================
406 Common bugs fixed in 3.0.21a include:
408 o Deadlocks when multiple users access an oplocked file
412 ######################################################################
421 o Gerald (Jerry) Carter <jerry@samba.org>
422 * RedHat 9 packaging Fixes.
425 o Guenther Deschner <gd@samba.org>
426 * eDirectory schema syntax fixes.
429 o Volker Lendecke <vl@samba.org>
430 * BUG 3349: Deadlock caused logic error in oplock code.
432 --------------------------------------------------
433 ==============================
434 Release Notes for Samba 3.0.21
436 ==============================
438 Common bugs fixed in 3.0.21 include:
440 o Missing groups in a user's token when logging in via kerberos
441 o Incompatibilities with newer MS Windows hotfixes and
442 embedded OS platforms
443 o Portability and crash bugs.
444 o Performance issues in winbindd.
446 New features introduced in Samba 3.0.21 include:
448 o Complete NTLMv2 support by consolidating authentication
449 mechanism used at the CIFS and RPC layers.
450 o The capability to manage Unix services using the Win32
452 o The capability to view external Unix log files via the
453 Microsoft Event Viewer.
454 o New libmsrpc share library for application developers.
455 o Rewrite of CIFS oplock implementation.
456 o Performance Counter external daemon.
457 o Winbindd auto-detection query methods when communicating with
459 o The ability to enumerate long share names in libsmbclient
463 ######################################################################
470 Parameter Name Action
471 -------------- ------
473 dfree command Per share
477 passdb expand explicit New
478 rename user script New
480 svcctl list Renamed from 'enable svcctl'
484 Changes since 3.0.20b
485 ---------------------
487 o Jeremy Allison <jra@samba.org>
488 * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
489 * Added 'map readonly' parameter.
490 * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
492 * Maintain schannel client session keys in volatile
493 $(privatedir)/schannel_store.tdb.
494 * BUG 2769: Ensure we mangle filenames ending in a space
495 * Catch corner case of renaming a symlinked directory into
497 * Ensure that smb.conf requests for hidden files are honored,
498 even when DOS attributes are stored in EA's
499 * Add new auth method "auth_script" for calling an external
501 * BUG 2152: Fix for mangled filenames when the client does
502 support long filenames
503 * Rewritten implementation of client and server DCE/RPC infrastructure
504 * BUG 3192: Adds a "dfree cache time" parameter.
505 * Fix acl evaluation bug found by Marc Cousin. Only evaluate
506 the S_IWGRP mask in the absence of a POSIX ACL.
507 * Remove use of 'long long' in libsmbclient code.
508 * Ensure the new canonicalize_servicename() in name/snum hash
510 * BUG 2922: Integration of FreeBSD AIO patches from Timur
512 * BUG 3216: Put directory opens into the share mode db so we
513 can treat them similarly to file opens (delete on close,
514 share mode violations etc.).
515 * Fix bug in name mangling code when case sensitivity is enabled.
516 * Remove external dependencies from the sharemodes library.
517 * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
518 * Don't misinterpret wild card characters in file names on disk
519 as they are actually valid characters.
520 * BUG 3223: Fix bug in account policy management when
521 account_pol.tdb settings have been migrating to an LDAP
523 * Allow the hash size of the tdb open (locking) database to be
525 * Fix error code returns on client spoolss code.
526 * Remove unneeded strncpy use.
527 * Fix uninitialized variables warnings.
528 * Cleanup smbcacls security descriptor parsing and error codes.
529 * BUG 3224: Correctly use machine_account_name and client_name
530 when doing netlogon credential setup. Fixes winbindd running
532 * Backport Samba 4 time zone handling.
533 * Fix core dump if setmntent() returns NULL.
534 * Replace old crc32 code with one from the FreeBSD tree.
535 * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
536 * Remove #define of close -> close_fn macro in libsmbclient.
537 * Return early if -1 returned from *BSD EA call (reported by
539 * Name space cleanup by marking local functions static.
540 * Move samr enumeration cache from per handle basis to a shared
542 * BUG 3274: Fix invalid smbclient qpath_basic() queries against
543 OS/2 servers (based on patch from Guenter Kukkukk).
544 * Ensure default applies to new files (reported by Thomas
546 * BUG 3293: Use SMBecho to testing the server in client rather
548 * Merge talloc fixes from Samba 4 branch.
549 * Add support DCE/RPC cancel operation.
550 * Don't reset attrs to zero in EA get. Fixes 'hide dot files'
551 when using EA for DOS attributes.
552 * Fix bug in returning remote time (reported by Thomas Bork).
553 * No users or groups to return in BUILTIN domain.
554 * Removed separate "builtin" search enumeration.
555 * Added count_sam_aliases to return the correct alias count.
556 * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from
557 eDirectory when accessing the universal password.
558 * Fix deadlock condition in share mode locking code.
559 * Fix logic bug in unix_mask_match().
560 * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
564 o Rashid N. Achilov <shelton@granch.ru>
565 * Add better service description names to the svcctl code.
568 o Timur Bakeyev <timur@com.bat.ru>
569 * BUG 3262: Improve FreeBSD DOS attribute error reporting.
572 o Andrew Bartlett <abartlet@samba.org>
573 * Remove another ancient NTLMSSP implementation.
574 * Allow machine account logons work if the client gives the
578 o Alexander Bokovoy <ab@samba.org>
579 * Add POSIX statvfs() to VFS api.
582 o Gerald (Jerry) Carter <jerry@samba.org>
583 * Eventlog and ServiceControl support.
584 * BUG 1051: store the directory path so we can send the full
585 name in the unlink call from smbclient.
586 * Use reference count strategy for keeping the registry tdb
588 * Convert internal registry objects to new hierarchical talloc
589 * Allow the root user a free pass for access checks in the
590 registry and service control checks.
591 * Sanity checks in the privilege code to prevent empty SID
593 * Add basic infrastructure for 'make test' when the socket
594 wrapper library is configured at compile time
595 * Convert profiles utility to use the current regfio interface
596 for reading and writing user profiles
597 * Remove netsamlogon_cache interface
598 * Ensure that print jobs are removed even when the cancel
599 command is received before the print cache has been updated
600 * Fix linking problem on Solaris when including ACL support.
601 * Give root a free pass to open the eventlog tdb files.
602 * Fix segfault in addprinter due to mixing talloc() and
604 * fix invalid read reported by valgrind in the spoolss
605 backchannel connection.
606 * Remove use of 'long long' in perfcounter registry code.
607 * BUG 3201: make sure request structure is cleared prior to
608 sending the request to winbindd.
609 * Don't count open pipes in the num_files_open on a connection
610 (regression from Samba 2.2).
611 * Ensure servername hashing code normalizes the name.
612 * Fix checks for connect() in -lnsl[_s].
613 * Convert eventlog API to use NTSTATUS return codes rather
615 * Fix segv in winbindd caused by an uninitialized variable
616 in winbindd_dual_getsidaliases().
617 * Allow winbindd to select the appropriate backend methods
618 based on the DC attributes and not the security parameter.
619 * Re-add the netsamlogon_cache tdb and ensure that user entries
620 are updated from the PAC data during kerberos ticket
622 * Fix lockup when running 'wbinfo -t' on a Samba PDC caused
623 by mangling machine names in sub_set_smb_name().
624 * Add smbget to the list of tools built by default.
625 * Fix clearing of eventlog tdb files.
626 * Fix sequential reads in eventlog support.
627 * BUG 2718: Don't use qpathinfo_basic() call when remote server
629 * Fix build issues with the Sun compiler.
630 * BUG 3156: Don't use find_service() when explicitly looking
632 * Fix nss_winbind_solaris.c build breakage on HP-UX.
633 * Initialize the local group description.
634 * Disable WINS and NetLogon services in the MMC services
635 plugin when the associated smb.conf features are not enabled.
636 * Add checks for invalid characters in new share names on the
638 * Fix SWAT installation issues with 'make install'.
639 * Always add the BUILTIN\Administrators SID to a Domain
643 o Alex Deiter <tiamat@komi.mts.ru>
644 * BUG 3196: Patch to compile against the Sun LDAP client libs.
645 (not for AD support; just ldap support).
648 o Guenther Deschner <gd@samba.org>
649 * Fixed compile problems and warnings with newer OpenLDAP
651 * Fix bug when enumerating trusted domains via 'wbinfo -m'
652 * Parse the MS Kerberos PAC to obtain the user group
653 membership during logon.
654 * Add support for SeRestorePrivilege to allow a process to
655 change the ownership of a file to any arbitrary account
656 * Fix password history storage when using Novell eDirectory for
658 * Backport Kerberos PAC parsing from Samba 4 branch in order to
659 correctly create the NT User Token when logging into a Samba
661 * Add small helper function to return a PAC_LOGON_INFO.
662 * Use LDAP bitwise matching rule when searching for groups
664 * Avoid an infinite loop when retrying to connect in smbspool.
665 * Memory leak fixes in the kerberos PAC parsing code.
666 * Improve NT_STATUS error messages returned from pam_winbind.
667 * Rename unknown samr group fields in samr structures with
668 the correct name.removed separate "builtin" search enumeration.
669 * Cleanup redundant StartTLS code.
670 * Allow StartTLS support when connecting to Windows 2003 by
671 setting 'ldap ssl = start_tls'.
672 * Support raw NTLMSSP session setups in smbspool.
673 * Add rpccli_samr_chgpasswd3().
674 * Add 'wbinfo --separator'.
675 * Uninitialized warnings fixes.
676 * Fix return value in client spooler code.
677 * Require forced migration of account policies.
680 o Steve French <sfrench@us.ibm.com>
681 * Fix cifs to handle non-numeric uid and gid parameters.
682 * Merge trunk and SAMBA_3_0 mount.cifs code.
683 * Cleanup cifs cfs help message.
686 o Paul Green <paulg@samba.org>
687 * Update to the latest config.guess and config.sub files.
690 o Deryck Hodge <deryck@samba.org>
691 * Allow control of syslog facility and level in audit vfs modules.
694 o S Murthy Kambhampaty <smk_va@yahoo.com>
695 * Patches for Fedora RPM specfile and init script
698 o Krishna Ganugapati <krishnag@centeris.com>
699 * Use the subtree delete ldap control when running 'net ads
703 o Volker Lendecke <vl@samba.org>
704 * New oplock implementation.
705 * Add assert() call if winbindd cannot locate the domain SID in
706 secrets.tdb on startup
707 * Fix an annoying timeout in winbindd when nmbd is not running.
708 * Speed up loading smb.conf for large numbers of share
709 definitions by adding an internal hashing of names to snums.
710 Thanks to Michael Adam.
711 * Fix potential segv in rpcclient's lsarpc calls.
712 * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
713 * Fix alignment in getdc response.
714 * Allow pdbedit to set the domain for a user account.
715 * Fix fallback logic in rpc binds.
716 * Fix memleak in message handling code.
717 * Fix connection bug to port 445 and 139 after a successful
719 * Add additional calls to initialize_krb5_error_table() for
720 kerberos client code.
721 * Implement the possibility to have AFS users as SIDs in pts.
722 * Removed unused alternative_name code from winbindd.
723 * Protect against NULL alternative_name strings in winbindd.
724 * Define a default panic action with -DEVELOPER is defined.
725 * Add the capability to reset smbd connections on a zero VC id.
726 * Allow smb.conf variable expansion to be disabled in passdb
728 * Add lookupname to rpcclient query_user as a fallback.
729 * BUG 3292: Prevent smbclient from spinning when the server
731 * BUG 2191: Fix valgrind error in cli_session_setup_guest().
732 * Add samr_lookup_rids for the builtin domain.
733 * Memory allocation cleanups in passdb.
734 * Restrict samr_open_domain() to our domain only.
735 * Change local_lookup_sid() to local_lookup_rid() since it
736 is responsible for our domain only.
737 * Fix some uninitialized variable warnings.
738 * Fix winbind_lookup_name for the local domain,
741 o Derrell Lipman <derrell@samba.org>
742 * Cleanup libmsrpc version numbers.
743 * BUG 2357, 3267, 3273: Plug memory and file descriptor leaks. * Fix crash bug in libsmbclient.
744 * Add long share name support to libsmbclient when enumerating
748 o Jason Mader <jason@ncac.gwu.edu>
749 * Removed compiler various warnings.
752 o Alex Masterov <alex@infobit.ru>
753 * BUG 3218: Fix XATTR calls on *BSD systems.
756 o Jim McDonough <jmcd@us.ibm.com>
757 * Speed up string_to_sid by removing next_token calls and
758 unneeded strncmp() calls.
759 * Implement user rename for smbpasswd and LDAP backends.
760 * BUG 2961 (partial): Add rename support for user accounts to tdbsam
761 * BUG 3187: Fix time zone offset in logon hours restrictions.
764 o Stefan Metzmacher <metze@samba.org>
765 * Fix setting of quotas on linux kernel with the struct
767 * Enable sysquota interfact on Linux by default
768 * Use lp_socket_address() when binding to port 138/udp in nmbd.
771 o Brian Moran <bmoran@centeris.com>
772 * Eventlog and ServiceControl support.
773 * Added eventlogadm tool for writing Eventlog records.
774 * Fix typo when creating Eventlog source DLL registry paths.
775 * Add simple script to tail syslog and write records to
777 * Fix segv in eventlogadm when not event logs are listed in
781 o Lars Müller <lmuelle@samba.org>
782 * Only install smbsh manpage if smbwrapper has been successfully
784 * Ensure setmntent() returns with != NULL in the disk_quotas()
786 * Add configure switch to disable libmsrpc build.
787 * Add a soname to libmsrpc.
790 o Ricky Nance <ricky.nance@gmail.com>
791 * Updates for the mklogon perl scripts.
794 o Chris Nicholls <skel@samba.org>
795 * New libmsrpc library (Google SoC Project).
796 * Fix libmsrpc build of on the Sun compiler by removing empty
797 structure declarations.
800 o James Peach <jpeach@sgi.com>
801 * Fix parsing error for smb ports parameter.
804 o Tim Potter <tpot@samba.org>
805 * BUG 3260: Fix DYNEXP flags on HPUX.
808 o Marcin Porwit <mporwit@centeris.com>
809 * Eventlog and ServiceControl support.
810 * Added basic Performance Counter daemon which can feed data
811 for the Windows perfmon.exe tool.
812 * Fix directory permissions in the perfcounter daemon.
813 * Add the 'File' registry value for the eventlog keys.
816 o Aruna Prabakar <aruna.prabakar@hp.com.
817 * Add checks to verify that the spooler is running on HP-UX when
818 reloading the printer name cache.
821 o Joel Smith <joel.j.smith@novell.com>
822 * Add iPrint printing backend support.
825 o Toomas Soome <Toomas.Soome@mls.ee>
826 * Implement host lookups in nss_winbind.so.1 on Solaris
829 o Simo Sorce <idra@samba.org>
830 * Update Debian packaging.
833 o John Terpstra <jht@samba.org>
834 * Add 'net idmap' usage help text.
837 o Andrew Tridgell <tridge@samba.org>
838 * Change license notice of standalone talloc library to LGPL.
841 o Darren Tucker <dtucker@zip.com.au>
842 o Crash fix for snprintf() code.
845 o Rainer Weikusat <rainer.weikusat@sncag.com>
846 * Fix function name typo in skeleton VFS code.
850 Release Notes for older release follow:
852 --------------------------------------------------
853 ===============================
854 Release Notes for Samba 3.0.20b
856 ===============================
858 Common bugs fixed in 3.0.20b include:
860 o A crash bug in winbindd
861 o Reporting files as read-only instead of returning the
862 correct error code of "access denied"
863 o File system quota support defects
866 ######################################################################
871 Changes since 3.0.20a
872 ---------------------
877 o Jeremy Allison <jra@samba.org>
878 * BUG 3088: Fix error condition for files on a read-write share
879 which cannot be read due to permissions.
882 o Gerald (Jerry) Carter <jerry@samba.org>
883 * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota
885 * BUG 1473, 3090: Quota detection and compilation problems on
889 o Marc Balmer <marc@msys.ch>
890 * Build fixes when builddir != srcdir
893 o Alex Deiter <tiamat@komi.mts.ru>
894 * BUG 3145: Fix build issue regarding quota support on Solaris.
897 o Volker Lendecke <vl@samba.org>
898 * BUG 3068: Fix for winbindd crashed by empty DC alternative
902 --------------------------------------------------
903 ===============================
904 Release Notes for Samba 3.0.20a
906 ===============================
908 Common bugs fixed in 3.0.20a include:
910 o Stability problems with winbindd.
911 o Crash bugs caused by incompatibilities on 64-bit systems.
912 o Missing files from directory listings on AIX servers
913 o User Manager interoperability problems.
914 o Minor build difficulties on various platforms such as
918 Winbind, security = domain, and Active Directory
919 ================================================
921 Recent security updates for Windows 2000 and Windows 2003 have
922 changed the fashion in which user and group lists can be obtained
923 from domain controllers. In short, the RPC mechanisms used by
924 "security = domain" to retrieve users and groups is not compatible
925 with these changes. The "security = ads" configuration is not
926 affected by the Windows protocol changes.
928 Samba developers are actively working to correct this problem in
929 the 3.0.21 release. In the meantime, Administrators who are unable
930 to migrate to "security = ads" and must continue using "security =
931 domain", can define credentials to be used by winbindd for account
932 enumeration by executing the following command as root.
934 wbinfo --set-auth-user='DOMAIN\username%password'
938 ######################################################################
949 o Jeremy Allison <jra@samba.org>
950 * BUG 3065: Fix for legacy clients retrieving a listing of
952 * Added external library for accessing Samba's share mode
954 * Fix winbindd credentials chain which caused logon failures
955 after attempting to authenticate an unknown user.
956 * Fix recursive looping bug in winbindd.
957 * Fix build errors on 64-bit systems.
958 * Posix ACL memory leak and crash bug fixes.
959 * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
960 * BUG 3060: Ensure SMBcreate truncates the file if it exists.
961 * Hide dot files and directory logic fixes.
962 * Correct display of open file modes by smbstatus.
963 * BUG 3010: Fix missing files bug on AIX systems.
966 o Gerald (Jerry) Carter <jerry@samba.org>
967 * Allow the root user to automatically pass se_access_checks()
968 in the registry and service control server code.
969 * Ensure that winbindd uses the correct name in the net_auth2()
970 request when running on a Samba PDC.
971 * Fix linking problem with tdb utilities.
972 * BUG 3080: Fix regression in 'net rpc shutdown' command.
973 * Fix segv in 'net rpc' when the pipe open fails.
974 * Fix upload bug when installing 64-bit Windows printer drivers.
975 * Fix regression in the smburi syntax used by smbspool.
976 * Fix sorting of subkey hash records in registry files.
977 * Correct REG_CREATE_KEY_EX parsing error.
978 * Interoperability issues with usrmgr.exe and Samba groups.
979 * Use the display names and not the Unix names when enumerating
980 groups in the ldapsam passdb backend.
981 * Ensure that Windows domain user names are converted to lower case.
984 o Guenther Deschner <gd@samba.org>
985 * Prevent BUILTIN sids returned in the user's token from
986 a Windows DC from being applied to any local group mappings
988 * Plug memory leaks in the kerberos keytab code.
989 * Ensure BUILTIN groups are returned from winbindd's idmap_rid
990 backend when 'winbind nested groups' is enabled.
991 * Fix crash bug in winbindd caused by 64-bit build issues.
992 * Improve debug messages in smbspool.
993 * Give better error-message when "NDS Universal Password" change fails.
994 * Fix password history error in the eDirectory schema file.
995 * Ensure that Windows domain group names are converted to lower case.
998 o Steve French <sfrench@us.ibm.com>
999 * Allow disabling mandatory byte range lock mount flag, and fix
1000 corresponding entry in mtab.
1003 o Volker Lendecke <vl@samba.org>
1004 * Fix race condition in the NTcreate&X open code when the
1005 disposition is NTCREATEX_DISP_CREATE.
1006 * Correct logic error when checking the pid for pending print
1007 change notify messages.
1008 * Ensure that winbindd child process complete startup even when
1009 the parent is receiving authentication requests.
1010 * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
1011 when authentication fails.
1014 o Jason Mader <jason@ncac.gwu.edu>
1015 * Compile warning fixes.
1018 o Uli Meis <a.sporto@gmail.com>
1019 * Patches for pdb_*sql.c
1022 o Luke Mewburn <lukem@NetBSD.org>
1023 * Autoconf syntax fixes.
1026 o James Peach <jpeach@sgi.com>
1027 * Correct problem with creating a core file in Linux.
1030 o Stefan Metzmacher <metze@samba.org>
1031 * Quota fixes in smbd.
1034 o Peter Rindfuss <rindfuss@wz-berlin.de>
1035 * Patches for pdb_*sql.c
1038 o Jiri Sasek <Jiri.Sasek@Sun.COM>
1039 * Solaris toolchain patches for autoconf scripts.
1042 o Andrew Tridgell <tridge@samba.org>
1043 * Fix for tdb clear-if-first race condition.
1046 o Leo Weppelman <leo@wau.mis.ah.nl>
1047 * BUG 3104: Don't allow time updates to files on read-only shares.
1050 o Steve Williams <steve@celineandsteve.com>
1051 * BUG 3052: Fix compile issues on OpenBSD.
1054 --------------------------------------------------
1055 ==============================
1056 Release Notes for Samba 3.0.20
1058 ==============================
1060 Additional features introduced in Samba 3.0.20 include:
1062 o Support for several new Win32 rpc pipes.
1063 o Improved support for OS/2 clients.
1064 o New 'net rpc service' tool for managing Win32 services.
1065 o Capability to set the owner on new files and directory
1066 based on the parent's ownership.
1067 o Experimental, asynchronous IO file serving support.
1068 o Completed Support for Microsoft Print Migrator.
1069 o New Winbind IDmap plugin (ad) for retrieving uid and gid
1070 from AD servers which maintain the SFU user and group
1072 o Rewritten support for POSIX pathnames when utilizing
1073 the Linux CIFS fs client.
1074 o New asynchronous winbindd.
1075 o Support for Microsoft Print Migrator.
1076 o New Windows NT registry file I/O library.
1077 o New user right (SeTakeOwnershipPrivilege) added.
1078 o New "net share migrate" options.
1081 What happened to 3.0.15 - 3.0.19?
1082 ==================================
1084 After some discussion it was deemed that the amount of changes
1085 going into the next Samba 3.0 release needed something to catch
1086 people's attention. Skipping several releases was chosen as
1087 the best solution with the least overhead. There will be no
1088 3.0.15 - 3.0.19 ever released. The next production release
1089 following 3.0.20 should be 3.0.21.
1091 The original announcement about the version number change can
1092 be found in the samba mailing list archives:
1094 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
1097 Asynchronous Winbind Implementation
1098 ===================================
1100 Winbindd has been completely rewritten in this release to support
1101 an almost completely non-blocking, asynchronous request/reply
1102 model. This means that winbindd will scale much better in
1103 large domain environments and on high latency networks. Neither
1104 the client interface nor the command line tools (i.e. wbinfo) have
1105 changed in their calling conventions or syntax. However, due to
1106 internal structure changes, it is required (more so than normal)
1107 that you install the nss_winbind.so library included in this release.
1110 Support for Microsoft Print Migrator
1111 ====================================
1113 Samba 3.0.20 includes full support for migrating printers from
1114 Windows servers or other Samba servers via the Microsoft Print
1115 Migrator tool. Restoring printers requires a working "add printer
1116 command" defined in smb.conf. Current support also allows
1117 administrators to create a master list of printer drivers which
1118 can be restored in bulk on new (or existing) Samba installations.
1121 Asynchronous IO Support
1122 =======================
1124 Experimental support for async IO has been added to smbd for
1125 certain platforms. To enable this new feature, Samba must be
1126 compiled to include the --with-aio-support configure option.
1127 In addition, the "aio read size" and "aio write size" to non-zero
1128 values. See the smb.conf(5) man page for more details on these
1132 ######################################################################
1139 Parameter Name Action
1140 -------------- ------
1141 acl check permissions New
1142 acl group control New
1143 acl map full control New
1146 enable asu support New
1149 map to guest Modified (new value added)
1150 max stat cache size New
1151 min password length Removed
1152 printer admin Deprecated
1153 username map script New
1154 winbind enable local accounts Removed
1155 winbindd nss info New
1158 Changes since 3.0.14a
1159 ---------------------
1165 o Jeremy Allison <jra@samba.org>
1166 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
1167 * Ensure the old SMB search calls always ask mask_match() to
1168 translate patterns like ????????.???.
1169 * Split out the check_path_syntax() into a findfirst, findnext,
1170 & wildcard versions.
1171 * Fix checks for matching groups in an file ACL against the
1172 user's primary and supplementary group list.
1173 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
1174 LANMAN2 protocol, ensure the EA size is always correctly
1175 set on a query for a file with no EA's.
1176 * BUG 2551: Look at the incoming flags2 flag
1177 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
1178 uppercased on a SMBsearch request, not the protocol level.
1179 * Added "volume" command to smbclient that prints out the
1180 volume name and serial number.
1181 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
1182 * Add support for OS/2 Extended Attributes.
1183 * Correctly check OpenX open modes.
1184 * Ensure allocation size is correctly returned for OpenX.
1185 * Only set allocation on create/truncate for nttrans.
1186 * Fix oplock bug in trans2open() code.
1187 * Remove unix_ERR_XXX global nastiness.
1188 * Only do the strange DOS error for openX, not trans2open.
1189 * Ensure SMBopen replies includes the share modes as well as
1191 * BUG 2581: Add size limit (in kb) to stat cache.
1192 * Fix bug in the trans2 secondary processing.
1193 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
1194 * Add an SMB counter per connection struct for gathering
1196 * BUG 2605: Ensure smbclient doesn't perform commands if
1197 the "chdir" fails in a scripted set.
1198 * Ensure a 'forced group' is added to the list of effective
1199 gids when processing ACLs.
1200 * Refactor rpc_bind structures for better future work.
1201 * BUG 2942: Add missing value in debug message.
1202 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
1203 by 'mangling method = hash'.
1204 * Fix memory leaks in the msdfs trans2 server code.
1205 * Convert msdfs server to be talloc'd based.
1206 * Fix up stackable vfs interface.
1207 * Fix rpc fault when encountering an unknown rpc_bind auth
1209 * BUG 2954: More AIX 5.1 AIO compile fixes.
1210 * Fix valgrind bug in interaction with new aio buffer (found
1212 * BUG 2878: Fix Norton commander not running on OS/2 clients.
1213 * Cleanup SAMR user info structure naming.
1214 * BUG 2889: Fix directly listings from OS/2 clients.
1215 * Added "acl group control" parameter.
1216 * Add debug warning if AddPrinterEx() is called without having
1217 an 'add printer command' defined.
1218 * Add better log messages when modifying ldap entries.
1219 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
1220 when string is unaligned.
1221 * BUG 2918: Fix SMB chaining by ensuring that deferred open
1222 message buffer is nor reused.
1223 * Add support for client setting capabilities to select posix
1224 pathnames on the wire.
1225 * Stop using C++ reserved words so that Samba can be compiled
1226 using g++. Also allows VFS modules in C++.
1227 * More fixes to allow better large directory scaling.
1228 * BUG 2827: Ensure we call the vfs connection hook before
1229 doing a vfs stat. Allows database vfs backends to initialize
1230 with a working connection.
1231 * BUG 2826: Ensure the correct return value for symlink and
1232 readlink in the VFS.
1233 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
1234 * Added AIO support to smbd.
1235 * Add "acl map full control", true by default, to allow people
1236 to change mapping of rwx to full control or not.
1237 * Transition smbd to use NTcreate&X for internal file opens.
1238 * Add checks against the current effective group id (e.g. force
1239 user) when testing write permissions one ACLs.
1240 * Fix FindFirst/FindNext server code when parsing directories
1241 on old IRIX XFS file systems (thanks to Cale Fairchild
1242 for the debugging help).
1243 * BUG 2644: Test for special files to be ignored was reversed.
1244 * Ensure yield_connection() is called on all appropriate error
1246 * Fix EDEADLCK problem with deferred open calls.
1247 * BUG 2622: Remove DPTR_MASK as it makes no sense.
1248 * Fix the write cache based on some VERY good detective work
1250 * BUG 2346: Fix read-only excel file bugs.
1251 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
1252 return ENOSYS if not implemented.
1253 * Add new CAP for POSIX pathnames.
1254 * BUG 2703: Add NULL guard for disp_fields[0].
1255 * BUG 2681: With "strict allocate = yes" we now zero fill when
1256 a file is extended. Should catch disk full errors on write
1258 * Add "acl check permissions" to turn on/off the new
1259 behavior of checking for write access in a directory
1261 * Refactor printing interface to take offset into job.
1262 * Allow mapping of POSIX ACLs to NT perms to differentiate
1263 between directories and files.
1264 * Added encrypt/decrypt function for LSA secrets and trusted
1265 domain passwords on the wire.
1266 * BUG 2729: Resume keys are *mandatory* for a search when
1267 listing a W2K and above server from a FATxx filesystem only.
1268 * BUG 2735: Ensure that smbd mangles control characters in file
1269 and directory names.
1270 * Refactor small pieces of socket handling code (in conjunction
1272 * BUG 2698: Fix infinite listing loop in smbclient caused by
1273 an invalid character set conversion.
1274 * Add client code that will abort a directory listing if we
1275 see the same name twice between packets.
1276 * Performance improvements in trans2 qfilepathinfo code by
1277 removing unnecessary memset() calls.
1278 * Rewrite the RPC bind parsing functions to follow the
1279 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
1280 * BUG 2774: Set sparse flag if needed when returning
1282 * Fix errors listing directories from Windows NT clients
1283 which caused "." and ".." to show up in explorer.exe.
1284 * Merge of error code fixes from SAMBA_4_0 branch.
1285 * BUG 2801: Fix regression in the "delete veto files" option.
1286 * Fix based on work from Shlomi Yaakobovich to catch loops
1287 in corrupted tdb files.
1288 * Allow someone with SeTakeOwnershipPrivilege to chown the
1289 user of a file to herself.
1290 * Fix minor compiler warnings in printing/printing.c.
1291 * Merge new DOS error code from SAMBA_4.
1292 * Fix issue when non-English characters in filenames and
1294 * Fix bogus error message in smbstatus about unknown share modes.
1297 o Andrew Bartlett <abartlet@samba.org>
1298 * Support raw NTLMSSP authentication for Windows Vista
1300 * Fix parallel NTLMSSP processing by removing global state.
1301 * BUG 2684: Add per service hosts allow/deny checks for
1302 printers when connecting via MS-RPC.
1303 * BUG 2391: Fix segv caused by free a static pointer returned
1305 * Support kerberos authentication in smbd when using a keytab
1306 and participating in a non-Microsoft Kerberos realm.
1309 o Timur Bakeyev <timur@com.bat.ru>
1310 * BUG 2546: Add support for FreeBSD EA API
1311 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
1312 * BUG 2908: Fix string length logic error in msdfs code.
1313 * BUG 2909: Fix typo that caused smbd to call the wrong
1317 o Ed Boraas <ed.boraas@concordia.ab.ca>.
1318 * Added Linux per-socket TCP settings.
1321 o Gerald (Jerry) Carter <jerry@samba.org>
1322 * Added support for \svcctl pipe rpcs.
1323 * Added 'net rpc service' subcommand for managing Win32
1325 * Refactoring work on the rpc [un]marshalling layer and
1327 * Verify privilege name in 'net rpc rights privileges' in
1328 order to provide better error messages.
1329 * Cleanup rpc structures in rpc_spoolss.h.
1330 * Cleanups and fixes for the \winreg server code.
1331 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
1332 * Fix bugs in client spoolss code after refactoring work.
1333 * Fix Valgrind warnings of invalid reads in the spoolss
1335 * Fixed a segv when enumerating services on a Samba host.
1336 * Fix segv in the service control server code.
1337 * Fix crashes in client spoolss calls caused by not checking
1338 for a valid pointer from the caller.
1339 * Fix regression in DeleteDriver() server routines.
1340 * Fix dup_a_regval() when size is 0.
1341 * Fix usrmgr.exe crash when viewing user properties at
1343 * Do not enumerate any privileges when 'enable privileges = no'
1344 and log a message if a client tries.
1345 * BUG 2872: Fix cut-n-paste error when checking pointer value
1346 in ntlmssp_set_workstation().
1347 * Fix upgrade path from earlier nt*tdb files.
1348 * Removed print handle object cache.
1349 * BUG 2853: Don't strip out characters like '$' from printer
1350 names when substituting for the lpq command.
1351 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
1352 * Fix build issues on x86_64-linux systems caused by valgrind
1353 headers. Thanks to Bent Vangli to the suggestions.
1354 * Refactor spoolss client calls.
1355 * Adding 'username map script'.
1356 * Disable schannel on the LSA and SAMR pipes in winbindd client
1357 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
1358 * Cleanup of winreg API functions.
1359 * Add server stubs for RegSetKeySec() and RegGetKeySec().
1360 * Map generic bits to specific bits in reg_open_entry()
1362 * Add write support to registry tdb and printing backends.
1363 * Use tdb lookups rather than hard-coding certain registry
1364 value names and data.
1365 * BUG 2808: don't try to install man pages if they are not
1367 * Fix initialized variables reported by valgrind.
1368 * Normalize key lookups in ntprinters.tdb.
1369 * Mark "enumports command" as deprecated.
1370 * Add missing class file for python share command example.
1371 * Fix smbclient build issue on Solaris.
1372 * BUG 2626: ensure that the calling_name is set to something
1373 after parsing smb.conf (if not set via -n).
1374 * Use "add machine script" when creating a user (ACB_NORMAL)
1375 who has a name ending in '$' (e.g. usrmgr.exe creating
1376 domain trust accounts).
1377 * Add 'rid' synonym for idmap_rid IDMap module.
1378 * Ensure that we set full access on the handle returned
1379 from _samr_create_dom_{alias,group}() so that future
1380 set_{alias,group}() commands succeed.
1381 * Fix bug when looking for internal domains in winbindd
1382 (caused winbindd_getgrgid() for local groups to fail).
1383 * Fix query and set alias info calls (level 1 from the MMC
1384 manage computer plug-in.
1385 * Remove bogus log messages about unknown specversions.
1386 * BUG 2680: copy files from an MS-DFS win2k root share
1387 * BUG 2688: re-implement support for the -P (--port) option
1388 * Support connecting to an 'msdfs proxy' share on a Samba
1390 * Strip the directory path from cups command line printing
1392 * Fix bug that prevented smbclient from creating directories
1394 * Deprecate the "printer admin" parameter in favor of the
1395 SePrintOperatorPrivilege.
1396 * Add the capability to read and write WinNT regf registry
1398 * Implement access checks for RegOpenXXX() server calls.
1399 * Extend registry client rpc calls.
1400 * Add "net rpc registry" set of commands.
1401 * Remove testprns tool.
1402 * Ensure that printer ACLs use the specific bits as well as
1403 the generic bits. Upgrade existing ntprinters.tdb SECDESC
1405 * Add server support for RegSaveKey() for dumping registry
1406 trees to a regf file.
1407 * Add "enable asu support" smb.conf parameter.
1408 * Merge various small file changes from trunk.
1409 * Remove "winbind enable local accounts" support.
1410 * Remove "ldap filter" smb.conf option.
1411 * Remove editreg utility (needs to be rewritten using regfio.c).
1412 * Fix build failure when running 'make torture' without first
1413 running 'make all' first.
1414 * BUG 1261: Remove unusable libbiconv from iconv detection
1416 * Add new option for "map to guest". "Bad Uid" re-enables the
1417 Samba 2.2 behavior of mapping authenticated users to the
1418 guest account if there does not exist a valid Unix account
1419 for the Windows domain user (based on patch from
1420 aruna.prabakar@hp.com).
1421 * Fix a couple of regressions after introduction of new winbindd.
1422 * Fix smbpasswd user password change (still worked by bad error
1423 messages) due to trying to strdup a NULL pointer.
1424 * Implement default security descriptors for the
1425 OpenService[Manager]() calls and check requested access mask
1427 * Include access checks on handle mask for \svcctl operations
1428 such as ControlService() and StartService().
1429 * Implement simulated start and stop service control for
1430 the spooler service as a per smbd service state value.
1431 * Add interface structure for controlling service via rc.init
1432 scripts (incomplete).
1433 * Convert move_driver_to_download_area() to use copy_file()
1434 rather than moving the files.
1435 * Add version number to registry.tdb file since it can be
1437 * Remove over-paranoid assert() call when checking spoolss
1439 * Fix error in EnumPrinterData() reported by valgrind.
1440 * Fix broken help links in SWAT editor caused by new doc layout.
1441 * Ensure that a domain structure in winbind is initialized prior
1442 to assigning the methods for communicating to a DC.
1443 * BUG 3000: Remove background updates of winbind cache and allow
1444 child processes to immediately update and expired cache entry.
1447 o David.Collier-Brown <David.Collier-Brown@sun.com>
1448 * Added panic action script for Solaris.
1451 o Jeremy Cooper <jeremy@ncircle.com>
1452 * Added support for several new \winreg client rpcs.
1455 o <core@road-star.jp>
1456 * BUG 2792: Ensure the shadow copy module hooks seekdir,
1457 telldir, rewinddir to match updated large directory code.
1460 o Guenther Deschner <gd@samba.org>
1461 * Close handles on group creation in rpcclient to better
1462 support mass group account creation.
1463 * Fix account policy key lookup for minimum and maximum
1465 * Fix some compiler warnings and add missing exclude-block
1466 in 'net rpc share migrate'.
1467 * Allow use of a non-default smb.conf by rpcclient.
1468 * Fix querydispinfo search semantics in rpcclient test code.
1469 * Fix querydispinfo server semantics to allow to list more
1471 * Fix server crash bug in ancient OpenPrinter() call.
1472 * Fix a crash bug when enumerating privileges via the LSA
1474 * Fix crash in EnumPrinterKey() client calls caused by previous
1476 * Various compiler warning fixes.
1477 * Fix segfault in the client AddPrinterEx-call of 'net
1479 * Fix build issues when --with-aio-support is enabled.
1480 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
1481 * Honour the CC environment variable in python build.
1482 * Fix searches in pdb_ldap for inter-domain trust accounts.
1483 * Don't expand the %L in %LOGONSERVER% from user attributes.
1484 * Fix bug in 'net rpc vampire' that caused accounts to be created
1485 with no assigned ACB flags.
1486 * Fix enumeration of builtin-aliases.
1487 * Avoid unset rids for builtin-aliases.
1488 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
1489 * More "net rpc share migrate" fixes.
1490 * Merge PADL's idmap_ad plugin (taken from the latest
1491 xad_oss_plugins-tarball).
1492 * Add support for "idmap backend = ad" when "security = ads".
1493 * Add home directory and shell support from AD via "winbindd nss
1494 support = sfu" and "security = ads".
1495 * Provide better feedback when we fail share-manipulation
1496 due to missing scripts.
1497 * Correctly substitute "\" as default winbind separator in
1498 generate_parm_table.py example share command script.
1499 * Document pam_winbind.c to clarify the working status of
1500 require-membership-of option.
1501 * Added client-support for various lsa_query_trust_dom_info()
1502 calls and a rpcclient-tester for some info-levels.
1503 * Add "net rpc trustdom vampire" tool (in conjunction with
1505 * Add missing cli_srvsvc_net_share_set_info-function and
1506 rpcclient-testers (in preparation for net share acl migration).
1507 * Print trusted domain passwords returned via rpcclient in
1509 * Error code fixes when attempting to manipulating
1510 non-existent shares.
1511 * Cleanup "net share migrate" code.
1512 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
1514 * Allow admins to uncheck the "User must change Password at
1515 next Logon" checkbox in User manager (merge from trunk).
1518 o Renaud Duhaut <rd@duhaut.com>
1519 * BUG 1040: Add directory_mode parameter when creating recycle
1523 o Steven Edwards <steven_ed4153@yahoo.com>.
1524 * Use chsize() if we don't have ftruncate().
1527 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
1528 * BUG 1780: Add kerberos (file based ticket cache) support
1532 o Steve French <sfrench@us.ibm.com>
1533 * Update list of mount options for mount.cifs.
1534 * Add more defines for POSIX extensions to match the newly
1535 added client implementation.
1536 * Add initial support for cifs umount utility.
1537 * Fix cifs mounts to handle commas embedded in prompted
1538 password, and password and credential files.
1539 * Fix cifs mounts to handle domain name and user name in
1540 username field (in form domain\user).
1541 * Add missing error code mappings when a client unsuccessfully
1542 tries to create a hard-link.
1543 * Add support so umount.cifs can update mtab.
1544 * Add two newer mount options to syntax help for mount.cifs.
1545 * Add missing remount flag handling.
1546 * Allow domain= to be specified in credentials file.
1547 * Fix umount.cifs help, allow root to unmount someone else's
1549 * Lock mtab when updating it during umount.cifs, also delete
1550 only one matching entry at a time.
1551 * Fix minor compiler warnings in the mount.cifs helper.
1554 o Deryck Hodge <deryck@samba.org>
1555 * BUG 2137: Encode quotes for display in HTML (original patch
1559 o Olaf Imig <Olaf.Imig@bifab.de>
1560 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
1562 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
1565 o Björn Jacke <bj@sernet.de>
1566 * Added ioctl constants reported by msbackup.exe and filemon.exe.
1569 o Kevin Jamieson <bugzilla@kevinjamieson.com>
1570 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
1573 o John Janosik <jpjanosi@us.ibm.com>
1574 * BUG 2077: Correctly fill in the correct server name when
1575 processing trusted domain logins.
1576 * BUG 2976: Mark logons for unknown domains with a
1577 non-authoritative response.
1580 o William Jojo <jojowil@hvcc.edu>
1584 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
1585 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
1589 o Tom Lackemann <cessnatomny@yahoo.com>
1590 * BUG 2242: Patch to ensure that we only set the security
1591 descriptor on an NTtransact create if we created the file.
1594 o Volker Lendecke <vl@samba.org>
1595 * Port some of the non-critical changes from HEAD to 3_0.
1596 The main one is the change in pdb_enum_alias_memberships
1597 to match samr.idl a bit closer.
1598 * Close handles on user creation in rpcclient to better
1599 support mass user account creation.
1600 * Implement client RAP calls for enumusers/enumgroups level 0.
1601 * Implement a new caching API for enumerating the pdb elements.
1602 * Convert the RAP user and group enumeration functions to the
1603 utilized the pdb_search API.
1604 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
1605 RestrictAnonymous environments.
1606 * Internal passdb API changes for better search capabilities
1607 (based on original work by Guenther Deschner).
1608 * Fix various compiler warnings.
1609 * Add chain length statistics to tdbtool.
1610 * Fix set afs ACL calls on files and directories in the root of
1612 * Refactoring work on internal open code
1613 * Correctly initialize the version in a new set of nt*tdb files.
1614 * Remove smb_run_idle_events() from main process loop in smbd
1615 and instead rely upon the timeout processing to handle
1616 dropping idle LDAP connections.
1617 * Fix the bug where users show up as trusting domains.
1618 * Fix an assertion failure in winbindd.
1619 * Fix a memleak in vfs_afsacl.
1620 * Various compiler warning fixes.
1621 * Fix compile when --enable-socket-wrapper is defined.
1622 * Fixes for top level acls in vfs_acl.c.
1623 * Refactor passdb interface functions.
1624 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
1625 * Correct 2 segv's in "net rpc printer migrate".
1626 * Return correct group type from smbd for BUILTIN groups.
1627 * Backport the talloc() layer from Samba 4.
1628 * BUG 2701: Fix segv in ldap reconnection code.
1629 * BUG 2705: Fix segv when connecting from usrmgr.exe.
1630 * Use the SID in the user token for the %s expansion in 'afs
1632 * Memory leak fixes in passdb code.
1633 * BUG 2720: Fixes for "net usersidlist".
1634 * BUG 2725: Fix segv in "net ads user".
1635 * Only allow schannel connections if a successful Auth2
1636 has been previously performed.
1637 * Don't look at gencache.tdb for the trusted domains if
1639 * Rewrite winbindd using an asynchronous process model.
1642 o Herb Lewis <herb@samba.org>
1643 * Compiler warning cleanups.
1644 * smbwrapper Makefile and compile time check cleanups.
1645 * Adding robustness checks for tdbdump and tdbtool.
1646 * Extend tdb command line parsing to arbitrary hex characters.
1647 * Add LOCKING debug class.
1648 * Fix more compiler warnings.
1651 o Derrell Lipman <derrell@samba.org>
1652 * add support for opening a file for write with O_APPEND
1654 * Added smbsh/smbwrapper for Linux to example/libsmbclient
1656 * Fix smbc_stat() from returning incorrect timestamps IFF
1657 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
1658 and not if it used cli-getatr() to retrieve the timestamps
1660 * Fix handful of compiler warnings.
1661 * BUG 2498, 2484: smbc_getxattr() fixes.
1662 * BUG 1133: Added provision for overloading some global
1663 configuration options via the new, per-user file
1664 ~/.smb/smb.conf.append.
1665 * BUG 2543: Properly cache anonymous username when reverting
1666 to anonymous login, in libsmbclient.
1667 * BUG 2505: Fix large file support in libsmbclient.
1668 * BUG 2564: Ensure correct errno when smbc_opendir() was called
1669 with a file rather than a directory.
1670 * Correct deprecated lvalue casts in testsuite/libsmbclient.
1671 * BUG 2663. cli_getattrE() and cli_setattrE() were not
1672 formatting or parsing the timestamp values correctly.
1673 * Correctly detect AF_LOCAL support in configure.
1674 * Fix problem updating file times on Windows 98 hosts using
1676 * Fix compile breakage on Solaris by eliminating the use of
1677 ctime_r() in libsmbclient DEBUG statement.
1680 o Jason Mader <jason@ncac.gwu.edu>
1681 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
1682 * Various compiler warning fixes about mistyped variables.
1683 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
1685 * BUG 2527, 2538: Removed unused variables.
1688 o Marcel <samba.10.maazl@spamgourmet.com>
1689 * Fix regression in OS/2 trans2 open code.
1692 o Jim McDonough <jmcd@us.ibm.com>
1693 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
1694 (in conjunction with Volker).
1695 * BUG 2953: Prevent the credentials chain on DC gets out
1696 of sync with client when NT_STATUS_NO_USER is returned.
1697 * Added subcommands to "net rpc vampire" (mostly done by Don
1698 Watson <dwatson@us.ibm.com>) to allow data to be put into an
1699 ldif file instead of actually writing to the passdb.
1700 * BUG 2736: Add retries to workaround winbind race condition
1701 with detecting idle clients.
1702 * BUG 2953: Additional fixes for domain trusts. Also clears
1703 up the "bad stub" error when attempting to logon to a Samba
1704 domain with a bad username.
1707 o Luke Mewburn <lukem@NetBSD.org>
1708 * Compiler warning fixes.
1711 o Kalim Moghul <kalim@samba.org>
1712 * Removed unused printmode command from smbclient.
1715 o Lars Müller <lmuelle@samba.org>
1716 * Re-enable the VERSION_REVISION option in case of another
1718 * Fix spoolss python bindings after C++ compiler changes and
1720 * BUG 2659: Don't trump on memory in smbtorture.
1721 * BUG 2060: Add -fPIC which is the case for all other Samba
1723 * Fix argv parsing in "net rpc".
1724 * Add support to create position independent executable (PIE)
1725 code if the compiler supports it.
1726 * BUG 2767: Add new options to testparm (--show-all-parameters,
1727 --parameter-name, and --section-name).
1728 * Fix net share migrate files to also migrate the ACLs of
1729 the top level dir of a share.
1732 o Marcel Muller <mueller@maazl.de>
1733 * Patch to fix the OS/2 EA_FROM_LIST info level call.
1734 * Mangled names fix for OS/2 clients.
1735 * Ensure we correctly set the return packet size to include the
1736 pad bytes in reply_readbmpx().
1737 * Fix for bug in SMBwriteBraw that incorrectly returned the
1738 number of bytes written.
1741 o Ricky Nance <ricky.nance@gmail.com>
1742 * Implemented mklogon script generator for domain logon scripts.
1745 o James Peach <jpeach@sgi.com>
1746 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
1747 * BUG 2285: Patch for hires timestamps and efficient notify code.
1748 * MS-DFS tidyup patches.
1749 * Build fixes on IRIX.
1750 * IRIX compiler warning fixes.
1751 * BUG 2596: Fix become_root link issues and one IRIX stack
1753 * Fix for null pointer ACL free.
1754 * BUG 2314: Fix const compiler warnings in the quota code.
1757 o Ed Plese <ed@edplese.com>
1758 * Fix faulty logic which caused winbindd to return failure
1759 when a user possessed no supplementary groups.
1762 o Marcin Porwit <mporwit@centeris.com>
1763 * Initial support for the \eventlog pipe.
1764 * Fix a memleak in the eventlog code.
1765 * Miscellaneous fixes for Samba's experimental event log support.
1766 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
1770 o Tim Potter <tpot@samba.org>
1771 * BUG 2940, 2943: Fixed various compiler warnings regarding
1772 mismatched types and unused variables.
1773 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
1774 * BUG 2733: Fix incorrect SHLIBEXT is set when running
1775 configure script on HPUX IA.
1776 * Remove unused autoconf #define's.
1777 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
1778 * Removed unused function declarations in tdb.h.
1779 * BUG 2895: Don't wrap non-existent functions in the python
1781 * BUG 2623, 2630: $< and $* are not valid in explicit rules
1783 * BUG 2560: Fix compile error lurking where PATH_MAX is not
1785 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
1786 * BUG 2611: Add fflush(stdout) after displaying username prompt
1787 in smbsh if username not specified on command line.
1788 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
1789 * BUG 2808: Update install swat message to reflect the fact
1790 that swat/README no longer exists.
1793 o Denis Sbragion <d.sbragion@infotecna.it>
1794 * BUG 2196: Allow absolute path (system wide) recycle bin.
1797 o Fernando Schapachnik <fernando@mecon.gov.ar>
1798 * Add logon hours support for the Postgres backend.
1801 o Richard Sharpe <rsharpe@samba.org>
1802 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
1804 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
1805 * BUG 2362: Quota support fix for DragonFly.
1806 * Fix dragonfly detection in configure.
1809 o Simo Sorce <idra@samba.org>
1810 * Allow Domain Admins to force user sessions to close via the
1811 Windows Server Manager.
1812 * Add support to 'net rpc right privileges <name>' to enumerate
1813 accounts which possess a specific privilege.
1814 * Fix memory issues issues in vfstest (reported by Rainer Link).
1815 * Randomize reloading as to not overload cupsd.
1818 o Smitty <smitty@plainjoe.org>
1819 * Compile fixes for smbget when using --enable-developer.
1820 * Include LUID values to match Windows privileges since
1821 apparently this matters to printmig.exe
1824 o John Terpstra <jht@samba.org>
1825 * Solaris packaging fixes.
1826 * Clean up usage help text in "net rpc user"
1829 o Andrew Tridgell <tridge@samba.org>
1830 * Merge socket wrapper library fixes from Samba 4.
1833 o Brett Trotter <blt@iastate.edu>
1834 * Fix definition of global_sid_* in vfs_acl.c.
1837 o Mark Weaver <mark-clist@npsl.co.uk>
1838 * Patch to fix sys_select so it can't drop signals if another
1839 fd is ready to read.
1842 o Jelmer Vernooij <jelmer@samba.org>
1843 * Remove --with-manpage-languages configure option.
1844 * Merge socket wrapper fixes for IRIX systems from the
1846 * Add socket_wrapper library to 3.0. Can be enabled by passing
1847 --enable-socket-wrapper to configure.
1848 * Fix build of the various sql pdb backends after new talloc.
1851 o Qiao Yang <qyang@stbernard.com>
1852 * Use our own DC when getting the SID for a domain.
1856 Release Notes for older release follow:
1858 --------------------------------------------------
1859 ===============================
1860 Release Notes for Samba 3.0.14a
1862 ===============================
1864 Common bugs fixed in 3.0.14a include:
1866 o Compatibility issues between Winbind and Windows 2003 SP1
1867 domain controllers (*2k3sp1*).
1868 o MS-DFS errors with Windows XP SP2 clients.
1869 o High CPU loads caused by infinite loops in the FindNext()
1871 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
1875 ######################################################################
1879 Changes since 3.0.14
1880 --------------------
1884 o Jeremy Allison <jra@samba.org>
1885 * Fixed invalid SMB_ASSERT() triggered by checking access on
1889 Changes since 3.0.13
1890 --------------------
1895 Parameter Name Action
1896 -------------- ------
1897 dos filetimes Enabled by default
1902 o Jeremy Allison <jra@samba.org>
1903 * Prevent nt_status code support when negotiating protocols
1905 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
1906 as this SMB is DOS codepage only.
1907 * BUG 2585: Fix printf() issues in smbpasswd which caused
1909 * BUG 2563: Fix infinite loop on non-existent file with
1911 * BUG 2581 (partial): Ensure if realloc fails on an internal
1912 tdb we fail gracefully.
1913 * Ensure that 'dos filetimes' works with ACLs.
1914 * Set 'dos filetimes = yes' as the default for smb.conf.
1917 o Gerald (Jerry) Carter <jerry@samba.org>
1918 * Workaround autoconf issue to prevent debug symbols from
1919 being included in the default build.
1920 * Disable schannel on the \lsarpc pipe in order to successfully
1921 enumerate users and groups (*2k3sp1*)
1922 * Fix parsing error in rpc binds which broke NTLMSSP
1923 authentication. And as a result broke CTL+ALT+DEL password
1924 changes from a Windows 2003 SP1 member of a Samba domain
1926 * Revert change to FindFirst() server code that broke WinXP
1927 SP2 clients from launching *.exe files from a dfs target
1929 * BUG 2588: Force smbclient to send netbios messages to port
1930 139 unless otherwise instructed (based on patch from Thomas
1934 o Volker Lendecke <vl@samba.org>
1935 * Fix build on FreeBSD 4 where Winbind is not supported.
1936 * Fix 'wbinfo --user-sids' when using domain local groups.
1937 * Restrict domain local groups reported by 'wbinfo -r' to
1938 the Samba server domain and not the users domain.
1941 o Lin Li <linl@xandros.com>
1942 * Ensure that winbind initializes internal trusted domain
1943 structures when enumerating users and groups.
1946 o Tim Potter <tpot@samba.org>
1947 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
1949 * Fix compiler warnings.
1952 o <psz@maths.usyd.edu.au>
1953 * Fix for possible root squash NFS bugs.
1956 o Simo Sorce <irda@samba.org>
1957 * Debian packaging fixes.
1960 --------------------------------------------------
1961 ==============================
1962 Release Notes for Samba 3.0.13
1964 ==============================
1966 Common bugs fixed in 3.0.13 include:
1968 o Infinite FindNext() loop from Windows 9x client when
1969 copying or deleting files on a Samba file share using
1971 o Numerous smbclient bugs when listing directories.
1972 o Failures in smbclient when connecting to a Windows 9x
1976 ######################################################################
1980 Changes since 3.0.12
1981 --------------------
1983 o Jeremy Allison <jra@samba.org>
1984 * Fix typo bug in smbclient where flags overwrote info level
1985 in the cli_list_new().
1986 * Fix old smbclient bug where ff_searchcount was being compared
1987 to -1 resulting in processing a filename twice.
1988 * Fix segv in smbclient caused by overwriting the last 2 bytes
1990 * BUG 2530: Fix potential segv in smbclient when talking to a
1991 Windows 9x file server.
1992 * Fix last entry offset in cli_list_new() when using a
1993 FindFirst/FindNext info level of 0x104.
1994 * BUG 2501: Stop Win98 from looping doing FindNext on a
1995 singleton directory.
1996 * BUG 2521: Fix error in access checks when user group ACLs.
1999 o Gerald (Jerry) Carter <jerry@samba.org>
2000 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
2001 to delete all versions of a driver.
2002 * BUG 2517: use the realm from smb.conf for 'net ads info' when
2003 'disable netbios = yes'.
2004 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
2006 * Update RedHat packaging files to require cups support. Also
2007 remove requirement for 'idmap {uid,gid}' settings in smb.conf
2008 from winbindd init script.
2009 * BUG 2516: fix compile issue on True64.
2013 o Guenther Deschner <gd@samba.org>
2014 * Check for the correct cli-struct when copying files in 'net
2015 rpc printer' routines.
2018 o Herb Lewis <herb@samba.org>
2019 * Fix incorrect test in 'net rpc user' when the user is not
2020 a member of any groups.
2023 o Jim McDonough <jmcd@us.ibm.com>
2024 * Make sure that enum_group_members() searches the correct suffix.
2027 --------------------------------------------------
2028 ==============================
2029 Release Notes for Samba 3.0.12
2031 ==============================
2033 Common bugs fixed in 3.0.12 include:
2035 o Winbind failures when using 'disable netbios = yes'
2036 o Failure to establish a trust relationship via 'net rpc trust
2038 o Various portability & compiler issues.
2039 o Read only file deletion failure caused by new delete semantics
2040 in Windows XP SP2 and the MS 04-044 security hotfix.
2041 o Error messages from shared Excel workbooks residing on Samba
2043 o Missing files in the output of smbclient -c 'dir' when run
2044 against Windows file servers.
2045 o Inability for Print Administrators to pause/resume/purge print
2048 Additional features introduced in Samba 3.0.12:
2050 o Performance enhancements when serving directories containing
2051 large number of files.
2052 o MS-DFS support added to smbclient.
2053 o More performance improvements when using Samba/OpenLDAP based
2054 DC's via the 'ldapsam:trusted=yes' option.
2055 o Support for the Novell NDS universal password when using the
2056 ldapsam passdb backend.
2057 o New 'net rpc trustdom {add,del}' functionality to eventually
2058 replace 'smbpasswd {-a,-x} -i'.
2059 o New libsmbclient functionality.
2063 =======================
2064 Large Directory Support
2065 =======================
2067 Samba 3.0.12pre1 introduces a specific mechanism for dealing
2068 with file services that frequently contain a large number of files
2069 per directory. Historically Samba's performance has suffered
2070 in such environments due to the translation from case
2071 insensitive lookups by Windows client to the case sensitive
2072 storage mechanisms used by UNIX filesystems.
2074 Configuration details along with a short HOWTO can be found at:
2076 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
2079 ==================================
2080 libsmbclient Binary Compatibility
2081 ==================================
2083 Please note that a change has been made to the _SMBCCTX structure
2084 in source/include/libsmbclient.h. This change is not backwards
2085 compatible with applications linked against the libsmbclient.so
2086 library from Samba 3.0.11. However, it is compatible with all
2087 other Samba 3.0.x releases. This means that it will be most likely
2088 be necessary to recompile any applications linked against the
2089 3.0.11 version of the library.
2092 ######################################################################
2099 Parameter Name Action
2100 -------------- ------
2101 allocation roundup size New
2102 log nt token command New
2103 write cache Deprecated
2107 Changes since 3.0.11
2108 --------------------
2112 o Jeremy Allison <jra@samba.org>
2113 * BUG 2146: Return correct allocation sizes so as not to crash
2115 * BUG 962: Ensure that parsing of service names in smb.conf is
2117 * BUG 2201, 2227: Support new delete semantics used by MS04-044
2119 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
2120 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
2121 * Add special hooks when serving directories containing large
2123 * Ensure that WINS negative name query responses and WACK
2124 packets use the correct RR type of 0xA instead of reflecting
2125 back what the query RR type was (0x20).
2126 * BUG 2310: Only do 16-bit normalization on small dfree request.
2127 * BUG 2323: Correct authentication failure when using plaintext
2128 passwords from Windows XP clients.
2129 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
2130 work around issues building MS Visual Studio 6.0 project
2131 on a Samba file share while restoring the pre-3.0.21pre1
2132 behavior by default.
2133 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
2134 stat when checking for existence of a pathname.
2135 * Check the sticky bit on the parent directory for supporting
2136 the new WinXP SP2 file deletion semantics.
2137 * Various oplock, share mode, and byte range locking fixes
2138 found by Connectathon tests.
2139 * BUG 2271: Fix resume key issues in trans2FindFirst() client
2140 code (inspired by patch from Satwik Hebbar).
2141 * BUG 2382, 2045: More pending modtime and delayed write fixes
2142 for MS Excel (incorporates partial patches from
2143 ke_miyata@itg.hitachi.co.jp).
2144 * Debug log message cleanups.
2145 * Add case insensitive search for a principal match on logon
2146 verification in the system keytab (based on patch by
2147 Michael Brown <mbrown@fensystems.co.uk>).
2148 * Revert the previous SMB signing change from Nalin Dahyabhai
2149 when using DES keys.
2150 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
2151 * Fix FindFirst() server code to deal with resume names of ".."
2152 and "." (found by Jim McDonough).
2153 * BUG 2451: Fix missing functions in full audit VFS module.
2154 * Ensure that smbd logs failures reported by DISK_FREE()
2155 (reported by Ying Li <ying.li2@hp.com>).
2156 * Ensure that smbclient obeys the max protocol argument again.
2157 * BUG 2335: Return correct error code for OS/2 clients (based on
2158 negotiated protocol level).
2159 * BUG 2460, 2464: remove dead code and unused variables
2160 (reported by Jason Mader).
2163 o Andrew Bartlett <abartlet@samba.org>
2164 * Avoid length-limited intermediate copy of NT and LM responses
2166 * Debug message cleanups in the NTLMSSP implementation.
2169 o Manuel Baena <mbaena@lcc.uma.es>
2170 * Print actual error message in smbmnt.c:fullpath().
2173 o Vince Brimhall <vbrimhall@novell.com>
2174 * Add support for Novell NDS universal password.
2175 * BUG 2424: Ensure that uidNumber and gidNumber use match
2177 * BUG 2453: Change the way pdb_nds.c handles users with no
2178 Universal or Simple Password.
2179 * NDS schema file corrections.
2182 o Gerald (Jerry) Carter <jerry@samba.org>
2183 * Add trans2 client call for checking dfs referrals
2184 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
2185 when checking directories on modern CIFS servers.
2186 * Add MS-DFS support to smbclient.
2187 * Code cleanup of adt_tree.[ch].
2188 * Add missing checks to allow root to manage user rights.
2189 * Allow domain admins to manage rights assignments on domain members
2191 * BUG 2333: Use the lpq command to pass in the correct printer name
2192 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
2194 * BUG 1439: make sure to initialize pointer to prevent invalid
2196 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
2198 * Add cups-devel to BuidlRequires directive in Fedora spec file.
2199 * BUG 858: Fix order of popt args evaluation so we don't crash
2200 when given no command line args.
2201 * Remove dependency on bash for source/autogen.sh.
2202 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
2203 * Implement MS-DFS for recursive directory listings in smbclient.
2204 * BUG 2394: Fix nmbd linking issue on IRIX.
2205 * Only display the publish check box in the client's printer
2206 properties dialog if we are a member of an AD domain.
2207 * BUG 2363: allow 'in use' driver to be removed as long as
2208 one 'Windows NT x86' driver remains.
2209 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
2211 * Enforce better printer.tdb cache consistency when removing
2212 jobs from a print queue via SMB.
2213 * Ensure that pause/resume/purge print queue commands are run
2214 with the appropriate level of privilege necessary to actually
2216 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
2217 for 'printing = cups' installations that do not actually have
2219 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
2220 * BUG 2215: Rewrite questionable code that was causing gcc to
2222 * Add server support for LsaLookupPrivValue().
2223 * Various small compile fixes and cleanup warnings.
2224 * BUG 2456: Fix compile failure on non-gcc platforms due to
2225 non-standard pragma.
2228 o Kevin Dalley <kevin@kelphead.org>
2229 * BUG 2398: Don't force smbclient to assume a dry run if the
2230 target tarfile is /dev/null.
2233 o Guenther Deschner <gd@samba.org>
2234 * Fix crash bug in the client-spoolss enumdataex-call.
2235 * Expand the valid-workstation-scheme by expanding names
2236 beginning with a plus (+) as a unix group.
2237 * Allow own netbios name to be set in smbclient's session setup.
2238 * Better handling of LDAP over IPC connections that have expired
2240 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
2241 * Add examples/misc/adssearch.pl.
2242 * BUG 2343: Build fixes.
2243 * Support get_user_info_7 in SAMR server RPC.
2244 * Fix server_role in the samr_query_dom_info calls.
2245 * Add example perl script to check for multiple LDAP entries
2246 after running 'net rpc vampire'.
2247 * Add more output when listing printer forms via rpcclient.
2248 * Debug log message cleanup.
2251 o Steve French <sfrench@us.ibm.com>
2252 * On failed mount (ENXIO) retry share name in uppercase (fix
2253 mount to FastConnect AIX SMB server).
2254 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
2255 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
2256 it with a user name.
2257 * Update for new CIFS POSIX info levels.
2258 * Ignore users mount parm in mount.cifs.
2260 o SATOH Fumiyasu <fumiya@samba.gr.jp>
2261 * BUG 1549: Don't truncate service names in smbstatus.
2264 o William Jojo <jojowil@hvcc.edu>
2265 * BUG 2445: Patch to avoid default ACLs on AIX.
2268 o S Murthy Kambhampaty <smk_va@yahoo.com>
2269 * Add idmap_rid module to Fedora and RedHat spec files.
2272 o Volker Lendecke <vl@samba.org>
2273 * BUG 2401: Flush internal getpwnam() cache after deleting a
2275 * BUG 1604: Make winbind work with more than 10 trusted domains.
2276 * Cleanup various compiler warnings.
2277 * Fix a memory leaks in privileges code and passdb backends.
2278 * Fixes for samr_lookup_sids() client call.
2279 * Optimize _samr_query_groupmem with LDAP backend for large
2281 * Support SIDs as %s replacements in the afs username map
2283 * Add 'log nt token command' parameter. If set, %s is replaced
2284 with the user sid, and %t takes all the group sids.
2285 * Do not use the "Local Unix Group"-default description for
2286 all kinds of group-mappings.
2287 * Fix uninitialized variable in Linux nss_winbind library.
2288 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
2289 * Implement 'net afs impersonate'.
2292 o Herb Lewis <herb@samba.org>
2293 * Fix build problem when HAVE_POSIX_ACL is not defined.
2294 * BUG 2417: Add help lines for net rpc group addmem and
2298 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
2299 * Add support to libsmbclient for getting and setting DOS
2300 attributes using EA functions.
2301 * Fix libsmbclient's URL encoding/decoding.
2302 * Replace browse listing URI queries with an internal options
2303 structure (previous method violated the SMB URI syntax).
2304 * Allow tree connects to be multiplexed over a single CIFS server
2306 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
2307 can determine a dead tree connection.
2308 * Implement better solution for backwards binary compatibility
2309 in libsmbclient while adding new fields to struct _SMBCCTX.
2312 o Mark Loeser <halcy0n@gentoo.org>
2313 * BUG 2443: Compile fix for gcc4.
2316 o Jim McDonough <jmcd@us.ibm.com>
2317 * BUG 2338: Fix coredump when OS/2 checks for long file name
2318 support (with .+,;=[].) (thanks to Guenter Kukkukk).
2321 o Jason Mader <jason@ncac.gwu.edu>
2322 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
2326 o Jim McDonough <jmcd@us.ibm.com>
2327 * Fixes for server schannel implementation when 'restrict
2328 anonymous = 1' is set in smb.conf.
2329 * Fix bug in server side lookupsids reply that crashed lsass.exe
2331 * Fix 'net rpc trustdom establish'.
2332 * BUG 2062: Turn off broadcast for all 390 NICs.
2333 * Fix 'net rpc trustdom add' to correctly add new domain trust
2334 accounts. This will eventually replace 'smbpasswd -a -i'.
2335 * Implement 'net rpc trustdom del', including client side of
2336 samr_remove_sid_from_foreign_domain.
2337 * Bring IBM Directory Server schema up to date with openldap
2339 * Allow for better protection of sensitive attributes in IBM
2343 o Stefan Metzmacher <metze@samba.org>
2344 * Fix memleaks in the nttrans code.
2347 o Mike Nix <mnix@wanm.com.au>
2348 * Add SMBsplopen and SMBsplclose client calls.
2351 o Justin Ossevoort <justin@snt.utwente.nl>
2352 * BUG 2316: Fix crashes in pdb_pgsql.
2355 o James Peach <jpeach@sgi.com>
2356 * Fixes in string handling code.
2357 * Fix oplock2 test in client smbtorture.
2360 o Tim Potter <tpot@samba.org>
2361 * Fix up example pdb modules after prototype change for
2363 * BUG 2058: Fix for shared object creation in examples.
2364 * BUG 2315: Fix segv in LSA privileges server code.
2365 * Build fixes for python wrapper libraries.
2368 o Richard Sharpe <rsharpe@samba.org>
2369 * BUG 2044: Fix segv in profiles tool.
2370 * Fix bogus error messages when enumerating user group
2371 membership via 'net rpc'.
2374 o Simo Sorce <idra@samba.org>
2375 * Debian packaging fixes.
2378 o John Terpstra <jht@samba.org>
2379 * Add the capability to set account description using pdbedit.
2382 o Doug VanLeuven <roamdad@sonic.net>
2383 * Add more case/realm/name permutations to the kerberos keytab.
2384 * AIX compile fixes.
2387 o Jelmer Vernooij <jelmer@samba.org>
2388 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
2389 * BUG 1957: Implement minimal update of fields in mySQL pdb
2393 o Torsten Werner <torsten.werner@assyst-intl.com>
2394 * BUG 2405: Define 'lpstat' printcap output on HPUX.
2397 o Shlomi Yaakobovich" <Shlomi@exanet.com>
2398 * Detect infinite loops when traversing tdbs.
2401 --------------------------------------------------
2402 ==============================
2403 Release Notes for Samba 3.0.11
2405 ==============================
2407 Common bugs fixed in 3.0.11 include:
2409 o Crash in smbd when using CUPS printing.
2410 o Parsing error of other SIDs included in the user_info_3
2411 structure returned from domain controllers.
2412 o Inefficiencies when searching non-AD LDAP directories.
2413 o Failure to expand variables in user domain attributes
2414 in tdbsam and ldapsam.
2416 o Failure to retrieve certain attribute when migrating from
2417 a Windows DC to a Samba DC via 'net rpc vampire'.
2418 o Numerous printing bugs bugs including memory
2419 bloating on large/busy print servers.
2420 o Compatibility issues with Exchange 5.5 SP4.
2423 Additional features introduced in Samba 3.0.11:
2425 o Winbindd performance improvements.
2426 o More 'net rpc vampire' functionality.
2427 o Support for the Windows privilege model to assign rights
2429 o New administrative options to the 'net rpc' command.
2436 If "ldap user suffix" or "ldap machine suffix" are defined in
2437 smb.conf, all user-accounts must reside below the user suffix,
2438 and all machine and inter-domain trust-accounts must be located
2439 below the machine suffix. Previous Samba releases would fall
2440 back to searching the 'ldap suffix' in some cases.
2447 Samba 3.0.11 supports the following assignable rights
2449 SeMachineAccountPrivilege Add machines to domain
2450 SePrintOperatorPrivilege Manage printers
2451 SeAddUsersPrivilege Add users and groups to the domain
2452 SeRemoteShutdownPrivilege Force shutdown from a remote system
2453 SeDiskOperatorPrivilege Manage disk shares
2455 These rights can be assigned to arbitrary users or groups
2456 via the 'net rpc rights grant/revoke' command. More details
2457 of Samba's privilege implementation can be found in the
2458 Samba-HOWTO-Collection.
2461 ######################################################################
2465 Changes since 3.0.10
2466 --------------------
2471 Parameter Name Action
2472 -------------- ------
2473 afs token lifetime New
2474 enable privileges New
2475 ldap password sync Alias
2476 min password length Deprecated
2477 winbind enable local accounts Deprecated
2482 o Jeremy Allison <jra@samba.org>
2483 * Extend vfs to add seekdir/telldir/rewinddir.
2484 * Fix dirent return.
2485 * Fix bugs when handling secondary trans2 requests.
2486 * Implementation of get posix acls in UNIX extensions.
2487 * Added set posix acl functionality into the UNIX extensions code.
2488 * Updated config.guess/config.sub .
2489 * Fix error reply when 'follow symlinks = no'.
2490 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
2492 * Fixes for LARGE_READX support.
2493 * Fix the problem we get on Linux where sendfile fails, but we've
2494 already sent the header using send().
2495 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
2497 * BUG 2088: Ensure inherit permissions is only applied on a new
2498 file, not an existing one.
2499 * Don't go fishing for the krb5 authorization data unless we know
2501 * Fixes for libsmbclient to ensure that interrupted system calls
2502 are restarted minus the already expired portion of the timeout
2503 (based on work by Derrell Lipman).
2504 * More Unicode string parsing fixes.
2505 * Convert the winreg pipe to use WERROR returns.
2506 * Make all LDAP timeouts consistent (input from Joe Meadows
2507 <jameadows@webopolis.com>).
2508 * BUG 2231: Remove double "\\" from client findfirst.
2509 * BUG 2238: Fix memory leak in shadow copy vfs.
2510 * Return correct DOS/NT error code on transact named pipe on
2512 * BUG 2211: Fix security descriptor parsing bug (based on work by
2513 Mrinal Kalakrishnan <mail@mrinal.net>).
2514 * BUG 2270: Fix memory leaks in cups printing backend support
2515 (based on work by Lars Mueller).
2516 * BUG 2255: Fix debug level in kerberos error messages.
2517 * BUG 2110: Ensure we convert to ucs2 correctly after the
2518 CAN-2004-0930 patch.
2519 * Make strict locking an enum. Auto means use oplock optimization.
2520 * Fix client & server to allow 127k READX calls.
2521 * More *alloc fixes (includes additional fixes by Albert Chin.
2522 * Catch sendfile errors correctly and return the correct values
2523 we want the caller to return.
2524 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
2525 for better use by desktop environments such as GNOME.
2526 * Ensure we can't remove a level II oplock without having the
2527 shared memory area locked.
2530 o Timur Bakeyev <timur@com.bat.ru>
2531 * BUG 2100: change the way we check for errors after a dlopen().
2532 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
2535 o Andrew Bartlett <abartlet@samba.org>
2536 * Clarify error message when 'lanman auth = no'.
2537 * Remove the unnecessary UTF-8 conversion calls in the calls to
2538 auth_winbind from smbd.
2539 * Don't store the auth-user credentials with the cli_state* as
2540 this can cause the schannel setup to fail when the auth-user
2541 domain is not our primary domain.
2544 o Grigory Batalov <bga@altlinux.org>
2545 * Fix encoding while receiving of a message which was actually
2546 sent using STR_ASCII.
2549 o Daniel Beschorner <db@unit-netz.de>
2550 * BUG 603: Correct access mask check for _samr_lookup_domain()
2551 to work with Windows RAS server
2554 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
2555 * Fix missing printer_tdb reference decrement.
2558 o Gerald (Jerry) Carter <jerry@samba.org>
2559 * BUG 2073: fall back to smb_name if current_user_info is not
2560 available in lp_file_list_changed().
2561 * Fixes the spurious 'register_message_flags: tdb fetch failed'
2563 * Don't run the background LPQ daemon when we are running in
2565 * prevent the background LPQ daemon from updating the print queue
2566 cache just because multiple smbd processes sent a message that
2568 * consolidate printer searches to use find_service rather than
2570 * BUG 2091: don't remove statically defined printers in
2571 remove_stale_printers().
2572 * Fix logic error in add_a_form() that only compared N characters
2573 instead of the entire form name.
2574 * BUG 2107: fix memory bloating caused by large numbers of
2575 print_queue_updates() requests sent via messages.tdb.
2576 * Check the setprinter(3) based on the access permissions on
2577 the handle and avoid the call to print_access_check().
2578 * Re-instantiate previous semantics for calling init_unistr2()
2579 with a NULL source buffer.
2580 * Support Windows privilege model for assigning rights
2581 to specific SIDs. Based on work by Simo Sorce in the trunk
2582 svn branch. This feature is controlled by the 'enable
2583 privileges = [yes|no]' smb.conf(5) option.
2584 * Add some smb.conf scripts for add/delete/change shares and
2585 deleting cups printers.
2586 * Expand variables in the profile path, logon home and logon script
2587 values when using either tdbsam or ldapsam.
2588 * Add Domain Admins (Full Control) to the default printer security
2589 descriptor if we are a DC.
2590 * RedHat and Fedora Packaging fixes for perl dependencies.
2591 * Remove unused schema items from OpenLDAP schema file.
2592 * Remove duplicate enumeration of "Windows x86" architecture
2593 when listing printer drivers via rpcclient.
2594 * Fail set_privileges() if 'enable privileges = no' to prevent
2596 * Fix segfault in cups_queue_get().
2597 * Tighten restrictions on changing user passwords when
2598 the connected user possesses the SeMachineAccountPrivilege.
2599 * Ensure we set NETBIOSNAME.domainname for the long machine name
2600 when publishing printers in AD (based on input from Rob Foehl).
2601 * Mark 'winbind enable local accounts' as deprecated.
2602 * Mark testprns tool as deprecated.
2603 * Allow root to grant/revoke privilege assignments.
2604 * Correct interaction between user rights and se_access_check() on
2606 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
2608 * BUG 2262: Add support in configure.in for *freebsd6*.
2609 * BUG 2266: Portability fixes for quota code on FreeBSD4.
2610 * BUG 2264: Remove shutdown and abortshutdown commands from
2611 rpcclient in favor of using the same functions in 'net'.
2612 * BUG 2295: Prevent smbd from returning an empty server name
2613 in certain lanman api calls.
2614 * BUG 2290: Fix autogen.sh script in examples (based on original
2615 patch from Lars Mueller).
2616 * Fix bug enumerating domain trusts in security = ads.
2617 * Fix segv in rpcclient's dsenumdomtrusts.
2618 * Fix bug in expansion of %U and %G in included filenames.
2619 * BUG 2291: Restrict creation of server trust and domain trust
2620 accounts to members of the "Domain Admins" group.
2622 o Nadav Danieli <nadavd@exanet.com>
2623 * Short circuit some is_locked() tests if we are oplocked.
2626 o Guenther Deschner <gd@samba.org>
2627 * Allow 'localhost' as a valid server name in the smbd for the
2629 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
2630 Mewburn for the input).
2631 * BUG 2059: Add additional checks needed after logic change to the
2632 HAVE_WRFILE_KEYTAB detection test.
2633 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
2634 Samba DC. Allow us to lookup at least our own SID.
2635 * More fixes to have proper German in swat (Thanks to Reiner
2636 Klaproth and Björn Jacke.
2637 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
2638 setting security descriptors with smbcacls and using with
2639 the -S or -M switch.
2640 * Include the munged_dial, bad_password_count, logon_count, and
2641 logon_hours attributes when running 'net rpc vampire'.
2642 * Fix segfault in idmap_rid.
2643 * When winbindd is operating in the multi-mapping mode of
2644 idmap_rid, allow BUILTIN domain-mapping.
2645 * Display infolevel 12 in query_dom_info in rpcclient.
2646 * Fix bug in winbindd's lowercasing of usernames.
2647 * Allow -v or -l for displaying verbose groupmap-listing
2648 as well as "verbose".
2649 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
2651 * Close LDAP-Connection before retrying to open a new connection
2653 * Marking "min password length" as depreciated.
2654 * Implement SAMR query_dom_info-call info-level 8 server- and
2655 client-side, based on samba4-idl.
2656 * Allow rpcclient to define a port to use when connecting
2658 * Allow Account Lockout with Lockout Duration "forever" (until
2659 admin unlocks) to be set and displayed in User Manager.
2660 * Allow to set acb_mask in rpcclient's enumdomusers.
2661 * Add more generic rootDSE inspection function to check
2662 for given controls or extensions and remember these on a
2664 * Improve LDAP search efficiency by passing the acb_mask to
2666 * Fixes for ldapsam_enum_group_memberships().
2667 * Add createdomgroup to rpcclient.
2668 * Add "net rpc user RENAME"-command.
2669 * Display sam_user_info_7 in rpcclient.
2670 * Make multi-domain-mode in idmap_rid accessible from outside
2671 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
2672 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
2673 "Lockout Duration: Forever".
2674 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
2676 * Require assignment of Administrator SID in the passdb
2677 backend. Fall back to the default name of 'Administrator' if
2678 the lookup fails rather than using the first name in the
2679 default 'admin users' list.
2680 * Enhance LDAP failure debug messages.
2681 * BUG 2291: Call the 'add machine script' for server trust and
2682 domain trust accounts as well as workstation accounts.
2685 o Levente Farkas <lfarkas@lfarkas.org>
2686 * BUG 2299: Better logrotate scripts for RedHat and Fedora
2690 o Jay Fenlason <fenlason@redhat.com>
2691 * Fix crash in 'net join' due to calling free on
2693 * Several patches from RedHat's Fedora Core RPMS.
2696 o Rob Foehl <rwf@loonybin.net>.
2697 * Compiler warnings.
2698 * Try modifying printer published attributes before adding it a
2700 * Solaris packaging fixes.
2701 * Don't force the cups printer-make-and-model tag as the comment
2702 for autoloaded printers.
2703 * Implement caching of names from printcap to support a true
2704 'printcap cache time'.
2707 o Johann Hanne <jhml@gmx.net>
2708 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
2711 o Jeff Hardy <hardyjm@potsdam.edu>
2712 * Example script for 'add print command' when using CUPS.
2715 o Deryck Hodge <deryck@samba.org>
2716 * Add -P (--password-only-menu) to SWAT for displaying only the
2717 password change page to non-root users.
2720 o David Hu <david.hu@hp.com>
2721 * Copy structure from print_queue_update() message rather than
2722 referencing it. Fixes seg fault on HP-UX.
2725 o Buck Huppmann <buckh@pobox.com>
2726 * BUG 2186: Don't free uninitialized credentials.
2727 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
2728 dnsDomainName != realm.
2731 o Björn Jacke <bjoern@j3e.de>
2732 * BUG 2040: Ensure the locale is reset to C to get ASCII-
2733 compatible toupper/lower functions.
2736 o William Jojo <jojowil@hvcc.edu>
2737 * Fix HPUX sendfile and add configure.in tests and code for
2739 * AIX 5.3 compile fixes.
2742 o Volker Lendecke <vl@samba.org>
2743 * Optimize anonymous session setups by workstations in a
2745 * Reimplment the QueryUserAliases() server RPC reply.
2746 * Re-add the getpwnam-cache for performance.
2747 * Cache the result of a pdb_getsampwnam for later SID lookup
2749 * Unify the means of localtaing a user's global groups on a
2751 * Fix bug when serving the 'Start Menu' in a roaming user profile..
2752 * Map more pre-defined NT security descriptors to AFS acls.
2753 * Add timeout to AD search requests.
2754 * If a connection to a DC is requested (in winbindd), open
2755 connections simultaneously to all DCs found.
2757 * Fix logic error in handling of 'printcap name' parameter.
2758 * Prevent winbindd from SPAM'ing the log files with 'user root
2760 * Backport samr_DomInfo2 IDL specification from Samba 4.
2761 * Implement smbstatus -n, don't lookup users and groups.
2762 * Implement simple mapping that maps the space to another character
2763 defined by afsacl:space.
2764 * Add support for 'net idmap delete <idmap-file> <SID>'.
2765 * Add new parameter 'afs token lifetime' tells the AFS client
2766 when to throw away a token (patch from kllin@it.su.se).
2767 * Initial work to allow support for multiple pipe opens on a
2769 * Ensure that we still retrieve the netbios name of any DC
2770 listed as a 'password server' to work around cases where the
2771 DC was defined using an IP address or fqdn.
2772 * Fix memleak in winbindd connection code.
2773 * Fix cli_samr_queryuseraliases.
2774 * Allow wbinfo --user-sids to expand expand domain local groups.
2775 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
2776 * Fix parsing of other_sids in net_user_info3.
2777 * Correct bad failure logic when user was not a member of any
2778 domain local groups.
2781 o Jason Mader <jason@ncac.gwu.edu>
2782 * BUG 2113, 2289: Remove dead code.
2785 o Jim McDonough <jmcd@us.ibm.com>
2786 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
2787 clients. If it fails, fall back to WINREG.
2788 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
2789 * BUG 2198: Set password last change time when running 'net rpc
2791 * Add "refuse machine password change" policy field.
2794 o Luke Mewburn <lukem@NetBSD.org>
2795 * BUG 2150: shmget() - Use POSIX definitions instead of non-
2799 o Stefan Metzmacher <metze@samba.org>
2803 o Buchan Milne <bgmilne@mandrake.org>
2804 * Mandrake packaging fixes.
2807 o Lars Mueller <lmuelle@samba.org>
2808 * Fix build of libsmbclient on x86_64.
2809 * BUG 2013: Fix testsuite build issues when libsmbclient.so
2810 is installed in a non-default location.
2811 * BUG 2050: Calculate max_fd for select correctly.
2812 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
2816 o Jason Mader <jason@ncac.gwu.edu>
2817 * BUG 2069: Remove unused variables.
2818 * BUG 2075: Remove dead code paths.
2819 * BUG 2083: Fix compiler warnings caused by bad type casts.
2822 o James Peach <jpeach@sgi.com>
2823 * Fix rewinddir -> rewind_dir when using VFS macros.
2826 o Gavrie Philipson <gavrie@disksites.com>
2827 * BUG 1838: Remove stale printers imeeddiately when
2828 processing a SIGHUP and during smb.conf reload.
2831 o Tim Potter <tpot@samba.org>
2832 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
2833 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
2834 * Change the license for the winbindd external interface
2836 * HP-UX compile fixes.
2837 * Compile fixes after new setsampwent() API.
2840 o Richard Renard <rrenard@idealx.com>
2841 * Update Netscape DS 5.2 LDAP schema.
2844 o Simo Sorce <idra@samba.org>
2845 * Backport pdbedit changes from trunk.
2846 * Allows the add/change share command to create the shared
2847 directory directory on disk.
2848 * Log a warning in testparm if a print command is defined for
2849 a print service using 'printing = cups'.
2851 o Jelmer Vernooij <jelmer@samba.org>
2852 * Bug fixes for pdb_{xml,pqsql,xml}
2853 * Fixes for pdb_mysql.
2856 o Andrew Tridgell <tridge@samba.org>
2857 * Bring Samba3 into line with the Samba4 password change code.
2860 o Shiro Yamada <shiro@miraclelinux.com>
2861 * BUG 2190: Force SWAT to display parameters in unix charset and
2865 --------------------------------------------------
2866 ==============================
2867 Release Notes for Samba 3.0.10
2869 ==============================
2871 Common bugs fixed in 3.0.10 include:
2873 o Fix for security issues described in CAN-2004-1154.
2882 o Jeremy Allison <jra@samba.org>
2883 * Added checks surrounding all *alloc() calls to fix
2885 * Fix long standing memory size bug in bitmap_allocate().
2886 * Remove bogus error check in deferred open file serving
2890 o Thomas Bork <tombork@web.de>
2891 * Fix autoconf script on platforms using a version of GNU ld
2892 that does not include a date stamp in the output of --version.
2895 o Luke Mewburn <lukem@NetBSD.org>
2896 * Fix the swat install script to deal with the new image
2897 destination directory used by the docs.
2901 --------------------------------------------------
2903 =============================
2904 Release Notes for Samba 3.0.9
2906 =============================
2908 Common bugs fixed in 3.0.9 include:
2910 o Problem updating roaming user profiles.
2911 o Crash in smbd when printing from a Windows 9x client.
2912 o Unresolved symbols in libsmbclient which caused
2913 applications such as KDE's konqueror to fail when
2914 accessing smb:// URLs.
2924 o Jeremy Allison <jra@samba.org>
2925 * Correctly detect errno for no acl/ea support.
2926 * BUG 2036: Fix seg fault in 'net ads join'.
2929 o Gerald (Jerry) Carter <jerry@samba.org>
2930 * Solaris packaging fixes.
2931 * Fix seg fault in lanman printing code.
2932 * BUG 2017: fix testparm reporting for the passwd program
2934 * Fix output of smbstatus to match the man page.
2935 * BUG 2027: fix conflict with declaration MD5_CTX in system
2937 * 2028: Avoid false error messages when copying a long
2938 printer name to the device mode.
2941 o Guenther Deschner <gd@samba.org>
2942 * Allow deldriverex in rpcclient to delete drivers for a
2943 specific architecture and a specific version.
2944 * Fix a couple of rpcclient spoolss commands (setprinter,
2945 setprintername, getdriver) w.r.t to printer-naming scheme.
2946 Allow 'localhost' in the server string for certain server-side
2948 * BUG 2015: Do not fail on setting file attributes with
2949 acl support enabled.
2952 o Michel Gravey <michel.gravey@optogone.com>
2953 * Fix build when using gcc 3.0.
2956 o Volker Lendecke <vl@samba.org>
2957 * Fix tdb open logic when checking our local_pid after
2961 o Jim McDonough <jmcd@us.ibm.com>
2962 * BUG 1932: Fix crash in 'net getlocalsid' when run as
2966 o Luke Mewburn <lukem@NetBSD.org>
2967 BUG 1661: Fix KRB5_SETPW-defines
2970 o Buchan Milne <bgmilne@mandrake.org>
2971 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
2974 o Lars Mueller <lmuelle@samba.org>
2975 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
2978 o Martin Zielinski <mz@seh.de>
2979 * Add DeletePrinterDriverEx() functionality to rpcclient.
2982 --------------------------------------------------
2984 =============================
2985 Release Notes for Samba 3.0.8
2987 =============================
2989 Common bugs fixed in 3.0.8 include:
2991 o Compile fixes for HP-UX
2992 o Fixes for the printer publishing code used when joined to
2994 o Incompatibilities with file system quotas.
2995 o Several bugs in the spoolss printing code and print system
2997 o Inconsistencies in the username map functionality when
2998 configured on domain member servers.
2999 o Various compile warnings and errors on various platforms.
3000 o Fixes for kerberos interoperability with Windows 200x
3001 domains when using DES keys.
3002 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
3003 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
3006 New features included in the 3.0.8 release are:
3008 o New migration functionality added the the net tool
3009 for files/directories, printers, and shares.
3010 o New experimental idmap backend for assigning uids/gids
3011 directly based on the user/group RID when acting as a
3012 member of single domain without any trusts.
3013 o Additional printer migration support for XP/2003 platforms.
3016 ===========================
3017 Change in Winbindd Behavior
3018 ===========================
3020 All usernames returned by winbindd are now converted to lower
3021 case for better consistency. This means any winbind installation
3022 relying on the winbind username will need to rename existing
3023 directories and/or files based on the username (%u and %U) to lower
3024 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
3025 include mail spool files, home directories, valid user lines in
3029 ======================
3030 Change in Username Map
3031 ======================
3033 Previous Samba releases would only support reading the fully qualified
3034 username (e.g. DOMAIN\user) from the username map when performing a
3035 kerberos login from a client. However, when looking up a map
3036 entry for a user authenticated by NTLM[SSP], only the login name would be
3037 used for matches. This resulted in inconsistent behavior sometimes
3038 even on the same server.
3040 Samba 3.0.8 obeys the following rules when applying the username
3043 * When performing local authentication, the username map is
3044 applied to the login name before attempting to authenticate
3046 * When relying upon a external domain controller for validating
3047 authentication requests, smbd will apply the username map
3048 to the fully qualified username (i.e. DOMAIN\user) only
3049 after the user has been successfully authenticated.
3052 ######################################################################
3061 Parameter Name Action
3062 -------------- ------
3063 force printername New
3064 sendfile disabled by default
3070 o Jeremy Allison <jra@samba.org>
3071 * Ensure extended security bit is on only if we negotiated
3073 * Simplify statcache to use an in-memory tdb.
3074 * If you're selecting a hash algorithm for tdb, you need
3075 to do it at open time.
3076 * Removed old dir caching code - not being used now we
3077 have the statcache anyway.
3078 * Simplify the mangle hash code to use an in-memory tdb.
3079 * Merge iconv changes from Samba 4 branch.
3080 * Fix parsing of names ending in dot and a few other error
3082 * BUG 1667: Smbpasswd file could be left locked on some
3084 * Fixes for smbclient tar functionality.
3085 * BUG 1743: Fix logic bug the deferred open code.
3086 * Don't try to set security descriptors on shares where
3087 this has been turned off.
3088 * Return correct error codes on old SEARCH call.
3089 * Ensure we set errno = E2BIG when we overflow in the
3090 fast-path character conversion code.
3091 * Fix the roundup problem (returning 1mb roundup) for
3092 non-Windows clients.
3093 * Added 'stat' command to smbclient to exercise the
3094 UNIX_FILE_BASIC info level.
3095 * Fix bug where we could incorrectly set sparse attribute.
3096 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
3097 (reported by Taj Khattra <taj.khattra@gmail.com>).
3098 * Remove locked keys tdb code.
3099 * BUG 1886: Prevent delete on close being set for readonly files
3100 (and return the correct error code).
3101 * Ensure we pass most of the new lock tests except for the cancel
3102 lock which is yet to be added (merged from Samba 4 branch).
3103 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
3104 * BUG 1956: Ensure errno is saved and restored consistently on a
3106 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
3107 that all of the appropriate service principal names are set
3108 upon joining an AD domain.
3109 * Fix the correct use of resume name in the trans2 code.
3110 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
3111 correct salt used when generated the DES key after joining an
3113 * Enhanced krb5 detection routines in the autoconf scripts.
3116 o Andrew Bartlett <abartlet@samba.org>
3117 * Avoid changing the machine account password in the passdb
3118 backend, when it has 'already been changed'. This occurs
3119 in situations where the secure channel between the workstation
3120 and the DC breaks down, such as occurred in the MS04-11
3122 * Fix utility name in error message in ntlm_auth.
3123 * Fix NTLMv2 for use with pam_winbind.
3124 * Remove conversion to and from UTF8 on the winbind pipe.
3125 * Allow 'require_membership_of' and 'require-membership-of'.
3126 * Fix the error code for 'you didn't specify a domain' in
3128 * Use sys_getgroups() rather than scanning all groups
3129 when generating SAMR replies.
3132 o Igor Belyi <sambauser@katehok.ac93.org>
3133 * Ensure pdb user is deleted first before deleting UNIX
3134 user (LDAP backend needs this ordering).
3137 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
3138 * Fix core dump in 'net rpc vampire'.
3141 o Vince Brimhall <vbrimhall@novell.com>
3142 * Make ldapsam_compat robust against NULL attributes.
3145 o Gerald Carter <jerry@samba.org>
3146 * Don't limit the number of groups returned by winbindd_getgroups()
3148 * BUG 1519: Match Windows 2000 behavior when opening a
3149 printer using a servername in the form of an IP address or
3151 * BUG 1907: remove extra slashes from the printer name in
3152 getprinterdriverdir_1().
3153 * Fix standard_sub_snum() to use the current user's gid.
3154 * Fix background queue update bug (based on Volker's initial work
3156 * Add 'force printername' service parameter for people that want
3157 to enforce printername == sharename for spoolss printing.
3158 * Ensure consistent usage of the username map. Use the fully
3159 qualified DOMAIN\user format for 'security = domain|ads' and
3160 apply after authentication has succeeded.
3161 * Cosmetic fix for getent output -- lowercase the username only
3162 and not the complete domain\username string.
3163 * Packaging fixes for Solaris, Redhat, & Fedora.
3166 o Sean Chandler <sean.chandler@verizon.net>
3167 * Fix memlieak in cliconnect.c.
3170 o Darren Chew <darrenc@vicscouts.asn.au>
3171 * Solaris packaging fixes.
3174 o Nalin Dahyabhai <nalin@redhat.com>
3175 * SMB signing fix for 56-bit DES session keys.
3178 o Guenther Deschner <gd@samba.org>
3179 * add IA64 to the architecture table of printer-drivers.
3180 * Add file/share/printer migration functionality to
3182 * Show correct help for net groupmap commands.
3183 * Fix deadlock loop in winbind's required_membership_sid
3185 * Bring the same level of "required_membership"-functionality
3186 that ntlm_auth uses, to pam_winbindd as well.
3187 * Prevent "net lookup kdc" from seg-faulting when
3188 using our own implementation of krb5_lookup_kdc with
3190 * Adding getprinter level 7 to rpcclient.
3191 * Support migrating printers|shares|files from Server A
3192 to Server B while running the net-command on client C.
3193 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
3194 failure of this call non-critical (Thanks to Love @ Heimdal
3195 for the explanation and patch).
3196 * Fix typos in net's usage-output.
3197 * Fix the paranoia-check to ensure the ldap-attribute and the
3198 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
3200 * Fix several bugs in the _samr_query_useraliases() rpc reply.
3201 * Check correct string length when verifying password-policies
3202 and using extended characters (Thanks to Uwe Morgenroth from CC
3203 Compunet and Volker).
3204 * Make 'password history'-behavior in ldapsam more consistent.
3205 * Adding "Windows x64" as architecture string and driverdir "x64"
3206 for the 64bit AMD platform.
3207 * BUG 1343: Readd WKGUID-binding to match the correct default-
3208 locations of new User-, Group- and Machine-Accounts in Active
3209 Directory (this got lost during the last trunk-merge).
3210 * Fix printer-migration w.r.t. to new naming-convention for
3212 * Allow to migrate win2k3/xp-drivers as well.
3213 * Add client-side support of triggering ads printer publishing
3214 over msrpc setprinter calls inside the net-tool.
3215 * Add the idmap_rid module (written in conjunction with
3216 Sumit Bose <sbose@suse.de>).
3217 * BUG 1661: Fix build with recent heimdal releases.
3218 * Prevent idmap_rid from making unnecessary calls to domain
3219 controllers for trusted domains.
3222 o Arthur van Dongen <avdongen@xs4all.nl>
3223 * Fix typos in pam_winbind log messages and SuSE
3227 o Rob Foehl <rwf@loonybin.net>
3228 * Typo fixes for log messages in printer publishing code.
3229 * Fix memory leak in printer publishing code.
3230 * Ensure print_backend_init() only gets called once.
3231 * Have smbd check the published status of all printers
3233 * Cleanup up the XXX_a_printer() API for consistency.
3234 * Refactored the printer publishing code and include better
3238 o Steve French <sfrench@us.ibm.com>
3239 * Fix IP address override in mount.cifs mount helper and clean
3240 up warning messages from the sparse tool and expand syntax help.
3241 * Strip guest mount option off before sending to kernel mount
3242 routine to avoid logging spurious message.
3245 o Satoh Fumiyasu <fumiya@samba.gr.jp>
3246 * BUG 1732: Limit share names returned by RAP based on windows
3247 character width, not unix character width.
3248 * BUG 1498: Ensure that acl entries are stored in the correct
3252 o Brett Funderburg <brett@deepfile.com>
3253 * Pass create options parameter to nt_create_andx() function
3254 from the python bindings.
3255 * BUG 1864: Add sd->type field to security descriptor Python
3257 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
3258 when trying to return the security descriptor for a file.
3259 * BUG 1884: Fixes for the Python bindings to use the value
3260 of the desired_access filed passed into the lsa_open_policy()
3264 o Michael Gravey <michel.gravey@optogone.com>
3265 * BUG 1776: Fix warnings when building modules caused by
3266 certain versions of GNU ld not using the the default
3267 --allow-shlib-undefined flag.
3270 o Chris Hertel <crh@samba.org>
3271 * Fix logic bug in splay tree data structure when finding
3273 * Fix bug where an invalid MAC address would be printed by
3274 a node status lookup from nmblookup.
3277 o Uli Iske <iske@elkb.de>
3278 * Update the DNS/eDirectory LDAP schema file.
3281 o Björn Jacke <bjacke@sernet.de>
3282 * BUG 1766: Unify charset-handling in Content-Type:-headers to
3283 UTF-8. Reformat msgstr in msg-files to UTF-8.
3284 * Do not use display charset for swat output.
3285 * Convert the share names correctly from unix encoding to web
3286 encoding and vice versa.
3287 * Convert files from status page from unix charset to UTF-8.
3290 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
3291 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
3294 o Tom Lackemann <cessnatomny@yahoo.com>
3295 * BUG 1954: Fix memory leak in posix acl code.
3298 o Volker Lendecke <vl@samba.org>
3299 * Robustnss fix for winbindd when sending multiple requests
3300 at a high rate for a slow operation.
3301 * Solve the problem of user sids ending up with gid's
3303 * Use sys_fork instead of fork for the dual daemon so that
3304 we get the correct debug pid in the logfiles.
3305 * Based on patch from jmcd, implement special lists for the LDAP
3306 user attributes to delete.
3307 * Fix creation of aliases via usrmgr. Winbind was too strict
3308 checking the type of sids.
3309 * Lowercase all usernames returned by winbind.
3310 * BUG 1545, 1823: Only issue the ldap extended password change
3311 operation if the ldap server supports it. Also ignore object
3312 class violation errors from the extended operation.
3313 * Optimization for 'idmap backend = ldap': When asking sid2id
3314 for the wrong type, don't ask ldap when we have the opposite mapping
3316 * Fix ldapsam_compat homeDrive.
3317 * Add usersidlist and allowedusers subcommands to the net tool
3318 in order to support scanning a file server's share and list
3319 all users who have permission to connect there.
3320 * Allow for multiple DC's to be named as #1c names in lmhosts.
3321 * Memory leak fixes.
3322 * Fix checks for the local pid of an smbd process after
3326 o Herb Lewis <herb@samba.org>
3327 * Added tdbtool to be built by default.
3330 o Love <lha@stacken.kth.se>
3331 * BUG 1955: Inconsistent error return.
3334 o Sorin Manolache <sorinm@gmail.com>
3338 o Jim McDonough <jmcd@us.ibm.com>
3339 * Allow 'net ads lookup' to rely on command line arguments
3340 if contacting an ADS server fails; utilize cldap for lookups.
3341 * Fixup formatting errors in TDB_LOG calls; add printf attribute
3342 support to tdb log functions.
3345 o Bill McGonigle <bill+samba@bfccomputing.com>
3346 * BUG 1926: Type in debug message.
3350 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
3354 o Luke Mewburn <lukem@NetBSD.org>
3355 * BUG 1782: Prevent testparm from displaying parameter synonyms.
3358 o Stefan Metzmacher <metze@samba.org>
3359 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
3360 * Fix client quota support.
3361 * Fix opening of system quota file.
3364 o Lars Mueller <lmuelle@samba.org>
3365 * Small fixes for autogen.sh to deal with version detection
3366 of autoconf and autoheader; fixes for examples using
3367 libtool to adhere to stricter syntax of newer version.
3370 o Henrik Nordstrom <hno@squid-cache.org>
3371 * Allow winbindd to return the correct number of groups
3372 when the groups array must be enlarged.
3375 o Narayana Pattipati <narayana.pattipati@wipro.com>
3376 * Solaris autoconf detection fixes.
3379 o Tim Potter <tpot@samba.org>
3380 * BUG 1360: (correct fix) Use -Wl when passing flags to
3382 * HP-UX compile fixes (from JBravo on #samba-technical).
3383 * BUG 1731: More HP-UX compiles fixes.
3384 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
3385 spits the dummy otherwise.
3386 * Fix bug in Python printerdata wrapper.
3387 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
3388 <bugzilla-samba@thewrittenword.com>).
3389 * Fix parameter confusion in priming of name-to-sid cache
3390 (Found by Qiao Yang).
3391 * BUG 1888: Remove '..' from all pre-processor commands.
3392 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
3396 o Matt Selsky <selsky@columbia.edu>
3397 * BUG 350: use autoconf 2.57 feature for checking header file
3398 preprocessing (fixes configure warnings on Solaris).
3401 o Richard Renard <rrenard@idealx.com>
3402 * Fix usermgr.exe and trust relationships.
3405 o Paul Szabo <psz@maths.usyd.edu.au>
3406 * Fix to make find_workgroup use the same
3407 truncation as create_workgroup.
3410 o Richard Sharpe <rsharpe@samba.org>
3411 * Ensure cli_write() can support writes >= 65536 bytes.
3414 o Simo Sorce <idra@samba.org>
3415 * Added check password script code in examples/auth/crackcheck/
3416 * Fix memory corruption bug caused in freeing static memory.
3419 o Andrew Tridgell <tridge@samba.org>
3420 * Remove lp_use_mmap() from map_file() since the latter
3421 is for read only and does not require coherence.
3422 * Ensure that the uuid pack/unpack routines do not go past
3423 the end of the structure.
3424 * Converted Samba 3 tree to use the new utf-16 aware iconv
3426 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
3427 * Ensure configure only uses '=' instead of the bashism '=='.
3428 * Reduces the number of tdb locking calls made on file IO.
3431 o Jelmer Vernooij <jelmer@samba.org>
3432 * Convert internal data to UTF-8 before calling libxml2.
3433 * Complain if 'password chat' doesn't contain the %u variable
3434 (based on a patch by Ronan Waide).
3438 * BUG 1541: Fix recursive ls in smbclient.
3441 o Igor Zhbanov <bsg@uniyar.ac.ru>
3442 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
3445 --------------------------------------------------
3447 =============================
3448 Release Notes for Samba 3.0.7
3450 =============================
3452 Common bugs fixed in 3.0.7 include:
3454 o Fixes for two Denial of Service vulnerabilities
3455 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
3456 o Winbind failure to return user entries under certain
3458 o Syntax errors in the OpenLDAP schema file (samba.schema).
3459 o Printing errors caused by not setting default values
3460 for the various printing commands.
3469 Parameter Name Action
3470 -------------- ------
3471 winbind enable local accounts disabled by default
3476 o Jeremy Allison <jra@samba.org>
3477 * Fix parsing of names ending in dot and a few other error
3479 * BUG 1674: Move the symlinks checks into reduce_name().
3480 * Fix memleak when checking the valid names smb.conf option.
3481 * Fix memleak on error return path in the file open code.
3482 * More paranoia checks in the hash2 mangling code.
3483 * Fix syntax error in configure.in.
3484 * Match Win2k3's behavior for pathname parsing error returns.
3485 * Make nmbd more robust against bad netbios packets
3487 * Add more checks for invalid ASN.1 packets for SPNEGO packets
3491 o Andrew Bartlett <abartlet@samba.org>
3492 * Janitor work in loadparm.c -- remove unused parameters.
3495 o Gerald Carter <jerry@samba.org>
3496 * BUG 1464: Ensure that printing commands are initialized even
3497 if the 'printing' parameter is not explicitly set.
3498 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
3499 Adharsh Praveen <rprav@india.hp.com>)
3500 * Work around parsing error in the print change notify code.
3501 * remove duplicate declaration of getprintprocdir from
3503 * Only use sAMAccountName and not userPrincipalName when looking
3504 up a username in AD since the breaks winbindd (lookup_name()
3505 only works with the sAMAccountName).
3506 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
3507 filling in the username in the user_info3.
3508 * Fix logic bug in the check for creating a user's home directory
3509 in register_vuid(); caused home directory to be mismatched to
3510 the first share in smb.conf under certain conditions.
3511 * BUG 1656: rename auto.a to auto.smb.
3512 * Ensure that we assign our pid to print jobs (and not our
3513 parent's pid); ensures that spooling jobs from dead smbds
3514 are removed from the tdb.
3515 * Disable 'winbind enable local accounts' by default.
3516 * Adding some initial checks for DragonFly (same as
3520 o Guenther Deschner <gd@samba.org>
3521 * Use SMB_ASSERT() to track down NULL printer names in
3523 * Revert fix for BUG 1474 to avoid unnecessary packaging
3527 o Olaf Flebbe <o.flebbe@science-computing.de>.
3528 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
3530 * BUG 1626: More compile fixes.
3533 o Rob Foehl <rwf@loonybin.net>
3534 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
3535 by attempts to sanitize the defined attributes.
3538 o SATOH Fumiyasu <fumiya@miraclelinux.com>
3539 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
3542 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
3543 * BUG 1657: Remove used initialized variable,
3544 * BUG 1658: Add a little bit of const.
3547 o Volker Lendecke <vl@samba.org>
3548 * If there's garbage in the pidfile, we should not panic
3549 but assume that no one else is around. We can't find the
3553 o Jim McDonough <jmcd@us.ibm.com>
3554 * Fixup format string in the tdb error messages.
3557 o Jonas Olsson <lexicon@lysator.liu.se>
3558 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
3559 reporting the list in usrmgr.exe.
3562 o Tim Potter <tpot@samba.org>
3563 * Fix out-of-tree builds (problem with the script to generate
3564 the svn version number).
3565 * BUG 1360: Need to use -Wl when passing flags to the linker.
3566 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
3567 doesn't have one of its own.
3569 o Simo Sorce <idra@samba.org>
3570 * Fixup compile issues on AIX caused by broken strlen() and
3572 * Update debian packaging files.
3575 o Dimitri van der Spek <dwspek@aboveit.nl>
3576 * Use the correct counter when copying group rids from the
3577 user_info3 struct in pam_winbind.
3580 o Qiao Yang <qyang@stbernard.com>
3581 * BUG 1622: Only cache the user
3584 --------------------------------------------------
3586 =============================
3587 Release Notes for Samba 3.0.6
3589 =============================
3591 Common bugs fixed in 3.0.6 include:
3593 o Schannel failure in winbindd.
3594 o Numerous memory leaks.
3595 o Incompatibilities between the 'write list' and 'force user'
3597 o Premature optimization of the open_directory() internal
3598 function that broke tools such as the ArcServe backup
3599 agent, Macromedia HomeSite, and Robocopy.
3600 o Corrupt workgroup names in nmbd's browse.dat.
3601 o Sharing violation errors commonly seen when opening
3602 when serving Microsoft Office documents from a Samba
3604 o Browsing problems caused by an apostrophe (') in the
3605 computer's description field.
3606 o Problems creating special file types from UNIX CIFS
3607 clients and enabling 'unix extensions'.
3608 o Fix stalls in smbd caused by inaccessible LDAP servers.
3609 o Remove various memory leaks.
3610 o Fix issues in the password lockout feature.
3612 New features introduced in this release include:
3614 O Support symlinks created by CIFS clients which
3615 can be followed on the server.
3616 o Using a cups server other than localhost.
3617 o Maintaining the service principal entry in the system
3618 keytab for integration with other kerberized services.
3619 Please refer to the 'use kerberos keytab' entry in
3620 smb.conf(5). When using the heimdal kerberos libraries,
3621 you must also specify the following in /etc/krb5.conf:
3623 default_keytab_name = FILE:/etc/krb5.keytab
3624 o Support for maintaining individual printer names
3625 stored separately from the printer's sharename.
3626 o Support for maintaining user password history.
3627 o Support for honoring the logon times for user in a
3631 ============================================
3632 unix extensions = yes (default) and symlinks
3633 ============================================
3635 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
3636 clients supporting the UNIX extensions to the CIFS protocol
3637 can create symlinks to absolute paths which will be **followed**
3638 by the server. This functionality has been requested in order
3639 to correctly support certain applications when the user's home
3640 directory is mounted using some type of CIFS client (e.g. the
3641 cifsvfs in the Linux 2.6 kernel).
3643 If this behavior is not acceptable for your production environment
3644 you can set 'wide links = no' in the specific share declaration in
3645 the server's smb.conf. Be aware that disabling wide link support
3646 out of a share in Samba may impact the server's performance due
3647 to the fact that smbd will now have to check each path additional
3648 times before traversing it.
3651 ========================
3652 Password History Support
3653 ========================
3655 The new password history feature allows smbd to check the new
3656 password in password change requests against a list of the user's
3657 previous passwords. The number of previous passwords to save can
3658 be set using pdbedit (4 in this example):
3660 root# pdbedit -P "password history" -C 4
3662 When using the ldapsam passdb backend, it is vital to secure the
3663 following attributes from access by non-administrative users:
3667 * sambaPasswordHistory
3669 You should refer to your directory server's documentation on how
3670 to implement this restriction.
3679 Parameter Name Action
3680 -------------- ------
3682 defer sharing violations New
3683 force unknown acl user New
3685 printcap cache time New
3686 use kerberos keytab New
3690 o Jeremy Allison <jra@samba.org>
3691 * Correct path parsing bug that broke DeletePrinterDriverEx().
3692 * Fix bugs in check_path_syntax() caught by asserts.
3693 * Internal change - rearrange internal global case setting
3694 variables to a per connection basis.
3695 * BUG 1345: Fix premature optimization in unix_convert().
3696 * Allow clients to truncate a locked file.
3697 * BUG 1319: Always check to see if a user as write access
3698 to a share, even when 'force user' is set.
3699 * Fix specific case of open that doesn't cause oplock break,
3700 or share mode check.
3701 * Correct sid type is WKN_GROUP, not alias. Added some
3702 more known types (inspired by patch from Jianliang Lu).
3703 * Allow creation of absolute symlink paths via CIFS clients.
3704 * Fix charset bug in when invoking send_mailslot().
3705 * When using widelinks = no, use realpath to canonicalize
3706 the connection path on connection create for the user.
3707 * Enhance stat open code.
3708 * Fix unix extensions mknod code path.
3709 * Allow unix domain socket creation via unix extensions.
3710 * Auto disable the 'store dos attribute' parameter if the
3711 underlying filesystem doesn't support EAs.
3712 * Implement deferred open code to fix a bug with Excel files
3714 * BUG 1427: Catch bad path errors at the right point. Ensure
3715 all our pathname parsing is consistent.
3716 * Fix SMB signing error introduced by the new deferred open
3718 * Change default setting for case sensitivity to "auto". (see
3719 commit message -- r1154 -- for details).
3720 * Add new remote client arch -- CIFSFS.
3721 * Allow smbd to maintain the service principal entry in the
3722 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
3723 Guenther Deschner, et. al.).
3724 * Fix longstanding memleak bug with logfile name.
3725 * Fix incorrect type in printer publishing (struct uuid,
3727 * Heimdal compile fixes after introduction of the new ketyab
3729 * Ensure we check attributes correctly on rename request.
3730 * Ensure we defer a sharing violation on rename correctly.
3731 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
3733 * Fix bogus error message when using "mangling method = hash"
3735 * Turn on sendfile by default for non-Win9x clients.
3736 * Handle non-io opens that cause oplock breaks correctly.
3737 * Ensure ldap replication sleep time is not more than 5 seconds.
3738 * Add support for storing a user's password history.
3739 LDAP portion of the code was based on a patch from
3740 Jianliang Lu <j.lu@tiesse.com>.
3741 * Correct memory leaks found in the password change code.
3742 * Fix support for the mknod command with the Linux CIFS client.
3743 * Remove support for passing the new password to smbpasswd
3744 on the command line without using the -s option.
3745 * Ensure home directory service number is correctly reused
3746 (inspired by patches from Michael Collin Nielsen
3747 <michael@hum.aau.dk>).
3748 * Fix to stop printing accounts from resetting the bas
3749 password and account lockout flags.
3750 * If a account was locked out by an admin (and has a bad
3751 password count of zero) leave it locked out until an admin
3752 unlocks it (but log a message).
3753 * Ensure we return the same ACL revision on the wire that
3755 * BUG 1578: Hardcode replacement for invalid characters as '_'
3756 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
3757 * Fix hashed password history for LDAP backends.
3758 * Enforce logon hours restrictions if confiogured (based on code
3759 from Richard Renard <rrenard@idealx.com>).
3760 * BUG 1606: Force smbd to disable sendfile with DOS clients
3761 and ensure that the chained header is filled in for ...&X
3763 * BUG 1602: Fix access to shares when all symlink support
3768 o Tom Alsberg <alsbergt@cs.huji.ac.il>
3769 * Allow pdbedit to export a single user from a passdb backend.
3772 o Andrew Bartlett <abartlet@samba.org>
3773 * Fix parsing bug in GetDomPwInfo().
3774 * Fix segfault in 'ntlm_auth --diagnostics'.
3775 * Re-enable code to allow sid_to_gid() to perform a group
3776 mapping lookup before checking with winbindd.
3777 * Fix memory leak in the trans2 signing code.
3778 * Allow more flexible GSS-SPENGO client and server operation
3780 * Improve smbd's internal random number generation.
3781 * Fix a few outstanding long password changes in smbd.
3782 * Fix LANMAN2 session setup code.
3785 o Eric Boehm <boehm@nortelnetworks.com>
3786 BUG 703: Final touches on netgroup case lookups.
3789 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
3790 * Ensure error status codes don't get overwritten in
3791 lsa_lookup_sids() server code.
3792 * Correct bug that caused smbd to overwrite certain error
3793 codes when returning up the call stack.
3794 * Ensure the correct sid type returned for builtin sids.
3797 o Gerald Carter <jerry@samba.org>
3798 * Fix a few bugs in the Fedora Packaging files.
3799 * Fix for setting the called name to by our IP if the
3800 called name was *SMBSERVER and *SMBSERV. Fixes issue
3801 with connecting to printers via \\ip.ad.dr.ess\printer
3803 * BUG 1315: fix for schannel client connections to servers
3804 when we haven't specifically negotiated AUTH_PIPE_SEAL.
3805 * Allow PrinterDriverData valuenames with embedded backslashes
3806 (Fixes bug with one of the Konica Fiery drivers).
3807 * Fixed string length miscalculation in netbios names that
3808 resulted in corrupt workgroup names in browse.dat.
3809 * When running smbd as a daemon, launch child smbd to update
3810 the lpq cache listing in the background.
3811 * Allow printers "Printers..." folder to be renamed to a string
3812 other than the share name.
3813 * Allow winbindd to use domain trust account passwords when
3814 running on a Samba DC to establish an schannel to remote
3816 * Fix bad merge and ensure that we always use tdb_open_log()
3817 instead of tdb_open_ex() (the former call enforce the 'use
3819 * BUG 1221: revert old change that used single and double
3820 quotes as delimeters in next_token(), and change
3821 print_parameter() to print out parm values surrounded by
3822 double quotes (instead of single quotes).
3823 * Prevent home directories added during the SMBsesssetup&X from
3824 being removed as unused services.
3825 * Invalidate the print object cache for open printer handles when
3826 smbd receives a message that an attribute on a given printer
3828 * Cause the configure script to exit if --enable-cups[=yes] is
3829 defined and the system does not have the cups devel files
3831 * BUG 1297: Prevent map_username() from being called twice
3833 * Ensure that we use the userPrincipalName AD attribute
3834 value for LDAP SASL binds.
3835 * Ensure we remove the tdb entry when deleting a job that
3837 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
3838 client sends a FindNextPrintChangeNotify() request without
3839 previously sending a FindFirstPrintChangeNotify(). Return
3840 the same error code as Windows 2000 SP4.
3841 * BUG 1516: Manually declare ldap_open_with_timeout() to
3842 workaround compiler errors on IRIX (or other systems without
3844 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
3846 * Corrected syntax error in the OID for sambaUnixIdPool,
3847 sambaSidEntry, & sambaIdmapEntry object classes.
3848 * Tighten the cache consistency with the ntprinters.tdb entry
3849 an the in memory cache associated with open printer handles.
3850 * Make sure that register_messages_flags() doesn't overwrite
3851 the originally registered flags.
3854 o Fabien Chevalier <fabien.chevalier@supelec.fr>
3855 * Debian BUG 252591: Ensure that the return value from the
3856 number of available interfaces is initialized in case no
3857 interfaces are actually available.
3860 o Guenther Deschner <gd@sernet.de>
3861 * Implement 'rpcclient setprintername'.
3862 * Add local groups to the user's NT_TOKEN since they are
3863 actually supported now.
3864 * Heimdal compile fixes after introduction of the new keytab
3866 * Correctly honor the info level parameter in 'rpcclient
3868 * Reintroduce 'force unknown acl user' parameter. When getting a
3869 security descriptor for a file, if the owner sid is not known,
3870 the owner uid is set to the current uid. Same for group sid.
3871 * Ensure that REG_SZ values in the SetPrinterData actually
3872 get written in UNICODE strings rather than ASCII.
3873 * Ensure that the last kerberos error return is not invalid.
3874 * Display share ACL entries from rpcclient.
3875 * Correct infinite loop in pam_winbind's verification of
3876 group membership in the 'other sids' field in the user_info3
3880 o Fabian Franz <FabianFranz@gmx.de>
3881 * Support specifying a port in the device URL passed to smbspool.
3884 o Steve French <sfrench@us.ibm.com>
3885 * Handle -S and user mount parms in mount.cifs.
3886 * Fix user unmount of shares mount with suid mount.cifs.
3887 * prevent infinite recusion in reopen_logs() when expanding
3888 the smb.conf variable %I.
3891 o Bjoern Jacke <bj@sernet.de>
3892 * Install libsmbclient into $(LIBDIR), not into hard coded
3893 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
3894 and an explicit configure --libdir setting.
3897 o <kawasa_r@itg.hitachi.co.jp>
3898 * Correct more memory leaks and initialization bugs.
3899 * Fix bug that prevented core dumps from being generated
3901 * Connect to the winbind pipe in non-blocking mode to
3902 prevent processes from hanging.
3903 * Memory leak fixes.
3906 o Stephan Kulow <coolo@suse.de>
3907 * Fix crash bug in libsmbclient.
3910 o Volker Lendecke <vl@samba.org>
3911 * Added vfs_full_audit module.
3912 * Add vfs_afsacl.c which can display & set AFS acls via
3913 the NT security editor.
3914 * Fix crash bug caused by trying to Base64 encode a NULL string.
3915 * Fix DOS error code bug in reply_chkpath().
3916 * Correct misunderstanding of the max_size field in
3917 cli_samr_enum_als_groups; it is more like an account_control
3918 field with individual bits what to retrieve.
3919 * Implement 'net rpc group rename' -- rename domain groups.
3920 * Implement the 'cups server' option. This makes it possible
3921 to have virtual smbd's connect to different cups daemons.
3922 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
3923 * Fix sid_to_gid() calls in winbindd to prevent loops.
3924 * Ensure that local_sid_to_gid() sets the type of the group on
3926 * Make sure that the clients are given back the IP address to
3927 which they connected in the case of a multi-homed host. Only
3928 affects strings the spoolss printing replies.
3929 * Fix the bad password lockout. This has not worked as pdb_ldap.c
3930 did not ask for the modifyTimestamp attribute, so it could
3931 not find it. Try not to regress by not putting that attrib
3932 in the main list but append it manually for the relevant searches.
3933 * Fix two memleaks in login_cache.c.
3934 * fixes memory bloat when unmarshalling strings.
3935 * Fix compile errors using gcc 3.2 on SuSE 8.2.
3936 * Fix the build for systems without kerberos headers.
3937 * Allow winbindd to handle authentication requests only when
3938 started without either an 'idmap uid' or 'idmap gid' range.
3939 * Fix the build for systems without ldap headers.
3940 * Fix interaction between share security descriptor and the
3941 'read only' smb.conf option.
3942 * Fix bug that caused _samr_lookupsids() with more than 32 (
3943 MAX_REF_DOMAINS) SIDs to fail.
3944 * Allow the 'idmap backend' parameter to accept a list of
3945 LDAP servers for failover purposes.
3946 * Revert code in smbd to remove a tdb when it has become
3948 * Add paranoid checks when mapping SIDs to a uid/gid to
3949 ensure that the type is correct.
3950 * Initial work on getting client support for sending mailslot
3952 * Add 'ldap timeout' parameter.
3953 * Dont always uppercase 'afs username map'.
3954 * Expand aliases for getusersids as well.
3955 * Improved NT->AFS ACL mapping VFS module.
3958 o Herb Lewis <herb@samba.org>
3959 * Add the acls debug class.
3960 * Fix logic bug in netbios name truncate routine.
3961 * Fix smbd crash caused by smbtorture IOCTL test.
3962 * Fix errno tromping before calling iconv to reset the
3964 * need to leave empty dacl so we can remove last ACE.
3967 o Jianliang Lu <Jianliang.Lu@getronics.com>
3968 * Fix to stop smbd hanging on missing group member in
3970 * Make sure Samba returns the correct group types.
3971 * Reset the bad password count password counts upon a successful login.
3974 o Jason Mader <jason@ncac.gwu.edu>
3975 * BUG 1385: Don't use non-consts in a structure initialization.
3978 o Jim McDonough <jmcd@us.ibm.com>
3979 * BUG 1279: SMBjobid fix for Samba print servers running on
3980 Big-Endian platforms.
3983 o Joe Meadows <jameadows@webopolis.com>
3984 * Add optional timeout parameter to ldap open calls.
3985 * Allow get_dc_list() to check the negative cache.
3988 o Stefan Metzmacher <metze@samba.org>
3989 * fix a configure logic bug for linux/XFS quotas when
3990 using --with-sys-quotas.
3991 * Use quota debug class in quota code.
3992 * print out the SVN revision by configure,
3995 o Buchan Milne <bgmilne@mandrake.org>
3996 * Mandrake packaging fixes.
3999 o Lars Mueller <lmuelle@samba.org>
4000 * BUG 1279: Added 'printcap cache time' parameter.
4001 * Fix afs related build issues on SuSE.
4002 * Fix compiler warnings in the kerberos client code.
4005 o James Peach <jpeach@sgi.com>
4006 * More iconv detection fixes for IRIX.
4007 * Compile fixed for systems that do not have C99/UNIX98 compliant
4008 vsnprintf by default.
4009 * Prevent smbd from attempting to use sendfile at all if it is
4010 not supported by the server's OS.
4011 * Allow SWAT to search for index.html when serving html files
4016 * Implement NFS quota support on FreeBSD.
4019 o Tim Potter <tpot@samba.org>
4020 * BUG 1360: Use -Bsymbolic when creating shared libraries to
4021 avoid conflicts with identical symbols in the global namespace
4022 when loading libnss_wins.so.
4025 o Richard Renard <rrenard@idealx.com>
4026 * Save the current password as it is being changed into the
4027 password history list.
4030 o Richard Sharpe <rsharpe@samba.org>
4031 * Fix error return codes on some lock messages.
4032 * BUG 1178: Make the libsmbclient routines callable
4034 * BUG 1333: Make sure we return an error code when
4036 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
4037 share mode locking requests fail.
4040 o Simo Sorce <idra@samba.org>
4041 * Update Debian stable & unstable packaging.
4042 * Tidy up parametric options in testparm output.
4045 o Richard Sharpe <rsharpe@samba.org>
4046 * Add sigchild handling to winbindd to restart the child
4047 daemon if necessary.
4050 o Tom Shaw <tomisfaraway@gmail.com>
4051 * Use winbindd_fill_pwent() consistently.
4054 o Nick Thompson <nickthompson@agere.com>
4055 * Protect smbd against broken filesystems which return zero
4059 o Andrew Tridgell <tridge@samba.org>
4060 * Fixed bug in handling of timeout in socket connections.
4063 o Nick Wellnhofer <wellnhofer@aevum.de>
4064 * Prevent lp_interfaces() list from being corrupted. Fixes
4065 bug where nmbd would lose the list of network interfaces
4066 on the system and consequently shutdown.
4069 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
4070 * Fix ntlm_auth memory leaks.
4073 o Jelmer Vernooij <jelmer@samba.org>
4074 * Additional NT status to unix error mappings.
4075 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
4076 get duplicate symbol errors.
4077 * Return an error when the last command read from stdin
4079 * Prepare for better error checking in tar.
4080 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
4083 --------------------------------------------------
4085 =============================
4086 Release Notes for Samba 3.0.5
4088 =============================
4090 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
4091 the exception of correcting the two security issues outlined
4094 ######################## SECURITY RELEASE ########################
4096 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
4097 CVE ID: CAN-2004-0600, CAN-2004-0686
4098 (http://cve.mitre.org/)
4101 This is the latest stable release of Samba. This is the version
4102 that production Samba servers should be running for all current
4105 It has been confirmed that versions of Samba 3 prior to v3.0.4
4106 are vulnerable to two potential buffer overruns. The individual
4107 details are given below.
4113 Affected Versions: Samba 3.0.2 and later
4115 The internal routine used by the Samba Web Administration
4116 Tool (SWAT v3.0.2 and later) to decode the base64 data
4117 during HTTP basic authentication is subject to a buffer
4118 overrun caused by an invalid base64 character. It is
4119 recommended that all Samba v3.0.2 or later installations
4120 running SWAT either (a) upgrade to v3.0.5, or (b) disable
4121 the swat administration service as a temporary workaround.
4123 This same code is used internally to decode the
4124 sambaMungedDial attribute value when using the ldapsam
4125 passdb backend. While we do not believe that the base64
4126 decoding routines used by the ldapsam passdb backend can
4127 be exploited, sites using an LDAP directory service with
4128 Samba are strongly encouraged to verify that the DIT only
4129 allows write access to sambaSamAccount attributes by a
4130 sufficiently authorized user.
4132 The Samba Team would like to heartily thank Evgeny Demidov
4133 for analyzing and reporting this bug.
4139 Affected Versions: Samba 3.0.0 and later
4141 A buffer overrun has been located in the code used to support
4142 the 'mangling method = hash' smb.conf option. Please be aware
4143 that the default setting for this parameter is 'mangling method
4144 = hash2' and therefore not vulnerable.
4146 Affected Samba 3 installations can avoid this possible security
4147 bug by using the default hash2 mangling method. Server
4148 installations requiring the hash mangling method are encouraged
4149 to upgrade to Samba 3.0.5.
4152 ##################################################################
4154 --------------------------------------------------
4156 =============================
4157 Release Notes for Samba 3.0.4
4159 =============================
4161 Common bugs fixed in Samba 3.0.4 include:
4163 o Password changing after applying the patch described in
4164 the Microsoft KB828741 article to Windows clients.
4166 o Managing print jobs via Windows on Big-Endian servers.
4167 o Several memory leaks in winbindd and smbd.
4168 o Compile issues on AIX and *BSD.
4171 --------------------
4176 o Jeremy Allison <jra@samba.org>
4177 * Fix path processing for DeletePrinterDriverEx().
4178 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
4182 o Andrew Bartlett <abartlet@samba.org>
4183 * Fix alignment bug in GetDomPwInfo().
4186 o Alexander Bokovoy <ab@samba.org>
4187 * Fix utime[s]() issues in smbwrapper on systems
4188 that can boot both the 2.4 and 2.6 Linux kernels.
4191 o Gerald Carter <jerry@samba.org>
4192 * Fedora packaging fixes.
4193 * BUG 1302: Fix seg fault by not trying to optimize a list of
4194 invalid gids using the wrong array size.
4195 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
4196 seen when 'security = share'.
4197 * Fix problems when using IBM's compiler on AIX.
4198 * Link Developer's Guide, Example Guide, and multi-page HOWTO
4199 into SWAT's welcome page.
4200 * BUG 1293: fix double free in printer publishing code.
4203 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
4204 * Fix for handling timeouts in socket connections.
4207 o Michel Gravey <michel.gravey@optogone.com>
4208 * BUG 483: patch from to fix password hash creation in SWAT.
4211 o Volker Lendecke <vl@samba.org>
4212 * Close the open NT pipes before the tdis.
4213 * Fix AFS related build issues.
4214 * Handle error conditions when base64 encoding a blob of 0 bytes.
4217 o Herb Lewis <herb@samba.org>
4218 * Added 'acls' debug class.
4220 o kawasa_r@itg.hitachi.co.jp
4221 * Multiple variable initialization and memory leak fixes.
4224 o Stephan Kulow <coolo@suse.de>
4225 * Fix string length bug in libsmbclient that caused KDE's
4227 * BUG 429: More libsmbclient fixes.
4230 o Jim McDonough <jmcd@us.ibm.com>
4231 * BUG 1007, 1279: Store the print job using a little-endian key.
4235 o Compile fix for OpenBSD (ENOTSUP not supported).
4238 o Stefan Metzmacher <metze@samba.org>
4239 * Correct bug in disks quota views from explorer.
4242 o Tim Potter <tpot@samba.org>
4243 BUG 1305: Correct debug output.
4246 o Richard Sharpe <rsharpe@samba.org>
4247 * Fix incorrect error code mapping.
4250 o Jelmer Vernooij <jelmer@samba.org>
4251 * Add additional NT_STATUS errorm mappings.
4254 --------------------------------------------------
4256 =============================
4257 Release Notes for Samba 3.0.3
4259 =============================
4262 Common bugs fixed in Samba 3.0.3 include:
4264 o Crash bugs and change notify issues in Samba's printing code.
4265 o Honoring secondary group membership on domain member servers.
4266 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
4267 o Substitution errors for %[UuGg] in smb.conf.
4268 o winbindd crashes when using ADS security mode.
4269 o SMB signing errors.
4270 o Delays in winbindd startup caused by unnecessary
4271 connections to trusted domain controllers.
4272 o Various small memory leaks.
4273 o Winbindd failing due to expired Kerberos tickets.
4275 New features introduced in Samba 3.0.3 include:
4277 o Improved support for i18n character sets.
4278 o Support for account lockout policy based on
4279 bad password attempts.
4280 o Improved support for long password changes (>14
4281 characters) and strong password enforcement.
4282 o Support for Windows aliases (i.e. nested groups).
4283 o Experimental support for storing DOS attribute on files
4284 and folders in Extended Attributes.
4285 o Support for local nested groups via winbindd.
4286 o Specifying options to be passed directly to the CUPS libraries.
4288 Please be aware that the Samba source code repository was
4289 migrated from CVS to Subversion on April 4, 2004. Details on
4290 accessing the Samba source tree via anonymous svn can be found
4291 at http://svn.samba.org/samba/subversion.html.
4294 Changes since 3.0.2a
4295 --------------------
4299 Parameter Name Action
4300 -------------- ------
4303 only user Deprecated
4304 store dos attributes New
4306 winbind nested groups New
4312 o Jeremy Allison <jra@samba.org>
4313 * Ensure that Kerberos mutex is always properly unlocked.
4314 * Removed Heimdal "in-memory keytab" support.
4315 * Fixup the 'multiple-vuids' bugs in our server code.
4316 * Correct return code from lsa_lookup_sids() on unmapped
4317 sids (based on work by vl@samba.org).
4318 * Fix the "too many fcntl locks" scalability problem
4320 * Fixup correct (as per W2K3) returns for lookupsids
4321 as well as lookupnames.
4322 * Fixups for delete-on-close semantics as per Win2k3 behavior.
4323 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
4324 * Fix "unable to initialize" bug when smbd hasn't been run with
4325 new system and a user is being added via pdbedit/smbpasswd.
4326 * Added NTrename SMB (0xA5).
4327 * Fixup correct timeout values for blocking lock timeouts.
4328 * Fix various bugs reported by 'gentest'.
4329 * More locking fixes in the case where we own the lock.
4330 * Fix up regression in IS_NAME_VALID and renames.
4331 * Don't set allocation size on directories.
4332 * Return correct error code on fail if file exists and target
4334 * Added client "hardlink" comment to test doing NT rename with
4335 hard links. Added hardlink_internals() code - UNIX extensions
4336 now use this as well.
4337 * Use a common function to parse all pathnames from the wire for
4338 much closer emulation of Win2k3 error return codes.
4339 * Implement check_path_syntax() and rewrite string sub
4340 functions for better multibyte support.
4341 * Ensure msdfs referrals are multibyte safe.
4342 * Allow msdfs symlink syntax to be more forgiving.
4343 eg. sym_link -> msdfs://server/share/path/in/share
4344 or sym_link -> msdfs:\\server\share\path\in\share.
4345 * Cleanup multibyte netbios name support in nmbd ( based on patch
4346 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
4347 * Fix check_path_syntax() for multibyte encodings which have
4348 no '\' as second byte (based on work by ab@samba.org.
4349 * Fix the "dfs self-referrals as anonymous user" problem
4350 (based on patch from vl@samba.org).
4351 * BUG 1064: Ensure truncate attribute checking is done correctly
4352 on "hidden" dot files.
4353 * Fix bug in anonymous dfs self-referrals again.
4354 * Fix get/set of EA's in client library
4355 * Added support for OS/2 EA's in smbd server.
4356 * Added 'ea support' parameter to smb.conf.
4357 * Added 'store dos attributes' parameter to smb.conf.
4358 * Fix wildcard identical rename.
4359 * Fix reply_ctemp - make compatible with w2k3.
4360 * Fix wildcard unlink.
4361 * Fix wildcard src with wildcard dest renames.
4362 * BUG 1139: Fix based on suggestion by jdev@panix.com.
4363 swap lookups for user and group - group will do an
4364 algorithmic lookup if it fails, user won't.
4365 * Make EA's lookups case independent.
4366 * Fix SETPATHINFO in 'unix extensions' support.
4367 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
4368 the UNIX info levels, and the short case preserve names.
4371 o Timur Bakeyev <timur@com.bat.ru>
4372 * BUG 1144: only set --with-fhs when the argument is 'yes'
4373 * BUG 1152: Allow python modules to build despite libraries added
4374 to LDFLAGS instead of LDPATH.
4375 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
4378 o Craig Barratt <cbarratt@users.sourceforge.net>
4379 * BUG 389: Allow multiple exclude arguments with smbclient
4380 tar -Xr options (better support for Amanda backup client).
4383 o Andrew Bartlett <abartlet@samba.org>
4384 * Include support for linking with cracklib for enforcing strong
4386 * Add support for >14 character password changes from Windows
4388 * Add 'admin set password' capability to 'net rpc'.
4389 * Allow 'net rpc samdump' to work with any joined domain
4390 regardless of smb.conf settings.
4391 * Use an allocated buffer for count_chars.
4392 * Add sanity checks for changes in the domain SID in an
4394 * Implement python unit tests for Samba's multibyte string
4396 * Remove 'unicode' smb.conf option.
4397 * BUG 1138: Fix support for 'optional' SMB signing and other
4399 * BUG 169: Fix NTLMv2-only behavior.
4400 * Ensure 'net' honors the 'netbios name' in the smb.conf by
4402 * Support SMB signing on connections using only the LANMAN
4403 password and generate the correct the 'session key' for these
4405 * Implement --required-membership-of=, an ntlm_auth option
4406 that restricts all authentication to members of this particular
4408 * Improve our fall back code for password changes.
4409 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
4410 after the server had said something (such as an error).
4411 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
4414 o Alexander Bokovoy <ab@samba.org>
4415 * Fix incorrect size calculation of the directory name
4417 * Fix problems with very long filenames in both smbd and smbclient
4418 caused by truncating paths during character conversions.
4419 * Fix smbfs problem with Tree Disconnect issued before smbfs
4423 o Gerald Carter <jerry@samba.org>
4424 * BUG 850: Fix 'make installmodules' bug on True64.
4425 * BUG 66: mark 'only user' deprecated.
4426 * Remove corrupt tdb and shutdown (only for printing tdbs,
4427 connections, sessionid & locking).
4428 * decrement smbd counter in connections.tdb in smb_panic().
4429 * RedHat specfile updates.
4430 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
4431 * BUG 1147; bad pointer case in get_stored_queue_info()
4433 * BUG 761: read the config file before initialized default
4434 values for printing options; don't default to bsd printing
4436 * Allow the 'printing' parameter to be set on a per share basis.
4437 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
4438 * BUG 848: don't create winbind local users/groups that already
4440 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
4442 * BUG 488: fix the 'show client in col 1' button and correctly
4443 enumerate active connections.
4444 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
4445 problem when storing the updating pid for the lpq cache.
4446 * BUG 1007 (partial): Fix print change notify bugs.
4447 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
4448 and winbind use default domain = yes. Also ensures that
4449 * BUG 1151: Ensure that winbindd users are passed through
4451 * Fix client rpc binds for ASU derived servers (pc netlink,
4453 * BUG 417, 1128: Ensure that the current_user_info is set
4454 consistently so that %[UuGg] is expanded correctly.
4455 * BUG 1195: Fix crash in winbindd when the ADS server is
4457 * BUG 1185: Set reconnect time to be the same as the
4458 'winbind cache time'.
4459 * Ensure that we return the sec_desc in smb_io_printer_info_2.
4460 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
4461 * BUG 1095: Honor the '-l' option in smbclient.
4462 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
4464 * Ensure server schannel uses the auth level requested by the
4466 * Removed --with-cracklib option due to potential crash issue.
4467 * Fix -lcrypto linking problem with wbinfo.
4468 * BUG 761: allow printing parameter to set defaults on a per
4470 * Add 'cups options' parameter to allow raw printing without
4471 changing /etc/cups/cupsd.conf.
4472 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
4474 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
4475 * BUG 1288: resolve any machine netbios name (0x00) and not just
4477 * BUG 1199: Fix potential symlink issue in
4478 examples/printing/smbprint.
4481 o Robert Dahlem <Robert.Dahlem@gmx.net>
4482 * BUG 1048: Don't return short names when when 'mangled names = no'
4485 o Guenther Deschner <gd@suse.com>
4486 * Remove hard coded attribute name in the ads ranged retrieval
4488 * Add --with-libdir and --with-mandir to autoconf script.
4491 o Bostjan Golob <golob@gimb.org>
4492 * BUG 1046: Fix getpwent_list() so that the username is not
4493 overwritten by other fields.
4496 o Landon Fuller <landonf@opendarwin.org>
4497 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
4498 to fix user/group enumeration on systems whose libc does not
4499 call setgrent() before trying to enumerate users (i.e.
4503 o Steve French <sfrench@us.ibm.com>
4504 * Update mount.cifs to version 1.1.
4505 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
4506 * Fixes to minor security bug in the mount helper.
4507 * Fix credential file mounting for cifs vfs.
4508 * Fix free of incremented pointer in cifsvfs mount helper.
4509 * Fix path canonicalization of the mount target path and help
4510 text display in the cifs mount helper.
4511 * Add missing guest mount option for mount.cifs.
4514 o SATOH Fumiyasu <fumiya@miraclelinux.com>
4515 * BUG 1055; formatting fixes for 'net share'.
4516 * BUG 692: correct truncation of share names and workgroup
4518 * BUG 1088: use strchr_m() for query_host (smbclient -L).
4519 * Patch from to internally count characters correctly.
4522 o Paul Green <paulg@samba.org>
4523 * Update VOS _POSIX_C_SOURCE macro to 200112L.
4524 * Fix bug in configure.ion by moving the first use of
4525 AC_CHECK_HEADERS so it is always executed.
4526 * Fix configure.in to only use $BLDSHARED to select whether to
4527 build static or shared libraries.
4530 o Pat Haywarrd <Pat.Hayward@propero.net>
4531 * Make the session_users list dynamic (max of 128K).
4534 o Cal Heldenbrand <calzplace@yahoo.com>
4535 * Fix for for 'pam_smbpass migrate' functionality.
4538 o Chris Hertel <crh@samba.org>
4539 * fix enumeration of shares 12 characters in length via
4543 o Ulrich Holeschak <ulrich@holeschak.de>
4544 * BUG 932: fix local password change using pam_smbpass
4547 o Krischan Jodies <kj@sernet.de>
4548 * Implement 'net rpc group delete'
4551 o John Klinger <john.klinger@lmco.com>
4552 * Return NSS_SUCCESS once the max number of gids possible
4553 has been found in initgroups() on Solaris.
4554 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
4557 o Volker Lendecke <vl@samba.org>
4558 * Fix success message for net groupmap modify.
4559 * Fix errors when enumerating members of groups in 'net rpc'.
4560 * Match Windows behavior in samr_lookup_names() by returning
4561 ALIAS(4) when you search in BUILTIN.
4562 * Fix server SAMR code to be able to set alias info for
4564 * Fix duplication of logic when creating groups via smbd.
4565 * Ensure that the HWM values are set correctly after running
4567 * Add 'net rpc group add'.
4568 * Implement 'net groupmap set' and 'net groupmap cleanup'.
4569 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
4570 * Fix wb_delgrpmem (wbinfo -o).
4571 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
4572 * Fix sambaUserWorkstations on a Samba DC.
4573 * Implement wbinfo -k: Have winbind generate an AFS token after
4574 authenticating the user.
4575 * Add expand_msdfs VFS module for providing referrals based on the
4576 the client's IP address.
4577 * Implement client side NETLOGON GetDCName function.
4578 * Fix caching of name->sid lookups.
4579 * Add support in winbindd for expanding nested local groups.
4580 * Fix memleak in winbindd.
4582 * Don't list domain groups from BUILTIN.
4583 * Fix memleak in policy handle utility functions.
4584 * Decrease winbindd startup time by only contacting trusted
4585 domains as necessary.
4586 * Allow winbindd to ask the DC for its domain for a trusted
4588 * Fix Netscape DS schema based on comments from
4589 <thomas.mueller@christ-wasser.de>.
4590 * Correct case where adding a domain user to a XP local group
4591 did a lsalookupname on the user without domain prefix, and
4593 * Fix segfault in winbindd caused by 'wbinfo -a'.
4596 o Herb Lewis <herb@samba.org>
4597 * Fix typo for tag in proto file.
4598 * Add missing #ifdef HAVE_BICONV stuff.
4599 * Truncate Samba's netbios name at the first '.' (not
4603 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
4604 * Bug fixes and enhancements to libsmbclient library.
4607 o Jianliang Lu <j.lu@tiesse.com>
4608 * Enforce the 'user must change password at next login' flag.
4609 * Decode meaning of 'fields present' flags (improves support
4612 * Don't force an upper case domain name in the ntlmssp code.
4615 o L. Lucius <ib@digicron.com>.
4619 o Jim McDonough <jmcd@us.ibm.com>
4620 * Add versioning support to tdbsam.
4621 * Update the IBM Directory Server schema with the OpenLDAP
4623 * Various decoding fixes to improve usrmgr.exe support.
4624 * Fix statfs redeclaration of statfs struct on ppc
4625 * Implement support for password lockout of Samba domain
4626 controllers and standalone servers.
4627 * Get MungedDial attribute actually working with full TS
4628 strings in it for pdb_ldap.
4629 * BUG 1208 (partial): Improvements for working with expired krb5
4630 tickets in winbindd.
4631 * Use timegm, or our already existing replacement instead of
4632 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
4633 * Remove modifyTimestamp from list of our attributes.
4634 * Fix lsalookupnames to check for domain users as well as local
4636 * Merge struct uuid replacement for GUID from trunk.
4637 * BUG 1208: Finish support for handling expired tickets in
4638 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
4641 o Stefan Metzmacher <metze@samba.org>
4642 * Implement new VERSION schema based on subversion revision
4644 * Add shadow_copy vfs module.
4645 * Fix segault in login_cache support.
4648 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
4649 o BUG 979 -- Fix quota display on AIX.
4652 o James Peach <jpeach@sgi.com>
4653 * Correct check for printf() format when using the SGI MIPSPro
4655 * BUG 1038: support backtrace for 'panic action' on IRIX.
4656 * BUG 768: Accept profileing arg to IRIX init script.
4657 * BUG 748: Relax arg parsing to sambalp script (IRIX).
4658 * BUG 758: Fix pdma build.
4659 * Search IRIX ABI paths for libiconv. Based on initial fix from
4663 o Kurt Pfeifle <kpfeifle@danka.de>
4664 * Add example shell script for migrating drivers and printers
4665 from a Windows print server to a Samba print server using
4666 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
4669 o Tim Potter <tpot@samba.org>
4670 * Fix logic bug in tdb non-blocking lock routines when
4672 * BUG 1025: Include sys/acl.h in check for broken nisplus
4674 * BUG 1066: s/printf/d_printf/g in SWAT.
4675 * BUG 1098: rename internal msleep() function to fix build
4677 * BUG 1112: Fix for writable printerdata problem in python bindings.
4678 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
4679 * BUG 1155: enclose use of fchown() with guards.
4680 * Relicense tdb python module as LGPL.
4683 o Richard Sharpe <rsharpe@samba.org>
4684 * Add support to smbclient for multiple logins on the same
4685 session (based on work by abartlet@samba.org).
4686 * Correct blocking condition in smbd's use of accept() on IRIX.
4687 * Add support for printing out the MAC address on nmblookup.
4690 o Simo Sorce <idra@samba.org>
4691 * Replace unknown_3 with fields_present in SAMR code.
4692 * More length checks in strlcat().
4695 o Andrew Tridgell <tridge@samba.org>
4696 * Rewrote the AIX UESS backend for winbindd.
4697 * Fixed compilation with --enable-dmalloc.
4698 * Change tdb license to LGPL (see source/tdb/tdb.c).
4699 * Force winbindd to use schannel in clients connections to
4703 o Jelmer Vernooij <jelmer@samba.org>
4704 * Fix ETA Calculation when resuming downloads in smbget.
4705 * Add -O (for writing downloaded files to standard out)
4706 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
4707 * Fix syntax error in example mysql table
4710 o TAKEDA yasuma <yasuma@miraclelinux.com>
4711 * BUG 900: fix token processing in cmd_symlink, cmd_link,
4712 cmd_chown, cmd_chmod smbclient functions.
4715 o Shiro Yamada <shiro@miraclelinux.com>
4716 * BUG 1129: install image files for SWAT.
4719 --------------------------------------------------
4721 ==============================
4722 Release Notes for Samba 3.0.2a
4724 ==============================
4726 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
4727 to address, in particular, a problem when using pdbedit to
4728 sanitize (--force-initialized-passwords) Samba's tdbsam
4729 backend. This is the latest stable release of Samba. This
4730 is the version that all production Samba servers should be
4731 running for all current bug-fixes.
4733 ******************* Attention! Achtung! Kree! *********************
4735 Beginning with Samba 3.0.2, passwords for accounts with a last
4736 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
4737 ldapsam, etc...) of zero (0) will be regarded as uninitialized
4738 strings. This will cause authentication to fail for such
4739 accounts. If you have valid passwords that meet this criteria,
4740 you must update the last change time to a non-zero value. If you
4741 do not, then 'pdbedit --force-initialized-passwords' will disable
4742 these accounts and reset the password hashes to a string of X's.
4744 ******************* Attention! Achtung! Kree! *********************
4753 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4754 details. The list of changes per contributor are as follows:
4757 o Jeremy Allison <jra@samba.org>
4758 * Added paranoia checks in parsing code.
4761 o Andrew Bartlett <abartlet@samba.org>
4762 * Ensure that changes to uninitialized passwords in ldapsam
4763 are written to the DIT.
4766 o Gerald (Jerry) Carter <jerry@samba.org>
4767 * Fixed iterator in tdbsam.
4768 * Fix bug that disabled accounts with a valid NT password
4769 hash, but no LanMan hash.
4772 o Steve French <sfrench@us.ibm.com>
4773 * Added missing nosetuid and noexec options.
4776 o Bostjan Golob <golob@gimb.org>
4777 * BUG 1046: Don't overwrite usernames of entries returned
4781 o Sebastian Krahmer <krahmer@suse.de>
4782 * Fixed potential crash bug in NTLMSSP parsing code.
4785 o Tim Potter <tpot@samba.org>
4786 * Fixed logic in tdb_brlock error checking.
4789 o Urban Widmark <urban@teststation.com>
4790 * Set nosuid,nodev flags in smbmnt by default.
4793 --------------------------------------------------
4795 =============================
4796 Release Notes for Samba 3.0.2
4798 =============================
4800 It has been confirmed that previous versions of Samba 3.0 are
4801 susceptible to a password initialization bug that could grant an
4802 attacker unauthorized access to a user account created by the
4803 mksmbpasswd.sh shell script.
4805 The Common Vulnerabilities and Exposures project (cve.mitre.org)
4806 has assigned the name CAN-2004-0082 to this issue.
4808 Samba administrators not wishing to upgrade to the current
4809 version should download the 3.0.2 release, build the pdbedit
4812 root# pdbedit-3.0.2 --force-initialized-passwords
4814 This will disable all accounts not possessing a valid password
4815 (e.g. the password field has been set a string of X's).
4817 Samba servers running 3.0.2 are not vulnerable to this bug
4818 regardless of whether or not pdbedit has been used to sanitize
4821 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
4824 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
4825 o Logging onto a Samba domain from Windows XP clients.
4826 o Problems with the %U and %u smb.conf variables in relation to
4827 Windows 9x/ME clients.
4828 o Kerberos failures due to an invalid in memory keytab detection
4830 o Updates to the ntlm_auth tool.
4831 o Fixes for various SMB signing errors.
4832 o Better separation of WINS and DNS queries for domain controllers.
4833 o Issues with nss_winbind FreeBSD and Solaris.
4834 o Several crash bugs in smbd and winbindd.
4835 o Output formatting fixes for smbclient for better compatibility
4836 with scripts based on the 2.2 version.
4845 Parameter Name Action
4846 -------------- ------
4847 ldap replication sleep New
4848 read size removed (unused)
4849 source environment removed (unused)
4855 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4856 details. The list of changes per contributor are as follows:
4858 o Jeremy Allison <jra@samba.org>
4859 * Revert change that broke Exchange clear text samlogons.
4860 * Fix gcc 3.4 warning in MS-DFS code.
4861 * Tidy up of NTLMSSP code.
4862 * Fixes for SMB signing errors
4863 * BUG 815: Workaround NT4 bug to support plaintext
4864 password logins and UNICODE.
4865 * Fix SMB signing bug when copying large files.
4866 * Correct error logic in mkdir_internals() (caused a panic
4867 when combined with --enable-developer).
4868 * BUG 830: Protect against crashes due to bad character
4872 o Petri Asikainen <paca@sci.fi>
4873 * BUG 330, 387:Fix single valued attribute updates when
4874 working with Novell NDS.
4877 o Andrew Bartlett <abartlet@samba.org>
4878 * Correctly handle per-pipe NTLMSSP inside a NULL session.
4879 * Fix segfault in gencache
4880 * Fix early free() of encrypted_session_key.
4881 * Change DC lookup routines to more carefully separate
4882 DNS names (realms) from NetBIOS domain names.
4883 * Add new sid_to_dn() function for internal winbindd use.
4884 * Refactor cli_ds_enum_domain_trusts().
4885 * BUG 707: Implement range retrieval of ADS attributes (based
4886 on work from Volker <vl@samba.org> and Guenther Deschner
4888 * Automatically initialize the signing engine if a session key
4890 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
4891 encoded strings, only form input in SWAT.
4892 * Resets the NTLMSSP state for new negotiate packets.
4893 * Add 2-byte alignments in net_samlogon() queries to parse
4894 odd-length plain text passwords.
4895 * Allow Windows groups with no members in winbindd.
4896 * Allow normal authentication in the absence of a server
4897 generated session key.
4898 * More optimizations for looking up UNIX group lists.
4899 * Clean up error codes and return values for pam_winbindd
4900 and winbindd PAM interface.
4901 * Fix string return values in ntlm_auth tool.
4902 * Fix segfault when 'security = ads' but no realm is defined.
4903 * BUG 722: Allow winbindd to map machine accounts to uids.
4904 * More cleanups for winbindd's find_our_domain().
4905 * More clearly detect whether a domain controller is an NT4
4906 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
4907 * Increase separation between DNS queries for hosts and queries
4908 for AD domain controllers.
4909 * Include additional NT_STATUS to PAM error mappings.
4910 * Password initialization fixes.
4913 o Justin Baugh <justin.baugh@request.com>
4914 * BUG 948: Implement missing functions required for FreeBSD
4915 nss_winbind support.
4918 o Alexander Bokovoy <ab@samba.org>
4919 * BUG 922: Make sure enable fast path for strlower_m() and
4923 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
4924 * Fix crash when using 'security = server' and 'encrypt
4925 passwords = no' by always initializing the session key.
4928 o Dmitry Butskoj <buc@odusz.elektra.ru>
4929 * Fix for special files being hidden from admins.
4932 o Gerald (Jerry) Carter <jerry@samba.org>
4933 * Fix bug in the lanman session key generation. Caused
4934 "decode_pw: incorrect password length" error messages.
4935 * Save the right case for the located user name in
4936 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
4937 * BUG 897: Add well known rid for pre win2k compatible access
4939 * BUG 887: Correct typo in delete user script example.
4940 * Use short lived TALLOC_CTX* for allocating printer objects
4941 from the print handle cache.
4942 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
4943 * Fix several warnings reported by the SUN Forte C compiler.
4944 * Fully control DNS queries for AD DC's using 'name resolve order'.
4945 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
4946 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
4947 * BUG 936: fix bind credentials for schannel binds in smbd.
4948 * BUG 446: Fix output of smbclient for better compatibility
4949 with scripts based on the 2.2 version (including Amanda).
4950 * BUG 891, 949: Fedora packaging fixes.
4951 * Fix bug that caused rpcclient to incorrectly retrieve
4952 the SID for a server (this causing all calls that required
4953 this information to fail).
4954 * BUG 977: Don't create a homes share for a user if a static
4955 share already exists by the same name.
4956 * Removed unused smb.conf options.
4957 * Password initialization fixes.
4958 * Set the disable flag for template accounts created by
4960 * Disable any account has no passwords and does not have the
4961 ACB_PWNOTREQ bit set.
4964 o Guenther Deschner <gd@suse.com>
4965 * Install smbwrapper.so should be put into the $(libdir)
4967 * Add the capability to specify the new user password
4968 for "net ads password" on the command line.
4969 * Correctly detect AFS headers on SuSE.
4972 o James Flemer <jflemer@uvm.edu>
4973 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
4974 HAVE_SYS_ATTRIBUTES_H.
4977 o Luke Howard <lukeh@PADL.COM>
4978 * Fix segfault in session setup reply caused by a early free().
4981 o Stoian Ivanov <sdr@bultra.com>
4982 * Implement grepable output for smbclient -L.
4985 o LaMont Jones <lamont@debian.org>
4986 * BUG 225328 (Debian): Correct false failure LFS test that resulted
4987 in _GNU_SOURCE not being defined (thus resulting in strndup()
4991 o Volker Lendecke <vl@samba.org>
4992 * BUG 583: Ensure that user names always contain the short
4993 version of the domain name.
4994 * Fix our parsing of the LDAP uri.
4995 * Don't show the 'afs username map' in the SWAT basic view.
4996 * Fix SMB signing issues in relation to failed NTLMSSP logins.
4997 * BUG 924: Fix return codes in smbtorture harness.
4998 * Always lower-case usernames before handing it to AFS code.
4999 * Add a German translation for SWAT.
5000 * Fix a segfaults in winbindd.
5001 * Fix the user's domain passed to register_vuid() from
5002 reply_spnego_kerberos().
5003 * Add NSS example code in nss_winbind to convert UNIX
5004 id's <-> Windows SIDs.
5005 * Display more descriptive error messages for login via 'net'.
5006 * Fix compiler warning in the net tool.
5007 * Fix length bug when decoding base64 strings.
5008 * Ensure we don't call getpwnam() inside a loop that is iterating
5009 over users with getpwent(). This broke on glibc 2.3.2.
5012 o Herb Lewis <herb@samba.org>
5013 * Fix bit rot in psec.
5016 o Jianliang Lu <j.lu@tiesse.com>
5017 * Ensure we delete the group mapping before calling the delete
5019 * Define well known RID for managing the "Power Users" group.
5020 * BUG 381: check builtin (not local) group SID when updating
5022 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
5026 o John Klinger <john.klinger@lmco.com>
5027 * Implement initgroups() call in nss_winbind on Solaris.
5030 o Jim McDonough <jmcd@us.ibm.com>
5031 * Fix regression in net rpc join caused by recent changes
5032 to cli_lsa_query_info_policy().
5033 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
5037 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
5038 * BUG 570: Ensure that configure honors the LDFLAGS variable.
5041 o Stefan Metzmacher <metze@samba.org>
5042 * Implement LDAP rebind sleep patch.
5043 * Revert to 2.2 quota code because of so many broken quota files
5045 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
5046 XFS_USER_QUOTA -> USRQUOTA
5047 XFS_GROUP_QUOTA -> GRPQUOTA
5048 * Fix disk_free calculation with group quotas.
5049 * Add debug class 'quota' and a lot of DEBUG()'s
5051 * Fix sys_chown() when no chown() is present.
5052 * Add SIGABRT to fault handling in order to catch got a
5053 backtrace if an error occurs the OpenLDAP client libs.
5057 * Allow an existing LDAP machine account to be re-used when
5058 joining an AD domain.
5061 o James Peach <jpeach@sgi.com>
5062 * BUG 889: Change smbd to use pread/pwrite on platforms that
5063 support these calls. Can lead to a significant speed increase.
5066 o Tim Potter <tpot@samba.org>
5067 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
5068 * BUG 924: Fix typo in RW2 torture test.
5071 o Richard Sharpe <rsharpe@samba.org>
5072 * Small fixes to torture.c to cleanup the error handling
5073 and prevent crashes.
5076 o J. Tournier <jerome.tournier@IDEALX.com>
5077 * Small fixes for the smbldap-tool scripts.
5080 o Andrew Tridgell <tridge@samba.org>
5081 * Fix src len check in pull_usc2().
5084 o Jelmer Vernooij <jelmer@samba.org>
5085 * Put functions for generating SQL queries in pdb_sql.c
5086 * Add pgSQL backend (based on patch by Hamish Friedlander)
5087 * BUG 908: Fix -s option to smbcontrol.
5088 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
5089 * Fix for libnss_wins on IRIX platforms.
5090 * Fix swatdir for --with-fhs.
5093 --------------------------------------------------
5095 =============================
5096 Release Notes for Samba 3.0.1
5098 =============================
5100 Some of the more common bugs in 3.0.0 addressed in the release
5103 o Substitution problems with smb.conf variables.
5104 o Errors in return codes which caused some applications
5105 to fail to open files.
5106 o General Protection Faults on Windows 2000/XP clients
5107 using Samba point-n-print features.
5108 o Several miscellaneous crash bugs.
5109 o Access problems when enumerating group mappings are
5110 stored in an LDAP Directory.
5111 o Several common SWAT bugs when writing changes to
5113 o Internal inconsistencies when 'winbind use default
5119 ----------------------
5121 Parameter Name Action
5122 -------------- ------
5123 hide local users Removed
5124 mangled map Deprecated
5125 mangled stack Removed
5126 passwd chat timeout New
5132 o Change the interface for init_unistr2 to not take a length
5133 but a flags field. We were assuming that
5134 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
5135 o Allow d_printf() to handle strings with escaped quotation
5136 marks since the msg file includes the escape character (bug 489).
5137 o Fix bad html table row termination in SWAT wizard code (bug 413).
5138 o Fix to parse the level-2 strings.
5139 o Fix for "valid users = %S" in [homes]. Fix read/write
5141 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
5142 This is the same way AC_CHECK_LIB works (bug 508).
5143 o Testparm output fixes for clarity.
5144 o Fix broken wins hook functionality -- i18n bug (bug 528).
5145 o Take care of condition where DOS and NT error codes must differ.
5146 o Default to using only built-in charsets when a working iconv
5147 implementation cannot be located.
5148 o Wrap internals of sys_setgroups() so the sys_XX() call can
5149 be done unconditionally (bug 550).
5150 o Remove duplicate smbspool link on SWAT's front page (bug 541).
5151 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
5152 --enable-debug=[yes|no] works correctly.
5153 o Allow ^C to interrupt smbpasswd if using our getpass
5154 (e.g. smbpasswd command).
5155 o Support signing only on RPC's (bug 167).
5156 o Correct bug that prevented Excel 2000 clients from opening
5157 files marked as read-only.
5158 o Portability fix bugs 546 - 549).
5159 o Explicitly initialize the value of AR for vendor makes that don't
5160 do this (e.g. HPUX 11). (bug 552).
5161 o More i18n fixes for SWAT (bug 413).
5162 o Change the cwd before the postexec script to ensure that a
5163 umount will succeed.
5164 o Correct double free that caused winbindd to crash when a DC
5165 is rebooted (bug 437).
5166 o Fix incorrect mode sum (bug 562).
5167 o Canonicalize SMB_INFO_ALLOCATION in the same was as
5168 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
5169 o Add script to generate *msg files.
5170 o Add Dutch SWAT translation file.
5171 o Make sure to call get_user_groups() with the full winbindd
5172 name for a user if he/she has one (bug 406).
5173 o Fix up error code returns from Samba4 tester. Ensure invalid
5174 paths are validated the same way.
5175 o Allow Samba3 to pass the Samba4 RAW-READ tests.
5176 o Refuse to configure if --with-expsam=$BACKEND was used but no
5177 libraries were found for $BACKEND.
5178 o Move sysquotas autoconf tests to a separate file.
5179 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
5181 o Make sure that the files that contain the static_init_$subsystem;
5182 macro get recompiled after configure by removing the object
5184 o Ensure canceling a blocking lock returns the correct error
5186 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
5187 o Updated Japanese welcome file in SWAT.
5188 o Fix to nt-time <-> unix-time functions reversible.
5189 o Ensure that winbindd uses the the escaped DN when querying
5191 o Fix portability issues when compiling (bug 505, 550)
5192 o Compile fix for tdbbackup when Samba needs to override
5193 non-C99 compliant implementations of snprintf().
5194 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
5195 o Make sure we break out of samsync loop on error.
5196 o Ensure error code path doesn't free unmalloc()'d memory
5198 o Add configure test for krb5_keytab_entry keyblock vs key
5201 o Modified testparm so that all output so all debug output goes
5202 to stderr, and all file processing goes to stdout.
5203 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
5205 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
5206 we have a devmode before copying a string to the devicename.
5207 o Support mapping REALM.COM\user to a local user account (without
5208 running winbindd) for compatibility with 2.2.x release.
5209 o Ensure we don't use mmap() on blacklisted systems.
5210 o fixed a number of bugs and memory leaks in the AIX
5212 o Call initgroups() in SWAT before becomming the user so that
5213 secondary group permissions can be used when writing to
5215 o Fix signing problems when reverse connecting back to a
5216 client for printer notify
5217 o Fix signing problems caused by a miss-sequence bug.
5218 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
5219 Fixes NEXUS tools running on Win9x clients (bug 64).
5220 o Don't leave the domain field uninitialized in cli_lsa.c if some
5221 SID could not be mapped.
5222 o Fix segfault in mount.cifs helper when there is no options
5223 specified during mount.
5224 o Change the \n after the password prompt to go to tty instead
5225 of stdout (bug 668).
5226 o Stop net -P from prompting for machine account password (bug 451).
5227 o Change in behavior to Not only change the effective uid but also
5228 the real uid when becoming unprivileged.
5229 o Cope with Exchange 5.5 cleartext pop password auth.
5230 o New files for support of initshutdown pipe. Win2k doesn't
5231 respond properly to all requests on the winreg pipe, so we need
5232 to handle this new pipe (bug 534).
5233 o Added more va_copy() checks in configure.in.
5234 o Include fixes for libsmbclient build problems.
5235 o Missing UNIX -> DOS codepage conversion in lanman.c.
5236 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
5237 o Parameterize the listen backlog in smbd and make it larger by
5238 default. A backlog of 5 is way too small these days.
5239 o Check for an invalid fid before dereferencing the fsp pointer
5241 o Remove invalid memory frees and return codes in pdb_ldap.c.
5242 o Prompt for password when invoking --set-auth-user and no
5244 o Bind the nmbd sending socket to the 'socket address'.
5245 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
5246 $LDFLAGS occurs before any library specification (bug 661).
5247 o Fix large number of printf() calls for 64-bit size_t.
5248 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
5249 keyblock in the krb5 structs.
5250 o Remove #include <compat.h> in hopes to avoid problems with
5251 apache header files.
5252 o Correct winbindd build problems on HP-UX 11.
5253 o Lowercase netgroups lookups (bug 703).
5254 o Use the actual size of the buffer in strftime instead of a made
5255 up value which just happens to be less than sizeof(fstring).
5257 o Add ldaplibs to pdbedit link line (bug 651).
5258 o Fix crash bug in smbclient completion (bug 659).
5259 o Fix packet length for browse list reply (bug 771).
5260 o Fix coredump in cli_get_backup_list().
5261 o Make sure that we expand %N (bug 612).
5262 o Allow rpcclient adddriver command to specify printer driver
5264 o Compile tdbdump by default.
5265 o Apply patches to fix iconv detection for FreeBSD.
5266 o Do not allow the 'guest account' to be added to a passdb backend
5267 using smbpasswd or pdbedit (bug 624).
5268 o Save LDFLAGS during iconv detection (bug 57).
5269 o Run krb5 logins through the username map if the winbindd
5270 lookup fails (bug 698).
5271 o Add const for lp_set_name_resolve_order() to avoid compiler
5273 o Add support for the %i macro in smb.conf to stand in for the for
5274 the local IP address to which a client connected.
5275 o Allow winbindd to match local accounts to domain SID when
5276 'winbind trusted domains only = yes' (bug 680).
5277 o Remove code in idmap_ldap that searches the user suffix and group
5278 suffix. It's not needed and provides inconsistent functionality
5279 from the tdb backend.
5280 o Patch to handle munged dial string for Windows 2000 TSE.
5281 Thanks to Gaz de France, Direction de la Recherche, Service
5282 Informatique Métier for their supporting this work by Aurelien
5283 Degrémont <adegremont@idealx.com>.
5284 o Correct the "smbldap_open: cannot access when not root error"
5285 messages when looking up group information (bug 281).
5286 o Skip over the winbind separator when looking up a user.
5287 This fixes the bug that prevented local users from
5288 matching an AD user when not running winbindd (bug 698).
5289 o Fix a problem with configure on *BSD systems. Make sure
5290 we add -liconv etc to LDFLAGS.
5291 o Fix core dump bug when "security = server" and the authentication
5293 o Correct crash bug due to an empty munged dial string.
5294 o Show files locked by a specific user (smbstatus -u 'user')
5296 o Fix bug preventing print jobs from display in the queue
5297 monitor used by Windows NT and later clients (bug 660).
5298 o Fix several reported problems with point-n-print from
5299 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
5300 reply (bug 338, 527 & 643).
5301 o Fix a handful of potential memory leaks in the LDAP code used
5302 by ldapsam[_compat] and the LDAP idmap backend.
5303 o Fix for pdbedit error code returns (bug 763).
5304 o Make sure we only enumerate group mapping entries (not
5305 /etc/group) even when doing local aliases.
5306 o Relax check on the pipe name in a dce/rpc bind response to work
5307 around issues with establishing trusts to a Windows 2003 domain.
5308 o Ensure we mangle names ending in '.' in hash2 mangling method.
5309 o Correct parsing issues with munged dial string.
5310 o Fix bugs in quota support for XFS.
5311 o Add a cleaner method for applications that need to provide
5312 name->SID mappings to do this via NSS rather than having to
5313 know the winbindd pipe protocol.
5314 o Adds a variant of the winbindd_getgroups() call called
5315 winbindd_getusersids() that provides direct SID->SIDs listing of
5316 a users supplementary groups. This is enough to allow non-Samba
5317 applications to do ACL checking.
5318 o Make sure we don't append the 'ldap suffix' when writing out the
5319 'ldap XXX suffix' values in SWAT (bug 328).
5320 o Fix renames across file systems.
5321 o Ensure that items in a list of strings containing whitespace are
5322 written out surrounded by single quotes. This means that both
5323 double and single quotes are now used to surround strings in
5325 o Enable SWAT to correctly determine if winbindd is running (bug
5327 o Include WWW-Authenticate field in 401 response for bad auth
5329 o Add support for NTLM2 (NTLMv2 session security).
5330 o Add support for variable-length session keys.
5331 o More privilege fixes for group enumeration in LDAP (bug 281).
5332 o Use the dns name (or IP) as the originating client name when
5333 using CUPS (bug 467).
5334 o Fix various SMB signing bugs.
5335 o Fix ACL propagation on a DFS root (bug 263).
5336 o Disable NTLM2 for RPC pipes.
5337 o Allow the client to specify the NTLM2 flags got NTLMSSP
5339 o Change the name of the job passed off to cups from "Test Page"
5340 to "smbprn.00000033 Test Page" so that we can get the smb
5341 jobid back. This allow users to delete jobs with cups printing
5342 backend (partial work on bug 770).
5343 o Fix build of winbindd with static pdb modules.
5344 o Retrieve the correct ACL group bits if the file has an ACL
5346 o Implement "net rpc group members": Get members of a domain group
5347 in human-readable format.
5348 o Add MacOSX (Darwin) specific charset module code.
5349 o Use samr_dispinfo(level == 1) for enumerating domain users so we
5350 can include the full name in gecos field (bug 587).
5351 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
5352 o Implement 'net rpc group list [global|local|builtin]*' for a
5353 select listing of the respective user databases.
5354 o Don't automatically set NT status code flag unless client tells
5356 o Add 'net status [sessions|shares] [parseable]'.
5357 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
5359 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
5361 o Fix inverted logic in hosts allow/deny checks caused by
5362 s/strcmp/strequal/ (bug 846).
5363 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
5364 o Fix typo in 'hash' mangling algorithm.
5365 o Support munged dial for ldapsam (bug 800).
5366 o Fix process_incoming_data() to return the number of bytes handled
5367 this call whether we have a complete PDU or not; fixes bug
5368 with multiple PDU request rpc's broken over SMBwriteX calls
5370 o Fix incorrect smb flags2 for connections to pre-NT servers
5371 (causes smbclient to fail to OS2 for example) (bug 821).
5372 o Update version string in smbldap-tools Makefile to 0.8.2.
5373 o Correct a problem with "net rpc vampire" mis-parsing the
5374 alias member info reply.
5375 o Ensure the ${libdir} is created by the installclientlib script.
5376 o Fix detection of Windows 2003 client architecture in the smb.conf
5378 o Ensure that smbd calls the add user script for a missing UNIX
5379 user on kerberos auth call (bug 445).
5380 o Fix bugs in hosts allow/deny when using a mismatched
5381 network/netmask pair.
5382 o Protect alloc_sub_basic() from crashing when the source string
5383 is NULL (partial work on bug 687).
5384 o Fix spinlocks on IRIX.
5385 o Corrected some bad destination paths when running "configure
5387 o Add packaging files for Fedora Core 1.
5388 o Correct bug in SWAT install script for non-english languages.
5389 o Support character set ISO-8859-1 internally (bug 558).
5390 o Fixed more LDAP access errors when looking up group mappings
5392 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
5393 resolution to fail on local files on on domain members
5395 o Fix uninitialized variable in passdb.c.
5396 o Fix formal parameter type in get_static() in nsswitch/wins.c.
5397 o Fix problem mounting directories when mount.cifs is installed
5398 with the setuid bit on.
5399 o Fix bug that prevent --mandir from overriding the defaults
5400 given in the --with-fhs macro.
5401 o Fix bug in in-memory Kerberos keytab detection routines
5406 ######################################################################
5408 The original 3.0.0 release notes follow
5409 =======================================
5410 WHATS NEW IN Samba 3.0.0
5412 =======================================
5418 1) Active Directory support. Samba 3.0 is now able to
5419 join a ADS realm as a member server and authenticate
5420 users using LDAP/Kerberos.
5422 2) Unicode support. Samba will now negotiate UNICODE on the wire
5423 and internally there is now a much better infrastructure for
5424 multi-byte and UNICODE character sets.
5426 3) New authentication system. The internal authentication system
5427 has been almost completely rewritten. Most of the changes are
5428 internal, but the new auth system is also very configurable.
5430 4) New default filename mangling system.
5432 5) A new "net" command has been added. It is somewhat similar to
5433 the "net" command in windows. Eventually we plan to replace
5434 numerous other utilities (such as smbpasswd) with subcommands
5437 6) Samba now negotiates NT-style status32 codes on the wire. This
5438 improves error handling a lot.
5440 7) Better Windows 2000/XP/2003 printing support including publishing
5441 printer attributes in active directory.
5443 8) New loadable module support for passdb backends and character
5446 9) New default dual-daemon winbindd support for better performance.
5448 10) Support for migrating from a Windows NT 4.0 domain to a Samba
5449 domain and maintaining user, group and domain SIDs.
5451 11) Support for establishing trust relationships with Windows NT 4.0
5454 12) Initial support for a distributed Winbind architecture using
5455 an LDAP directory for storing SID to uid/gid mappings.
5457 13) Major updates to the Samba documentation tree.
5459 14) Full support for client and server SMB signing to ensure
5460 compatibility with default Windows 2003 security settings.
5462 15) Improvement of ACL mapping features based on code donated by
5463 Andreas Grünbacher.
5466 Plus lots of other improvements!
5469 Additional Documentation
5470 ------------------------
5472 Please refer to Samba documentation tree (included in the docs/
5473 subdirectory) for extensive explanations of installing, configuring
5474 and maintaining Samba 3.0 servers and clients. It is advised to
5475 begin with the Samba-HOWTO-Collection for overviews and specific
5476 tasks (the current book is up to approximately 400 pages) and to
5477 refer to the various man pages for information on individual options.
5479 We are very glad to be able to include the second edition of
5480 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
5481 (O'Reilly & Associates) in this release. The book is available
5482 on-line at http://samba.org/samba/docs/ and is included with
5483 the Samba Web Administration Tool (SWAT). Thanks to the authors and
5484 publisher for making "Using Samba" under the GNU Free Documentation
5488 ######################################################################
5489 Upgrading from a previous Samba 3.0 beta
5490 ########################################
5492 Beginning with Samba 3.0.0beta3, the RID allocation functions
5493 have been moved into winbindd. Previously these were handled
5494 by each passdb backend. This means that winbindd must be running
5495 to automatically allocate RIDs for users and/or groups. Otherwise,
5496 smbd will use the 2.2 algorithm for generating new RIDs.
5498 If you are using 'passdb backend = tdbsam' with a previous Samba
5499 3.0 beta release (or possibly alpha), it may be necessary to
5500 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
5501 to winbindd_idmap.tdb. To do this:
5503 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
5505 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
5507 3) run: (note that 'tdb>' is the tool's prompt for input)
5509 root# ./tdbtool /usr/local/samba/private/passdb.tdb
5510 tdb> show RID_COUNTER
5514 [000] 0A 52 00 00 .R.
5516 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
5520 If you are using 'passdb backend = ldapsam', it will be necessary to
5521 store idmap entries in the LDAP directory as well (i.e. idmap backend
5522 = ldap). Refer to the 'net idmap' command for more information on
5523 migrating SID<->UNIX id mappings from one backend to another.
5525 If the RID_COUNTER record does not exist, then these instructions are
5526 unneccessary and the new RID_COUNTER record will be correctly generated
5531 ########################
5532 Upgrading from Samba 2.2
5533 ########################
5535 This section is provided to help administrators understand the details
5536 involved with upgrading a Samba 2.2 server to Samba 3.0.
5542 Many of the options to the GNU autoconf script have been modified
5543 in the 3.0 release. The most noticeable are:
5545 * removal of --with-tdbsam (is now included by default; see section
5546 on passdb backends and authentication for more details)
5548 * --with-ldapsam is now on used to provided backward compatible
5549 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
5550 backend and authentication section for more details
5552 * inclusion of non-standard passdb modules may be enabled using
5553 --with-expsam. This includes an XML backend and a mysql backend.
5555 * removal of --with-msdfs (is now enabled by default)
5557 * removal of --with-ssl (no longer supported)
5559 * --with-utmp now defaults to 'yes' on supported systems
5561 * --with-sendfile-support is now enabled by default on supported
5568 This section contains a brief listing of changes to smb.conf options
5569 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
5570 complete descriptions of new or modified parameters.
5572 Removed Parameters (order alphabetically):
5575 * alternate permissions
5578 * code page directory
5580 * domain admin group
5581 * domain guest group
5582 * force unknown acl user
5588 * printer driver file
5589 * printer driver location
5591 * source environment
5599 New Parameters (new parameters have been grouped by function):
5603 * abort shutdown script
5606 User and Group Account Management
5607 ---------------------------------
5609 * add machine script
5610 * add user to group script
5611 * algorithmic rid base
5612 * delete group script
5613 * delete user from group script
5615 * set primary group script
5621 * passwd chat timeout
5625 * client lanman auth
5626 * client NTLMv2 auth
5632 * paranoid server security
5641 * hide special files
5642 * hide unwriteable files
5644 * kernel change notify
5654 * max reported print jobs
5656 UNICODE and Character Sets
5657 --------------------------
5663 SID to uid/gid Mappings
5664 -----------------------
5668 * winbind enable local accounts
5669 * winbind trusted domains only
5670 * template primary group
5671 * enable rid algorithm
5678 * ldap machine suffix
5680 * ldap replication sleep
5683 General Configuration
5684 ---------------------
5688 Modified Parameters (changes in behavior):
5690 * encrypt passwords (enabled by default)
5691 * mangling method (set to 'hash2' by default)
5694 * restrict anonymous (integer value)
5695 * security (new 'ads' value)
5696 * strict locking (enabled by default)
5697 * unix extensions (enabled by default)
5698 * winbind cache time (increased to 5 minutes)
5699 * winbind uid (deprecated in favor of 'idmap uid')
5700 * winbind gid (deprecated in favor of 'idmap gid')
5706 This section contains brief descriptions of any new databases
5707 introduced in Samba 3.0. Please remember to backup your existing
5708 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
5709 upgrade databases as they are opened (if necessary), but downgrading
5710 from 3.0 to 2.2 is an unsupported path.
5712 Name Description Backup?
5713 ---- ----------- -------
5714 account_policy User policy settings yes
5715 gencache Generic caching db no
5716 group_mapping Mapping table from Windows yes
5717 groups/SID to unix groups
5718 winbindd_idmap ID map table from SIDS to UNIX yes
5720 namecache Name resolution cache entries no
5721 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
5722 returned as part of a successful
5723 net_sam_logon request
5724 printing/*.tdb Cached output from 'lpq no
5725 command' created on a per print
5727 registry Read-only samba registry skeleton no
5728 that provides support for exporting
5729 various db tables via the winreg RPCs
5735 The following issues are known changes in behavior between Samba 2.2 and
5736 Samba 3.0 that may affect certain installations of Samba.
5738 1) When operating as a member of a Windows domain, Samba 2.2 would
5739 map any users authenticated by the remote DC to the 'guest account'
5740 if a uid could not be obtained via the getpwnam() call. Samba 3.0
5741 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
5742 current work around to re-establish the 2.2 behavior.
5744 2) When adding machines to a Samba 2.2 controlled domain, the
5745 'add user script' was used to create the UNIX identity of the
5746 machine trust account. Samba 3.0 introduces a new 'add machine
5747 script' that must be specified for this purpose. Samba 3.0 will
5748 not fall back to using the 'add user script' in the absence of
5749 an 'add machine script'
5752 ######################################################################
5753 Passdb Backends and Authentication
5754 ##################################
5756 There have been a few new changes that Samba administrators should be
5757 aware of when moving to Samba 3.0.
5759 1) encrypted passwords have been enabled by default in order to
5760 inter-operate better with out-of-the-box Windows client
5761 installations. This does mean that either (a) a samba account
5762 must be created for each user, or (b) 'encrypt passwords = no'
5763 must be explicitly defined in smb.conf.
5765 2) Inclusion of new 'security = ads' option for integration
5766 with an Active Directory domain using the native Windows
5767 Kerberos 5 and LDAP protocols.
5769 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
5770 type which is neccessary for servers on which the
5771 administrator password has not been changed, or kerberos-enabled
5772 SMB connections to servers that require Kerberos SMB signing.
5773 Besides this one difference, either MIT or Heimdal Kerberos
5774 distributions are usable by Samba 3.0.
5777 Samba 3.0 also includes the possibility of setting up chains
5778 of authentication methods (auth methods) and account storage
5779 backends (passdb backend). Please refer to the smb.conf(5)
5780 man page for details. While both parameters assume sane default
5781 values, it is likely that you will need to understand what the
5782 values actually mean in order to ensure Samba operates correctly.
5784 The recommended passdb backends at this time are
5786 * smbpasswd - 2.2 compatible flat file format
5787 * tdbsam - attribute rich database intended as an smbpasswd
5788 replacement for stand alone servers
5789 * ldapsam - attribute rich account storage and retrieval
5790 backend utilizing an LDAP directory.
5791 * ldapsam_compat - a 2.2 backward compatible LDAP account
5794 Certain functions of the smbpasswd(8) tool have been split between the
5795 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
5796 utility. See the respective man pages for details.
5799 ######################################################################
5803 This section outlines the new features affecting Samba / LDAP
5809 A new object class (sambaSamAccount) has been introduced to replace
5810 the old sambaAccount. This change aids us in the renaming of
5811 attributes to prevent clashes with attributes from other vendors.
5812 There is a conversion script (examples/LDAP/convertSambaAccount) to
5813 modify and LDIF file to the new schema.
5817 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
5818 $ convertSambaAccount --sid=<Domain SID> \
5819 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
5820 --changetype=[modify|add]
5822 The <DOM SID> can be obtained by running 'net getlocalsid
5823 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
5824 the format of the generated LDIF output--either create new entries
5825 or modify existing entries.
5827 The old sambaAccount schema may still be used by specifying the
5828 "ldapsam_compat" passdb backend. However, the sambaAccount and
5829 associated attributes have been moved to the historical section of
5830 the schema file and must be uncommented before use if needed.
5831 The 2.2 object class declaration for a sambaAccount has not changed
5832 in the 3.0 samba.schema file.
5834 Other new object classes and their uses include:
5836 * sambaDomain - domain information used to allocate rids
5837 for users and groups as necessary. The attributes are added
5838 in 'ldap suffix' directory entry automatically if
5839 an idmap uid/gid range has been set and the 'ldapsam'
5840 passdb backend has been selected.
5842 * sambaGroupMapping - an object representing the
5843 relationship between a posixGroup and a Windows
5844 group/SID. These entries are stored in the 'ldap
5845 group suffix' and managed by the 'net groupmap' command.
5847 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
5848 automatically and contains the next available 'idmap uid' and
5851 * sambaIdmapEntry - object storing a mapping between a
5852 SID and a UNIX uid/gid. These objects are created by the
5853 idmap_ldap module as needed.
5855 * sambaSidEntry - object representing a SID alone, as a Structural
5856 class on which to build the sambaIdmapEntry.
5859 New Suffix for Searching
5860 ------------------------
5862 The following new smb.conf parameters have been added to aid in directing
5863 certain LDAP queries when 'passdb backend = ldapsam://...' has been
5866 * ldap suffix - used to search for user and computer accounts
5867 * ldap user suffix - used to store user accounts
5868 * ldap machine suffix - used to store machine trust accounts
5869 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
5870 * ldap idmap suffix - location of sambaIdmapEntry objects
5872 If an 'ldap suffix' is defined, it will be appended to all of the
5873 remaining sub-suffix parameters. In this case, the order of the suffix
5874 listings in smb.conf is important. Always place the 'ldap suffix' first
5877 Due to a limitation in Samba's smb.conf parsing, you should not surround
5878 the DN's with quotation marks.
5884 Samba 3.0 supports an ldap backend for the idmap subsystem. The
5885 following options would inform Samba that the idmap table should be
5886 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
5891 idmap backend = ldap:ldap://onterose/
5892 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
5893 idmap uid = 40000-50000
5894 idmap gid = 40000-50000
5896 This configuration allows winbind installations on multiple servers to
5897 share a uid/gid number space, thus avoiding the interoperability problems
5898 with NFS that were present in Samba 2.2.
5902 ######################################################################
5903 Trust Relationships and a Samba Domain
5904 ######################################
5906 Samba 3.0.0beta2 is able to utilize winbindd as the means of
5907 allocating uids and gids to trusted users and groups. More
5908 information regarding Samba's support for establishing trust
5909 relationships can be found in the Samba-HOWTO-Collection included
5910 in the docs/ directory of this release.
5912 First create your Samba PDC and ensure that everything is
5913 working correctly before moving on the trusts.
5915 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
5916 4.0 domain named WINDOWS:
5918 1) create the trust account for SAMBA in "User Manager for Domains"
5919 2) connect the trust from the Samba domain using
5920 'net rpc trustdom establish GLASS'
5922 To create a trustlationship with SAMBA as the trusted domain:
5924 1) create the initial trust account for GLASS using
5925 'smbpasswd -a -i GLASS'. You may need to create a UNIX
5926 account for GLASS$ prior to this step (depending on your
5927 local configuration).
5928 2) connect the trust from a WINDOWS DC using "User Manager
5931 Now join winbindd on the Samba PDC to the SAMBA domain using
5932 the normal steps for adding a Samba server to an NT4 domain:
5933 (note that smbd & nmbd must be running at this point)
5935 root# net rpc join -U root
5936 Password: <enter root password from smbpasswd file here>
5938 Start winbindd and test the join with 'wbinfo -t'.
5940 Now test the trust relationship by connecting to the SAMBA DC
5941 (e.g. POGO) as a user from the WINDOWS domain:
5943 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
5946 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
5948 $ smbclient //crystal/netlogon -U root -W WINDOWS
5951 ######################################################################
5955 Beginning with Samba3.0.0beta3, winbindd has been given new account
5956 manage functionality equivalent to the 'add user script' family of
5957 smb.conf parameters. The idmap design has also been changed to
5958 centralize control of foreign SID lookups and matching to UNIX
5962 Brief Description of Changes
5963 ----------------------------
5965 1) The sid_to_uid() family of functions (smbd/uid.c) have been
5966 reverted to the 2.2.x design. This means that when resolving a
5967 SID to a UID or similar mapping:
5969 a) First consult winbindd
5970 b) perform a local lookup only if winbindd fails to
5971 return a successful answer
5973 There are some variations to this, but these two rules generally
5976 2) All idmap lookups have been moved into winbindd. This means that
5977 a server must run winbindd (and support NSS) in order to achieve
5978 any mappings of SID to dynamically allocated UNIX ids. This was
5979 a conscious design choice.
5981 3) (OBSOLETE) New functions have been added to winbindd to emulate
5982 the 'add user script' family of smbd functions without requiring
5983 that external scripts be defined. This functionality is controlled
5984 by the 'winbind enable local accounts' smb.conf parameter (enabled
5987 However, this account management functionality is only supported
5988 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
5989 must be shared among multiple Samba servers (such as a PDC and BDCs),
5990 it will be necessary to define your own 'add user script', et. al.
5991 programs that place the accounts/groups in some form of directory
5992 such as NIS or LDAP. This requirement was deemed beyond the scope
5993 of winbind's account management functions. Solutions for
5994 distributing UNIX system information have been deployed and tested
5995 for many years. We saw no need to reinvent the wheel.
5997 4) A member of a Samba controlled domain running winbindd is now able
5998 to map domain users directly onto existing UNIX accounts while still
5999 automatically creating accounts for trusted users and groups. This
6000 behavior is controlled by the 'winbind trusted domains only' smb.conf
6001 parameter (disabled by default to provide 2.2.x winbind behavior).
6003 5) Group mapping support is wrapped in the local_XX_to_XX() functions
6004 in smbd/uid.c. The reason that group mappings are not included
6005 in winbindd is because the purpose of Samba's group map is to
6006 match any Windows SID with an existing UNIX group. These UNIX
6007 groups can be created by winbindd (see next section), but the
6008 SID<->gid mapping is retreived by smbd, not winbindd.
6014 * security = server running winbindd to allocate accounts on demand
6016 * Samba PDC running winbindd to handle the automatic creation of UNIX
6017 identities for machine trust accounts
6019 * Automtically creating UNIX user and groups when migrating a Windows NT
6020 4.0 PDC to a Samba PDC. Winbindd must be running when executing
6021 'net rpc vampire' for this to work.
6024 ######################################################################
6028 * There are several bugs currently logged against the 3.0 codebase
6029 that affect the use of NT 4.0 GUI domain management tools when run
6030 against a Samba 3.0 PDC. This bugs should be released in an early
6033 Please refer to https://bugzilla.samba.org/ for a current list of bugs
6034 filed against the Samba 3.0 codebase.
6037 ######################################################################
6038 Reporting bugs & Development Discussion
6039 #######################################
6041 Please discuss this release on the samba-technical mailing list or by
6042 joining the #samba-technical IRC channel on irc.freenode.net.
6044 If you do report problems then please try to send high quality
6045 feedback. If you don't provide vital information to help us track down
6046 the problem then you will probably be ignored.
6048 A new bugzilla installation has been established to help support the
6049 Samba 3.0 community of users. This server, located at
6050 https://bugzilla.samba.org/, has replaced the older jitterbug server
6051 previously located at http://bugs.samba.org/.