1 ==============================
2 Release Notes for Samba 3.0.14
4 ==============================
6 This is the latest stable release of Samba. This is the version
7 that production Samba servers should be running for all current
8 bug-fixes. Please read the following important changes in this
11 Common bugs fixed in 3.0.14 include:
13 o Compatibility issues between Winbind and Windows 2003 SP1
14 domain controllers (*2k3sp1*).
15 o MS-DFS errors with Windows XP SP2 clients.
16 o High CPU loads caused by infinite loops in the FindNext()
20 ######################################################################
27 o Jeremy Allison <jra@samba.org>
28 * Prevent nt_status code support when negotiating protocols
30 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
31 as this SMB is DOS codepage only.
32 * BUG 2585: Fix printf() issues in smbpasswd which caused
34 * BUG 2563: Fix infinite loop on non-existent file with
36 * BUG 2581 (partial): Ensure if realloc fails on an internal
37 tdb we fail gracefully.
40 o Gerald (Jerry) Carter <jerry@samba.org>
41 * Workaround autoconf issue to prevent debug symbols from
42 being included in the default build.
43 * Disable schannel on the \lsarpc pipe in order to successfully
44 enumerate users and groups (*2k3sp1*)
45 * Fix parsing error in rpc binds which broke NTLMSSP
46 authentication. And as a result broke CTL+ALT+DEL password
47 changes from a Windows 2003 SP1 member of a Samba domain
49 * Revert change to FindFirst() server code that broke WinXP
50 SP2 clients from launching *.exe files from a dfs target
52 * BUG 2588: Force smbclient to send netbios messages to port
53 139 unless otherwise instructed (based on patch from Thomas
57 o Volker Lendecke <vl@samba.org>
58 * Fix build on FreeBSD 4 where Winbind is not supported.
59 * Fix 'wbinfo --user-sids' when using domain local groups.
60 * Restrict domain local groups reported by 'wbinfo -r' to
61 the Samba server domain and not the users domain.
64 o Lin Li <linl@xandros.com>
65 * Ensure that winbind initializes internal trusted domain
66 structures when enumerating users and groups.
69 o Tim Potter <tpot@samba.org>
70 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
72 * Fix compiler warnings.
75 o <psz@maths.usyd.edu.au>
76 * Fix for possible root squash NFS bugs.
79 o Simo Sorce <irda@samba.org>
80 * Debian packaging fixes.
86 Release Notes for older release follow:
88 --------------------------------------------------
89 ==============================
90 Release Notes for Samba 3.0.13
92 ==============================
94 Common bugs fixed in 3.0.13 include:
96 o Infinite FindNext() loop from Windows 9x client when
97 copying or deleting files on a Samba file share using
99 o Numerous smbclient bugs when listing directories.
100 o Failures in smbclient when connecting to a Windows 9x
104 ######################################################################
111 o Jeremy Allison <jra@samba.org>
112 * Fix typo bug in smbclient where flags overwrote info level
113 in the cli_list_new().
114 * Fix old smbclient bug where ff_searchcount was being compared
115 to -1 resulting in processing a filename twice.
116 * Fix segv in smbclient caused by overwriting the last 2 bytes
118 * BUG 2530: Fix potential segv in smbclient when talking to a
119 Windows 9x file server.
120 * Fix last entry offset in cli_list_new() when using a
121 FindFirst/FindNext info level of 0x104.
122 * BUG 2501: Stop Win98 from looping doing FindNext on a
124 * BUG 2521: Fix error in access checks when user group ACLs.
127 o Gerald (Jerry) Carter <jerry@samba.org>
128 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
129 to delete all versions of a driver.
130 * BUG 2517: use the realm from smb.conf for 'net ads info' when
131 'disable netbios = yes'.
132 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
134 * Update RedHat packaging files to require cups support. Also
135 remove requirement for 'idmap {uid,gid}' settings in smb.conf
136 from winbindd init script.
137 * BUG 2516: fix compile issue on True64.
141 o Guenther Deschner <gd@samba.org>
142 * Check for the correct cli-struct when copying files in 'net
143 rpc printer' routines.
146 o Herb Lewis <herb@samba.org>
147 * Fix incorrect test in 'net rpc user' when the user is not
148 a member of any groups.
151 o Jim McDonough <jmcd@us.ibm.com>
152 * Make sure that enum_group_members() searches the correct suffix.
155 --------------------------------------------------
156 ==============================
157 Release Notes for Samba 3.0.12
159 ==============================
161 Common bugs fixed in 3.0.12 include:
163 o Winbind failures when using 'disable netbios = yes'
164 o Failure to establish a trust relationship via 'net rpc trust
166 o Various portability & compiler issues.
167 o Read only file deletion failure caused by new delete semantics
168 in Windows XP SP2 and the MS 04-044 security hotfix.
169 o Error messages from shared Excel workbooks residing on Samba
171 o Missing files in the output of smbclient -c 'dir' when run
172 against Windows file servers.
173 o Inability for Print Administrators to pause/resume/purge print
176 Additional features introduced in Samba 3.0.12:
178 o Performance enhancements when serving directories containing
179 large number of files.
180 o MS-DFS support added to smbclient.
181 o More performance improvements when using Samba/OpenLDAP based
182 DC's via the 'ldapsam:trusted=yes' option.
183 o Support for the Novell NDS universal password when using the
184 ldapsam passdb backend.
185 o New 'net rpc trustdom {add,del}' functionality to eventually
186 replace 'smbpasswd {-a,-x} -i'.
187 o New libsmbclient functionality.
191 =======================
192 Large Directory Support
193 =======================
195 Samba 3.0.12pre1 introduces a specific mechanism for dealing
196 with file services that frequently contain a large number of files
197 per directory. Historically Samba's performance has suffered
198 in such environments due to the translation from case
199 insensitive lookups by Windows client to the case sensitive
200 storage mechanisms used by UNIX filesystems.
202 Configuration details along with a short HOWTO can be found at:
204 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
207 ==================================
208 libsmbclient Binary Compatibility
209 ==================================
211 Please note that a change has been made to the _SMBCCTX structure
212 in source/include/libsmbclient.h. This change is not backwards
213 compatible with applications linked against the libsmbclient.so
214 library from Samba 3.0.11. However, it is compatible with all
215 other Samba 3.0.x releases. This means that it will be most likely
216 be necessary to recompile any applications linked against the
217 3.0.11 version of the library.
220 ######################################################################
227 Parameter Name Action
228 -------------- ------
229 allocation roundup size New
230 log nt token command New
231 write cache Deprecated
233 Changes since 3.0.12rc1
234 -----------------------
237 o Jeremy Allison <jra@samba.org>
238 * Debug log message cleanups.
239 * Add case insensitive search for a principal match on logon
240 verification in the system keytab (based on patch by
241 Michael Brown <mbrown@fensystems.co.uk>).
242 * Revert the previous SMB signing change from Nalin Dahyabhai
244 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
245 * Fix FindFirst() server code to deal with resume names of ".."
246 and "." (found by Jim McDonough).
247 * BUG 2451: Fix missing functions in full audit VFS module.
248 * Ensure that smbd logs failures reported by DISK_FREE()
249 (reported by Ying Li <ying.li2@hp.com>).
250 * Ensure that smbclient obeys the max protocol argument again.
251 * BUG 2335: Return correct error code for OS/2 clients (based on
252 negotiated protocol level).
253 * BUG 2460, 2464: remove dead code and unused variables
254 (reported by Jason Mader).
257 o Vince Brimhall <vbrimhall@novell.com>
258 * BUG 2453: Change the way pdb_nds.c handles users with no
259 Universal or Simple Password.
260 * NDS schema file corrections.
263 o Gerald (Jerry) Carter <jerry@samba.org>
264 * Various small compile fixes and cleanup warnings.
265 * BUG 2456: Fix compile failure on non-gcc platforms due to
269 o Guenther Deschner <gd@samba.org>
270 * Add example perl script to check for multiple LDAP entries
271 after running 'net rpc vampire'.
272 * Add more output when listing printer forms via rpcclient.
273 * Debug log message cleanup.
276 o William Jojo <jojowil@hvcc.edu>
277 * BUG 2445: Patch to avoid default ACLs on AIX.
280 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
281 * Implement better solution for backwards binary compatibility
282 in libsmbclient while adding new fields to struct _SMBCCTX.
285 o Mark Loeser <halcy0n@gentoo.org>
286 * BUG 2443: Compile fix for gcc4.
289 o Jim McDonough <jmcd@us.ibm.com>
290 * BUG 2338: Fix coredump when OS/2 checks for long file name
291 support (with .+,;=[].) (thanks to Guenter Kukkukk).
294 o John Terpstra <jht@samba.org>
295 * Add the capability to set account description using pdbedit.
298 o Doug VanLeuven <roamdad@sonic.net>
299 * Add more case/realm/name permutations to the kerberos keytab.
307 o Jeremy Allison <jra@samba.org>
308 * BUG 2146: Return correct allocation sizes so as not to crash
310 * BUG 962: Ensure that parsing of service names in smb.conf is
312 * BUG 2201, 2227: Support new delete semantics used by MS04-044
314 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
315 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
316 * Add special hooks when serving directories containing large
318 * Ensure that WINS negative name query responses and WACK
319 packets use the correct RR type of 0xA instead of reflecting
320 back what the query RR type was (0x20).
321 * BUG 2310: Only do 16-bit normalization on small dfree request.
322 * BUG 2323: Correct authentication failure when using plaintext
323 passwords from Windows XP clients.
324 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
325 work around issues building MS Visual Studio 6.0 project
326 on a Samba file share while restoring the pre-3.0.21pre1
328 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
329 stat when checking for existence of a pathname.
330 * Check the sticky bit on the parent directory for supporting
331 the new WinXP SP2 file deletion semantics.
332 * Various oplock, share mode, and byte range locking fixes
333 found by Connectathon tests.
334 * BUG 2271: Fix resume key issues in trans2FindFirst() client
336 * BUG 2382, 2045: More pending modtime and delayed write fixes
337 for MS Excel (incorporates partial patches from
338 ke_miyata@itg.hitachi.co.jp).
341 o Andrew Bartlett <abartlet@samba.org>
342 * Avoid length-limited intermediate copy of NT and LM responses
344 * Debug message cleanups in the NTLMSSP implementation.
347 o Manuel Baena <mbaena@lcc.uma.es>
348 * Print actual error message in smbmnt.c:fullpath().
351 o Vince Brimhall <vbrimhall@novell.com>
352 * Add support for Novell NDS universal password.
353 * BUG 2424: Ensure that uidNumber and gidNumber use match
357 o Gerald (Jerry) Carter <jerry@samba.org>
358 * Add trans2 client call for checking dfs referrals
359 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
360 when checking directories on modern CIFS servers.
361 * Add MS-DFS support to smbclient.
362 * Code cleanup of adt_tree.[ch].
363 * Add missing checks to allow root to manage user rights.
364 * Allow domain admins to manage rights assignments on domain members
366 * BUG 2333: Use the lpq command to pass in the correct printer name
367 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
369 * BUG 1439: make sure to initialize pointer to prevent invalid
371 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
373 * Add cups-devel to BuidlRequires directive in Fedora spec file.
374 * BUG 858: Fix order of popt args evaluation so we don't crash
375 when given no command line args.
376 * Remove dependency on bash for source/autogen.sh.
377 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
378 * Implement MS-DFS for recursive directory listings in smbclient.
379 * BUG 2394: Fix nmbd linking issue on IRIX.
380 * Only display the publish check box in the client's printer
381 properties dialog if we are a member of an AD domain.
382 * BUG 2363: allow 'in use' driver to be removed as long as
383 one 'Windows NT x86' driver remains.
384 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
386 * Enforce better printer.tdb cache consistency when removing
387 jobs from a print queue via SMB.
388 * Ensure that pause/resume/purge print queue commands are run
389 with the appropriate level of privilege necessary to actually
391 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
392 for 'printing = cups' installations that do not actually have
394 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
395 * BUG 2215: Rewrite questionable code that was causing gcc to
397 * Add server support for LsaLookupPrivValue().
400 o Kevin Dalley <kevin@kelphead.org>
401 * BUG 2398: Don't force smbclient to assume a dry run if the
402 target tarfile is /dev/null.
405 o Guenther Deschner <gd@samba.org>
406 * Fix crash bug in the client-spoolss enumdataex-call.
407 * Expand the valid-workstation-scheme by expanding names
408 beginning with a plus (+) as a unix group.
409 * Allow own netbios name to be set in smbclient's session setup.
410 * Better handling of LDAP over IPC connections that have expired
412 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
413 * Add examples/misc/adssearch.pl.
414 * BUG 2343: Build fixes.
415 * Support get_user_info_7 in SAMR server RPC.
416 * Fix server_role in the samr_query_dom_info calls.
419 o Steve French <sfrench@us.ibm.com>
420 * On failed mount (ENXIO) retry share name in uppercase (fix
421 mount to FastConnect AIX SMB server).
422 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
423 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
425 * Update for new CIFS POSIX info levels.
426 * Ignore users mount parm in mount.cifs.
429 o SATOH Fumiyasu <fumiya@samba.gr.jp>
430 * BUG 1549: Don't truncate service names in smbstatus.
433 o S Murthy Kambhampaty <smk_va@yahoo.com>
434 * Add idmap_rid module to Fedora and RedHat spec files.
437 o Volker Lendecke <vl@samba.org>
438 * BUG 2401: Flush internal getpwnam() cache after deleting a
440 * BUG 1604: Make winbind work with more than 10 trusted domains.
441 * Cleanup various compiler warnings.
442 * Fix a memory leaks in privileges code and passdb backends.
443 * Fixes for samr_lookup_sids() client call.
444 * Optimize _samr_query_groupmem with LDAP backend for large
446 * Support SIDs as %s replacements in the afs username map
448 * Add 'log nt token command' parameter. If set, %s is replaced
449 with the user sid, and %t takes all the group sids.
450 * Do not use the "Local Unix Group"-default description for
451 all kinds of group-mappings.
452 * Fix uninitialized variable in Linux nss_winbind library.
453 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
454 * Implement 'net afs impersonate'.
457 o Herb Lewis <herb@samba.org>
458 * Fix build problem when HAVE_POSIX_ACL is not defined.
459 * BUG 2417: Add help lines for net rpc group addmem and
463 o Jason Mader <jason@ncac.gwu.edu>
464 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340, 2341,
468 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
469 * Add support to libsmbclient for getting and setting DOS
470 attributes using EA functions.
471 * Fix libsmbclient's URL encoding/decoding.
472 * Replace browse listing URI queries with an internal options
473 structure (previous method violated the SMB URI syntax).
474 * Allow tree connects to be multiplexed over a single CIFS server
476 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
477 can determine a dead tree connection.
480 o Justin Ossevoort <justin@snt.utwente.nl>
481 * BUG 2316: Fix crashes in pdb_pgsql.
484 o Jim McDonough <jmcd@us.ibm.com>
485 * Fixes for server schannel implementation when 'restrict
486 anonymous = 1' is set in smb.conf.
487 * Fix bug in server side lookupsids reply that crashed lsass.exe
489 * Fix 'net rpc trustdom establish'.
490 * BUG 2062: Turn off broadcast for all 390 NICs.
491 * Fix 'net rpc trustdom add' to correctly add new domain trust
492 accounts. This will eventually replace 'smbpasswd -a -i'.
493 * Implement 'net rpc trustdom del', including client side of
494 samr_remove_sid_from_foreign_domain.
495 * Bring IBM Directory Server schema up to date with openldap
497 * Allow for better protection of sensitive attributes in IBM
501 o Stefan Metzmacher <metze@samba.org>
502 * Fix memleaks in the nttrans code.
505 o Mike Nix <mnix@wanm.com.au>
506 * Add SMBsplopen and SMBsplclose client calls.
509 o James Peach <jpeach@sgi.com>
510 * Fixes in string handling code.
511 * Fix oplock2 test in client smbtorture.
514 o Tim Potter <tpot@samba.org>
515 * Fix up example pdb modules after prototype change for
517 * BUG 2058: Fix for shared object creation in examples.
518 * BUG 2315: Fix segv in LSA privileges server code.
519 * Build fixes for python wrapper libraries.
522 o Richard Sharpe <rsharpe@samba.org>
523 * BUG 2044: Fix segv in profiles tool.
524 * Fix bogus error messages when enumerating user group
525 membership via 'net rpc'.
528 o Simo Sorce <idra@samba.org>
529 * Debian packaging fixes.
532 o Doug VanLeuven <roamdad@sonic.net>
536 o Jelmer Vernooij <jelmer@samba.org>
537 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
538 * BUG 1957: Implement minimal update of fields in mySQL pdb
542 o Torsten Werner <torsten.werner@assyst-intl.com>
543 * BUG 2405: Define 'lpstat' printcap output on HPUX.
546 o Shlomi Yaakobovich" <Shlomi@exanet.com>
547 * Detect infinite loops when traversing tdbs.
550 --------------------------------------------------
551 ==============================
552 Release Notes for Samba 3.0.11
554 ==============================
556 Common bugs fixed in 3.0.11 include:
558 o Crash in smbd when using CUPS printing.
559 o Parsing error of other SIDs included in the user_info_3
560 structure returned from domain controllers.
561 o Inefficiencies when searching non-AD LDAP directories.
562 o Failure to expand variables in user domain attributes
563 in tdbsam and ldapsam.
565 o Failure to retrieve certain attribute when migrating from
566 a Windows DC to a Samba DC via 'net rpc vampire'.
567 o Numerous printing bugs bugs including memory
568 bloating on large/busy print servers.
569 o Compatibility issues with Exchange 5.5 SP4.
572 Additional features introduced in Samba 3.0.11:
574 o Winbindd performance improvements.
575 o More 'net rpc vampire' functionality.
576 o Support for the Windows privilege model to assign rights
578 o New administrative options to the 'net rpc' command.
585 If "ldap user suffix" or "ldap machine suffix" are defined in
586 smb.conf, all user-accounts must reside below the user suffix,
587 and all machine and inter-domain trust-accounts must be located
588 below the machine suffix. Previous Samba releases would fall
589 back to searching the 'ldap suffix' in some cases.
596 Samba 3.0.11 supports the following assignable rights
598 SeMachineAccountPrivilege Add machines to domain
599 SePrintOperatorPrivilege Manage printers
600 SeAddUsersPrivilege Add users and groups to the domain
601 SeRemoteShutdownPrivilege Force shutdown from a remote system
602 SeDiskOperatorPrivilege Manage disk shares
604 These rights can be assigned to arbitrary users or groups
605 via the 'net rpc rights grant/revoke' command. More details
606 of Samba's privilege implementation can be found in the
607 Samba-HOWTO-Collection.
610 ######################################################################
620 Parameter Name Action
621 -------------- ------
622 afs token lifetime New
623 enable privileges New
624 ldap password sync Alias
625 min password length Deprecated
626 winbind enable local accounts Deprecated
631 o Jeremy Allison <jra@samba.org>
632 * Extend vfs to add seekdir/telldir/rewinddir.
634 * Fix bugs when handling secondary trans2 requests.
635 * Implementation of get posix acls in UNIX extensions.
636 * Added set posix acl functionality into the UNIX extensions code.
637 * Updated config.guess/config.sub .
638 * Fix error reply when 'follow symlinks = no'.
639 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
641 * Fixes for LARGE_READX support.
642 * Fix the problem we get on Linux where sendfile fails, but we've
643 already sent the header using send().
644 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
646 * BUG 2088: Ensure inherit permissions is only applied on a new
647 file, not an existing one.
648 * Don't go fishing for the krb5 authorization data unless we know
650 * Fixes for libsmbclient to ensure that interrupted system calls
651 are restarted minus the already expired portion of the timeout
652 (based on work by Derrell Lipman).
653 * More Unicode string parsing fixes.
654 * Convert the winreg pipe to use WERROR returns.
655 * Make all LDAP timeouts consistent (input from Joe Meadows
656 <jameadows@webopolis.com>).
657 * BUG 2231: Remove double "\\" from client findfirst.
658 * BUG 2238: Fix memory leak in shadow copy vfs.
659 * Return correct DOS/NT error code on transact named pipe on
661 * BUG 2211: Fix security descriptor parsing bug (based on work by
662 Mrinal Kalakrishnan <mail@mrinal.net>).
663 * BUG 2270: Fix memory leaks in cups printing backend support
664 (based on work by Lars Mueller).
665 * BUG 2255: Fix debug level in kerberos error messages.
666 * BUG 2110: Ensure we convert to ucs2 correctly after the
668 * Make strict locking an enum. Auto means use oplock optimization.
669 * Fix client & server to allow 127k READX calls.
670 * More *alloc fixes (includes additional fixes by Albert Chin.
671 * Catch sendfile errors correctly and return the correct values
672 we want the caller to return.
673 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
674 for better use by desktop environments such as GNOME.
675 * Ensure we can't remove a level II oplock without having the
676 shared memory area locked.
679 o Timur Bakeyev <timur@com.bat.ru>
680 * BUG 2100: change the way we check for errors after a dlopen().
681 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
684 o Andrew Bartlett <abartlet@samba.org>
685 * Clarify error message when 'lanman auth = no'.
686 * Remove the unnecessary UTF-8 conversion calls in the calls to
687 auth_winbind from smbd.
688 * Don't store the auth-user credentials with the cli_state* as
689 this can cause the schannel setup to fail when the auth-user
690 domain is not our primary domain.
693 o Grigory Batalov <bga@altlinux.org>
694 * Fix encoding while receiving of a message which was actually
695 sent using STR_ASCII.
698 o Daniel Beschorner <db@unit-netz.de>
699 * BUG 603: Correct access mask check for _samr_lookup_domain()
700 to work with Windows RAS server
703 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
704 * Fix missing printer_tdb reference decrement.
707 o Gerald (Jerry) Carter <jerry@samba.org>
708 * BUG 2073: fall back to smb_name if current_user_info is not
709 available in lp_file_list_changed().
710 * Fixes the spurious 'register_message_flags: tdb fetch failed'
712 * Don't run the background LPQ daemon when we are running in
714 * prevent the background LPQ daemon from updating the print queue
715 cache just because multiple smbd processes sent a message that
717 * consolidate printer searches to use find_service rather than
719 * BUG 2091: don't remove statically defined printers in
720 remove_stale_printers().
721 * Fix logic error in add_a_form() that only compared N characters
722 instead of the entire form name.
723 * BUG 2107: fix memory bloating caused by large numbers of
724 print_queue_updates() requests sent via messages.tdb.
725 * Check the setprinter(3) based on the access permissions on
726 the handle and avoid the call to print_access_check().
727 * Re-instantiate previous semantics for calling init_unistr2()
728 with a NULL source buffer.
729 * Support Windows privilege model for assigning rights
730 to specific SIDs. Based on work by Simo Sorce in the trunk
731 svn branch. This feature is controlled by the 'enable
732 privileges = [yes|no]' smb.conf(5) option.
733 * Add some smb.conf scripts for add/delete/change shares and
734 deleting cups printers.
735 * Expand variables in the profile path, logon home and logon script
736 values when using either tdbsam or ldapsam.
737 * Add Domain Admins (Full Control) to the default printer security
738 descriptor if we are a DC.
739 * RedHat and Fedora Packaging fixes for perl dependencies.
740 * Remove unused schema items from OpenLDAP schema file.
741 * Remove duplicate enumeration of "Windows x86" architecture
742 when listing printer drivers via rpcclient.
743 * Fail set_privileges() if 'enable privileges = no' to prevent
745 * Fix segfault in cups_queue_get().
746 * Tighten restrictions on changing user passwords when
747 the connected user possesses the SeMachineAccountPrivilege.
748 * Ensure we set NETBIOSNAME.domainname for the long machine name
749 when publishing printers in AD (based on input from Rob Foehl).
750 * Mark 'winbind enable local accounts' as deprecated.
751 * Mark testprns tool as deprecated.
752 * Allow root to grant/revoke privilege assignments.
753 * Correct interaction between user rights and se_access_check() on
755 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
757 * BUG 2262: Add support in configure.in for *freebsd6*.
758 * BUG 2266: Portability fixes for quota code on FreeBSD4.
759 * BUG 2264: Remove shutdown and abortshutdown commands from
760 rpcclient in favor of using the same functions in 'net'.
761 * BUG 2295: Prevent smbd from returning an empty server name
762 in certain lanman api calls.
763 * BUG 2290: Fix autogen.sh script in examples (based on original
764 patch from Lars Mueller).
765 * Fix bug enumerating domain trusts in security = ads.
766 * Fix segv in rpcclient's dsenumdomtrusts.
767 * Fix bug in expansion of %U and %G in included filenames.
768 * BUG 2291: Restrict creation of server trust and domain trust
769 accounts to members of the "Domain Admins" group.
771 o Nadav Danieli <nadavd@exanet.com>
772 * Short circuit some is_locked() tests if we are oplocked.
775 o Guenther Deschner <gd@samba.org>
776 * Allow 'localhost' as a valid server name in the smbd for the
778 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
779 Mewburn for the input).
780 * BUG 2059: Add additional checks needed after logic change to the
781 HAVE_WRFILE_KEYTAB detection test.
782 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
783 Samba DC. Allow us to lookup at least our own SID.
784 * More fixes to have proper German in swat (Thanks to Reiner
785 Klaproth and Björn Jacke.
786 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
787 setting security descriptors with smbcacls and using with
789 * Include the munged_dial, bad_password_count, logon_count, and
790 logon_hours attributes when running 'net rpc vampire'.
791 * Fix segfault in idmap_rid.
792 * When winbindd is operating in the multi-mapping mode of
793 idmap_rid, allow BUILTIN domain-mapping.
794 * Display infolevel 12 in query_dom_info in rpcclient.
795 * Fix bug in winbindd's lowercasing of usernames.
796 * Allow -v or -l for displaying verbose groupmap-listing
797 as well as "verbose".
798 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
800 * Close LDAP-Connection before retrying to open a new connection
802 * Marking "min password length" as depreciated.
803 * Implement SAMR query_dom_info-call info-level 8 server- and
804 client-side, based on samba4-idl.
805 * Allow rpcclient to define a port to use when connecting
807 * Allow Account Lockout with Lockout Duration "forever" (until
808 admin unlocks) to be set and displayed in User Manager.
809 * Allow to set acb_mask in rpcclient's enumdomusers.
810 * Add more generic rootDSE inspection function to check
811 for given controls or extensions and remember these on a
813 * Improve LDAP search efficiency by passing the acb_mask to
815 * Fixes for ldapsam_enum_group_memberships().
816 * Add createdomgroup to rpcclient.
817 * Add "net rpc user RENAME"-command.
818 * Display sam_user_info_7 in rpcclient.
819 * Make multi-domain-mode in idmap_rid accessible from outside
820 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
821 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
822 "Lockout Duration: Forever".
823 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
825 * Require assignment of Administrator SID in the passdb
826 backend. Fall back to the default name of 'Administrator' if
827 the lookup fails rather than using the first name in the
828 default 'admin users' list.
829 * Enhance LDAP failure debug messages.
830 * BUG 2291: Call the 'add machine script' for server trust and
831 domain trust accounts as well as workstation accounts.
834 o Levente Farkas <lfarkas@lfarkas.org>
835 * BUG 2299: Better logrotate scripts for RedHat and Fedora
839 o Jay Fenlason <fenlason@redhat.com>
840 * Fix crash in 'net join' due to calling free on
842 * Several patches from RedHat's Fedora Core RPMS.
845 o Rob Foehl <rwf@loonybin.net>.
847 * Try modifying printer published attributes before adding it a
849 * Solaris packaging fixes.
850 * Don't force the cups printer-make-and-model tag as the comment
851 for autoloaded printers.
852 * Implement caching of names from printcap to support a true
853 'printcap cache time'.
856 o Johann Hanne <jhml@gmx.net>
857 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
860 o Jeff Hardy <hardyjm@potsdam.edu>
861 * Example script for 'add print command' when using CUPS.
864 o Deryck Hodge <deryck@samba.org>
865 * Add -P (--password-only-menu) to SWAT for displaying only the
866 password change page to non-root users.
869 o David Hu <david.hu@hp.com>
870 * Copy structure from print_queue_update() message rather than
871 referencing it. Fixes seg fault on HP-UX.
874 o Buck Huppmann <buckh@pobox.com>
875 * BUG 2186: Don't free uninitialized credentials.
876 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
877 dnsDomainName != realm.
880 o Björn Jacke <bjoern@j3e.de>
881 * BUG 2040: Ensure the locale is reset to C to get ASCII-
882 compatible toupper/lower functions.
885 o William Jojo <jojowil@hvcc.edu>
886 * Fix HPUX sendfile and add configure.in tests and code for
888 * AIX 5.3 compile fixes.
891 o Volker Lendecke <vl@samba.org>
892 * Optimize anonymous session setups by workstations in a
894 * Reimplment the QueryUserAliases() server RPC reply.
895 * Re-add the getpwnam-cache for performance.
896 * Cache the result of a pdb_getsampwnam for later SID lookup
898 * Unify the means of localtaing a user's global groups on a
900 * Fix bug when serving the 'Start Menu' in a roaming user profile..
901 * Map more pre-defined NT security descriptors to AFS acls.
902 * Add timeout to AD search requests.
903 * If a connection to a DC is requested (in winbindd), open
904 connections simultaneously to all DCs found.
906 * Fix logic error in handling of 'printcap name' parameter.
907 * Prevent winbindd from SPAM'ing the log files with 'user root
909 * Backport samr_DomInfo2 IDL specification from Samba 4.
910 * Implement smbstatus -n, don't lookup users and groups.
911 * Implement simple mapping that maps the space to another character
912 defined by afsacl:space.
913 * Add support for 'net idmap delete <idmap-file> <SID>'.
914 * Add new parameter 'afs token lifetime' tells the AFS client
915 when to throw away a token (patch from kllin@it.su.se).
916 * Initial work to allow support for multiple pipe opens on a
918 * Ensure that we still retrieve the netbios name of any DC
919 listed as a 'password server' to work around cases where the
920 DC was defined using an IP address or fqdn.
921 * Fix memleak in winbindd connection code.
922 * Fix cli_samr_queryuseraliases.
923 * Allow wbinfo --user-sids to expand expand domain local groups.
924 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
925 * Fix parsing of other_sids in net_user_info3.
926 * Correct bad failure logic when user was not a member of any
930 o Jason Mader <jason@ncac.gwu.edu>
931 * BUG 2113, 2289: Remove dead code.
934 o Jim McDonough <jmcd@us.ibm.com>
935 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
936 clients. If it fails, fall back to WINREG.
937 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
938 * BUG 2198: Set password last change time when running 'net rpc
940 * Add "refuse machine password change" policy field.
943 o Luke Mewburn <lukem@NetBSD.org>
944 * BUG 2150: shmget() - Use POSIX definitions instead of non-
948 o Stefan Metzmacher <metze@samba.org>
952 o Buchan Milne <bgmilne@mandrake.org>
953 * Mandrake packaging fixes.
956 o Lars Mueller <lmuelle@suse.de>
957 * Fix build of libsmbclient on x86_64.
958 * BUG 2013: Fix testsuite build issues when libsmbclient.so
959 is installed in a non-default location.
960 * BUG 2050: Calculate max_fd for select correctly.
961 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
965 o Jason Mader <jason@ncac.gwu.edu>
966 * BUG 2069: Remove unused variables.
967 * BUG 2075: Remove dead code paths.
968 * BUG 2083: Fix compiler warnings caused by bad type casts.
971 o James Peach <jpeach@sgi.com>
972 * Fix rewinddir -> rewind_dir when using VFS macros.
975 o Gavrie Philipson <gavrie@disksites.com>
976 * BUG 1838: Remove stale printers imeeddiately when
977 processing a SIGHUP and during smb.conf reload.
980 o Tim Potter <tpot@samba.org>
981 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
982 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
983 * Change the license for the winbindd external interface
985 * HP-UX compile fixes.
986 * Compile fixes after new setsampwent() API.
989 o Richard Renard <rrenard@idealx.com>
990 * Update Netscape DS 5.2 LDAP schema.
993 o Simo Sorce <idra@samba.org>
994 * Backport pdbedit changes from trunk.
995 * Allows the add/change share command to create the shared
996 directory directory on disk.
997 * Log a warning in testparm if a print command is defined for
998 a print service using 'printing = cups'.
1000 o Jelmer Vernooij <jelmer@samba.org>
1001 * Bug fixes for pdb_{xml,pqsql,xml}
1002 * Fixes for pdb_mysql.
1005 o Andrew Tridgell <tridge@samba.org>
1006 * Bring Samba3 into line with the Samba4 password change code.
1009 o Shiro Yamada <shiro@miraclelinux.com>
1010 * BUG 2190: Force SWAT to display parameters in unix charset and
1014 --------------------------------------------------
1015 ==============================
1016 Release Notes for Samba 3.0.10
1018 ==============================
1020 Common bugs fixed in 3.0.10 include:
1022 o Fix for security issues described in CAN-2004-1154.
1031 o Jeremy Allison <jra@samba.org>
1032 * Added checks surrounding all *alloc() calls to fix
1034 * Fix long standing memory size bug in bitmap_allocate().
1035 * Remove bogus error check in deferred open file serving
1039 o Thomas Bork <tombork@web.de>
1040 * Fix autoconf script on platforms using a version of GNU ld
1041 that does not include a date stamp in the output of --version.
1044 o Luke Mewburn <lukem@NetBSD.org>
1045 * Fix the swat install script to deal with the new image
1046 destination directory used by the docs.
1050 --------------------------------------------------
1052 =============================
1053 Release Notes for Samba 3.0.9
1055 =============================
1057 Common bugs fixed in 3.0.9 include:
1059 o Problem updating roaming user profiles.
1060 o Crash in smbd when printing from a Windows 9x client.
1061 o Unresolved symbols in libsmbclient which caused
1062 applications such as KDE's konqueror to fail when
1063 accessing smb:// URLs.
1073 o Jeremy Allison <jra@samba.org>
1074 * Correctly detect errno for no acl/ea support.
1075 * BUG 2036: Fix seg fault in 'net ads join'.
1078 o Gerald (Jerry) Carter <jerry@samba.org>
1079 * Solaris packaging fixes.
1080 * Fix seg fault in lanman printing code.
1081 * BUG 2017: fix testparm reporting for the passwd program
1083 * Fix output of smbstatus to match the man page.
1084 * BUG 2027: fix conflict with declaration MD5_CTX in system
1086 * 2028: Avoid false error messages when copying a long
1087 printer name to the device mode.
1090 o Guenther Deschner <gd@samba.org>
1091 * Allow deldriverex in rpcclient to delete drivers for a
1092 specific architecture and a specific version.
1093 * Fix a couple of rpcclient spoolss commands (setprinter,
1094 setprintername, getdriver) w.r.t to printer-naming scheme.
1095 Allow 'localhost' in the server string for certain server-side
1097 * BUG 2015: Do not fail on setting file attributes with
1098 acl support enabled.
1101 o Michel Gravey <michel.gravey@optogone.com>
1102 * Fix build when using gcc 3.0.
1105 o Volker Lendecke <vl@samba.org>
1106 * Fix tdb open logic when checking our local_pid after
1110 o Jim McDonough <jmcd@us.ibm.com>
1111 * BUG 1932: Fix crash in 'net getlocalsid' when run as
1115 o Luke Mewburn <lukem@NetBSD.org>
1116 BUG 1661: Fix KRB5_SETPW-defines
1119 o Buchan Milne <bgmilne@mandrake.org>
1120 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
1123 o Lars Müller <lmuelle@suse.de>
1124 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
1127 o Martin Zielinski <mz@seh.de>
1128 * Add DeletePrinterDriverEx() functionality to rpcclient.
1131 --------------------------------------------------
1133 =============================
1134 Release Notes for Samba 3.0.8
1136 =============================
1138 Common bugs fixed in 3.0.8 include:
1140 o Compile fixes for HP-UX
1141 o Fixes for the printer publishing code used when joined to
1143 o Incompatibilities with file system quotas.
1144 o Several bugs in the spoolss printing code and print system
1146 o Inconsistencies in the username map functionality when
1147 configured on domain member servers.
1148 o Various compile warnings and errors on various platforms.
1149 o Fixes for kerberos interoperability with Windows 200x
1150 domains when using DES keys.
1151 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
1152 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
1155 New features included in the 3.0.8 release are:
1157 o New migration functionality added the the net tool
1158 for files/directories, printers, and shares.
1159 o New experimental idmap backend for assigning uids/gids
1160 directly based on the user/group RID when acting as a
1161 member of single domain without any trusts.
1162 o Additional printer migration support for XP/2003 platforms.
1165 ===========================
1166 Change in Winbindd Behavior
1167 ===========================
1169 All usernames returned by winbindd are now converted to lower
1170 case for better consistency. This means any winbind installation
1171 relying on the winbind username will need to rename existing
1172 directories and/or files based on the username (%u and %U) to lower
1173 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
1174 include mail spool files, home directories, valid user lines in
1178 ======================
1179 Change in Username Map
1180 ======================
1182 Previous Samba releases would only support reading the fully qualified
1183 username (e.g. DOMAIN\user) from the username map when performing a
1184 kerberos login from a client. However, when looking up a map
1185 entry for a user authenticated by NTLM[SSP], only the login name would be
1186 used for matches. This resulted in inconsistent behavior sometimes
1187 even on the same server.
1189 Samba 3.0.8 obeys the following rules when applying the username
1192 * When performing local authentication, the username map is
1193 applied to the login name before attempting to authenticate
1195 * When relying upon a external domain controller for validating
1196 authentication requests, smbd will apply the username map
1197 to the fully qualified username (i.e. DOMAIN\user) only
1198 after the user has been successfully authenticated.
1201 ######################################################################
1210 Parameter Name Action
1211 -------------- ------
1212 force printername New
1213 sendfile disabled by default
1219 o Jeremy Allison <jra@samba.org>
1220 * Ensure extended security bit is on only if we negotiated
1222 * Simplify statcache to use an in-memory tdb.
1223 * If you're selecting a hash algorithm for tdb, you need
1224 to do it at open time.
1225 * Removed old dir caching code - not being used now we
1226 have the statcache anyway.
1227 * Simplify the mangle hash code to use an in-memory tdb.
1228 * Merge iconv changes from Samba 4 branch.
1229 * Fix parsing of names ending in dot and a few other error
1231 * BUG 1667: Smbpasswd file could be left locked on some
1233 * Fixes for smbclient tar functionality.
1234 * BUG 1743: Fix logic bug the deferred open code.
1235 * Don't try to set security descriptors on shares where
1236 this has been turned off.
1237 * Return correct error codes on old SEARCH call.
1238 * Ensure we set errno = E2BIG when we overflow in the
1239 fast-path character conversion code.
1240 * Fix the roundup problem (returning 1mb roundup) for
1241 non-Windows clients.
1242 * Added 'stat' command to smbclient to exercise the
1243 UNIX_FILE_BASIC info level.
1244 * Fix bug where we could incorrectly set sparse attribute.
1245 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
1246 (reported by Taj Khattra <taj.khattra@gmail.com>).
1247 * Remove locked keys tdb code.
1248 * BUG 1886: Prevent delete on close being set for readonly files
1249 (and return the correct error code).
1250 * Ensure we pass most of the new lock tests except for the cancel
1251 lock which is yet to be added (merged from Samba 4 branch).
1252 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
1253 * BUG 1956: Ensure errno is saved and restored consistently on a
1255 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
1256 that all of the appropriate service principal names are set
1257 upon joining an AD domain.
1258 * Fix the correct use of resume name in the trans2 code.
1259 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
1260 correct salt used when generated the DES key after joining an
1262 * Enhanced krb5 detection routines in the autoconf scripts.
1265 o Andrew Bartlett <abartlet@samba.org>
1266 * Avoid changing the machine account password in the passdb
1267 backend, when it has 'already been changed'. This occurs
1268 in situations where the secure channel between the workstation
1269 and the DC breaks down, such as occurred in the MS04-11
1271 * Fix utility name in error message in ntlm_auth.
1272 * Fix NTLMv2 for use with pam_winbind.
1273 * Remove conversion to and from UTF8 on the winbind pipe.
1274 * Allow 'require_membership_of' and 'require-membership-of'.
1275 * Fix the error code for 'you didn't specify a domain' in
1277 * Use sys_getgroups() rather than scanning all groups
1278 when generating SAMR replies.
1281 o Igor Belyi <sambauser@katehok.ac93.org>
1282 * Ensure pdb user is deleted first before deleting UNIX
1283 user (LDAP backend needs this ordering).
1286 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
1287 * Fix core dump in 'net rpc vampire'.
1290 o Vince Brimhall <vbrimhall@novell.com>
1291 * Make ldapsam_compat robust against NULL attributes.
1294 o Gerald Carter <jerry@samba.org>
1295 * Don't limit the number of groups returned by winbindd_getgroups()
1297 * BUG 1519: Match Windows 2000 behavior when opening a
1298 printer using a servername in the form of an IP address or
1300 * BUG 1907: remove extra slashes from the printer name in
1301 getprinterdriverdir_1().
1302 * Fix standard_sub_snum() to use the current user's gid.
1303 * Fix background queue update bug (based on Volker's initial work
1305 * Add 'force printername' service parameter for people that want
1306 to enforce printername == sharename for spoolss printing.
1307 * Ensure consistent usage of the username map. Use the fully
1308 qualified DOMAIN\user format for 'security = domain|ads' and
1309 apply after authentication has succeeded.
1310 * Cosmetic fix for getent output -- lowercase the username only
1311 and not the complete domain\username string.
1312 * Packaging fixes for Solaris, Redhat, & Fedora.
1315 o Sean Chandler <sean.chandler@verizon.net>
1316 * Fix memlieak in cliconnect.c.
1319 o Darren Chew <darrenc@vicscouts.asn.au>
1320 * Solaris packaging fixes.
1323 o Nalin Dahyabhai <nalin@redhat.com>
1324 * SMB signing fix for 56-bit DES session keys.
1327 o Guenther Deschner <gd@samba.org>
1328 * add IA64 to the architecture table of printer-drivers.
1329 * Add file/share/printer migration functionality to
1331 * Show correct help for net groupmap commands.
1332 * Fix deadlock loop in winbind's required_membership_sid
1334 * Bring the same level of "required_membership"-functionality
1335 that ntlm_auth uses, to pam_winbindd as well.
1336 * Prevent "net lookup kdc" from seg-faulting when
1337 using our own implementation of krb5_lookup_kdc with
1339 * Adding getprinter level 7 to rpcclient.
1340 * Support migrating printers|shares|files from Server A
1341 to Server B while running the net-command on client C.
1342 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
1343 failure of this call non-critical (Thanks to Love @ Heimdal
1344 for the explanation and patch).
1345 * Fix typos in net's usage-output.
1346 * Fix the paranoia-check to ensure the ldap-attribute and the
1347 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
1349 * Fix several bugs in the _samr_query_useraliases() rpc reply.
1350 * Check correct string length when verifying password-policies
1351 and using extended characters (Thanks to Uwe Morgenroth from CC
1352 Compunet and Volker).
1353 * Make 'password history'-behavior in ldapsam more consistent.
1354 * Adding "Windows x64" as architecture string and driverdir "x64"
1355 for the 64bit AMD platform.
1356 * BUG 1343: Readd WKGUID-binding to match the correct default-
1357 locations of new User-, Group- and Machine-Accounts in Active
1358 Directory (this got lost during the last trunk-merge).
1359 * Fix printer-migration w.r.t. to new naming-convention for
1361 * Allow to migrate win2k3/xp-drivers as well.
1362 * Add client-side support of triggering ads printer publishing
1363 over msrpc setprinter calls inside the net-tool.
1364 * Add the idmap_rid module (written in conjunction with
1365 Sumit Bose <sbose@suse.de>).
1366 * BUG 1661: Fix build with recent heimdal releases.
1367 * Prevent idmap_rid from making unnecessary calls to domain
1368 controllers for trusted domains.
1371 o Arthur van Dongen <avdongen@xs4all.nl>
1372 * Fix typos in pam_winbind log messages and SuSE
1376 o Rob Foehl <rwf@loonybin.net>
1377 * Typo fixes for log messages in printer publishing code.
1378 * Fix memory leak in printer publishing code.
1379 * Ensure print_backend_init() only gets called once.
1380 * Have smbd check the published status of all printers
1382 * Cleanup up the XXX_a_printer() API for consistency.
1383 * Refactored the printer publishing code and include better
1387 o Steve French <sfrench@us.ibm.com>
1388 * Fix IP address override in mount.cifs mount helper and clean
1389 up warning messages from the sparse tool and expand syntax help.
1390 * Strip guest mount option off before sending to kernel mount
1391 routine to avoid logging spurious message.
1394 o Satoh Fumiyasu <fumiya@samba.gr.jp>
1395 * BUG 1732: Limit share names returned by RAP based on windows
1396 character width, not unix character width.
1397 * BUG 1498: Ensure that acl entries are stored in the correct
1401 o Brett Funderburg <brett@deepfile.com>
1402 * Pass create options parameter to nt_create_andx() function
1403 from the python bindings.
1404 * BUG 1864: Add sd->type field to security descriptor Python
1406 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
1407 when trying to return the security descriptor for a file.
1408 * BUG 1884: Fixes for the Python bindings to use the value
1409 of the desired_access filed passed into the lsa_open_policy()
1413 o Michael Gravey <michel.gravey@optogone.com>
1414 * BUG 1776: Fix warnings when building modules caused by
1415 certain versions of GNU ld not using the the default
1416 --allow-shlib-undefined flag.
1419 o Chris Hertel <crh@samba.org>
1420 * Fix logic bug in splay tree data structure when finding
1422 * Fix bug where an invalid MAC address would be printed by
1423 a node status lookup from nmblookup.
1426 o Uli Iske <iske@elkb.de>
1427 * Update the DNS/eDirectory LDAP schema file.
1430 o Björn Jacke <bjacke@sernet.de>
1431 * BUG 1766: Unify charset-handling in Content-Type:-headers to
1432 UTF-8. Reformat msgstr in msg-files to UTF-8.
1433 * Do not use display charset for swat output.
1434 * Convert the share names correctly from unix encoding to web
1435 encoding and vice versa.
1436 * Convert files from status page from unix charset to UTF-8.
1439 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
1440 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
1443 o Tom Lackemann <cessnatomny@yahoo.com>
1444 * BUG 1954: Fix memory leak in posix acl code.
1447 o Volker Lendecke <vl@samba.org>
1448 * Robustnss fix for winbindd when sending multiple requests
1449 at a high rate for a slow operation.
1450 * Solve the problem of user sids ending up with gid's
1452 * Use sys_fork instead of fork for the dual daemon so that
1453 we get the correct debug pid in the logfiles.
1454 * Based on patch from jmcd, implement special lists for the LDAP
1455 user attributes to delete.
1456 * Fix creation of aliases via usrmgr. Winbind was too strict
1457 checking the type of sids.
1458 * Lowercase all usernames returned by winbind.
1459 * BUG 1545, 1823: Only issue the ldap extended password change
1460 operation if the ldap server supports it. Also ignore object
1461 class violation errors from the extended operation.
1462 * Optimization for 'idmap backend = ldap': When asking sid2id
1463 for the wrong type, don't ask ldap when we have the opposite mapping
1465 * Fix ldapsam_compat homeDrive.
1466 * Add usersidlist and allowedusers subcommands to the net tool
1467 in order to support scanning a file server's share and list
1468 all users who have permission to connect there.
1469 * Allow for multiple DC's to be named as #1c names in lmhosts.
1470 * Memory leak fixes.
1471 * Fix checks for the local pid of an smbd process after
1475 o Herb Lewis <herb@samba.org>
1476 * Added tdbtool to be built by default.
1479 o Love <lha@stacken.kth.se>
1480 * BUG 1955: Inconsistent error return.
1483 o Sorin Manolache <sorinm@gmail.com>
1487 o Jim McDonough <jmcd@us.ibm.com>
1488 * Allow 'net ads lookup' to rely on command line arguments
1489 if contacting an ADS server fails; utilize cldap for lookups.
1490 * Fixup formatting errors in TDB_LOG calls; add printf attribute
1491 support to tdb log functions.
1494 o Bill McGonigle <bill+samba@bfccomputing.com>
1495 * BUG 1926: Type in debug message.
1499 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
1503 o Luke Mewburn <lukem@NetBSD.org>
1504 * BUG 1782: Prevent testparm from displaying parameter synonyms.
1507 o Stefan Metzmacher <metze@samba.org>
1508 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
1509 * Fix client quota support.
1510 * Fix opening of system quota file.
1513 o Lars Mueller <lmuelle@suse.de>
1514 * Small fixes for autogen.sh to deal with version detection
1515 of autoconf and autoheader; fixes for examples using
1516 libtool to adhere to stricter syntax of newer version.
1519 o Henrik Nordstrom <hno@squid-cache.org>
1520 * Allow winbindd to return the correct number of groups
1521 when the groups array must be enlarged.
1524 o Narayana Pattipati <narayana.pattipati@wipro.com>
1525 * Solaris autoconf detection fixes.
1528 o Tim Potter <tpot@samba.org>
1529 * BUG 1360: (correct fix) Use -Wl when passing flags to
1531 * HP-UX compile fixes (from JBravo on #samba-technical).
1532 * BUG 1731: More HP-UX compiles fixes.
1533 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
1534 spits the dummy otherwise.
1535 * Fix bug in Python printerdata wrapper.
1536 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
1537 <bugzilla-samba@thewrittenword.com>).
1538 * Fix parameter confusion in priming of name-to-sid cache
1539 (Found by Qiao Yang).
1540 * BUG 1888: Remove '..' from all pre-processor commands.
1541 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
1545 o Matt Selsky <selsky@columbia.edu>
1546 * BUG 350: use autoconf 2.57 feature for checking header file
1547 preprocessing (fixes configure warnings on Solaris).
1550 o Richard Renard <rrenard@idealx.com>
1551 * Fix usermgr.exe and trust relationships.
1554 o Paul Szabo <psz@maths.usyd.edu.au>
1555 * Fix to make find_workgroup use the same
1556 truncation as create_workgroup.
1559 o Richard Sharpe <rsharpe@samba.org>
1560 * Ensure cli_write() can support writes >= 65536 bytes.
1563 o Simo Sorce <idra@samba.org>
1564 * Added check password script code in examples/auth/crackcheck/
1565 * Fix memory corruption bug caused in freeing static memory.
1568 o Andrew Tridgell <tridge@samba.org>
1569 * Remove lp_use_mmap() from map_file() since the latter
1570 is for read only and does not require coherence.
1571 * Ensure that the uuid pack/unpack routines do not go past
1572 the end of the structure.
1573 * Converted Samba 3 tree to use the new utf-16 aware iconv
1575 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
1576 * Ensure configure only uses '=' instead of the bashism '=='.
1577 * Reduces the number of tdb locking calls made on file IO.
1580 o Jelmer Vernooij <jelmer@samba.org>
1581 * Convert internal data to UTF-8 before calling libxml2.
1582 * Complain if 'password chat' doesn't contain the %u variable
1583 (based on a patch by Ronan Waide).
1587 * BUG 1541: Fix recursive ls in smbclient.
1590 o Igor Zhbanov <bsg@uniyar.ac.ru>
1591 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
1594 --------------------------------------------------
1596 =============================
1597 Release Notes for Samba 3.0.7
1599 =============================
1601 This is the latest stable release of Samba. This is the version
1602 that production Samba servers should be running for all
1603 current bug-fixes. There have been several important issues
1604 fixes since the 3.0.6 release. See the "Changes" section for
1605 details on exact updates.
1607 Common bugs fixed in 3.0.7 include:
1609 o Fixes for two Denial of Service vulnerabilities
1610 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
1611 o Winbind failure to return user entries under certain
1613 o Syntax errors in the OpenLDAP schema file (samba.schema).
1614 o Printing errors caused by not setting default values
1615 for the various printing commands.
1624 Parameter Name Action
1625 -------------- ------
1626 winbind enable local accounts disabled by default
1631 o Jeremy Allison <jra@samba.org>
1632 * Fix parsing of names ending in dot and a few other error
1634 * BUG 1674: Move the symlinks checks into reduce_name().
1635 * Fix memleak when checking the valid names smb.conf option.
1636 * Fix memleak on error return path in the file open code.
1637 * More paranoia checks in the hash2 mangling code.
1638 * Fix syntax error in configure.in.
1639 * Match Win2k3's behavior for pathname parsing error returns.
1640 * Make nmbd more robust against bad netbios packets
1642 * Add more checks for invalid ASN.1 packets for SPNEGO packets
1646 o Andrew Bartlett <abartlet@samba.org>
1647 * Janitor work in loadparm.c -- remove unused parameters.
1650 o Gerald Carter <jerry@samba.org>
1651 * BUG 1464: Ensure that printing commands are initialized even
1652 if the 'printing' parameter is not explicitly set.
1653 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
1654 Adharsh Praveen <rprav@india.hp.com>)
1655 * Work around parsing error in the print change notify code.
1656 * remove duplicate declaration of getprintprocdir from
1658 * Only use sAMAccountName and not userPrincipalName when looking
1659 up a username in AD since the breaks winbindd (lookup_name()
1660 only works with the sAMAccountName).
1661 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
1662 filling in the username in the user_info3.
1663 * Fix logic bug in the check for creating a user's home directory
1664 in register_vuid(); caused home directory to be mismatched to
1665 the first share in smb.conf under certain conditions.
1666 * BUG 1656: rename auto.a to auto.smb.
1667 * Ensure that we assign our pid to print jobs (and not our
1668 parent's pid); ensures that spooling jobs from dead smbds
1669 are removed from the tdb.
1670 * Disable 'winbind enable local accounts' by default.
1671 * Adding some initial checks for DragonFly (same as
1675 o Guenther Deschner <gd@samba.org>
1676 * Use SMB_ASSERT() to track down NULL printer names in
1678 * Revert fix for BUG 1474 to avoid unnecessary packaging
1682 o Olaf Flebbe <o.flebbe@science-computing.de>.
1683 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
1685 * BUG 1626: More compile fixes.
1688 o Rob Foehl <rwf@loonybin.net>
1689 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
1690 by attempts to sanitize the defined attributes.
1693 o SATOH Fumiyasu <fumiya@miraclelinux.com>
1694 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
1697 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
1698 * BUG 1657: Remove used initialized variable,
1699 * BUG 1658: Add a little bit of const.
1702 o Volker Lendecke <vl@samba.org>
1703 * If there's garbage in the pidfile, we should not panic
1704 but assume that no one else is around. We can't find the
1708 o Jim McDonough <jmcd@us.ibm.com>
1709 * Fixup format string in the tdb error messages.
1712 o Jonas Olsson <lexicon@lysator.liu.se>
1713 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
1714 reporting the list in usrmgr.exe.
1717 o Tim Potter <tpot@samba.org>
1718 * Fix out-of-tree builds (problem with the script to generate
1719 the svn version number).
1720 * BUG 1360: Need to use -Wl when passing flags to the linker.
1721 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
1722 doesn't have one of its own.
1724 o Simo Sorce <idra@samba.org>
1725 * Fixup compile issues on AIX caused by broken strlen() and
1727 * Update debian packaging files.
1730 o Dimitri van der Spek <dwspek@aboveit.nl>
1731 * Use the correct counter when copying group rids from the
1732 user_info3 struct in pam_winbind.
1735 o Qiao Yang <qyang@stbernard.com>
1736 * BUG 1622: Only cache the user
1739 --------------------------------------------------
1741 =============================
1742 Release Notes for Samba 3.0.6
1744 =============================
1746 Common bugs fixed in 3.0.6 include:
1748 o Schannel failure in winbindd.
1749 o Numerous memory leaks.
1750 o Incompatibilities between the 'write list' and 'force user'
1752 o Premature optimization of the open_directory() internal
1753 function that broke tools such as the ArcServe backup
1754 agent, Macromedia HomeSite, and Robocopy.
1755 o Corrupt workgroup names in nmbd's browse.dat.
1756 o Sharing violation errors commonly seen when opening
1757 when serving Microsoft Office documents from a Samba
1759 o Browsing problems caused by an apostrophe (') in the
1760 computer's description field.
1761 o Problems creating special file types from UNIX CIFS
1762 clients and enabling 'unix extensions'.
1763 o Fix stalls in smbd caused by inaccessible LDAP servers.
1764 o Remove various memory leaks.
1765 o Fix issues in the password lockout feature.
1767 New features introduced in this release include:
1769 O Support symlinks created by CIFS clients which
1770 can be followed on the server.
1771 o Using a cups server other than localhost.
1772 o Maintaining the service principal entry in the system
1773 keytab for integration with other kerberized services.
1774 Please refer to the 'use kerberos keytab' entry in
1775 smb.conf(5). When using the heimdal kerberos libraries,
1776 you must also specify the following in /etc/krb5.conf:
1778 default_keytab_name = FILE:/etc/krb5.keytab
1779 o Support for maintaining individual printer names
1780 stored separately from the printer's sharename.
1781 o Support for maintaining user password history.
1782 o Support for honoring the logon times for user in a
1786 ============================================
1787 unix extensions = yes (default) and symlinks
1788 ============================================
1790 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
1791 clients supporting the UNIX extensions to the CIFS protocol
1792 can create symlinks to absolute paths which will be **followed**
1793 by the server. This functionality has been requested in order
1794 to correctly support certain applications when the user's home
1795 directory is mounted using some type of CIFS client (e.g. the
1796 cifsvfs in the Linux 2.6 kernel).
1798 If this behavior is not acceptable for your production environment
1799 you can set 'wide links = no' in the specific share declaration in
1800 the server's smb.conf. Be aware that disabling wide link support
1801 out of a share in Samba may impact the server's performance due
1802 to the fact that smbd will now have to check each path additional
1803 times before traversing it.
1806 ========================
1807 Password History Support
1808 ========================
1810 The new password history feature allows smbd to check the new
1811 password in password change requests against a list of the user's
1812 previous passwords. The number of previous passwords to save can
1813 be set using pdbedit (4 in this example):
1815 root# pdbedit -P "password history" -C 4
1817 When using the ldapsam passdb backend, it is vital to secure the
1818 following attributes from access by non-administrative users:
1822 * sambaPasswordHistory
1824 You should refer to your directory server's documentation on how
1825 to implement this restriction.
1834 Parameter Name Action
1835 -------------- ------
1837 defer sharing violations New
1838 force unknown acl user New
1840 printcap cache time New
1841 use kerberos keytab New
1845 o Jeremy Allison <jra@samba.org>
1846 * Correct path parsing bug that broke DeletePrinterDriverEx().
1847 * Fix bugs in check_path_syntax() caught by asserts.
1848 * Internal change - rearrange internal global case setting
1849 variables to a per connection basis.
1850 * BUG 1345: Fix premature optimization in unix_convert().
1851 * Allow clients to truncate a locked file.
1852 * BUG 1319: Always check to see if a user as write access
1853 to a share, even when 'force user' is set.
1854 * Fix specific case of open that doesn't cause oplock break,
1855 or share mode check.
1856 * Correct sid type is WKN_GROUP, not alias. Added some
1857 more known types (inspired by patch from Jianliang Lu).
1858 * Allow creation of absolute symlink paths via CIFS clients.
1859 * Fix charset bug in when invoking send_mailslot().
1860 * When using widelinks = no, use realpath to canonicalize
1861 the connection path on connection create for the user.
1862 * Enhance stat open code.
1863 * Fix unix extensions mknod code path.
1864 * Allow unix domain socket creation via unix extensions.
1865 * Auto disable the 'store dos attribute' parameter if the
1866 underlying filesystem doesn't support EAs.
1867 * Implement deferred open code to fix a bug with Excel files
1869 * BUG 1427: Catch bad path errors at the right point. Ensure
1870 all our pathname parsing is consistent.
1871 * Fix SMB signing error introduced by the new deferred open
1873 * Change default setting for case sensitivity to "auto". (see
1874 commit message -- r1154 -- for details).
1875 * Add new remote client arch -- CIFSFS.
1876 * Allow smbd to maintain the service principal entry in the
1877 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
1878 Guenther Deschner, et. al.).
1879 * Fix longstanding memleak bug with logfile name.
1880 * Fix incorrect type in printer publishing (struct uuid,
1882 * Heimdal compile fixes after introduction of the new ketyab
1884 * Ensure we check attributes correctly on rename request.
1885 * Ensure we defer a sharing violation on rename correctly.
1886 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
1888 * Fix bogus error message when using "mangling method = hash"
1890 * Turn on sendfile by default for non-Win9x clients.
1891 * Handle non-io opens that cause oplock breaks correctly.
1892 * Ensure ldap replication sleep time is not more than 5 seconds.
1893 * Add support for storing a user's password history.
1894 LDAP portion of the code was based on a patch from
1895 Jianliang Lu <j.lu@tiesse.com>.
1896 * Correct memory leaks found in the password change code.
1897 * Fix support for the mknod command with the Linux CIFS client.
1898 * Remove support for passing the new password to smbpasswd
1899 on the command line without using the -s option.
1900 * Ensure home directory service number is correctly reused
1901 (inspired by patches from Michael Collin Nielsen
1902 <michael@hum.aau.dk>).
1903 * Fix to stop printing accounts from resetting the bas
1904 password and account lockout flags.
1905 * If a account was locked out by an admin (and has a bad
1906 password count of zero) leave it locked out until an admin
1907 unlocks it (but log a message).
1908 * Ensure we return the same ACL revision on the wire that
1910 * BUG 1578: Hardcode replacement for invalid characters as '_'
1911 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
1912 * Fix hashed password history for LDAP backends.
1913 * Enforce logon hours restrictions if confiogured (based on code
1914 from Richard Renard <rrenard@idealx.com>).
1915 * BUG 1606: Force smbd to disable sendfile with DOS clients
1916 and ensure that the chained header is filled in for ...&X
1918 * BUG 1602: Fix access to shares when all symlink support
1923 o Tom Alsberg <alsbergt@cs.huji.ac.il>
1924 * Allow pdbedit to export a single user from a passdb backend.
1927 o Andrew Bartlett <abartlet@samba.org>
1928 * Fix parsing bug in GetDomPwInfo().
1929 * Fix segfault in 'ntlm_auth --diagnostics'.
1930 * Re-enable code to allow sid_to_gid() to perform a group
1931 mapping lookup before checking with winbindd.
1932 * Fix memory leak in the trans2 signing code.
1933 * Allow more flexible GSS-SPENGO client and server operation
1935 * Improve smbd's internal random number generation.
1936 * Fix a few outstanding long password changes in smbd.
1937 * Fix LANMAN2 session setup code.
1940 o Eric Boehm <boehm@nortelnetworks.com>
1941 BUG 703: Final touches on netgroup case lookups.
1944 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
1945 * Ensure error status codes don't get overwritten in
1946 lsa_lookup_sids() server code.
1947 * Correct bug that caused smbd to overwrite certain error
1948 codes when returning up the call stack.
1949 * Ensure the correct sid type returned for builtin sids.
1952 o Gerald Carter <jerry@samba.org>
1953 * Fix a few bugs in the Fedora Packaging files.
1954 * Fix for setting the called name to by our IP if the
1955 called name was *SMBSERVER and *SMBSERV. Fixes issue
1956 with connecting to printers via \\ip.ad.dr.ess\printer
1958 * BUG 1315: fix for schannel client connections to servers
1959 when we haven't specifically negotiated AUTH_PIPE_SEAL.
1960 * Allow PrinterDriverData valuenames with embedded backslashes
1961 (Fixes bug with one of the Konica Fiery drivers).
1962 * Fixed string length miscalculation in netbios names that
1963 resulted in corrupt workgroup names in browse.dat.
1964 * When running smbd as a daemon, launch child smbd to update
1965 the lpq cache listing in the background.
1966 * Allow printers "Printers..." folder to be renamed to a string
1967 other than the share name.
1968 * Allow winbindd to use domain trust account passwords when
1969 running on a Samba DC to establish an schannel to remote
1971 * Fix bad merge and ensure that we always use tdb_open_log()
1972 instead of tdb_open_ex() (the former call enforce the 'use
1974 * BUG 1221: revert old change that used single and double
1975 quotes as delimeters in next_token(), and change
1976 print_parameter() to print out parm values surrounded by
1977 double quotes (instead of single quotes).
1978 * Prevent home directories added during the SMBsesssetup&X from
1979 being removed as unused services.
1980 * Invalidate the print object cache for open printer handles when
1981 smbd receives a message that an attribute on a given printer
1983 * Cause the configure script to exit if --enable-cups[=yes] is
1984 defined and the system does not have the cups devel files
1986 * BUG 1297: Prevent map_username() from being called twice
1988 * Ensure that we use the userPrincipalName AD attribute
1989 value for LDAP SASL binds.
1990 * Ensure we remove the tdb entry when deleting a job that
1992 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
1993 client sends a FindNextPrintChangeNotify() request without
1994 previously sending a FindFirstPrintChangeNotify(). Return
1995 the same error code as Windows 2000 SP4.
1996 * BUG 1516: Manually declare ldap_open_with_timeout() to
1997 workaround compiler errors on IRIX (or other systems without
1999 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
2001 * Corrected syntax error in the OID for sambaUnixIdPool,
2002 sambaSidEntry, & sambaIdmapEntry object classes.
2003 * Tighten the cache consistency with the ntprinters.tdb entry
2004 an the in memory cache associated with open printer handles.
2005 * Make sure that register_messages_flags() doesn't overwrite
2006 the originally registered flags.
2009 o Fabien Chevalier <fabien.chevalier@supelec.fr>
2010 * Debian BUG 252591: Ensure that the return value from the
2011 number of available interfaces is initialized in case no
2012 interfaces are actually available.
2015 o Guenther Deschner <gd@sernet.de>
2016 * Implement 'rpcclient setprintername'.
2017 * Add local groups to the user's NT_TOKEN since they are
2018 actually supported now.
2019 * Heimdal compile fixes after introduction of the new keytab
2021 * Correctly honor the info level parameter in 'rpcclient
2023 * Reintroduce 'force unknown acl user' parameter. When getting a
2024 security descriptor for a file, if the owner sid is not known,
2025 the owner uid is set to the current uid. Same for group sid.
2026 * Ensure that REG_SZ values in the SetPrinterData actually
2027 get written in UNICODE strings rather than ASCII.
2028 * Ensure that the last kerberos error return is not invalid.
2029 * Display share ACL entries from rpcclient.
2030 * Correct infinite loop in pam_winbind's verification of
2031 group membership in the 'other sids' field in the user_info3
2035 o Fabian Franz <FabianFranz@gmx.de>
2036 * Support specifying a port in the device URL passed to smbspool.
2039 o Steve French <sfrench@us.ibm.com>
2040 * Handle -S and user mount parms in mount.cifs.
2041 * Fix user unmount of shares mount with suid mount.cifs.
2042 * prevent infinite recusion in reopen_logs() when expanding
2043 the smb.conf variable %I.
2046 o Bjoern Jacke <bj@sernet.de>
2047 * Install libsmbclient into $(LIBDIR), not into hard coded
2048 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
2049 and an explicit configure --libdir setting.
2052 o <kawasa_r@itg.hitachi.co.jp>
2053 * Correct more memory leaks and initialization bugs.
2054 * Fix bug that prevented core dumps from being generated
2056 * Connect to the winbind pipe in non-blocking mode to
2057 prevent processes from hanging.
2058 * Memory leak fixes.
2061 o Stephan Kulow <coolo@suse.de>
2062 * Fix crash bug in libsmbclient.
2065 o Volker Lendecke <vl@samba.org>
2066 * Added vfs_full_audit module.
2067 * Add vfs_afsacl.c which can display & set AFS acls via
2068 the NT security editor.
2069 * Fix crash bug caused by trying to Base64 encode a NULL string.
2070 * Fix DOS error code bug in reply_chkpath().
2071 * Correct misunderstanding of the max_size field in
2072 cli_samr_enum_als_groups; it is more like an account_control
2073 field with individual bits what to retrieve.
2074 * Implement 'net rpc group rename' -- rename domain groups.
2075 * Implement the 'cups server' option. This makes it possible
2076 to have virtual smbd's connect to different cups daemons.
2077 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
2078 * Fix sid_to_gid() calls in winbindd to prevent loops.
2079 * Ensure that local_sid_to_gid() sets the type of the group on
2081 * Make sure that the clients are given back the IP address to
2082 which they connected in the case of a multi-homed host. Only
2083 affects strings the spoolss printing replies.
2084 * Fix the bad password lockout. This has not worked as pdb_ldap.c
2085 did not ask for the modifyTimestamp attribute, so it could
2086 not find it. Try not to regress by not putting that attrib
2087 in the main list but append it manually for the relevant searches.
2088 * Fix two memleaks in login_cache.c.
2089 * fixes memory bloat when unmarshalling strings.
2090 * Fix compile errors using gcc 3.2 on SuSE 8.2.
2091 * Fix the build for systems without kerberos headers.
2092 * Allow winbindd to handle authentication requests only when
2093 started without either an 'idmap uid' or 'idmap gid' range.
2094 * Fix the build for systems without ldap headers.
2095 * Fix interaction between share security descriptor and the
2096 'read only' smb.conf option.
2097 * Fix bug that caused _samr_lookupsids() with more than 32 (
2098 MAX_REF_DOMAINS) SIDs to fail.
2099 * Allow the 'idmap backend' parameter to accept a list of
2100 LDAP servers for failover purposes.
2101 * Revert code in smbd to remove a tdb when it has become
2103 * Add paranoid checks when mapping SIDs to a uid/gid to
2104 ensure that the type is correct.
2105 * Initial work on getting client support for sending mailslot
2107 * Add 'ldap timeout' parameter.
2108 * Dont always uppercase 'afs username map'.
2109 * Expand aliases for getusersids as well.
2110 * Improved NT->AFS ACL mapping VFS module.
2113 o Herb Lewis <herb@samba.org>
2114 * Add the acls debug class.
2115 * Fix logic bug in netbios name truncate routine.
2116 * Fix smbd crash caused by smbtorture IOCTL test.
2117 * Fix errno tromping before calling iconv to reset the
2119 * need to leave empty dacl so we can remove last ACE.
2122 o Jianliang Lu <Jianliang.Lu@getronics.com>
2123 * Fix to stop smbd hanging on missing group member in
2125 * Make sure Samba returns the correct group types.
2126 * Reset the bad password count password counts upon a successful login.
2129 o Jason Mader <jason@ncac.gwu.edu>
2130 * BUG 1385: Don't use non-consts in a structure initialization.
2133 o Jim McDonough <jmcd@us.ibm.com>
2134 * BUG 1279: SMBjobid fix for Samba print servers running on
2135 Big-Endian platforms.
2138 o Joe Meadows <jameadows@webopolis.com>
2139 * Add optional timeout parameter to ldap open calls.
2140 * Allow get_dc_list() to check the negative cache.
2143 o Stefan Metzmacher <metze@samba.org>
2144 * fix a configure logic bug for linux/XFS quotas when
2145 using --with-sys-quotas.
2146 * Use quota debug class in quota code.
2147 * print out the SVN revision by configure,
2150 o Buchan Milne <bgmilne@mandrake.org>
2151 * Mandrake packaging fixes.
2154 o Lars Mueller <lmuelle@suse.de>
2155 * BUG 1279: Added 'printcap cache time' parameter.
2156 * Fix afs related build issues on SuSE.
2157 * Fix compiler warnings in the kerberos client code.
2160 o James Peach <jpeach@sgi.com>
2161 * More iconv detection fixes for IRIX.
2162 * Compile fixed for systems that do not have C99/UNIX98 compliant
2163 vsnprintf by default.
2164 * Prevent smbd from attempting to use sendfile at all if it is
2165 not supported by the server's OS.
2166 * Allow SWAT to search for index.html when serving html files
2171 * Implement NFS quota support on FreeBSD.
2174 o Tim Potter <tpot@samba.org>
2175 * BUG 1360: Use -Bsymbolic when creating shared libraries to
2176 avoid conflicts with identical symbols in the global namespace
2177 when loading libnss_wins.so.
2180 o Richard Renard <rrenard@idealx.com>
2181 * Save the current password as it is being changed into the
2182 password history list.
2185 o Richard Sharpe <rsharpe@samba.org>
2186 * Fix error return codes on some lock messages.
2187 * BUG 1178: Make the libsmbclient routines callable
2189 * BUG 1333: Make sure we return an error code when
2191 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
2192 share mode locking requests fail.
2195 o Simo Sorce <idra@samba.org>
2196 * Update Debian stable & unstable packaging.
2197 * Tidy up parametric options in testparm output.
2200 o Richard Sharpe <rsharpe@samba.org>
2201 * Add sigchild handling to winbindd to restart the child
2202 daemon if necessary.
2205 o Tom Shaw <tomisfaraway@gmail.com>
2206 * Use winbindd_fill_pwent() consistently.
2209 o Nick Thompson <nickthompson@agere.com>
2210 * Protect smbd against broken filesystems which return zero
2214 o Andrew Tridgell <tridge@samba.org>
2215 * Fixed bug in handling of timeout in socket connections.
2218 o Nick Wellnhofer <wellnhofer@aevum.de>
2219 * Prevent lp_interfaces() list from being corrupted. Fixes
2220 bug where nmbd would lose the list of network interfaces
2221 on the system and consequently shutdown.
2224 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
2225 * Fix ntlm_auth memory leaks.
2228 o Jelmer Vernooij <jelmer@samba.org>
2229 * Additional NT status to unix error mappings.
2230 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
2231 get duplicate symbol errors.
2232 * Return an error when the last command read from stdin
2234 * Prepare for better error checking in tar.
2235 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
2238 --------------------------------------------------
2240 =============================
2241 Release Notes for Samba 3.0.5
2243 =============================
2245 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
2246 the exception of correcting the two security issues outlined
2249 ######################## SECURITY RELEASE ########################
2251 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
2252 CVE ID: CAN-2004-0600, CAN-2004-0686
2253 (http://cve.mitre.org/)
2256 This is the latest stable release of Samba. This is the version
2257 that production Samba servers should be running for all current
2260 It has been confirmed that versions of Samba 3 prior to v3.0.4
2261 are vulnerable to two potential buffer overruns. The individual
2262 details are given below.
2268 Affected Versions: Samba 3.0.2 and later
2270 The internal routine used by the Samba Web Administration
2271 Tool (SWAT v3.0.2 and later) to decode the base64 data
2272 during HTTP basic authentication is subject to a buffer
2273 overrun caused by an invalid base64 character. It is
2274 recommended that all Samba v3.0.2 or later installations
2275 running SWAT either (a) upgrade to v3.0.5, or (b) disable
2276 the swat administration service as a temporary workaround.
2278 This same code is used internally to decode the
2279 sambaMungedDial attribute value when using the ldapsam
2280 passdb backend. While we do not believe that the base64
2281 decoding routines used by the ldapsam passdb backend can
2282 be exploited, sites using an LDAP directory service with
2283 Samba are strongly encouraged to verify that the DIT only
2284 allows write access to sambaSamAccount attributes by a
2285 sufficiently authorized user.
2287 The Samba Team would like to heartily thank Evgeny Demidov
2288 for analyzing and reporting this bug.
2294 Affected Versions: Samba 3.0.0 and later
2296 A buffer overrun has been located in the code used to support
2297 the 'mangling method = hash' smb.conf option. Please be aware
2298 that the default setting for this parameter is 'mangling method
2299 = hash2' and therefore not vulnerable.
2301 Affected Samba 3 installations can avoid this possible security
2302 bug by using the default hash2 mangling method. Server
2303 installations requiring the hash mangling method are encouraged
2304 to upgrade to Samba 3.0.5.
2307 ##################################################################
2309 --------------------------------------------------
2311 =============================
2312 Release Notes for Samba 3.0.4
2314 =============================
2316 Common bugs fixed in Samba 3.0.4 include:
2318 o Password changing after applying the patch described in
2319 the Microsoft KB828741 article to Windows clients.
2321 o Managing print jobs via Windows on Big-Endian servers.
2322 o Several memory leaks in winbindd and smbd.
2323 o Compile issues on AIX and *BSD.
2326 --------------------
2331 o Jeremy Allison <jra@samba.org>
2332 * Fix path processing for DeletePrinterDriverEx().
2333 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
2337 o Andrew Bartlett <abartlet@samba.org>
2338 * Fix alignment bug in GetDomPwInfo().
2341 o Alexander Bokovoy <ab@samba.org>
2342 * Fix utime[s]() issues in smbwrapper on systems
2343 that can boot both the 2.4 and 2.6 Linux kernels.
2346 o Gerald Carter <jerry@samba.org>
2347 * Fedora packaging fixes.
2348 * BUG 1302: Fix seg fault by not trying to optimize a list of
2349 invalid gids using the wrong array size.
2350 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
2351 seen when 'security = share'.
2352 * Fix problems when using IBM's compiler on AIX.
2353 * Link Developer's Guide, Example Guide, and multi-page HOWTO
2354 into SWAT's welcome page.
2355 * BUG 1293: fix double free in printer publishing code.
2358 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
2359 * Fix for handling timeouts in socket connections.
2362 o Michel Gravey <michel.gravey@optogone.com>
2363 * BUG 483: patch from to fix password hash creation in SWAT.
2366 o Volker Lendecke <vl@samba.org>
2367 * Close the open NT pipes before the tdis.
2368 * Fix AFS related build issues.
2369 * Handle error conditions when base64 encoding a blob of 0 bytes.
2372 o Herb Lewis <herb@samba.org>
2373 * Added 'acls' debug class.
2375 o kawasa_r@itg.hitachi.co.jp
2376 * Multiple variable initialization and memory leak fixes.
2379 o Stephan Kulow <coolo@suse.de>
2380 * Fix string length bug in libsmbclient that caused KDE's
2382 * BUG 429: More libsmbclient fixes.
2385 o Jim McDonough <jmcd@us.ibm.com>
2386 * BUG 1007, 1279: Store the print job using a little-endian key.
2390 o Compile fix for OpenBSD (ENOTSUP not supported).
2393 o Stefan Metzmacher <metze@samba.org>
2394 * Correct bug in disks quota views from explorer.
2397 o Tim Potter <tpot@samba.org>
2398 BUG 1305: Correct debug output.
2401 o Richard Sharpe <rsharpe@samba.org>
2402 * Fix incorrect error code mapping.
2405 o Jelmer Vernooij <jelmer@samba.org>
2406 * Add additional NT_STATUS errorm mappings.
2409 --------------------------------------------------
2411 =============================
2412 Release Notes for Samba 3.0.3
2414 =============================
2417 Common bugs fixed in Samba 3.0.3 include:
2419 o Crash bugs and change notify issues in Samba's printing code.
2420 o Honoring secondary group membership on domain member servers.
2421 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
2422 o Substitution errors for %[UuGg] in smb.conf.
2423 o winbindd crashes when using ADS security mode.
2424 o SMB signing errors.
2425 o Delays in winbindd startup caused by unnecessary
2426 connections to trusted domain controllers.
2427 o Various small memory leaks.
2428 o Winbindd failing due to expired Kerberos tickets.
2430 New features introduced in Samba 3.0.3 include:
2432 o Improved support for i18n character sets.
2433 o Support for account lockout policy based on
2434 bad password attempts.
2435 o Improved support for long password changes (>14
2436 characters) and strong password enforcement.
2437 o Support for Windows aliases (i.e. nested groups).
2438 o Experimental support for storing DOS attribute on files
2439 and folders in Extended Attributes.
2440 o Support for local nested groups via winbindd.
2441 o Specifying options to be passed directly to the CUPS libraries.
2443 Please be aware that the Samba source code repository was
2444 migrated from CVS to Subversion on April 4, 2004. Details on
2445 accessing the Samba source tree via anonymous svn can be found
2446 at http://svn.samba.org/samba/subversion.html.
2449 Changes since 3.0.2a
2450 --------------------
2454 Parameter Name Action
2455 -------------- ------
2458 only user Deprecated
2459 store dos attributes New
2461 winbind nested groups New
2467 o Jeremy Allison <jra@samba.org>
2468 * Ensure that Kerberos mutex is always properly unlocked.
2469 * Removed Heimdal "in-memory keytab" support.
2470 * Fixup the 'multiple-vuids' bugs in our server code.
2471 * Correct return code from lsa_lookup_sids() on unmapped
2472 sids (based on work by vl@samba.org).
2473 * Fix the "too many fcntl locks" scalability problem
2475 * Fixup correct (as per W2K3) returns for lookupsids
2476 as well as lookupnames.
2477 * Fixups for delete-on-close semantics as per Win2k3 behavior.
2478 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
2479 * Fix "unable to initialize" bug when smbd hasn't been run with
2480 new system and a user is being added via pdbedit/smbpasswd.
2481 * Added NTrename SMB (0xA5).
2482 * Fixup correct timeout values for blocking lock timeouts.
2483 * Fix various bugs reported by 'gentest'.
2484 * More locking fixes in the case where we own the lock.
2485 * Fix up regression in IS_NAME_VALID and renames.
2486 * Don't set allocation size on directories.
2487 * Return correct error code on fail if file exists and target
2489 * Added client "hardlink" comment to test doing NT rename with
2490 hard links. Added hardlink_internals() code - UNIX extensions
2491 now use this as well.
2492 * Use a common function to parse all pathnames from the wire for
2493 much closer emulation of Win2k3 error return codes.
2494 * Implement check_path_syntax() and rewrite string sub
2495 functions for better multibyte support.
2496 * Ensure msdfs referrals are multibyte safe.
2497 * Allow msdfs symlink syntax to be more forgiving.
2498 eg. sym_link -> msdfs://server/share/path/in/share
2499 or sym_link -> msdfs:\\server\share\path\in\share.
2500 * Cleanup multibyte netbios name support in nmbd ( based on patch
2501 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
2502 * Fix check_path_syntax() for multibyte encodings which have
2503 no '\' as second byte (based on work by ab@samba.org.
2504 * Fix the "dfs self-referrals as anonymous user" problem
2505 (based on patch from vl@samba.org).
2506 * BUG 1064: Ensure truncate attribute checking is done correctly
2507 on "hidden" dot files.
2508 * Fix bug in anonymous dfs self-referrals again.
2509 * Fix get/set of EA's in client library
2510 * Added support for OS/2 EA's in smbd server.
2511 * Added 'ea support' parameter to smb.conf.
2512 * Added 'store dos attributes' parameter to smb.conf.
2513 * Fix wildcard identical rename.
2514 * Fix reply_ctemp - make compatible with w2k3.
2515 * Fix wildcard unlink.
2516 * Fix wildcard src with wildcard dest renames.
2517 * BUG 1139: Fix based on suggestion by jdev@panix.com.
2518 swap lookups for user and group - group will do an
2519 algorithmic lookup if it fails, user won't.
2520 * Make EA's lookups case independent.
2521 * Fix SETPATHINFO in 'unix extensions' support.
2522 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
2523 the UNIX info levels, and the short case preserve names.
2526 o Timur Bakeyev <timur@com.bat.ru>
2527 * BUG 1144: only set --with-fhs when the argument is 'yes'
2528 * BUG 1152: Allow python modules to build despite libraries added
2529 to LDFLAGS instead of LDPATH.
2530 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
2533 o Craig Barratt <cbarratt@users.sourceforge.net>
2534 * BUG 389: Allow multiple exclude arguments with smbclient
2535 tar -Xr options (better support for Amanda backup client).
2538 o Andrew Bartlett <abartlet@samba.org>
2539 * Include support for linking with cracklib for enforcing strong
2541 * Add support for >14 character password changes from Windows
2543 * Add 'admin set password' capability to 'net rpc'.
2544 * Allow 'net rpc samdump' to work with any joined domain
2545 regardless of smb.conf settings.
2546 * Use an allocated buffer for count_chars.
2547 * Add sanity checks for changes in the domain SID in an
2549 * Implement python unit tests for Samba's multibyte string
2551 * Remove 'unicode' smb.conf option.
2552 * BUG 1138: Fix support for 'optional' SMB signing and other
2554 * BUG 169: Fix NTLMv2-only behavior.
2555 * Ensure 'net' honors the 'netbios name' in the smb.conf by
2557 * Support SMB signing on connections using only the LANMAN
2558 password and generate the correct the 'session key' for these
2560 * Implement --required-membership-of=, an ntlm_auth option
2561 that restricts all authentication to members of this particular
2563 * Improve our fall back code for password changes.
2564 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
2565 after the server had said something (such as an error).
2566 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
2569 o Alexander Bokovoy <ab@samba.org>
2570 * Fix incorrect size calculation of the directory name
2572 * Fix problems with very long filenames in both smbd and smbclient
2573 caused by truncating paths during character conversions.
2574 * Fix smbfs problem with Tree Disconnect issued before smbfs
2578 o Gerald Carter <jerry@samba.org>
2579 * BUG 850: Fix 'make installmodules' bug on True64.
2580 * BUG 66: mark 'only user' deprecated.
2581 * Remove corrupt tdb and shutdown (only for printing tdbs,
2582 connections, sessionid & locking).
2583 * decrement smbd counter in connections.tdb in smb_panic().
2584 * RedHat specfile updates.
2585 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
2586 * BUG 1147; bad pointer case in get_stored_queue_info()
2588 * BUG 761: read the config file before initialized default
2589 values for printing options; don't default to bsd printing
2591 * Allow the 'printing' parameter to be set on a per share basis.
2592 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
2593 * BUG 848: don't create winbind local users/groups that already
2595 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
2597 * BUG 488: fix the 'show client in col 1' button and correctly
2598 enumerate active connections.
2599 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
2600 problem when storing the updating pid for the lpq cache.
2601 * BUG 1007 (partial): Fix print change notify bugs.
2602 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
2603 and winbind use default domain = yes. Also ensures that
2604 * BUG 1151: Ensure that winbindd users are passed through
2606 * Fix client rpc binds for ASU derived servers (pc netlink,
2608 * BUG 417, 1128: Ensure that the current_user_info is set
2609 consistently so that %[UuGg] is expanded correctly.
2610 * BUG 1195: Fix crash in winbindd when the ADS server is
2612 * BUG 1185: Set reconnect time to be the same as the
2613 'winbind cache time'.
2614 * Ensure that we return the sec_desc in smb_io_printer_info_2.
2615 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
2616 * BUG 1095: Honor the '-l' option in smbclient.
2617 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
2619 * Ensure server schannel uses the auth level requested by the
2621 * Removed --with-cracklib option due to potential crash issue.
2622 * Fix -lcrypto linking problem with wbinfo.
2623 * BUG 761: allow printing parameter to set defaults on a per
2625 * Add 'cups options' parameter to allow raw printing without
2626 changing /etc/cups/cupsd.conf.
2627 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
2629 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
2630 * BUG 1288: resolve any machine netbios name (0x00) and not just
2632 * BUG 1199: Fix potential symlink issue in
2633 examples/printing/smbprint.
2636 o Robert Dahlem <Robert.Dahlem@gmx.net>
2637 * BUG 1048: Don't return short names when when 'mangled names = no'
2640 o Guenther Deschner <gd@suse.com>
2641 * Remove hard coded attribute name in the ads ranged retrieval
2643 * Add --with-libdir and --with-mandir to autoconf script.
2646 o Bostjan Golob <golob@gimb.org>
2647 * BUG 1046: Fix getpwent_list() so that the username is not
2648 overwritten by other fields.
2651 o Landon Fuller <landonf@opendarwin.org>
2652 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
2653 to fix user/group enumeration on systems whose libc does not
2654 call setgrent() before trying to enumerate users (i.e.
2658 o Steve French <sfrench@us.ibm.com>
2659 * Update mount.cifs to version 1.1.
2660 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
2661 * Fixes to minor security bug in the mount helper.
2662 * Fix credential file mounting for cifs vfs.
2663 * Fix free of incremented pointer in cifsvfs mount helper.
2664 * Fix path canonicalization of the mount target path and help
2665 text display in the cifs mount helper.
2666 * Add missing guest mount option for mount.cifs.
2669 o SATOH Fumiyasu <fumiya@miraclelinux.com>
2670 * BUG 1055; formatting fixes for 'net share'.
2671 * BUG 692: correct truncation of share names and workgroup
2673 * BUG 1088: use strchr_m() for query_host (smbclient -L).
2674 * Patch from to internally count characters correctly.
2677 o Paul Green <paulg@samba.org>
2678 * Update VOS _POSIX_C_SOURCE macro to 200112L.
2679 * Fix bug in configure.ion by moving the first use of
2680 AC_CHECK_HEADERS so it is always executed.
2681 * Fix configure.in to only use $BLDSHARED to select whether to
2682 build static or shared libraries.
2685 o Pat Haywarrd <Pat.Hayward@propero.net>
2686 * Make the session_users list dynamic (max of 128K).
2689 o Cal Heldenbrand <calzplace@yahoo.com>
2690 * Fix for for 'pam_smbpass migrate' functionality.
2693 o Chris Hertel <crh@samba.org>
2694 * fix enumeration of shares 12 characters in length via
2698 o Ulrich Holeschak <ulrich@holeschak.de>
2699 * BUG 932: fix local password change using pam_smbpass
2702 o Krischan Jodies <kj@sernet.de>
2703 * Implement 'net rpc group delete'
2706 o John Klinger <john.klinger@lmco.com>
2707 * Return NSS_SUCCESS once the max number of gids possible
2708 has been found in initgroups() on Solaris.
2709 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
2712 o Volker Lendecke <vl@samba.org>
2713 * Fix success message for net groupmap modify.
2714 * Fix errors when enumerating members of groups in 'net rpc'.
2715 * Match Windows behavior in samr_lookup_names() by returning
2716 ALIAS(4) when you search in BUILTIN.
2717 * Fix server SAMR code to be able to set alias info for
2719 * Fix duplication of logic when creating groups via smbd.
2720 * Ensure that the HWM values are set correctly after running
2722 * Add 'net rpc group add'.
2723 * Implement 'net groupmap set' and 'net groupmap cleanup'.
2724 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
2725 * Fix wb_delgrpmem (wbinfo -o).
2726 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
2727 * Fix sambaUserWorkstations on a Samba DC.
2728 * Implement wbinfo -k: Have winbind generate an AFS token after
2729 authenticating the user.
2730 * Add expand_msdfs VFS module for providing referrals based on the
2731 the client's IP address.
2732 * Implement client side NETLOGON GetDCName function.
2733 * Fix caching of name->sid lookups.
2734 * Add support in winbindd for expanding nested local groups.
2735 * Fix memleak in winbindd.
2737 * Don't list domain groups from BUILTIN.
2738 * Fix memleak in policy handle utility functions.
2739 * Decrease winbindd startup time by only contacting trusted
2740 domains as necessary.
2741 * Allow winbindd to ask the DC for its domain for a trusted
2743 * Fix Netscape DS schema based on comments from
2744 <thomas.mueller@christ-wasser.de>.
2745 * Correct case where adding a domain user to a XP local group
2746 did a lsalookupname on the user without domain prefix, and
2748 * Fix segfault in winbindd caused by 'wbinfo -a'.
2751 o Herb Lewis <herb@samba.org>
2752 * Fix typo for tag in proto file.
2753 * Add missing #ifdef HAVE_BICONV stuff.
2754 * Truncate Samba's netbios name at the first '.' (not
2758 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
2759 * Bug fixes and enhancements to libsmbclient library.
2762 o Jianliang Lu <j.lu@tiesse.com>
2763 * Enforce the 'user must change password at next login' flag.
2764 * Decode meaning of 'fields present' flags (improves support
2767 * Don't force an upper case domain name in the ntlmssp code.
2770 o L. Lucius <ib@digicron.com>.
2774 o Jim McDonough <jmcd@us.ibm.com>
2775 * Add versioning support to tdbsam.
2776 * Update the IBM Directory Server schema with the OpenLDAP
2778 * Various decoding fixes to improve usrmgr.exe support.
2779 * Fix statfs redeclaration of statfs struct on ppc
2780 * Implement support for password lockout of Samba domain
2781 controllers and standalone servers.
2782 * Get MungedDial attribute actually working with full TS
2783 strings in it for pdb_ldap.
2784 * BUG 1208 (partial): Improvements for working with expired krb5
2785 tickets in winbindd.
2786 * Use timegm, or our already existing replacement instead of
2787 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
2788 * Remove modifyTimestamp from list of our attributes.
2789 * Fix lsalookupnames to check for domain users as well as local
2791 * Merge struct uuid replacement for GUID from trunk.
2792 * BUG 1208: Finish support for handling expired tickets in
2793 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
2796 o Stefan Metzmacher <metze@samba.org>
2797 * Implement new VERSION schema based on subversion revision
2799 * Add shadow_copy vfs module.
2800 * Fix segault in login_cache support.
2803 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
2804 o BUG 979 -- Fix quota display on AIX.
2807 o James Peach <jpeach@sgi.com>
2808 * Correct check for printf() format when using the SGI MIPSPro
2810 * BUG 1038: support backtrace for 'panic action' on IRIX.
2811 * BUG 768: Accept profileing arg to IRIX init script.
2812 * BUG 748: Relax arg parsing to sambalp script (IRIX).
2813 * BUG 758: Fix pdma build.
2814 * Search IRIX ABI paths for libiconv. Based on initial fix from
2818 o Kurt Pfeifle <kpfeifle@danka.de>
2819 * Add example shell script for migrating drivers and printers
2820 from a Windows print server to a Samba print server using
2821 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
2824 o Tim Potter <tpot@samba.org>
2825 * Fix logic bug in tdb non-blocking lock routines when
2827 * BUG 1025: Include sys/acl.h in check for broken nisplus
2829 * BUG 1066: s/printf/d_printf/g in SWAT.
2830 * BUG 1098: rename internal msleep() function to fix build
2832 * BUG 1112: Fix for writable printerdata problem in python bindings.
2833 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
2834 * BUG 1155: enclose use of fchown() with guards.
2835 * Relicense tdb python module as LGPL.
2838 o Richard Sharpe <rsharpe@samba.org>
2839 * Add support to smbclient for multiple logins on the same
2840 session (based on work by abartlet@samba.org).
2841 * Correct blocking condition in smbd's use of accept() on IRIX.
2842 * Add support for printing out the MAC address on nmblookup.
2845 o Simo Sorce <idra@samba.org>
2846 * Replace unknown_3 with fields_present in SAMR code.
2847 * More length checks in strlcat().
2850 o Andrew Tridgell <tridge@samba.org>
2851 * Rewrote the AIX UESS backend for winbindd.
2852 * Fixed compilation with --enable-dmalloc.
2853 * Change tdb license to LGPL (see source/tdb/tdb.c).
2854 * Force winbindd to use schannel in clients connections to
2858 o Jelmer Vernooij <jelmer@samba.org>
2859 * Fix ETA Calculation when resuming downloads in smbget.
2860 * Add -O (for writing downloaded files to standard out)
2861 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
2862 * Fix syntax error in example mysql table
2865 o TAKEDA yasuma <yasuma@miraclelinux.com>
2866 * BUG 900: fix token processing in cmd_symlink, cmd_link,
2867 cmd_chown, cmd_chmod smbclient functions.
2870 o Shiro Yamada <shiro@miraclelinux.com>
2871 * BUG 1129: install image files for SWAT.
2874 --------------------------------------------------
2876 ==============================
2877 Release Notes for Samba 3.0.2a
2879 ==============================
2881 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
2882 to address, in particular, a problem when using pdbedit to
2883 sanitize (--force-initialized-passwords) Samba's tdbsam
2884 backend. This is the latest stable release of Samba. This
2885 is the version that all production Samba servers should be
2886 running for all current bug-fixes.
2888 ******************* Attention! Achtung! Kree! *********************
2890 Beginning with Samba 3.0.2, passwords for accounts with a last
2891 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
2892 ldapsam, etc...) of zero (0) will be regarded as uninitialized
2893 strings. This will cause authentication to fail for such
2894 accounts. If you have valid passwords that meet this criteria,
2895 you must update the last change time to a non-zero value. If you
2896 do not, then 'pdbedit --force-initialized-passwords' will disable
2897 these accounts and reset the password hashes to a string of X's.
2899 ******************* Attention! Achtung! Kree! *********************
2908 Please refer to the CVS log for the SAMBA_3_0 branch for complete
2909 details. The list of changes per contributor are as follows:
2912 o Jeremy Allison <jra@samba.org>
2913 * Added paranoia checks in parsing code.
2916 o Andrew Bartlett <abartlet@samba.org>
2917 * Ensure that changes to uninitialized passwords in ldapsam
2918 are written to the DIT.
2921 o Gerald (Jerry) Carter <jerry@samba.org>
2922 * Fixed iterator in tdbsam.
2923 * Fix bug that disabled accounts with a valid NT password
2924 hash, but no LanMan hash.
2927 o Steve French <sfrench@us.ibm.com>
2928 * Added missing nosetuid and noexec options.
2931 o Bostjan Golob <golob@gimb.org>
2932 * BUG 1046: Don't overwrite usernames of entries returned
2936 o Sebastian Krahmer <krahmer@suse.de>
2937 * Fixed potential crash bug in NTLMSSP parsing code.
2940 o Tim Potter <tpot@samba.org>
2941 * Fixed logic in tdb_brlock error checking.
2944 o Urban Widmark <urban@teststation.com>
2945 * Set nosuid,nodev flags in smbmnt by default.
2948 --------------------------------------------------
2950 =============================
2951 Release Notes for Samba 3.0.2
2953 =============================
2955 It has been confirmed that previous versions of Samba 3.0 are
2956 susceptible to a password initialization bug that could grant an
2957 attacker unauthorized access to a user account created by the
2958 mksmbpasswd.sh shell script.
2960 The Common Vulnerabilities and Exposures project (cve.mitre.org)
2961 has assigned the name CAN-2004-0082 to this issue.
2963 Samba administrators not wishing to upgrade to the current
2964 version should download the 3.0.2 release, build the pdbedit
2967 root# pdbedit-3.0.2 --force-initialized-passwords
2969 This will disable all accounts not possessing a valid password
2970 (e.g. the password field has been set a string of X's).
2972 Samba servers running 3.0.2 are not vulnerable to this bug
2973 regardless of whether or not pdbedit has been used to sanitize
2976 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
2979 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
2980 o Logging onto a Samba domain from Windows XP clients.
2981 o Problems with the %U and %u smb.conf variables in relation to
2982 Windows 9x/ME clients.
2983 o Kerberos failures due to an invalid in memory keytab detection
2985 o Updates to the ntlm_auth tool.
2986 o Fixes for various SMB signing errors.
2987 o Better separation of WINS and DNS queries for domain controllers.
2988 o Issues with nss_winbind FreeBSD and Solaris.
2989 o Several crash bugs in smbd and winbindd.
2990 o Output formatting fixes for smbclient for better compatibility
2991 with scripts based on the 2.2 version.
3000 Parameter Name Action
3001 -------------- ------
3002 ldap replication sleep New
3003 read size removed (unused)
3004 source environment removed (unused)
3010 Please refer to the CVS log for the SAMBA_3_0 branch for complete
3011 details. The list of changes per contributor are as follows:
3013 o Jeremy Allison <jra@samba.org>
3014 * Revert change that broke Exchange clear text samlogons.
3015 * Fix gcc 3.4 warning in MS-DFS code.
3016 * Tidy up of NTLMSSP code.
3017 * Fixes for SMB signing errors
3018 * BUG 815: Workaround NT4 bug to support plaintext
3019 password logins and UNICODE.
3020 * Fix SMB signing bug when copying large files.
3021 * Correct error logic in mkdir_internals() (caused a panic
3022 when combined with --enable-developer).
3023 * BUG 830: Protect against crashes due to bad character
3027 o Petri Asikainen <paca@sci.fi>
3028 * BUG 330, 387:Fix single valued attribute updates when
3029 working with Novell NDS.
3032 o Andrew Bartlett <abartlet@samba.org>
3033 * Correctly handle per-pipe NTLMSSP inside a NULL session.
3034 * Fix segfault in gencache
3035 * Fix early free() of encrypted_session_key.
3036 * Change DC lookup routines to more carefully separate
3037 DNS names (realms) from NetBIOS domain names.
3038 * Add new sid_to_dn() function for internal winbindd use.
3039 * Refactor cli_ds_enum_domain_trusts().
3040 * BUG 707: Implement range retrieval of ADS attributes (based
3041 on work from Volker <vl@samba.org> and Guenther Deschner
3043 * Automatically initialize the signing engine if a session key
3045 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
3046 encoded strings, only form input in SWAT.
3047 * Resets the NTLMSSP state for new negotiate packets.
3048 * Add 2-byte alignments in net_samlogon() queries to parse
3049 odd-length plain text passwords.
3050 * Allow Windows groups with no members in winbindd.
3051 * Allow normal authentication in the absence of a server
3052 generated session key.
3053 * More optimizations for looking up UNIX group lists.
3054 * Clean up error codes and return values for pam_winbindd
3055 and winbindd PAM interface.
3056 * Fix string return values in ntlm_auth tool.
3057 * Fix segfault when 'security = ads' but no realm is defined.
3058 * BUG 722: Allow winbindd to map machine accounts to uids.
3059 * More cleanups for winbindd's find_our_domain().
3060 * More clearly detect whether a domain controller is an NT4
3061 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
3062 * Increase separation between DNS queries for hosts and queries
3063 for AD domain controllers.
3064 * Include additional NT_STATUS to PAM error mappings.
3065 * Password initialization fixes.
3068 o Justin Baugh <justin.baugh@request.com>
3069 * BUG 948: Implement missing functions required for FreeBSD
3070 nss_winbind support.
3073 o Alexander Bokovoy <ab@samba.org>
3074 * BUG 922: Make sure enable fast path for strlower_m() and
3078 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
3079 * Fix crash when using 'security = server' and 'encrypt
3080 passwords = no' by always initializing the session key.
3083 o Dmitry Butskoj <buc@odusz.elektra.ru>
3084 * Fix for special files being hidden from admins.
3087 o Gerald (Jerry) Carter <jerry@samba.org>
3088 * Fix bug in the lanman session key generation. Caused
3089 "decode_pw: incorrect password length" error messages.
3090 * Save the right case for the located user name in
3091 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
3092 * BUG 897: Add well known rid for pre win2k compatible access
3094 * BUG 887: Correct typo in delete user script example.
3095 * Use short lived TALLOC_CTX* for allocating printer objects
3096 from the print handle cache.
3097 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
3098 * Fix several warnings reported by the SUN Forte C compiler.
3099 * Fully control DNS queries for AD DC's using 'name resolve order'.
3100 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
3101 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
3102 * BUG 936: fix bind credentials for schannel binds in smbd.
3103 * BUG 446: Fix output of smbclient for better compatibility
3104 with scripts based on the 2.2 version (including Amanda).
3105 * BUG 891, 949: Fedora packaging fixes.
3106 * Fix bug that caused rpcclient to incorrectly retrieve
3107 the SID for a server (this causing all calls that required
3108 this information to fail).
3109 * BUG 977: Don't create a homes share for a user if a static
3110 share already exists by the same name.
3111 * Removed unused smb.conf options.
3112 * Password initialization fixes.
3113 * Set the disable flag for template accounts created by
3115 * Disable any account has no passwords and does not have the
3116 ACB_PWNOTREQ bit set.
3119 o Guenther Deschner <gd@suse.com>
3120 * Install smbwrapper.so should be put into the $(libdir)
3122 * Add the capability to specify the new user password
3123 for "net ads password" on the command line.
3124 * Correctly detect AFS headers on SuSE.
3127 o James Flemer <jflemer@uvm.edu>
3128 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
3129 HAVE_SYS_ATTRIBUTES_H.
3132 o Luke Howard <lukeh@PADL.COM>
3133 * Fix segfault in session setup reply caused by a early free().
3136 o Stoian Ivanov <sdr@bultra.com>
3137 * Implement grepable output for smbclient -L.
3140 o LaMont Jones <lamont@debian.org>
3141 * BUG 225328 (Debian): Correct false failure LFS test that resulted
3142 in _GNU_SOURCE not being defined (thus resulting in strndup()
3146 o Volker Lendecke <vl@samba.org>
3147 * BUG 583: Ensure that user names always contain the short
3148 version of the domain name.
3149 * Fix our parsing of the LDAP uri.
3150 * Don't show the 'afs username map' in the SWAT basic view.
3151 * Fix SMB signing issues in relation to failed NTLMSSP logins.
3152 * BUG 924: Fix return codes in smbtorture harness.
3153 * Always lower-case usernames before handing it to AFS code.
3154 * Add a German translation for SWAT.
3155 * Fix a segfaults in winbindd.
3156 * Fix the user's domain passed to register_vuid() from
3157 reply_spnego_kerberos().
3158 * Add NSS example code in nss_winbind to convert UNIX
3159 id's <-> Windows SIDs.
3160 * Display more descriptive error messages for login via 'net'.
3161 * Fix compiler warning in the net tool.
3162 * Fix length bug when decoding base64 strings.
3163 * Ensure we don't call getpwnam() inside a loop that is iterating
3164 over users with getpwent(). This broke on glibc 2.3.2.
3167 o Herb Lewis <herb@samba.org>
3168 * Fix bit rot in psec.
3171 o Jianliang Lu <j.lu@tiesse.com>
3172 * Ensure we delete the group mapping before calling the delete
3174 * Define well known RID for managing the "Power Users" group.
3175 * BUG 381: check builtin (not local) group SID when updating
3177 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
3181 o John Klinger <john.klinger@lmco.com>
3182 * Implement initgroups() call in nss_winbind on Solaris.
3185 o Jim McDonough <jmcd@us.ibm.com>
3186 * Fix regression in net rpc join caused by recent changes
3187 to cli_lsa_query_info_policy().
3188 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
3192 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
3193 * BUG 570: Ensure that configure honors the LDFLAGS variable.
3196 o Stefan Metzmacher <metze@samba.org>
3197 * Implement LDAP rebind sleep patch.
3198 * Revert to 2.2 quota code because of so many broken quota files
3200 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
3201 XFS_USER_QUOTA -> USRQUOTA
3202 XFS_GROUP_QUOTA -> GRPQUOTA
3203 * Fix disk_free calculation with group quotas.
3204 * Add debug class 'quota' and a lot of DEBUG()'s
3206 * Fix sys_chown() when no chown() is present.
3207 * Add SIGABRT to fault handling in order to catch got a
3208 backtrace if an error occurs the OpenLDAP client libs.
3212 * Allow an existing LDAP machine account to be re-used when
3213 joining an AD domain.
3216 o James Peach <jpeach@sgi.com>
3217 * BUG 889: Change smbd to use pread/pwrite on platforms that
3218 support these calls. Can lead to a significant speed increase.
3221 o Tim Potter <tpot@samba.org>
3222 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
3223 * BUG 924: Fix typo in RW2 torture test.
3226 o Richard Sharpe <rsharpe@samba.org>
3227 * Small fixes to torture.c to cleanup the error handling
3228 and prevent crashes.
3231 o J. Tournier <jerome.tournier@IDEALX.com>
3232 * Small fixes for the smbldap-tool scripts.
3235 o Andrew Tridgell <tridge@samba.org>
3236 * Fix src len check in pull_usc2().
3239 o Jelmer Vernooij <jelmer@samba.org>
3240 * Put functions for generating SQL queries in pdb_sql.c
3241 * Add pgSQL backend (based on patch by Hamish Friedlander)
3242 * BUG 908: Fix -s option to smbcontrol.
3243 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
3244 * Fix for libnss_wins on IRIX platforms.
3245 * Fix swatdir for --with-fhs.
3248 --------------------------------------------------
3250 =============================
3251 Release Notes for Samba 3.0.1
3253 =============================
3255 Some of the more common bugs in 3.0.0 addressed in the release
3258 o Substitution problems with smb.conf variables.
3259 o Errors in return codes which caused some applications
3260 to fail to open files.
3261 o General Protection Faults on Windows 2000/XP clients
3262 using Samba point-n-print features.
3263 o Several miscellaneous crash bugs.
3264 o Access problems when enumerating group mappings are
3265 stored in an LDAP Directory.
3266 o Several common SWAT bugs when writing changes to
3268 o Internal inconsistencies when 'winbind use default
3274 ----------------------
3276 Parameter Name Action
3277 -------------- ------
3278 hide local users Removed
3279 mangled map Deprecated
3280 mangled stack Removed
3281 passwd chat timeout New
3287 o Change the interface for init_unistr2 to not take a length
3288 but a flags field. We were assuming that
3289 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
3290 o Allow d_printf() to handle strings with escaped quotation
3291 marks since the msg file includes the escape character (bug 489).
3292 o Fix bad html table row termination in SWAT wizard code (bug 413).
3293 o Fix to parse the level-2 strings.
3294 o Fix for "valid users = %S" in [homes]. Fix read/write
3296 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
3297 This is the same way AC_CHECK_LIB works (bug 508).
3298 o Testparm output fixes for clarity.
3299 o Fix broken wins hook functionality -- i18n bug (bug 528).
3300 o Take care of condition where DOS and NT error codes must differ.
3301 o Default to using only built-in charsets when a working iconv
3302 implementation cannot be located.
3303 o Wrap internals of sys_setgroups() so the sys_XX() call can
3304 be done unconditionally (bug 550).
3305 o Remove duplicate smbspool link on SWAT's front page (bug 541).
3306 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
3307 --enable-debug=[yes|no] works correctly.
3308 o Allow ^C to interrupt smbpasswd if using our getpass
3309 (e.g. smbpasswd command).
3310 o Support signing only on RPC's (bug 167).
3311 o Correct bug that prevented Excel 2000 clients from opening
3312 files marked as read-only.
3313 o Portability fix bugs 546 - 549).
3314 o Explicitly initialize the value of AR for vendor makes that don't
3315 do this (e.g. HPUX 11). (bug 552).
3316 o More i18n fixes for SWAT (bug 413).
3317 o Change the cwd before the postexec script to ensure that a
3318 umount will succeed.
3319 o Correct double free that caused winbindd to crash when a DC
3320 is rebooted (bug 437).
3321 o Fix incorrect mode sum (bug 562).
3322 o Canonicalize SMB_INFO_ALLOCATION in the same was as
3323 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
3324 o Add script to generate *msg files.
3325 o Add Dutch SWAT translation file.
3326 o Make sure to call get_user_groups() with the full winbindd
3327 name for a user if he/she has one (bug 406).
3328 o Fix up error code returns from Samba4 tester. Ensure invalid
3329 paths are validated the same way.
3330 o Allow Samba3 to pass the Samba4 RAW-READ tests.
3331 o Refuse to configure if --with-expsam=$BACKEND was used but no
3332 libraries were found for $BACKEND.
3333 o Move sysquotas autoconf tests to a separate file.
3334 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
3336 o Make sure that the files that contain the static_init_$subsystem;
3337 macro get recompiled after configure by removing the object
3339 o Ensure canceling a blocking lock returns the correct error
3341 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
3342 o Updated Japanese welcome file in SWAT.
3343 o Fix to nt-time <-> unix-time functions reversible.
3344 o Ensure that winbindd uses the the escaped DN when querying
3346 o Fix portability issues when compiling (bug 505, 550)
3347 o Compile fix for tdbbackup when Samba needs to override
3348 non-C99 compliant implementations of snprintf().
3349 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
3350 o Make sure we break out of samsync loop on error.
3351 o Ensure error code path doesn't free unmalloc()'d memory
3353 o Add configure test for krb5_keytab_entry keyblock vs key
3356 o Modified testparm so that all output so all debug output goes
3357 to stderr, and all file processing goes to stdout.
3358 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
3360 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
3361 we have a devmode before copying a string to the devicename.
3362 o Support mapping REALM.COM\user to a local user account (without
3363 running winbindd) for compatibility with 2.2.x release.
3364 o Ensure we don't use mmap() on blacklisted systems.
3365 o fixed a number of bugs and memory leaks in the AIX
3367 o Call initgroups() in SWAT before becomming the user so that
3368 secondary group permissions can be used when writing to
3370 o Fix signing problems when reverse connecting back to a
3371 client for printer notify
3372 o Fix signing problems caused by a miss-sequence bug.
3373 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
3374 Fixes NEXUS tools running on Win9x clients (bug 64).
3375 o Don't leave the domain field uninitialized in cli_lsa.c if some
3376 SID could not be mapped.
3377 o Fix segfault in mount.cifs helper when there is no options
3378 specified during mount.
3379 o Change the \n after the password prompt to go to tty instead
3380 of stdout (bug 668).
3381 o Stop net -P from prompting for machine account password (bug 451).
3382 o Change in behavior to Not only change the effective uid but also
3383 the real uid when becoming unprivileged.
3384 o Cope with Exchange 5.5 cleartext pop password auth.
3385 o New files for support of initshutdown pipe. Win2k doesn't
3386 respond properly to all requests on the winreg pipe, so we need
3387 to handle this new pipe (bug 534).
3388 o Added more va_copy() checks in configure.in.
3389 o Include fixes for libsmbclient build problems.
3390 o Missing UNIX -> DOS codepage conversion in lanman.c.
3391 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
3392 o Parameterize the listen backlog in smbd and make it larger by
3393 default. A backlog of 5 is way too small these days.
3394 o Check for an invalid fid before dereferencing the fsp pointer
3396 o Remove invalid memory frees and return codes in pdb_ldap.c.
3397 o Prompt for password when invoking --set-auth-user and no
3399 o Bind the nmbd sending socket to the 'socket address'.
3400 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
3401 $LDFLAGS occurs before any library specification (bug 661).
3402 o Fix large number of printf() calls for 64-bit size_t.
3403 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
3404 keyblock in the krb5 structs.
3405 o Remove #include <compat.h> in hopes to avoid problems with
3406 apache header files.
3407 o Correct winbindd build problems on HP-UX 11.
3408 o Lowercase netgroups lookups (bug 703).
3409 o Use the actual size of the buffer in strftime instead of a made
3410 up value which just happens to be less than sizeof(fstring).
3412 o Add ldaplibs to pdbedit link line (bug 651).
3413 o Fix crash bug in smbclient completion (bug 659).
3414 o Fix packet length for browse list reply (bug 771).
3415 o Fix coredump in cli_get_backup_list().
3416 o Make sure that we expand %N (bug 612).
3417 o Allow rpcclient adddriver command to specify printer driver
3419 o Compile tdbdump by default.
3420 o Apply patches to fix iconv detection for FreeBSD.
3421 o Do not allow the 'guest account' to be added to a passdb backend
3422 using smbpasswd or pdbedit (bug 624).
3423 o Save LDFLAGS during iconv detection (bug 57).
3424 o Run krb5 logins through the username map if the winbindd
3425 lookup fails (bug 698).
3426 o Add const for lp_set_name_resolve_order() to avoid compiler
3428 o Add support for the %i macro in smb.conf to stand in for the for
3429 the local IP address to which a client connected.
3430 o Allow winbindd to match local accounts to domain SID when
3431 'winbind trusted domains only = yes' (bug 680).
3432 o Remove code in idmap_ldap that searches the user suffix and group
3433 suffix. It's not needed and provides inconsistent functionality
3434 from the tdb backend.
3435 o Patch to handle munged dial string for Windows 2000 TSE.
3436 Thanks to Gaz de France, Direction de la Recherche, Service
3437 Informatique Métier for their supporting this work by Aurelien
3438 Degrémont <adegremont@idealx.com>.
3439 o Correct the "smbldap_open: cannot access when not root error"
3440 messages when looking up group information (bug 281).
3441 o Skip over the winbind separator when looking up a user.
3442 This fixes the bug that prevented local users from
3443 matching an AD user when not running winbindd (bug 698).
3444 o Fix a problem with configure on *BSD systems. Make sure
3445 we add -liconv etc to LDFLAGS.
3446 o Fix core dump bug when "security = server" and the authentication
3448 o Correct crash bug due to an empty munged dial string.
3449 o Show files locked by a specific user (smbstatus -u 'user')
3451 o Fix bug preventing print jobs from display in the queue
3452 monitor used by Windows NT and later clients (bug 660).
3453 o Fix several reported problems with point-n-print from
3454 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
3455 reply (bug 338, 527 & 643).
3456 o Fix a handful of potential memory leaks in the LDAP code used
3457 by ldapsam[_compat] and the LDAP idmap backend.
3458 o Fix for pdbedit error code returns (bug 763).
3459 o Make sure we only enumerate group mapping entries (not
3460 /etc/group) even when doing local aliases.
3461 o Relax check on the pipe name in a dce/rpc bind response to work
3462 around issues with establishing trusts to a Windows 2003 domain.
3463 o Ensure we mangle names ending in '.' in hash2 mangling method.
3464 o Correct parsing issues with munged dial string.
3465 o Fix bugs in quota support for XFS.
3466 o Add a cleaner method for applications that need to provide
3467 name->SID mappings to do this via NSS rather than having to
3468 know the winbindd pipe protocol.
3469 o Adds a variant of the winbindd_getgroups() call called
3470 winbindd_getusersids() that provides direct SID->SIDs listing of
3471 a users supplementary groups. This is enough to allow non-Samba
3472 applications to do ACL checking.
3473 o Make sure we don't append the 'ldap suffix' when writing out the
3474 'ldap XXX suffix' values in SWAT (bug 328).
3475 o Fix renames across file systems.
3476 o Ensure that items in a list of strings containing whitespace are
3477 written out surrounded by single quotes. This means that both
3478 double and single quotes are now used to surround strings in
3480 o Enable SWAT to correctly determine if winbindd is running (bug
3482 o Include WWW-Authenticate field in 401 response for bad auth
3484 o Add support for NTLM2 (NTLMv2 session security).
3485 o Add support for variable-length session keys.
3486 o More privilege fixes for group enumeration in LDAP (bug 281).
3487 o Use the dns name (or IP) as the originating client name when
3488 using CUPS (bug 467).
3489 o Fix various SMB signing bugs.
3490 o Fix ACL propagation on a DFS root (bug 263).
3491 o Disable NTLM2 for RPC pipes.
3492 o Allow the client to specify the NTLM2 flags got NTLMSSP
3494 o Change the name of the job passed off to cups from "Test Page"
3495 to "smbprn.00000033 Test Page" so that we can get the smb
3496 jobid back. This allow users to delete jobs with cups printing
3497 backend (partial work on bug 770).
3498 o Fix build of winbindd with static pdb modules.
3499 o Retrieve the correct ACL group bits if the file has an ACL
3501 o Implement "net rpc group members": Get members of a domain group
3502 in human-readable format.
3503 o Add MacOSX (Darwin) specific charset module code.
3504 o Use samr_dispinfo(level == 1) for enumerating domain users so we
3505 can include the full name in gecos field (bug 587).
3506 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
3507 o Implement 'net rpc group list [global|local|builtin]*' for a
3508 select listing of the respective user databases.
3509 o Don't automatically set NT status code flag unless client tells
3511 o Add 'net status [sessions|shares] [parseable]'.
3512 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
3514 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
3516 o Fix inverted logic in hosts allow/deny checks caused by
3517 s/strcmp/strequal/ (bug 846).
3518 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
3519 o Fix typo in 'hash' mangling algorithm.
3520 o Support munged dial for ldapsam (bug 800).
3521 o Fix process_incoming_data() to return the number of bytes handled
3522 this call whether we have a complete PDU or not; fixes bug
3523 with multiple PDU request rpc's broken over SMBwriteX calls
3525 o Fix incorrect smb flags2 for connections to pre-NT servers
3526 (causes smbclient to fail to OS2 for example) (bug 821).
3527 o Update version string in smbldap-tools Makefile to 0.8.2.
3528 o Correct a problem with "net rpc vampire" mis-parsing the
3529 alias member info reply.
3530 o Ensure the ${libdir} is created by the installclientlib script.
3531 o Fix detection of Windows 2003 client architecture in the smb.conf
3533 o Ensure that smbd calls the add user script for a missing UNIX
3534 user on kerberos auth call (bug 445).
3535 o Fix bugs in hosts allow/deny when using a mismatched
3536 network/netmask pair.
3537 o Protect alloc_sub_basic() from crashing when the source string
3538 is NULL (partial work on bug 687).
3539 o Fix spinlocks on IRIX.
3540 o Corrected some bad destination paths when running "configure
3542 o Add packaging files for Fedora Core 1.
3543 o Correct bug in SWAT install script for non-english languages.
3544 o Support character set ISO-8859-1 internally (bug 558).
3545 o Fixed more LDAP access errors when looking up group mappings
3547 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
3548 resolution to fail on local files on on domain members
3550 o Fix uninitialized variable in passdb.c.
3551 o Fix formal parameter type in get_static() in nsswitch/wins.c.
3552 o Fix problem mounting directories when mount.cifs is installed
3553 with the setuid bit on.
3554 o Fix bug that prevent --mandir from overriding the defaults
3555 given in the --with-fhs macro.
3556 o Fix bug in in-memory Kerberos keytab detection routines
3561 ######################################################################
3563 The original 3.0.0 release notes follow
3564 =======================================
3565 WHATS NEW IN Samba 3.0.0
3567 =======================================
3573 1) Active Directory support. Samba 3.0 is now able to
3574 join a ADS realm as a member server and authenticate
3575 users using LDAP/Kerberos.
3577 2) Unicode support. Samba will now negotiate UNICODE on the wire
3578 and internally there is now a much better infrastructure for
3579 multi-byte and UNICODE character sets.
3581 3) New authentication system. The internal authentication system
3582 has been almost completely rewritten. Most of the changes are
3583 internal, but the new auth system is also very configurable.
3585 4) New default filename mangling system.
3587 5) A new "net" command has been added. It is somewhat similar to
3588 the "net" command in windows. Eventually we plan to replace
3589 numerous other utilities (such as smbpasswd) with subcommands
3592 6) Samba now negotiates NT-style status32 codes on the wire. This
3593 improves error handling a lot.
3595 7) Better Windows 2000/XP/2003 printing support including publishing
3596 printer attributes in active directory.
3598 8) New loadable module support for passdb backends and character
3601 9) New default dual-daemon winbindd support for better performance.
3603 10) Support for migrating from a Windows NT 4.0 domain to a Samba
3604 domain and maintaining user, group and domain SIDs.
3606 11) Support for establishing trust relationships with Windows NT 4.0
3609 12) Initial support for a distributed Winbind architecture using
3610 an LDAP directory for storing SID to uid/gid mappings.
3612 13) Major updates to the Samba documentation tree.
3614 14) Full support for client and server SMB signing to ensure
3615 compatibility with default Windows 2003 security settings.
3617 15) Improvement of ACL mapping features based on code donated by
3618 Andreas Grünbacher.
3621 Plus lots of other improvements!
3624 Additional Documentation
3625 ------------------------
3627 Please refer to Samba documentation tree (included in the docs/
3628 subdirectory) for extensive explanations of installing, configuring
3629 and maintaining Samba 3.0 servers and clients. It is advised to
3630 begin with the Samba-HOWTO-Collection for overviews and specific
3631 tasks (the current book is up to approximately 400 pages) and to
3632 refer to the various man pages for information on individual options.
3634 We are very glad to be able to include the second edition of
3635 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
3636 (O'Reilly & Associates) in this release. The book is available
3637 on-line at http://samba.org/samba/docs/ and is included with
3638 the Samba Web Administration Tool (SWAT). Thanks to the authors and
3639 publisher for making "Using Samba" under the GNU Free Documentation
3643 ######################################################################
3644 Upgrading from a previous Samba 3.0 beta
3645 ########################################
3647 Beginning with Samba 3.0.0beta3, the RID allocation functions
3648 have been moved into winbindd. Previously these were handled
3649 by each passdb backend. This means that winbindd must be running
3650 to automatically allocate RIDs for users and/or groups. Otherwise,
3651 smbd will use the 2.2 algorithm for generating new RIDs.
3653 If you are using 'passdb backend = tdbsam' with a previous Samba
3654 3.0 beta release (or possibly alpha), it may be necessary to
3655 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
3656 to winbindd_idmap.tdb. To do this:
3658 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
3660 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
3662 3) run: (note that 'tdb>' is the tool's prompt for input)
3664 root# ./tdbtool /usr/local/samba/private/passdb.tdb
3665 tdb> show RID_COUNTER
3669 [000] 0A 52 00 00 .R.
3671 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
3675 If you are using 'passdb backend = ldapsam', it will be necessary to
3676 store idmap entries in the LDAP directory as well (i.e. idmap backend
3677 = ldap). Refer to the 'net idmap' command for more information on
3678 migrating SID<->UNIX id mappings from one backend to another.
3680 If the RID_COUNTER record does not exist, then these instructions are
3681 unneccessary and the new RID_COUNTER record will be correctly generated
3686 ########################
3687 Upgrading from Samba 2.2
3688 ########################
3690 This section is provided to help administrators understand the details
3691 involved with upgrading a Samba 2.2 server to Samba 3.0.
3697 Many of the options to the GNU autoconf script have been modified
3698 in the 3.0 release. The most noticeable are:
3700 * removal of --with-tdbsam (is now included by default; see section
3701 on passdb backends and authentication for more details)
3703 * --with-ldapsam is now on used to provided backward compatible
3704 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
3705 backend and authentication section for more details
3707 * inclusion of non-standard passdb modules may be enabled using
3708 --with-expsam. This includes an XML backend and a mysql backend.
3710 * removal of --with-msdfs (is now enabled by default)
3712 * removal of --with-ssl (no longer supported)
3714 * --with-utmp now defaults to 'yes' on supported systems
3716 * --with-sendfile-support is now enabled by default on supported
3723 This section contains a brief listing of changes to smb.conf options
3724 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
3725 complete descriptions of new or modified parameters.
3727 Removed Parameters (order alphabetically):
3730 * alternate permissions
3733 * code page directory
3735 * domain admin group
3736 * domain guest group
3737 * force unknown acl user
3743 * printer driver file
3744 * printer driver location
3746 * source environment
3754 New Parameters (new parameters have been grouped by function):
3758 * abort shutdown script
3761 User and Group Account Management
3762 ---------------------------------
3764 * add machine script
3765 * add user to group script
3766 * algorithmic rid base
3767 * delete group script
3768 * delete user from group script
3770 * set primary group script
3776 * passwd chat timeout
3780 * client lanman auth
3781 * client NTLMv2 auth
3787 * paranoid server security
3796 * hide special files
3797 * hide unwriteable files
3799 * kernel change notify
3809 * max reported print jobs
3811 UNICODE and Character Sets
3812 --------------------------
3818 SID to uid/gid Mappings
3819 -----------------------
3823 * winbind enable local accounts
3824 * winbind trusted domains only
3825 * template primary group
3826 * enable rid algorithm
3833 * ldap machine suffix
3835 * ldap replication sleep
3838 General Configuration
3839 ---------------------
3843 Modified Parameters (changes in behavior):
3845 * encrypt passwords (enabled by default)
3846 * mangling method (set to 'hash2' by default)
3849 * restrict anonymous (integer value)
3850 * security (new 'ads' value)
3851 * strict locking (enabled by default)
3852 * unix extensions (enabled by default)
3853 * winbind cache time (increased to 5 minutes)
3854 * winbind uid (deprecated in favor of 'idmap uid')
3855 * winbind gid (deprecated in favor of 'idmap gid')
3861 This section contains brief descriptions of any new databases
3862 introduced in Samba 3.0. Please remember to backup your existing
3863 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
3864 upgrade databases as they are opened (if necessary), but downgrading
3865 from 3.0 to 2.2 is an unsupported path.
3867 Name Description Backup?
3868 ---- ----------- -------
3869 account_policy User policy settings yes
3870 gencache Generic caching db no
3871 group_mapping Mapping table from Windows yes
3872 groups/SID to unix groups
3873 winbindd_idmap ID map table from SIDS to UNIX yes
3875 namecache Name resolution cache entries no
3876 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
3877 returned as part of a successful
3878 net_sam_logon request
3879 printing/*.tdb Cached output from 'lpq no
3880 command' created on a per print
3882 registry Read-only samba registry skeleton no
3883 that provides support for exporting
3884 various db tables via the winreg RPCs
3890 The following issues are known changes in behavior between Samba 2.2 and
3891 Samba 3.0 that may affect certain installations of Samba.
3893 1) When operating as a member of a Windows domain, Samba 2.2 would
3894 map any users authenticated by the remote DC to the 'guest account'
3895 if a uid could not be obtained via the getpwnam() call. Samba 3.0
3896 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
3897 current work around to re-establish the 2.2 behavior.
3899 2) When adding machines to a Samba 2.2 controlled domain, the
3900 'add user script' was used to create the UNIX identity of the
3901 machine trust account. Samba 3.0 introduces a new 'add machine
3902 script' that must be specified for this purpose. Samba 3.0 will
3903 not fall back to using the 'add user script' in the absence of
3904 an 'add machine script'
3907 ######################################################################
3908 Passdb Backends and Authentication
3909 ##################################
3911 There have been a few new changes that Samba administrators should be
3912 aware of when moving to Samba 3.0.
3914 1) encrypted passwords have been enabled by default in order to
3915 inter-operate better with out-of-the-box Windows client
3916 installations. This does mean that either (a) a samba account
3917 must be created for each user, or (b) 'encrypt passwords = no'
3918 must be explicitly defined in smb.conf.
3920 2) Inclusion of new 'security = ads' option for integration
3921 with an Active Directory domain using the native Windows
3922 Kerberos 5 and LDAP protocols.
3924 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
3925 type which is neccessary for servers on which the
3926 administrator password has not been changed, or kerberos-enabled
3927 SMB connections to servers that require Kerberos SMB signing.
3928 Besides this one difference, either MIT or Heimdal Kerberos
3929 distributions are usable by Samba 3.0.
3932 Samba 3.0 also includes the possibility of setting up chains
3933 of authentication methods (auth methods) and account storage
3934 backends (passdb backend). Please refer to the smb.conf(5)
3935 man page for details. While both parameters assume sane default
3936 values, it is likely that you will need to understand what the
3937 values actually mean in order to ensure Samba operates correctly.
3939 The recommended passdb backends at this time are
3941 * smbpasswd - 2.2 compatible flat file format
3942 * tdbsam - attribute rich database intended as an smbpasswd
3943 replacement for stand alone servers
3944 * ldapsam - attribute rich account storage and retrieval
3945 backend utilizing an LDAP directory.
3946 * ldapsam_compat - a 2.2 backward compatible LDAP account
3949 Certain functions of the smbpasswd(8) tool have been split between the
3950 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
3951 utility. See the respective man pages for details.
3954 ######################################################################
3958 This section outlines the new features affecting Samba / LDAP
3964 A new object class (sambaSamAccount) has been introduced to replace
3965 the old sambaAccount. This change aids us in the renaming of
3966 attributes to prevent clashes with attributes from other vendors.
3967 There is a conversion script (examples/LDAP/convertSambaAccount) to
3968 modify and LDIF file to the new schema.
3972 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
3973 $ convertSambaAccount --sid=<Domain SID> \
3974 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
3975 --changetype=[modify|add]
3977 The <DOM SID> can be obtained by running 'net getlocalsid
3978 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
3979 the format of the generated LDIF output--either create new entries
3980 or modify existing entries.
3982 The old sambaAccount schema may still be used by specifying the
3983 "ldapsam_compat" passdb backend. However, the sambaAccount and
3984 associated attributes have been moved to the historical section of
3985 the schema file and must be uncommented before use if needed.
3986 The 2.2 object class declaration for a sambaAccount has not changed
3987 in the 3.0 samba.schema file.
3989 Other new object classes and their uses include:
3991 * sambaDomain - domain information used to allocate rids
3992 for users and groups as necessary. The attributes are added
3993 in 'ldap suffix' directory entry automatically if
3994 an idmap uid/gid range has been set and the 'ldapsam'
3995 passdb backend has been selected.
3997 * sambaGroupMapping - an object representing the
3998 relationship between a posixGroup and a Windows
3999 group/SID. These entries are stored in the 'ldap
4000 group suffix' and managed by the 'net groupmap' command.
4002 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
4003 automatically and contains the next available 'idmap uid' and
4006 * sambaIdmapEntry - object storing a mapping between a
4007 SID and a UNIX uid/gid. These objects are created by the
4008 idmap_ldap module as needed.
4010 * sambaSidEntry - object representing a SID alone, as a Structural
4011 class on which to build the sambaIdmapEntry.
4014 New Suffix for Searching
4015 ------------------------
4017 The following new smb.conf parameters have been added to aid in directing
4018 certain LDAP queries when 'passdb backend = ldapsam://...' has been
4021 * ldap suffix - used to search for user and computer accounts
4022 * ldap user suffix - used to store user accounts
4023 * ldap machine suffix - used to store machine trust accounts
4024 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
4025 * ldap idmap suffix - location of sambaIdmapEntry objects
4027 If an 'ldap suffix' is defined, it will be appended to all of the
4028 remaining sub-suffix parameters. In this case, the order of the suffix
4029 listings in smb.conf is important. Always place the 'ldap suffix' first
4032 Due to a limitation in Samba's smb.conf parsing, you should not surround
4033 the DN's with quotation marks.
4039 Samba 3.0 supports an ldap backend for the idmap subsystem. The
4040 following options would inform Samba that the idmap table should be
4041 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
4046 idmap backend = ldap:ldap://onterose/
4047 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
4048 idmap uid = 40000-50000
4049 idmap gid = 40000-50000
4051 This configuration allows winbind installations on multiple servers to
4052 share a uid/gid number space, thus avoiding the interoperability problems
4053 with NFS that were present in Samba 2.2.
4057 ######################################################################
4058 Trust Relationships and a Samba Domain
4059 ######################################
4061 Samba 3.0.0beta2 is able to utilize winbindd as the means of
4062 allocating uids and gids to trusted users and groups. More
4063 information regarding Samba's support for establishing trust
4064 relationships can be found in the Samba-HOWTO-Collection included
4065 in the docs/ directory of this release.
4067 First create your Samba PDC and ensure that everything is
4068 working correctly before moving on the trusts.
4070 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
4071 4.0 domain named WINDOWS:
4073 1) create the trust account for SAMBA in "User Manager for Domains"
4074 2) connect the trust from the Samba domain using
4075 'net rpc trustdom establish GLASS'
4077 To create a trustlationship with SAMBA as the trusted domain:
4079 1) create the initial trust account for GLASS using
4080 'smbpasswd -a -i GLASS'. You may need to create a UNIX
4081 account for GLASS$ prior to this step (depending on your
4082 local configuration).
4083 2) connect the trust from a WINDOWS DC using "User Manager
4086 Now join winbindd on the Samba PDC to the SAMBA domain using
4087 the normal steps for adding a Samba server to an NT4 domain:
4088 (note that smbd & nmbd must be running at this point)
4090 root# net rpc join -U root
4091 Password: <enter root password from smbpasswd file here>
4093 Start winbindd and test the join with 'wbinfo -t'.
4095 Now test the trust relationship by connecting to the SAMBA DC
4096 (e.g. POGO) as a user from the WINDOWS domain:
4098 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
4101 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
4103 $ smbclient //crystal/netlogon -U root -W WINDOWS
4106 ######################################################################
4110 Beginning with Samba3.0.0beta3, winbindd has been given new account
4111 manage functionality equivalent to the 'add user script' family of
4112 smb.conf parameters. The idmap design has also been changed to
4113 centralize control of foreign SID lookups and matching to UNIX
4117 Brief Description of Changes
4118 ----------------------------
4120 1) The sid_to_uid() family of functions (smbd/uid.c) have been
4121 reverted to the 2.2.x design. This means that when resolving a
4122 SID to a UID or similar mapping:
4124 a) First consult winbindd
4125 b) perform a local lookup only if winbindd fails to
4126 return a successful answer
4128 There are some variations to this, but these two rules generally
4131 2) All idmap lookups have been moved into winbindd. This means that
4132 a server must run winbindd (and support NSS) in order to achieve
4133 any mappings of SID to dynamically allocated UNIX ids. This was
4134 a conscious design choice.
4136 3) New functions have been added to winbindd to emulate the 'add user
4137 script' family of smbd functions without requiring that external
4138 scripts be defined. This functionality is controlled by the 'winbind
4139 enable local accounts' smb.conf parameter (enabled by default).
4141 However, this account management functionality is only supported
4142 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
4143 must be shared among multiple Samba servers (such as a PDC and BDCs),
4144 it will be necessary to define your own 'add user script', et. al.
4145 programs that place the accounts/groups in some form of directory
4146 such as NIS or LDAP. This requirement was deemed beyond the scope
4147 of winbind's account management functions. Solutions for
4148 distributing UNIX system information have been deployed and tested
4149 for many years. We saw no need to reinvent the wheel.
4151 4) A member of a Samba controlled domain running winbindd is now able
4152 to map domain users directly onto existing UNIX accounts while still
4153 automatically creating accounts for trusted users and groups. This
4154 behavior is controlled by the 'winbind trusted domains only' smb.conf
4155 parameter (disabled by default to provide 2.2.x winbind behavior).
4157 5) Group mapping support is wrapped in the local_XX_to_XX() functions
4158 in smbd/uid.c. The reason that group mappings are not included
4159 in winbindd is because the purpose of Samba's group map is to
4160 match any Windows SID with an existing UNIX group. These UNIX
4161 groups can be created by winbindd (see next section), but the
4162 SID<->gid mapping is retreived by smbd, not winbindd.
4168 * security = server running winbindd to allocate accounts on demand
4170 * Samba PDC running winbindd to handle the automatic creation of UNIX
4171 identities for machine trust accounts
4173 * Automtically creating UNIX user and groups when migrating a Windows NT
4174 4.0 PDC to a Samba PDC. Winbindd must be running when executing
4175 'net rpc vampire' for this to work.
4178 ######################################################################
4182 * There are several bugs currently logged against the 3.0 codebase
4183 that affect the use of NT 4.0 GUI domain management tools when run
4184 against a Samba 3.0 PDC. This bugs should be released in an early
4187 Please refer to https://bugzilla.samba.org/ for a current list of bugs
4188 filed against the Samba 3.0 codebase.
4191 ######################################################################
4192 Reporting bugs & Development Discussion
4193 #######################################
4195 Please discuss this release on the samba-technical mailing list or by
4196 joining the #samba-technical IRC channel on irc.freenode.net.
4198 If you do report problems then please try to send high quality
4199 feedback. If you don't provide vital information to help us track down
4200 the problem then you will probably be ignored.
4202 A new bugzilla installation has been established to help support the
4203 Samba 3.0 community of users. This server, located at
4204 https://bugzilla.samba.org/, has replaced the older jitterbug server
4205 previously located at http://bugs.samba.org/.