This essay focuses on extra debug information in your build. From the Terminal window, you will see a lot of “Checking” lines with values
The above command will setup Samba to install in /usr/local/samba. You might want to use the –prefix option to ./configure to install Samba in a different directory. – You might want to use –enable-debug –enable-selftest options to ./configure to include extra debug information in your build. – From the Terminal window, you will see a lot of “Checking” lines with values “no” or “not found”. Basically you can ignore these negative-effect messages as long as it displays ‘configure’ finished successfully at the end. – It took more than 2 minutes to run ./configure, 30 minutes to run make, and 7 minutes to run sudo make install in my case. –
three important files after it successfully builds. o /usr/local/samba/etc/smb.conf o /usr/local/samba/sbin/nmbd o /usr/local/samba/sbin/smbd Configuration as File Server  Step 1: Edit /usr/local/samba/smb.conf [global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:*
unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d idmap config * : backend = tdb security = user [cs591project] comment = Ubuntu Samba File Server share path = /srv/samba/share browsable = yes guest ok = yes read only = no create mask = 0755 The above are the exact contents of /usr/local/samba/smb.conf to configure your Ubuntu machine as a File Server without any security. You can use any editor to modify this file (but you need root permission to edit this file). The recommended way is to use the testparm program.
Server [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes print ok = Yes browsable = yes guest ok = yes [print$] comment = Printer Drivers path = /srv/samba/printer_drivers writeable = yes Note: – The above contents should be appended to the end of file /usr/local/samba/smb.conf to configure your Ubuntu machine as a Print Server without any security. –
Make sure that the directories /srv/samba/printer_drivers and /var/spool/. This samba do exist and have correct permissions (with nobody.nogroup ownership and rwx for all). See Step 2 in Configuration as File Server above. Windows 8 client verification Connect a printer to your Ubuntu machine. Like Step 4 in the previous Configuration as File Server, you can see a printer icon shows up in the File Explorer.
icon, a pop-up window will show up to ask you to select printer driver. You click on the OK button on this pop-up window and select the correct printer model. Windows 8 will automatically install the printer driver for you at the client machine. Open a pdf file and print one page to verify the Samba print server is working! You need to type the full user name such as hpndclws8.cs.siu.edudavid and the password you set at the above smbpasswd. Acknowledgment I really appreciate the opportunity that this course has presented to me. It let me exposed to a wider world than Windows and every piece of software in this wider world is free!!! I will definitely start to use Linux from now on
Firstly, be sober
thirdly, be keen
Further, be smart
further, be cautious
Lastly, , be fast