1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
6 <title>Samba - Release Notes Archive</title>
11 <H2>Samba 3.0.23b Available for Download</H2>
15 ===============================
16 Release Notes for Samba 3.0.23b
18 ===============================
20 This is the latest stable release of Samba. This is the version
21 that production Samba servers should be running for all current
22 bug-fixes. Please read the changes in this section and for the
23 original 3.0.23 release regarding new features and difference
24 in behavior from previous releases.
26 Common bugs fixed in 3.0.23b include:
28 o Ambiguity with unqualified names in smb.conf parameters
29 such as "force user" and "valid users".
30 o Errors in 'net ads join' caused by bad IP address in the list
31 of domain controllers.
32 o SMB signing errors in the client and server code.
33 o Domain join failures when using smbpasswd on a Samba PDC.
36 Member servers, domain accounts, and smb.conf
37 =============================================
39 Since Samba 3.0.8, it has been recommended that all domain accounts
40 listed in smb.conf on a member server be fully qualified with the
41 domain name. This is now a requirement. All unqualified names are
42 assumed to be local to the Unix host, either as part of the server's
43 local passdb or in the local system list of accounts (e.g. /etc/passwd
46 The reason for this change is that smbd has transitioned from
47 access checks based on string comparisons to token based
48 authorization. All names are resolved to a SID and they verified
49 against the logged on user's NT user token. Local names will
50 resolve to a local SID, while qualified domain names will resolve
51 to the appropriate domain SID.
53 If the member server is not running winbindd at all, domain
54 accounts will be implicitly mapped to local accounts and their
55 tokens will be modified appropriately to reflect the local
56 SID and group membership.
58 For example, the following share will restrict access to the
59 domain group "Linux Admins" and the local group srvadmin.
63 valid users = +"DOMAIN\Linux Admins" +srvadmin
65 Note that to restrict the [homes] share on a member server to the
66 owner of that directory, it is necessary to prefix the %S value
70 security = {domain,ads}
78 ######################################################################
87 o Michael Adams <ma@sernet.de>
88 * Fix memory leaks on error paths in 'net ads join'.
91 o Jeremy Allison <jra@samba.org>
92 * BUG 3962: Fix memory leak when enumerating print jobs.
93 * Fix file access flags for the Linux CIFS fs client.
94 * Fix memory leaks in the smbclient DFS code.
95 * BUG 3967: Fix SMB signing client bug in trans calls.
96 * BUG 3985: Ensure in msdfs we check for our NetBIOS aliases.
97 * Added lookup_name_smbconf() to be called when looking up names
98 from smb.conf. Unqualified names are assumed to be local.
99 * BUG 4003: Fix SMB signing server error in NTcancel reply.
102 o Gerald (Jerry) Carter <jerry@samba.org>
103 * Fix a few "smbldap_open(): Cannot open when not root" bugs when
104 viewing or modifying local group membership.
105 * Make LsaLookupSids() reply include the full SID of unresolved
107 * BUG 3957: Prevent returning strange DC IP addresses by zeroing
108 memory in the SRV hostlist in case there is not an A record for
110 * BUG 3964: normalize the case of usernames prior to getpwnam()
111 call in the smbpasswd backend.
112 * Cleanup the 'net ads help join' output and document createupn
113 and createcomputer options.
114 * Fix a regression in the ldapsam URI syntax. Allow multiple
115 LDAP URIs to be grouped by "".
118 o William Charles <william@charles.name>
119 * BUG 3959: Remove rand() from SRV RR comparison to fix crashes
123 o Guenther Deschner <gd@samba.org>
124 * Fix memory leaks in pam_winbind.
125 * Save the logon script path from the info3 in the PAM session
126 allowing other PAM modules to pick it up from there.
129 o Volker Lendecke <vl@samba.org>
130 * BUG 3991: Fix problem with user tokens on standalone systems
131 configured to use a username map.
132 * Fix bug where qualified user or group names in smb.conf
133 were assumed to use the '\' character as the winbind separator.
136 Release Notes for older release follow:
138 --------------------------------------------------
139 ===============================
140 Release Notes for Samba 3.0.23a
142 ===============================
144 Common bugs fixed in 3.0.23a include:
146 o Failure to strip the domain name from groups when 'winbind
147 use default domain = yes'
148 o Failure in pam_winbind to correctly parse arguments.
149 o Bad token creation of local users on member servers not
151 o Failure to add users or groups to ACLs using the Windows
153 o Failure in file serving code when 'kernel oplocks = yes'.
155 New features in 3.0.23a include:
157 o New "createupn" option to "net ads join"
158 o Rewritten Kerberos keytab generation when 'use kerberos
163 ######################################################################
172 o Jeremy Allison <jra@samba.org>
173 * Fix memory leaks in the POSIX locking for for the Linux CIFS fs
175 * Fix memory leaks in the AD schema parsing code.
176 * Fixed bug in interaction with Linux kernel oplocks.
179 o Gerald (Jerry) Carter <jerry@samba.org>
180 * Rewrite the detection of the correct DES salting principal name
181 when joining an Active Directory Domain.
182 * Rewrite the keytab generation code based on existing SPN,
183 UPN, and sAMAccountName attributes in the AD machine object.
184 * Cleanup of dead code from idmap_ad.
185 * Fix Winbind 32bit/64bit portability issues.
186 * Fail 'net ads join' and disable the machine account if we cannot
187 set any SPNs for ourselves.
188 * Make sure to lower case all usernames before calling the create,
189 delete, or rename hooks.
190 * Preserve case for usernames in passdb
191 * Flush the getpwnam cache after renaming a user
192 * Add become/unbecome root block in _samr_delete_dom_user() when
193 trying to verify the account's existence.
194 * Changed 'net ads join' syntax for specifying an alternate
195 OU. New syntax is createcomputer=<ou path top to bottom>.
196 * Add createupn=[UPN] option to 'net ads join' for setting the
197 userPrincipalName attribute.
198 * Bug 3920: Restore winbind use default domain behavior for domain
199 groups. This break local users and 'winbind nested groups' on
203 o Guenther Deschner <gd@samba.org>
204 * Don't clear the cache when starting winbindd in off line mode.
205 * Fix errno reporting in pam_winbind debug messages.
206 * BUG 3937: Fix segv in libnss_wins.so.
209 o Volker Lendecke <vl@samba.org>
210 * Fix memory leaks in the in error paths out of the CLDAP
212 * AIX portability fixes for DNS client code.
213 * BUG 3811, 3948: Fix alignment bug in on lsaquery.
214 * BUG 3949: Fixed authorization issue on domain member
215 servers not running winbindd.
218 o Andrew Tridgell <tridge@samba.org>
219 * Fixed a bug which caused resolve_ads() to spin forever if
220 one of the DCs isn't resolvable in DNS.
223 o Simo Sorce <idra@samba.org>
224 * Debian packaging fixes.
227 o Dietrich Streifert <dietrich.streifert@visionet.de>
228 * BUG 3916: Fix error parsing pam_winbind config arguments.
231 Release Notes for older release follow:
233 --------------------------------------------------
235 ==============================
236 Release Notes for Samba 3.0.23
238 ==============================
240 There has been a substantial amount of cleanup work done during
241 this development cycle. We would like to thank both Coverity
242 (http://www.coverity.com/) and Klocwork (http://www.klocwork.com/)
243 for analyzing the Samba source code. As a result, this release
244 includes fixes for over 400 defects. The coverage was approximately
245 even with over 200 defects reported by each tool.
247 Thanks very much to those people who spent time testing the
248 release candidates and reported their findings. We would like to
249 especially thank Thomas Bork <tombork@web.de> for his numerous
250 reports. We believe that the final release is in much better shape
251 in large part due to his efforts.
253 New features in 3.0.23 include:
255 o Improved 'make test'
256 o New offline mode in winbindd.
257 o New Kerberos support for pam_winbind.so.
258 o New handling of unmapped users and groups.
259 o New non-root share management tools.
260 o Improved support for local and BUILTIN groups.
261 o Winbind IDMAP integration with RFC2307 schema objects supported
263 o Rewritten 'net ads join' to mimic Windows XP without requiring
264 administrative rights to join a domain.
267 User and Group changes
268 ======================
270 The user and group internal management routines have been
271 rewritten to prevent overlaps of assigned Relative Identifiers
272 (RIDs). In the past the has been a potential problem when either
273 manually mapping Unix groups with the 'net groupmap' command or
274 when migrating a Windows domain to a Samba domain using 'net rpc
277 Unmapped users are now assigned a SID in the S-1-22-1 domain and
278 unmapped groups are assigned a SID in the S-1-22-2 domain.
279 Previously they were assign a RID within the SAM on the Samba
280 server. For a DC this would have been under the authority of the
281 domain SID where as on a member server or standalone host, this
282 would have been under the authority of the local SAM (hint: net
285 The result is that any unmapped users or groups on an upgraded
286 Samba domain controller may be assigned a new SID. Because the
287 SID rather than a name is stored in Windows security descriptors,
288 this can cause a user to no longer have access to a resource for
289 example if a file was copied from a Samba file server to a local
290 NTFS partition. Any files stored on the Samba server itself will
291 continue to be accessible because Unix stores the Unix gid and not
292 the SID for authorization checks.
294 A further example will help illustrate the change. Assume that a
295 group named 'developers' exists with a Unix gid of 782 but this
296 user does not exist in Samba's group mapping table. it would be
297 perfectly normal for this group to be appear in an ACL editor.
298 Prior to 3.0.23, the group SID might appear as
299 S-1-5-21-647511796-4126122067-3123570092-2565. With 3.0.23, the
300 group SID would be reported as S-1-22-2-782. Any security
301 descriptors associated with files stored on an NTFS disk partition
302 would not allow access based on the group permissions if the user
303 was not a member of the
304 S-1-5-21-647511796-4126122067-3123570092-2565 group. Because this
305 group SID not reported in a user's token is S-1-22-2-782, Windows
306 would fail the authorization check even though both SIDs in some
307 respect referred to the same Unix group.
309 The current workaround is to create a manual domain group mapping
310 entry for the group 'developers' to point at the
311 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
317 The "passdb backend" parameter no long accepts multiple backends
318 in a chaining configuration. Also be aware that the SQL and XML
319 based passdb modules have been removed in this release. More
320 information of external support for a SQL passdb module can be
321 found at http://pdbsql.sourceforge.net/.
324 Group Mapping Changes
325 =====================
327 The default mapping entries for groups such as "Domain Admins" are
328 no longer created when using an smbpasswd file or a tdbsam passdb
329 backend. This means that it is necessary to use 'net groupmap
330 add' rather than 'net groupmap modify' to set these entries.
331 This change has no effect on winbindd's IDmap functionality for
338 There has also been a minor update the Samba LDAP schema file. A
339 substring matching rule has been added to the sambaSID attribute
340 definition. For OpenLDAP servers, this will require the addition
341 of 'index sambaSID sub' to the slapd.conf configuration file. It
342 will be necessary to run slapindex after making this change. There
343 has been no change to actual data storage schema.
346 ######################################################################
353 Parameter Name Description Default
354 -------------- ----------- -------
355 acl group control Deprecated No
356 add port command New ""
357 change notify timeout Changed Scope
359 dos filemode Modified No
360 enable asu support Changed default No
361 enable core files New Yes
362 enable privileges Changed default Yes
363 enable rid algorithm Removed
364 fam change notify New Yes
366 host msdfs Changed default Yes
367 msdfs root Changed default Yes
368 open files database hash size New 10007
369 passdb expand explicit Changed default No
370 strict locking Changed default auto
371 usershare allow guests New No
372 usershare max shares New 0
373 usershare owner only New Yes
374 usershare path New ${lockdir}
375 usershare prefix allow list New ""
376 usershare prefix deny list New ""
377 usershare template share New ""
378 winbind enum users Changed default No
379 winbind enum groups Changed default No
380 winbind nested groups Changed default Yes
381 winbind offline logon New No
382 winbind refresh tickets New No
383 winbind max idle children Removed
384 wins partners Removed
392 o Jeremy Allison <jra@samba.org>
393 * Fixes for various Klocwork defect reports.
394 * Cleanup pdb_get_XXX() methods and ensure that a failure
395 to allocate memory for a samu user structure is reported
396 as a failure to the calling function.
397 * Fix memleak in printing gencache contents.
398 * Fix warnings reported by gcc4 -O6 on 64-bit systems
399 * Fix naming conflicts with 'net usershare' structures and
400 Solaris header files.
401 * Fix memleaks on error paths from the ASN.1 parsing code.
402 * Add uid to share_mode_entry structure so we can report who
404 * Ensure we use sys_write in password chats so we're not
406 * Ensure all new rid allocation goes through the same pdb_ldap
408 * BUG 3308: Stop us returning duplicate mid replies on path
409 based set-EOF trans2 calls.
410 * Pass RAW-OPLOCK with kernel oplocks off.
411 * Fix bug in OS/2 Warp - it doesn't set the ff_last offset
412 correctly when doing info level 1 directory scans.
413 * Add Samba4 replacement for timegm() to work on Solaris.
414 * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
415 * BUG 3592: Ignore a file in the tar output from smbclient if the
416 read failed (e.g. due to ACCESS_DENIED). (Based on ideas from
417 Justin Best <justinb@pdxmission.org>).
418 * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
419 * Push/Pull Kerberos principal and realm names to/from UTF-8.
420 * Fix incorrect boolean in assert to make POSIX lock tests
422 * Don't ever set O_SYNC on open unless "strict sync = yes".
423 * Remove dead printing code.
424 * Allow configurable guest access to Samba's usershare functionality.
425 * BUG 3587: Make byte-range locking tdb self-cleaning.
426 * Ensure every exit error path in the session setup code calls
428 * Use portable wrapper functions instead of seteuid directly in
430 * Make "change notify timeout" a per-share parameter.
431 * Fix regression in SAMBA_4_0's smbtorture DENY tests.
432 * Fix valgrind-spotted issue in BASE-DELETE test.
433 * Fix early termination condition in winbindd when trying to
434 connect to a remote DC.
435 * Instruct winbindd to ignore fd_set when select() returns -1.
436 * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
437 with select returning true but no data being available.
438 * Back port talloc_steal() fixes from SAMBA_4_0 (original fixes by
440 * BUG 3467: Fix delete on close semantics needed by WinXP Media
441 Center Ed. for simultaneous recording and playback (thanks to
442 Jason Qian for the debugging assistance).
443 * BUG 3347: Save the Unix user token used to set the
444 delete-on-close flag.
445 * Fix parsing of SAMR_Q_CONNECT_ANON.
446 * Add in support for userinfo26 structure and re-enable
448 * Schannel server fixes. Fix the credentials chaining across
449 \netlogon pipe disconnects.
450 * Replace ubqix code in nmbd with an internal tdb.
451 * Fix struct timespec checks in configure.in.
452 * Add in server support for the NetSamLogonEx().
453 * Add support for LsaLookupSids2() and LsaLookupSids3().
454 * Add LsaLookupNames[2-4]().
455 * Add support for 'net usershare'.
456 * BUG 3522: Fix error code return on SMBmkdir(foo) when foo
457 already exists (thanks to Sandeep Tamhankar).
458 * BUG 3510: Fix 'net rpc join' against a server when
459 schannel is disabled.
460 * Get rid of poor errno mapping table. Bounce through NTSTATUS
462 * Check for SeMachineAccountPrivilege when deleting machine
464 * Fix a logic bug with multiple oplock contention.
465 * Add the replacements for opendir/readdir etc from SAMBA_4_0.
466 Attempt to fix the broken directory handling in the *BSD.
467 * Allow run time tuning of the locking tdb hash size for
469 * BUG 3642: Ensure we don't call FD_SET on read with
471 * BUG 3569: Work around linear posix locking issue on AIX
472 which was causing high loads due to the tdb CLEAR_IF_FIRST
473 flag (based on work from William JoJo).
474 * Fix OS/2 directory delete bug found by kukks.
475 * Match the Windows 2003 NTLMSSP signature.
476 * Performance tuning work in core read & write file serving
478 * Change default to 'strict locking' to better reflect
480 * Fix error return on session setup. Ensure no data blob is
481 added if the logon call failed so that Windows clients
482 interpret the NT_STATUS code correctly.
483 * Teach Samba the difference between exclusive and batch
485 * BUG 3592: Ignore a file in a smbtar output if the first
486 read fails (inspired by Justin Best).
487 * BUG 3668: Workaround Windows bug with LARGE_READX where if
488 you ask for exactly 64k bytes it returns 0.
489 * BUG 3858: Ensure that all files are removed by a wildcard
490 delete when 'hide unreadable = yes'.
491 * Fix various issues raised by the Klocwork code analyzer.
492 * Fix nmbd WINS serving bug causing duplicate IPs in the *<1b>
493 query reply ("enhanced browsing = yes").
494 * Fix SMB signing failures in client tools.
495 * BUG 3909: Avoid EA lookups on MS-DFS links.
498 o Andrew Bartlett <abartlet@samba.org>
499 * Work around abort() in the OpenLDAP client libs caused by a NULL
503 o Timur Bakeyev <timur@com.bat.ru>
504 * BUG 2961: Fix compile warnings for pam_smbpass.
505 * BUG 2746, 3763: Fix compile warnings in pam_winbind.
508 o Alexander Bokovoy <ab@samba.org>
509 * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
510 * Fix absolute symlinks in the installbin.sh script.
513 o Max N. Boyarov <m.boyarov@sam-solutions.net>
514 * Fix crash bug in perfmon daemon example code.
517 o Nicholas Brealey <nick@brealey.org>
518 * Compile fix for pam_winbind.
521 o Gerald (Jerry) Carter <jerry@samba.org>
522 * Fix 'make install' problem when building outside source/.
523 * Fix 'net ads join' when the workgroup is set incorrectly in
525 * Re-add code to include the BUILTIN\Administrators SID when
526 winbindd is not running, but the user's token includes the
527 Domain Admin SID. Fixes access problem for managing Services.
528 * Only call the printer publishing calls if 'security = ads'.
529 * Normalize printing keys when deleting.
530 * Only store LANMAN passwords on a change if 'lanman auth = yes'.
531 * Look at the NT password (not lanman one) when determining if 'smbpasswd
532 -e' should probably for a password.
533 * Default eventlog tdbs to mode 0660 to allow easier access by
534 BUILTIN\Administrators.
535 * Remove extra call to create_user on member servers without winbindd.
536 * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating
537 AD DC's with out own DNS SRV queries.
538 * Fix compile error on HP-UX reported by Ryan Novosielski.
539 * Rewrite 'net ads join' to share common code with 'net rpc join'
540 and behave more like a Windows XP client.
541 * Remove --with-ldapsam option from configure (only used for
542 backwards compatibility for 2.2 smb.conf files).
543 * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
544 * Remove rhosts authentication module.
545 * Reimplement 'net ads leave' to disable the machine account in the
546 domain rather than removing it.
547 * Rewrite of tdbsam file descriptor handling.
548 * Add server affinity support when selecting a remote
550 * Remove chaining of passdb modules.
551 * Generate a local users primary group SID based on his
552 or her primary Unix group rather than storing the attribute
554 * Default primary group SID to 'Domain Users' if the real Unix
555 primary group maps to the S-1-22-2 domain.
556 * Refactor memory management in passdb user objects.
557 * RHEL and Fedora packaging fixes.
558 * Implement XcvDataPort() spooler call and supporting 'add
560 * BUG 3534: Ignore lines in the username map file with no right
562 * Add support for the experimental %(DomainSID) smb.conf
564 * Add support for parsing SIDs in smb.conf value lists.
565 * Fix vuid allocation in Kerberos SMBsesssetup reply.
566 * Ensure that local group membership is included in the
567 getgroups() NSS reply.
568 * Automatically create a BUILTIN\{Administrators,Users} if
570 * Automatically grant all privileges to members of the local
571 Administrators group.
572 * Protect against NULL cli_state* pointers in
574 * Add a SUBSTR matching rule the the Samba LDAP schema
575 file for the sambaSID attribute. This will allow for
576 Searching group mapping entries within a given domain
577 without reorganizing the directory namespace. Also
578 requires 'index sambaSID sub' in slapd.conf.
579 * Fix parsing of 'idmap uid/gid' values that broke when
580 the range included any whitespace.
581 * Support renaming local groups (protect against renaming
583 * Do not allow the root account to be deleted via MS-RPC.
584 * Fix RID allocation to skip over RIDs that resolve in our
585 own domain (work around upgraded users and groups).
586 * Store the name/ip address combination when we do a reverse
587 look up in case future forward lookups would fail.
588 Fixes cases where a DC name could not be resolved via
590 * Allow winbindd to run on standalone servers in order to
591 provide support for local groups.
592 * Deprecate 'acl group control' and replace it with added
593 functionality to 'dos filemode'.
594 * Ensure that all global memory is freed from pam_winbind
595 when unloading the shared library (based on work from Arkady
597 * Fix 32-bit/64-bit portability issues between PAM & NSS winbind
598 libraries and winbindd.
599 * Add defensive checks about create local accounts (i.e. calling
600 'add user script') on domain member servers when winbindd
601 is running but having problems.
602 * Use system provided killproc() in RedHat init scripts for
603 more robust shutdown.
604 * Fix a crash in the printer publishing code when adding a
605 new printer via the APW.
606 * Fix broken compile of unsupported smbwrapper utility.
607 * BUG 3905: Fix smbd startup failure caused by a failure to
608 create an NT token for the guest account.
609 * BUG 3908: Fix RPC bind authentication failure which broke
610 user password changes.
611 * Ensure that "net ads join" reports failure correctly if
612 it cannot set the machine account password.
615 o Mathias Dietz <MDIETZ@de.ibm.com>
616 * EPERM can be a valid return from getting an xattr.
617 Don't disable if we get it.
620 o Guenther Deschner <gd@samba.org>
621 * Fix memleaks in winbindd ads searches.
622 * Fix timestamp bug in pam_winbindd which forced users to change
623 passwords prematurely.
624 * Small debug message cleanups.
625 * Small fixes for 'net ads password'.
626 * BUG 3843: Allow to set passwords directly when creating users
627 via "net rpc user add"
628 * Add "rpc shell" to the usage text for the net command.
629 * Winbindd user aliases lookup fixes for large domains.
630 * Fix memleak in the CLDAP processing code.
631 * Enable AD features in winbindd's PAM support only when
632 communicating with an AD domain controller.
633 * Set our internal domains to "online" by default in winbindd.
634 * BUG 3800: Fill the password_policy method in winbindd for
636 * Fix memory leak when LDAP POSIX attribute queries fail.
637 * Honor the krb5 principal name change (of the new ads join code)
638 in the kerberized winbind pam_auth.
639 * Correctly handle the case when there is no configuration file
641 * Adding "own-domain" switch to wbinfo which is handy from time
643 * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
644 * Fix winbindd group enumeration for groups with no members.
645 * Correct "net ads changetrustpw" to use the sAMAccountName.
646 * Fix winbindd in ADS domains by removing code using the
647 UPN and rely upon the sAMAccountName.
648 * Fix a eDir related memory leak.
649 * Don't try to add the sn attribute twice to an LDAP
650 inetOrgPerson + samSamAccount entry.
651 * Fix winbind function table typo.
652 * Attempt to send the correct warning from pam_winbind when a password
653 change was attempted too early.
654 * Don't use cached credentials when changing passwords.
655 * Correctly disallow unauthorized access when logging on with the
656 kerberized pam_winbind and workstation restrictions are in effect.
657 * Save useless round trips in pam_winbind's auth calls.
658 * Make the existence of the /etc/security/pam_winbind.conf file
659 non-critical and fallback to only parse the argv options in that
661 * Add winbind debug class to the main winbindd process.
662 * Be consistent between rpc and ads winbind backend: let the
663 ads backend query the samlogon cache first as well.
664 * Ignore BUILTIN groups when searching AD for group memberships.
665 * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
666 * Cleanup credential caches from winbind's linked list.
667 * Fix 'winbindd -n' for new persistent caches.
668 * Fix searching by SID in winbindd.
669 * Add "smbcontrol winbind onlinestatus" for debugging purpose.
670 * Prefer to use the indexed objectCategory attribute (instead of
671 objectClass which is not indexed on AD) in LDAP queries.
672 * Free LDAP result in ads_get_attrname_by_oid().
673 * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
674 * Prevent passwords of winbindd's list of credential caches from
675 being swapped to disk using mlock().
676 * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to
677 support the plain posix attributes LDAP schema from win2k3-r2
678 (based on patches from Howard Wilkinson and Bob Gautier).
679 * Add more robust code for fallback when lookup_usergroups() fails.
680 * Fix 'net rpc join' for winbindd running on a Samba DC.
681 * Add help text for new 'net rpc audit' utility.
682 * Add net ads search SID.
683 * samrQueryDomainInfo level 5 should return the domain name, not our
684 NetBIOS name when we are a DC.
685 * Add some more client rpc for the querydominfo calls (from samba4 idl).
686 * Process all the supported info levels in the samr_query_domain_info2
688 * Wrap the samr_query_domain_info2() call around
689 samr_query_domain_info().
690 * Fix segv in smbctool.
691 * Honor the time_offset also when verifying Kerberos tickets.
692 * Prevent unnecessary longstanding LDAP connection to eDirectory.
693 * Fix segv in smbspool.
694 * BUG 1914: Allow to store 24 password history entries in ldapsam.
695 * Enhancements to various commands in rpcclient
696 * Don't force 'Administrator' to change an expired password on
698 * Add support for offline mode in winbindd.
699 * Provide support in pam_winbind for initializing a user's
701 * Implement samr_chgpasswd_user3 server-side.
702 * Make pam_winbind more robust when detecting domain users.
703 * Add client side support for SAMR_GET_USRDOM_PWINFO.
704 * Re-enable strict checking on C++ reserved keywords since Heimdal
705 0.7.2 has been released.
706 * Allow renaming of machine accounts in a Samba domain.
707 * BUG 3539: Let winbindd try to obtain the gecos field from
708 the msSFU30Gecos attribute when "winbind nss info = sfu" is
710 * Correctly handle acb_info/acct_flags as uint32 not as uint16.
711 * Return the real ACB-flags in the SamLogon() reply.
712 * Some client side cleanup for the samr set security object
714 * Make sure we always reset the userAccountControl bits when
715 re-joining (net ads join) with an existing account.
716 * Document some more MSV1_0 bits and their behavior.
717 * Only set the last rebind timestamp when we did rebind
718 after a update LDAP operation to avoid the ldap replication
720 * Fix incorrect error checking in winbindd for domains with
722 * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3
724 * Work around crash bug in MIT krb5 libs when reading a
725 keytab file. Stop trying to decrypt a ticket as soon as
726 we have a clear indication that the ticket is bad.
727 * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
728 * Adding client side samr querygroup infolevels 2 & 5.
729 * Make smbpasswd -a root work for eDirectory where there
730 is no "account" structural objectclass.
731 * Make sure we only send out a CLDAP request (net ads) to
732 an connected AD server.
733 * Fix a broken LDAP search filter when looking for groups.
734 * Add in-tree version of iniparser library from
735 http://ndevilla.free.fr/iniparser/ for use by pam_winbind
736 (rather than linking in loadparm.c). Settings are now stored
737 in /etc/security/pam_winbind.conf.
738 * Fix different extended_dn handling in adssearch.pl
739 (Thanks to Frederic Brin at Novell).
740 * Fix a memleak in winbindd's credentials cache.
741 * Protect against crashes in CLDAP request processing.
742 * Remove incomplete DfsEnum() info level to avoid an smbd crash.
745 o Aleksey Fedoseev <fedoseev@ru.ibm.com>
746 * Fix parameter type for 'acl compatibility'.
747 * Fixes for msgtest torture tool.
748 * Fix crash bug in the file locking code.
751 o Arek Glabek <aglabek@centeris.com>
752 * Fix parsing error on input parameters in eventlogadm.
755 o Paul Green <paulg@samba.org>
756 * Properly rebuild time limit on systems with executable extensions.
757 * Fix build on platforms that do not support shared libs.
758 * Remove dead code in the auth_script module.
761 o Bjoern Jacke <samba@j3e.de>.
762 * Fix DMAPI compile failures on AIX and True64.
763 * Fix AIX PIC suffix (use .o instead of .po).
764 * Fall back to less-preferred clocks until we find one that we
765 can use if clock_gmtime() is not available at run-time.
766 * Fix EA support on AIX platforms.
767 * Automatically disable file shares with no explicit path set.
768 * Remove the local hack to set the RO bit on directories in
769 user profiles when profile acls = yes. Rely on EAs instead.
770 * Compile fixes for Solaris LDAP client libs.
771 * Add DMAPI/XDSM support for AIX.
772 * Find JFS DMAPI libs on Linux when only they are available.
775 o William Jojo <jojowil@hvcc.edu>
776 * Fixes for the winbind NSS library on AIX.
777 * Fix VFS builds on AIX platforms.
778 * Fixes for the AIX version of libnss_winbind.so
781 o Leonid Kabanov <lkabanov@mail.ru>
782 * BUG 3711: Shell portability fixes for 'make test'.
785 o Volker Lendecke <vl@samba.org>
786 * Fixes for various Klocwork defect reports.
787 * Fixes for various Coverity defect reports.
788 * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
789 * Fix more potential seg-faults when something on our way to a
791 * Never fall back to using the IP address for a DC's name in RPC
793 * Implement recycle:subdir_mode.
794 * Activate RPC-AUTHCONTEXT in "make test".
795 * Portability fixes for 'make test'.
796 * Correctly set the group RID in init_sam_from_buffer.
797 * Fix missing prompt in smbclient.
798 * Return correct error code upon success from _net_srv_pwset().
799 * Fix Windows XP joins to a Samba domain.
800 * Fix 'valid users = +unixgroup' which was failing with smbpasswd
801 when mapped to a non-algorithmic rid.
802 * Fix regression which upper-cased machine names passed to the
803 'add machine script'.
804 * Correct parsing error in parse_net.c for user's with no group
806 * Fix off by one error in client SPNEGO code and other klocwork
808 * Memory leak fixes in 'net sam'.
809 * BUG 3720: Fix uninitialized error return variable.
810 * Default "passdb expand explicit" to no.
811 * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
812 * Fix user NT token creation when utilizing a username map.
813 * More coverity fixes.
814 * Fix a VUID bug in 'security = share'.
815 * Correctly fill in the gid for local users.
816 * Fix some warnings on True64.
817 * Add special close handling for fake files.
818 * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
819 * BUG 3435: Fix 'msdfs root = yes' in [homes].
820 * Instruct winbindd to find a trusted DC on its own when running on
822 * Fix segv in child winbindd processes caused by a failed tconX
824 * Dynamically compute the maximum password age based no the
825 last change time rather than reading the must change time
826 from the passdb record.
827 * Rewrite mechanisms for handling lookup_{name,sid} resolution.
828 * Assign unmapped users to the S-1-22-1 domain and unmapped
829 groups to the S-1-22-2 domain
830 * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
831 * Remove sql passdb backends.
832 * Implement rpccli_samr_set_domain_info()
833 * Add initial support for 'net sam' command.
834 * BUG 2413: Remove anonymous connections in 'net rpc info'.
835 * Implement asynchronous support for trans2 calls.
836 * Make smbclient -L use RPC to list shares, fall back to RAP.
837 * Ensure that the global SAM SID is initialized before any
838 dependent routines are called.
839 * Enhance consistency checks on local configuration when joining
841 * Fix a memleak in the server registry code for enumeration
843 * Fix an invalid munlock() call in winbindd's credentials cache.
844 * Fix compile warnings when passing NULL to snprintf().
845 * BUG 3915: Fall back to a pure unix user with S-1-22 SIDs in the
846 token in case anything weird is going on with the 'force user'.
847 * CVE-2006-3403: Fix minor memory exhaustion DoS in smbd.
850 o Derrell Lipman <derrell@samba.org>
852 * BUG 3814: Only set the DFS capability flag in client requests
853 if the share is a DFS root.
854 * Fix bug causing previous settings to be re-initialized
855 when parsing new configuration files.
856 * BUG 3446: Don't ignore the authentication domain when parsing
858 * Fix cli_setpathinfo() to actually do what it's supposed to.
859 * Fix libsmbclient to make correct use of the new "one connection
863 o Jason Mader <jason@ncac.gwu.edu>
864 * Numerous compiler warning fixes.
867 o John E. Malmberg <wb8tyw@qsl.net>
868 * Make smbldap obey config tests.
871 o Jim McDonough <jmcd@us.ibm.com>
872 * Fixes for 'make test' on AIX.
873 * Ensure we do a wildcard search for SID's starting with the global SAM
874 sid, not an exact search (from John Janosik).
875 * Adapt smbclient fix to smbtree to enable long share names.
876 * Prevent machines and users with no home directory from
877 getting the previous entries home path when migrating via
878 'net rpc vampire' (based on a patch from Richard Renard).
879 * Remove hard-coded LDIF names when dumping a migrated
880 domain's users and groups.
881 * BUG 1374: Can't join an OU with name that contains '#'.
884 o Stefan Metzmacher <metze@samba.org>
885 * Add more tests to 'make test'.
886 * Try to make timelimit.c more portable.
887 * Fix linking of smbmount tools with --enable-socket-wrapper.
888 * Pass 'target:samba3=yes' to samba4's smbtorture when running
890 * Miscellaneous fixes for 'make test'.
891 * Add improved support for 'make test' including making
892 use of smbtorture from SAMBA_4_0.
893 * Add --no-process-group to all server programs
894 (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
895 * Add configure tests --with-selftest-prefix=/tmp/samba-test
898 o Lars Müller <lmuelle@samba.org>
899 * Fix lock calls in the python tdb bindings.
900 * Add -k switch to tdbdump for accessing a single key.
901 * Debian packaging fixes.
902 * Add -t|--password-from-stdin option to pdbedit as we had
904 * Various minor fixes to install scripts used by 'make install'.
907 o James Peach <jpeach@sgi.com>
908 * Ensure smbclient always prompts on standard output when in
910 * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
911 * Introduce command line options to set the remainder of the
912 parameters in dynconfig.c.
913 * Avoid pulling in -lpthreads caused by -lrt.
914 * Fix build failures on IRIX 6.4 due to DMAPI support.
915 * Isolate the slow CLOCK_REALTIME message in the profiling code.
916 * Correct comparison logic so that libunwind can be correctly detected.
917 * Implement a "stacktrace" smbcontrol option using libunwind's remote
918 stack tracing support (ia64 only).
919 * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
921 * New autoconf macro to test for sysconf variables.
922 * Change profiling data macros to use stack variables rather than
923 globals. This catches mismatched start/end calls and removes
924 the need for special nested profiling calls.
925 * Rewrite AC_LIBTESTFUNC so that it works like the callers
927 * Use clock_gettime for profiling timstamps if it is available. Use
928 the fastest clock available on uniprocessors.
929 * Preserve errno in fcntl lock wrappers.
930 * Initialize our saved uid and gid so that we can tell when we
931 created the profiling shmem segment and don't bogusly refuse to
933 * Add a new option "enable core files" which can be used to disable
934 automatic core file dumping.
935 * Update our internal copy of popt to that distributed with the RPM
937 * Add support for FAM for file change notification.
938 * Disable sendfile if the 'write cache;' has been enabled.
939 * Refactor capability interface from being IRIX-specific to
940 using only the POSIX interface.
941 * Consolidate core dumping code to aid in debugging.
942 * Add support for libunwind to generating a backtrace.
943 * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
944 and --without-ads are specified.
945 * Allow the user to set winbind nss timeouts in seconds on IRIX.
946 * Set the FILE_STATUS_OFFLINE bit by observing the events
947 a DMAPI-based HSM is interested in.
950 o Tim Potter <tpot@samba.org>
951 * Build janitorial duties.
952 * BUG 3725: Put references to $PICFLAGS in quotes.
955 o Aruna Prabakar <aruna.prabakar@hp.com>
956 * Show -W option in smbpasswd usage text.
959 o ISHIKAWA Tomonori <toishika@fsi.co.jp>
960 * BUG 2715: Fix nmbd datagram comment buffer size for multibyte
965 * Correct syntax error in aclocal.m4.
968 o Simo Sorce <idra@samba.org>
969 * Pam modules install fix.
970 * Allow "net changesecretpw" to accept a password via stdin.
971 * Implement 'net setdomainsid' command.
972 * Ensure that sid -> group conversion are done as root.
973 * BUG 3413: Sanity check for existence of 'ldap admin
974 dn' before setting a password in secrets.tdb (based on
975 work by William Jojo).
976 * New revision of the snprintf replace code.
977 * Set the correct sid type when looking up a gid.
980 o Todd Stecher <tstecher@isilon.com>
981 * Add TCP fallback for our implementation of the CHANGEPW
985 o Ronan Waide <waider@waider.ie>
986 * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam()
990 o Shlomi Yaakobovich <Shlomi@exanet.com>
991 * Fix for machine password time_t overflow.
994 --------------------------------------------------
995 ==============================
996 Release Notes for Samba 3.0.22
998 ==============================
1000 This is a security release of Samba. The Samba 3.0.21 release
1001 series (including the patch releases a through c) has been
1002 discovered to expose the clear text of the server's machine
1003 account credentials in the winbind log files when the log
1004 level is set to 5 or higher. This defect has been assigned
1005 the CVE number CAN-2006-1059.
1010 The machine trust account password is the secret shared
1011 between a domain controller and a specific member server.
1012 Access to the member server machine credentials allows
1013 an attacker to impersonate the server in the domain and
1014 gain access to additional information regarding domain
1017 The winbindd daemon included in Samba 3.0.21 and subsequent
1018 patch releases (3.0.21a-c) writes the clear text of server's
1019 machine credentials to its log file at level 5. The winbindd
1020 log files are world readable by default and often log files
1021 are requested on open mailing lists as tools used to debug
1022 server misconfigurations.
1024 This affects servers configured to use domain or ads security
1025 and possibly Samba domain controllers as well (if configured
1030 --------------------------------------------------
1032 ===============================
1033 Release Notes for Samba 3.0.21c
1035 ===============================
1037 Common bugs fixed in 3.0.21c include:
1039 o Access checks when deleting printer driver meta-data.
1040 o Several non-default combinations schannel and SPNEGO support.
1041 o Password changes with NT4 and Win2k pre-SP4 clients.
1042 o High load issues on IRIX caused by a bug when interfacing
1043 with kernel oplocks.
1046 ######################################################################
1050 Changes since 3.0.21b
1051 ---------------------
1055 o Michael Adam <ma@SerNet.DE>
1056 * Add popt to the include path for examples/VFS.
1059 o Jeremy Allison <jra@samba.org>
1060 * Fix bug in the USC2 macros on big-endian CPUs.
1061 * Filter deleted oplocks from the output of smbstatus.
1062 * Remove invalid test check_for_pipe().
1063 * BUG 3515: Fix kernel oplock support on IRIX.
1064 * BUG 3522: Fix return value for mkdir request when the directory
1066 * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna
1068 * BUG 3330: Fix username parsing in Kerberos PAC (based on work
1070 * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto"
1071 resulting in a client disconnect after negprot.
1072 * BUG 3510: Fix 'net join' against a server with client schannel
1074 * Fix negprot bug causing a 2k client with cached domain
1075 credentials to refuse to connect to a standalone Samba host.
1076 * Ensure that the correct error is checked when encountering a
1077 socket error (fixes crashes in winbindd).
1080 o Andrew Bartlett <abartlet@samba.org>
1081 * Fix domain joins from NT4 clients and password changes.
1084 o Richard Bollinger <rabollinger@gmail.com>.
1085 * Compile fix in pdbedit.
1088 o Gerald (Jerry) Carter <jerry@samba.org>
1089 * Break RHEL/Fedora packaging out to include a samba-docs rpm.
1090 * Remove use of /var/cache/samba from RHEL/Fedora packaging.
1091 * Fix bug in loadparm.c that caused builtin services to be also
1092 listed as external services (e.g. Spooler, NETLOGON, etc..).
1093 * Fix bug in the samr dispinfo enumeration code.
1094 * Add earlier checks to deny deleting a printer driver meta-data.
1097 o Guenther Deschner <gd@samba.org>
1098 * Add Account Policy LDAP attributes for eDirectory schema.
1101 o William JoJo <jojowil@hvcc.edu>
1102 * BUG 1870: Make nmblookup do a node status on all IP's when
1104 * BUG 2353: Fix clitar -F processing.
1107 o Volker Lendecke <vl@samba.org>
1108 * Fix the build for --with-aio-support.
1109 * Fix remote password changing if password must change is set.
1110 * Fix rpcclient to obey the -W parameter.
1111 * Fix segv in smbmount and the profiles tool.
1112 * Fix typo in pdbedit help text (reported by Karolin Seeger).
1116 * Honour the $(DESTDIR) Makefile variable when installing
1120 o Jason Mader <jason@ncac.gwu.edu>
1121 * Compiler warning fixes.
1124 o Lars Müller <lmuelle@samba.org>
1125 * Fix python build with older python versions.
1126 * Update dhcp.conf files in Debian packaging
1127 * SWAT welcome file updates
1128 * Compiler warning fixes.
1129 * Add .2 to the SONAME as version suffix if we link the nss
1131 * Add -t|--password-from-stdin option to pdbedit.
1134 o James Peach <jpeach@sgi.com>
1135 * Continue not enabling valgrind on 64-bit Linux.
1138 o Tim Potter <tpot@samba.org>
1139 * Remove unused #defines.
1142 o Simo Sorce <idra@samba.org>
1143 * Debian packaging updates.
1146 o Qiao Yang <qyang@stbernard.com>
1147 * Make sure to refresh the timestamp on entries in the failed
1148 connection code in winbindd.
1151 --------------------------------------------------
1152 ===============================
1153 Release Notes for Samba 3.0.21b
1155 ===============================
1157 Common bugs fixed in 3.0.21b include:
1159 o Server crashes in smbd.
1160 o Compile issues on 64-bit platforms.
1161 o Crash bugs on big-endian systems.
1162 o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
1163 o Over 30 bugzilla reports closed.
1166 ######################################################################
1170 Changes since 3.0.21a
1171 ---------------------
1175 o Jeremy Allison <jra@samba.org>
1176 * Fix the SAMR cache across handles opens and closes.
1177 * Re-add the talloc_describe_all() function for reporting pool
1179 * Merge talloc license change from Samba 4.
1180 * Fix 64-bit compile warnings reported by gcc.
1181 * Add the share path into the sharemode db.
1182 * Consistency fixes: Remove use of uint8_t -> uint8.
1183 * BUG 3346: Fix crash bug in big-endian boxes by linearizing
1184 structure when passing through the messaging API.
1185 * BUG 3421: Fix segv in the Kerberos key tab code (Thanks to
1187 * Force smbd to exit if the guest account internal setup fails.
1188 * BUG 3419: vfs_full_audit fixes for multiple connections.
1189 * Ensure SWAT lists running processes.
1190 * Fix NTLMv2 interoperability bug between Samba servers.
1191 * Oplock break logic fixes.
1194 o Andrew Bartlett <abartlet@samba.org>
1195 * BUG 3401: Fix crash bug caused by incorrect handling of weak
1196 session keys. Based on original patch from Yau Lam Yiu.
1199 o Alexander Bokovoy <ab@samba.org>
1200 * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from
1204 o Stefan Burkei <stefan@burkei.de>
1205 * BUG 3248: When doing auth_crap authentication use the client
1206 given workstation name not our own.
1209 o Gerald (Jerry) Carter <jerry@samba.org>
1210 * Fixing net rpc registry enumerate from overwriting the open
1212 * BUG 3380: fix crash when changing printer drivers.
1213 * BUG 3391: ensure we can lookup account policies for failed
1215 * Adding query/set ops for security descriptors on services.
1216 * BUG 3329: Solaris packaging fixes.
1217 * Better formatting for smbstatus output (based on patch from
1219 * Hook the max connections spin box in the share properties
1220 MMC plug-in dialog to the 'max connections' smb.conf parameter
1221 and the 'modify share command' option.
1222 * Work around building libnss_winbind.so on Solaris when
1223 --enable-developer is specified.
1224 * Add vendor patch level string to VERSION.
1225 * Consolidate packaging for RHEL4 and Fedora based on initial
1229 o Albert Chin <@thewrittenword.com>
1230 * BUG 3374: Build failures on True64.
1233 o Guenther Deschner <gd@samba.org>
1234 * Fill in samr_get_dom_pwinfo based on Samba4.
1235 * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
1236 * Fixes for adssearch.pl example script.
1237 * Prevent 'net rpc' from dumping clear text password at high log
1238 levels unless built with DEBUG_PASSWORD.
1239 * Fix 'net ads user add' with a Windows 2003 SP1 DC.
1241 * Fix segfault in pdb_nds.c.
1242 * Don't write null sid mappings into the winbindd_cache.tdb.
1243 * Save sid_to_name lookup result in winbindd already after doing
1244 a successful name_to_sid.
1245 * BUG 3390: Fix segfault in "net rpc vampire|samdump".
1246 * BUG 1524, 3205: Support changing expired passwords in
1248 * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
1249 * BUG 3264: Allow idmap_ad to load as 'ad'. Cleanup the way
1250 idmap modules are build and loaded, idmap_rid now will have
1251 to be loaded without prefix, just "rid".
1252 * Prevent cli_krb5_get_ticket of getting into an infinite loop.
1255 o Andrew Esh <Andrew_Esh@adaptec.com>
1256 * BUG 1061: Fix nmbd to correctly the path to an lmhosts files
1257 specified on the command line with -H.
1260 o SATOH Fumiyasu <fumiya@samba.gr.jp>
1261 * End profile fixes.
1262 * BUG 3348: Don't assume owning sticky bit directory means
1263 write access allowed.
1264 * Fix double free in on failure path in POSIX acl code.
1267 o Andriy Gapon <avg@icyb.net.ua>
1268 * BUG 3458: Fix crash bug in smbd and winbindd caused by
1269 accessing freed memory.
1272 o Björn Jacke <bj@sernet.de>
1273 * Configure check for Tru64 EA functions (not yet implemented).
1274 * Find Tru64 AIO lib in configure.
1275 * Cut-n-paste fixes in configure.in.
1278 o John Janosik <jpjanosi@us.ibm.com>
1279 * IBM Tivoli Directory Server schema updates.
1282 o Michael James <michael@james.st>
1283 * sid2string fix in adssearch.pl.
1286 o William JoJo <jojowil@hvcc.edu>
1287 * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
1288 * BUG 3389: Failures on AIX in linking smbd when the symbol
1289 table for ld exceeds 65536 bytes.
1290 * Add -W to smbpassword so that the ldap admin dn password does
1291 not have to be specified on the command line.
1292 * BUG 3408: Fix for external password change programs on AIX.
1293 * BUG 1779: 64-bit compile fixes.
1296 o Martin Koeppe <mkoeppe@gmx.de>
1297 * BUG 3287: Match SFU behavior for dev/inode numbers.
1300 o Volker Lendecke <vl@samba.org>
1301 * BUG 3291: Fix valgrind error in client connection code.
1302 * BUG 3292: Prevent smbclient from spinning if server terminates
1304 * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient
1305 connection alive smbclient.
1306 * Add lookupname to rpcclient query_user as a fallback, we now
1307 accept both rid and username.
1308 * Introduce yet another copy of the string_sub function:
1309 talloc_string_sub use by AFS token code in winbindd.
1310 * BUG 3351: pdb_mysql again overwrites password fields.
1311 * BUG 3384: Fix segv in tdbtool.
1312 * Use the same CFLAGS for generating the pch as we use to
1314 * Correct typo when compiling the vfs_catia module.
1315 * Fix automatic recreation of a new tdb sam file.
1318 o Derrell Lipman <derrell@samba.org>
1320 * Fix parsing of file times (w_time and m_time were reversed).
1321 * Add additional libsmbclient test programs.
1322 * BUG 3336: Load networks interfaces in libsmbcliebt after parsing
1323 the configuration files.
1324 * Avoid doing a NetBIOS name query for each server and workgroup
1326 * Do not open connection when only looking for cached connection.
1327 * BUG 2651: Add option to log debug messages to stderr instead
1329 * Added flag to not request authentication information.
1330 * Enhancements to smbwrapper example code.
1331 * Replace smbwrapper call to dlopen(/lib/libc...) with direct
1335 o David May <mayd@cygnus.uwa.edu.au>
1336 * BUG 3329: Shell scripting portability fixes on 'make test'.
1339 o Tony Mountifield <tony@softins.co.uk>
1340 * BUG 3327: fix bad access to gencache.tdb after fork() in
1344 o Lars Müller <lmuelle@samba.org>
1345 * BUG 3264: Support backwards compatible setups using
1346 'idmap backend = idmap_rid'.
1347 * Add %w macro for the winbind separator.
1348 * Convert net command to use stderr for error messages rather
1352 o James Peach <jpeach@sgi.com>
1353 * Portability fixes in LDAP code. Don't use non-static array
1355 * Support the TCP_FASTACK socket option if it is available.
1356 * Tell the MIPSPro compiler to push DEBUG calls out of line.
1359 o Makr Proehl <m.proehl@science-computing.de>
1360 * BUG 1336: Print the server role when calling testparm in
1364 o Simo Sorce <idra@samba.org>
1365 * Crackcheck utility enhancement based on patch sent by
1367 * BUG 3405: Fix segv in vfs_recycle module on platforms wither
1368 mode_t is not 32-bits.
1371 o John Terpstra <jht@samba.org>
1372 * RHEL/Fedora spec file patches.
1375 --------------------------------------------------
1376 ===============================
1377 Release Notes for Samba 3.0.21a
1379 ===============================
1381 Common bugs fixed in 3.0.21a include:
1383 o Deadlocks when multiple users access an oplocked file
1387 ######################################################################
1391 Changes since 3.0.21
1392 --------------------
1396 o Gerald (Jerry) Carter <jerry@samba.org>
1397 * RedHat 9 packaging Fixes.
1400 o Guenther Deschner <gd@samba.org>
1401 * eDirectory schema syntax fixes.
1404 o Volker Lendecke <vl@samba.org>
1405 * BUG 3349: Deadlock caused logic error in oplock code.
1407 --------------------------------------------------
1408 ==============================
1409 Release Notes for Samba 3.0.21
1411 ==============================
1413 Common bugs fixed in 3.0.21 include:
1415 o Missing groups in a user's token when logging in via Kerberos
1416 o Incompatibilities with newer MS Windows hotfixes and
1417 embedded OS platforms
1418 o Portability and crash bugs.
1419 o Performance issues in winbindd.
1421 New features introduced in Samba 3.0.21 include:
1423 o Complete NTLMv2 support by consolidating authentication
1424 mechanism used at the CIFS and RPC layers.
1425 o The capability to manage Unix services using the Win32
1426 Service Control API.
1427 o The capability to view external Unix log files via the
1428 Microsoft Event Viewer.
1429 o New libmsrpc share library for application developers.
1430 o Rewrite of CIFS oplock implementation.
1431 o Performance Counter external daemon.
1432 o Winbindd auto-detection query methods when communicating with
1433 a domain controller.
1434 o The ability to enumerate long share names in libsmbclient
1438 ######################################################################
1445 Parameter Name Action
1446 -------------- ------
1447 dfree cache time New
1448 dfree command Per share
1452 passdb expand explicit New
1453 rename user script New
1454 reset on zero vc New
1455 svcctl list Renamed from 'enable svcctl'
1459 Changes since 3.0.20b
1460 ---------------------
1462 o Jeremy Allison <jra@samba.org>
1463 * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
1464 * Added 'map readonly' parameter.
1465 * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
1467 * Maintain schannel client session keys in volatile
1468 $(privatedir)/schannel_store.tdb.
1469 * BUG 2769: Ensure we mangle filenames ending in a space
1470 * Catch corner case of renaming a symlinked directory into
1472 * Ensure that smb.conf requests for hidden files are honored,
1473 even when DOS attributes are stored in EA's
1474 * Add new auth method "auth_script" for calling an external
1476 * BUG 2152: Fix for mangled filenames when the client does
1477 support long filenames
1478 * Rewritten implementation of client and server DCE/RPC infrastructure
1479 * BUG 3192: Adds a "dfree cache time" parameter.
1480 * Fix acl evaluation bug found by Marc Cousin. Only evaluate
1481 the S_IWGRP mask in the absence of a POSIX ACL.
1482 * Remove use of 'long long' in libsmbclient code.
1483 * Ensure the new canonicalize_servicename() in name/snum hash
1485 * BUG 2922: Integration of FreeBSD AIO patches from Timur
1487 * BUG 3216: Put directory opens into the share mode db so we
1488 can treat them similarly to file opens (delete on close,
1489 share mode violations etc.).
1490 * Fix bug in name mangling code when case sensitivity is enabled.
1491 * Remove external dependencies from the sharemodes library.
1492 * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
1493 * Don't misinterpret wild card characters in file names on disk
1494 as they are actually valid characters.
1495 * BUG 3223: Fix bug in account policy management when
1496 account_pol.tdb settings have been migrating to an LDAP
1498 * Allow the hash size of the tdb open (locking) database to be
1500 * Fix error code returns on client spoolss code.
1501 * Remove unneeded strncpy use.
1502 * Fix uninitialized variables warnings.
1503 * Cleanup smbcacls security descriptor parsing and error codes.
1504 * BUG 3224: Correctly use machine_account_name and client_name
1505 when doing netlogon credential setup. Fixes winbindd running
1507 * Backport Samba 4 time zone handling.
1508 * Fix core dump if setmntent() returns NULL.
1509 * Replace old crc32 code with one from the FreeBSD tree.
1510 * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
1511 * Remove #define of close -> close_fn macro in libsmbclient.
1512 * Return early if -1 returned from *BSD EA call (reported by
1514 * Name space cleanup by marking local functions static.
1515 * Move samr enumeration cache from per handle basis to a shared
1517 * BUG 3274: Fix invalid smbclient qpath_basic() queries against
1518 OS/2 servers (based on patch from Guenter Kukkukk).
1519 * Ensure default applies to new files (reported by Thomas
1521 * BUG 3293: Use SMBecho to testing the server in client rather
1523 * Merge talloc fixes from Samba 4 branch.
1524 * Add support DCE/RPC cancel operation.
1525 * Don't reset attrs to zero in EA get. Fixes 'hide dot files'
1526 when using EA for DOS attributes.
1527 * Fix bug in returning remote time (reported by Thomas Bork).
1528 * No users or groups to return in BUILTIN domain.
1529 * Removed separate "builtin" search enumeration.
1530 * Added count_sam_aliases to return the correct alias count.
1531 * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from
1532 eDirectory when accessing the universal password.
1533 * Fix deadlock condition in share mode locking code.
1534 * Fix logic bug in unix_mask_match().
1535 * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
1539 o Rashid N. Achilov <shelton@granch.ru>
1540 * Add better service description names to the svcctl code.
1543 o Timur Bakeyev <timur@com.bat.ru>
1544 * BUG 3262: Improve FreeBSD DOS attribute error reporting.
1547 o Andrew Bartlett <abartlet@samba.org>
1548 * Remove another ancient NTLMSSP implementation.
1549 * Allow machine account logons work if the client gives the
1553 o Alexander Bokovoy <ab@samba.org>
1554 * Add POSIX statvfs() to VFS api.
1557 o Gerald (Jerry) Carter <jerry@samba.org>
1558 * Eventlog and ServiceControl support.
1559 * BUG 1051: store the directory path so we can send the full
1560 name in the unlink call from smbclient.
1561 * Use reference count strategy for keeping the registry tdb
1563 * Convert internal registry objects to new hierarchical talloc
1564 * Allow the root user a free pass for access checks in the
1565 registry and service control checks.
1566 * Sanity checks in the privilege code to prevent empty SID
1568 * Add basic infrastructure for 'make test' when the socket
1569 wrapper library is configured at compile time
1570 * Convert profiles utility to use the current regfio interface
1571 for reading and writing user profiles
1572 * Remove netsamlogon_cache interface
1573 * Ensure that print jobs are removed even when the cancel
1574 command is received before the print cache has been updated
1575 * Fix linking problem on Solaris when including ACL support.
1576 * Give root a free pass to open the eventlog tdb files.
1577 * Fix segfault in addprinter due to mixing talloc() and
1579 * fix invalid read reported by valgrind in the spoolss
1580 backchannel connection.
1581 * Remove use of 'long long' in perfcounter registry code.
1582 * BUG 3201: make sure request structure is cleared prior to
1583 sending the request to winbindd.
1584 * Don't count open pipes in the num_files_open on a connection
1585 (regression from Samba 2.2).
1586 * Ensure servername hashing code normalizes the name.
1587 * Fix checks for connect() in -lnsl[_s].
1588 * Convert eventlog API to use NTSTATUS return codes rather
1590 * Fix segv in winbindd caused by an uninitialized variable
1591 in winbindd_dual_getsidaliases().
1592 * Allow winbindd to select the appropriate backend methods
1593 based on the DC attributes and not the security parameter.
1594 * Re-add the netsamlogon_cache tdb and ensure that user entries
1595 are updated from the PAC data during Kerberos ticket
1597 * Fix lockup when running 'wbinfo -t' on a Samba PDC caused
1598 by mangling machine names in sub_set_smb_name().
1599 * Add smbget to the list of tools built by default.
1600 * Fix clearing of eventlog tdb files.
1601 * Fix sequential reads in eventlog support.
1602 * BUG 2718: Don't use qpathinfo_basic() call when remote server
1604 * Fix build issues with the Sun compiler.
1605 * BUG 3156: Don't use find_service() when explicitly looking
1607 * Fix nss_winbind_solaris.c build breakage on HP-UX.
1608 * Initialize the local group description.
1609 * Disable WINS and NetLogon services in the MMC services
1610 plugin when the associated smb.conf features are not enabled.
1611 * Add checks for invalid characters in new share names on the
1613 * Fix SWAT installation issues with 'make install'.
1614 * Always add the BUILTIN\Administrators SID to a Domain
1618 o Alex Deiter <tiamat@komi.mts.ru>
1619 * BUG 3196: Patch to compile against the Sun LDAP client libs.
1620 (not for AD support; just ldap support).
1623 o Guenther Deschner <gd@samba.org>
1624 * Fixed compile problems and warnings with newer OpenLDAP
1626 * Fix bug when enumerating trusted domains via 'wbinfo -m'
1627 * Parse the MS Kerberos PAC to obtain the user group
1628 membership during logon.
1629 * Add support for SeRestorePrivilege to allow a process to
1630 change the ownership of a file to any arbitrary account
1631 * Fix password history storage when using Novell eDirectory for
1633 * Backport Kerberos PAC parsing from Samba 4 branch in order to
1634 correctly create the NT User Token when logging into a Samba
1636 * Add small helper function to return a PAC_LOGON_INFO.
1637 * Use LDAP bitwise matching rule when searching for groups
1639 * Avoid an infinite loop when retrying to connect in smbspool.
1640 * Memory leak fixes in the Kerberos PAC parsing code.
1641 * Improve NT_STATUS error messages returned from pam_winbind.
1642 * Rename unknown samr group fields in samr structures with
1643 the correct name.removed separate "builtin" search enumeration.
1644 * Cleanup redundant StartTLS code.
1645 * Allow StartTLS support when connecting to Windows 2003 by
1646 setting 'ldap ssl = start_tls'.
1647 * Support raw NTLMSSP session setups in smbspool.
1648 * Add rpccli_samr_chgpasswd3().
1649 * Add 'wbinfo --separator'.
1650 * Uninitialized warnings fixes.
1651 * Fix return value in client spooler code.
1652 * Require forced migration of account policies.
1655 o Steve French <sfrench@us.ibm.com>
1656 * Fix cifs to handle non-numeric uid and gid parameters.
1657 * Merge trunk and SAMBA_3_0 mount.cifs code.
1658 * Cleanup cifs cfs help message.
1661 o Paul Green <paulg@samba.org>
1662 * Update to the latest config.guess and config.sub files.
1665 o Deryck Hodge <deryck@samba.org>
1666 * Allow control of syslog facility and level in audit vfs modules.
1669 o S Murthy Kambhampaty <smk_va@yahoo.com>
1670 * Patches for Fedora RPM specfile and init script
1673 o Krishna Ganugapati <krishnag@centeris.com>
1674 * Use the subtree delete ldap control when running 'net ads
1678 o Volker Lendecke <vl@samba.org>
1679 * New oplock implementation.
1680 * Add assert() call if winbindd cannot locate the domain SID in
1681 secrets.tdb on startup
1682 * Fix an annoying timeout in winbindd when nmbd is not running.
1683 * Speed up loading smb.conf for large numbers of share
1684 definitions by adding an internal hashing of names to snums.
1685 Thanks to Michael Adam.
1686 * Fix potential segv in rpcclient's lsarpc calls.
1687 * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
1688 * Fix alignment in getdc response.
1689 * Allow pdbedit to set the domain for a user account.
1690 * Fix fallback logic in rpc binds.
1691 * Fix memleak in message handling code.
1692 * Fix connection bug to port 445 and 139 after a successful
1694 * Add additional calls to initialize_krb5_error_table() for
1695 Kerberos client code.
1696 * Implement the possibility to have AFS users as SIDs in pts.
1697 * Removed unused alternative_name code from winbindd.
1698 * Protect against NULL alternative_name strings in winbindd.
1699 * Define a default panic action with -DEVELOPER is defined.
1700 * Add the capability to reset smbd connections on a zero VC id.
1701 * Allow smb.conf variable expansion to be disabled in passdb
1703 * Add lookupname to rpcclient query_user as a fallback.
1704 * BUG 3292: Prevent smbclient from spinning when the server
1706 * BUG 2191: Fix valgrind error in cli_session_setup_guest().
1707 * Add samr_lookup_rids for the builtin domain.
1708 * Memory allocation cleanups in passdb.
1709 * Restrict samr_open_domain() to our domain only.
1710 * Change local_lookup_sid() to local_lookup_rid() since it
1711 is responsible for our domain only.
1712 * Fix some uninitialized variable warnings.
1713 * Fix winbind_lookup_name for the local domain,
1716 o Derrell Lipman <derrell@samba.org>
1717 * Cleanup libmsrpc version numbers.
1718 * BUG 3257, 3267, 3273: Plug memory and file descriptor leaks.
1719 * Fix crash bug in libsmbclient.
1720 * Add long share name support to libsmbclient when enumerating
1724 o Jason Mader <jason@ncac.gwu.edu>
1725 * Removed compiler various warnings.
1728 o Alex Masterov <alex@infobit.ru>
1729 * BUG 3218: Fix XATTR calls on *BSD systems.
1732 o Jim McDonough <jmcd@us.ibm.com>
1733 * Speed up string_to_sid by removing next_token calls and
1734 unneeded strncmp() calls.
1735 * Implement user rename for smbpasswd and LDAP backends.
1736 * BUG 2961 (partial): Add rename support for user accounts to tdbsam
1737 * BUG 3187: Fix time zone offset in logon hours restrictions.
1740 o Stefan Metzmacher <metze@samba.org>
1741 * Fix setting of quotas on linux kernel with the struct
1743 * Enable sysquota interface on Linux by default
1744 * Use lp_socket_address() when binding to port 138/udp in nmbd.
1747 o Brian Moran <bmoran@centeris.com>
1748 * Eventlog and ServiceControl support.
1749 * Added eventlogadm tool for writing Eventlog records.
1750 * Fix typo when creating Eventlog source DLL registry paths.
1751 * Add simple script to tail syslog and write records to
1753 * Fix segv in eventlogadm when not event logs are listed in
1757 o Lars Müller <lmuelle@samba.org>
1758 * Only install smbsh manpage if smbwrapper has been successfully
1760 * Ensure setmntent() returns with != NULL in the disk_quotas()
1762 * Add configure switch to disable libmsrpc build.
1763 * Add a soname to libmsrpc.
1766 o Ricky Nance <ricky.nance@gmail.com>
1767 * Updates for the mklogon perl scripts.
1770 o Chris Nicholls <skel@samba.org>
1771 * New libmsrpc library (Google SoC Project).
1772 * Fix libmsrpc build of on the Sun compiler by removing empty
1773 structure declarations.
1776 o James Peach <jpeach@sgi.com>
1777 * Fix parsing error for smb ports parameter.
1780 o Tim Potter <tpot@samba.org>
1781 * BUG 3260: Fix DYNEXP flags on HPUX.
1784 o Marcin Porwit <mporwit@centeris.com>
1785 * Eventlog and ServiceControl support.
1786 * Added basic Performance Counter daemon which can feed data
1787 for the Windows perfmon.exe tool.
1788 * Fix directory permissions in the perfcounter daemon.
1789 * Add the 'File' registry value for the eventlog keys.
1792 o Aruna Prabakar <aruna.prabakar@hp.com.
1793 * Add checks to verify that the spooler is running on HP-UX when
1794 reloading the printer name cache.
1797 o Joel Smith <joel.j.smith@novell.com>
1798 * Add iPrint printing backend support.
1801 o Toomas Soome <Toomas.Soome@mls.ee>
1802 * Implement host lookups in nss_winbind.so.1 on Solaris
1805 o Simo Sorce <idra@samba.org>
1806 * Update Debian packaging.
1809 o John Terpstra <jht@samba.org>
1810 * Add 'net idmap' usage help text.
1813 o Andrew Tridgell <tridge@samba.org>
1814 * Change license notice of standalone talloc library to LGPL.
1817 o Darren Tucker <dtucker@zip.com.au>
1818 o Crash fix for snprintf() code.
1821 o Rainer Weikusat <rainer.weikusat@sncag.com>
1822 * Fix function name typo in skeleton VFS code.
1826 Release Notes for older release follow:
1828 --------------------------------------------------
1829 ===============================
1830 Release Notes for Samba 3.0.20b
1832 ===============================
1834 Common bugs fixed in 3.0.20b include:
1836 o A crash bug in winbindd
1837 o Reporting files as read-only instead of returning the
1838 correct error code of "access denied"
1839 o File system quota support defects
1842 ######################################################################
1847 Changes since 3.0.20a
1848 ---------------------
1853 o Jeremy Allison <jra@samba.org>
1854 * BUG 3088: Fix error condition for files on a read-write share
1855 which cannot be read due to permissions.
1858 o Gerald (Jerry) Carter <jerry@samba.org>
1859 * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota
1861 * BUG 1473, 3090: Quota detection and compilation problems on
1865 o Marc Balmer <marc@msys.ch>
1866 * Build fixes when builddir != srcdir
1869 o Alex Deiter <tiamat@komi.mts.ru>
1870 * BUG 3145: Fix build issue regarding quota support on Solaris.
1873 o Volker Lendecke <vl@samba.org>
1874 * BUG 3068: Fix for winbindd crashed by empty DC alternative
1878 --------------------------------------------------
1879 ===============================
1880 Release Notes for Samba 3.0.20a
1882 ===============================
1884 Common bugs fixed in 3.0.20a include:
1886 o Stability problems with winbindd.
1887 o Crash bugs caused by incompatibilities on 64-bit systems.
1888 o Missing files from directory listings on AIX servers
1889 o User Manager interoperability problems.
1890 o Minor build difficulties on various platforms such as
1891 Solaris and OpenBSD,
1894 Winbind, security = domain, and Active Directory
1895 ================================================
1897 Recent security updates for Windows 2000 and Windows 2003 have
1898 changed the fashion in which user and group lists can be obtained
1899 from domain controllers. In short, the RPC mechanisms used by
1900 "security = domain" to retrieve users and groups is not compatible
1901 with these changes. The "security = ads" configuration is not
1902 affected by the Windows protocol changes.
1904 Samba developers are actively working to correct this problem in
1905 the 3.0.21 release. In the meantime, Administrators who are unable
1906 to migrate to "security = ads" and must continue using "security =
1907 domain", can define credentials to be used by winbindd for account
1908 enumeration by executing the following command as root.
1910 wbinfo --set-auth-user='DOMAIN\username%password'
1914 ######################################################################
1919 Changes since 3.0.20
1920 --------------------
1925 o Jeremy Allison <jra@samba.org>
1926 * BUG 3065: Fix for legacy clients retrieving a listing of
1928 * Added external library for accessing Samba's share mode
1930 * Fix winbindd credentials chain which caused logon failures
1931 after attempting to authenticate an unknown user.
1932 * Fix recursive looping bug in winbindd.
1933 * Fix build errors on 64-bit systems.
1934 * Posix ACL memory leak and crash bug fixes.
1935 * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
1936 * BUG 3060: Ensure SMBcreate truncates the file if it exists.
1937 * Hide dot files and directory logic fixes.
1938 * Correct display of open file modes by smbstatus.
1939 * BUG 3010: Fix missing files bug on AIX systems.
1942 o Gerald (Jerry) Carter <jerry@samba.org>
1943 * Allow the root user to automatically pass se_access_checks()
1944 in the registry and service control server code.
1945 * Ensure that winbindd uses the correct name in the net_auth2()
1946 request when running on a Samba PDC.
1947 * Fix linking problem with tdb utilities.
1948 * BUG 3080: Fix regression in 'net rpc shutdown' command.
1949 * Fix segv in 'net rpc' when the pipe open fails.
1950 * Fix upload bug when installing 64-bit Windows printer drivers.
1951 * Fix regression in the smburi syntax used by smbspool.
1952 * Fix sorting of subkey hash records in registry files.
1953 * Correct REG_CREATE_KEY_EX parsing error.
1954 * Interoperability issues with usrmgr.exe and Samba groups.
1955 * Use the display names and not the Unix names when enumerating
1956 groups in the ldapsam passdb backend.
1957 * Ensure that Windows domain user names are converted to lower case.
1960 o Guenther Deschner <gd@samba.org>
1961 * Prevent BUILTIN sids returned in the user's token from
1962 a Windows DC from being applied to any local group mappings
1964 * Plug memory leaks in the Kerberos keytab code.
1965 * Ensure BUILTIN groups are returned from winbindd's idmap_rid
1966 backend when 'winbind nested groups' is enabled.
1967 * Fix crash bug in winbindd caused by 64-bit build issues.
1968 * Improve debug messages in smbspool.
1969 * Give better error-message when "NDS Universal Password" change fails.
1970 * Fix password history error in the eDirectory schema file.
1971 * Ensure that Windows domain group names are converted to lower case.
1974 o Steve French <sfrench@us.ibm.com>
1975 * Allow disabling mandatory byte range lock mount flag, and fix
1976 corresponding entry in mtab.
1979 o Volker Lendecke <vl@samba.org>
1980 * Fix race condition in the NTcreate&X open code when the
1981 disposition is NTCREATEX_DISP_CREATE.
1982 * Correct logic error when checking the pid for pending print
1983 change notify messages.
1984 * Ensure that winbindd child process complete startup even when
1985 the parent is receiving authentication requests.
1986 * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
1987 when authentication fails.
1990 o Jason Mader <jason@ncac.gwu.edu>
1991 * Compile warning fixes.
1994 o Uli Meis <a.sporto@gmail.com>
1995 * Patches for pdb_*sql.c
1998 o Luke Mewburn <lukem@NetBSD.org>
1999 * Autoconf syntax fixes.
2002 o James Peach <jpeach@sgi.com>
2003 * Correct problem with creating a core file in Linux.
2006 o Stefan Metzmacher <metze@samba.org>
2007 * Quota fixes in smbd.
2010 o Peter Rindfuss <rindfuss@wz-berlin.de>
2011 * Patches for pdb_*sql.c
2014 o Jiri Sasek <Jiri.Sasek@Sun.COM>
2015 * Solaris toolchain patches for autoconf scripts.
2018 o Andrew Tridgell <tridge@samba.org>
2019 * Fix for tdb clear-if-first race condition.
2022 o Leo Weppelman <leo@wau.mis.ah.nl>
2023 * BUG 3104: Don't allow time updates to files on read-only shares.
2026 o Steve Williams <steve@celineandsteve.com>
2027 * BUG 3052: Fix compile issues on OpenBSD.
2030 --------------------------------------------------
2031 ==============================
2032 Release Notes for Samba 3.0.20
2034 ==============================
2036 Additional features introduced in Samba 3.0.20 include:
2038 o Support for several new Win32 rpc pipes.
2039 o Improved support for OS/2 clients.
2040 o New 'net rpc service' tool for managing Win32 services.
2041 o Capability to set the owner on new files and directory
2042 based on the parent's ownership.
2043 o Experimental, asynchronous IO file serving support.
2044 o Completed Support for Microsoft Print Migrator.
2045 o New Winbind IDmap plugin (ad) for retrieving uid and gid
2046 from AD servers which maintain the SFU user and group
2048 o Rewritten support for POSIX pathnames when utilizing
2049 the Linux CIFS fs client.
2050 o New asynchronous winbindd.
2051 o Support for Microsoft Print Migrator.
2052 o New Windows NT registry file I/O library.
2053 o New user right (SeTakeOwnershipPrivilege) added.
2054 o New "net share migrate" options.
2057 What happened to 3.0.15 - 3.0.19?
2058 ==================================
2060 After some discussion it was deemed that the amount of changes
2061 going into the next Samba 3.0 release needed something to catch
2062 people's attention. Skipping several releases was chosen as
2063 the best solution with the least overhead. There will be no
2064 3.0.15 - 3.0.19 ever released. The next production release
2065 following 3.0.20 should be 3.0.21.
2067 The original announcement about the version number change can
2068 be found in the samba mailing list archives:
2070 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
2073 Asynchronous Winbind Implementation
2074 ===================================
2076 Winbindd has been completely rewritten in this release to support
2077 an almost completely non-blocking, asynchronous request/reply
2078 model. This means that winbindd will scale much better in
2079 large domain environments and on high latency networks. Neither
2080 the client interface nor the command line tools (i.e. wbinfo) have
2081 changed in their calling conventions or syntax. However, due to
2082 internal structure changes, it is required (more so than normal)
2083 that you install the nss_winbind.so library included in this release.
2086 Support for Microsoft Print Migrator
2087 ====================================
2089 Samba 3.0.20 includes full support for migrating printers from
2090 Windows servers or other Samba servers via the Microsoft Print
2091 Migrator tool. Restoring printers requires a working "add printer
2092 command" defined in smb.conf. Current support also allows
2093 administrators to create a master list of printer drivers which
2094 can be restored in bulk on new (or existing) Samba installations.
2097 Asynchronous IO Support
2098 =======================
2100 Experimental support for async IO has been added to smbd for
2101 certain platforms. To enable this new feature, Samba must be
2102 compiled to include the --with-aio-support configure option.
2103 In addition, the "aio read size" and "aio write size" to non-zero
2104 values. See the smb.conf(5) man page for more details on these
2108 ######################################################################
2115 Parameter Name Action
2116 -------------- ------
2117 acl check permissions New
2118 acl group control New
2119 acl map full control New
2122 enable asu support New
2125 map to guest Modified (new value added)
2126 max stat cache size New
2127 min password length Removed
2128 printer admin Deprecated
2129 username map script New
2130 winbind enable local accounts Removed
2131 winbindd nss info New
2134 Changes since 3.0.14a
2135 ---------------------
2141 o Jeremy Allison <jra@samba.org>
2142 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
2143 * Ensure the old SMB search calls always ask mask_match() to
2144 translate patterns like ????????.???.
2145 * Split out the check_path_syntax() into a findfirst, findnext,
2146 & wildcard versions.
2147 * Fix checks for matching groups in an file ACL against the
2148 user's primary and supplementary group list.
2149 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
2150 LANMAN2 protocol, ensure the EA size is always correctly
2151 set on a query for a file with no EA's.
2152 * BUG 2551: Look at the incoming flags2 flag
2153 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
2154 uppercased on a SMBsearch request, not the protocol level.
2155 * Added "volume" command to smbclient that prints out the
2156 volume name and serial number.
2157 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
2158 * Add support for OS/2 Extended Attributes.
2159 * Correctly check OpenX open modes.
2160 * Ensure allocation size is correctly returned for OpenX.
2161 * Only set allocation on create/truncate for nttrans.
2162 * Fix oplock bug in trans2open() code.
2163 * Remove unix_ERR_XXX global nastiness.
2164 * Only do the strange DOS error for openX, not trans2open.
2165 * Ensure SMBopen replies includes the share modes as well as
2167 * BUG 2581: Add size limit (in kb) to stat cache.
2168 * Fix bug in the trans2 secondary processing.
2169 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
2170 * Add an SMB counter per connection struct for gathering
2172 * BUG 2605: Ensure smbclient doesn't perform commands if
2173 the "chdir" fails in a scripted set.
2174 * Ensure a 'forced group' is added to the list of effective
2175 gids when processing ACLs.
2176 * Refactor rpc_bind structures for better future work.
2177 * BUG 2942: Add missing value in debug message.
2178 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
2179 by 'mangling method = hash'.
2180 * Fix memory leaks in the msdfs trans2 server code.
2181 * Convert msdfs server to be talloc'd based.
2182 * Fix up stackable vfs interface.
2183 * Fix rpc fault when encountering an unknown rpc_bind auth
2185 * BUG 2954: More AIX 5.1 AIO compile fixes.
2186 * Fix valgrind bug in interaction with new aio buffer (found
2188 * BUG 2878: Fix Norton commander not running on OS/2 clients.
2189 * Cleanup SAMR user info structure naming.
2190 * BUG 2889: Fix directly listings from OS/2 clients.
2191 * Added "acl group control" parameter.
2192 * Add debug warning if AddPrinterEx() is called without having
2193 an 'add printer command' defined.
2194 * Add better log messages when modifying ldap entries.
2195 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
2196 when string is unaligned.
2197 * BUG 2918: Fix SMB chaining by ensuring that deferred open
2198 message buffer is nor reused.
2199 * Add support for client setting capabilities to select posix
2200 pathnames on the wire.
2201 * Stop using C++ reserved words so that Samba can be compiled
2202 using g++. Also allows VFS modules in C++.
2203 * More fixes to allow better large directory scaling.
2204 * BUG 2827: Ensure we call the vfs connection hook before
2205 doing a vfs stat. Allows database vfs backends to initialize
2206 with a working connection.
2207 * BUG 2826: Ensure the correct return value for symlink and
2208 readlink in the VFS.
2209 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
2210 * Added AIO support to smbd.
2211 * Add "acl map full control", true by default, to allow people
2212 to change mapping of rwx to full control or not.
2213 * Transition smbd to use NTcreate&X for internal file opens.
2214 * Add checks against the current effective group id (e.g. force
2215 user) when testing write permissions one ACLs.
2216 * Fix FindFirst/FindNext server code when parsing directories
2217 on old IRIX XFS file systems (thanks to Cale Fairchild
2218 for the debugging help).
2219 * BUG 2644: Test for special files to be ignored was reversed.
2220 * Ensure yield_connection() is called on all appropriate error
2222 * Fix EDEADLCK problem with deferred open calls.
2223 * BUG 2622: Remove DPTR_MASK as it makes no sense.
2224 * Fix the write cache based on some VERY good detective work
2226 * BUG 2346: Fix read-only excel file bugs.
2227 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
2228 return ENOSYS if not implemented.
2229 * Add new CAP for POSIX pathnames.
2230 * BUG 2703: Add NULL guard for disp_fields[0].
2231 * BUG 2681: With "strict allocate = yes" we now zero fill when
2232 a file is extended. Should catch disk full errors on write
2234 * Add "acl check permissions" to turn on/off the new
2235 behavior of checking for write access in a directory
2237 * Refactor printing interface to take offset into job.
2238 * Allow mapping of POSIX ACLs to NT perms to differentiate
2239 between directories and files.
2240 * Added encrypt/decrypt function for LSA secrets and trusted
2241 domain passwords on the wire.
2242 * BUG 2729: Resume keys are *mandatory* for a search when
2243 listing a W2K and above server from a FATxx filesystem only.
2244 * BUG 2735: Ensure that smbd mangles control characters in file
2245 and directory names.
2246 * Refactor small pieces of socket handling code (in conjunction
2248 * BUG 2698: Fix infinite listing loop in smbclient caused by
2249 an invalid character set conversion.
2250 * Add client code that will abort a directory listing if we
2251 see the same name twice between packets.
2252 * Performance improvements in trans2 qfilepathinfo code by
2253 removing unnecessary memset() calls.
2254 * Rewrite the RPC bind parsing functions to follow the
2255 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
2256 * BUG 2774: Set sparse flag if needed when returning
2258 * Fix errors listing directories from Windows NT clients
2259 which caused "." and ".." to show up in explorer.exe.
2260 * Merge of error code fixes from SAMBA_4_0 branch.
2261 * BUG 2801: Fix regression in the "delete veto files" option.
2262 * Fix based on work from Shlomi Yaakobovich to catch loops
2263 in corrupted tdb files.
2264 * Allow someone with SeTakeOwnershipPrivilege to chown the
2265 user of a file to herself.
2266 * Fix minor compiler warnings in printing/printing.c.
2267 * Merge new DOS error code from SAMBA_4.
2268 * Fix issue when non-English characters in filenames and
2270 * Fix bogus error message in smbstatus about unknown share modes.
2273 o Andrew Bartlett <abartlet@samba.org>
2274 * Support raw NTLMSSP authentication for Windows Vista
2276 * Fix parallel NTLMSSP processing by removing global state.
2277 * BUG 2684: Add per service hosts allow/deny checks for
2278 printers when connecting via MS-RPC.
2279 * BUG 2391: Fix segv caused by free a static pointer returned
2281 * Support Kerberos authentication in smbd when using a keytab
2282 and participating in a non-Microsoft Kerberos realm.
2285 o Timur Bakeyev <timur@com.bat.ru>
2286 * BUG 2546: Add support for FreeBSD EA API
2287 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
2288 * BUG 2908: Fix string length logic error in msdfs code.
2289 * BUG 2909: Fix typo that caused smbd to call the wrong
2293 o Ed Boraas <ed.boraas@concordia.ab.ca>.
2294 * Added Linux per-socket TCP settings.
2297 o Gerald (Jerry) Carter <jerry@samba.org>
2298 * Added support for \svcctl pipe rpcs.
2299 * Added 'net rpc service' subcommand for managing Win32
2301 * Refactoring work on the rpc [un]marshalling layer and
2303 * Verify privilege name in 'net rpc rights privileges' in
2304 order to provide better error messages.
2305 * Cleanup rpc structures in rpc_spoolss.h.
2306 * Cleanups and fixes for the \winreg server code.
2307 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
2308 * Fix bugs in client spoolss code after refactoring work.
2309 * Fix Valgrind warnings of invalid reads in the spoolss
2311 * Fixed a segv when enumerating services on a Samba host.
2312 * Fix segv in the service control server code.
2313 * Fix crashes in client spoolss calls caused by not checking
2314 for a valid pointer from the caller.
2315 * Fix regression in DeleteDriver() server routines.
2316 * Fix dup_a_regval() when size is 0.
2317 * Fix usrmgr.exe crash when viewing user properties at
2319 * Do not enumerate any privileges when 'enable privileges = no'
2320 and log a message if a client tries.
2321 * BUG 2872: Fix cut-n-paste error when checking pointer value
2322 in ntlmssp_set_workstation().
2323 * Fix upgrade path from earlier nt*tdb files.
2324 * Removed print handle object cache.
2325 * BUG 2853: Don't strip out characters like '$' from printer
2326 names when substituting for the lpq command.
2327 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
2328 * Fix build issues on x86_64-linux systems caused by valgrind
2329 headers. Thanks to Bent Vangli to the suggestions.
2330 * Refactor spoolss client calls.
2331 * Adding 'username map script'.
2332 * Disable schannel on the LSA and SAMR pipes in winbindd client
2333 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
2334 * Cleanup of winreg API functions.
2335 * Add server stubs for RegSetKeySec() and RegGetKeySec().
2336 * Map generic bits to specific bits in reg_open_entry()
2338 * Add write support to registry tdb and printing backends.
2339 * Use tdb lookups rather than hard-coding certain registry
2340 value names and data.
2341 * BUG 2808: don't try to install man pages if they are not
2343 * Fix initialized variables reported by valgrind.
2344 * Normalize key lookups in ntprinters.tdb.
2345 * Mark "enumports command" as deprecated.
2346 * Add missing class file for python share command example.
2347 * Fix smbclient build issue on Solaris.
2348 * BUG 2626: ensure that the calling_name is set to something
2349 after parsing smb.conf (if not set via -n).
2350 * Use "add machine script" when creating a user (ACB_NORMAL)
2351 who has a name ending in '$' (e.g. usrmgr.exe creating
2352 domain trust accounts).
2353 * Add 'rid' synonym for idmap_rid IDMap module.
2354 * Ensure that we set full access on the handle returned
2355 from _samr_create_dom_{alias,group}() so that future
2356 set_{alias,group}() commands succeed.
2357 * Fix bug when looking for internal domains in winbindd
2358 (caused winbindd_getgrgid() for local groups to fail).
2359 * Fix query and set alias info calls (level 1 from the MMC
2360 manage computer plug-in.
2361 * Remove bogus log messages about unknown specversions.
2362 * BUG 2680: copy files from an MS-DFS win2k root share
2363 * BUG 2688: re-implement support for the -P (--port) option
2364 * Support connecting to an 'msdfs proxy' share on a Samba
2366 * Strip the directory path from cups command line printing
2368 * Fix bug that prevented smbclient from creating directories
2370 * Deprecate the "printer admin" parameter in favor of the
2371 SePrintOperatorPrivilege.
2372 * Add the capability to read and write WinNT regf registry
2374 * Implement access checks for RegOpenXXX() server calls.
2375 * Extend registry client rpc calls.
2376 * Add "net rpc registry" set of commands.
2377 * Remove testprns tool.
2378 * Ensure that printer ACLs use the specific bits as well as
2379 the generic bits. Upgrade existing ntprinters.tdb SECDESC
2381 * Add server support for RegSaveKey() for dumping registry
2382 trees to a regf file.
2383 * Add "enable asu support" smb.conf parameter.
2384 * Merge various small file changes from trunk.
2385 * Remove "winbind enable local accounts" support.
2386 * Remove "ldap filter" smb.conf option.
2387 * Remove editreg utility (needs to be rewritten using regfio.c).
2388 * Fix build failure when running 'make torture' without first
2389 running 'make all' first.
2390 * BUG 1261: Remove unusable libbiconv from iconv detection
2392 * Add new option for "map to guest". "Bad Uid" re-enables the
2393 Samba 2.2 behavior of mapping authenticated users to the
2394 guest account if there does not exist a valid Unix account
2395 for the Windows domain user (based on patch from
2396 aruna.prabakar@hp.com).
2397 * Fix a couple of regressions after introduction of new winbindd.
2398 * Fix smbpasswd user password change (still worked by bad error
2399 messages) due to trying to strdup a NULL pointer.
2400 * Implement default security descriptors for the
2401 OpenService[Manager]() calls and check requested access mask
2403 * Include access checks on handle mask for \svcctl operations
2404 such as ControlService() and StartService().
2405 * Implement simulated start and stop service control for
2406 the spooler service as a per smbd service state value.
2407 * Add interface structure for controlling service via rc.init
2408 scripts (incomplete).
2409 * Convert move_driver_to_download_area() to use copy_file()
2410 rather than moving the files.
2411 * Add version number to registry.tdb file since it can be
2413 * Remove over-paranoid assert() call when checking spoolss
2415 * Fix error in EnumPrinterData() reported by valgrind.
2416 * Fix broken help links in SWAT editor caused by new doc layout.
2417 * Ensure that a domain structure in winbind is initialized prior
2418 to assigning the methods for communicating to a DC.
2419 * BUG 3000: Remove background updates of winbind cache and allow
2420 child processes to immediately update and expired cache entry.
2423 o David.Collier-Brown <David.Collier-Brown@sun.com>
2424 * Added panic action script for Solaris.
2427 o Jeremy Cooper <jeremy@ncircle.com>
2428 * Added support for several new \winreg client rpcs.
2431 o <core@road-star.jp>
2432 * BUG 2792: Ensure the shadow copy module hooks seekdir,
2433 telldir, rewinddir to match updated large directory code.
2436 o Guenther Deschner <gd@samba.org>
2437 * Close handles on group creation in rpcclient to better
2438 support mass group account creation.
2439 * Fix account policy key lookup for minimum and maximum
2441 * Fix some compiler warnings and add missing exclude-block
2442 in 'net rpc share migrate'.
2443 * Allow use of a non-default smb.conf by rpcclient.
2444 * Fix querydispinfo search semantics in rpcclient test code.
2445 * Fix querydispinfo server semantics to allow to list more
2447 * Fix server crash bug in ancient OpenPrinter() call.
2448 * Fix a crash bug when enumerating privileges via the LSA
2450 * Fix crash in EnumPrinterKey() client calls caused by previous
2452 * Various compiler warning fixes.
2453 * Fix segfault in the client AddPrinterEx-call of 'net
2455 * Fix build issues when --with-aio-support is enabled.
2456 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
2457 * Honour the CC environment variable in python build.
2458 * Fix searches in pdb_ldap for inter-domain trust accounts.
2459 * Don't expand the %L in %LOGONSERVER% from user attributes.
2460 * Fix bug in 'net rpc vampire' that caused accounts to be created
2461 with no assigned ACB flags.
2462 * Fix enumeration of builtin-aliases.
2463 * Avoid unset rids for builtin-aliases.
2464 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
2465 * More "net rpc share migrate" fixes.
2466 * Merge PADL's idmap_ad plugin (taken from the latest
2467 xad_oss_plugins-tarball).
2468 * Add support for "idmap backend = ad" when "security = ads".
2469 * Add home directory and shell support from AD via "winbindd nss
2470 support = sfu" and "security = ads".
2471 * Provide better feedback when we fail share-manipulation
2472 due to missing scripts.
2473 * Correctly substitute "\" as default winbind separator in
2474 generate_parm_table.py example share command script.
2475 * Document pam_winbind.c to clarify the working status of
2476 require-membership-of option.
2477 * Added client-support for various lsa_query_trust_dom_info()
2478 calls and a rpcclient-tester for some info-levels.
2479 * Add "net rpc trustdom vampire" tool (in conjunction with
2481 * Add missing cli_srvsvc_net_share_set_info-function and
2482 rpcclient-testers (in preparation for net share acl migration).
2483 * Print trusted domain passwords returned via rpcclient in
2485 * Error code fixes when attempting to manipulating
2486 non-existent shares.
2487 * Cleanup "net share migrate" code.
2488 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
2490 * Allow admins to uncheck the "User must change Password at
2491 next Logon" checkbox in User manager (merge from trunk).
2494 o Renaud Duhaut <rd@duhaut.com>
2495 * BUG 1040: Add directory_mode parameter when creating recycle
2499 o Steven Edwards <steven_ed4153@yahoo.com>.
2500 * Use chsize() if we don't have ftruncate().
2503 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
2504 * BUG 1780: Add Kerberos (file based ticket cache) support
2508 o Steve French <sfrench@us.ibm.com>
2509 * Update list of mount options for mount.cifs.
2510 * Add more defines for POSIX extensions to match the newly
2511 added client implementation.
2512 * Add initial support for cifs umount utility.
2513 * Fix cifs mounts to handle commas embedded in prompted
2514 password, and password and credential files.
2515 * Fix cifs mounts to handle domain name and user name in
2516 username field (in form domain\user).
2517 * Add missing error code mappings when a client unsuccessfully
2518 tries to create a hard-link.
2519 * Add support so umount.cifs can update mtab.
2520 * Add two newer mount options to syntax help for mount.cifs.
2521 * Add missing remount flag handling.
2522 * Allow domain= to be specified in credentials file.
2523 * Fix umount.cifs help, allow root to unmount someone else's
2525 * Lock mtab when updating it during umount.cifs, also delete
2526 only one matching entry at a time.
2527 * Fix minor compiler warnings in the mount.cifs helper.
2530 o Deryck Hodge <deryck@samba.org>
2531 * BUG 2137: Encode quotes for display in HTML (original patch
2535 o Olaf Imig <Olaf.Imig@bifab.de>
2536 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
2538 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
2541 o Björn Jacke <bj@sernet.de>
2542 * Added ioctl constants reported by msbackup.exe and filemon.exe.
2545 o Kevin Jamieson <bugzilla@kevinjamieson.com>
2546 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
2549 o John Janosik <jpjanosi@us.ibm.com>
2550 * BUG 2077: Correctly fill in the correct server name when
2551 processing trusted domain logins.
2552 * BUG 2976: Mark logons for unknown domains with a
2553 non-authoritative response.
2556 o William Jojo <jojowil@hvcc.edu>
2560 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2561 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
2565 o Tom Lackemann <cessnatomny@yahoo.com>
2566 * BUG 2242: Patch to ensure that we only set the security
2567 descriptor on an NTtransact create if we created the file.
2570 o Volker Lendecke <vl@samba.org>
2571 * Port some of the non-critical changes from HEAD to 3_0.
2572 The main one is the change in pdb_enum_alias_memberships
2573 to match samr.idl a bit closer.
2574 * Close handles on user creation in rpcclient to better
2575 support mass user account creation.
2576 * Implement client RAP calls for enumusers/enumgroups level 0.
2577 * Implement a new caching API for enumerating the pdb elements.
2578 * Convert the RAP user and group enumeration functions to the
2579 utilized the pdb_search API.
2580 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
2581 RestrictAnonymous environments.
2582 * Internal passdb API changes for better search capabilities
2583 (based on original work by Guenther Deschner).
2584 * Fix various compiler warnings.
2585 * Add chain length statistics to tdbtool.
2586 * Fix set afs ACL calls on files and directories in the root of
2588 * Refactoring work on internal open code
2589 * Correctly initialize the version in a new set of nt*tdb files.
2590 * Remove smb_run_idle_events() from main process loop in smbd
2591 and instead rely upon the timeout processing to handle
2592 dropping idle LDAP connections.
2593 * Fix the bug where users show up as trusting domains.
2594 * Fix an assertion failure in winbindd.
2595 * Fix a memleak in vfs_afsacl.
2596 * Various compiler warning fixes.
2597 * Fix compile when --enable-socket-wrapper is defined.
2598 * Fixes for top level acls in vfs_acl.c.
2599 * Refactor passdb interface functions.
2600 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
2601 * Correct 2 segv's in "net rpc printer migrate".
2602 * Return correct group type from smbd for BUILTIN groups.
2603 * Backport the talloc() layer from Samba 4.
2604 * BUG 2701: Fix segv in ldap reconnection code.
2605 * BUG 2705: Fix segv when connecting from usrmgr.exe.
2606 * Use the SID in the user token for the %s expansion in 'afs
2608 * Memory leak fixes in passdb code.
2609 * BUG 2720: Fixes for "net usersidlist".
2610 * BUG 2725: Fix segv in "net ads user".
2611 * Only allow schannel connections if a successful Auth2
2612 has been previously performed.
2613 * Don't look at gencache.tdb for the trusted domains if
2615 * Rewrite winbindd using an asynchronous process model.
2618 o Herb Lewis <herb@samba.org>
2619 * Compiler warning cleanups.
2620 * smbwrapper Makefile and compile time check cleanups.
2621 * Adding robustness checks for tdbdump and tdbtool.
2622 * Extend tdb command line parsing to arbitrary hex characters.
2623 * Add LOCKING debug class.
2624 * Fix more compiler warnings.
2627 o Derrell Lipman <derrell@samba.org>
2628 * add support for opening a file for write with O_APPEND
2630 * Added smbsh/smbwrapper for Linux to example/libsmbclient
2632 * Fix smbc_stat() from returning incorrect timestamps IFF
2633 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
2634 and not if it used cli-getatr() to retrieve the timestamps
2636 * Fix handful of compiler warnings.
2637 * BUG 2498, 2484: smbc_getxattr() fixes.
2638 * BUG 1133: Added provision for overloading some global
2639 configuration options via the new, per-user file
2640 ~/.smb/smb.conf.append.
2641 * BUG 2543: Properly cache anonymous username when reverting
2642 to anonymous login, in libsmbclient.
2643 * BUG 2505: Fix large file support in libsmbclient.
2644 * BUG 2564: Ensure correct errno when smbc_opendir() was called
2645 with a file rather than a directory.
2646 * Correct deprecated lvalue casts in testsuite/libsmbclient.
2647 * BUG 2663. cli_getattrE() and cli_setattrE() were not
2648 formatting or parsing the timestamp values correctly.
2649 * Correctly detect AF_LOCAL support in configure.
2650 * Fix problem updating file times on Windows 98 hosts using
2652 * Fix compile breakage on Solaris by eliminating the use of
2653 ctime_r() in libsmbclient DEBUG statement.
2656 o Jason Mader <jason@ncac.gwu.edu>
2657 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
2658 * Various compiler warning fixes about mistyped variables.
2659 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
2661 * BUG 2527, 2538: Removed unused variables.
2664 o Marcel <samba.10.maazl@spamgourmet.com>
2665 * Fix regression in OS/2 trans2 open code.
2668 o Jim McDonough <jmcd@us.ibm.com>
2669 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
2670 (in conjunction with Volker).
2671 * BUG 2953: Prevent the credentials chain on DC gets out
2672 of sync with client when NT_STATUS_NO_USER is returned.
2673 * Added subcommands to "net rpc vampire" (mostly done by Don
2674 Watson <dwatson@us.ibm.com>) to allow data to be put into an
2675 ldif file instead of actually writing to the passdb.
2676 * BUG 2736: Add retries to workaround winbind race condition
2677 with detecting idle clients.
2678 * BUG 2953: Additional fixes for domain trusts. Also clears
2679 up the "bad stub" error when attempting to logon to a Samba
2680 domain with a bad username.
2683 o Luke Mewburn <lukem@NetBSD.org>
2684 * Compiler warning fixes.
2687 o Kalim Moghul <kalim@samba.org>
2688 * Removed unused printmode command from smbclient.
2691 o Lars Müller <lmuelle@samba.org>
2692 * Re-enable the VERSION_REVISION option in case of another
2694 * Fix spoolss python bindings after C++ compiler changes and
2696 * BUG 2659: Don't trump on memory in smbtorture.
2697 * BUG 2060: Add -fPIC which is the case for all other Samba
2699 * Fix argv parsing in "net rpc".
2700 * Add support to create position independent executable (PIE)
2701 code if the compiler supports it.
2702 * BUG 2767: Add new options to testparm (--show-all-parameters,
2703 --parameter-name, and --section-name).
2704 * Fix net share migrate files to also migrate the ACLs of
2705 the top level dir of a share.
2708 o Marcel Muller <mueller@maazl.de>
2709 * Patch to fix the OS/2 EA_FROM_LIST info level call.
2710 * Mangled names fix for OS/2 clients.
2711 * Ensure we correctly set the return packet size to include the
2712 pad bytes in reply_readbmpx().
2713 * Fix for bug in SMBwriteBraw that incorrectly returned the
2714 number of bytes written.
2717 o Ricky Nance <ricky.nance@gmail.com>
2718 * Implemented mklogon script generator for domain logon scripts.
2721 o James Peach <jpeach@sgi.com>
2722 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
2723 * BUG 2285: Patch for hires timestamps and efficient notify code.
2724 * MS-DFS tidyup patches.
2725 * Build fixes on IRIX.
2726 * IRIX compiler warning fixes.
2727 * BUG 2596: Fix become_root link issues and one IRIX stack
2729 * Fix for null pointer ACL free.
2730 * BUG 2314: Fix const compiler warnings in the quota code.
2733 o Ed Plese <ed@edplese.com>
2734 * Fix faulty logic which caused winbindd to return failure
2735 when a user possessed no supplementary groups.
2738 o Marcin Porwit <mporwit@centeris.com>
2739 * Initial support for the \eventlog pipe.
2740 * Fix a memleak in the eventlog code.
2741 * Miscellaneous fixes for Samba's experimental event log support.
2742 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
2746 o Tim Potter <tpot@samba.org>
2747 * BUG 2940, 2943: Fixed various compiler warnings regarding
2748 mismatched types and unused variables.
2749 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
2750 * BUG 2733: Fix incorrect SHLIBEXT is set when running
2751 configure script on HPUX IA.
2752 * Remove unused autoconf #define's.
2753 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
2754 * Removed unused function declarations in tdb.h.
2755 * BUG 2895: Don't wrap non-existent functions in the python
2757 * BUG 2623, 2630: $< and $* are not valid in explicit rules
2759 * BUG 2560: Fix compile error lurking where PATH_MAX is not
2761 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
2762 * BUG 2611: Add fflush(stdout) after displaying username prompt
2763 in smbsh if username not specified on command line.
2764 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
2765 * BUG 2808: Update install swat message to reflect the fact
2766 that swat/README no longer exists.
2769 o Denis Sbragion <d.sbragion@infotecna.it>
2770 * BUG 2196: Allow absolute path (system wide) recycle bin.
2773 o Fernando Schapachnik <fernando@mecon.gov.ar>
2774 * Add logon hours support for the Postgres backend.
2777 o Richard Sharpe <rsharpe@samba.org>
2778 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
2780 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
2781 * BUG 2362: Quota support fix for DragonFly.
2782 * Fix dragonfly detection in configure.
2785 o Simo Sorce <idra@samba.org>
2786 * Allow Domain Admins to force user sessions to close via the
2787 Windows Server Manager.
2788 * Add support to 'net rpc right privileges <name>' to enumerate
2789 accounts which possess a specific privilege.
2790 * Fix memory issues issues in vfstest (reported by Rainer Link).
2791 * Randomize reloading as to not overload cupsd.
2794 o Smitty <smitty@plainjoe.org>
2795 * Compile fixes for smbget when using --enable-developer.
2796 * Include LUID values to match Windows privileges since
2797 apparently this matters to printmig.exe
2800 o John Terpstra <jht@samba.org>
2801 * Solaris packaging fixes.
2802 * Clean up usage help text in "net rpc user"
2805 o Andrew Tridgell <tridge@samba.org>
2806 * Merge socket wrapper library fixes from Samba 4.
2809 o Brett Trotter <blt@iastate.edu>
2810 * Fix definition of global_sid_* in vfs_acl.c.
2813 o Mark Weaver <mark-clist@npsl.co.uk>
2814 * Patch to fix sys_select so it can't drop signals if another
2815 fd is ready to read.
2818 o Jelmer Vernooij <jelmer@samba.org>
2819 * Remove --with-manpage-languages configure option.
2820 * Merge socket wrapper fixes for IRIX systems from the
2822 * Add socket_wrapper library to 3.0. Can be enabled by passing
2823 --enable-socket-wrapper to configure.
2824 * Fix build of the various sql pdb backends after new talloc.
2827 o Qiao Yang <qyang@stbernard.com>
2828 * Use our own DC when getting the SID for a domain.
2832 Release Notes for older release follow:
2834 --------------------------------------------------
2835 ===============================
2836 Release Notes for Samba 3.0.14a
2838 ===============================
2840 Common bugs fixed in 3.0.14a include:
2842 o Compatibility issues between Winbind and Windows 2003 SP1
2843 domain controllers (*2k3sp1*).
2844 o MS-DFS errors with Windows XP SP2 clients.
2845 o High CPU loads caused by infinite loops in the FindNext()
2847 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
2851 ######################################################################
2855 Changes since 3.0.14
2856 --------------------
2860 o Jeremy Allison <jra@samba.org>
2861 * Fixed invalid SMB_ASSERT() triggered by checking access on
2865 Changes since 3.0.13
2866 --------------------
2871 Parameter Name Action
2872 -------------- ------
2873 dos filetimes Enabled by default
2878 o Jeremy Allison <jra@samba.org>
2879 * Prevent nt_status code support when negotiating protocols
2881 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
2882 as this SMB is DOS codepage only.
2883 * BUG 2585: Fix printf() issues in smbpasswd which caused
2885 * BUG 2563: Fix infinite loop on non-existent file with
2887 * BUG 2581 (partial): Ensure if realloc fails on an internal
2888 tdb we fail gracefully.
2889 * Ensure that 'dos filetimes' works with ACLs.
2890 * Set 'dos filetimes = yes' as the default for smb.conf.
2893 o Gerald (Jerry) Carter <jerry@samba.org>
2894 * Workaround autoconf issue to prevent debug symbols from
2895 being included in the default build.
2896 * Disable schannel on the \lsarpc pipe in order to successfully
2897 enumerate users and groups (*2k3sp1*)
2898 * Fix parsing error in rpc binds which broke NTLMSSP
2899 authentication. And as a result broke CTL+ALT+DEL password
2900 changes from a Windows 2003 SP1 member of a Samba domain
2902 * Revert change to FindFirst() server code that broke WinXP
2903 SP2 clients from launching *.exe files from a dfs target
2905 * BUG 2588: Force smbclient to send netbios messages to port
2906 139 unless otherwise instructed (based on patch from Thomas
2910 o Volker Lendecke <vl@samba.org>
2911 * Fix build on FreeBSD 4 where Winbind is not supported.
2912 * Fix 'wbinfo --user-sids' when using domain local groups.
2913 * Restrict domain local groups reported by 'wbinfo -r' to
2914 the Samba server domain and not the users domain.
2917 o Lin Li <linl@xandros.com>
2918 * Ensure that winbind initializes internal trusted domain
2919 structures when enumerating users and groups.
2922 o Tim Potter <tpot@samba.org>
2923 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
2925 * Fix compiler warnings.
2928 o <psz@maths.usyd.edu.au>
2929 * Fix for possible root squash NFS bugs.
2932 o Simo Sorce <irda@samba.org>
2933 * Debian packaging fixes.
2936 --------------------------------------------------
2937 ==============================
2938 Release Notes for Samba 3.0.13
2940 ==============================
2942 Common bugs fixed in 3.0.13 include:
2944 o Infinite FindNext() loop from Windows 9x client when
2945 copying or deleting files on a Samba file share using
2947 o Numerous smbclient bugs when listing directories.
2948 o Failures in smbclient when connecting to a Windows 9x
2952 ######################################################################
2956 Changes since 3.0.12
2957 --------------------
2959 o Jeremy Allison <jra@samba.org>
2960 * Fix typo bug in smbclient where flags overwrote info level
2961 in the cli_list_new().
2962 * Fix old smbclient bug where ff_searchcount was being compared
2963 to -1 resulting in processing a filename twice.
2964 * Fix segv in smbclient caused by overwriting the last 2 bytes
2966 * BUG 2530: Fix potential segv in smbclient when talking to a
2967 Windows 9x file server.
2968 * Fix last entry offset in cli_list_new() when using a
2969 FindFirst/FindNext info level of 0x104.
2970 * BUG 2501: Stop Win98 from looping doing FindNext on a
2971 singleton directory.
2972 * BUG 2521: Fix error in access checks when user group ACLs.
2975 o Gerald (Jerry) Carter <jerry@samba.org>
2976 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
2977 to delete all versions of a driver.
2978 * BUG 2517: use the realm from smb.conf for 'net ads info' when
2979 'disable netbios = yes'.
2980 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
2982 * Update RedHat packaging files to require cups support. Also
2983 remove requirement for 'idmap {uid,gid}' settings in smb.conf
2984 from winbindd init script.
2985 * BUG 2516: fix compile issue on True64.
2989 o Guenther Deschner <gd@samba.org>
2990 * Check for the correct cli-struct when copying files in 'net
2991 rpc printer' routines.
2994 o Herb Lewis <herb@samba.org>
2995 * Fix incorrect test in 'net rpc user' when the user is not
2996 a member of any groups.
2999 o Jim McDonough <jmcd@us.ibm.com>
3000 * Make sure that enum_group_members() searches the correct suffix.
3003 --------------------------------------------------
3004 ==============================
3005 Release Notes for Samba 3.0.12
3007 ==============================
3009 Common bugs fixed in 3.0.12 include:
3011 o Winbind failures when using 'disable netbios = yes'
3012 o Failure to establish a trust relationship via 'net rpc trust
3014 o Various portability & compiler issues.
3015 o Read only file deletion failure caused by new delete semantics
3016 in Windows XP SP2 and the MS 04-044 security hotfix.
3017 o Error messages from shared Excel workbooks residing on Samba
3019 o Missing files in the output of smbclient -c 'dir' when run
3020 against Windows file servers.
3021 o Inability for Print Administrators to pause/resume/purge print
3024 Additional features introduced in Samba 3.0.12:
3026 o Performance enhancements when serving directories containing
3027 large number of files.
3028 o MS-DFS support added to smbclient.
3029 o More performance improvements when using Samba/OpenLDAP based
3030 DC's via the 'ldapsam:trusted=yes' option.
3031 o Support for the Novell NDS universal password when using the
3032 ldapsam passdb backend.
3033 o New 'net rpc trustdom {add,del}' functionality to eventually
3034 replace 'smbpasswd {-a,-x} -i'.
3035 o New libsmbclient functionality.
3039 =======================
3040 Large Directory Support
3041 =======================
3043 Samba 3.0.12pre1 introduces a specific mechanism for dealing
3044 with file services that frequently contain a large number of files
3045 per directory. Historically Samba's performance has suffered
3046 in such environments due to the translation from case
3047 insensitive lookups by Windows client to the case sensitive
3048 storage mechanisms used by UNIX filesystems.
3050 Configuration details along with a short HOWTO can be found at:
3052 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
3055 ==================================
3056 libsmbclient Binary Compatibility
3057 ==================================
3059 Please note that a change has been made to the _SMBCCTX structure
3060 in source/include/libsmbclient.h. This change is not backwards
3061 compatible with applications linked against the libsmbclient.so
3062 library from Samba 3.0.11. However, it is compatible with all
3063 other Samba 3.0.x releases. This means that it will be most likely
3064 be necessary to recompile any applications linked against the
3065 3.0.11 version of the library.
3068 ######################################################################
3075 Parameter Name Action
3076 -------------- ------
3077 allocation roundup size New
3078 log nt token command New
3079 write cache Deprecated
3083 Changes since 3.0.11
3084 --------------------
3088 o Jeremy Allison <jra@samba.org>
3089 * BUG 2146: Return correct allocation sizes so as not to crash
3091 * BUG 962: Ensure that parsing of service names in smb.conf is
3093 * BUG 2201, 2227: Support new delete semantics used by MS04-044
3095 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
3096 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
3097 * Add special hooks when serving directories containing large
3099 * Ensure that WINS negative name query responses and WACK
3100 packets use the correct RR type of 0xA instead of reflecting
3101 back what the query RR type was (0x20).
3102 * BUG 2310: Only do 16-bit normalization on small dfree request.
3103 * BUG 2323: Correct authentication failure when using plaintext
3104 passwords from Windows XP clients.
3105 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
3106 work around issues building MS Visual Studio 6.0 project
3107 on a Samba file share while restoring the pre-3.0.21pre1
3108 behavior by default.
3109 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
3110 stat when checking for existence of a pathname.
3111 * Check the sticky bit on the parent directory for supporting
3112 the new WinXP SP2 file deletion semantics.
3113 * Various oplock, share mode, and byte range locking fixes
3114 found by Connectathon tests.
3115 * BUG 2271: Fix resume key issues in trans2FindFirst() client
3116 code (inspired by patch from Satwik Hebbar).
3117 * BUG 2382, 2045: More pending modtime and delayed write fixes
3118 for MS Excel (incorporates partial patches from
3119 ke_miyata@itg.hitachi.co.jp).
3120 * Debug log message cleanups.
3121 * Add case insensitive search for a principal match on logon
3122 verification in the system keytab (based on patch by
3123 Michael Brown <mbrown@fensystems.co.uk>).
3124 * Revert the previous SMB signing change from Nalin Dahyabhai
3125 when using DES keys.
3126 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
3127 * Fix FindFirst() server code to deal with resume names of ".."
3128 and "." (found by Jim McDonough).
3129 * BUG 2451: Fix missing functions in full audit VFS module.
3130 * Ensure that smbd logs failures reported by DISK_FREE()
3131 (reported by Ying Li <ying.li2@hp.com>).
3132 * Ensure that smbclient obeys the max protocol argument again.
3133 * BUG 2335: Return correct error code for OS/2 clients (based on
3134 negotiated protocol level).
3135 * BUG 2460, 2464: remove dead code and unused variables
3136 (reported by Jason Mader).
3139 o Andrew Bartlett <abartlet@samba.org>
3140 * Avoid length-limited intermediate copy of NT and LM responses
3142 * Debug message cleanups in the NTLMSSP implementation.
3145 o Manuel Baena <mbaena@lcc.uma.es>
3146 * Print actual error message in smbmnt.c:fullpath().
3149 o Vince Brimhall <vbrimhall@novell.com>
3150 * Add support for Novell NDS universal password.
3151 * BUG 2424: Ensure that uidNumber and gidNumber use match
3153 * BUG 2453: Change the way pdb_nds.c handles users with no
3154 Universal or Simple Password.
3155 * NDS schema file corrections.
3158 o Gerald (Jerry) Carter <jerry@samba.org>
3159 * Add trans2 client call for checking dfs referrals
3160 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
3161 when checking directories on modern CIFS servers.
3162 * Add MS-DFS support to smbclient.
3163 * Code cleanup of adt_tree.[ch].
3164 * Add missing checks to allow root to manage user rights.
3165 * Allow domain admins to manage rights assignments on domain members
3167 * BUG 2333: Use the lpq command to pass in the correct printer name
3168 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
3170 * BUG 1439: make sure to initialize pointer to prevent invalid
3172 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
3174 * Add cups-devel to BuidlRequires directive in Fedora spec file.
3175 * BUG 858: Fix order of popt args evaluation so we don't crash
3176 when given no command line args.
3177 * Remove dependency on bash for source/autogen.sh.
3178 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
3179 * Implement MS-DFS for recursive directory listings in smbclient.
3180 * BUG 2394: Fix nmbd linking issue on IRIX.
3181 * Only display the publish check box in the client's printer
3182 properties dialog if we are a member of an AD domain.
3183 * BUG 2363: allow 'in use' driver to be removed as long as
3184 one 'Windows NT x86' driver remains.
3185 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
3187 * Enforce better printer.tdb cache consistency when removing
3188 jobs from a print queue via SMB.
3189 * Ensure that pause/resume/purge print queue commands are run
3190 with the appropriate level of privilege necessary to actually
3192 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
3193 for 'printing = cups' installations that do not actually have
3195 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
3196 * BUG 2215: Rewrite questionable code that was causing gcc to
3198 * Add server support for LsaLookupPrivValue().
3199 * Various small compile fixes and cleanup warnings.
3200 * BUG 2456: Fix compile failure on non-gcc platforms due to
3201 non-standard pragma.
3204 o Kevin Dalley <kevin@kelphead.org>
3205 * BUG 2398: Don't force smbclient to assume a dry run if the
3206 target tarfile is /dev/null.
3209 o Guenther Deschner <gd@samba.org>
3210 * Fix crash bug in the client-spoolss enumdataex-call.
3211 * Expand the valid-workstation-scheme by expanding names
3212 beginning with a plus (+) as a unix group.
3213 * Allow own netbios name to be set in smbclient's session setup.
3214 * Better handling of LDAP over IPC connections that have expired
3216 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
3217 * Add examples/misc/adssearch.pl.
3218 * BUG 2343: Build fixes.
3219 * Support get_user_info_7 in SAMR server RPC.
3220 * Fix server_role in the samr_query_dom_info calls.
3221 * Add example perl script to check for multiple LDAP entries
3222 after running 'net rpc vampire'.
3223 * Add more output when listing printer forms via rpcclient.
3224 * Debug log message cleanup.
3227 o Steve French <sfrench@us.ibm.com>
3228 * On failed mount (ENXIO) retry share name in uppercase (fix
3229 mount to FastConnect AIX SMB server).
3230 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
3231 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
3232 it with a user name.
3233 * Update for new CIFS POSIX info levels.
3234 * Ignore users mount parm in mount.cifs.
3236 o SATOH Fumiyasu <fumiya@samba.gr.jp>
3237 * BUG 1549: Don't truncate service names in smbstatus.
3240 o William Jojo <jojowil@hvcc.edu>
3241 * BUG 2445: Patch to avoid default ACLs on AIX.
3244 o S Murthy Kambhampaty <smk_va@yahoo.com>
3245 * Add idmap_rid module to Fedora and RedHat spec files.
3248 o Volker Lendecke <vl@samba.org>
3249 * BUG 2401: Flush internal getpwnam() cache after deleting a
3251 * BUG 1604: Make winbind work with more than 10 trusted domains.
3252 * Cleanup various compiler warnings.
3253 * Fix a memory leaks in privileges code and passdb backends.
3254 * Fixes for samr_lookup_sids() client call.
3255 * Optimize _samr_query_groupmem with LDAP backend for large
3257 * Support SIDs as %s replacements in the afs username map
3259 * Add 'log nt token command' parameter. If set, %s is replaced
3260 with the user sid, and %t takes all the group sids.
3261 * Do not use the "Local Unix Group"-default description for
3262 all kinds of group-mappings.
3263 * Fix uninitialized variable in Linux nss_winbind library.
3264 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
3265 * Implement 'net afs impersonate'.
3268 o Herb Lewis <herb@samba.org>
3269 * Fix build problem when HAVE_POSIX_ACL is not defined.
3270 * BUG 2417: Add help lines for net rpc group addmem and
3274 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
3275 * Add support to libsmbclient for getting and setting DOS
3276 attributes using EA functions.
3277 * Fix libsmbclient's URL encoding/decoding.
3278 * Replace browse listing URI queries with an internal options
3279 structure (previous method violated the SMB URI syntax).
3280 * Allow tree connects to be multiplexed over a single CIFS server
3282 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
3283 can determine a dead tree connection.
3284 * Implement better solution for backwards binary compatibility
3285 in libsmbclient while adding new fields to struct _SMBCCTX.
3288 o Mark Loeser <halcy0n@gentoo.org>
3289 * BUG 2443: Compile fix for gcc4.
3292 o Jim McDonough <jmcd@us.ibm.com>
3293 * BUG 2338: Fix coredump when OS/2 checks for long file name
3294 support (with .+,;=[].) (thanks to Guenter Kukkukk).
3297 o Jason Mader <jason@ncac.gwu.edu>
3298 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
3302 o Jim McDonough <jmcd@us.ibm.com>
3303 * Fixes for server schannel implementation when 'restrict
3304 anonymous = 1' is set in smb.conf.
3305 * Fix bug in server side lookupsids reply that crashed lsass.exe
3307 * Fix 'net rpc trustdom establish'.
3308 * BUG 2062: Turn off broadcast for all 390 NICs.
3309 * Fix 'net rpc trustdom add' to correctly add new domain trust
3310 accounts. This will eventually replace 'smbpasswd -a -i'.
3311 * Implement 'net rpc trustdom del', including client side of
3312 samr_remove_sid_from_foreign_domain.
3313 * Bring IBM Directory Server schema up to date with openldap
3315 * Allow for better protection of sensitive attributes in IBM
3319 o Stefan Metzmacher <metze@samba.org>
3320 * Fix memleaks in the nttrans code.
3323 o Mike Nix <mnix@wanm.com.au>
3324 * Add SMBsplopen and SMBsplclose client calls.
3327 o Justin Ossevoort <justin@snt.utwente.nl>
3328 * BUG 2316: Fix crashes in pdb_pgsql.
3331 o James Peach <jpeach@sgi.com>
3332 * Fixes in string handling code.
3333 * Fix oplock2 test in client smbtorture.
3336 o Tim Potter <tpot@samba.org>
3337 * Fix up example pdb modules after prototype change for
3339 * BUG 2058: Fix for shared object creation in examples.
3340 * BUG 2315: Fix segv in LSA privileges server code.
3341 * Build fixes for python wrapper libraries.
3344 o Richard Sharpe <rsharpe@samba.org>
3345 * BUG 2044: Fix segv in profiles tool.
3346 * Fix bogus error messages when enumerating user group
3347 membership via 'net rpc'.
3350 o Simo Sorce <idra@samba.org>
3351 * Debian packaging fixes.
3354 o John Terpstra <jht@samba.org>
3355 * Add the capability to set account description using pdbedit.
3358 o Doug VanLeuven <roamdad@sonic.net>
3359 * Add more case/realm/name permutations to the Kerberos keytab.
3360 * AIX compile fixes.
3363 o Jelmer Vernooij <jelmer@samba.org>
3364 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
3365 * BUG 1957: Implement minimal update of fields in mySQL pdb
3369 o Torsten Werner <torsten.werner@assyst-intl.com>
3370 * BUG 2405: Define 'lpstat' printcap output on HPUX.
3373 o Shlomi Yaakobovich" <Shlomi@exanet.com>
3374 * Detect infinite loops when traversing tdbs.
3377 --------------------------------------------------
3378 ==============================
3379 Release Notes for Samba 3.0.11
3381 ==============================
3383 Common bugs fixed in 3.0.11 include:
3385 o Crash in smbd when using CUPS printing.
3386 o Parsing error of other SIDs included in the user_info_3
3387 structure returned from domain controllers.
3388 o Inefficiencies when searching non-AD LDAP directories.
3389 o Failure to expand variables in user domain attributes
3390 in tdbsam and ldapsam.
3392 o Failure to retrieve certain attribute when migrating from
3393 a Windows DC to a Samba DC via 'net rpc vampire'.
3394 o Numerous printing bugs bugs including memory
3395 bloating on large/busy print servers.
3396 o Compatibility issues with Exchange 5.5 SP4.
3399 Additional features introduced in Samba 3.0.11:
3401 o Winbindd performance improvements.
3402 o More 'net rpc vampire' functionality.
3403 o Support for the Windows privilege model to assign rights
3405 o New administrative options to the 'net rpc' command.
3412 If "ldap user suffix" or "ldap machine suffix" are defined in
3413 smb.conf, all user-accounts must reside below the user suffix,
3414 and all machine and inter-domain trust-accounts must be located
3415 below the machine suffix. Previous Samba releases would fall
3416 back to searching the 'ldap suffix' in some cases.
3423 Samba 3.0.11 supports the following assignable rights
3425 SeMachineAccountPrivilege Add machines to domain
3426 SePrintOperatorPrivilege Manage printers
3427 SeAddUsersPrivilege Add users and groups to the domain
3428 SeRemoteShutdownPrivilege Force shutdown from a remote system
3429 SeDiskOperatorPrivilege Manage disk shares
3431 These rights can be assigned to arbitrary users or groups
3432 via the 'net rpc rights grant/revoke' command. More details
3433 of Samba's privilege implementation can be found in the
3434 Samba-HOWTO-Collection.
3437 ######################################################################
3441 Changes since 3.0.10
3442 --------------------
3447 Parameter Name Action
3448 -------------- ------
3449 afs token lifetime New
3450 enable privileges New
3451 ldap password sync Alias
3452 min password length Deprecated
3453 winbind enable local accounts Deprecated
3458 o Jeremy Allison <jra@samba.org>
3459 * Extend vfs to add seekdir/telldir/rewinddir.
3460 * Fix dirent return.
3461 * Fix bugs when handling secondary trans2 requests.
3462 * Implementation of get posix acls in UNIX extensions.
3463 * Added set posix acl functionality into the UNIX extensions code.
3464 * Updated config.guess/config.sub .
3465 * Fix error reply when 'follow symlinks = no'.
3466 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
3468 * Fixes for LARGE_READX support.
3469 * Fix the problem we get on Linux where sendfile fails, but we've
3470 already sent the header using send().
3471 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
3473 * BUG 2088: Ensure inherit permissions is only applied on a new
3474 file, not an existing one.
3475 * Don't go fishing for the krb5 authorization data unless we know
3477 * Fixes for libsmbclient to ensure that interrupted system calls
3478 are restarted minus the already expired portion of the timeout
3479 (based on work by Derrell Lipman).
3480 * More Unicode string parsing fixes.
3481 * Convert the winreg pipe to use WERROR returns.
3482 * Make all LDAP timeouts consistent (input from Joe Meadows
3483 <jameadows@webopolis.com>).
3484 * BUG 2231: Remove double "\\" from client findfirst.
3485 * BUG 2238: Fix memory leak in shadow copy vfs.
3486 * Return correct DOS/NT error code on transact named pipe on
3488 * BUG 2211: Fix security descriptor parsing bug (based on work by
3489 Mrinal Kalakrishnan <mail@mrinal.net>).
3490 * BUG 2270: Fix memory leaks in cups printing backend support
3491 (based on work by Lars Mueller).
3492 * BUG 2255: Fix debug level in Kerberos error messages.
3493 * BUG 2110: Ensure we convert to ucs2 correctly after the
3494 CAN-2004-0930 patch.
3495 * Make strict locking an enum. Auto means use oplock optimization.
3496 * Fix client & server to allow 127k READX calls.
3497 * More *alloc fixes (includes additional fixes by Albert Chin.
3498 * Catch sendfile errors correctly and return the correct values
3499 we want the caller to return.
3500 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
3501 for better use by desktop environments such as GNOME.
3502 * Ensure we can't remove a level II oplock without having the
3503 shared memory area locked.
3506 o Timur Bakeyev <timur@com.bat.ru>
3507 * BUG 2100: change the way we check for errors after a dlopen().
3508 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
3511 o Andrew Bartlett <abartlet@samba.org>
3512 * Clarify error message when 'lanman auth = no'.
3513 * Remove the unnecessary UTF-8 conversion calls in the calls to
3514 auth_winbind from smbd.
3515 * Don't store the auth-user credentials with the cli_state* as
3516 this can cause the schannel setup to fail when the auth-user
3517 domain is not our primary domain.
3520 o Grigory Batalov <bga@altlinux.org>
3521 * Fix encoding while receiving of a message which was actually
3522 sent using STR_ASCII.
3525 o Daniel Beschorner <db@unit-netz.de>
3526 * BUG 603: Correct access mask check for _samr_lookup_domain()
3527 to work with Windows RAS server
3530 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
3531 * Fix missing printer_tdb reference decrement.
3534 o Gerald (Jerry) Carter <jerry@samba.org>
3535 * BUG 2073: fall back to smb_name if current_user_info is not
3536 available in lp_file_list_changed().
3537 * Fixes the spurious 'register_message_flags: tdb fetch failed'
3539 * Don't run the background LPQ daemon when we are running in
3541 * prevent the background LPQ daemon from updating the print queue
3542 cache just because multiple smbd processes sent a message that
3544 * consolidate printer searches to use find_service rather than
3546 * BUG 2091: don't remove statically defined printers in
3547 remove_stale_printers().
3548 * Fix logic error in add_a_form() that only compared N characters
3549 instead of the entire form name.
3550 * BUG 2107: fix memory bloating caused by large numbers of
3551 print_queue_updates() requests sent via messages.tdb.
3552 * Check the setprinter(3) based on the access permissions on
3553 the handle and avoid the call to print_access_check().
3554 * Re-instantiate previous semantics for calling init_unistr2()
3555 with a NULL source buffer.
3556 * Support Windows privilege model for assigning rights
3557 to specific SIDs. Based on work by Simo Sorce in the trunk
3558 svn branch. This feature is controlled by the 'enable
3559 privileges = [yes|no]' smb.conf(5) option.
3560 * Add some smb.conf scripts for add/delete/change shares and
3561 deleting cups printers.
3562 * Expand variables in the profile path, logon home and logon script
3563 values when using either tdbsam or ldapsam.
3564 * Add Domain Admins (Full Control) to the default printer security
3565 descriptor if we are a DC.
3566 * RedHat and Fedora Packaging fixes for perl dependencies.
3567 * Remove unused schema items from OpenLDAP schema file.
3568 * Remove duplicate enumeration of "Windows x86" architecture
3569 when listing printer drivers via rpcclient.
3570 * Fail set_privileges() if 'enable privileges = no' to prevent
3572 * Fix segfault in cups_queue_get().
3573 * Tighten restrictions on changing user passwords when
3574 the connected user possesses the SeMachineAccountPrivilege.
3575 * Ensure we set NETBIOSNAME.domainname for the long machine name
3576 when publishing printers in AD (based on input from Rob Foehl).
3577 * Mark 'winbind enable local accounts' as deprecated.
3578 * Mark testprns tool as deprecated.
3579 * Allow root to grant/revoke privilege assignments.
3580 * Correct interaction between user rights and se_access_check() on
3582 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
3584 * BUG 2262: Add support in configure.in for *freebsd6*.
3585 * BUG 2266: Portability fixes for quota code on FreeBSD4.
3586 * BUG 2264: Remove shutdown and abortshutdown commands from
3587 rpcclient in favor of using the same functions in 'net'.
3588 * BUG 2295: Prevent smbd from returning an empty server name
3589 in certain lanman api calls.
3590 * BUG 2290: Fix autogen.sh script in examples (based on original
3591 patch from Lars Mueller).
3592 * Fix bug enumerating domain trusts in security = ads.
3593 * Fix segv in rpcclient's dsenumdomtrusts.
3594 * Fix bug in expansion of %U and %G in included filenames.
3595 * BUG 2291: Restrict creation of server trust and domain trust
3596 accounts to members of the "Domain Admins" group.
3598 o Nadav Danieli <nadavd@exanet.com>
3599 * Short circuit some is_locked() tests if we are oplocked.
3602 o Guenther Deschner <gd@samba.org>
3603 * Allow 'localhost' as a valid server name in the smbd for the
3605 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
3606 Mewburn for the input).
3607 * BUG 2059: Add additional checks needed after logic change to the
3608 HAVE_WRFILE_KEYTAB detection test.
3609 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
3610 Samba DC. Allow us to lookup at least our own SID.
3611 * More fixes to have proper German in swat (Thanks to Reiner
3612 Klaproth and Björn Jacke.
3613 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
3614 setting security descriptors with smbcacls and using with
3615 the -S or -M switch.
3616 * Include the munged_dial, bad_password_count, logon_count, and
3617 logon_hours attributes when running 'net rpc vampire'.
3618 * Fix segfault in idmap_rid.
3619 * When winbindd is operating in the multi-mapping mode of
3620 idmap_rid, allow BUILTIN domain-mapping.
3621 * Display infolevel 12 in query_dom_info in rpcclient.
3622 * Fix bug in winbindd's lowercasing of usernames.
3623 * Allow -v or -l for displaying verbose groupmap-listing
3624 as well as "verbose".
3625 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
3627 * Close LDAP-Connection before retrying to open a new connection
3629 * Marking "min password length" as depreciated.
3630 * Implement SAMR query_dom_info-call info-level 8 server- and
3631 client-side, based on samba4-idl.
3632 * Allow rpcclient to define a port to use when connecting
3634 * Allow Account Lockout with Lockout Duration "forever" (until
3635 admin unlocks) to be set and displayed in User Manager.
3636 * Allow to set acb_mask in rpcclient's enumdomusers.
3637 * Add more generic rootDSE inspection function to check
3638 for given controls or extensions and remember these on a
3640 * Improve LDAP search efficiency by passing the acb_mask to
3642 * Fixes for ldapsam_enum_group_memberships().
3643 * Add createdomgroup to rpcclient.
3644 * Add "net rpc user RENAME"-command.
3645 * Display sam_user_info_7 in rpcclient.
3646 * Make multi-domain-mode in idmap_rid accessible from outside
3647 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
3648 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
3649 "Lockout Duration: Forever".
3650 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
3652 * Require assignment of Administrator SID in the passdb
3653 backend. Fall back to the default name of 'Administrator' if
3654 the lookup fails rather than using the first name in the
3655 default 'admin users' list.
3656 * Enhance LDAP failure debug messages.
3657 * BUG 2291: Call the 'add machine script' for server trust and
3658 domain trust accounts as well as workstation accounts.
3661 o Levente Farkas <lfarkas@lfarkas.org>
3662 * BUG 2299: Better logrotate scripts for RedHat and Fedora
3666 o Jay Fenlason <fenlason@redhat.com>
3667 * Fix crash in 'net join' due to calling free on
3669 * Several patches from RedHat's Fedora Core RPMS.
3672 o Rob Foehl <rwf@loonybin.net>.
3673 * Compiler warnings.
3674 * Try modifying printer published attributes before adding it a
3676 * Solaris packaging fixes.
3677 * Don't force the cups printer-make-and-model tag as the comment
3678 for autoloaded printers.
3679 * Implement caching of names from printcap to support a true
3680 'printcap cache time'.
3683 o Johann Hanne <jhml@gmx.net>
3684 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
3687 o Jeff Hardy <hardyjm@potsdam.edu>
3688 * Example script for 'add print command' when using CUPS.
3691 o Deryck Hodge <deryck@samba.org>
3692 * Add -P (--password-only-menu) to SWAT for displaying only the
3693 password change page to non-root users.
3696 o David Hu <david.hu@hp.com>
3697 * Copy structure from print_queue_update() message rather than
3698 referencing it. Fixes seg fault on HP-UX.
3701 o Buck Huppmann <buckh@pobox.com>
3702 * BUG 2186: Don't free uninitialized credentials.
3703 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
3704 dnsDomainName != realm.
3707 o Björn Jacke <bjoern@j3e.de>
3708 * BUG 2040: Ensure the locale is reset to C to get ASCII-
3709 compatible toupper/lower functions.
3712 o William Jojo <jojowil@hvcc.edu>
3713 * Fix HPUX sendfile and add configure.in tests and code for
3715 * AIX 5.3 compile fixes.
3718 o Volker Lendecke <vl@samba.org>
3719 * Optimize anonymous session setups by workstations in a
3721 * Reimplment the QueryUserAliases() server RPC reply.
3722 * Re-add the getpwnam-cache for performance.
3723 * Cache the result of a pdb_getsampwnam for later SID lookup
3725 * Unify the means of localtaing a user's global groups on a
3727 * Fix bug when serving the 'Start Menu' in a roaming user profile..
3728 * Map more pre-defined NT security descriptors to AFS acls.
3729 * Add timeout to AD search requests.
3730 * If a connection to a DC is requested (in winbindd), open
3731 connections simultaneously to all DCs found.
3733 * Fix logic error in handling of 'printcap name' parameter.
3734 * Prevent winbindd from SPAM'ing the log files with 'user root
3736 * Backport samr_DomInfo2 IDL specification from Samba 4.
3737 * Implement smbstatus -n, don't lookup users and groups.
3738 * Implement simple mapping that maps the space to another character
3739 defined by afsacl:space.
3740 * Add support for 'net idmap delete <idmap-file> <SID>'.
3741 * Add new parameter 'afs token lifetime' tells the AFS client
3742 when to throw away a token (patch from kllin@it.su.se).
3743 * Initial work to allow support for multiple pipe opens on a
3745 * Ensure that we still retrieve the netbios name of any DC
3746 listed as a 'password server' to work around cases where the
3747 DC was defined using an IP address or fqdn.
3748 * Fix memleak in winbindd connection code.
3749 * Fix cli_samr_queryuseraliases.
3750 * Allow wbinfo --user-sids to expand expand domain local groups.
3751 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
3752 * Fix parsing of other_sids in net_user_info3.
3753 * Correct bad failure logic when user was not a member of any
3754 domain local groups.
3757 o Jason Mader <jason@ncac.gwu.edu>
3758 * BUG 2113, 2289: Remove dead code.
3761 o Jim McDonough <jmcd@us.ibm.com>
3762 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
3763 clients. If it fails, fall back to WINREG.
3764 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
3765 * BUG 2198: Set password last change time when running 'net rpc
3767 * Add "refuse machine password change" policy field.
3770 o Luke Mewburn <lukem@NetBSD.org>
3771 * BUG 2150: shmget() - Use POSIX definitions instead of non-
3775 o Stefan Metzmacher <metze@samba.org>
3779 o Buchan Milne <bgmilne@mandrake.org>
3780 * Mandrake packaging fixes.
3783 o Lars Mueller <lmuelle@samba.org>
3784 * Fix build of libsmbclient on x86_64.
3785 * BUG 2013: Fix testsuite build issues when libsmbclient.so
3786 is installed in a non-default location.
3787 * BUG 2050: Calculate max_fd for select correctly.
3788 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
3792 o Jason Mader <jason@ncac.gwu.edu>
3793 * BUG 2069: Remove unused variables.
3794 * BUG 2075: Remove dead code paths.
3795 * BUG 2083: Fix compiler warnings caused by bad type casts.
3798 o James Peach <jpeach@sgi.com>
3799 * Fix rewinddir -> rewind_dir when using VFS macros.
3802 o Gavrie Philipson <gavrie@disksites.com>
3803 * BUG 1838: Remove stale printers imeeddiately when
3804 processing a SIGHUP and during smb.conf reload.
3807 o Tim Potter <tpot@samba.org>
3808 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
3809 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
3810 * Change the license for the winbindd external interface
3812 * HP-UX compile fixes.
3813 * Compile fixes after new setsampwent() API.
3816 o Richard Renard <rrenard@idealx.com>
3817 * Update Netscape DS 5.2 LDAP schema.
3820 o Simo Sorce <idra@samba.org>
3821 * Backport pdbedit changes from trunk.
3822 * Allows the add/change share command to create the shared
3823 directory directory on disk.
3824 * Log a warning in testparm if a print command is defined for
3825 a print service using 'printing = cups'.
3827 o Jelmer Vernooij <jelmer@samba.org>
3828 * Bug fixes for pdb_{xml,pqsql,xml}
3829 * Fixes for pdb_mysql.
3832 o Andrew Tridgell <tridge@samba.org>
3833 * Bring Samba3 into line with the Samba4 password change code.
3836 o Shiro Yamada <shiro@miraclelinux.com>
3837 * BUG 2190: Force SWAT to display parameters in unix charset and
3841 --------------------------------------------------
3842 ==============================
3843 Release Notes for Samba 3.0.10
3845 ==============================
3847 Common bugs fixed in 3.0.10 include:
3849 o Fix for security issues described in CAN-2004-1154.
3858 o Jeremy Allison <jra@samba.org>
3859 * Added checks surrounding all *alloc() calls to fix
3861 * Fix long standing memory size bug in bitmap_allocate().
3862 * Remove bogus error check in deferred open file serving
3866 o Thomas Bork <tombork@web.de>
3867 * Fix autoconf script on platforms using a version of GNU ld
3868 that does not include a date stamp in the output of --version.
3871 o Luke Mewburn <lukem@NetBSD.org>
3872 * Fix the swat install script to deal with the new image
3873 destination directory used by the docs.
3877 --------------------------------------------------
3879 =============================
3880 Release Notes for Samba 3.0.9
3882 =============================
3884 Common bugs fixed in 3.0.9 include:
3886 o Problem updating roaming user profiles.
3887 o Crash in smbd when printing from a Windows 9x client.
3888 o Unresolved symbols in libsmbclient which caused
3889 applications such as KDE's konqueror to fail when
3890 accessing smb:// URLs.
3900 o Jeremy Allison <jra@samba.org>
3901 * Correctly detect errno for no acl/ea support.
3902 * BUG 2036: Fix seg fault in 'net ads join'.
3905 o Gerald (Jerry) Carter <jerry@samba.org>
3906 * Solaris packaging fixes.
3907 * Fix seg fault in lanman printing code.
3908 * BUG 2017: fix testparm reporting for the passwd program
3910 * Fix output of smbstatus to match the man page.
3911 * BUG 2027: fix conflict with declaration MD5_CTX in system
3913 * 2028: Avoid false error messages when copying a long
3914 printer name to the device mode.
3917 o Guenther Deschner <gd@samba.org>
3918 * Allow deldriverex in rpcclient to delete drivers for a
3919 specific architecture and a specific version.
3920 * Fix a couple of rpcclient spoolss commands (setprinter,
3921 setprintername, getdriver) w.r.t to printer-naming scheme.
3922 Allow 'localhost' in the server string for certain server-side
3924 * BUG 2015: Do not fail on setting file attributes with
3925 acl support enabled.
3928 o Michel Gravey <michel.gravey@optogone.com>
3929 * Fix build when using gcc 3.0.
3932 o Volker Lendecke <vl@samba.org>
3933 * Fix tdb open logic when checking our local_pid after
3937 o Jim McDonough <jmcd@us.ibm.com>
3938 * BUG 1932: Fix crash in 'net getlocalsid' when run as
3942 o Luke Mewburn <lukem@NetBSD.org>
3943 BUG 1661: Fix KRB5_SETPW-defines
3946 o Buchan Milne <bgmilne@mandrake.org>
3947 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
3950 o Lars Mueller <lmuelle@samba.org>
3951 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
3954 o Martin Zielinski <mz@seh.de>
3955 * Add DeletePrinterDriverEx() functionality to rpcclient.
3958 --------------------------------------------------
3960 =============================
3961 Release Notes for Samba 3.0.8
3963 =============================
3965 Common bugs fixed in 3.0.8 include:
3967 o Compile fixes for HP-UX
3968 o Fixes for the printer publishing code used when joined to
3970 o Incompatibilities with file system quotas.
3971 o Several bugs in the spoolss printing code and print system
3973 o Inconsistencies in the username map functionality when
3974 configured on domain member servers.
3975 o Various compile warnings and errors on various platforms.
3976 o Fixes for Kerberos interoperability with Windows 200x
3977 domains when using DES keys.
3978 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
3979 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
3982 New features included in the 3.0.8 release are:
3984 o New migration functionality added the the net tool
3985 for files/directories, printers, and shares.
3986 o New experimental idmap backend for assigning uids/gids
3987 directly based on the user/group RID when acting as a
3988 member of single domain without any trusts.
3989 o Additional printer migration support for XP/2003 platforms.
3992 ===========================
3993 Change in Winbindd Behavior
3994 ===========================
3996 All usernames returned by winbindd are now converted to lower
3997 case for better consistency. This means any winbind installation
3998 relying on the winbind username will need to rename existing
3999 directories and/or files based on the username (%u and %U) to lower
4000 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
4001 include mail spool files, home directories, valid user lines in
4005 ======================
4006 Change in Username Map
4007 ======================
4009 Previous Samba releases would only support reading the fully qualified
4010 username (e.g. DOMAIN\user) from the username map when performing a
4011 Kerberos login from a client. However, when looking up a map
4012 entry for a user authenticated by NTLM[SSP], only the login name would be
4013 used for matches. This resulted in inconsistent behavior sometimes
4014 even on the same server.
4016 Samba 3.0.8 obeys the following rules when applying the username
4019 * When performing local authentication, the username map is
4020 applied to the login name before attempting to authenticate
4022 * When relying upon a external domain controller for validating
4023 authentication requests, smbd will apply the username map
4024 to the fully qualified username (i.e. DOMAIN\user) only
4025 after the user has been successfully authenticated.
4028 ######################################################################
4037 Parameter Name Action
4038 -------------- ------
4039 force printername New
4040 sendfile disabled by default
4046 o Jeremy Allison <jra@samba.org>
4047 * Ensure extended security bit is on only if we negotiated
4049 * Simplify statcache to use an in-memory tdb.
4050 * If you're selecting a hash algorithm for tdb, you need
4051 to do it at open time.
4052 * Removed old dir caching code - not being used now we
4053 have the statcache anyway.
4054 * Simplify the mangle hash code to use an in-memory tdb.
4055 * Merge iconv changes from Samba 4 branch.
4056 * Fix parsing of names ending in dot and a few other error
4058 * BUG 1667: Smbpasswd file could be left locked on some
4060 * Fixes for smbclient tar functionality.
4061 * BUG 1743: Fix logic bug the deferred open code.
4062 * Don't try to set security descriptors on shares where
4063 this has been turned off.
4064 * Return correct error codes on old SEARCH call.
4065 * Ensure we set errno = E2BIG when we overflow in the
4066 fast-path character conversion code.
4067 * Fix the roundup problem (returning 1mb roundup) for
4068 non-Windows clients.
4069 * Added 'stat' command to smbclient to exercise the
4070 UNIX_FILE_BASIC info level.
4071 * Fix bug where we could incorrectly set sparse attribute.
4072 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
4073 (reported by Taj Khattra <taj.khattra@gmail.com>).
4074 * Remove locked keys tdb code.
4075 * BUG 1886: Prevent delete on close being set for readonly files
4076 (and return the correct error code).
4077 * Ensure we pass most of the new lock tests except for the cancel
4078 lock which is yet to be added (merged from Samba 4 branch).
4079 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
4080 * BUG 1956: Ensure errno is saved and restored consistently on a
4082 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
4083 that all of the appropriate service principal names are set
4084 upon joining an AD domain.
4085 * Fix the correct use of resume name in the trans2 code.
4086 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
4087 correct salt used when generated the DES key after joining an
4089 * Enhanced krb5 detection routines in the autoconf scripts.
4092 o Andrew Bartlett <abartlet@samba.org>
4093 * Avoid changing the machine account password in the passdb
4094 backend, when it has 'already been changed'. This occurs
4095 in situations where the secure channel between the workstation
4096 and the DC breaks down, such as occurred in the MS04-11
4098 * Fix utility name in error message in ntlm_auth.
4099 * Fix NTLMv2 for use with pam_winbind.
4100 * Remove conversion to and from UTF8 on the winbind pipe.
4101 * Allow 'require_membership_of' and 'require-membership-of'.
4102 * Fix the error code for 'you didn't specify a domain' in
4104 * Use sys_getgroups() rather than scanning all groups
4105 when generating SAMR replies.
4108 o Igor Belyi <sambauser@katehok.ac93.org>
4109 * Ensure pdb user is deleted first before deleting UNIX
4110 user (LDAP backend needs this ordering).
4113 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
4114 * Fix core dump in 'net rpc vampire'.
4117 o Vince Brimhall <vbrimhall@novell.com>
4118 * Make ldapsam_compat robust against NULL attributes.
4121 o Gerald Carter <jerry@samba.org>
4122 * Don't limit the number of groups returned by winbindd_getgroups()
4124 * BUG 1519: Match Windows 2000 behavior when opening a
4125 printer using a servername in the form of an IP address or
4127 * BUG 1907: remove extra slashes from the printer name in
4128 getprinterdriverdir_1().
4129 * Fix standard_sub_snum() to use the current user's gid.
4130 * Fix background queue update bug (based on Volker's initial work
4132 * Add 'force printername' service parameter for people that want
4133 to enforce printername == sharename for spoolss printing.
4134 * Ensure consistent usage of the username map. Use the fully
4135 qualified DOMAIN\user format for 'security = domain|ads' and
4136 apply after authentication has succeeded.
4137 * Cosmetic fix for getent output -- lowercase the username only
4138 and not the complete domain\username string.
4139 * Packaging fixes for Solaris, Redhat, & Fedora.
4142 o Sean Chandler <sean.chandler@verizon.net>
4143 * Fix memlieak in cliconnect.c.
4146 o Darren Chew <darrenc@vicscouts.asn.au>
4147 * Solaris packaging fixes.
4150 o Nalin Dahyabhai <nalin@redhat.com>
4151 * SMB signing fix for 56-bit DES session keys.
4154 o Guenther Deschner <gd@samba.org>
4155 * add IA64 to the architecture table of printer-drivers.
4156 * Add file/share/printer migration functionality to
4158 * Show correct help for net groupmap commands.
4159 * Fix deadlock loop in winbind's required_membership_sid
4161 * Bring the same level of "required_membership"-functionality
4162 that ntlm_auth uses, to pam_winbindd as well.
4163 * Prevent "net lookup kdc" from seg-faulting when
4164 using our own implementation of krb5_lookup_kdc with
4166 * Adding getprinter level 7 to rpcclient.
4167 * Support migrating printers|shares|files from Server A
4168 to Server B while running the net-command on client C.
4169 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
4170 failure of this call non-critical (Thanks to Love @ Heimdal
4171 for the explanation and patch).
4172 * Fix typos in net's usage-output.
4173 * Fix the paranoia-check to ensure the ldap-attribute and the
4174 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
4176 * Fix several bugs in the _samr_query_useraliases() rpc reply.
4177 * Check correct string length when verifying password-policies
4178 and using extended characters (Thanks to Uwe Morgenroth from CC
4179 Compunet and Volker).
4180 * Make 'password history'-behavior in ldapsam more consistent.
4181 * Adding "Windows x64" as architecture string and driverdir "x64"
4182 for the 64bit AMD platform.
4183 * BUG 1343: Readd WKGUID-binding to match the correct default-
4184 locations of new User-, Group- and Machine-Accounts in Active
4185 Directory (this got lost during the last trunk-merge).
4186 * Fix printer-migration w.r.t. to new naming-convention for
4188 * Allow to migrate win2k3/xp-drivers as well.
4189 * Add client-side support of triggering ads printer publishing
4190 over msrpc setprinter calls inside the net-tool.
4191 * Add the idmap_rid module (written in conjunction with
4192 Sumit Bose <sbose@suse.de>).
4193 * BUG 1661: Fix build with recent heimdal releases.
4194 * Prevent idmap_rid from making unnecessary calls to domain
4195 controllers for trusted domains.
4198 o Arthur van Dongen <avdongen@xs4all.nl>
4199 * Fix typos in pam_winbind log messages and SuSE
4203 o Rob Foehl <rwf@loonybin.net>
4204 * Typo fixes for log messages in printer publishing code.
4205 * Fix memory leak in printer publishing code.
4206 * Ensure print_backend_init() only gets called once.
4207 * Have smbd check the published status of all printers
4209 * Cleanup up the XXX_a_printer() API for consistency.
4210 * Refactored the printer publishing code and include better
4214 o Steve French <sfrench@us.ibm.com>
4215 * Fix IP address override in mount.cifs mount helper and clean
4216 up warning messages from the sparse tool and expand syntax help.
4217 * Strip guest mount option off before sending to kernel mount
4218 routine to avoid logging spurious message.
4221 o Satoh Fumiyasu <fumiya@samba.gr.jp>
4222 * BUG 1732: Limit share names returned by RAP based on windows
4223 character width, not unix character width.
4224 * BUG 1498: Ensure that acl entries are stored in the correct
4228 o Brett Funderburg <brett@deepfile.com>
4229 * Pass create options parameter to nt_create_andx() function
4230 from the python bindings.
4231 * BUG 1864: Add sd->type field to security descriptor Python
4233 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
4234 when trying to return the security descriptor for a file.
4235 * BUG 1884: Fixes for the Python bindings to use the value
4236 of the desired_access filed passed into the lsa_open_policy()
4240 o Michael Gravey <michel.gravey@optogone.com>
4241 * BUG 1776: Fix warnings when building modules caused by
4242 certain versions of GNU ld not using the the default
4243 --allow-shlib-undefined flag.
4246 o Chris Hertel <crh@samba.org>
4247 * Fix logic bug in splay tree data structure when finding
4249 * Fix bug where an invalid MAC address would be printed by
4250 a node status lookup from nmblookup.
4253 o Uli Iske <iske@elkb.de>
4254 * Update the DNS/eDirectory LDAP schema file.
4257 o Björn Jacke <bjacke@sernet.de>
4258 * BUG 1766: Unify charset-handling in Content-Type:-headers to
4259 UTF-8. Reformat msgstr in msg-files to UTF-8.
4260 * Do not use display charset for swat output.
4261 * Convert the share names correctly from unix encoding to web
4262 encoding and vice versa.
4263 * Convert files from status page from unix charset to UTF-8.
4266 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
4267 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
4270 o Tom Lackemann <cessnatomny@yahoo.com>
4271 * BUG 1954: Fix memory leak in posix acl code.
4274 o Volker Lendecke <vl@samba.org>
4275 * Robustnss fix for winbindd when sending multiple requests
4276 at a high rate for a slow operation.
4277 * Solve the problem of user sids ending up with gid's
4279 * Use sys_fork instead of fork for the dual daemon so that
4280 we get the correct debug pid in the logfiles.
4281 * Based on patch from jmcd, implement special lists for the LDAP
4282 user attributes to delete.
4283 * Fix creation of aliases via usrmgr. Winbind was too strict
4284 checking the type of sids.
4285 * Lowercase all usernames returned by winbind.
4286 * BUG 1545, 1823: Only issue the ldap extended password change
4287 operation if the ldap server supports it. Also ignore object
4288 class violation errors from the extended operation.
4289 * Optimization for 'idmap backend = ldap': When asking sid2id
4290 for the wrong type, don't ask ldap when we have the opposite mapping
4292 * Fix ldapsam_compat homeDrive.
4293 * Add usersidlist and allowedusers subcommands to the net tool
4294 in order to support scanning a file server's share and list
4295 all users who have permission to connect there.
4296 * Allow for multiple DC's to be named as #1c names in lmhosts.
4297 * Memory leak fixes.
4298 * Fix checks for the local pid of an smbd process after
4302 o Herb Lewis <herb@samba.org>
4303 * Added tdbtool to be built by default.
4306 o Love <lha@stacken.kth.se>
4307 * BUG 1955: Inconsistent error return.
4310 o Sorin Manolache <sorinm@gmail.com>
4314 o Jim McDonough <jmcd@us.ibm.com>
4315 * Allow 'net ads lookup' to rely on command line arguments
4316 if contacting an ADS server fails; utilize cldap for lookups.
4317 * Fixup formatting errors in TDB_LOG calls; add printf attribute
4318 support to tdb log functions.
4321 o Bill McGonigle <bill+samba@bfccomputing.com>
4322 * BUG 1926: Type in debug message.
4326 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
4330 o Luke Mewburn <lukem@NetBSD.org>
4331 * BUG 1782: Prevent testparm from displaying parameter synonyms.
4334 o Stefan Metzmacher <metze@samba.org>
4335 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
4336 * Fix client quota support.
4337 * Fix opening of system quota file.
4340 o Lars Mueller <lmuelle@samba.org>
4341 * Small fixes for autogen.sh to deal with version detection
4342 of autoconf and autoheader; fixes for examples using
4343 libtool to adhere to stricter syntax of newer version.
4346 o Henrik Nordstrom <hno@squid-cache.org>
4347 * Allow winbindd to return the correct number of groups
4348 when the groups array must be enlarged.
4351 o Narayana Pattipati <narayana.pattipati@wipro.com>
4352 * Solaris autoconf detection fixes.
4355 o Tim Potter <tpot@samba.org>
4356 * BUG 1360: (correct fix) Use -Wl when passing flags to
4358 * HP-UX compile fixes (from JBravo on #samba-technical).
4359 * BUG 1731: More HP-UX compiles fixes.
4360 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
4361 spits the dummy otherwise.
4362 * Fix bug in Python printerdata wrapper.
4363 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
4364 <bugzilla-samba@thewrittenword.com>).
4365 * Fix parameter confusion in priming of name-to-sid cache
4366 (Found by Qiao Yang).
4367 * BUG 1888: Remove '..' from all pre-processor commands.
4368 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
4372 o Matt Selsky <selsky@columbia.edu>
4373 * BUG 350: use autoconf 2.57 feature for checking header file
4374 preprocessing (fixes configure warnings on Solaris).
4377 o Richard Renard <rrenard@idealx.com>
4378 * Fix usermgr.exe and trust relationships.
4381 o Paul Szabo <psz@maths.usyd.edu.au>
4382 * Fix to make find_workgroup use the same
4383 truncation as create_workgroup.
4386 o Richard Sharpe <rsharpe@samba.org>
4387 * Ensure cli_write() can support writes >= 65536 bytes.
4390 o Simo Sorce <idra@samba.org>
4391 * Added check password script code in examples/auth/crackcheck/
4392 * Fix memory corruption bug caused in freeing static memory.
4395 o Andrew Tridgell <tridge@samba.org>
4396 * Remove lp_use_mmap() from map_file() since the latter
4397 is for read only and does not require coherence.
4398 * Ensure that the uuid pack/unpack routines do not go past
4399 the end of the structure.
4400 * Converted Samba 3 tree to use the new utf-16 aware iconv
4402 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
4403 * Ensure configure only uses '=' instead of the bashism '=='.
4404 * Reduces the number of tdb locking calls made on file IO.
4407 o Jelmer Vernooij <jelmer@samba.org>
4408 * Convert internal data to UTF-8 before calling libxml2.
4409 * Complain if 'password chat' doesn't contain the %u variable
4410 (based on a patch by Ronan Waide).
4414 * BUG 1541: Fix recursive ls in smbclient.
4417 o Igor Zhbanov <bsg@uniyar.ac.ru>
4418 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
4421 --------------------------------------------------
4423 =============================
4424 Release Notes for Samba 3.0.7
4426 =============================
4428 Common bugs fixed in 3.0.7 include:
4430 o Fixes for two Denial of Service vulnerabilities
4431 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
4432 o Winbind failure to return user entries under certain
4434 o Syntax errors in the OpenLDAP schema file (samba.schema).
4435 o Printing errors caused by not setting default values
4436 for the various printing commands.
4445 Parameter Name Action
4446 -------------- ------
4447 winbind enable local accounts disabled by default
4452 o Jeremy Allison <jra@samba.org>
4453 * Fix parsing of names ending in dot and a few other error
4455 * BUG 1674: Move the symlinks checks into reduce_name().
4456 * Fix memleak when checking the valid names smb.conf option.
4457 * Fix memleak on error return path in the file open code.
4458 * More paranoia checks in the hash2 mangling code.
4459 * Fix syntax error in configure.in.
4460 * Match Win2k3's behavior for pathname parsing error returns.
4461 * Make nmbd more robust against bad netbios packets
4463 * Add more checks for invalid ASN.1 packets for SPNEGO packets
4467 o Andrew Bartlett <abartlet@samba.org>
4468 * Janitor work in loadparm.c -- remove unused parameters.
4471 o Gerald Carter <jerry@samba.org>
4472 * BUG 1464: Ensure that printing commands are initialized even
4473 if the 'printing' parameter is not explicitly set.
4474 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
4475 Adharsh Praveen <rprav@india.hp.com>)
4476 * Work around parsing error in the print change notify code.
4477 * remove duplicate declaration of getprintprocdir from
4479 * Only use sAMAccountName and not userPrincipalName when looking
4480 up a username in AD since the breaks winbindd (lookup_name()
4481 only works with the sAMAccountName).
4482 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
4483 filling in the username in the user_info3.
4484 * Fix logic bug in the check for creating a user's home directory
4485 in register_vuid(); caused home directory to be mismatched to
4486 the first share in smb.conf under certain conditions.
4487 * BUG 1656: rename auto.a to auto.smb.
4488 * Ensure that we assign our pid to print jobs (and not our
4489 parent's pid); ensures that spooling jobs from dead smbds
4490 are removed from the tdb.
4491 * Disable 'winbind enable local accounts' by default.
4492 * Adding some initial checks for DragonFly (same as
4496 o Guenther Deschner <gd@samba.org>
4497 * Use SMB_ASSERT() to track down NULL printer names in
4499 * Revert fix for BUG 1474 to avoid unnecessary packaging
4503 o Olaf Flebbe <o.flebbe@science-computing.de>.
4504 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
4506 * BUG 1626: More compile fixes.
4509 o Rob Foehl <rwf@loonybin.net>
4510 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
4511 by attempts to sanitize the defined attributes.
4514 o SATOH Fumiyasu <fumiya@miraclelinux.com>
4515 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
4518 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
4519 * BUG 1657: Remove used initialized variable,
4520 * BUG 1658: Add a little bit of const.
4523 o Volker Lendecke <vl@samba.org>
4524 * If there's garbage in the pidfile, we should not panic
4525 but assume that no one else is around. We can't find the
4529 o Jim McDonough <jmcd@us.ibm.com>
4530 * Fixup format string in the tdb error messages.
4533 o Jonas Olsson <lexicon@lysator.liu.se>
4534 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
4535 reporting the list in usrmgr.exe.
4538 o Tim Potter <tpot@samba.org>
4539 * Fix out-of-tree builds (problem with the script to generate
4540 the svn version number).
4541 * BUG 1360: Need to use -Wl when passing flags to the linker.
4542 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
4543 doesn't have one of its own.
4545 o Simo Sorce <idra@samba.org>
4546 * Fixup compile issues on AIX caused by broken strlen() and
4548 * Update debian packaging files.
4551 o Dimitri van der Spek <dwspek@aboveit.nl>
4552 * Use the correct counter when copying group rids from the
4553 user_info3 struct in pam_winbind.
4556 o Qiao Yang <qyang@stbernard.com>
4557 * BUG 1622: Only cache the user
4560 --------------------------------------------------
4562 =============================
4563 Release Notes for Samba 3.0.6
4565 =============================
4567 Common bugs fixed in 3.0.6 include:
4569 o Schannel failure in winbindd.
4570 o Numerous memory leaks.
4571 o Incompatibilities between the 'write list' and 'force user'
4573 o Premature optimization of the open_directory() internal
4574 function that broke tools such as the ArcServe backup
4575 agent, Macromedia HomeSite, and Robocopy.
4576 o Corrupt workgroup names in nmbd's browse.dat.
4577 o Sharing violation errors commonly seen when opening
4578 when serving Microsoft Office documents from a Samba
4580 o Browsing problems caused by an apostrophe (') in the
4581 computer's description field.
4582 o Problems creating special file types from UNIX CIFS
4583 clients and enabling 'unix extensions'.
4584 o Fix stalls in smbd caused by inaccessible LDAP servers.
4585 o Remove various memory leaks.
4586 o Fix issues in the password lockout feature.
4588 New features introduced in this release include:
4590 O Support symlinks created by CIFS clients which
4591 can be followed on the server.
4592 o Using a cups server other than localhost.
4593 o Maintaining the service principal entry in the system
4594 keytab for integration with other kerberized services.
4595 Please refer to the 'use Kerberos keytab' entry in
4596 smb.conf(5). When using the heimdal Kerberos libraries,
4597 you must also specify the following in /etc/krb5.conf:
4599 default_keytab_name = FILE:/etc/krb5.keytab
4600 o Support for maintaining individual printer names
4601 stored separately from the printer's sharename.
4602 o Support for maintaining user password history.
4603 o Support for honoring the logon times for user in a
4607 ============================================
4608 unix extensions = yes (default) and symlinks
4609 ============================================
4611 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
4612 clients supporting the UNIX extensions to the CIFS protocol
4613 can create symlinks to absolute paths which will be **followed**
4614 by the server. This functionality has been requested in order
4615 to correctly support certain applications when the user's home
4616 directory is mounted using some type of CIFS client (e.g. the
4617 cifsvfs in the Linux 2.6 kernel).
4619 If this behavior is not acceptable for your production environment
4620 you can set 'wide links = no' in the specific share declaration in
4621 the server's smb.conf. Be aware that disabling wide link support
4622 out of a share in Samba may impact the server's performance due
4623 to the fact that smbd will now have to check each path additional
4624 times before traversing it.
4627 ========================
4628 Password History Support
4629 ========================
4631 The new password history feature allows smbd to check the new
4632 password in password change requests against a list of the user's
4633 previous passwords. The number of previous passwords to save can
4634 be set using pdbedit (4 in this example):
4636 root# pdbedit -P "password history" -C 4
4638 When using the ldapsam passdb backend, it is vital to secure the
4639 following attributes from access by non-administrative users:
4643 * sambaPasswordHistory
4645 You should refer to your directory server's documentation on how
4646 to implement this restriction.
4655 Parameter Name Action
4656 -------------- ------
4658 defer sharing violations New
4659 force unknown acl user New
4661 printcap cache time New
4662 use Kerberos keytab New
4666 o Jeremy Allison <jra@samba.org>
4667 * Correct path parsing bug that broke DeletePrinterDriverEx().
4668 * Fix bugs in check_path_syntax() caught by asserts.
4669 * Internal change - rearrange internal global case setting
4670 variables to a per connection basis.
4671 * BUG 1345: Fix premature optimization in unix_convert().
4672 * Allow clients to truncate a locked file.
4673 * BUG 1319: Always check to see if a user as write access
4674 to a share, even when 'force user' is set.
4675 * Fix specific case of open that doesn't cause oplock break,
4676 or share mode check.
4677 * Correct sid type is WKN_GROUP, not alias. Added some
4678 more known types (inspired by patch from Jianliang Lu).
4679 * Allow creation of absolute symlink paths via CIFS clients.
4680 * Fix charset bug in when invoking send_mailslot().
4681 * When using widelinks = no, use realpath to canonicalize
4682 the connection path on connection create for the user.
4683 * Enhance stat open code.
4684 * Fix unix extensions mknod code path.
4685 * Allow unix domain socket creation via unix extensions.
4686 * Auto disable the 'store dos attribute' parameter if the
4687 underlying filesystem doesn't support EAs.
4688 * Implement deferred open code to fix a bug with Excel files
4690 * BUG 1427: Catch bad path errors at the right point. Ensure
4691 all our pathname parsing is consistent.
4692 * Fix SMB signing error introduced by the new deferred open
4694 * Change default setting for case sensitivity to "auto". (see
4695 commit message -- r1154 -- for details).
4696 * Add new remote client arch -- CIFSFS.
4697 * Allow smbd to maintain the service principal entry in the
4698 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
4699 Guenther Deschner, et. al.).
4700 * Fix longstanding memleak bug with logfile name.
4701 * Fix incorrect type in printer publishing (struct uuid,
4703 * Heimdal compile fixes after introduction of the new ketyab
4705 * Ensure we check attributes correctly on rename request.
4706 * Ensure we defer a sharing violation on rename correctly.
4707 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
4709 * Fix bogus error message when using "mangling method = hash"
4711 * Turn on sendfile by default for non-Win9x clients.
4712 * Handle non-io opens that cause oplock breaks correctly.
4713 * Ensure ldap replication sleep time is not more than 5 seconds.
4714 * Add support for storing a user's password history.
4715 LDAP portion of the code was based on a patch from
4716 Jianliang Lu <j.lu@tiesse.com>.
4717 * Correct memory leaks found in the password change code.
4718 * Fix support for the mknod command with the Linux CIFS client.
4719 * Remove support for passing the new password to smbpasswd
4720 on the command line without using the -s option.
4721 * Ensure home directory service number is correctly reused
4722 (inspired by patches from Michael Collin Nielsen
4723 <michael@hum.aau.dk>).
4724 * Fix to stop printing accounts from resetting the bas
4725 password and account lockout flags.
4726 * If a account was locked out by an admin (and has a bad
4727 password count of zero) leave it locked out until an admin
4728 unlocks it (but log a message).
4729 * Ensure we return the same ACL revision on the wire that
4731 * BUG 1578: Hardcode replacement for invalid characters as '_'
4732 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
4733 * Fix hashed password history for LDAP backends.
4734 * Enforce logon hours restrictions if confiogured (based on code
4735 from Richard Renard <rrenard@idealx.com>).
4736 * BUG 1606: Force smbd to disable sendfile with DOS clients
4737 and ensure that the chained header is filled in for ...&X
4739 * BUG 1602: Fix access to shares when all symlink support
4744 o Tom Alsberg <alsbergt@cs.huji.ac.il>
4745 * Allow pdbedit to export a single user from a passdb backend.
4748 o Andrew Bartlett <abartlet@samba.org>
4749 * Fix parsing bug in GetDomPwInfo().
4750 * Fix segfault in 'ntlm_auth --diagnostics'.
4751 * Re-enable code to allow sid_to_gid() to perform a group
4752 mapping lookup before checking with winbindd.
4753 * Fix memory leak in the trans2 signing code.
4754 * Allow more flexible GSS-SPENGO client and server operation
4756 * Improve smbd's internal random number generation.
4757 * Fix a few outstanding long password changes in smbd.
4758 * Fix LANMAN2 session setup code.
4761 o Eric Boehm <boehm@nortelnetworks.com>
4762 BUG 703: Final touches on netgroup case lookups.
4765 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
4766 * Ensure error status codes don't get overwritten in
4767 lsa_lookup_sids() server code.
4768 * Correct bug that caused smbd to overwrite certain error
4769 codes when returning up the call stack.
4770 * Ensure the correct sid type returned for builtin sids.
4773 o Gerald Carter <jerry@samba.org>
4774 * Fix a few bugs in the Fedora Packaging files.
4775 * Fix for setting the called name to by our IP if the
4776 called name was *SMBSERVER and *SMBSERV. Fixes issue
4777 with connecting to printers via \\ip.ad.dr.ess\printer
4779 * BUG 1315: fix for schannel client connections to servers
4780 when we haven't specifically negotiated AUTH_PIPE_SEAL.
4781 * Allow PrinterDriverData valuenames with embedded backslashes
4782 (Fixes bug with one of the Konica Fiery drivers).
4783 * Fixed string length miscalculation in netbios names that
4784 resulted in corrupt workgroup names in browse.dat.
4785 * When running smbd as a daemon, launch child smbd to update
4786 the lpq cache listing in the background.
4787 * Allow printers "Printers..." folder to be renamed to a string
4788 other than the share name.
4789 * Allow winbindd to use domain trust account passwords when
4790 running on a Samba DC to establish an schannel to remote
4792 * Fix bad merge and ensure that we always use tdb_open_log()
4793 instead of tdb_open_ex() (the former call enforce the 'use
4795 * BUG 1221: revert old change that used single and double
4796 quotes as delimeters in next_token(), and change
4797 print_parameter() to print out parm values surrounded by
4798 double quotes (instead of single quotes).
4799 * Prevent home directories added during the SMBsesssetup&X from
4800 being removed as unused services.
4801 * Invalidate the print object cache for open printer handles when
4802 smbd receives a message that an attribute on a given printer
4804 * Cause the configure script to exit if --enable-cups[=yes] is
4805 defined and the system does not have the cups devel files
4807 * BUG 1297: Prevent map_username() from being called twice
4809 * Ensure that we use the userPrincipalName AD attribute
4810 value for LDAP SASL binds.
4811 * Ensure we remove the tdb entry when deleting a job that
4813 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
4814 client sends a FindNextPrintChangeNotify() request without
4815 previously sending a FindFirstPrintChangeNotify(). Return
4816 the same error code as Windows 2000 SP4.
4817 * BUG 1516: Manually declare ldap_open_with_timeout() to
4818 workaround compiler errors on IRIX (or other systems without
4820 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
4822 * Corrected syntax error in the OID for sambaUnixIdPool,
4823 sambaSidEntry, & sambaIdmapEntry object classes.
4824 * Tighten the cache consistency with the ntprinters.tdb entry
4825 an the in memory cache associated with open printer handles.
4826 * Make sure that register_messages_flags() doesn't overwrite
4827 the originally registered flags.
4830 o Fabien Chevalier <fabien.chevalier@supelec.fr>
4831 * Debian BUG 252591: Ensure that the return value from the
4832 number of available interfaces is initialized in case no
4833 interfaces are actually available.
4836 o Guenther Deschner <gd@sernet.de>
4837 * Implement 'rpcclient setprintername'.
4838 * Add local groups to the user's NT_TOKEN since they are
4839 actually supported now.
4840 * Heimdal compile fixes after introduction of the new keytab
4842 * Correctly honor the info level parameter in 'rpcclient
4844 * Reintroduce 'force unknown acl user' parameter. When getting a
4845 security descriptor for a file, if the owner sid is not known,
4846 the owner uid is set to the current uid. Same for group sid.
4847 * Ensure that REG_SZ values in the SetPrinterData actually
4848 get written in UNICODE strings rather than ASCII.
4849 * Ensure that the last Kerberos error return is not invalid.
4850 * Display share ACL entries from rpcclient.
4851 * Correct infinite loop in pam_winbind's verification of
4852 group membership in the 'other sids' field in the user_info3
4856 o Fabian Franz <FabianFranz@gmx.de>
4857 * Support specifying a port in the device URL passed to smbspool.
4860 o Steve French <sfrench@us.ibm.com>
4861 * Handle -S and user mount parms in mount.cifs.
4862 * Fix user unmount of shares mount with suid mount.cifs.
4863 * prevent infinite recusion in reopen_logs() when expanding
4864 the smb.conf variable %I.
4867 o Bjoern Jacke <bj@sernet.de>
4868 * Install libsmbclient into $(LIBDIR), not into hard coded
4869 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
4870 and an explicit configure --libdir setting.
4873 o <kawasa_r@itg.hitachi.co.jp>
4874 * Correct more memory leaks and initialization bugs.
4875 * Fix bug that prevented core dumps from being generated
4877 * Connect to the winbind pipe in non-blocking mode to
4878 prevent processes from hanging.
4879 * Memory leak fixes.
4882 o Stephan Kulow <coolo@suse.de>
4883 * Fix crash bug in libsmbclient.
4886 o Volker Lendecke <vl@samba.org>
4887 * Added vfs_full_audit module.
4888 * Add vfs_afsacl.c which can display & set AFS acls via
4889 the NT security editor.
4890 * Fix crash bug caused by trying to Base64 encode a NULL string.
4891 * Fix DOS error code bug in reply_chkpath().
4892 * Correct misunderstanding of the max_size field in
4893 cli_samr_enum_als_groups; it is more like an account_control
4894 field with individual bits what to retrieve.
4895 * Implement 'net rpc group rename' -- rename domain groups.
4896 * Implement the 'cups server' option. This makes it possible
4897 to have virtual smbd's connect to different cups daemons.
4898 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
4899 * Fix sid_to_gid() calls in winbindd to prevent loops.
4900 * Ensure that local_sid_to_gid() sets the type of the group on
4902 * Make sure that the clients are given back the IP address to
4903 which they connected in the case of a multi-homed host. Only
4904 affects strings the spoolss printing replies.
4905 * Fix the bad password lockout. This has not worked as pdb_ldap.c
4906 did not ask for the modifyTimestamp attribute, so it could
4907 not find it. Try not to regress by not putting that attrib
4908 in the main list but append it manually for the relevant searches.
4909 * Fix two memleaks in login_cache.c.
4910 * fixes memory bloat when unmarshalling strings.
4911 * Fix compile errors using gcc 3.2 on SuSE 8.2.
4912 * Fix the build for systems without Kerberos headers.
4913 * Allow winbindd to handle authentication requests only when
4914 started without either an 'idmap uid' or 'idmap gid' range.
4915 * Fix the build for systems without ldap headers.
4916 * Fix interaction between share security descriptor and the
4917 'read only' smb.conf option.
4918 * Fix bug that caused _samr_lookupsids() with more than 32 (
4919 MAX_REF_DOMAINS) SIDs to fail.
4920 * Allow the 'idmap backend' parameter to accept a list of
4921 LDAP servers for failover purposes.
4922 * Revert code in smbd to remove a tdb when it has become
4924 * Add paranoid checks when mapping SIDs to a uid/gid to
4925 ensure that the type is correct.
4926 * Initial work on getting client support for sending mailslot
4928 * Add 'ldap timeout' parameter.
4929 * Dont always uppercase 'afs username map'.
4930 * Expand aliases for getusersids as well.
4931 * Improved NT->AFS ACL mapping VFS module.
4934 o Herb Lewis <herb@samba.org>
4935 * Add the acls debug class.
4936 * Fix logic bug in netbios name truncate routine.
4937 * Fix smbd crash caused by smbtorture IOCTL test.
4938 * Fix errno tromping before calling iconv to reset the
4940 * need to leave empty dacl so we can remove last ACE.
4943 o Jianliang Lu <Jianliang.Lu@getronics.com>
4944 * Fix to stop smbd hanging on missing group member in
4946 * Make sure Samba returns the correct group types.
4947 * Reset the bad password count password counts upon a successful login.
4950 o Jason Mader <jason@ncac.gwu.edu>
4951 * BUG 1385: Don't use non-consts in a structure initialization.
4954 o Jim McDonough <jmcd@us.ibm.com>
4955 * BUG 1279: SMBjobid fix for Samba print servers running on
4956 Big-Endian platforms.
4959 o Joe Meadows <jameadows@webopolis.com>
4960 * Add optional timeout parameter to ldap open calls.
4961 * Allow get_dc_list() to check the negative cache.
4964 o Stefan Metzmacher <metze@samba.org>
4965 * fix a configure logic bug for linux/XFS quotas when
4966 using --with-sys-quotas.
4967 * Use quota debug class in quota code.
4968 * print out the SVN revision by configure,
4971 o Buchan Milne <bgmilne@mandrake.org>
4972 * Mandrake packaging fixes.
4975 o Lars Mueller <lmuelle@samba.org>
4976 * BUG 1279: Added 'printcap cache time' parameter.
4977 * Fix afs related build issues on SuSE.
4978 * Fix compiler warnings in the Kerberos client code.
4981 o James Peach <jpeach@sgi.com>
4982 * More iconv detection fixes for IRIX.
4983 * Compile fixed for systems that do not have C99/UNIX98 compliant
4984 vsnprintf by default.
4985 * Prevent smbd from attempting to use sendfile at all if it is
4986 not supported by the server's OS.
4987 * Allow SWAT to search for index.html when serving html files
4992 * Implement NFS quota support on FreeBSD.
4995 o Tim Potter <tpot@samba.org>
4996 * BUG 1360: Use -Bsymbolic when creating shared libraries to
4997 avoid conflicts with identical symbols in the global namespace
4998 when loading libnss_wins.so.
5001 o Richard Renard <rrenard@idealx.com>
5002 * Save the current password as it is being changed into the
5003 password history list.
5006 o Richard Sharpe <rsharpe@samba.org>
5007 * Fix error return codes on some lock messages.
5008 * BUG 1178: Make the libsmbclient routines callable
5010 * BUG 1333: Make sure we return an error code when
5012 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
5013 share mode locking requests fail.
5016 o Simo Sorce <idra@samba.org>
5017 * Update Debian stable & unstable packaging.
5018 * Tidy up parametric options in testparm output.
5021 o Richard Sharpe <rsharpe@samba.org>
5022 * Add sigchild handling to winbindd to restart the child
5023 daemon if necessary.
5026 o Tom Shaw <tomisfaraway@gmail.com>
5027 * Use winbindd_fill_pwent() consistently.
5030 o Nick Thompson <nickthompson@agere.com>
5031 * Protect smbd against broken filesystems which return zero
5035 o Andrew Tridgell <tridge@samba.org>
5036 * Fixed bug in handling of timeout in socket connections.
5039 o Nick Wellnhofer <wellnhofer@aevum.de>
5040 * Prevent lp_interfaces() list from being corrupted. Fixes
5041 bug where nmbd would lose the list of network interfaces
5042 on the system and consequently shutdown.
5045 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
5046 * Fix ntlm_auth memory leaks.
5049 o Jelmer Vernooij <jelmer@samba.org>
5050 * Additional NT status to unix error mappings.
5051 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
5052 get duplicate symbol errors.
5053 * Return an error when the last command read from stdin
5055 * Prepare for better error checking in tar.
5056 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
5059 --------------------------------------------------
5061 =============================
5062 Release Notes for Samba 3.0.5
5064 =============================
5066 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
5067 the exception of correcting the two security issues outlined
5070 ######################## SECURITY RELEASE ########################
5072 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
5073 CVE ID: CAN-2004-0600, CAN-2004-0686
5074 (http://cve.mitre.org/)
5077 This is the latest stable release of Samba. This is the version
5078 that production Samba servers should be running for all current
5081 It has been confirmed that versions of Samba 3 prior to v3.0.4
5082 are vulnerable to two potential buffer overruns. The individual
5083 details are given below.
5089 Affected Versions: Samba 3.0.2 and later
5091 The internal routine used by the Samba Web Administration
5092 Tool (SWAT v3.0.2 and later) to decode the base64 data
5093 during HTTP basic authentication is subject to a buffer
5094 overrun caused by an invalid base64 character. It is
5095 recommended that all Samba v3.0.2 or later installations
5096 running SWAT either (a) upgrade to v3.0.5, or (b) disable
5097 the swat administration service as a temporary workaround.
5099 This same code is used internally to decode the
5100 sambaMungedDial attribute value when using the ldapsam
5101 passdb backend. While we do not believe that the base64
5102 decoding routines used by the ldapsam passdb backend can
5103 be exploited, sites using an LDAP directory service with
5104 Samba are strongly encouraged to verify that the DIT only
5105 allows write access to sambaSamAccount attributes by a
5106 sufficiently authorized user.
5108 The Samba Team would like to heartily thank Evgeny Demidov
5109 for analyzing and reporting this bug.
5115 Affected Versions: Samba 3.0.0 and later
5117 A buffer overrun has been located in the code used to support
5118 the 'mangling method = hash' smb.conf option. Please be aware
5119 that the default setting for this parameter is 'mangling method
5120 = hash2' and therefore not vulnerable.
5122 Affected Samba 3 installations can avoid this possible security
5123 bug by using the default hash2 mangling method. Server
5124 installations requiring the hash mangling method are encouraged
5125 to upgrade to Samba 3.0.5.
5128 ##################################################################
5130 --------------------------------------------------
5132 =============================
5133 Release Notes for Samba 3.0.4
5135 =============================
5137 Common bugs fixed in Samba 3.0.4 include:
5139 o Password changing after applying the patch described in
5140 the Microsoft KB828741 article to Windows clients.
5142 o Managing print jobs via Windows on Big-Endian servers.
5143 o Several memory leaks in winbindd and smbd.
5144 o Compile issues on AIX and *BSD.
5147 --------------------
5152 o Jeremy Allison <jra@samba.org>
5153 * Fix path processing for DeletePrinterDriverEx().
5154 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
5158 o Andrew Bartlett <abartlet@samba.org>
5159 * Fix alignment bug in GetDomPwInfo().
5162 o Alexander Bokovoy <ab@samba.org>
5163 * Fix utime[s]() issues in smbwrapper on systems
5164 that can boot both the 2.4 and 2.6 Linux kernels.
5167 o Gerald Carter <jerry@samba.org>
5168 * Fedora packaging fixes.
5169 * BUG 1302: Fix seg fault by not trying to optimize a list of
5170 invalid gids using the wrong array size.
5171 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
5172 seen when 'security = share'.
5173 * Fix problems when using IBM's compiler on AIX.
5174 * Link Developer's Guide, Example Guide, and multi-page HOWTO
5175 into SWAT's welcome page.
5176 * BUG 1293: fix double free in printer publishing code.
5179 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
5180 * Fix for handling timeouts in socket connections.
5183 o Michel Gravey <michel.gravey@optogone.com>
5184 * BUG 483: patch from to fix password hash creation in SWAT.
5187 o Volker Lendecke <vl@samba.org>
5188 * Close the open NT pipes before the tdis.
5189 * Fix AFS related build issues.
5190 * Handle error conditions when base64 encoding a blob of 0 bytes.
5193 o Herb Lewis <herb@samba.org>
5194 * Added 'acls' debug class.
5196 o kawasa_r@itg.hitachi.co.jp
5197 * Multiple variable initialization and memory leak fixes.
5200 o Stephan Kulow <coolo@suse.de>
5201 * Fix string length bug in libsmbclient that caused KDE's
5203 * BUG 429: More libsmbclient fixes.
5206 o Jim McDonough <jmcd@us.ibm.com>
5207 * BUG 1007, 1279: Store the print job using a little-endian key.
5211 o Compile fix for OpenBSD (ENOTSUP not supported).
5214 o Stefan Metzmacher <metze@samba.org>
5215 * Correct bug in disks quota views from explorer.
5218 o Tim Potter <tpot@samba.org>
5219 BUG 1305: Correct debug output.
5222 o Richard Sharpe <rsharpe@samba.org>
5223 * Fix incorrect error code mapping.
5226 o Jelmer Vernooij <jelmer@samba.org>
5227 * Add additional NT_STATUS errorm mappings.
5230 --------------------------------------------------
5232 =============================
5233 Release Notes for Samba 3.0.3
5235 =============================
5238 Common bugs fixed in Samba 3.0.3 include:
5240 o Crash bugs and change notify issues in Samba's printing code.
5241 o Honoring secondary group membership on domain member servers.
5242 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
5243 o Substitution errors for %[UuGg] in smb.conf.
5244 o winbindd crashes when using ADS security mode.
5245 o SMB signing errors.
5246 o Delays in winbindd startup caused by unnecessary
5247 connections to trusted domain controllers.
5248 o Various small memory leaks.
5249 o Winbindd failing due to expired Kerberos tickets.
5251 New features introduced in Samba 3.0.3 include:
5253 o Improved support for i18n character sets.
5254 o Support for account lockout policy based on
5255 bad password attempts.
5256 o Improved support for long password changes (>14
5257 characters) and strong password enforcement.
5258 o Support for Windows aliases (i.e. nested groups).
5259 o Experimental support for storing DOS attribute on files
5260 and folders in Extended Attributes.
5261 o Support for local nested groups via winbindd.
5262 o Specifying options to be passed directly to the CUPS libraries.
5264 Please be aware that the Samba source code repository was
5265 migrated from CVS to Subversion on April 4, 2004. Details on
5266 accessing the Samba source tree via anonymous svn can be found
5267 at http://svn.samba.org/samba/subversion.html.
5270 Changes since 3.0.2a
5271 --------------------
5275 Parameter Name Action
5276 -------------- ------
5279 only user Deprecated
5280 store dos attributes New
5282 winbind nested groups New
5288 o Jeremy Allison <jra@samba.org>
5289 * Ensure that Kerberos mutex is always properly unlocked.
5290 * Removed Heimdal "in-memory keytab" support.
5291 * Fixup the 'multiple-vuids' bugs in our server code.
5292 * Correct return code from lsa_lookup_sids() on unmapped
5293 sids (based on work by vl@samba.org).
5294 * Fix the "too many fcntl locks" scalability problem
5296 * Fixup correct (as per W2K3) returns for lookupsids
5297 as well as lookupnames.
5298 * Fixups for delete-on-close semantics as per Win2k3 behavior.
5299 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
5300 * Fix "unable to initialize" bug when smbd hasn't been run with
5301 new system and a user is being added via pdbedit/smbpasswd.
5302 * Added NTrename SMB (0xA5).
5303 * Fixup correct timeout values for blocking lock timeouts.
5304 * Fix various bugs reported by 'gentest'.
5305 * More locking fixes in the case where we own the lock.
5306 * Fix up regression in IS_NAME_VALID and renames.
5307 * Don't set allocation size on directories.
5308 * Return correct error code on fail if file exists and target
5310 * Added client "hardlink" comment to test doing NT rename with
5311 hard links. Added hardlink_internals() code - UNIX extensions
5312 now use this as well.
5313 * Use a common function to parse all pathnames from the wire for
5314 much closer emulation of Win2k3 error return codes.
5315 * Implement check_path_syntax() and rewrite string sub
5316 functions for better multibyte support.
5317 * Ensure msdfs referrals are multibyte safe.
5318 * Allow msdfs symlink syntax to be more forgiving.
5319 eg. sym_link -> msdfs://server/share/path/in/share
5320 or sym_link -> msdfs:\\server\share\path\in\share.
5321 * Cleanup multibyte netbios name support in nmbd ( based on patch
5322 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
5323 * Fix check_path_syntax() for multibyte encodings which have
5324 no '\' as second byte (based on work by ab@samba.org.
5325 * Fix the "dfs self-referrals as anonymous user" problem
5326 (based on patch from vl@samba.org).
5327 * BUG 1064: Ensure truncate attribute checking is done correctly
5328 on "hidden" dot files.
5329 * Fix bug in anonymous dfs self-referrals again.
5330 * Fix get/set of EA's in client library
5331 * Added support for OS/2 EA's in smbd server.
5332 * Added 'ea support' parameter to smb.conf.
5333 * Added 'store dos attributes' parameter to smb.conf.
5334 * Fix wildcard identical rename.
5335 * Fix reply_ctemp - make compatible with w2k3.
5336 * Fix wildcard unlink.
5337 * Fix wildcard src with wildcard dest renames.
5338 * BUG 1139: Fix based on suggestion by jdev@panix.com.
5339 swap lookups for user and group - group will do an
5340 algorithmic lookup if it fails, user won't.
5341 * Make EA's lookups case independent.
5342 * Fix SETPATHINFO in 'unix extensions' support.
5343 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
5344 the UNIX info levels, and the short case preserve names.
5347 o Timur Bakeyev <timur@com.bat.ru>
5348 * BUG 1144: only set --with-fhs when the argument is 'yes'
5349 * BUG 1152: Allow python modules to build despite libraries added
5350 to LDFLAGS instead of LDPATH.
5351 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
5354 o Craig Barratt <cbarratt@users.sourceforge.net>
5355 * BUG 389: Allow multiple exclude arguments with smbclient
5356 tar -Xr options (better support for Amanda backup client).
5359 o Andrew Bartlett <abartlet@samba.org>
5360 * Include support for linking with cracklib for enforcing strong
5362 * Add support for >14 character password changes from Windows
5364 * Add 'admin set password' capability to 'net rpc'.
5365 * Allow 'net rpc samdump' to work with any joined domain
5366 regardless of smb.conf settings.
5367 * Use an allocated buffer for count_chars.
5368 * Add sanity checks for changes in the domain SID in an
5370 * Implement python unit tests for Samba's multibyte string
5372 * Remove 'unicode' smb.conf option.
5373 * BUG 1138: Fix support for 'optional' SMB signing and other
5375 * BUG 169: Fix NTLMv2-only behavior.
5376 * Ensure 'net' honors the 'netbios name' in the smb.conf by
5378 * Support SMB signing on connections using only the LANMAN
5379 password and generate the correct the 'session key' for these
5381 * Implement --required-membership-of=, an ntlm_auth option
5382 that restricts all authentication to members of this particular
5384 * Improve our fall back code for password changes.
5385 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
5386 after the server had said something (such as an error).
5387 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
5390 o Alexander Bokovoy <ab@samba.org>
5391 * Fix incorrect size calculation of the directory name
5393 * Fix problems with very long filenames in both smbd and smbclient
5394 caused by truncating paths during character conversions.
5395 * Fix smbfs problem with Tree Disconnect issued before smbfs
5399 o Gerald Carter <jerry@samba.org>
5400 * BUG 850: Fix 'make installmodules' bug on True64.
5401 * BUG 66: mark 'only user' deprecated.
5402 * Remove corrupt tdb and shutdown (only for printing tdbs,
5403 connections, sessionid & locking).
5404 * decrement smbd counter in connections.tdb in smb_panic().
5405 * RedHat specfile updates.
5406 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
5407 * BUG 1147; bad pointer case in get_stored_queue_info()
5409 * BUG 761: read the config file before initialized default
5410 values for printing options; don't default to bsd printing
5412 * Allow the 'printing' parameter to be set on a per share basis.
5413 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
5414 * BUG 848: don't create winbind local users/groups that already
5416 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
5418 * BUG 488: fix the 'show client in col 1' button and correctly
5419 enumerate active connections.
5420 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
5421 problem when storing the updating pid for the lpq cache.
5422 * BUG 1007 (partial): Fix print change notify bugs.
5423 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
5424 and winbind use default domain = yes. Also ensures that
5425 * BUG 1151: Ensure that winbindd users are passed through
5427 * Fix client rpc binds for ASU derived servers (pc netlink,
5429 * BUG 417, 1128: Ensure that the current_user_info is set
5430 consistently so that %[UuGg] is expanded correctly.
5431 * BUG 1195: Fix crash in winbindd when the ADS server is
5433 * BUG 1185: Set reconnect time to be the same as the
5434 'winbind cache time'.
5435 * Ensure that we return the sec_desc in smb_io_printer_info_2.
5436 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
5437 * BUG 1095: Honor the '-l' option in smbclient.
5438 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
5440 * Ensure server schannel uses the auth level requested by the
5442 * Removed --with-cracklib option due to potential crash issue.
5443 * Fix -lcrypto linking problem with wbinfo.
5444 * BUG 761: allow printing parameter to set defaults on a per
5446 * Add 'cups options' parameter to allow raw printing without
5447 changing /etc/cups/cupsd.conf.
5448 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
5450 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
5451 * BUG 1288: resolve any machine netbios name (0x00) and not just
5453 * BUG 1199: Fix potential symlink issue in
5454 examples/printing/smbprint.
5457 o Robert Dahlem <Robert.Dahlem@gmx.net>
5458 * BUG 1048: Don't return short names when when 'mangled names = no'
5461 o Guenther Deschner <gd@suse.com>
5462 * Remove hard coded attribute name in the ads ranged retrieval
5464 * Add --with-libdir and --with-mandir to autoconf script.
5467 o Bostjan Golob <golob@gimb.org>
5468 * BUG 1046: Fix getpwent_list() so that the username is not
5469 overwritten by other fields.
5472 o Landon Fuller <landonf@opendarwin.org>
5473 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
5474 to fix user/group enumeration on systems whose libc does not
5475 call setgrent() before trying to enumerate users (i.e.
5479 o Steve French <sfrench@us.ibm.com>
5480 * Update mount.cifs to version 1.1.
5481 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
5482 * Fixes to minor security bug in the mount helper.
5483 * Fix credential file mounting for cifs vfs.
5484 * Fix free of incremented pointer in cifsvfs mount helper.
5485 * Fix path canonicalization of the mount target path and help
5486 text display in the cifs mount helper.
5487 * Add missing guest mount option for mount.cifs.
5490 o SATOH Fumiyasu <fumiya@miraclelinux.com>
5491 * BUG 1055; formatting fixes for 'net share'.
5492 * BUG 692: correct truncation of share names and workgroup
5494 * BUG 1088: use strchr_m() for query_host (smbclient -L).
5495 * Patch from to internally count characters correctly.
5498 o Paul Green <paulg@samba.org>
5499 * Update VOS _POSIX_C_SOURCE macro to 200112L.
5500 * Fix bug in configure.ion by moving the first use of
5501 AC_CHECK_HEADERS so it is always executed.
5502 * Fix configure.in to only use $BLDSHARED to select whether to
5503 build static or shared libraries.
5506 o Pat Haywarrd <Pat.Hayward@propero.net>
5507 * Make the session_users list dynamic (max of 128K).
5510 o Cal Heldenbrand <calzplace@yahoo.com>
5511 * Fix for for 'pam_smbpass migrate' functionality.
5514 o Chris Hertel <crh@samba.org>
5515 * fix enumeration of shares 12 characters in length via
5519 o Ulrich Holeschak <ulrich@holeschak.de>
5520 * BUG 932: fix local password change using pam_smbpass
5523 o Krischan Jodies <kj@sernet.de>
5524 * Implement 'net rpc group delete'
5527 o John Klinger <john.klinger@lmco.com>
5528 * Return NSS_SUCCESS once the max number of gids possible
5529 has been found in initgroups() on Solaris.
5530 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
5533 o Volker Lendecke <vl@samba.org>
5534 * Fix success message for net groupmap modify.
5535 * Fix errors when enumerating members of groups in 'net rpc'.
5536 * Match Windows behavior in samr_lookup_names() by returning
5537 ALIAS(4) when you search in BUILTIN.
5538 * Fix server SAMR code to be able to set alias info for
5540 * Fix duplication of logic when creating groups via smbd.
5541 * Ensure that the HWM values are set correctly after running
5543 * Add 'net rpc group add'.
5544 * Implement 'net groupmap set' and 'net groupmap cleanup'.
5545 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
5546 * Fix wb_delgrpmem (wbinfo -o).
5547 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
5548 * Fix sambaUserWorkstations on a Samba DC.
5549 * Implement wbinfo -k: Have winbind generate an AFS token after
5550 authenticating the user.
5551 * Add expand_msdfs VFS module for providing referrals based on the
5552 the client's IP address.
5553 * Implement client side NETLOGON GetDCName function.
5554 * Fix caching of name->sid lookups.
5555 * Add support in winbindd for expanding nested local groups.
5556 * Fix memleak in winbindd.
5558 * Don't list domain groups from BUILTIN.
5559 * Fix memleak in policy handle utility functions.
5560 * Decrease winbindd startup time by only contacting trusted
5561 domains as necessary.
5562 * Allow winbindd to ask the DC for its domain for a trusted
5564 * Fix Netscape DS schema based on comments from
5565 <thomas.mueller@christ-wasser.de>.
5566 * Correct case where adding a domain user to a XP local group
5567 did a lsalookupname on the user without domain prefix, and
5569 * Fix segfault in winbindd caused by 'wbinfo -a'.
5572 o Herb Lewis <herb@samba.org>
5573 * Fix typo for tag in proto file.
5574 * Add missing #ifdef HAVE_BICONV stuff.
5575 * Truncate Samba's netbios name at the first '.' (not
5579 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
5580 * Bug fixes and enhancements to libsmbclient library.
5583 o Jianliang Lu <j.lu@tiesse.com>
5584 * Enforce the 'user must change password at next login' flag.
5585 * Decode meaning of 'fields present' flags (improves support
5588 * Don't force an upper case domain name in the ntlmssp code.
5591 o L. Lucius <ib@digicron.com>.
5595 o Jim McDonough <jmcd@us.ibm.com>
5596 * Add versioning support to tdbsam.
5597 * Update the IBM Directory Server schema with the OpenLDAP
5599 * Various decoding fixes to improve usrmgr.exe support.
5600 * Fix statfs redeclaration of statfs struct on ppc
5601 * Implement support for password lockout of Samba domain
5602 controllers and standalone servers.
5603 * Get MungedDial attribute actually working with full TS
5604 strings in it for pdb_ldap.
5605 * BUG 1208 (partial): Improvements for working with expired krb5
5606 tickets in winbindd.
5607 * Use timegm, or our already existing replacement instead of
5608 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
5609 * Remove modifyTimestamp from list of our attributes.
5610 * Fix lsalookupnames to check for domain users as well as local
5612 * Merge struct uuid replacement for GUID from trunk.
5613 * BUG 1208: Finish support for handling expired tickets in
5614 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
5617 o Stefan Metzmacher <metze@samba.org>
5618 * Implement new VERSION schema based on subversion revision
5620 * Add shadow_copy vfs module.
5621 * Fix segault in login_cache support.
5624 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
5625 o BUG 979 -- Fix quota display on AIX.
5628 o James Peach <jpeach@sgi.com>
5629 * Correct check for printf() format when using the SGI MIPSPro
5631 * BUG 1038: support backtrace for 'panic action' on IRIX.
5632 * BUG 768: Accept profileing arg to IRIX init script.
5633 * BUG 748: Relax arg parsing to sambalp script (IRIX).
5634 * BUG 758: Fix pdma build.
5635 * Search IRIX ABI paths for libiconv. Based on initial fix from
5639 o Kurt Pfeifle <kpfeifle@danka.de>
5640 * Add example shell script for migrating drivers and printers
5641 from a Windows print server to a Samba print server using
5642 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
5645 o Tim Potter <tpot@samba.org>
5646 * Fix logic bug in tdb non-blocking lock routines when
5648 * BUG 1025: Include sys/acl.h in check for broken nisplus
5650 * BUG 1066: s/printf/d_printf/g in SWAT.
5651 * BUG 1098: rename internal msleep() function to fix build
5653 * BUG 1112: Fix for writable printerdata problem in python bindings.
5654 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
5655 * BUG 1155: enclose use of fchown() with guards.
5656 * Relicense tdb python module as LGPL.
5659 o Richard Sharpe <rsharpe@samba.org>
5660 * Add support to smbclient for multiple logins on the same
5661 session (based on work by abartlet@samba.org).
5662 * Correct blocking condition in smbd's use of accept() on IRIX.
5663 * Add support for printing out the MAC address on nmblookup.
5666 o Simo Sorce <idra@samba.org>
5667 * Replace unknown_3 with fields_present in SAMR code.
5668 * More length checks in strlcat().
5671 o Andrew Tridgell <tridge@samba.org>
5672 * Rewrote the AIX UESS backend for winbindd.
5673 * Fixed compilation with --enable-dmalloc.
5674 * Change tdb license to LGPL (see source/tdb/tdb.c).
5675 * Force winbindd to use schannel in clients connections to
5679 o Jelmer Vernooij <jelmer@samba.org>
5680 * Fix ETA Calculation when resuming downloads in smbget.
5681 * Add -O (for writing downloaded files to standard out)
5682 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
5683 * Fix syntax error in example mysql table
5686 o TAKEDA yasuma <yasuma@miraclelinux.com>
5687 * BUG 900: fix token processing in cmd_symlink, cmd_link,
5688 cmd_chown, cmd_chmod smbclient functions.
5691 o Shiro Yamada <shiro@miraclelinux.com>
5692 * BUG 1129: install image files for SWAT.
5695 --------------------------------------------------
5697 ==============================
5698 Release Notes for Samba 3.0.2a
5700 ==============================
5702 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
5703 to address, in particular, a problem when using pdbedit to
5704 sanitize (--force-initialized-passwords) Samba's tdbsam
5705 backend. This is the latest stable release of Samba. This
5706 is the version that all production Samba servers should be
5707 running for all current bug-fixes.
5709 ******************* Attention! Achtung! Kree! *********************
5711 Beginning with Samba 3.0.2, passwords for accounts with a last
5712 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
5713 ldapsam, etc...) of zero (0) will be regarded as uninitialized
5714 strings. This will cause authentication to fail for such
5715 accounts. If you have valid passwords that meet this criteria,
5716 you must update the last change time to a non-zero value. If you
5717 do not, then 'pdbedit --force-initialized-passwords' will disable
5718 these accounts and reset the password hashes to a string of X's.
5720 ******************* Attention! Achtung! Kree! *********************
5729 Please refer to the CVS log for the SAMBA_3_0 branch for complete
5730 details. The list of changes per contributor are as follows:
5733 o Jeremy Allison <jra@samba.org>
5734 * Added paranoia checks in parsing code.
5737 o Andrew Bartlett <abartlet@samba.org>
5738 * Ensure that changes to uninitialized passwords in ldapsam
5739 are written to the DIT.
5742 o Gerald (Jerry) Carter <jerry@samba.org>
5743 * Fixed iterator in tdbsam.
5744 * Fix bug that disabled accounts with a valid NT password
5745 hash, but no LanMan hash.
5748 o Steve French <sfrench@us.ibm.com>
5749 * Added missing nosetuid and noexec options.
5752 o Bostjan Golob <golob@gimb.org>
5753 * BUG 1046: Don't overwrite usernames of entries returned
5757 o Sebastian Krahmer <krahmer@suse.de>
5758 * Fixed potential crash bug in NTLMSSP parsing code.
5761 o Tim Potter <tpot@samba.org>
5762 * Fixed logic in tdb_brlock error checking.
5765 o Urban Widmark <urban@teststation.com>
5766 * Set nosuid,nodev flags in smbmnt by default.
5769 --------------------------------------------------
5771 =============================
5772 Release Notes for Samba 3.0.2
5774 =============================
5776 It has been confirmed that previous versions of Samba 3.0 are
5777 susceptible to a password initialization bug that could grant an
5778 attacker unauthorized access to a user account created by the
5779 mksmbpasswd.sh shell script.
5781 The Common Vulnerabilities and Exposures project (cve.mitre.org)
5782 has assigned the name CAN-2004-0082 to this issue.
5784 Samba administrators not wishing to upgrade to the current
5785 version should download the 3.0.2 release, build the pdbedit
5788 root# pdbedit-3.0.2 --force-initialized-passwords
5790 This will disable all accounts not possessing a valid password
5791 (e.g. the password field has been set a string of X's).
5793 Samba servers running 3.0.2 are not vulnerable to this bug
5794 regardless of whether or not pdbedit has been used to sanitize
5797 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
5800 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
5801 o Logging onto a Samba domain from Windows XP clients.
5802 o Problems with the %U and %u smb.conf variables in relation to
5803 Windows 9x/ME clients.
5804 o Kerberos failures due to an invalid in memory keytab detection
5806 o Updates to the ntlm_auth tool.
5807 o Fixes for various SMB signing errors.
5808 o Better separation of WINS and DNS queries for domain controllers.
5809 o Issues with nss_winbind FreeBSD and Solaris.
5810 o Several crash bugs in smbd and winbindd.
5811 o Output formatting fixes for smbclient for better compatibility
5812 with scripts based on the 2.2 version.
5821 Parameter Name Action
5822 -------------- ------
5823 ldap replication sleep New
5824 read size removed (unused)
5825 source environment removed (unused)
5831 Please refer to the CVS log for the SAMBA_3_0 branch for complete
5832 details. The list of changes per contributor are as follows:
5834 o Jeremy Allison <jra@samba.org>
5835 * Revert change that broke Exchange clear text samlogons.
5836 * Fix gcc 3.4 warning in MS-DFS code.
5837 * Tidy up of NTLMSSP code.
5838 * Fixes for SMB signing errors
5839 * BUG 815: Workaround NT4 bug to support plaintext
5840 password logins and UNICODE.
5841 * Fix SMB signing bug when copying large files.
5842 * Correct error logic in mkdir_internals() (caused a panic
5843 when combined with --enable-developer).
5844 * BUG 830: Protect against crashes due to bad character
5848 o Petri Asikainen <paca@sci.fi>
5849 * BUG 330, 387:Fix single valued attribute updates when
5850 working with Novell NDS.
5853 o Andrew Bartlett <abartlet@samba.org>
5854 * Correctly handle per-pipe NTLMSSP inside a NULL session.
5855 * Fix segfault in gencache
5856 * Fix early free() of encrypted_session_key.
5857 * Change DC lookup routines to more carefully separate
5858 DNS names (realms) from NetBIOS domain names.
5859 * Add new sid_to_dn() function for internal winbindd use.
5860 * Refactor cli_ds_enum_domain_trusts().
5861 * BUG 707: Implement range retrieval of ADS attributes (based
5862 on work from Volker <vl@samba.org> and Guenther Deschner
5864 * Automatically initialize the signing engine if a session key
5866 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
5867 encoded strings, only form input in SWAT.
5868 * Resets the NTLMSSP state for new negotiate packets.
5869 * Add 2-byte alignments in net_samlogon() queries to parse
5870 odd-length plain text passwords.
5871 * Allow Windows groups with no members in winbindd.
5872 * Allow normal authentication in the absence of a server
5873 generated session key.
5874 * More optimizations for looking up UNIX group lists.
5875 * Clean up error codes and return values for pam_winbindd
5876 and winbindd PAM interface.
5877 * Fix string return values in ntlm_auth tool.
5878 * Fix segfault when 'security = ads' but no realm is defined.
5879 * BUG 722: Allow winbindd to map machine accounts to uids.
5880 * More cleanups for winbindd's find_our_domain().
5881 * More clearly detect whether a domain controller is an NT4
5882 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
5883 * Increase separation between DNS queries for hosts and queries
5884 for AD domain controllers.
5885 * Include additional NT_STATUS to PAM error mappings.
5886 * Password initialization fixes.
5889 o Justin Baugh <justin.baugh@request.com>
5890 * BUG 948: Implement missing functions required for FreeBSD
5891 nss_winbind support.
5894 o Alexander Bokovoy <ab@samba.org>
5895 * BUG 922: Make sure enable fast path for strlower_m() and
5899 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
5900 * Fix crash when using 'security = server' and 'encrypt
5901 passwords = no' by always initializing the session key.
5904 o Dmitry Butskoj <buc@odusz.elektra.ru>
5905 * Fix for special files being hidden from admins.
5908 o Gerald (Jerry) Carter <jerry@samba.org>
5909 * Fix bug in the lanman session key generation. Caused
5910 "decode_pw: incorrect password length" error messages.
5911 * Save the right case for the located user name in
5912 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
5913 * BUG 897: Add well known rid for pre win2k compatible access
5915 * BUG 887: Correct typo in delete user script example.
5916 * Use short lived TALLOC_CTX* for allocating printer objects
5917 from the print handle cache.
5918 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
5919 * Fix several warnings reported by the SUN Forte C compiler.
5920 * Fully control DNS queries for AD DC's using 'name resolve order'.
5921 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
5922 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
5923 * BUG 936: fix bind credentials for schannel binds in smbd.
5924 * BUG 446: Fix output of smbclient for better compatibility
5925 with scripts based on the 2.2 version (including Amanda).
5926 * BUG 891, 949: Fedora packaging fixes.
5927 * Fix bug that caused rpcclient to incorrectly retrieve
5928 the SID for a server (this causing all calls that required
5929 this information to fail).
5930 * BUG 977: Don't create a homes share for a user if a static
5931 share already exists by the same name.
5932 * Removed unused smb.conf options.
5933 * Password initialization fixes.
5934 * Set the disable flag for template accounts created by
5936 * Disable any account has no passwords and does not have the
5937 ACB_PWNOTREQ bit set.
5940 o Guenther Deschner <gd@suse.com>
5941 * Install smbwrapper.so should be put into the $(libdir)
5943 * Add the capability to specify the new user password
5944 for "net ads password" on the command line.
5945 * Correctly detect AFS headers on SuSE.
5948 o James Flemer <jflemer@uvm.edu>
5949 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
5950 HAVE_SYS_ATTRIBUTES_H.
5953 o Luke Howard <lukeh@PADL.COM>
5954 * Fix segfault in session setup reply caused by a early free().
5957 o Stoian Ivanov <sdr@bultra.com>
5958 * Implement grepable output for smbclient -L.
5961 o LaMont Jones <lamont@debian.org>
5962 * BUG 225328 (Debian): Correct false failure LFS test that resulted
5963 in _GNU_SOURCE not being defined (thus resulting in strndup()
5967 o Volker Lendecke <vl@samba.org>
5968 * BUG 583: Ensure that user names always contain the short
5969 version of the domain name.
5970 * Fix our parsing of the LDAP uri.
5971 * Don't show the 'afs username map' in the SWAT basic view.
5972 * Fix SMB signing issues in relation to failed NTLMSSP logins.
5973 * BUG 924: Fix return codes in smbtorture harness.
5974 * Always lower-case usernames before handing it to AFS code.
5975 * Add a German translation for SWAT.
5976 * Fix a segfaults in winbindd.
5977 * Fix the user's domain passed to register_vuid() from
5978 reply_spnego_Kerberos().
5979 * Add NSS example code in nss_winbind to convert UNIX
5980 id's <-> Windows SIDs.
5981 * Display more descriptive error messages for login via 'net'.
5982 * Fix compiler warning in the net tool.
5983 * Fix length bug when decoding base64 strings.
5984 * Ensure we don't call getpwnam() inside a loop that is iterating
5985 over users with getpwent(). This broke on glibc 2.3.2.
5988 o Herb Lewis <herb@samba.org>
5989 * Fix bit rot in psec.
5992 o Jianliang Lu <j.lu@tiesse.com>
5993 * Ensure we delete the group mapping before calling the delete
5995 * Define well known RID for managing the "Power Users" group.
5996 * BUG 381: check builtin (not local) group SID when updating
5998 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
6002 o John Klinger <john.klinger@lmco.com>
6003 * Implement initgroups() call in nss_winbind on Solaris.
6006 o Jim McDonough <jmcd@us.ibm.com>
6007 * Fix regression in net rpc join caused by recent changes
6008 to cli_lsa_query_info_policy().
6009 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
6013 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
6014 * BUG 570: Ensure that configure honors the LDFLAGS variable.
6017 o Stefan Metzmacher <metze@samba.org>
6018 * Implement LDAP rebind sleep patch.
6019 * Revert to 2.2 quota code because of so many broken quota files
6021 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
6022 XFS_USER_QUOTA -> USRQUOTA
6023 XFS_GROUP_QUOTA -> GRPQUOTA
6024 * Fix disk_free calculation with group quotas.
6025 * Add debug class 'quota' and a lot of DEBUG()'s
6027 * Fix sys_chown() when no chown() is present.
6028 * Add SIGABRT to fault handling in order to catch got a
6029 backtrace if an error occurs the OpenLDAP client libs.
6033 * Allow an existing LDAP machine account to be re-used when
6034 joining an AD domain.
6037 o James Peach <jpeach@sgi.com>
6038 * BUG 889: Change smbd to use pread/pwrite on platforms that
6039 support these calls. Can lead to a significant speed increase.
6042 o Tim Potter <tpot@samba.org>
6043 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
6044 * BUG 924: Fix typo in RW2 torture test.
6047 o Richard Sharpe <rsharpe@samba.org>
6048 * Small fixes to torture.c to cleanup the error handling
6049 and prevent crashes.
6052 o J. Tournier <jerome.tournier@IDEALX.com>
6053 * Small fixes for the smbldap-tool scripts.
6056 o Andrew Tridgell <tridge@samba.org>
6057 * Fix src len check in pull_usc2().
6060 o Jelmer Vernooij <jelmer@samba.org>
6061 * Put functions for generating SQL queries in pdb_sql.c
6062 * Add pgSQL backend (based on patch by Hamish Friedlander)
6063 * BUG 908: Fix -s option to smbcontrol.
6064 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
6065 * Fix for libnss_wins on IRIX platforms.
6066 * Fix swatdir for --with-fhs.
6069 --------------------------------------------------
6071 =============================
6072 Release Notes for Samba 3.0.1
6074 =============================
6076 Some of the more common bugs in 3.0.0 addressed in the release
6079 o Substitution problems with smb.conf variables.
6080 o Errors in return codes which caused some applications
6081 to fail to open files.
6082 o General Protection Faults on Windows 2000/XP clients
6083 using Samba point-n-print features.
6084 o Several miscellaneous crash bugs.
6085 o Access problems when enumerating group mappings are
6086 stored in an LDAP Directory.
6087 o Several common SWAT bugs when writing changes to
6089 o Internal inconsistencies when 'winbind use default
6095 ----------------------
6097 Parameter Name Action
6098 -------------- ------
6099 hide local users Removed
6100 mangled map Deprecated
6101 mangled stack Removed
6102 passwd chat timeout New
6108 o Change the interface for init_unistr2 to not take a length
6109 but a flags field. We were assuming that
6110 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
6111 o Allow d_printf() to handle strings with escaped quotation
6112 marks since the msg file includes the escape character (bug 489).
6113 o Fix bad html table row termination in SWAT wizard code (bug 413).
6114 o Fix to parse the level-2 strings.
6115 o Fix for "valid users = %S" in [homes]. Fix read/write
6117 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
6118 This is the same way AC_CHECK_LIB works (bug 508).
6119 o Testparm output fixes for clarity.
6120 o Fix broken wins hook functionality -- i18n bug (bug 528).
6121 o Take care of condition where DOS and NT error codes must differ.
6122 o Default to using only built-in charsets when a working iconv
6123 implementation cannot be located.
6124 o Wrap internals of sys_setgroups() so the sys_XX() call can
6125 be done unconditionally (bug 550).
6126 o Remove duplicate smbspool link on SWAT's front page (bug 541).
6127 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
6128 --enable-debug=[yes|no] works correctly.
6129 o Allow ^C to interrupt smbpasswd if using our getpass
6130 (e.g. smbpasswd command).
6131 o Support signing only on RPC's (bug 167).
6132 o Correct bug that prevented Excel 2000 clients from opening
6133 files marked as read-only.
6134 o Portability fix bugs 546 - 549).
6135 o Explicitly initialize the value of AR for vendor makes that don't
6136 do this (e.g. HPUX 11). (bug 552).
6137 o More i18n fixes for SWAT (bug 413).
6138 o Change the cwd before the postexec script to ensure that a
6139 umount will succeed.
6140 o Correct double free that caused winbindd to crash when a DC
6141 is rebooted (bug 437).
6142 o Fix incorrect mode sum (bug 562).
6143 o Canonicalize SMB_INFO_ALLOCATION in the same was as
6144 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
6145 o Add script to generate *msg files.
6146 o Add Dutch SWAT translation file.
6147 o Make sure to call get_user_groups() with the full winbindd
6148 name for a user if he/she has one (bug 406).
6149 o Fix up error code returns from Samba4 tester. Ensure invalid
6150 paths are validated the same way.
6151 o Allow Samba3 to pass the Samba4 RAW-READ tests.
6152 o Refuse to configure if --with-expsam=$BACKEND was used but no
6153 libraries were found for $BACKEND.
6154 o Move sysquotas autoconf tests to a separate file.
6155 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
6157 o Make sure that the files that contain the static_init_$subsystem;
6158 macro get recompiled after configure by removing the object
6160 o Ensure canceling a blocking lock returns the correct error
6162 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
6163 o Updated Japanese welcome file in SWAT.
6164 o Fix to nt-time <-> unix-time functions reversible.
6165 o Ensure that winbindd uses the the escaped DN when querying
6167 o Fix portability issues when compiling (bug 505, 550)
6168 o Compile fix for tdbbackup when Samba needs to override
6169 non-C99 compliant implementations of snprintf().
6170 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
6171 o Make sure we break out of samsync loop on error.
6172 o Ensure error code path doesn't free unmalloc()'d memory
6174 o Add configure test for krb5_keytab_entry keyblock vs key
6177 o Modified testparm so that all output so all debug output goes
6178 to stderr, and all file processing goes to stdout.
6179 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
6181 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
6182 we have a devmode before copying a string to the devicename.
6183 o Support mapping REALM.COM\user to a local user account (without
6184 running winbindd) for compatibility with 2.2.x release.
6185 o Ensure we don't use mmap() on blacklisted systems.
6186 o fixed a number of bugs and memory leaks in the AIX
6188 o Call initgroups() in SWAT before becomming the user so that
6189 secondary group permissions can be used when writing to
6191 o Fix signing problems when reverse connecting back to a
6192 client for printer notify
6193 o Fix signing problems caused by a miss-sequence bug.
6194 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
6195 Fixes NEXUS tools running on Win9x clients (bug 64).
6196 o Don't leave the domain field uninitialized in cli_lsa.c if some
6197 SID could not be mapped.
6198 o Fix segfault in mount.cifs helper when there is no options
6199 specified during mount.
6200 o Change the \n after the password prompt to go to tty instead
6201 of stdout (bug 668).
6202 o Stop net -P from prompting for machine account password (bug 451).
6203 o Change in behavior to Not only change the effective uid but also
6204 the real uid when becoming unprivileged.
6205 o Cope with Exchange 5.5 cleartext pop password auth.
6206 o New files for support of initshutdown pipe. Win2k doesn't
6207 respond properly to all requests on the winreg pipe, so we need
6208 to handle this new pipe (bug 534).
6209 o Added more va_copy() checks in configure.in.
6210 o Include fixes for libsmbclient build problems.
6211 o Missing UNIX -> DOS codepage conversion in lanman.c.
6212 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
6213 o Parameterize the listen backlog in smbd and make it larger by
6214 default. A backlog of 5 is way too small these days.
6215 o Check for an invalid fid before dereferencing the fsp pointer
6217 o Remove invalid memory frees and return codes in pdb_ldap.c.
6218 o Prompt for password when invoking --set-auth-user and no
6220 o Bind the nmbd sending socket to the 'socket address'.
6221 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
6222 $LDFLAGS occurs before any library specification (bug 661).
6223 o Fix large number of printf() calls for 64-bit size_t.
6224 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
6225 keyblock in the krb5 structs.
6226 o Remove #include <compat.h> in hopes to avoid problems with
6227 apache header files.
6228 o Correct winbindd build problems on HP-UX 11.
6229 o Lowercase netgroups lookups (bug 703).
6230 o Use the actual size of the buffer in strftime instead of a made
6231 up value which just happens to be less than sizeof(fstring).
6233 o Add ldaplibs to pdbedit link line (bug 651).
6234 o Fix crash bug in smbclient completion (bug 659).
6235 o Fix packet length for browse list reply (bug 771).
6236 o Fix coredump in cli_get_backup_list().
6237 o Make sure that we expand %N (bug 612).
6238 o Allow rpcclient adddriver command to specify printer driver
6240 o Compile tdbdump by default.
6241 o Apply patches to fix iconv detection for FreeBSD.
6242 o Do not allow the 'guest account' to be added to a passdb backend
6243 using smbpasswd or pdbedit (bug 624).
6244 o Save LDFLAGS during iconv detection (bug 57).
6245 o Run krb5 logins through the username map if the winbindd
6246 lookup fails (bug 698).
6247 o Add const for lp_set_name_resolve_order() to avoid compiler
6249 o Add support for the %i macro in smb.conf to stand in for the for
6250 the local IP address to which a client connected.
6251 o Allow winbindd to match local accounts to domain SID when
6252 'winbind trusted domains only = yes' (bug 680).
6253 o Remove code in idmap_ldap that searches the user suffix and group
6254 suffix. It's not needed and provides inconsistent functionality
6255 from the tdb backend.
6256 o Patch to handle munged dial string for Windows 2000 TSE.
6257 Thanks to Gaz de France, Direction de la Recherche, Service
6258 Informatique Métier for their supporting this work by Aurelien
6259 Degrémont <adegremont@idealx.com>.
6260 o Correct the "smbldap_open: cannot access when not root error"
6261 messages when looking up group information (bug 281).
6262 o Skip over the winbind separator when looking up a user.
6263 This fixes the bug that prevented local users from
6264 matching an AD user when not running winbindd (bug 698).
6265 o Fix a problem with configure on *BSD systems. Make sure
6266 we add -liconv etc to LDFLAGS.
6267 o Fix core dump bug when "security = server" and the authentication
6269 o Correct crash bug due to an empty munged dial string.
6270 o Show files locked by a specific user (smbstatus -u 'user')
6272 o Fix bug preventing print jobs from display in the queue
6273 monitor used by Windows NT and later clients (bug 660).
6274 o Fix several reported problems with point-n-print from
6275 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
6276 reply (bug 338, 527 & 643).
6277 o Fix a handful of potential memory leaks in the LDAP code used
6278 by ldapsam[_compat] and the LDAP idmap backend.
6279 o Fix for pdbedit error code returns (bug 763).
6280 o Make sure we only enumerate group mapping entries (not
6281 /etc/group) even when doing local aliases.
6282 o Relax check on the pipe name in a dce/rpc bind response to work
6283 around issues with establishing trusts to a Windows 2003 domain.
6284 o Ensure we mangle names ending in '.' in hash2 mangling method.
6285 o Correct parsing issues with munged dial string.
6286 o Fix bugs in quota support for XFS.
6287 o Add a cleaner method for applications that need to provide
6288 name->SID mappings to do this via NSS rather than having to
6289 know the winbindd pipe protocol.
6290 o Adds a variant of the winbindd_getgroups() call called
6291 winbindd_getusersids() that provides direct SID->SIDs listing of
6292 a users supplementary groups. This is enough to allow non-Samba
6293 applications to do ACL checking.
6294 o Make sure we don't append the 'ldap suffix' when writing out the
6295 'ldap XXX suffix' values in SWAT (bug 328).
6296 o Fix renames across file systems.
6297 o Ensure that items in a list of strings containing whitespace are
6298 written out surrounded by single quotes. This means that both
6299 double and single quotes are now used to surround strings in
6301 o Enable SWAT to correctly determine if winbindd is running (bug
6303 o Include WWW-Authenticate field in 401 response for bad auth
6305 o Add support for NTLM2 (NTLMv2 session security).
6306 o Add support for variable-length session keys.
6307 o More privilege fixes for group enumeration in LDAP (bug 281).
6308 o Use the dns name (or IP) as the originating client name when
6309 using CUPS (bug 467).
6310 o Fix various SMB signing bugs.
6311 o Fix ACL propagation on a DFS root (bug 263).
6312 o Disable NTLM2 for RPC pipes.
6313 o Allow the client to specify the NTLM2 flags got NTLMSSP
6315 o Change the name of the job passed off to cups from "Test Page"
6316 to "smbprn.00000033 Test Page" so that we can get the smb
6317 jobid back. This allow users to delete jobs with cups printing
6318 backend (partial work on bug 770).
6319 o Fix build of winbindd with static pdb modules.
6320 o Retrieve the correct ACL group bits if the file has an ACL
6322 o Implement "net rpc group members": Get members of a domain group
6323 in human-readable format.
6324 o Add MacOSX (Darwin) specific charset module code.
6325 o Use samr_dispinfo(level == 1) for enumerating domain users so we
6326 can include the full name in gecos field (bug 587).
6327 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
6328 o Implement 'net rpc group list [global|local|builtin]*' for a
6329 select listing of the respective user databases.
6330 o Don't automatically set NT status code flag unless client tells
6332 o Add 'net status [sessions|shares] [parseable]'.
6333 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
6335 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
6337 o Fix inverted logic in hosts allow/deny checks caused by
6338 s/strcmp/strequal/ (bug 846).
6339 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
6340 o Fix typo in 'hash' mangling algorithm.
6341 o Support munged dial for ldapsam (bug 800).
6342 o Fix process_incoming_data() to return the number of bytes handled
6343 this call whether we have a complete PDU or not; fixes bug
6344 with multiple PDU request rpc's broken over SMBwriteX calls
6346 o Fix incorrect smb flags2 for connections to pre-NT servers
6347 (causes smbclient to fail to OS2 for example) (bug 821).
6348 o Update version string in smbldap-tools Makefile to 0.8.2.
6349 o Correct a problem with "net rpc vampire" mis-parsing the
6350 alias member info reply.
6351 o Ensure the ${libdir} is created by the installclientlib script.
6352 o Fix detection of Windows 2003 client architecture in the smb.conf
6354 o Ensure that smbd calls the add user script for a missing UNIX
6355 user on Kerberos auth call (bug 445).
6356 o Fix bugs in hosts allow/deny when using a mismatched
6357 network/netmask pair.
6358 o Protect alloc_sub_basic() from crashing when the source string
6359 is NULL (partial work on bug 687).
6360 o Fix spinlocks on IRIX.
6361 o Corrected some bad destination paths when running "configure
6363 o Add packaging files for Fedora Core 1.
6364 o Correct bug in SWAT install script for non-english languages.
6365 o Support character set ISO-8859-1 internally (bug 558).
6366 o Fixed more LDAP access errors when looking up group mappings
6368 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
6369 resolution to fail on local files on on domain members
6371 o Fix uninitialized variable in passdb.c.
6372 o Fix formal parameter type in get_static() in nsswitch/wins.c.
6373 o Fix problem mounting directories when mount.cifs is installed
6374 with the setuid bit on.
6375 o Fix bug that prevent --mandir from overriding the defaults
6376 given in the --with-fhs macro.
6377 o Fix bug in in-memory Kerberos keytab detection routines
6382 ######################################################################
6384 The original 3.0.0 release notes follow
6385 =======================================
6386 WHATS NEW IN Samba 3.0.0
6388 =======================================
6394 1) Active Directory support. Samba 3.0 is now able to
6395 join a ADS realm as a member server and authenticate
6396 users using LDAP/Kerberos.
6398 2) Unicode support. Samba will now negotiate UNICODE on the wire
6399 and internally there is now a much better infrastructure for
6400 multi-byte and UNICODE character sets.
6402 3) New authentication system. The internal authentication system
6403 has been almost completely rewritten. Most of the changes are
6404 internal, but the new auth system is also very configurable.
6406 4) New default filename mangling system.
6408 5) A new "net" command has been added. It is somewhat similar to
6409 the "net" command in windows. Eventually we plan to replace
6410 numerous other utilities (such as smbpasswd) with subcommands
6413 6) Samba now negotiates NT-style status32 codes on the wire. This
6414 improves error handling a lot.
6416 7) Better Windows 2000/XP/2003 printing support including publishing
6417 printer attributes in active directory.
6419 8) New loadable module support for passdb backends and character
6422 9) New default dual-daemon winbindd support for better performance.
6424 10) Support for migrating from a Windows NT 4.0 domain to a Samba
6425 domain and maintaining user, group and domain SIDs.
6427 11) Support for establishing trust relationships with Windows NT 4.0
6430 12) Initial support for a distributed Winbind architecture using
6431 an LDAP directory for storing SID to uid/gid mappings.
6433 13) Major updates to the Samba documentation tree.
6435 14) Full support for client and server SMB signing to ensure
6436 compatibility with default Windows 2003 security settings.
6438 15) Improvement of ACL mapping features based on code donated by
6439 Andreas Grünbacher.
6442 Plus lots of other improvements!
6445 Additional Documentation
6446 ------------------------
6448 Please refer to Samba documentation tree (included in the docs/
6449 subdirectory) for extensive explanations of installing, configuring
6450 and maintaining Samba 3.0 servers and clients. It is advised to
6451 begin with the Samba-HOWTO-Collection for overviews and specific
6452 tasks (the current book is up to approximately 400 pages) and to
6453 refer to the various man pages for information on individual options.
6455 We are very glad to be able to include the second edition of
6456 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
6457 (O'Reilly & Associates) in this release. The book is available
6458 on-line at http://samba.org/samba/docs/ and is included with
6459 the Samba Web Administration Tool (SWAT). Thanks to the authors and
6460 publisher for making "Using Samba" under the GNU Free Documentation
6464 ######################################################################
6465 Upgrading from a previous Samba 3.0 beta
6466 ########################################
6468 Beginning with Samba 3.0.0beta3, the RID allocation functions
6469 have been moved into winbindd. Previously these were handled
6470 by each passdb backend. This means that winbindd must be running
6471 to automatically allocate RIDs for users and/or groups. Otherwise,
6472 smbd will use the 2.2 algorithm for generating new RIDs.
6474 If you are using 'passdb backend = tdbsam' with a previous Samba
6475 3.0 beta release (or possibly alpha), it may be necessary to
6476 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
6477 to winbindd_idmap.tdb. To do this:
6479 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
6481 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
6483 3) run: (note that 'tdb>' is the tool's prompt for input)
6485 root# ./tdbtool /usr/local/samba/private/passdb.tdb
6486 tdb> show RID_COUNTER
6490 [000] 0A 52 00 00 .R.
6492 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
6496 If you are using 'passdb backend = ldapsam', it will be necessary to
6497 store idmap entries in the LDAP directory as well (i.e. idmap backend
6498 = ldap). Refer to the 'net idmap' command for more information on
6499 migrating SID<->UNIX id mappings from one backend to another.
6501 If the RID_COUNTER record does not exist, then these instructions are
6502 unneccessary and the new RID_COUNTER record will be correctly generated
6507 ########################
6508 Upgrading from Samba 2.2
6509 ########################
6511 This section is provided to help administrators understand the details
6512 involved with upgrading a Samba 2.2 server to Samba 3.0.
6518 Many of the options to the GNU autoconf script have been modified
6519 in the 3.0 release. The most noticeable are:
6521 * removal of --with-tdbsam (is now included by default; see section
6522 on passdb backends and authentication for more details)
6524 * --with-ldapsam is now on used to provided backward compatible
6525 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
6526 backend and authentication section for more details
6528 * inclusion of non-standard passdb modules may be enabled using
6529 --with-expsam. This includes an XML backend and a mysql backend.
6531 * removal of --with-msdfs (is now enabled by default)
6533 * removal of --with-ssl (no longer supported)
6535 * --with-utmp now defaults to 'yes' on supported systems
6537 * --with-sendfile-support is now enabled by default on supported
6544 This section contains a brief listing of changes to smb.conf options
6545 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
6546 complete descriptions of new or modified parameters.
6548 Removed Parameters (order alphabetically):
6551 * alternate permissions
6554 * code page directory
6556 * domain admin group
6557 * domain guest group
6558 * force unknown acl user
6564 * printer driver file
6565 * printer driver location
6567 * source environment
6575 New Parameters (new parameters have been grouped by function):
6579 * abort shutdown script
6582 User and Group Account Management
6583 ---------------------------------
6585 * add machine script
6586 * add user to group script
6587 * algorithmic rid base
6588 * delete group script
6589 * delete user from group script
6591 * set primary group script
6597 * passwd chat timeout
6601 * client lanman auth
6602 * client NTLMv2 auth
6608 * paranoid server security
6617 * hide special files
6618 * hide unwriteable files
6620 * kernel change notify
6630 * max reported print jobs
6632 UNICODE and Character Sets
6633 --------------------------
6639 SID to uid/gid Mappings
6640 -----------------------
6644 * winbind enable local accounts
6645 * winbind trusted domains only
6646 * template primary group
6647 * enable rid algorithm
6654 * ldap machine suffix
6656 * ldap replication sleep
6659 General Configuration
6660 ---------------------
6664 Modified Parameters (changes in behavior):
6666 * encrypt passwords (enabled by default)
6667 * mangling method (set to 'hash2' by default)
6670 * restrict anonymous (integer value)
6671 * security (new 'ads' value)
6672 * strict locking (enabled by default)
6673 * unix extensions (enabled by default)
6674 * winbind cache time (increased to 5 minutes)
6675 * winbind uid (deprecated in favor of 'idmap uid')
6676 * winbind gid (deprecated in favor of 'idmap gid')
6682 This section contains brief descriptions of any new databases
6683 introduced in Samba 3.0. Please remember to backup your existing
6684 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
6685 upgrade databases as they are opened (if necessary), but downgrading
6686 from 3.0 to 2.2 is an unsupported path.
6688 Name Description Backup?
6689 ---- ----------- -------
6690 account_policy User policy settings yes
6691 gencache Generic caching db no
6692 group_mapping Mapping table from Windows yes
6693 groups/SID to unix groups
6694 winbindd_idmap ID map table from SIDS to UNIX yes
6696 namecache Name resolution cache entries no
6697 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
6698 returned as part of a successful
6699 net_sam_logon request
6700 printing/*.tdb Cached output from 'lpq no
6701 command' created on a per print
6703 registry Read-only samba registry skeleton no
6704 that provides support for exporting
6705 various db tables via the winreg RPCs
6711 The following issues are known changes in behavior between Samba 2.2 and
6712 Samba 3.0 that may affect certain installations of Samba.
6714 1) When operating as a member of a Windows domain, Samba 2.2 would
6715 map any users authenticated by the remote DC to the 'guest account'
6716 if a uid could not be obtained via the getpwnam() call. Samba 3.0
6717 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
6718 current work around to re-establish the 2.2 behavior.
6720 2) When adding machines to a Samba 2.2 controlled domain, the
6721 'add user script' was used to create the UNIX identity of the
6722 machine trust account. Samba 3.0 introduces a new 'add machine
6723 script' that must be specified for this purpose. Samba 3.0 will
6724 not fall back to using the 'add user script' in the absence of
6725 an 'add machine script'
6728 ######################################################################
6729 Passdb Backends and Authentication
6730 ##################################
6732 There have been a few new changes that Samba administrators should be
6733 aware of when moving to Samba 3.0.
6735 1) encrypted passwords have been enabled by default in order to
6736 inter-operate better with out-of-the-box Windows client
6737 installations. This does mean that either (a) a samba account
6738 must be created for each user, or (b) 'encrypt passwords = no'
6739 must be explicitly defined in smb.conf.
6741 2) Inclusion of new 'security = ads' option for integration
6742 with an Active Directory domain using the native Windows
6743 Kerberos 5 and LDAP protocols.
6745 MIT Kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
6746 type which is neccessary for servers on which the
6747 administrator password has not been changed, or Kerberos-enabled
6748 SMB connections to servers that require Kerberos SMB signing.
6749 Besides this one difference, either MIT or Heimdal Kerberos
6750 distributions are usable by Samba 3.0.
6753 Samba 3.0 also includes the possibility of setting up chains
6754 of authentication methods (auth methods) and account storage
6755 backends (passdb backend). Please refer to the smb.conf(5)
6756 man page for details. While both parameters assume sane default
6757 values, it is likely that you will need to understand what the
6758 values actually mean in order to ensure Samba operates correctly.
6760 The recommended passdb backends at this time are
6762 * smbpasswd - 2.2 compatible flat file format
6763 * tdbsam - attribute rich database intended as an smbpasswd
6764 replacement for stand alone servers
6765 * ldapsam - attribute rich account storage and retrieval
6766 backend utilizing an LDAP directory.
6767 * ldapsam_compat - a 2.2 backward compatible LDAP account
6770 Certain functions of the smbpasswd(8) tool have been split between the
6771 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
6772 utility. See the respective man pages for details.
6775 ######################################################################
6779 This section outlines the new features affecting Samba / LDAP
6785 A new object class (sambaSamAccount) has been introduced to replace
6786 the old sambaAccount. This change aids us in the renaming of
6787 attributes to prevent clashes with attributes from other vendors.
6788 There is a conversion script (examples/LDAP/convertSambaAccount) to
6789 modify and LDIF file to the new schema.
6793 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
6794 $ convertSambaAccount --sid=<Domain SID> \
6795 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
6796 --changetype=[modify|add]
6798 The <DOM SID> can be obtained by running 'net getlocalsid
6799 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
6800 the format of the generated LDIF output--either create new entries
6801 or modify existing entries.
6803 The old sambaAccount schema may still be used by specifying the
6804 "ldapsam_compat" passdb backend. However, the sambaAccount and
6805 associated attributes have been moved to the historical section of
6806 the schema file and must be uncommented before use if needed.
6807 The 2.2 object class declaration for a sambaAccount has not changed
6808 in the 3.0 samba.schema file.
6810 Other new object classes and their uses include:
6812 * sambaDomain - domain information used to allocate rids
6813 for users and groups as necessary. The attributes are added
6814 in 'ldap suffix' directory entry automatically if
6815 an idmap uid/gid range has been set and the 'ldapsam'
6816 passdb backend has been selected.
6818 * sambaGroupMapping - an object representing the
6819 relationship between a posixGroup and a Windows
6820 group/SID. These entries are stored in the 'ldap
6821 group suffix' and managed by the 'net groupmap' command.
6823 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
6824 automatically and contains the next available 'idmap uid' and
6827 * sambaIdmapEntry - object storing a mapping between a
6828 SID and a UNIX uid/gid. These objects are created by the
6829 idmap_ldap module as needed.
6831 * sambaSidEntry - object representing a SID alone, as a Structural
6832 class on which to build the sambaIdmapEntry.
6835 New Suffix for Searching
6836 ------------------------
6838 The following new smb.conf parameters have been added to aid in directing
6839 certain LDAP queries when 'passdb backend = ldapsam://...' has been
6842 * ldap suffix - used to search for user and computer accounts
6843 * ldap user suffix - used to store user accounts
6844 * ldap machine suffix - used to store machine trust accounts
6845 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
6846 * ldap idmap suffix - location of sambaIdmapEntry objects
6848 If an 'ldap suffix' is defined, it will be appended to all of the
6849 remaining sub-suffix parameters. In this case, the order of the suffix
6850 listings in smb.conf is important. Always place the 'ldap suffix' first
6853 Due to a limitation in Samba's smb.conf parsing, you should not surround
6854 the DN's with quotation marks.
6860 Samba 3.0 supports an ldap backend for the idmap subsystem. The
6861 following options would inform Samba that the idmap table should be
6862 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
6867 idmap backend = ldap:ldap://onterose/
6868 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
6869 idmap uid = 40000-50000
6870 idmap gid = 40000-50000
6872 This configuration allows winbind installations on multiple servers to
6873 share a uid/gid number space, thus avoiding the interoperability problems
6874 with NFS that were present in Samba 2.2.
6878 ######################################################################
6879 Trust Relationships and a Samba Domain
6880 ######################################
6882 Samba 3.0.0beta2 is able to utilize winbindd as the means of
6883 allocating uids and gids to trusted users and groups. More
6884 information regarding Samba's support for establishing trust
6885 relationships can be found in the Samba-HOWTO-Collection included
6886 in the docs/ directory of this release.
6888 First create your Samba PDC and ensure that everything is
6889 working correctly before moving on the trusts.
6891 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
6892 4.0 domain named WINDOWS:
6894 1) create the trust account for SAMBA in "User Manager for Domains"
6895 2) connect the trust from the Samba domain using
6896 'net rpc trustdom establish GLASS'
6898 To create a trustlationship with SAMBA as the trusted domain:
6900 1) create the initial trust account for GLASS using
6901 'smbpasswd -a -i GLASS'. You may need to create a UNIX
6902 account for GLASS$ prior to this step (depending on your
6903 local configuration).
6904 2) connect the trust from a WINDOWS DC using "User Manager
6907 Now join winbindd on the Samba PDC to the SAMBA domain using
6908 the normal steps for adding a Samba server to an NT4 domain:
6909 (note that smbd & nmbd must be running at this point)
6911 root# net rpc join -U root
6912 Password: <enter root password from smbpasswd file here>
6914 Start winbindd and test the join with 'wbinfo -t'.
6916 Now test the trust relationship by connecting to the SAMBA DC
6917 (e.g. POGO) as a user from the WINDOWS domain:
6919 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
6922 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
6924 $ smbclient //crystal/netlogon -U root -W WINDOWS
6927 ######################################################################
6931 Beginning with Samba3.0.0beta3, winbindd has been given new account
6932 manage functionality equivalent to the 'add user script' family of
6933 smb.conf parameters. The idmap design has also been changed to
6934 centralize control of foreign SID lookups and matching to UNIX
6938 Brief Description of Changes
6939 ----------------------------
6941 1) The sid_to_uid() family of functions (smbd/uid.c) have been
6942 reverted to the 2.2.x design. This means that when resolving a
6943 SID to a UID or similar mapping:
6945 a) First consult winbindd
6946 b) perform a local lookup only if winbindd fails to
6947 return a successful answer
6949 There are some variations to this, but these two rules generally
6952 2) All idmap lookups have been moved into winbindd. This means that
6953 a server must run winbindd (and support NSS) in order to achieve
6954 any mappings of SID to dynamically allocated UNIX ids. This was
6955 a conscious design choice.
6957 3) (OBSOLETE) New functions have been added to winbindd to emulate
6958 the 'add user script' family of smbd functions without requiring
6959 that external scripts be defined. This functionality is controlled
6960 by the 'winbind enable local accounts' smb.conf parameter (enabled
6963 However, this account management functionality is only supported
6964 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
6965 must be shared among multiple Samba servers (such as a PDC and BDCs),
6966 it will be necessary to define your own 'add user script', et. al.
6967 programs that place the accounts/groups in some form of directory
6968 such as NIS or LDAP. This requirement was deemed beyond the scope
6969 of winbind's account management functions. Solutions for
6970 distributing UNIX system information have been deployed and tested
6971 for many years. We saw no need to reinvent the wheel.
6973 4) A member of a Samba controlled domain running winbindd is now able
6974 to map domain users directly onto existing UNIX accounts while still
6975 automatically creating accounts for trusted users and groups. This
6976 behavior is controlled by the 'winbind trusted domains only' smb.conf
6977 parameter (disabled by default to provide 2.2.x winbind behavior).
6979 5) Group mapping support is wrapped in the local_XX_to_XX() functions
6980 in smbd/uid.c. The reason that group mappings are not included
6981 in winbindd is because the purpose of Samba's group map is to
6982 match any Windows SID with an existing UNIX group. These UNIX
6983 groups can be created by winbindd (see next section), but the
6984 SID<->gid mapping is retreived by smbd, not winbindd.
6990 * security = server running winbindd to allocate accounts on demand
6992 * Samba PDC running winbindd to handle the automatic creation of UNIX
6993 identities for machine trust accounts
6995 * Automtically creating UNIX user and groups when migrating a Windows NT
6996 4.0 PDC to a Samba PDC. Winbindd must be running when executing
6997 'net rpc vampire' for this to work.
7000 ######################################################################
7004 * There are several bugs currently logged against the 3.0 codebase
7005 that affect the use of NT 4.0 GUI domain management tools when run
7006 against a Samba 3.0 PDC. This bugs should be released in an early
7009 Please refer to https://bugzilla.samba.org/ for a current list of bugs
7010 filed against the Samba 3.0 codebase.
7013 ######################################################################
7014 Reporting bugs & Development Discussion
7015 #######################################
7017 Please discuss this release on the samba-technical mailing list or by
7018 joining the #samba-technical IRC channel on irc.freenode.net.
7020 If you do report problems then please try to send high quality
7021 feedback. If you don't provide vital information to help us track down
7022 the problem then you will probably be ignored.
7024 A new bugzilla installation has been established to help support the
7025 Samba 3.0 community of users. This server, located at
7026 https://bugzilla.samba.org/, has replaced the older jitterbug server
7027 previously located at http://bugs.samba.org/.