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.8 Available for Download</H2>
15 =============================
16 Release Notes for Samba 3.0.8
18 =============================
20 This is the latest stable release of Samba. This is the version
21 that production Samba servers should be running for all
22 current bug-fixes. There have been several important issues
23 fixes since the 3.0.7 release. See the "Changes" section for
24 details on exact updates.
26 Common bugs fixed in 3.0.8 include:
28 o Compile fixes for HP-UX
29 o Fixes for the printer publishing code used when joined to
31 o Incompatibilities with file system quotas.
32 o Several bugs in the spoolss printing code and print system
34 o Inconsistencies in the username map functionality when
35 configured on domain member servers.
36 o Various compile warnings and errors on various platforms.
37 o Fixes for kerberos interoperability with Windows 200x
38 domains when using DES keys.
39 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
42 New features included in the 3.0.8 release are:
44 o New migration functionality added the the net tool
45 for files/directories, printers, and shares.
46 o New experimental idmap backend for assigning uids/gids
47 directly based on the user/group RID when acting as a
48 member of single domain without any trusts.
49 o Additional printer migration support for XP/2003 platforms.
52 Change in Winbindd Behavior
53 ---------------------------
55 All usernames returned by winbindd are now converted to lower
56 case for better consistency. This means any winbind installation
57 relying on the winbind username will need to rename existing
58 directories and/or files based on the username (%u and %U) to lower
59 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
60 include mail spool files, home directories, valid user lines in
64 Change in Username Map
65 ----------------------
67 Previous Samba releases would only support reading the fully qualified
68 username (e.g. DOMAIN\user) from the username map when performing a
69 kerberos login from a client. However, when looking up a map
70 entry for a user authenticated by NTLM[SSP], only the login name would be
71 used for matches. This resulted in inconsistent behavior sometimes
72 even on the same server.
74 Samba 3.0.8 obeys the following rules when applying the username
77 * When performing local authentication, the username map is
78 applied to the login name before attempting to authenticate
80 * When relying upon a external domain controller for validating
81 authentication requests, smbd will apply the username map
82 to the fully qualified username (i.e. DOMAIN\user) only
83 after the user has been successfully authenticated.
86 ######################################################################
90 Changes since 3.0.8pre2
91 -----------------------
94 sendfile disabled by default
100 o Jeremy Allison <jra@samba.org>
101 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
102 that all of the appropriate service principal names are set
103 upon joining an AD domain.
104 * Fix the correct use of resume name in the trans2 code.
105 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
106 correct salt used when generated the DES key after joining an
108 * Enhanced krb5 detection routines in the autoconf scripts.
111 o Gerald Carter <jerry@samba.org>
112 * Packaging fixes for Solaris, Redhat, & Fedora.
115 o Nalin Dahyabhai <nalin@redhat.com>
116 * SMB signing fix for 56-bit DES session keys.
119 o Guenther Deschner <gd@samba.org>
120 * BUG 1661: Fix build with recent heimdal releases.
121 * Prevent idmap_rid from making unnecessary calls to domain
122 controllers for trusted domains.
125 o SATOH Fumiyasu <fumiya@samba.gr.jp>
126 * BUG 1498: Ensure that acl entries are stored in the correct
130 o Brett Funderburg <brett@deepfile.com>
131 * BUG 1884: Fixes for the Python bindings to use the value
132 of the desired_access filed passed into the lsa_open_policy()
136 o Volker Lendecke <vl@samba.org>
138 * Fix checks for the local pid of an smbd process after
141 o Herb Lewis <herb@samba.org>
142 * Added tdbtool to be built by default.
145 o Luke Mewburn <lukem@NetBSD.org>
146 * BUG 1782: Prevent testparm from displaying parameter synonyms.
149 o Narayana Pattipati <narayana.pattipati@wipro.com>
150 * Solaris autoconf detection fixes.
153 o Matt Selsky <selsky@columbia.edu>
154 * BUG 350: use autoconf 2.57 feature for checking header file
155 preprocessing (fixes configure warnings on Solaris).
158 o Michael Sweet <mike@easysw.com>
159 * BUG 1892: Updated smbspool for use with newer CUPS libraries.
168 Parameter Name Action
169 -------------- ------
170 force printername New
175 o Jeremy Allison <jra@samba.org>
176 * Ensure extended security bit is on only if we negotiated
178 * Simplify statcache to use an in-memory tdb.
179 * If you're selecting a hash algorithm for tdb, you need
180 to do it at open time.
181 * Removed old dir caching code - not being used now we
182 have the statcache anyway.
183 * Simplify the mangle hash code to use an in-memory tdb.
184 * Merge iconv changes from Samba 4 branch.
185 * Fix parsing of names ending in dot and a few other error
187 * BUG 1667: Smbpasswd file could be left locked on some
189 * Fixes for smbclient tar functionality.
190 * BUG 1743: Fix logic bug the deferred open code.
191 * Don't try to set security descriptors on shares where
192 this has been turned off.
193 * Return correct error codes on old SEARCH call.
194 * Ensure we set errno = E2BIG when we overflow in the
195 fast-path character conversion code.
196 * Fix the roundup problem (returning 1mb roundup) for
198 * Added 'stat' command to smbclient to exercise the
199 UNIX_FILE_BASIC info level.
200 * Fix bug where we could incorrectly set sparse attribute.
201 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
202 (reported by Taj Khattra <taj.khattra@gmail.com>).
203 * Remove locked keys tdb code.
204 * BUG 1886: Prevent delete on close being set for readonly files
205 (and return the correct error code).
206 * Ensure we pass most of the new lock tests except for the cancel
207 lock which is yet to be added (merged from Samba 4 branch).
208 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
209 * BUG 1956: Ensure errno is saved and restored consistently on a normal_close.
212 o Andrew Bartlett <abartlet@samba.org>
213 * Avoid changing the machine account password in the passdb
214 backend, when it has 'already been changed'. This occurs
215 in situations where the secure channel between the workstation
216 and the DC breaks down, such as occurred in the MS04-11
218 * Fix utility name in error message in ntlm_auth.
219 * Fix NTLMv2 for use with pam_winbind.
220 * Remove conversion to and from UTF8 on the winbind pipe.
221 * Allow 'require_membership_of' and 'require-membership-of'.
222 * Fix the error code for 'you didn't specify a domain' in
224 * Use sys_getgroups() rather than scanning all groups
225 when generating SAMR replies.
228 o Igor Belyi <sambauser@katehok.ac93.org>
229 * Ensure pdb user is deleted first before deleting UNIX
230 user (LDAP backend needs this ordering).
233 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
234 * Fix core dump in 'net rpc vampire'.
237 o Vince Brimhall <vbrimhall@novell.com>
238 * Make ldapsam_compat robust against NULL attributes.
241 o Gerald Carter <jerry@samba.org>
242 * Don't limit the number of groups returned by winbindd_getgroups()
244 * BUG 1519: Match Windows 2000 behavior when opening a
245 printer using a servername in the form of an IP address or
247 * BUG 1907: remove extra slashes from the printer name in
248 getprinterdriverdir_1().
249 * Fix standard_sub_snum() to use the current user's gid.
250 * Fix background queue update bug (based on Volker's initial work
252 * Add 'force printername' service parameter for people that want
253 to enforce printername == sharename for spoolss printing.
254 * Ensure consistent usage of the username map. Use the fully
255 qualified DOMAIN\user format for 'security = domain|ads' and
256 apply after authentication has succeeded.
257 * Cosmetic fix for getent output -- lowercase the username only
258 and not the complete domain\username string.
261 o Sean Chandler <sean.chandler@verizon.net>
262 * Fix memlieak in cliconnect.c.
265 o Darren Chew <darrenc@vicscouts.asn.au>
266 * Solaris packaging fixes.
269 o Guenther Deschner <gd@samba.org>
270 * add IA64 to the architecture table of printer-drivers.
271 * Add file/share/printer migration functionality to
273 * Show correct help for net groupmap commands.
274 * Fix deadlock loop in winbind's required_membership_sid
276 * Bring the same level of "required_membership"-functionality
277 that ntlm_auth uses, to pam_winbindd as well.
278 * Prevent "net lookup kdc" from seg-faulting when
279 using our own implementation of krb5_lookup_kdc with
281 * Adding getprinter level 7 to rpcclient.
282 * Support migrating printers|shares|files from Server A
283 to Server B while running the net-command on client C.
284 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
285 failure of this call non-critical (Thanks to Love @ Heimdal
286 for the explanation and patch).
287 * Fix typos in net's usage-output.
288 * Fix the paranoia-check to ensure the ldap-attribute and the
289 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
291 * Fix several bugs in the _samr_query_useraliases() rpc reply.
292 * Check correct string length when verifying password-policies
293 and using extended characters (Thanks to Uwe Morgenroth from CC
294 Compunet and Volker).
295 * Make 'password history'-behavior in ldapsam more consistent.
296 * Adding "Windows x64" as architecture string and driverdir "x64"
297 for the 64bit AMD platform.
298 * BUG 1343: Readd WKGUID-binding to match the correct default-
299 locations of new User-, Group- and Machine-Accounts in Active
300 Directory (this got lost during the last trunk-merge).
301 * Fix printer-migration w.r.t. to new naming-convention for
303 * Allow to migrate win2k3/xp-drivers as well.
304 * Add client-side support of triggering ads printer publishing
305 over msrpc setprinter calls inside the net-tool.
306 * Add the idmap_rid module (written in conjunction with
307 Sumit Bose <sbose@suse.de>).
310 o Arthur van Dongen <avdongen@xs4all.nl>
311 * Fix typos in pam_winbind log messages and SuSE
315 o Rob Foehl <rwf@loonybin.net>
316 * Typo fixes for log messages in printer publishing code.
317 * Fix memory leak in printer publishing code.
318 * Ensure print_backend_init() only gets called once.
319 * Have smbd check the published status of all printers
321 * Cleanup up the XXX_a_printer() API for consistency.
322 * Refactored the printer publishing code and include better
326 o Steve French <sfrench@us.ibm.com>
327 * Fix IP address override in mount.cifs mount helper and clean
328 up warning messages from the sparse tool and expand syntax help.
329 * Strip guest mount option off before sending to kernel mount
330 routine to avoid logging spurious message.
333 o Satoh Fumiyasu <fumiya@samba.gr.jp>
334 * BUG 1732: Limit share names returned by RAP based on windows
335 character width, not unix character width.
338 o Brett Funderburg <brett@deepfile.com>
339 * Pass create options parameter to nt_create_andx() function
340 from the python bindings.
341 * BUG 1864: Add sd->type field to security descriptor Python
343 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
344 when trying to return the security descriptor for a file.
347 o Michael Gravey <michel.gravey@optogone.com>
348 * BUG 1776: Fix warnings when building modules caused by
349 certain versions of GNU ld not using the the default
350 --allow-shlib-undefined flag.
353 o Chris Hertel <crh@samba.org>
354 * Fix logic bug in splay tree data structure when finding
356 * Fix bug where an invalid MAC address would be printed by
357 a node status lookup from nmblookup.
360 o Uli Iske <iske@elkb.de>
361 * Update the DNS/eDirectory LDAP schema file.
364 o Björn Jacke <bjacke@sernet.de>
365 * BUG 1766: Unify charset-handling in Content-Type:-headers to
366 UTF-8. Reformat msgstr in msg-files to UTF-8.
367 * Do not use display charset for swat output.
368 * Convert the share names correctly from unix encoding to web
369 encoding and vice versa.
370 * Convert files from status page from unix charset to UTF-8.
373 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
374 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
377 o Tom Lackemann <cessnatomny@yahoo.com>
378 * BUG 1954: Fix memory leak in posix acl code.
381 o Volker Lendecke <vl@samba.org>
382 * Robustnss fix for winbindd when sending multiple requests
383 at a high rate for a slow operation.
384 * Solve the problem of user sids ending up with gid's
386 * Use sys_fork instead of fork for the dual daemon so that
387 we get the correct debug pid in the logfiles.
388 * Based on patch from jmcd, implement special lists for the LDAP
389 user attributes to delete.
390 * Fix creation of aliases via usrmgr. Winbind was too strict
391 checking the type of sids.
392 * Lowercase all usernames returned by winbind.
393 * BUG 1545, 1823: Only issue the ldap extended password change
394 operation if the ldap server supports it. Also ignore object
395 class violation errors from the extended operation.
396 * Optimization for 'idmap backend = ldap': When asking sid2id
397 for the wrong type, don't ask ldap when we have the opposite mapping
399 * Fix ldapsam_compat homeDrive.
400 * Add usersidlist and allowedusers subcommands to the net tool
401 in order to support scanning a file server's share and list
402 all users who have permission to connect there.
403 * Allow for multiple DC's to be named as #1c names in lmhosts.
406 o Love <lha@stacken.kth.se>
407 * BUG 1955: Inconsistent error return.
410 o Sorin Manolache <sorinm@gmail.com>
414 o Jim McDonough <jmcd@us.ibm.com>
415 * Allow 'net ads lookup' to rely on command line arguments
416 if contacting an ADS server fails; utilize cldap for lookups.
417 * Fixup formatting errors in TDB_LOG calls; add printf attribute
418 support to tdb log functions.
421 o Bill McGonigle <bill+samba@bfccomputing.com>
422 * BUG 1926: Type in debug message.
426 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
430 o Stefan Metzmacher <metze@samba.org>
431 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
432 * Fix client quota support.
433 * Fix opening of system quota file.
436 o Lars Mueller <lmuelle@suse.de>
437 * Small fixes for autogen.sh to deal with version detection
438 of autoconf and autoheader; fixes for examples using
439 libtool to adhere to stricter syntax of newer version.
442 o Henrik Nordstrom <hno@squid-cache.org>
443 * Allow winbindd to return the correct number of groups
444 when the groups array must be enlarged.
447 o Tim Potter <tpot@samba.org>
448 * BUG 1360: (correct fix) Use -Wl when passing flags to
450 * HP-UX compile fixes (from JBravo on #samba-technical).
451 * BUG 1731: More HP-UX compiles fixes.
452 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
453 spits the dummy otherwise.
454 * Fix bug in Python printerdata wrapper.
455 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
456 <bugzilla-samba@thewrittenword.com>).
457 * Fix parameter confusion in priming of name-to-sid cache
458 (Found by Qiao Yang).
459 * BUG 1888: Remove '..' from all pre-processor commands.
460 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
464 o Richard Renard <rrenard@idealx.com>
465 * Fix usermgr.exe and trust relationships.
468 o Paul Szabo <psz@maths.usyd.edu.au>
469 * Fix to make find_workgroup use the same
470 truncation as create_workgroup.
473 o Richard Sharpe <rsharpe@samba.org>
474 * Ensure cli_write() can support writes >= 65536 bytes.
477 o Simo Sorce <idra@samba.org>
478 * Added check password script code in examples/auth/crackcheck/
479 * Fix memory corruption bug caused in freeing static memory.
482 o Andrew Tridgell <tridge@samba.org>
483 * Remove lp_use_mmap() from map_file() since the latter
484 is for read only and does not require coherence.
485 * Ensure that the uuid pack/unpack routines do not go past
486 the end of the structure.
487 * Converted Samba 3 tree to use the new utf-16 aware iconv
489 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
490 * Ensure configure only uses '=' instead of the bashism '=='.
491 * Reduces the number of tdb locking calls made on file IO.
494 o Jelmer Vernooij <jelmer@samba.org>
495 * Convert internal data to UTF-8 before calling libxml2.
496 * Complain if 'password chat' doesn't contain the %u variable
497 (based on a patch by Ronan Waide).
501 * BUG 1541: Fix recursive ls in smbclient.
504 o Igor Zhbanov <bsg@uniyar.ac.ru>
505 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
509 Changes for older versions follow below:
511 --------------------------------------------------
512 =============================
513 Release Notes for Samba 3.0.7
515 =============================
517 This is the latest stable release of Samba. This is the version
518 that production Samba servers should be running for all
519 current bug-fixes. There have been several important issues
520 fixes since the 3.0.6 release. See the "Changes" section for
521 details on exact updates.
523 Common bugs fixed in 3.0.7 include:
525 o Fixes for two Denial of Service vulnerabilities
526 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
527 o Winbind failure to return user entries under certain
529 o Syntax errors in the OpenLDAP schema file (samba.schema).
530 o Printing errors caused by not setting default values
531 for the various printing commands.
540 Parameter Name Action
541 -------------- ------
542 winbind enable local accounts disabled by default
547 o Jeremy Allison <jra@samba.org>
548 * Fix parsing of names ending in dot and a few other error
550 * BUG 1674: Move the symlinks checks into reduce_name().
551 * Fix memleak when checking the valid names smb.conf option.
552 * Fix memleak on error return path in the file open code.
553 * More paranoia checks in the hash2 mangling code.
554 * Fix syntax error in configure.in.
555 * Match Win2k3's behavior for pathname parsing error returns.
556 * Make nmbd more robust against bad netbios packets
558 * Add more checks for invalid ASN.1 packets for SPNEGO packets
562 o Andrew Bartlett <abartlet@samba.org>
563 * Janitor work in loadparm.c -- remove unused parameters.
566 o Gerald Carter <jerry@samba.org>
567 * BUG 1464: Ensure that printing commands are initialized even
568 if the 'printing' parameter is not explicitly set.
569 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
570 Adharsh Praveen <rprav@india.hp.com>)
571 * Work around parsing error in the print change notify code.
572 * remove duplicate declaration of getprintprocdir from
574 * Only use sAMAccountName and not userPrincipalName when looking
575 up a username in AD since the breaks winbindd (lookup_name()
576 only works with the sAMAccountName).
577 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
578 filling in the username in the user_info3.
579 * Fix logic bug in the check for creating a user's home directory
580 in register_vuid(); caused home directory to be mismatched to
581 the first share in smb.conf under certain conditions.
582 * BUG 1656: rename auto.a to auto.smb.
583 * Ensure that we assign our pid to print jobs (and not our
584 parent's pid); ensures that spooling jobs from dead smbds
585 are removed from the tdb.
586 * Disable 'winbind enable local accounts' by default.
587 * Adding some initial checks for DragonFly (same as
591 o Guenther Deschner <gd@samba.org>
592 * Use SMB_ASSERT() to track down NULL printer names in
594 * Revert fix for BUG 1474 to avoid unnecessary packaging
598 o Olaf Flebbe <o.flebbe@science-computing.de>.
599 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
601 * BUG 1626: More compile fixes.
604 o Rob Foehl <rwf@loonybin.net>
605 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
606 by attempts to sanitize the defined attributes.
609 o SATOH Fumiyasu <fumiya@miraclelinux.com>
610 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
613 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
614 * BUG 1657: Remove used initialized variable,
615 * BUG 1658: Add a little bit of const.
618 o Volker Lendecke <vl@samba.org>
619 * If there's garbage in the pidfile, we should not panic
620 but assume that no one else is around. We can't find the
624 o Jim McDonough <jmcd@us.ibm.com>
625 * Fixup format string in the tdb error messages.
628 o Jonas Olsson <lexicon@lysator.liu.se>
629 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
630 reporting the list in usrmgr.exe.
633 o Tim Potter <tpot@samba.org>
634 * Fix out-of-tree builds (problem with the script to generate
635 the svn version number).
636 * BUG 1360: Need to use -Wl when passing flags to the linker.
637 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
638 doesn't have one of its own.
640 o Simo Sorce <idra@samba.org>
641 * Fixup compile issues on AIX caused by broken strlen() and
643 * Update debian packaging files.
646 o Dimitri van der Spek <dwspek@aboveit.nl>
647 * Use the correct counter when copying group rids from the
648 user_info3 struct in pam_winbind.
651 o Qiao Yang <qyang@stbernard.com>
652 * BUG 1622: Only cache the user
655 --------------------------------------------------
657 =============================
658 Release Notes for Samba 3.0.6
660 =============================
662 Common bugs fixed in 3.0.6 include:
664 o Schannel failure in winbindd.
665 o Numerous memory leaks.
666 o Incompatibilities between the 'write list' and 'force user'
668 o Premature optimization of the open_directory() internal
669 function that broke tools such as the ArcServe backup
670 agent, Macromedia HomeSite, and Robocopy.
671 o Corrupt workgroup names in nmbd's browse.dat.
672 o Sharing violation errors commonly seen when opening
673 when serving Microsoft Office documents from a Samba
675 o Browsing problems caused by an apostrophe (') in the
676 computer's description field.
677 o Problems creating special file types from UNIX CIFS
678 clients and enabling 'unix extensions'.
679 o Fix stalls in smbd caused by inaccessible LDAP servers.
680 o Remove various memory leaks.
681 o Fix issues in the password lockout feature.
683 New features introduced in this release include:
685 O Support symlinks created by CIFS clients which
686 can be followed on the server.
687 o Using a cups server other than localhost.
688 o Maintaining the service principal entry in the system
689 keytab for integration with other kerberized services.
690 Please refer to the 'use kerberos keytab' entry in
691 smb.conf(5). When using the heimdal kerberos libraries,
692 you must also specify the following in /etc/krb5.conf:
694 default_keytab_name = FILE:/etc/krb5.keytab
695 o Support for maintaining individual printer names
696 stored separately from the printer's sharename.
697 o Support for maintaining user password history.
698 o Support for honoring the logon times for user in a
701 --------------------------------------------
702 unix extensions = yes (default) and symlinks
703 --------------------------------------------
705 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
706 clients supporting the UNIX extensions to the CIFS protocol
707 can create symlinks to absolute paths which will be **followed**
708 by the server. This functionality has been requested in order
709 to correctly support certain applications when the user's home
710 directory is mounted using some type of CIFS client (e.g. the
711 cifsvfs in the Linux 2.6 kernel).
713 If this behavior is not acceptable for your production environment
714 you can set 'wide links = no' in the specific share declaration in
715 the server's smb.conf. Be aware that disabling wide link support
716 out of a share in Samba may impact the server's performance due
717 to the fact that smbd will now have to check each path additional
718 times before traversing it.
720 ------------------------
721 Password History Support
722 ------------------------
724 The new password history feature allows smbd to check the new
725 password in password change requests against a list of the user's
726 previous passwords. The number of previous passwords to save can
727 be set using pdbedit (4 in this example):
729 root# pdbedit -P "password history" -C 4
731 When using the ldapsam passdb backend, it is vital to secure the
732 following attributes from access by non-administrative users:
736 * sambaPasswordHistory
738 You should refer to your directory server's documentation on how
739 to implement this restriction.
748 Parameter Name Action
749 -------------- ------
751 defer sharing violations New
752 force unknown acl user New
754 printcap cache time New
755 use kerberos keytab New
759 o Jeremy Allison <jra@samba.org>
760 * Correct path parsing bug that broke DeletePrinterDriverEx().
761 * Fix bugs in check_path_syntax() caught by asserts.
762 * Internal change - rearrange internal global case setting
763 variables to a per connection basis.
764 * BUG 1345: Fix premature optimization in unix_convert().
765 * Allow clients to truncate a locked file.
766 * BUG 1319: Always check to see if a user as write access
767 to a share, even when 'force user' is set.
768 * Fix specific case of open that doesn't cause oplock break,
770 * Correct sid type is WKN_GROUP, not alias. Added some
771 more known types (inspired by patch from Jianliang Lu).
772 * Allow creation of absolute symlink paths via CIFS clients.
773 * Fix charset bug in when invoking send_mailslot().
774 * When using widelinks = no, use realpath to canonicalize
775 the connection path on connection create for the user.
776 * Enhance stat open code.
777 * Fix unix extensions mknod code path.
778 * Allow unix domain socket creation via unix extensions.
779 * Auto disable the 'store dos attribute' parameter if the
780 underlying filesystem doesn't support EAs.
781 * Implement deferred open code to fix a bug with Excel files
783 * BUG 1427: Catch bad path errors at the right point. Ensure
784 all our pathname parsing is consistent.
785 * Fix SMB signing error introduced by the new deferred open
787 * Change default setting for case sensitivity to "auto". (see
788 commit message -- r1154 -- for details).
789 * Add new remote client arch -- CIFSFS.
790 * Allow smbd to maintain the service principal entry in the
791 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
792 Guenther Deschner, et. al.).
793 * Fix longstanding memleak bug with logfile name.
794 * Fix incorrect type in printer publishing (struct uuid,
796 * Heimdal compile fixes after introduction of the new ketyab
798 * Ensure we check attributes correctly on rename request.
799 * Ensure we defer a sharing violation on rename correctly.
800 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
802 * Fix bogus error message when using "mangling method = hash"
804 * Turn on sendfile by default for non-Win9x clients.
805 * Handle non-io opens that cause oplock breaks correctly.
806 * Ensure ldap replication sleep time is not more than 5 seconds.
807 * Add support for storing a user's password history.
808 LDAP portion of the code was based on a patch from
809 Jianliang Lu <j.lu@tiesse.com>.
810 * Correct memory leaks found in the password change code.
811 * Fix support for the mknod command with the Linux CIFS client.
812 * Remove support for passing the new password to smbpasswd
813 on the command line without using the -s option.
814 * Ensure home directory service number is correctly reused
815 (inspired by patches from Michael Collin Nielsen
816 <michael@hum.aau.dk>).
817 * Fix to stop printing accounts from resetting the bas
818 password and account lockout flags.
819 * If a account was locked out by an admin (and has a bad
820 password count of zero) leave it locked out until an admin
821 unlocks it (but log a message).
822 * Ensure we return the same ACL revision on the wire that
824 * BUG 1578: Hardcode replacement for invalid characters as '_'
825 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
826 * Fix hashed password history for LDAP backends.
827 * Enforce logon hours restrictions if confiogured (based on code
828 from Richard Renard <rrenard@idealx.com>).
829 * BUG 1606: Force smbd to disable sendfile with DOS clients
830 and ensure that the chained header is filled in for ...&X
832 * BUG 1602: Fix access to shares when all symlink support
837 o Tom Alsberg <alsbergt@cs.huji.ac.il>
838 * Allow pdbedit to export a single user from a passdb backend.
841 o Andrew Bartlett <abartlet@samba.org>
842 * Fix parsing bug in GetDomPwInfo().
843 * Fix segfault in 'ntlm_auth --diagnostics'.
844 * Re-enable code to allow sid_to_gid() to perform a group
845 mapping lookup before checking with winbindd.
846 * Fix memory leak in the trans2 signing code.
847 * Allow more flexible GSS-SPENGO client and server operation
849 * Improve smbd's internal random number generation.
850 * Fix a few outstanding long password changes in smbd.
851 * Fix LANMAN2 session setup code.
854 o Eric Boehm <boehm@nortelnetworks.com>
855 BUG 703: Final touches on netgroup case lookups.
858 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
859 * Ensure error status codes don't get overwritten in
860 lsa_lookup_sids() server code.
861 * Correct bug that caused smbd to overwrite certain error
862 codes when returning up the call stack.
863 * Ensure the correct sid type returned for builtin sids.
866 o Gerald Carter <jerry@samba.org>
867 * Fix a few bugs in the Fedora Packaging files.
868 * Fix for setting the called name to by our IP if the
869 called name was *SMBSERVER and *SMBSERV. Fixes issue
870 with connecting to printers via \\ip.ad.dr.ess\printer
872 * BUG 1315: fix for schannel client connections to servers
873 when we haven't specifically negotiated AUTH_PIPE_SEAL.
874 * Allow PrinterDriverData valuenames with embedded backslashes
875 (Fixes bug with one of the Konica Fiery drivers).
876 * Fixed string length miscalculation in netbios names that
877 resulted in corrupt workgroup names in browse.dat.
878 * When running smbd as a daemon, launch child smbd to update
879 the lpq cache listing in the background.
880 * Allow printers "Printers..." folder to be renamed to a string
881 other than the share name.
882 * Allow winbindd to use domain trust account passwords when
883 running on a Samba DC to establish an schannel to remote
885 * Fix bad merge and ensure that we always use tdb_open_log()
886 instead of tdb_open_ex() (the former call enforce the 'use
888 * BUG 1221: revert old change that used single and double
889 quotes as delimeters in next_token(), and change
890 print_parameter() to print out parm values surrounded by
891 double quotes (instead of single quotes).
892 * Prevent home directories added during the SMBsesssetup&X from
893 being removed as unused services.
894 * Invalidate the print object cache for open printer handles when
895 smbd receives a message that an attribute on a given printer
897 * Cause the configure script to exit if --enable-cups[=yes] is
898 defined and the system does not have the cups devel files
900 * BUG 1297: Prevent map_username() from being called twice
902 * Ensure that we use the userPrincipalName AD attribute
903 value for LDAP SASL binds.
904 * Ensure we remove the tdb entry when deleting a job that
906 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
907 client sends a FindNextPrintChangeNotify() request without
908 previously sending a FindFirstPrintChangeNotify(). Return
909 the same error code as Windows 2000 SP4.
910 * BUG 1516: Manually declare ldap_open_with_timeout() to
911 workaround compiler errors on IRIX (or other systems without
913 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
915 * Corrected syntax error in the OID for sambaUnixIdPool,
916 sambaSidEntry, & sambaIdmapEntry object classes.
917 * Tighten the cache consistency with the ntprinters.tdb entry
918 an the in memory cache associated with open printer handles.
919 * Make sure that register_messages_flags() doesn't overwrite
920 the originally registered flags.
923 o Fabien Chevalier <fabien.chevalier@supelec.fr>
924 * Debian BUG 252591: Ensure that the return value from the
925 number of available interfaces is initialized in case no
926 interfaces are actually available.
929 o Guenther Deschner <gd@sernet.de>
930 * Implement 'rpcclient setprintername'.
931 * Add local groups to the user's NT_TOKEN since they are
932 actually supported now.
933 * Heimdal compile fixes after introduction of the new keytab
935 * Correctly honor the info level parameter in 'rpcclient
937 * Reintroduce 'force unknown acl user' parameter. When getting a
938 security descriptor for a file, if the owner sid is not known,
939 the owner uid is set to the current uid. Same for group sid.
940 * Ensure that REG_SZ values in the SetPrinterData actually
941 get written in UNICODE strings rather than ASCII.
942 * Ensure that the last kerberos error return is not invalid.
943 * Display share ACL entries from rpcclient.
944 * Correct infinite loop in pam_winbind's verification of
945 group membership in the 'other sids' field in the user_info3
949 o Fabian Franz <FabianFranz@gmx.de>
950 * Support specifying a port in the device URL passed to smbspool.
953 o Steve French <sfrench@us.ibm.com>
954 * Handle -S and user mount parms in mount.cifs.
955 * Fix user unmount of shares mount with suid mount.cifs.
956 * prevent infinite recusion in reopen_logs() when expanding
957 the smb.conf variable %I.
960 o Bjoern Jacke <bj@sernet.de>
961 * Install libsmbclient into $(LIBDIR), not into hard coded
962 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
963 and an explicit configure --libdir setting.
966 o <kawasa_r@itg.hitachi.co.jp>
967 * Correct more memory leaks and initialization bugs.
968 * Fix bug that prevented core dumps from being generated
970 * Connect to the winbind pipe in non-blocking mode to
971 prevent processes from hanging.
975 o Stephan Kulow <coolo@suse.de>
976 * Fix crash bug in libsmbclient.
979 o Volker Lendecke <vl@samba.org>
980 * Added vfs_full_audit module.
981 * Add vfs_afsacl.c which can display & set AFS acls via
982 the NT security editor.
983 * Fix crash bug caused by trying to Base64 encode a NULL string.
984 * Fix DOS error code bug in reply_chkpath().
985 * Correct misunderstanding of the max_size field in
986 cli_samr_enum_als_groups; it is more like an account_control
987 field with individual bits what to retrieve.
988 * Implement 'net rpc group rename' -- rename domain groups.
989 * Implement the 'cups server' option. This makes it possible
990 to have virtual smbd's connect to different cups daemons.
991 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
992 * Fix sid_to_gid() calls in winbindd to prevent loops.
993 * Ensure that local_sid_to_gid() sets the type of the group on
995 * Make sure that the clients are given back the IP address to
996 which they connected in the case of a multi-homed host. Only
997 affects strings the spoolss printing replies.
998 * Fix the bad password lockout. This has not worked as pdb_ldap.c
999 did not ask for the modifyTimestamp attribute, so it could
1000 not find it. Try not to regress by not putting that attrib
1001 in the main list but append it manually for the relevant searches.
1002 * Fix two memleaks in login_cache.c.
1003 * fixes memory bloat when unmarshalling strings.
1004 * Fix compile errors using gcc 3.2 on SuSE 8.2.
1005 * Fix the build for systems without kerberos headers.
1006 * Allow winbindd to handle authentication requests only when
1007 started without either an 'idmap uid' or 'idmap gid' range.
1008 * Fix the build for systems without ldap headers.
1009 * Fix interaction between share security descriptor and the
1010 'read only' smb.conf option.
1011 * Fix bug that caused _samr_lookupsids() with more than 32 (
1012 MAX_REF_DOMAINS) SIDs to fail.
1013 * Allow the 'idmap backend' parameter to accept a list of
1014 LDAP servers for failover purposes.
1015 * Revert code in smbd to remove a tdb when it has become
1017 * Add paranoid checks when mapping SIDs to a uid/gid to
1018 ensure that the type is correct.
1019 * Initial work on getting client support for sending mailslot
1021 * Add 'ldap timeout' parameter.
1022 * Dont always uppercase 'afs username map'.
1023 * Expand aliases for getusersids as well.
1024 * Improved NT->AFS ACL mapping VFS module.
1027 o Herb Lewis <herb@samba.org>
1028 * Add the acls debug class.
1029 * Fix logic bug in netbios name truncate routine.
1030 * Fix smbd crash caused by smbtorture IOCTL test.
1031 * Fix errno tromping before calling iconv to reset the
1033 * need to leave empty dacl so we can remove last ACE.
1036 o Jianliang Lu <Jianliang.Lu@getronics.com>
1037 * Fix to stop smbd hanging on missing group member in
1039 * Make sure Samba returns the correct group types.
1040 * Reset the bad password count password counts upon a successful login.
1043 o Jason Mader <jason@ncac.gwu.edu>
1044 * BUG 1385: Don't use non-consts in a structure initialization.
1047 o Jim McDonough <jmcd@us.ibm.com>
1048 * BUG 1279: SMBjobid fix for Samba print servers running on
1049 Big-Endian platforms.
1052 o Joe Meadows <jameadows@webopolis.com>
1053 * Add optional timeout parameter to ldap open calls.
1054 * Allow get_dc_list() to check the negative cache.
1057 o Stefan Metzmacher <metze@samba.org>
1058 * fix a configure logic bug for linux/XFS quotas when
1059 using --with-sys-quotas.
1060 * Use quota debug class in quota code.
1061 * print out the SVN revision by configure,
1064 o Buchan Milne <bgmilne@mandrake.org>
1065 * Mandrake packaging fixes.
1068 o Lars Mueller <lmuelle@suse.de>
1069 * BUG 1279: Added 'printcap cache time' parameter.
1070 * Fix afs related build issues on SuSE.
1071 * Fix compiler warnings in the kerberos client code.
1074 o James Peach <jpeach@sgi.com>
1075 * More iconv detection fixes for IRIX.
1076 * Compile fixed for systems that do not have C99/UNIX98 compliant
1077 vsnprintf by default.
1078 * Prevent smbd from attempting to use sendfile at all if it is
1079 not supported by the server's OS.
1080 * Allow SWAT to search for index.html when serving html files
1085 * Implement NFS quota support on FreeBSD.
1088 o Tim Potter <tpot@samba.org>
1089 * BUG 1360: Use -Bsymbolic when creating shared libraries to
1090 avoid conflicts with identical symbols in the global namespace
1091 when loading libnss_wins.so.
1094 o Richard Renard <rrenard@idealx.com>
1095 * Save the current password as it is being changed into the
1096 password history list.
1099 o Richard Sharpe <rsharpe@samba.org>
1100 * Fix error return codes on some lock messages.
1101 * BUG 1178: Make the libsmbclient routines callable
1103 * BUG 1333: Make sure we return an error code when
1105 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
1106 share mode locking requests fail.
1109 o Simo Sorce <idra@samba.org>
1110 * Update Debian stable & unstable packaging.
1111 * Tidy up parametric options in testparm output.
1114 o Richard Sharpe <rsharpe@samba.org>
1115 * Add sigchild handling to winbindd to restart the child
1116 daemon if necessary.
1119 o Tom Shaw <tomisfaraway@gmail.com>
1120 * Use winbindd_fill_pwent() consistently.
1123 o Nick Thompson <nickthompson@agere.com>
1124 * Protect smbd against broken filesystems which return zero
1128 o Andrew Tridgell <tridge@samba.org>
1129 * Fixed bug in handling of timeout in socket connections.
1132 o Nick Wellnhofer <wellnhofer@aevum.de>
1133 * Prevent lp_interfaces() list from being corrupted. Fixes
1134 bug where nmbd would lose the list of network interfaces
1135 on the system and consequently shutdown.
1138 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
1139 * Fix ntlm_auth memory leaks.
1142 o Jelmer Vernooij <jelmer@samba.org>
1143 * Additional NT status to unix error mappings.
1144 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
1145 get duplicate symbol errors.
1146 * Return an error when the last command read from stdin
1148 * Prepare for better error checking in tar.
1149 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
1152 Changes for older versions follow below:
1154 --------------------------------------------------
1156 =============================
1157 Release Notes for Samba 3.0.5
1159 =============================
1161 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
1162 the exception of correcting the two security issues outlined
1165 ######################## SECURITY RELEASE ########################
1167 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
1168 CVE ID: CAN-2004-0600, CAN-2004-0686
1169 (http://cve.mitre.org/)
1172 This is the latest stable release of Samba. This is the version
1173 that production Samba servers should be running for all current
1176 It has been confirmed that versions of Samba 3 prior to v3.0.4
1177 are vulnerable to two potential buffer overruns. The individual
1178 details are given below.
1184 Affected Versions: Samba 3.0.2 and later
1186 The internal routine used by the Samba Web Administration
1187 Tool (SWAT v3.0.2 and later) to decode the base64 data
1188 during HTTP basic authentication is subject to a buffer
1189 overrun caused by an invalid base64 character. It is
1190 recommended that all Samba v3.0.2 or later installations
1191 running SWAT either (a) upgrade to v3.0.5, or (b) disable
1192 the swat administration service as a temporary workaround.
1194 This same code is used internally to decode the
1195 sambaMungedDial attribute value when using the ldapsam
1196 passdb backend. While we do not believe that the base64
1197 decoding routines used by the ldapsam passdb backend can
1198 be exploited, sites using an LDAP directory service with
1199 Samba are strongly encouraged to verify that the DIT only
1200 allows write access to sambaSamAccount attributes by a
1201 sufficiently authorized user.
1203 The Samba Team would like to heartily thank Evgeny Demidov
1204 for analyzing and reporting this bug.
1210 Affected Versions: Samba 3.0.0 and later
1212 A buffer overrun has been located in the code used to support
1213 the 'mangling method = hash' smb.conf option. Please be aware
1214 that the default setting for this parameter is 'mangling method
1215 = hash2' and therefore not vulnerable.
1217 Affected Samba 3 installations can avoid this possible security
1218 bug by using the default hash2 mangling method. Server
1219 installations requiring the hash mangling method are encouraged
1220 to upgrade to Samba 3.0.5.
1223 ##################################################################
1225 --------------------------------------------------
1227 =============================
1228 Release Notes for Samba 3.0.4
1230 =============================
1232 Common bugs fixed in Samba 3.0.4 include:
1234 o Password changing after applying the patch described in
1235 the Microsoft KB828741 article to Windows clients.
1237 o Managing print jobs via Windows on Big-Endian servers.
1238 o Several memory leaks in winbindd and smbd.
1239 o Compile issues on AIX and *BSD.
1242 --------------------
1247 o Jeremy Allison <jra@samba.org>
1248 * Fix path processing for DeletePrinterDriverEx().
1249 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
1253 o Andrew Bartlett <abartlet@samba.org>
1254 * Fix alignment bug in GetDomPwInfo().
1257 o Alexander Bokovoy <ab@samba.org>
1258 * Fix utime[s]() issues in smbwrapper on systems
1259 that can boot both the 2.4 and 2.6 Linux kernels.
1262 o Gerald Carter <jerry@samba.org>
1263 * Fedora packaging fixes.
1264 * BUG 1302: Fix seg fault by not trying to optimize a list of
1265 invalid gids using the wrong array size.
1266 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
1267 seen when 'security = share'.
1268 * Fix problems when using IBM's compiler on AIX.
1269 * Link Developer's Guide, Example Guide, and multi-page HOWTO
1270 into SWAT's welcome page.
1271 * BUG 1293: fix double free in printer publishing code.
1274 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
1275 * Fix for handling timeouts in socket connections.
1278 o Michel Gravey <michel.gravey@optogone.com>
1279 * BUG 483: patch from to fix password hash creation in SWAT.
1282 o Volker Lendecke <vl@samba.org>
1283 * Close the open NT pipes before the tdis.
1284 * Fix AFS related build issues.
1285 * Handle error conditions when base64 encoding a blob of 0 bytes.
1288 o Herb Lewis <herb@samba.org>
1289 * Added 'acls' debug class.
1291 o kawasa_r@itg.hitachi.co.jp
1292 * Multiple variable initialization and memory leak fixes.
1295 o Stephan Kulow <coolo@suse.de>
1296 * Fix string length bug in libsmbclient that caused KDE's
1298 * BUG 429: More libsmbclient fixes.
1301 o Jim McDonough <jmcd@us.ibm.com>
1302 * BUG 1007, 1279: Store the print job using a little-endian key.
1306 o Compile fix for OpenBSD (ENOTSUP not supported).
1309 o Stefan Metzmacher <metze@samba.org>
1310 * Correct bug in disks quota views from explorer.
1313 o Tim Potter <tpot@samba.org>
1314 BUG 1305: Correct debug output.
1317 o Richard Sharpe <rsharpe@samba.org>
1318 * Fix incorrect error code mapping.
1321 o Jelmer Vernooij <jelmer@samba.org>
1322 * Add additional NT_STATUS errorm mappings.
1325 Changes for older versions follow below:
1327 --------------------------------------------------
1329 =============================
1330 Release Notes for Samba 3.0.3
1332 =============================
1335 Common bugs fixed in Samba 3.0.3 include:
1337 o Crash bugs and change notify issues in Samba's printing code.
1338 o Honoring secondary group membership on domain member servers.
1339 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
1340 o Substitution errors for %[UuGg] in smb.conf.
1341 o winbindd crashes when using ADS security mode.
1342 o SMB signing errors.
1343 o Delays in winbindd startup caused by unnecessary
1344 connections to trusted domain controllers.
1345 o Various small memory leaks.
1346 o Winbindd failing due to expired Kerberos tickets.
1348 New features introduced in Samba 3.0.3 include:
1350 o Improved support for i18n character sets.
1351 o Support for account lockout policy based on
1352 bad password attempts.
1353 o Improved support for long password changes (>14
1354 characters) and strong password enforcement.
1355 o Support for Windows aliases (i.e. nested groups).
1356 o Experimental support for storing DOS attribute on files
1357 and folders in Extended Attributes.
1358 o Support for local nested groups via winbindd.
1359 o Specifying options to be passed directly to the CUPS libraries.
1361 Please be aware that the Samba source code repository was
1362 migrated from CVS to Subversion on April 4, 2004. Details on
1363 accessing the Samba source tree via anonymous svn can be found
1364 at http://svn.samba.org/samba/subversion.html.
1367 Changes since 3.0.2a
1368 --------------------
1372 Parameter Name Action
1373 -------------- ------
1376 only user Deprecated
1377 store dos attributes New
1379 winbind nested groups New
1385 o Jeremy Allison <jra@samba.org>
1386 * Ensure that Kerberos mutex is always properly unlocked.
1387 * Removed Heimdal "in-memory keytab" support.
1388 * Fixup the 'multiple-vuids' bugs in our server code.
1389 * Correct return code from lsa_lookup_sids() on unmapped
1390 sids (based on work by vl@samba.org).
1391 * Fix the "too many fcntl locks" scalability problem
1393 * Fixup correct (as per W2K3) returns for lookupsids
1394 as well as lookupnames.
1395 * Fixups for delete-on-close semantics as per Win2k3 behavior.
1396 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
1397 * Fix "unable to initialize" bug when smbd hasn't been run with
1398 new system and a user is being added via pdbedit/smbpasswd.
1399 * Added NTrename SMB (0xA5).
1400 * Fixup correct timeout values for blocking lock timeouts.
1401 * Fix various bugs reported by 'gentest'.
1402 * More locking fixes in the case where we own the lock.
1403 * Fix up regression in IS_NAME_VALID and renames.
1404 * Don't set allocation size on directories.
1405 * Return correct error code on fail if file exists and target
1407 * Added client "hardlink" comment to test doing NT rename with
1408 hard links. Added hardlink_internals() code - UNIX extensions
1409 now use this as well.
1410 * Use a common function to parse all pathnames from the wire for
1411 much closer emulation of Win2k3 error return codes.
1412 * Implement check_path_syntax() and rewrite string sub
1413 functions for better multibyte support.
1414 * Ensure msdfs referrals are multibyte safe.
1415 * Allow msdfs symlink syntax to be more forgiving.
1416 eg. sym_link -> msdfs://server/share/path/in/share
1417 or sym_link -> msdfs:\\server\share\path\in\share.
1418 * Cleanup multibyte netbios name support in nmbd ( based on patch
1419 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
1420 * Fix check_path_syntax() for multibyte encodings which have
1421 no '\' as second byte (based on work by ab@samba.org.
1422 * Fix the "dfs self-referrals as anonymous user" problem
1423 (based on patch from vl@samba.org).
1424 * BUG 1064: Ensure truncate attribute checking is done correctly
1425 on "hidden" dot files.
1426 * Fix bug in anonymous dfs self-referrals again.
1427 * Fix get/set of EA's in client library
1428 * Added support for OS/2 EA's in smbd server.
1429 * Added 'ea support' parameter to smb.conf.
1430 * Added 'store dos attributes' parameter to smb.conf.
1431 * Fix wildcard identical rename.
1432 * Fix reply_ctemp - make compatible with w2k3.
1433 * Fix wildcard unlink.
1434 * Fix wildcard src with wildcard dest renames.
1435 * BUG 1139: Fix based on suggestion by jdev@panix.com.
1436 swap lookups for user and group - group will do an
1437 algorithmic lookup if it fails, user won't.
1438 * Make EA's lookups case independent.
1439 * Fix SETPATHINFO in 'unix extensions' support.
1440 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
1441 the UNIX info levels, and the short case preserve names.
1444 o Timur Bakeyev <timur@com.bat.ru>
1445 * BUG 1144: only set --with-fhs when the argument is 'yes'
1446 * BUG 1152: Allow python modules to build despite libraries added
1447 to LDFLAGS instead of LDPATH.
1448 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
1451 o Craig Barratt <cbarratt@users.sourceforge.net>
1452 * BUG 389: Allow multiple exclude arguments with smbclient
1453 tar -Xr options (better support for Amanda backup client).
1456 o Andrew Bartlett <abartlet@samba.org>
1457 * Include support for linking with cracklib for enforcing strong
1459 * Add support for >14 character password changes from Windows
1461 * Add 'admin set password' capability to 'net rpc'.
1462 * Allow 'net rpc samdump' to work with any joined domain
1463 regardless of smb.conf settings.
1464 * Use an allocated buffer for count_chars.
1465 * Add sanity checks for changes in the domain SID in an
1467 * Implement python unit tests for Samba's multibyte string
1469 * Remove 'unicode' smb.conf option.
1470 * BUG 1138: Fix support for 'optional' SMB signing and other
1472 * BUG 169: Fix NTLMv2-only behavior.
1473 * Ensure 'net' honors the 'netbios name' in the smb.conf by
1475 * Support SMB signing on connections using only the LANMAN
1476 password and generate the correct the 'session key' for these
1478 * Implement --required-membership-of=, an ntlm_auth option
1479 that restricts all authentication to members of this particular
1481 * Improve our fall back code for password changes.
1482 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
1483 after the server had said something (such as an error).
1484 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
1487 o Alexander Bokovoy <ab@samba.org>
1488 * Fix incorrect size calculation of the directory name
1490 * Fix problems with very long filenames in both smbd and smbclient
1491 caused by truncating paths during character conversions.
1492 * Fix smbfs problem with Tree Disconnect issued before smbfs
1496 o Gerald Carter <jerry@samba.org>
1497 * BUG 850: Fix 'make installmodules' bug on True64.
1498 * BUG 66: mark 'only user' deprecated.
1499 * Remove corrupt tdb and shutdown (only for printing tdbs,
1500 connections, sessionid & locking).
1501 * decrement smbd counter in connections.tdb in smb_panic().
1502 * RedHat specfile updates.
1503 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
1504 * BUG 1147; bad pointer case in get_stored_queue_info()
1506 * BUG 761: read the config file before initialized default
1507 values for printing options; don't default to bsd printing
1509 * Allow the 'printing' parameter to be set on a per share basis.
1510 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
1511 * BUG 848: don't create winbind local users/groups that already
1513 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
1515 * BUG 488: fix the 'show client in col 1' button and correctly
1516 enumerate active connections.
1517 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
1518 problem when storing the updating pid for the lpq cache.
1519 * BUG 1007 (partial): Fix print change notify bugs.
1520 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
1521 and winbind use default domain = yes. Also ensures that
1522 * BUG 1151: Ensure that winbindd users are passed through
1524 * Fix client rpc binds for ASU derived servers (pc netlink,
1526 * BUG 417, 1128: Ensure that the current_user_info is set
1527 consistently so that %[UuGg] is expanded correctly.
1528 * BUG 1195: Fix crash in winbindd when the ADS server is
1530 * BUG 1185: Set reconnect time to be the same as the
1531 'winbind cache time'.
1532 * Ensure that we return the sec_desc in smb_io_printer_info_2.
1533 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
1534 * BUG 1095: Honor the '-l' option in smbclient.
1535 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
1537 * Ensure server schannel uses the auth level requested by the
1539 * Removed --with-cracklib option due to potential crash issue.
1540 * Fix -lcrypto linking problem with wbinfo.
1541 * BUG 761: allow printing parameter to set defaults on a per
1543 * Add 'cups options' parameter to allow raw printing without
1544 changing /etc/cups/cupsd.conf.
1545 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
1547 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
1548 * BUG 1288: resolve any machine netbios name (0x00) and not just
1550 * BUG 1199: Fix potential symlink issue in
1551 examples/printing/smbprint.
1554 o Robert Dahlem <Robert.Dahlem@gmx.net>
1555 * BUG 1048: Don't return short names when when 'mangled names = no'
1558 o Guenther Deschner <gd@suse.com>
1559 * Remove hard coded attribute name in the ads ranged retrieval
1561 * Add --with-libdir and --with-mandir to autoconf script.
1564 o Bostjan Golob <golob@gimb.org>
1565 * BUG 1046: Fix getpwent_list() so that the username is not
1566 overwritten by other fields.
1569 o Landon Fuller <landonf@opendarwin.org>
1570 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
1571 to fix user/group enumeration on systems whose libc does not
1572 call setgrent() before trying to enumerate users (i.e.
1576 o Steve French <sfrench@us.ibm.com>
1577 * Update mount.cifs to version 1.1.
1578 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
1579 * Fixes to minor security bug in the mount helper.
1580 * Fix credential file mounting for cifs vfs.
1581 * Fix free of incremented pointer in cifsvfs mount helper.
1582 * Fix path canonicalization of the mount target path and help
1583 text display in the cifs mount helper.
1584 * Add missing guest mount option for mount.cifs.
1587 o SATOH Fumiyasu <fumiya@miraclelinux.com>
1588 * BUG 1055; formatting fixes for 'net share'.
1589 * BUG 692: correct truncation of share names and workgroup
1591 * BUG 1088: use strchr_m() for query_host (smbclient -L).
1592 * Patch from to internally count characters correctly.
1595 o Paul Green <paulg@samba.org>
1596 * Update VOS _POSIX_C_SOURCE macro to 200112L.
1597 * Fix bug in configure.ion by moving the first use of
1598 AC_CHECK_HEADERS so it is always executed.
1599 * Fix configure.in to only use $BLDSHARED to select whether to
1600 build static or shared libraries.
1603 o Pat Haywarrd <Pat.Hayward@propero.net>
1604 * Make the session_users list dynamic (max of 128K).
1607 o Cal Heldenbrand <calzplace@yahoo.com>
1608 * Fix for for 'pam_smbpass migrate' functionality.
1611 o Chris Hertel <crh@samba.org>
1612 * fix enumeration of shares 12 characters in length via
1616 o Ulrich Holeschak <ulrich@holeschak.de>
1617 * BUG 932: fix local password change using pam_smbpass
1620 o Krischan Jodies <kj@sernet.de>
1621 * Implement 'net rpc group delete'
1624 o John Klinger <john.klinger@lmco.com>
1625 * Return NSS_SUCCESS once the max number of gids possible
1626 has been found in initgroups() on Solaris.
1627 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
1630 o Volker Lendecke <vl@samba.org>
1631 * Fix success message for net groupmap modify.
1632 * Fix errors when enumerating members of groups in 'net rpc'.
1633 * Match Windows behavior in samr_lookup_names() by returning
1634 ALIAS(4) when you search in BUILTIN.
1635 * Fix server SAMR code to be able to set alias info for
1637 * Fix duplication of logic when creating groups via smbd.
1638 * Ensure that the HWM values are set correctly after running
1640 * Add 'net rpc group add'.
1641 * Implement 'net groupmap set' and 'net groupmap cleanup'.
1642 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
1643 * Fix wb_delgrpmem (wbinfo -o).
1644 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
1645 * Fix sambaUserWorkstations on a Samba DC.
1646 * Implement wbinfo -k: Have winbind generate an AFS token after
1647 authenticating the user.
1648 * Add expand_msdfs VFS module for providing referrals based on the
1649 the client's IP address.
1650 * Implement client side NETLOGON GetDCName function.
1651 * Fix caching of name->sid lookups.
1652 * Add support in winbindd for expanding nested local groups.
1653 * Fix memleak in winbindd.
1655 * Don't list domain groups from BUILTIN.
1656 * Fix memleak in policy handle utility functions.
1657 * Decrease winbindd startup time by only contacting trusted
1658 domains as necessary.
1659 * Allow winbindd to ask the DC for its domain for a trusted
1661 * Fix Netscape DS schema based on comments from
1662 <thomas.mueller@christ-wasser.de>.
1663 * Correct case where adding a domain user to a XP local group
1664 did a lsalookupname on the user without domain prefix, and
1666 * Fix segfault in winbindd caused by 'wbinfo -a'.
1669 o Herb Lewis <herb@samba.org>
1670 * Fix typo for tag in proto file.
1671 * Add missing #ifdef HAVE_BICONV stuff.
1672 * Truncate Samba's netbios name at the first '.' (not
1676 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
1677 * Bug fixes and enhancements to libsmbclient library.
1680 o Jianliang Lu <j.lu@tiesse.com>
1681 * Enforce the 'user must change password at next login' flag.
1682 * Decode meaning of 'fields present' flags (improves support
1685 * Don't force an upper case domain name in the ntlmssp code.
1688 o L. Lucius <ib@digicron.com>.
1692 o Jim McDonough <jmcd@us.ibm.com>
1693 * Add versioning support to tdbsam.
1694 * Update the IBM Directory Server schema with the OpenLDAP
1696 * Various decoding fixes to improve usrmgr.exe support.
1697 * Fix statfs redeclaration of statfs struct on ppc
1698 * Implement support for password lockout of Samba domain
1699 controllers and standalone servers.
1700 * Get MungedDial attribute actually working with full TS
1701 strings in it for pdb_ldap.
1702 * BUG 1208 (partial): Improvements for working with expired krb5
1703 tickets in winbindd.
1704 * Use timegm, or our already existing replacement instead of
1705 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
1706 * Remove modifyTimestamp from list of our attributes.
1707 * Fix lsalookupnames to check for domain users as well as local
1709 * Merge struct uuid replacement for GUID from trunk.
1710 * BUG 1208: Finish support for handling expired tickets in
1711 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
1714 o Stefan Metzmacher <metze@samba.org>
1715 * Implement new VERSION schema based on subversion revision
1717 * Add shadow_copy vfs module.
1718 * Fix segault in login_cache support.
1721 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
1722 o BUG 979 -- Fix quota display on AIX.
1725 o James Peach <jpeach@sgi.com>
1726 * Correct check for printf() format when using the SGI MIPSPro
1728 * BUG 1038: support backtrace for 'panic action' on IRIX.
1729 * BUG 768: Accept profileing arg to IRIX init script.
1730 * BUG 748: Relax arg parsing to sambalp script (IRIX).
1731 * BUG 758: Fix pdma build.
1732 * Search IRIX ABI paths for libiconv. Based on initial fix from
1736 o Kurt Pfeifle <kpfeifle@danka.de>
1737 * Add example shell script for migrating drivers and printers
1738 from a Windows print server to a Samba print server using
1739 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
1742 o Tim Potter <tpot@samba.org>
1743 * Fix logic bug in tdb non-blocking lock routines when
1745 * BUG 1025: Include sys/acl.h in check for broken nisplus
1747 * BUG 1066: s/printf/d_printf/g in SWAT.
1748 * BUG 1098: rename internal msleep() function to fix build
1750 * BUG 1112: Fix for writable printerdata problem in python bindings.
1751 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
1752 * BUG 1155: enclose use of fchown() with guards.
1753 * Relicense tdb python module as LGPL.
1756 o Richard Sharpe <rsharpe@samba.org>
1757 * Add support to smbclient for multiple logins on the same
1758 session (based on work by abartlet@samba.org).
1759 * Correct blocking condition in smbd's use of accept() on IRIX.
1760 * Add support for printing out the MAC address on nmblookup.
1763 o Simo Sorce <idra@samba.org>
1764 * Replace unknown_3 with fields_present in SAMR code.
1765 * More length checks in strlcat().
1768 o Andrew Tridgell <tridge@samba.org>
1769 * Rewrote the AIX UESS backend for winbindd.
1770 * Fixed compilation with --enable-dmalloc.
1771 * Change tdb license to LGPL (see source/tdb/tdb.c).
1772 * Force winbindd to use schannel in clients connections to
1776 o Jelmer Vernooij <jelmer@samba.org>
1777 * Fix ETA Calculation when resuming downloads in smbget.
1778 * Add -O (for writing downloaded files to standard out)
1779 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
1780 * Fix syntax error in example mysql table
1783 o TAKEDA yasuma <yasuma@miraclelinux.com>
1784 * BUG 900: fix token processing in cmd_symlink, cmd_link,
1785 cmd_chown, cmd_chmod smbclient functions.
1788 o Shiro Yamada <shiro@miraclelinux.com>
1789 * BUG 1129: install image files for SWAT.
1792 --------------------------------------------------
1794 ==============================
1795 Release Notes for Samba 3.0.2a
1797 ==============================
1799 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
1800 to address, in particular, a problem when using pdbedit to
1801 sanitize (--force-initialized-passwords) Samba's tdbsam
1802 backend. This is the latest stable release of Samba. This
1803 is the version that all production Samba servers should be
1804 running for all current bug-fixes.
1806 ******************* Attention! Achtung! Kree! *********************
1808 Beginning with Samba 3.0.2, passwords for accounts with a last
1809 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
1810 ldapsam, etc...) of zero (0) will be regarded as uninitialized
1811 strings. This will cause authentication to fail for such
1812 accounts. If you have valid passwords that meet this criteria,
1813 you must update the last change time to a non-zero value. If you
1814 do not, then 'pdbedit --force-initialized-passwords' will disable
1815 these accounts and reset the password hashes to a string of X's.
1817 ******************* Attention! Achtung! Kree! *********************
1826 Please refer to the CVS log for the SAMBA_3_0 branch for complete
1827 details. The list of changes per contributor are as follows:
1830 o Jeremy Allison <jra@samba.org>
1831 * Added paranoia checks in parsing code.
1834 o Andrew Bartlett <abartlet@samba.org>
1835 * Ensure that changes to uninitialized passwords in ldapsam
1836 are written to the DIT.
1839 o Gerald (Jerry) Carter <jerry@samba.org>
1840 * Fixed iterator in tdbsam.
1841 * Fix bug that disabled accounts with a valid NT password
1842 hash, but no LanMan hash.
1845 o Steve French <sfrench@us.ibm.com>
1846 * Added missing nosetuid and noexec options.
1849 o Bostjan Golob <golob@gimb.org>
1850 * BUG 1046: Don't overwrite usernames of entries returned
1854 o Sebastian Krahmer <krahmer@suse.de>
1855 * Fixed potential crash bug in NTLMSSP parsing code.
1858 o Tim Potter <tpot@samba.org>
1859 * Fixed logic in tdb_brlock error checking.
1862 o Urban Widmark <urban@teststation.com>
1863 * Set nosuid,nodev flags in smbmnt by default.
1866 --------------------------------------------------
1868 =============================
1869 Release Notes for Samba 3.0.2
1871 =============================
1873 It has been confirmed that previous versions of Samba 3.0 are
1874 susceptible to a password initialization bug that could grant an
1875 attacker unauthorized access to a user account created by the
1876 mksmbpasswd.sh shell script.
1878 The Common Vulnerabilities and Exposures project (cve.mitre.org)
1879 has assigned the name CAN-2004-0082 to this issue.
1881 Samba administrators not wishing to upgrade to the current
1882 version should download the 3.0.2 release, build the pdbedit
1885 root# pdbedit-3.0.2 --force-initialized-passwords
1887 This will disable all accounts not possessing a valid password
1888 (e.g. the password field has been set a string of X's).
1890 Samba servers running 3.0.2 are not vulnerable to this bug
1891 regardless of whether or not pdbedit has been used to sanitize
1894 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
1897 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
1898 o Logging onto a Samba domain from Windows XP clients.
1899 o Problems with the %U and %u smb.conf variables in relation to
1900 Windows 9x/ME clients.
1901 o Kerberos failures due to an invalid in memory keytab detection
1903 o Updates to the ntlm_auth tool.
1904 o Fixes for various SMB signing errors.
1905 o Better separation of WINS and DNS queries for domain controllers.
1906 o Issues with nss_winbind FreeBSD and Solaris.
1907 o Several crash bugs in smbd and winbindd.
1908 o Output formatting fixes for smbclient for better compatibility
1909 with scripts based on the 2.2 version.
1918 Parameter Name Action
1919 -------------- ------
1920 ldap replication sleep New
1921 read size removed (unused)
1922 source environment removed (unused)
1928 Please refer to the CVS log for the SAMBA_3_0 branch for complete
1929 details. The list of changes per contributor are as follows:
1931 o Jeremy Allison <jra@samba.org>
1932 * Revert change that broke Exchange clear text samlogons.
1933 * Fix gcc 3.4 warning in MS-DFS code.
1934 * Tidy up of NTLMSSP code.
1935 * Fixes for SMB signing errors
1936 * BUG 815: Workaround NT4 bug to support plaintext
1937 password logins and UNICODE.
1938 * Fix SMB signing bug when copying large files.
1939 * Correct error logic in mkdir_internals() (caused a panic
1940 when combined with --enable-developer).
1941 * BUG 830: Protect against crashes due to bad character
1945 o Petri Asikainen <paca@sci.fi>
1946 * BUG 330, 387:Fix single valued attribute updates when
1947 working with Novell NDS.
1950 o Andrew Bartlett <abartlet@samba.org>
1951 * Correctly handle per-pipe NTLMSSP inside a NULL session.
1952 * Fix segfault in gencache
1953 * Fix early free() of encrypted_session_key.
1954 * Change DC lookup routines to more carefully separate
1955 DNS names (realms) from NetBIOS domain names.
1956 * Add new sid_to_dn() function for internal winbindd use.
1957 * Refactor cli_ds_enum_domain_trusts().
1958 * BUG 707: Implement range retrieval of ADS attributes (based
1959 on work from Volker <vl@samba.org> and Guenther Deschner
1961 * Automatically initialize the signing engine if a session key
1963 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
1964 encoded strings, only form input in SWAT.
1965 * Resets the NTLMSSP state for new negotiate packets.
1966 * Add 2-byte alignments in net_samlogon() queries to parse
1967 odd-length plain text passwords.
1968 * Allow Windows groups with no members in winbindd.
1969 * Allow normal authentication in the absence of a server
1970 generated session key.
1971 * More optimizations for looking up UNIX group lists.
1972 * Clean up error codes and return values for pam_winbindd
1973 and winbindd PAM interface.
1974 * Fix string return values in ntlm_auth tool.
1975 * Fix segfault when 'security = ads' but no realm is defined.
1976 * BUG 722: Allow winbindd to map machine accounts to uids.
1977 * More cleanups for winbindd's find_our_domain().
1978 * More clearly detect whether a domain controller is an NT4
1979 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
1980 * Increase separation between DNS queries for hosts and queries
1981 for AD domain controllers.
1982 * Include additional NT_STATUS to PAM error mappings.
1983 * Password initialization fixes.
1986 o Justin Baugh <justin.baugh@request.com>
1987 * BUG 948: Implement missing functions required for FreeBSD
1988 nss_winbind support.
1991 o Alexander Bokovoy <ab@samba.org>
1992 * BUG 922: Make sure enable fast path for strlower_m() and
1996 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
1997 * Fix crash when using 'security = server' and 'encrypt
1998 passwords = no' by always initializing the session key.
2001 o Dmitry Butskoj <buc@odusz.elektra.ru>
2002 * Fix for special files being hidden from admins.
2005 o Gerald (Jerry) Carter <jerry@samba.org>
2006 * Fix bug in the lanman session key generation. Caused
2007 "decode_pw: incorrect password length" error messages.
2008 * Save the right case for the located user name in
2009 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
2010 * BUG 897: Add well known rid for pre win2k compatible access
2012 * BUG 887: Correct typo in delete user script example.
2013 * Use short lived TALLOC_CTX* for allocating printer objects
2014 from the print handle cache.
2015 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
2016 * Fix several warnings reported by the SUN Forte C compiler.
2017 * Fully control DNS queries for AD DC's using 'name resolve order'.
2018 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
2019 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
2020 * BUG 936: fix bind credentials for schannel binds in smbd.
2021 * BUG 446: Fix output of smbclient for better compatibility
2022 with scripts based on the 2.2 version (including Amanda).
2023 * BUG 891, 949: Fedora packaging fixes.
2024 * Fix bug that caused rpcclient to incorrectly retrieve
2025 the SID for a server (this causing all calls that required
2026 this information to fail).
2027 * BUG 977: Don't create a homes share for a user if a static
2028 share already exists by the same name.
2029 * Removed unused smb.conf options.
2030 * Password initialization fixes.
2031 * Set the disable flag for template accounts created by
2033 * Disable any account has no passwords and does not have the
2034 ACB_PWNOTREQ bit set.
2037 o Guenther Deschner <gd@suse.com>
2038 * Install smbwrapper.so should be put into the $(libdir)
2040 * Add the capability to specify the new user password
2041 for "net ads password" on the command line.
2042 * Correctly detect AFS headers on SuSE.
2045 o James Flemer <jflemer@uvm.edu>
2046 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
2047 HAVE_SYS_ATTRIBUTES_H.
2050 o Luke Howard <lukeh@PADL.COM>
2051 * Fix segfault in session setup reply caused by a early free().
2054 o Stoian Ivanov <sdr@bultra.com>
2055 * Implement grepable output for smbclient -L.
2058 o LaMont Jones <lamont@debian.org>
2059 * BUG 225328 (Debian): Correct false failure LFS test that resulted
2060 in _GNU_SOURCE not being defined (thus resulting in strndup()
2064 o Volker Lendecke <vl@samba.org>
2065 * BUG 583: Ensure that user names always contain the short
2066 version of the domain name.
2067 * Fix our parsing of the LDAP uri.
2068 * Don't show the 'afs username map' in the SWAT basic view.
2069 * Fix SMB signing issues in relation to failed NTLMSSP logins.
2070 * BUG 924: Fix return codes in smbtorture harness.
2071 * Always lower-case usernames before handing it to AFS code.
2072 * Add a German translation for SWAT.
2073 * Fix a segfaults in winbindd.
2074 * Fix the user's domain passed to register_vuid() from
2075 reply_spnego_kerberos().
2076 * Add NSS example code in nss_winbind to convert UNIX
2077 id's <-> Windows SIDs.
2078 * Display more descriptive error messages for login via 'net'.
2079 * Fix compiler warning in the net tool.
2080 * Fix length bug when decoding base64 strings.
2081 * Ensure we don't call getpwnam() inside a loop that is iterating
2082 over users with getpwent(). This broke on glibc 2.3.2.
2085 o Herb Lewis <herb@samba.org>
2086 * Fix bit rot in psec.
2089 o Jianliang Lu <j.lu@tiesse.com>
2090 * Ensure we delete the group mapping before calling the delete
2092 * Define well known RID for managing the "Power Users" group.
2093 * BUG 381: check builtin (not local) group SID when updating
2095 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
2099 o John Klinger <john.klinger@lmco.com>
2100 * Implement initgroups() call in nss_winbind on Solaris.
2103 o Jim McDonough <jmcd@us.ibm.com>
2104 * Fix regression in net rpc join caused by recent changes
2105 to cli_lsa_query_info_policy().
2106 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
2110 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
2111 * BUG 570: Ensure that configure honors the LDFLAGS variable.
2114 o Stefan Metzmacher <metze@samba.org>
2115 * Implement LDAP rebind sleep patch.
2116 * Revert to 2.2 quota code because of so many broken quota files
2118 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
2119 XFS_USER_QUOTA -> USRQUOTA
2120 XFS_GROUP_QUOTA -> GRPQUOTA
2121 * Fix disk_free calculation with group quotas.
2122 * Add debug class 'quota' and a lot of DEBUG()'s
2124 * Fix sys_chown() when no chown() is present.
2125 * Add SIGABRT to fault handling in order to catch got a
2126 backtrace if an error occurs the OpenLDAP client libs.
2130 * Allow an existing LDAP machine account to be re-used when
2131 joining an AD domain.
2134 o James Peach <jpeach@sgi.com>
2135 * BUG 889: Change smbd to use pread/pwrite on platforms that
2136 support these calls. Can lead to a significant speed increase.
2139 o Tim Potter <tpot@samba.org>
2140 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
2141 * BUG 924: Fix typo in RW2 torture test.
2144 o Richard Sharpe <rsharpe@samba.org>
2145 * Small fixes to torture.c to cleanup the error handling
2146 and prevent crashes.
2149 o J. Tournier <jerome.tournier@IDEALX.com>
2150 * Small fixes for the smbldap-tool scripts.
2153 o Andrew Tridgell <tridge@samba.org>
2154 * Fix src len check in pull_usc2().
2157 o Jelmer Vernooij <jelmer@samba.org>
2158 * Put functions for generating SQL queries in pdb_sql.c
2159 * Add pgSQL backend (based on patch by Hamish Friedlander)
2160 * BUG 908: Fix -s option to smbcontrol.
2161 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
2162 * Fix for libnss_wins on IRIX platforms.
2163 * Fix swatdir for --with-fhs.
2166 --------------------------------------------------
2168 =============================
2169 Release Notes for Samba 3.0.1
2171 =============================
2173 Some of the more common bugs in 3.0.0 addressed in the release
2176 o Substitution problems with smb.conf variables.
2177 o Errors in return codes which caused some applications
2178 to fail to open files.
2179 o General Protection Faults on Windows 2000/XP clients
2180 using Samba point-n-print features.
2181 o Several miscellaneous crash bugs.
2182 o Access problems when enumerating group mappings are
2183 stored in an LDAP Directory.
2184 o Several common SWAT bugs when writing changes to
2186 o Internal inconsistencies when 'winbind use default
2192 ----------------------
2194 Parameter Name Action
2195 -------------- ------
2196 hide local users Removed
2197 mangled map Deprecated
2198 mangled stack Removed
2199 passwd chat timeout New
2205 o Change the interface for init_unistr2 to not take a length
2206 but a flags field. We were assuming that
2207 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
2208 o Allow d_printf() to handle strings with escaped quotation
2209 marks since the msg file includes the escape character (bug 489).
2210 o Fix bad html table row termination in SWAT wizard code (bug 413).
2211 o Fix to parse the level-2 strings.
2212 o Fix for "valid users = %S" in [homes]. Fix read/write
2214 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
2215 This is the same way AC_CHECK_LIB works (bug 508).
2216 o Testparm output fixes for clarity.
2217 o Fix broken wins hook functionality -- i18n bug (bug 528).
2218 o Take care of condition where DOS and NT error codes must differ.
2219 o Default to using only built-in charsets when a working iconv
2220 implementation cannot be located.
2221 o Wrap internals of sys_setgroups() so the sys_XX() call can
2222 be done unconditionally (bug 550).
2223 o Remove duplicate smbspool link on SWAT's front page (bug 541).
2224 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
2225 --enable-debug=[yes|no] works correctly.
2226 o Allow ^C to interrupt smbpasswd if using our getpass
2227 (e.g. smbpasswd command).
2228 o Support signing only on RPC's (bug 167).
2229 o Correct bug that prevented Excel 2000 clients from opening
2230 files marked as read-only.
2231 o Portability fix bugs 546 - 549).
2232 o Explicitly initialize the value of AR for vendor makes that don't
2233 do this (e.g. HPUX 11). (bug 552).
2234 o More i18n fixes for SWAT (bug 413).
2235 o Change the cwd before the postexec script to ensure that a
2236 umount will succeed.
2237 o Correct double free that caused winbindd to crash when a DC
2238 is rebooted (bug 437).
2239 o Fix incorrect mode sum (bug 562).
2240 o Canonicalize SMB_INFO_ALLOCATION in the same was as
2241 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
2242 o Add script to generate *msg files.
2243 o Add Dutch SWAT translation file.
2244 o Make sure to call get_user_groups() with the full winbindd
2245 name for a user if he/she has one (bug 406).
2246 o Fix up error code returns from Samba4 tester. Ensure invalid
2247 paths are validated the same way.
2248 o Allow Samba3 to pass the Samba4 RAW-READ tests.
2249 o Refuse to configure if --with-expsam=$BACKEND was used but no
2250 libraries were found for $BACKEND.
2251 o Move sysquotas autoconf tests to a separate file.
2252 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
2254 o Make sure that the files that contain the static_init_$subsystem;
2255 macro get recompiled after configure by removing the object
2257 o Ensure canceling a blocking lock returns the correct error
2259 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
2260 o Updated Japanese welcome file in SWAT.
2261 o Fix to nt-time <-> unix-time functions reversible.
2262 o Ensure that winbindd uses the the escaped DN when querying
2264 o Fix portability issues when compiling (bug 505, 550)
2265 o Compile fix for tdbbackup when Samba needs to override
2266 non-C99 compliant implementations of snprintf().
2267 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
2268 o Make sure we break out of samsync loop on error.
2269 o Ensure error code path doesn't free unmalloc()'d memory
2271 o Add configure test for krb5_keytab_entry keyblock vs key
2274 o Modified testparm so that all output so all debug output goes
2275 to stderr, and all file processing goes to stdout.
2276 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
2278 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
2279 we have a devmode before copying a string to the devicename.
2280 o Support mapping REALM.COM\user to a local user account (without
2281 running winbindd) for compatibility with 2.2.x release.
2282 o Ensure we don't use mmap() on blacklisted systems.
2283 o fixed a number of bugs and memory leaks in the AIX
2285 o Call initgroups() in SWAT before becomming the user so that
2286 secondary group permissions can be used when writing to
2288 o Fix signing problems when reverse connecting back to a
2289 client for printer notify
2290 o Fix signing problems caused by a miss-sequence bug.
2291 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
2292 Fixes NEXUS tools running on Win9x clients (bug 64).
2293 o Don't leave the domain field uninitialized in cli_lsa.c if some
2294 SID could not be mapped.
2295 o Fix segfault in mount.cifs helper when there is no options
2296 specified during mount.
2297 o Change the \n after the password prompt to go to tty instead
2298 of stdout (bug 668).
2299 o Stop net -P from prompting for machine account password (bug 451).
2300 o Change in behavior to Not only change the effective uid but also
2301 the real uid when becoming unprivileged.
2302 o Cope with Exchange 5.5 cleartext pop password auth.
2303 o New files for support of initshutdown pipe. Win2k doesn't
2304 respond properly to all requests on the winreg pipe, so we need
2305 to handle this new pipe (bug 534).
2306 o Added more va_copy() checks in configure.in.
2307 o Include fixes for libsmbclient build problems.
2308 o Missing UNIX -> DOS codepage conversion in lanman.c.
2309 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
2310 o Parameterize the listen backlog in smbd and make it larger by
2311 default. A backlog of 5 is way too small these days.
2312 o Check for an invalid fid before dereferencing the fsp pointer
2314 o Remove invalid memory frees and return codes in pdb_ldap.c.
2315 o Prompt for password when invoking --set-auth-user and no
2317 o Bind the nmbd sending socket to the 'socket address'.
2318 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
2319 $LDFLAGS occurs before any library specification (bug 661).
2320 o Fix large number of printf() calls for 64-bit size_t.
2321 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
2322 keyblock in the krb5 structs.
2323 o Remove #include <compat.h> in hopes to avoid problems with
2324 apache header files.
2325 o Correct winbindd build problems on HP-UX 11.
2326 o Lowercase netgroups lookups (bug 703).
2327 o Use the actual size of the buffer in strftime instead of a made
2328 up value which just happens to be less than sizeof(fstring).
2330 o Add ldaplibs to pdbedit link line (bug 651).
2331 o Fix crash bug in smbclient completion (bug 659).
2332 o Fix packet length for browse list reply (bug 771).
2333 o Fix coredump in cli_get_backup_list().
2334 o Make sure that we expand %N (bug 612).
2335 o Allow rpcclient adddriver command to specify printer driver
2337 o Compile tdbdump by default.
2338 o Apply patches to fix iconv detection for FreeBSD.
2339 o Do not allow the 'guest account' to be added to a passdb backend
2340 using smbpasswd or pdbedit (bug 624).
2341 o Save LDFLAGS during iconv detection (bug 57).
2342 o Run krb5 logins through the username map if the winbindd
2343 lookup fails (bug 698).
2344 o Add const for lp_set_name_resolve_order() to avoid compiler
2346 o Add support for the %i macro in smb.conf to stand in for the for
2347 the local IP address to which a client connected.
2348 o Allow winbindd to match local accounts to domain SID when
2349 'winbind trusted domains only = yes' (bug 680).
2350 o Remove code in idmap_ldap that searches the user suffix and group
2351 suffix. It's not needed and provides inconsistent functionality
2352 from the tdb backend.
2353 o Patch to handle munged dial string for Windows 2000 TSE.
2354 Thanks to Gaz de France, Direction de la Recherche, Service
2355 Informatique Métier for their supporting this work by Aurelien
2356 Degrémont <adegremont@idealx.com>.
2357 o Correct the "smbldap_open: cannot access when not root error"
2358 messages when looking up group information (bug 281).
2359 o Skip over the winbind separator when looking up a user.
2360 This fixes the bug that prevented local users from
2361 matching an AD user when not running winbindd (bug 698).
2362 o Fix a problem with configure on *BSD systems. Make sure
2363 we add -liconv etc to LDFLAGS.
2364 o Fix core dump bug when "security = server" and the authentication
2366 o Correct crash bug due to an empty munged dial string.
2367 o Show files locked by a specific user (smbstatus -u 'user')
2369 o Fix bug preventing print jobs from display in the queue
2370 monitor used by Windows NT and later clients (bug 660).
2371 o Fix several reported problems with point-n-print from
2372 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
2373 reply (bug 338, 527 & 643).
2374 o Fix a handful of potential memory leaks in the LDAP code used
2375 by ldapsam[_compat] and the LDAP idmap backend.
2376 o Fix for pdbedit error code returns (bug 763).
2377 o Make sure we only enumerate group mapping entries (not
2378 /etc/group) even when doing local aliases.
2379 o Relax check on the pipe name in a dce/rpc bind response to work
2380 around issues with establishing trusts to a Windows 2003 domain.
2381 o Ensure we mangle names ending in '.' in hash2 mangling method.
2382 o Correct parsing issues with munged dial string.
2383 o Fix bugs in quota support for XFS.
2384 o Add a cleaner method for applications that need to provide
2385 name->SID mappings to do this via NSS rather than having to
2386 know the winbindd pipe protocol.
2387 o Adds a variant of the winbindd_getgroups() call called
2388 winbindd_getusersids() that provides direct SID->SIDs listing of
2389 a users supplementary groups. This is enough to allow non-Samba
2390 applications to do ACL checking.
2391 o Make sure we don't append the 'ldap suffix' when writing out the
2392 'ldap XXX suffix' values in SWAT (bug 328).
2393 o Fix renames across file systems.
2394 o Ensure that items in a list of strings containing whitespace are
2395 written out surrounded by single quotes. This means that both
2396 double and single quotes are now used to surround strings in
2398 o Enable SWAT to correctly determine if winbindd is running (bug
2400 o Include WWW-Authenticate field in 401 response for bad auth
2402 o Add support for NTLM2 (NTLMv2 session security).
2403 o Add support for variable-length session keys.
2404 o More privilege fixes for group enumeration in LDAP (bug 281).
2405 o Use the dns name (or IP) as the originating client name when
2406 using CUPS (bug 467).
2407 o Fix various SMB signing bugs.
2408 o Fix ACL propagation on a DFS root (bug 263).
2409 o Disable NTLM2 for RPC pipes.
2410 o Allow the client to specify the NTLM2 flags got NTLMSSP
2412 o Change the name of the job passed off to cups from "Test Page"
2413 to "smbprn.00000033 Test Page" so that we can get the smb
2414 jobid back. This allow users to delete jobs with cups printing
2415 backend (partial work on bug 770).
2416 o Fix build of winbindd with static pdb modules.
2417 o Retrieve the correct ACL group bits if the file has an ACL
2419 o Implement "net rpc group members": Get members of a domain group
2420 in human-readable format.
2421 o Add MacOSX (Darwin) specific charset module code.
2422 o Use samr_dispinfo(level == 1) for enumerating domain users so we
2423 can include the full name in gecos field (bug 587).
2424 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
2425 o Implement 'net rpc group list [global|local|builtin]*' for a
2426 select listing of the respective user databases.
2427 o Don't automatically set NT status code flag unless client tells
2429 o Add 'net status [sessions|shares] [parseable]'.
2430 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
2432 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
2434 o Fix inverted logic in hosts allow/deny checks caused by
2435 s/strcmp/strequal/ (bug 846).
2436 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
2437 o Fix typo in 'hash' mangling algorithm.
2438 o Support munged dial for ldapsam (bug 800).
2439 o Fix process_incoming_data() to return the number of bytes handled
2440 this call whether we have a complete PDU or not; fixes bug
2441 with multiple PDU request rpc's broken over SMBwriteX calls
2443 o Fix incorrect smb flags2 for connections to pre-NT servers
2444 (causes smbclient to fail to OS2 for example) (bug 821).
2445 o Update version string in smbldap-tools Makefile to 0.8.2.
2446 o Correct a problem with "net rpc vampire" mis-parsing the
2447 alias member info reply.
2448 o Ensure the ${libdir} is created by the installclientlib script.
2449 o Fix detection of Windows 2003 client architecture in the smb.conf
2451 o Ensure that smbd calls the add user script for a missing UNIX
2452 user on kerberos auth call (bug 445).
2453 o Fix bugs in hosts allow/deny when using a mismatched
2454 network/netmask pair.
2455 o Protect alloc_sub_basic() from crashing when the source string
2456 is NULL (partial work on bug 687).
2457 o Fix spinlocks on IRIX.
2458 o Corrected some bad destination paths when running "configure
2460 o Add packaging files for Fedora Core 1.
2461 o Correct bug in SWAT install script for non-english languages.
2462 o Support character set ISO-8859-1 internally (bug 558).
2463 o Fixed more LDAP access errors when looking up group mappings
2465 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
2466 resolution to fail on local files on on domain members
2468 o Fix uninitialized variable in passdb.c.
2469 o Fix formal parameter type in get_static() in nsswitch/wins.c.
2470 o Fix problem mounting directories when mount.cifs is installed
2471 with the setuid bit on.
2472 o Fix bug that prevent --mandir from overriding the defaults
2473 given in the --with-fhs macro.
2474 o Fix bug in in-memory Kerberos keytab detection routines
2479 ######################################################################
2481 The original 3.0.0 release notes follow
2482 =======================================
2483 WHATS NEW IN Samba 3.0.0
2485 =======================================
2491 1) Active Directory support. Samba 3.0 is now able to
2492 join a ADS realm as a member server and authenticate
2493 users using LDAP/Kerberos.
2495 2) Unicode support. Samba will now negotiate UNICODE on the wire
2496 and internally there is now a much better infrastructure for
2497 multi-byte and UNICODE character sets.
2499 3) New authentication system. The internal authentication system
2500 has been almost completely rewritten. Most of the changes are
2501 internal, but the new auth system is also very configurable.
2503 4) New default filename mangling system.
2505 5) A new "net" command has been added. It is somewhat similar to
2506 the "net" command in windows. Eventually we plan to replace
2507 numerous other utilities (such as smbpasswd) with subcommands
2510 6) Samba now negotiates NT-style status32 codes on the wire. This
2511 improves error handling a lot.
2513 7) Better Windows 2000/XP/2003 printing support including publishing
2514 printer attributes in active directory.
2516 8) New loadable module support for passdb backends and character
2519 9) New default dual-daemon winbindd support for better performance.
2521 10) Support for migrating from a Windows NT 4.0 domain to a Samba
2522 domain and maintaining user, group and domain SIDs.
2524 11) Support for establishing trust relationships with Windows NT 4.0
2527 12) Initial support for a distributed Winbind architecture using
2528 an LDAP directory for storing SID to uid/gid mappings.
2530 13) Major updates to the Samba documentation tree.
2532 14) Full support for client and server SMB signing to ensure
2533 compatibility with default Windows 2003 security settings.
2535 15) Improvement of ACL mapping features based on code donated by
2536 Andreas Grünbacher.
2539 Plus lots of other improvements!
2542 Additional Documentation
2543 ------------------------
2545 Please refer to Samba documentation tree (included in the docs/
2546 subdirectory) for extensive explanations of installing, configuring
2547 and maintaining Samba 3.0 servers and clients. It is advised to
2548 begin with the Samba-HOWTO-Collection for overviews and specific
2549 tasks (the current book is up to approximately 400 pages) and to
2550 refer to the various man pages for information on individual options.
2552 We are very glad to be able to include the second edition of
2553 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
2554 (O'Reilly & Associates) in this release. The book is available
2555 on-line at http://samba.org/samba/docs/ and is included with
2556 the Samba Web Administration Tool (SWAT). Thanks to the authors and
2557 publisher for making "Using Samba" under the GNU Free Documentation
2561 ######################################################################
2562 Upgrading from a previous Samba 3.0 beta
2563 ########################################
2565 Beginning with Samba 3.0.0beta3, the RID allocation functions
2566 have been moved into winbindd. Previously these were handled
2567 by each passdb backend. This means that winbindd must be running
2568 to automatically allocate RIDs for users and/or groups. Otherwise,
2569 smbd will use the 2.2 algorithm for generating new RIDs.
2571 If you are using 'passdb backend = tdbsam' with a previous Samba
2572 3.0 beta release (or possibly alpha), it may be necessary to
2573 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
2574 to winbindd_idmap.tdb. To do this:
2576 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
2578 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
2580 3) run: (note that 'tdb>' is the tool's prompt for input)
2582 root# ./tdbtool /usr/local/samba/private/passdb.tdb
2583 tdb> show RID_COUNTER
2587 [000] 0A 52 00 00 .R.
2589 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
2593 If you are using 'passdb backend = ldapsam', it will be necessary to
2594 store idmap entries in the LDAP directory as well (i.e. idmap backend
2595 = ldap). Refer to the 'net idmap' command for more information on
2596 migrating SID<->UNIX id mappings from one backend to another.
2598 If the RID_COUNTER record does not exist, then these instructions are
2599 unneccessary and the new RID_COUNTER record will be correctly generated
2604 ########################
2605 Upgrading from Samba 2.2
2606 ########################
2608 This section is provided to help administrators understand the details
2609 involved with upgrading a Samba 2.2 server to Samba 3.0.
2615 Many of the options to the GNU autoconf script have been modified
2616 in the 3.0 release. The most noticeable are:
2618 * removal of --with-tdbsam (is now included by default; see section
2619 on passdb backends and authentication for more details)
2621 * --with-ldapsam is now on used to provided backward compatible
2622 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
2623 backend and authentication section for more details
2625 * inclusion of non-standard passdb modules may be enabled using
2626 --with-expsam. This includes an XML backend and a mysql backend.
2628 * removal of --with-msdfs (is now enabled by default)
2630 * removal of --with-ssl (no longer supported)
2632 * --with-utmp now defaults to 'yes' on supported systems
2634 * --with-sendfile-support is now enabled by default on supported
2641 This section contains a brief listing of changes to smb.conf options
2642 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
2643 complete descriptions of new or modified parameters.
2645 Removed Parameters (order alphabetically):
2648 * alternate permissions
2651 * code page directory
2653 * domain admin group
2654 * domain guest group
2655 * force unknown acl user
2661 * printer driver file
2662 * printer driver location
2664 * source environment
2672 New Parameters (new parameters have been grouped by function):
2676 * abort shutdown script
2679 User and Group Account Management
2680 ---------------------------------
2682 * add machine script
2683 * add user to group script
2684 * algorithmic rid base
2685 * delete group script
2686 * delete user from group script
2688 * set primary group script
2694 * passwd chat timeout
2698 * client lanman auth
2699 * client NTLMv2 auth
2705 * paranoid server security
2714 * hide special files
2715 * hide unwriteable files
2717 * kernel change notify
2727 * max reported print jobs
2729 UNICODE and Character Sets
2730 --------------------------
2736 SID to uid/gid Mappings
2737 -----------------------
2741 * winbind enable local accounts
2742 * winbind trusted domains only
2743 * template primary group
2744 * enable rid algorithm
2751 * ldap machine suffix
2753 * ldap replication sleep
2756 General Configuration
2757 ---------------------
2761 Modified Parameters (changes in behavior):
2763 * encrypt passwords (enabled by default)
2764 * mangling method (set to 'hash2' by default)
2767 * restrict anonymous (integer value)
2768 * security (new 'ads' value)
2769 * strict locking (enabled by default)
2770 * unix extensions (enabled by default)
2771 * winbind cache time (increased to 5 minutes)
2772 * winbind uid (deprecated in favor of 'idmap uid')
2773 * winbind gid (deprecated in favor of 'idmap gid')
2779 This section contains brief descriptions of any new databases
2780 introduced in Samba 3.0. Please remember to backup your existing
2781 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
2782 upgrade databases as they are opened (if necessary), but downgrading
2783 from 3.0 to 2.2 is an unsupported path.
2785 Name Description Backup?
2786 ---- ----------- -------
2787 account_policy User policy settings yes
2788 gencache Generic caching db no
2789 group_mapping Mapping table from Windows yes
2790 groups/SID to unix groups
2791 winbindd_idmap ID map table from SIDS to UNIX yes
2793 namecache Name resolution cache entries no
2794 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
2795 returned as part of a successful
2796 net_sam_logon request
2797 printing/*.tdb Cached output from 'lpq no
2798 command' created on a per print
2800 registry Read-only samba registry skeleton no
2801 that provides support for exporting
2802 various db tables via the winreg RPCs
2808 The following issues are known changes in behavior between Samba 2.2 and
2809 Samba 3.0 that may affect certain installations of Samba.
2811 1) When operating as a member of a Windows domain, Samba 2.2 would
2812 map any users authenticated by the remote DC to the 'guest account'
2813 if a uid could not be obtained via the getpwnam() call. Samba 3.0
2814 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
2815 current work around to re-establish the 2.2 behavior.
2817 2) When adding machines to a Samba 2.2 controlled domain, the
2818 'add user script' was used to create the UNIX identity of the
2819 machine trust account. Samba 3.0 introduces a new 'add machine
2820 script' that must be specified for this purpose. Samba 3.0 will
2821 not fall back to using the 'add user script' in the absence of
2822 an 'add machine script'
2825 ######################################################################
2826 Passdb Backends and Authentication
2827 ##################################
2829 There have been a few new changes that Samba administrators should be
2830 aware of when moving to Samba 3.0.
2832 1) encrypted passwords have been enabled by default in order to
2833 inter-operate better with out-of-the-box Windows client
2834 installations. This does mean that either (a) a samba account
2835 must be created for each user, or (b) 'encrypt passwords = no'
2836 must be explicitly defined in smb.conf.
2838 2) Inclusion of new 'security = ads' option for integration
2839 with an Active Directory domain using the native Windows
2840 Kerberos 5 and LDAP protocols.
2842 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
2843 type which is neccessary for servers on which the
2844 administrator password has not been changed, or kerberos-enabled
2845 SMB connections to servers that require Kerberos SMB signing.
2846 Besides this one difference, either MIT or Heimdal Kerberos
2847 distributions are usable by Samba 3.0.
2850 Samba 3.0 also includes the possibility of setting up chains
2851 of authentication methods (auth methods) and account storage
2852 backends (passdb backend). Please refer to the smb.conf(5)
2853 man page for details. While both parameters assume sane default
2854 values, it is likely that you will need to understand what the
2855 values actually mean in order to ensure Samba operates correctly.
2857 The recommended passdb backends at this time are
2859 * smbpasswd - 2.2 compatible flat file format
2860 * tdbsam - attribute rich database intended as an smbpasswd
2861 replacement for stand alone servers
2862 * ldapsam - attribute rich account storage and retrieval
2863 backend utilizing an LDAP directory.
2864 * ldapsam_compat - a 2.2 backward compatible LDAP account
2867 Certain functions of the smbpasswd(8) tool have been split between the
2868 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
2869 utility. See the respective man pages for details.
2872 ######################################################################
2876 This section outlines the new features affecting Samba / LDAP
2882 A new object class (sambaSamAccount) has been introduced to replace
2883 the old sambaAccount. This change aids us in the renaming of
2884 attributes to prevent clashes with attributes from other vendors.
2885 There is a conversion script (examples/LDAP/convertSambaAccount) to
2886 modify and LDIF file to the new schema.
2890 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
2891 $ convertSambaAccount --sid=<Domain SID> \
2892 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
2893 --changetype=[modify|add]
2895 The <DOM SID> can be obtained by running 'net getlocalsid
2896 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
2897 the format of the generated LDIF output--either create new entries
2898 or modify existing entries.
2900 The old sambaAccount schema may still be used by specifying the
2901 "ldapsam_compat" passdb backend. However, the sambaAccount and
2902 associated attributes have been moved to the historical section of
2903 the schema file and must be uncommented before use if needed.
2904 The 2.2 object class declaration for a sambaAccount has not changed
2905 in the 3.0 samba.schema file.
2907 Other new object classes and their uses include:
2909 * sambaDomain - domain information used to allocate rids
2910 for users and groups as necessary. The attributes are added
2911 in 'ldap suffix' directory entry automatically if
2912 an idmap uid/gid range has been set and the 'ldapsam'
2913 passdb backend has been selected.
2915 * sambaGroupMapping - an object representing the
2916 relationship between a posixGroup and a Windows
2917 group/SID. These entries are stored in the 'ldap
2918 group suffix' and managed by the 'net groupmap' command.
2920 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
2921 automatically and contains the next available 'idmap uid' and
2924 * sambaIdmapEntry - object storing a mapping between a
2925 SID and a UNIX uid/gid. These objects are created by the
2926 idmap_ldap module as needed.
2928 * sambaSidEntry - object representing a SID alone, as a Structural
2929 class on which to build the sambaIdmapEntry.
2932 New Suffix for Searching
2933 ------------------------
2935 The following new smb.conf parameters have been added to aid in directing
2936 certain LDAP queries when 'passdb backend = ldapsam://...' has been
2939 * ldap suffix - used to search for user and computer accounts
2940 * ldap user suffix - used to store user accounts
2941 * ldap machine suffix - used to store machine trust accounts
2942 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
2943 * ldap idmap suffix - location of sambaIdmapEntry objects
2945 If an 'ldap suffix' is defined, it will be appended to all of the
2946 remaining sub-suffix parameters. In this case, the order of the suffix
2947 listings in smb.conf is important. Always place the 'ldap suffix' first
2950 Due to a limitation in Samba's smb.conf parsing, you should not surround
2951 the DN's with quotation marks.
2957 Samba 3.0 supports an ldap backend for the idmap subsystem. The
2958 following options would inform Samba that the idmap table should be
2959 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
2964 idmap backend = ldap:ldap://onterose/
2965 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
2966 idmap uid = 40000-50000
2967 idmap gid = 40000-50000
2969 This configuration allows winbind installations on multiple servers to
2970 share a uid/gid number space, thus avoiding the interoperability problems
2971 with NFS that were present in Samba 2.2.
2975 ######################################################################
2976 Trust Relationships and a Samba Domain
2977 ######################################
2979 Samba 3.0.0beta2 is able to utilize winbindd as the means of
2980 allocating uids and gids to trusted users and groups. More
2981 information regarding Samba's support for establishing trust
2982 relationships can be found in the Samba-HOWTO-Collection included
2983 in the docs/ directory of this release.
2985 First create your Samba PDC and ensure that everything is
2986 working correctly before moving on the trusts.
2988 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
2989 4.0 domain named WINDOWS:
2991 1) create the trust account for SAMBA in "User Manager for Domains"
2992 2) connect the trust from the Samba domain using
2993 'net rpc trustdom establish GLASS'
2995 To create a trustlationship with SAMBA as the trusted domain:
2997 1) create the initial trust account for GLASS using
2998 'smbpasswd -a -i GLASS'. You may need to create a UNIX
2999 account for GLASS$ prior to this step (depending on your
3000 local configuration).
3001 2) connect the trust from a WINDOWS DC using "User Manager
3004 Now join winbindd on the Samba PDC to the SAMBA domain using
3005 the normal steps for adding a Samba server to an NT4 domain:
3006 (note that smbd & nmbd must be running at this point)
3008 root# net rpc join -U root
3009 Password: <enter root password from smbpasswd file here>
3011 Start winbindd and test the join with 'wbinfo -t'.
3013 Now test the trust relationship by connecting to the SAMBA DC
3014 (e.g. POGO) as a user from the WINDOWS domain:
3016 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
3019 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
3021 $ smbclient //crystal/netlogon -U root -W WINDOWS
3024 ######################################################################
3028 Beginning with Samba3.0.0beta3, winbindd has been given new account
3029 manage functionality equivalent to the 'add user script' family of
3030 smb.conf parameters. The idmap design has also been changed to
3031 centralize control of foreign SID lookups and matching to UNIX
3035 Brief Description of Changes
3036 ----------------------------
3038 1) The sid_to_uid() family of functions (smbd/uid.c) have been
3039 reverted to the 2.2.x design. This means that when resolving a
3040 SID to a UID or similar mapping:
3042 a) First consult winbindd
3043 b) perform a local lookup only if winbindd fails to
3044 return a successful answer
3046 There are some variations to this, but these two rules generally
3049 2) All idmap lookups have been moved into winbindd. This means that
3050 a server must run winbindd (and support NSS) in order to achieve
3051 any mappings of SID to dynamically allocated UNIX ids. This was
3052 a conscious design choice.
3054 3) New functions have been added to winbindd to emulate the 'add user
3055 script' family of smbd functions without requiring that external
3056 scripts be defined. This functionality is controlled by the 'winbind
3057 enable local accounts' smb.conf parameter (enabled by default).
3059 However, this account management functionality is only supported
3060 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
3061 must be shared among multiple Samba servers (such as a PDC and BDCs),
3062 it will be necessary to define your own 'add user script', et. al.
3063 programs that place the accounts/groups in some form of directory
3064 such as NIS or LDAP. This requirement was deemed beyond the scope
3065 of winbind's account management functions. Solutions for
3066 distributing UNIX system information have been deployed and tested
3067 for many years. We saw no need to reinvent the wheel.
3069 4) A member of a Samba controlled domain running winbindd is now able
3070 to map domain users directly onto existing UNIX accounts while still
3071 automatically creating accounts for trusted users and groups. This
3072 behavior is controlled by the 'winbind trusted domains only' smb.conf
3073 parameter (disabled by default to provide 2.2.x winbind behavior).
3075 5) Group mapping support is wrapped in the local_XX_to_XX() functions
3076 in smbd/uid.c. The reason that group mappings are not included
3077 in winbindd is because the purpose of Samba's group map is to
3078 match any Windows SID with an existing UNIX group. These UNIX
3079 groups can be created by winbindd (see next section), but the
3080 SID<->gid mapping is retreived by smbd, not winbindd.
3086 * security = server running winbindd to allocate accounts on demand
3088 * Samba PDC running winbindd to handle the automatic creation of UNIX
3089 identities for machine trust accounts
3091 * Automtically creating UNIX user and groups when migrating a Windows NT
3092 4.0 PDC to a Samba PDC. Winbindd must be running when executing
3093 'net rpc vampire' for this to work.
3096 ######################################################################
3100 * There are several bugs currently logged against the 3.0 codebase
3101 that affect the use of NT 4.0 GUI domain management tools when run
3102 against a Samba 3.0 PDC. This bugs should be released in an early
3105 Please refer to https://bugzilla.samba.org/ for a current list of bugs
3106 filed against the Samba 3.0 codebase.
3109 ######################################################################
3110 Reporting bugs & Development Discussion
3111 #######################################
3113 Please discuss this release on the samba-technical mailing list or by
3114 joining the #samba-technical IRC channel on irc.freenode.net.
3116 If you do report problems then please try to send high quality
3117 feedback. If you don't provide vital information to help us track down
3118 the problem then you will probably be ignored.
3120 A new bugzilla installation has been established to help support the
3121 Samba 3.0 community of users. This server, located at
3122 https://bugzilla.samba.org/, has replaced the older jitterbug server
3123 previously located at http://bugs.samba.org/.