Samba Config File

How to install Samba on Raspberry Pi 3 with Raspbian Jessie Lite. conf file and add the following. It is a file sharing server. By Joey Prestia. For details, see Identity Mapping on a Samba Domain Controller. Install Samba Server in Ubuntu. conf? Or do I change some user name, when some folders and files of share work and some do not? I can see files from xp machine just not copy or open them on the xp machine. before configuration rename samba default configuration file /etc/samba/smb. conf file just below the one above. The configuration file is placed in /etc by default. They allow you to access a directory over a network from any device running virtually any software. sudo nano /etc/samba/smb. 7,1 and the file name is samba-3. CFG files found on Windows and Macintosh systems. There are other causes for Samba problems. io folders using Windows network shares. Table of Contents. On the Linux system allow SAMBA through any firewall -- for testing I'd switch firewalls off on BOTH Linux and Windows to get the thing working once SAMBA is up and running on the Linux side -- first create your smb. # Run 'testparm' to verify the config is correct after # you modified it. This configuration file is based on the 2. This user needs to already exist. Once samba is installed, you need to install ‘system-config-samba’. For example, if a machine with the name of johndesktop connected, a log file named log. Samba has a huge. Below my smb. You should read the # smb. Samba configuration files can be set anywhere your administrator want you to have them. The name Samba comes from SMB (Server Message Block), the name of the standard protocol used by the Microsoft Windows network file system. Although the default smb. How to install Samba on Ubuntu systems and share files with Windows 10. Here we can see how to install and configure samba using yum. The following documentation describes how to set up a Samba standalone server providing: a share that is accessible anonymously (guest access). It's called smb. x and in some distributions with samba-2. Install the Samba packages: yum groupinstall -y “file-server” yum install -y samba-client samba-winbind. 3 / centos 6. We will now guide you through the Samba network shares setup process. conf file contains the key elements for configuring your SAMBA server. The advantage of the &merge directive is that you can load config snippets that can be included into multiple module definitions, and you can also set global values that will affect connections (such as motd file), or globals that will affect other include files. This guide offers the procedure for Samba server configuration in CentOS 7 with anonymous and secured Samba servers. Samba is an open source project that is widely used on Linux and Unix computers so they can work with Windows file and print services. conf configuration file. There are a few ways to get around this. Add the directories to be shared and the users permissions too. conf file is divided into several sections. The location for the file is /etc/samba/smb. conf file, the main configuration file for Samba. Now if I double click the. %m # Cap the size of the individual log files (in KiB). CTDB and Samba. conf by default, Special Sections. You should read the # smb. I had been using Samba 4. This tutorial explains how to configure a Samba server on CentOS 7 with anonymous & secured samba shares. User and group IDs, are loaded from Active Directory (AD) or automatically generated locally. description. sys under it's Properties and Details is 'Longhorn SMB 2. In this tutorial, we will show how to install Samba on CentOS 7 and configure it as a standalone server to provide file sharing across different operating systems over a. Samba has a huge 3 # number of configurable options, most of which are not shown in this example. conf manpage. 24 kernel to get near write speeds by testing out the new Large Receive Offload kernel feature. sudo apt-get install samba samba-common-bin. Samba configuration is straightforward. conf file either directly or using an application. Samba setup is super easy, and great to use. For example, to give the user Ben access to his own folder, you'd add this to the configuration file:. How to restore NAS smb. But after it was mounted, that share was still visible to other users through the mount point. A CONF file is a configuration or "config" file used on Unix and Linux based systems. conf file on your UNIX/Linux system. Step 3: Samba Configuration. Using Samba, we can setup a domain controller on Unix/Linux server, and. To configure Samba, bring up the smb. conf file determines the amount of detailed information Samba writes to the log files, with level 0 being the most general and 10 being the most detailed. So Samba is able to provide this service by employing the Common Internet File System (CIFS). The configuration of a printer object. conf configuration file to allow the new user to browse the share: # vi /etc/samba/smb. conf and under the [global] section of your Samba config define the minimum version of the SMB protocol to use SMB 3. conf(5) manual page. # Run 'testparm' to verify the config is correct after # you modified it. How do I get the original configuration back? How do I get the original configuration back? ubuntu debian samba package-management config-files. To automatically recover the changes at every reboot, you would have to edit the autorun. This tutorial guides you on how to install and configure Samba, to enable file sharing between Ubuntu and Windows. This means that SWAT can be depended upon to provide fully current parameter handling and optimization. This is actually done to prevent accidental damage (it’s easy in Windows Explorer to move a directory from one place to the other by accident). I can connect to it perfectly fine with SSH etc, but SAMBA/windows (10) isn't having it. conf by default, uses the same format as Windows. Be careful when setting up port forwarding for remote access. But, before configuring samba, I suggest you to take a backup of the default file like this. Guide Overview The purpose of this guide is to teach novice Linux users how to set up a samba share on their home network, so that they can. A Comparison Between the Samba 3 and Likewise Lwiod SMB File Servers September 20, 2010 Configuration. If you run samba with this configuration file, the windows machines on your local network will be able to see, in their network neighborhood, that a machine called (your linux box name) shares a temp directory in which you are allowed to write. If you have configured CUPS to restrict printing to certain users on your system, you must allow the "smbprint" user to access printers you want to share. Next, edit your Samba configuration file (smb. Configure the Samba share in the /etc/samba/smb. This brief tutorial shows you how to easily install and configure Samba file sharing on Ubuntu 14. Once the new Samba configuration file is pasted, we restart Samba. Example: Create the Samba smb. Step 3: Samba Configuration. and add the following to the end of the file:. Windows already has a file and printers sharing protocol enabled. Samba is a very mature and complex package, so its configuration file can be long and complicated. 6 kernels and some distributions have it in their 2. \n# This will overwrite any \. When one of the Samba daemons is launched, Basic Server. Preparation. x to share files and printers with Windows computers in this Linux tutorial presented by IT author and speaker Don R. Samba is a opensource tool that can help you to share the files and printer across cross platforms including Linux, Windows, and Mac over a network. conf-example 3. before configuration rename samba default configuration file /etc/samba/smb. SAMBA is a free and open source implementation of the SMB/CIFS (Server Message Block/Common Internet File System) by MicroSoft that was started in 1992. $ sudo apt install tasksel $ sudo tasksel install samba-server Configuration We will be starting with a fresh clean configuration file, while we also keep the default config file as a backup for reference purposes. Popular servers such as Samba, Windows 2000, Windows XP and many others support CIFS by default. See a step-by-step demonstration of how to configure a Linux file. It is an ASCII file containing one line for each user. The advantage of the &merge directive is that you can load config snippets that can be included into multiple module definitions, and you can also set global values that will affect connections (such as motd file), or globals that will affect other include files. You can set valid users = any to make check if there are errors or not. Install and configure Samba to share files across a network. conf Load smb config files from /etc/samba/smb. Then I used samba-tool domain join to add it as an additional domain controller. Instead of hacking around yourself you can have a. Restart samba to use the new configuration file. Check the following 2 things: 1- Worth checking your samba configuration: sudo pluma /etc/samba/smb. When it opens, paste the command below and hit run: sudo apt-get install samba samba-common system-config-samba python-glade2 gksu. Default Samba Configuration The main Samba configuration file is called /etc/samba/smb. conf Search for the. i am new to BSD. It very clearly says not to do this in the comments section within smb. testparm is a very simple test program to check an smbd(8) configuration file for internal correctness. conf easy to create and modify. How do I get the original configuration back? How do I get the original configuration back? ubuntu debian samba package-management config-files. Macs won’t be left out, either, as a matter of fact, and everyone can rest easy knowing that it’s simple to manage. With Samba activated you can quickly copy files from a computer on your network to a Raspberry using wireless LAN (or a direct Ethernet connection). I've got to the stage of editing the config file: Our next stop is to turn o. Guide Overview The purpose of this guide is to teach novice Linux users how to set up a samba share on their home network, so that they can. Today, we’re going to set up Samba file sharing in the Raspberry Pi to manage folders and files from another computer. RE: howto save Running Config File from CLI ? I know this is an older thread, but wanted to come back with some updated information for anyone searching. How to manage user security in Samba. Today’s topic is going to cover the Samba client setup and your ability to mount your Windows shares (Windows 8 included) on your Ubuntu desktop. conf(5) manual page. Both are used to share files among Linux file-systems. # nano /etc/samba/smb. For example, if a machine with the name of johndesktop connected, a log file named log. Did you think about using openHABian? It includes all tools useful for openHAB, including a fully working samba configuration. Install And Configure Samba File Sharing In Ubuntu 16. conf The files in the samba share is not view able in. You should run testparm on your configuration file after making changes. This add-on allows you to set up a Samba server to access Hass. How to restore NAS smb. 5, and also 10. To configure Samba, bring up the smb. So for example, if you are used to setting the "Security Authentication Mode" to "Share" or "Server" samba will not run so be careful with this thing. 9 I solved it by copying the content of DC01 and pasted it in a new smb. This tutorial guides you on how to install and configure Samba, to enable file sharing between Ubuntu and Windows. conf) Samba configuration on a Linux (or other UNIX machine) is controlled by a single file, /etc/smb. log file = /var/log/log%m - Tells Samba to create log files for each machine that connects in the var/log/ directory. conf config file, let's make a backup of the original configuration file and extract a current configuration relevant lines to a new smb. conf Enter the following configuration there: [global] workgroup = smb security = share share modes = yes [homes] comment = Home Directories browsable = no read only = no create mode = 0750 [public] path = /media/storage/ public = yes writable = yes comment = smb share printable = no guest ok = yes With this configuration, you will get a share named public. Once all that is done, start the daemon using the init program (under /etc/init. *)?" sudo restorecon -R -v /srv/shared/ Now run the following command to add the directory and configure the sharing permissions. ​Creating a copy of the file in the same folder as the original file. Test the smb. conf config file: # This is the main Samba configuration file. The Samba config file, located at /etc/samba/smb. This tutorial explains how to configure a Samba server on CentOS 7 with anonymous & secured samba shares. Just a word of warning, be sure to understand the implications of using these techniques before rolling them out into a production environment. If this scares you, make a backup of smb. ” Provides file and print sharing for Windows clients from Linux servers. Note: make sure the smbd daemon is not running before editing the configuration file: $ vi /etc/samba/smb. The following is a minimal configuration for a Samba standalone server:. Samba is a free/open source and popularly used software for sharing files and print services between Unix-like systems including Linux and Windows hosts on the same network. conf your want to edit the load method tries to determine the smb. They allow you to access a directory over a network from any device running virtually any software. level' to TRACE to show Log4j2 internal initialization logging. conf and is divided into sections enclosed into brackets [ and ]. conf Load smb config files from /etc/samba/smb. 4 # 5 # The Official Samba 3. Looking at the configuration file. In that file, see if the options “usershare owner only = false” and “usershare allow guests = yes” exist. Windows is a member of the domain. It can be run on a UNIX-like platform like AIX, BSD UNIX, Linux, IBM 390 and OpenVMS. If the global zone is being used for Samba. conf located in /etc/samba/smb. Once Samba is installed, it is time to start configuring. We've got samba installed, but now we'll need to configure it to make it accessible. \n# This will overwrite any \. Use testparm to show your updated share. samba configure on aix. For file sharing, we shall to CIFS/SMB also known as windows file sharing protocol implementation on Raspberry Pi. conf configuration file for internal correctness. Configure Samba with YaST, or by editing the configuration file manually. This configuration file is based on the 2. conf(5) manual page in order to understand the options listed # here. I also found another config file in /usr/share/samba/smb. Also is there a way for me to set up my samba as a domain controller? basically when i got to System - Computer name and try to change the domain name + workgroup to the one in the samba config file it successfully shows the username/password prompt which would usually be root + password but this does not work here. Where is smb. Use testparm to show your updated share. Repeat this step and add Samba Client, and Netbios Server. This configuration file is divided into sections, each beginning with text surrounded by square brackets. conf, but the shared folder is not listed there. It is not difficult, just be careful with typos. Follow the below. Hello Linux-fanatics , in earlier tutorials about file sharing we discussed about NFS & VSFTP. Sharing an entire drive on Mac OS X using SharePoints While enabling Windows Sharing gives you access to the enabled accounts listed in the Services tab, the Mac OS X GUI limits further more advanced configuration. The openHAB VS Code Extension software does also depend on a mounted share to access the openHAB configuration files. Configuration Group policies Configuration and tuning reference Network information service Reporting Auditing Samba SAP Additional tools and topics. Once all that is done, start the daemon using the init program (under /etc/init. conf file and it worksbut it's not quite there yet. To automatically recover the changes at every reboot, you would have to edit the autorun. Samba Server Configuration in terminal. Subclasses Config::Tiny DEVELOPER RELEASE! BE WARNED - Not yet complete and neither are the docs!. Samba configuration is covered in the BusinessObjects XI Release 2 Pattern Book for Linux under the File Sharing Setup section. You should read the # smb. However, settings in the other sections in the configuration file may override the global settings. Both are used to share files among Linux file-systems. The '''Samba Windows File Sharing''' page explains the SMB protocol (often referred to as '''CIFS''' - Common Internet File System) via which Windows systems share files, and explains how to set up the '''Samba''' program to make files on your Unix server available to Windows clients. conf from backup. The main Samba configuration file called smb. With Samba you can even connect that Linux machine to a Windows Domain. That way if something happens to DNS you can still resolve out to it. # This is the main Samba configuration file. Whilst the loss of system-config-samba may be mourned by those who relied on it, the tool’s simplicity actually masked many of the more advanced features of Samba. Configuring Single Sign-On for Virtual Machines Configuring single sign-on, also known as password delegation, allows you to automatically log in to a virtual machine using the credentials you use to log in to the VM Portal. For these reasons, Samba is the preferred solution for a file server in networks where different operating systems (other than Linux) coexist - the most common setup being the case of multiple Microsoft Windows clients accessing a Linux server where Samba is installed, which is the situation we are going to deal with in this article. Looking at the configuration file. conf first:. I upgraded to Windows 10. Now it is a good idea to add your domain controller to your /etc/hosts file. jCIFS Has Moved! posted by Mike, October 20, 2018 This is the new official home page of the original jCIFS library. Before making changes to the Samba configuration file, create a backup for future reference purposes: sudo cp /etc/samba/smb. Web sites can be served using PHP scripts stored in a different machine than the actual Web server machine. I installed Samba by following a tutorial in Create,Modify,Delete samba shares with system-config-samba(GUI) in Ubuntu Linux. conf File Configuring the smb. Just a word of warning, be sure to understand the implications of using these techniques before rolling them out into a production environment. See a step-by-step demonstration of how to configure a Linux file. change the name of the directory. Plus you do not have to setup Unix/Linux accounts on the server for a user to gain access. This guide offers the procedure for Samba server configuration in CentOS 7 with anonymous and secured Samba servers. This configuration file can be very simple or extremely complex, and the rest of this book is devoted to helping you get deeply personal with this file. 23 queries ===== 1. conf [share1] comment = A Shared Directory path = /var/tmp/sharedir valid users = anthony john public = no writable = yes. Follow the steps below to fix it: Copy the backup config file. For debugging problems with Samba in general, the log files log. Brick: The brick is a disk partition with XFS file system that has been assigned to a Volume. Because of it's age system-config-samba allows the user to set certain parameters that were current in Version 2 or 3 of Samba but in Samba 4 will actually disable samba from running. conf file from the /etc/samba directory on the primary cluster server to the mount point directory /mnt/smbvol44 that you created in Step 2. security = user passdb backend = tdbsam # ———————– Domain Members Options ———————— # # Security must be set to domain or ads # # Use the realm option only with security = ads # Specifies the Active Directory realm the host is part of # # Backend to store user information. The next step is to edit the /etc/samba/smb. Solaris 11 Samba / ZFS Configuration The following is a summary detailing step-by-step how to setup Solaris 11 as an active directory integrated file server using Samba and ZFS. Do not restart the Samba server yet. before configuration rename samba default configuration file /etc/samba/smb. Samba Configuration: These instruction are for configuring a "Unix, Linux" operating system with "Webmin" to allow "Windows95, 98, NT, 2000, XP" access to share folders on a "Unix, Linux" computers. conf configuration file for internal correctness. I'm attempting to set up a NAS using samba on my raspberry pi, running raspbmc. right now im trying to setup a file server Apparently i having problem to configure samba and how to run it without. To do that, run the commands below. Macs won’t be left out, either, as a matter of fact, and everyone can rest easy knowing that it’s simple to manage. 7 version of Samba and assumes that you are using your existing Samba server, as provided with your host computer's Linux distribution. This configuration file is based on the 2. You should run testparm on your configuration file after making changes. conf? Or do I change some user name, when some folders and files of share work and some do not? I can see files from xp machine just not copy or open them on the xp machine. conf file is well documented, it does not address complex topics such as LDAP, Active Directory, and the numerous domain controller implementations. Creating Samba Config File. Do you know where are located configuration files for AFP and Samba sharing in 10. In this tutorial, we will show how to install Samba on CentOS 7 and configure it as a standalone server to provide file sharing across different operating systems over a. In order to make them available to Linux, you can mount a Windows Share instead of to copy them. Be careful when setting up port forwarding for remote access. Once all that is done, start the daemon using the init program (under /etc/init. io configuration folders on the Pi for network access. 3 Hostname : sambaserver. : path for the config file: smbd -b|grep smb. About this Guide; 2. System-config-samba is a GUI for managing samba shares and users. yum install samba samba-client samba-common. The reason is that samba is trying to become the 'blaine' user in order to print, but it can't find that user in its own database. Click on a list name to get more information about the list, or to subscribe, unsubscribe, and change the preferences on your subscription. However, after you've configured the Files section and the global section, restarting Samba makes the changes take effect immediately. version([version]) Set or get the version of this smb. These are the options that are set by the Preferences→Server Settings command in the GNOME Samba Server Configuration program. In this lab, you will install and do basic configuration of Samba and FTP services. Where is smb. Scenario In this tutorial, i use two systems as described below Samba server: Operating system : CentOS 6. conf in nano. conf as backup using below command. conf and it is located in this directory. i log on and modify the file smb. This guide explains how to configure samba server in Ubuntu 16. Samba is an open-source software suite that runs on Unix/Linux based platforms but is able to communicate with Windows clients like a native application. This is another article discuss on testing samba configuration file. How to install Samba on Ubuntu systems and share files with Windows 10. On a Samba DC, only the winbind template mode is. Now that you’ve gotten your feet wet with variables, Configuration File Options. I upgraded to Windows 10. Now, we will discuss SAMBA server installation & configuration. Linux Samba Configuration This article provides an introduction to Samba configuration on Linux, with specific reference to the information needed for the RHCE EX300 certification exam. Today, we’re going to set up Samba file sharing in the Raspberry Pi to manage folders and files from another computer. A successful test only means that Samba will load the configuration file. But, before configuring samba, I suggest you to take a backup of the default file like this. : path for the config file: smbd -b|grep smb. Samba Vulnerability CVE-2017-7494 Posted by Jimmy Graham in Security Labs on May 26, 2017 1:32 PM On Wednesday, the Samba Team patched a vulnerability that exists in all versions of Samba including and after version 3. Info: When Samba is restarted this way, the file /etc/samba/smb. A Samba password, which must first be obtained by clicking on the Samba Access link on the respective system's Webtools page below. If you run samba with this configuration file, the windows machines on your local network will be able to see, in their network neighborhood, that a machine called (your linux box name) shares a temp directory in which you are allowed to write. conf main samba configuration files. Although the default smb. If your client doesn't show your share automatically, try to access your server by its IP address, e. Samba periodically scans the /etc/smb. [[email protected] ~]# vi /etc/samba/smb. This is possible by setting the "dcerpc endpoint servers = -dnsserver" in Samba's configuration file; a service restart is required. You can create a samba share on your Raspberry Pi and make it available to Windows, Mac OSX and Linux machines. Log in as a regular user. The following is a summary detailing step-by-step how to setup Solaris 11 as an active directory integrated file server using Samba and ZFS. In this lab, you will install and do basic configuration of Samba and FTP services. Follow the steps below to fix it: Copy the backup config file. Here we will set a samba PDC machine with domain name lap. Now you have to recreate the configuration file by copying inside it the newly built text: $ rm /etc/config/smb. With Samba activated you can quickly copy files from a computer on your network to a Raspberry using wireless LAN (or a direct Ethernet connection). If you want just a public shared, use preferences -> server configuration -> security -> authentication mode = shared. ” Samba is freely available, unlike other SMB/CIFS implementations, and allows for interoperability between Linux/Unix servers and Windows-based clients. conf file just below the one above. The Samba Configuration File Basic Syntax and Rules. Samba servers support Windows, Linux, and Unix integration systems, making it possible to share files or use printers on any operating system. Samba is a program that runs on Linux and allows seamless interaction between the Linux and Windows operating systems. It is not difficult, just be careful with typos. org) is an Open Source/Free Software suite that has, provided file services to all manner of SMB/CIFS clients. I've got to the stage of editing the config file: Our next stop is to turn o. This post will cover installing and basic configuration of apache-tomcat-7. conf: # echo -e "\n# Workaround for CVE-2017-12150. Any changes to these files not made using the application are preserved. Now, we will discuss SAMBA server installation & configuration. Introduction. In a nutshell, this configuration file sets up basic debug logging in a default log file not to exceed 1MB, optimizes TCP/IP socket connections between the Samba server and any SMB clients, and allows Samba to create a disk share for each user that has a standard Unix account on the server. To be able to change the original samba file configuration, it is a wise decision if the step executed for the first time is backup the original file by duplicating it into another file. For example, this is a useful /etc/rsyncd. Open the smb. x HOWTO and Reference Guide contains step-by-step. Procedures All commands must be done as root (precede each command with 'sudo' or use 'sudo su'). Ideas? PROBLEM SOLVED. First we'll need to install Samba if it isn't already using your preferred package management system. Samba configuration User administration How to create users. To begin with, set the workgroup, which by default is set as “MYGROUP”:. conf file directly. There are two types of files in focus: flat files and trivial database files. Learn how to share resources and access shared resources in Samba network. The complete description of the file format and possible parameters held within are here for reference purposes. Samba will run on nearly any Unix-like system and can be found in the repositories of just about every Linux distribution. The former authentication configuration was like this: # security = user (is the default) # Blecch, PAM can't deal with encrypted passwords. Scenario In this tutorial, i use two systems as described below Samba server: Operating system : CentOS 6. It stores settings used to configure system processes and applications. conf file is well documented, it does not address complex topics such as LDAP, Active Directory, and the numerous domain controller implementations. config but when i reboot the nas or i restart the samba with the smb. For detailed information about the # options listed here, refer to the smb. The fact-checkers, whose work is more and more important for those who prefer facts over lies, police the line between fact and falsehood on a day-to-day basis, and do a great job. Today, my small contribution is to pass along a very good overview that reflects on one of Trump’s favorite overarching falsehoods. Namely: Trump describes an America in which everything was going down the tubes under  Obama, which is why we needed Trump to make America great again. And he claims that this project has come to fruition, with America setting records for prosperity under his leadership and guidance. “Obama bad; Trump good” is pretty much his analysis in all areas and measurement of U.S. activity, especially economically. Even if this were true, it would reflect poorly on Trump’s character, but it has the added problem of being false, a big lie made up of many small ones. Personally, I don’t assume that all economic measurements directly reflect the leadership of whoever occupies the Oval Office, nor am I smart enough to figure out what causes what in the economy. But the idea that presidents get the credit or the blame for the economy during their tenure is a political fact of life. Trump, in his adorable, immodest mendacity, not only claims credit for everything good that happens in the economy, but tells people, literally and specifically, that they have to vote for him even if they hate him, because without his guidance, their 401(k) accounts “will go down the tubes.” That would be offensive even if it were true, but it is utterly false. The stock market has been on a 10-year run of steady gains that began in 2009, the year Barack Obama was inaugurated. But why would anyone care about that? It’s only an unarguable, stubborn fact. Still, speaking of facts, there are so many measurements and indicators of how the economy is doing, that those not committed to an honest investigation can find evidence for whatever they want to believe. Trump and his most committed followers want to believe that everything was terrible under Barack Obama and great under Trump. That’s baloney. Anyone who believes that believes something false. And a series of charts and graphs published Monday in the Washington Post and explained by Economics Correspondent Heather Long provides the data that tells the tale. The details are complicated. Click through to the link above and you’ll learn much. But the overview is pretty simply this: The U.S. economy had a major meltdown in the last year of the George W. Bush presidency. Again, I’m not smart enough to know how much of this was Bush’s “fault.” But he had been in office for six years when the trouble started. So, if it’s ever reasonable to hold a president accountable for the performance of the economy, the timeline is bad for Bush. GDP growth went negative. Job growth fell sharply and then went negative. Median household income shrank. The Dow Jones Industrial Average dropped by more than 5,000 points! U.S. manufacturing output plunged, as did average home values, as did average hourly wages, as did measures of consumer confidence and most other indicators of economic health. (Backup for that is contained in the Post piece I linked to above.) Barack Obama inherited that mess of falling numbers, which continued during his first year in office, 2009, as he put in place policies designed to turn it around. By 2010, Obama’s second year, pretty much all of the negative numbers had turned positive. By the time Obama was up for reelection in 2012, all of them were headed in the right direction, which is certainly among the reasons voters gave him a second term by a solid (not landslide) margin. Basically, all of those good numbers continued throughout the second Obama term. The U.S. GDP, probably the single best measure of how the economy is doing, grew by 2.9 percent in 2015, which was Obama’s seventh year in office and was the best GDP growth number since before the crash of the late Bush years. GDP growth slowed to 1.6 percent in 2016, which may have been among the indicators that supported Trump’s campaign-year argument that everything was going to hell and only he could fix it. During the first year of Trump, GDP growth grew to 2.4 percent, which is decent but not great and anyway, a reasonable person would acknowledge that — to the degree that economic performance is to the credit or blame of the president — the performance in the first year of a new president is a mixture of the old and new policies. In Trump’s second year, 2018, the GDP grew 2.9 percent, equaling Obama’s best year, and so far in 2019, the growth rate has fallen to 2.1 percent, a mediocre number and a decline for which Trump presumably accepts no responsibility and blames either Nancy Pelosi, Ilhan Omar or, if he can swing it, Barack Obama. I suppose it’s natural for a president to want to take credit for everything good that happens on his (or someday her) watch, but not the blame for anything bad. Trump is more blatant about this than most. If we judge by his bad but remarkably steady approval ratings (today, according to the average maintained by 538.com, it’s 41.9 approval/ 53.7 disapproval) the pretty-good economy is not winning him new supporters, nor is his constant exaggeration of his accomplishments costing him many old ones). I already offered it above, but the full Washington Post workup of these numbers, and commentary/explanation by economics correspondent Heather Long, are here. On a related matter, if you care about what used to be called fiscal conservatism, which is the belief that federal debt and deficit matter, here’s a New York Times analysis, based on Congressional Budget Office data, suggesting that the annual budget deficit (that’s the amount the government borrows every year reflecting that amount by which federal spending exceeds revenues) which fell steadily during the Obama years, from a peak of $1.4 trillion at the beginning of the Obama administration, to $585 billion in 2016 (Obama’s last year in office), will be back up to $960 billion this fiscal year, and back over $1 trillion in 2020. (Here’s the New York Times piece detailing those numbers.) Trump is currently floating various tax cuts for the rich and the poor that will presumably worsen those projections, if passed. As the Times piece reported: