<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebProNews &#187; Samba</title>
	<atom:link href="http://www.webpronews.com/tag/samba/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webpronews.com</link>
	<description>Breaking News in Tech, Search, Social, &#38; Business</description>
	<lastBuildDate>Mon, 13 Feb 2012 00:06:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Samba&#8217;s Allison Dumps Novell For Google</title>
		<link>http://www.webpronews.com/sambas-allison-dumps-novell-for-google-2006-12</link>
		<comments>http://www.webpronews.com/sambas-allison-dumps-novell-for-google-2006-12#comments</comments>
		<pubDate>Thu, 21 Dec 2006 18:44:32 +0000</pubDate>
		<dc:creator>WebProNews Staff</dc:creator>
				<category><![CDATA[Search]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Jeremy Allison]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Novell]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=33923</guid>
		<description><![CDATA[The deal between Microsoft and Novell that will promote SuSE Linux to Windows customers proved too much for Jeremy Allison, who has cited it as his reason for departing Novell and its SuSE Linux team.
]]></description>
			<content:encoded><![CDATA[<p>The deal between Microsoft and Novell that will promote SuSE Linux to Windows customers proved too much for Jeremy Allison, who has cited it as his reason for departing Novell and its SuSE Linux team.</p>
<p>Concerns over the patent agreement reached as part of Novell and Microsoft&#8217;s deal has motivated Allison to submit his resignation to Novell. A copy of the letter <a href=http://www.groklaw.net/article.php?story=20061221081000710 class=bluelink>posted</a> at Groklaw</a> highlighted the conflict Allison sees with the deal:</p>
<p><i>
<div style=margin-left:10px;>As many of you will guess, this is due to the Microsoft/Novell patent agreement, which I believe is a mistake and will be damaging to Novell&#8217;s success in the future. But my main issue with this deal is I believe that even if it does not violate the letter of the license it violates the intent of the GPL license the Samba code is released under, which is to treat all recipients of the code equally.</p>
<p>The Microsoft patent agreement has put us outside the community, and there is no positive aspect to that fact, and no way to make it so. Until the patent provision is revoked, we are pariahs.</p></div>
<p></i><br />
<a href=http://www.samba.org class=bluelink>Samba</a> is one of those open source works that made system administrators truly excited over the past decade. With Samba, a system running the Linux operating system could be configured to handle print and file duties for Windows desktop clients, and do so invisibly to the users on the network.</p>
<p>That meant older hardware could be packed with voluminous hard drives and a copy of Linux for far less expense than a newer system complete with Microsoft licenses to act in the same capacity. Samba might be the most significant project to emerge over the years, save Linux and the Apache web server.</p>
<p>Samba&#8217;s supporters have protested the Novell-Microsoft agreement almost since it was made public. On November 12th, the Samba team <a href=http://news.samba.org/announcements/team_to_novell/ class=bluelink>announced</a> its strong disapproval, and called the deal an exchange of &#8220;the long term interests of the entire Free Software community for a short term advantage for Novell over their competitors.&#8221;</p>
<p>Allison will move on, and land at Google, as Mary Jo Foley of Microsoft Watch <a href=http://blogs.zdnet.com/microsoft/?p=170 class=bluelink>learned</a> from him. It&#8217;s an interesting development, considering Google&#8217;s reputation for lengthy interviews and lead times between interviews and job offers.</p>
<p>But like other notable Googlers Guido van Rossum, the creator of the Python language, and Vint Cerf, the father of the Internet, Allison brings a pretty solid reputation to the mix, so fast-tracking his move to Mountain View probably became a priority for Google. It should be a win for Samba&#8217;s devotees as well.</p>
<p>&#8212;</p>
<p>Add to <a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&#038;partner=wpn&#038;noui&#038;jump=close&#038;url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title),'delicious','toolbar=no,width=700,height=400'); return false;" CLASS="printMailTop"><img src=http://images.ientrymail.com/webpronews/delicious-pic.png border=0> Del.icio.us</a> | <a href="javascript:void window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window.location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img src=http://images.ientrymail.com/webpronews/digg-pic.png border=0> Digg</a>  | <a href="javascript:location.href='http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title)"><img src=http://images.ientrymail.com/webpronews/reddit.png border=0> Reddit</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+' '"><img src=http://images.ientrymail.com/webpronews/furl-pic.png border=0> Furl</a></p>
<p>Bookmark WebProNews: <a href=http://www.webpronews.com><img src=http://images.ientrymail.com/webpronews/wpn-readit.jpg border=0></a> </p>
<p><script language=JavaScript src="http://aj.600z.com/aj/1095/0/vj?z=1&#038;dim=1088&#038;pos=15"></script></p>
<p>David Utter is a staff writer for WebProNews covering technology and business. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/sambas-allison-dumps-novell-for-google-2006-12/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Brings Samba, CC Early Gifts</title>
		<link>http://www.webpronews.com/google-brings-samba-cc-early-gifts-2006-11</link>
		<comments>http://www.webpronews.com/google-brings-samba-cc-early-gifts-2006-11#comments</comments>
		<pubDate>Mon, 06 Nov 2006 22:07:51 +0000</pubDate>
		<dc:creator>WebProNews Staff</dc:creator>
				<category><![CDATA[Search]]></category>
		<category><![CDATA[Creative]]></category>
		<category><![CDATA[creative commons]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=32613</guid>
		<description><![CDATA[Samba and Creative Commons, both with ties in the open source community, benefited from Google's largesse, an early present to a pair of organizations for the holidays.
]]></description>
			<content:encoded><![CDATA[<p>Samba and Creative Commons, both with ties in the open source community, benefited from Google&#8217;s largesse, an early present to a pair of organizations for the holidays.</p>
<table width="128" border="0" align="right">
<tr>
<td width="122" height="62"><a href="http://www.webproworld.com/viewtopic.php?p=333843"><img src="http://images.ientrymail.com/CommentImage-4.gif" width="130" height="60" border="0"></a></td>
</tr>
</table>
<p>The two top search companies made some moves that were very much in the spirit of the holiday season. First, Google played Father Christmas to a pair of organizations with pledges of annual financial support for their efforts.</p>
<p>Developers behind the <a href=http://samba.org class=bluelink>Samba</a> project will enjoy Google&#8217;s favor to the tune of $20,000. Samba software provides file and print services across operating system platforms, allowing for example Windows clients to connect to a Linux system for those services.</p>
<p>&#8220;This is fantastic news for the Samba project&#8221; <a href=http://news.samba.org/announcements/google_annual_donation/ class=bluelink>said</a> team member Andrew Tridgell, &#8220;and will allow us to provide more support for developers who could not otherwise afford the travel expenses to attend conferences.&#8221;</p>
<p><a href="http://creativecommons.org/">Creative Commons</a> received a donation from Google, in the amount of $30,000 just in time for the group&#8217;s fundraising drive. The organization develops licenses for content that creators can use to reserve some rights to their work while permitting others to use and share that content without the threat of a lawsuit.</p>
<p>Ryan Carter at Download Squad <a href=http://www.downloadsquad.com/2006/11/05/googles-donation-to-cc-is-more-than-money/ class=bluelink>wrote</a> how the donation is &#8220;a vote of confidence for the work of the chartiable CC.&#8221;</p>
<p>&#8220;This doesn&#8217;t surprise me too much, since Google has been at least sympathetic to the open-source camp,&#8221; Carter said. &#8220;I don&#8217;t for a minute simply dismiss the idea that Google most likely has ulterior motives, because they could, but sometimes companies do nice things for others.&#8221;</p>
<p>&#8212;</p>
<p>Add to <a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&#038;partner=wpn&#038;noui&#038;jump=close&#038;url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title),'delicious','toolbar=no,width=700,height=400'); return false;" CLASS="printMailTop"><img src=http://images.ientrymail.com/webpronews/delicious-pic.png border=0> Del.icio.us</a> | <a href="javascript:void window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window.location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img src=http://images.ientrymail.com/webpronews/digg-pic.png border=0> Digg</a>  | <a href="javascript:location.href='http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title)"><img src=http://images.ientrymail.com/webpronews/reddit.png border=0>Reddit</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+' '"><img src=http://images.ientrymail.com/webpronews/furl-pic.png border=0> Furl</a></p>
<p>Bookmark WebProNews: <a href=http://www.webpronews.com><img src=http://images.ientrymail.com/webpronews/wpn-readit.jpg border=0></a> </p>
<p><script language=JavaScript src="http://aj.600z.com/aj/1095/0/vj?z=1&#038;dim=1088&#038;pos=15"></script></p>
<p>David Utter is a staff writer for WebProNews covering technology and business. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/google-brings-samba-cc-early-gifts-2006-11/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samba Problems</title>
		<link>http://www.webpronews.com/samba-problems-2005-04</link>
		<comments>http://www.webpronews.com/samba-problems-2005-04#comments</comments>
		<pubDate>Tue, 12 Apr 2005 19:53:32 +0000</pubDate>
		<dc:creator>A.P. Lawrence</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=16774</guid>
		<description><![CDATA[It never rains but it pours: I've had four Samba call in the past two days. A couple of things to keep in mind as a result of helping those folks:
]]></description>
			<content:encoded><![CDATA[<p>It never rains but it pours: I&#8217;ve had four Samba call in the past two days. A couple of things to keep in mind as a result of helping those folks:</p>
<p>You NEED to set &#8220;encrypted passwords = Yes&#8221; in smb.conf (or Swat if you prefer to use that to configure Samba). If you don&#8217;t, Samba is going to refuse modern Windows clients.</p>
<p>If using Swat, you can&#8217;t just fill in a name and password if the user doesn&#8217;t already exist. You have to ADD the user. If you just put in a name and password, Swat doesn&#8217;t complain, but nothing gets added to smbpassword.</p>
<p>User names added to Samba MUST be Unix users already.</p>
<p>This seems to confuse folks: you can have a file that maps Windows names to Unix/Samb logins. For example:</p>
<p><code>root = administrator<br />
linda = lfrench</code></p>
<p>If you do that, you probably want to set the samba passwords to match what they are being mapped from. So in this case, we&#8217;d probably set root&#8217;s samba password to match the Windows &#8220;administrator&#8221;, and linda&#8217;s password would be set to match her Windows &#8220;lfrench&#8221; password. You don&#8217;t HAVE to do that (you can use &#8220;connect as a different user&#8221;) but it may make things less confusing.</p>
<p>If you are having confusing trouble, set &#8220;log level = 2&#8243; and check the logs. Where are the logs? Wherever smb.conf says they are.</p>
<p>*Originally published at <a href="http://www.aplawrence.com">APLawrence.com</a></p>
<p>A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/samba-problems-2005-04/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Neighborhood, Visionfs, Samba Authentication and all that</title>
		<link>http://www.webpronews.com/network-neighborhood-visionfs-samba-authentication-and-all-that-2003-06</link>
		<comments>http://www.webpronews.com/network-neighborhood-visionfs-samba-authentication-and-all-that-2003-06#comments</comments>
		<pubDate>Mon, 02 Jun 2003 21:30:38 +0000</pubDate>
		<dc:creator>A.P. Lawrence</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=4515</guid>
		<description><![CDATA[Unix and Linux machines have been able to provide Network Neighborhood style file and print services for some time now, but I constantly see confusion and problems due to misunderstanding of how these things work. 

I'm going to use an example from a real situation involving an XP user and a SCO Visionfs network. The concepts of this apply to Linux, Mac, Samba: it doesn't really matter.
]]></description>
			<content:encoded><![CDATA[<p>Unix and Linux machines have been able to provide Network Neighborhood style file and print services for some time now, but I constantly see confusion and problems due to misunderstanding of how these things work. </p>
<p>I&#8217;m going to use an example from a real situation involving an XP user and a SCO Visionfs network. The concepts of this apply to Linux, Mac, Samba: it doesn&#8217;t really matter.</p>
<p><b>The Network</b><br />
The network consists of Windows 98 and XP machines and Unix/Linux servers. The major application is client/server accounting application running on the Unix box. There is a Linux mail server also. File and print services are provided by Visionfs on the Unix box. </p>
<p>Users need passwords for several functions here: </p>
<ul>
<li>Logging in to their Windows desktop </li>
<li>Accessing the accounting application </li>
<li>Accessing their POP email </li>
<li>Accessing shared files on the Unix server </li>
<li>Using shared printers on the Unix server </li>
</ul>
<p><b>Logins and Passwords</b><br />
Most of the machines are Windows 98 and store no data of any importance. These are set up for normal windows login (no domain controller). Anyone can walk up to any machine and create a Windows login name, so there is no security. This is actually deliberate and convenient, as it is often necessary for people to access the internet or the accounting application while not at their own desk. Some machines are Windows XP where only the administrator of that machine can create a login. These machines typically have more sensitive data and are used by managers. However, as older machines are phased out, XP is the usual replacement, and a &#8220;guest&#8221; login is used when the machine needs to have general access. </p>
<p>The accounting application requires a separate login name and password. These are completely unrelated to any other names or passwords. The accounting administrator assigns and maintains these. </p>
<p>Email also has its own names and passwords. These are maintained by the email administrator, though users are allowed to change their own passwords. </p>
<p>Access to files and printers on the Unix box is by Visionfs. There are other utilities that could do this: <a href="http://www.samba.org/">Samba</a> and <a href="http://www.samba.org/">Facetwin</a> for example. These all have different administration techniques, but the common point here is that the Windows login name and password is what will determine access to the files and printers. </p>
<p><b>The new XP user</b><br />
A Windows 98 machine was replaced by a new XP box. The user set it up himself, and successfully installed the accounting application client, and configured his email. He had access to the internet, the accounting application, and email, but couldn&#8217;t access shared files or printers. </p>
<p>The major reason he couldn&#8217;t do this was because he didn&#8217;t realize that his Windows login name was important. On the old Windows 98 box, it had just been &#8220;bobf&#8221; and he had a password of &#8220;aM2133&#8243;. When he installed XP, he used the same password, but spelled out his name as &#8220;Bob Franklin&#8221;. Visionfs has nothing in its database that knows that &#8220;Bob Franklin&#8221; is the same as the &#8220;bobf&#8221; it does know. There is a way in Visionfs and similar products to map &#8220;Bob Franklin&#8221; to &#8220;bobf&#8221;, so I did that, but (not entirely unexpectedly) it still didn&#8217;t give him access. The problem has been seen and reported before: <a href="http://www.pcunix.com/Bofcusm/1820.html">http://www.pcunix.com/Bofcusm/1820.html</a> and <a href="http://www.pcunix.com/Bofcusm/1807.html">http://www.pcunix.com/Bofcusm/1807.html</a> </p>
<p>In this case, the previous name was &#8220;Administrator&#8221;, so I added another mapping of &#8220;Administrator&#8221; to &#8220;bobf&#8221;. I also renamed the XP account to &#8220;bobf&#8221;, which meant that I really didn&#8217;t need to map &#8220;Administrator&#8221;, but I felt this would just happen again somewhere down the line, and since all users have the same access permissions on the Unix box, there&#8217;s no harm in the mapping. </p>
<p>Incredibly enough, this STILL didn&#8217;t work. Looking more closely revealed that the Visionfs password for &#8220;bobf&#8221; apparently was not &#8220;aM2133&#8243;, so I had to reset that password (/usr/vision/bin/visionfs password &#8211;amend bobf aM2133). </p>
<p>Note that at this point his original Unix login of &#8220;bobf&#8221; and whatever password that was is totally unimportant: Visionfs doesn&#8217;t care, and neither does the accounting application or the Linux email server. That login is not used for anything at all. Very often that&#8217;s where the confusion comes from with programs like Visionfs or Samba &#8211; it is THEIR passwords (matched against the Windows login) that determine access. While their may or may not be procedures or software in place that keeps all these passwords consistent, the important thing to understand is that these products keep their own databases of users and passwords. It is that database that will be searched to match what the Windows machine sends. </p>
<p>This article appeared at <a href="http://www.aplawrence.com/Unixart/winauth.html">APLawrence.com</a></p>
<p><a href="http://www.unixpronews.com/aplawrence_disclaimer.html">Please read this disclaimer </a><br />
<a href="http://www.unixpronews.com/aplawrence_reprint.html">Copyright and Reprint Info</a></p>
<p>A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/network-neighborhood-visionfs-samba-authentication-and-all-that-2003-06/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Samba on the Mac OS X Server</title>
		<link>http://www.webpronews.com/running-samba-on-the-mac-os-x-server-2003-04</link>
		<comments>http://www.webpronews.com/running-samba-on-the-mac-os-x-server-2003-04#comments</comments>
		<pubDate>Tue, 08 Apr 2003 15:42:00 +0000</pubDate>
		<dc:creator>Robert Eckstein, David Collier-Brown, Jay Ts</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Print]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Sharing]]></category>
		<category><![CDATA[SMB]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=3523</guid>
		<description><![CDATA[Mac OS X Server is an Apple operating system product based on Mac OS X, with the addition of administrative tools and server software. One area in which it differs from Mac OS X is in the configuration of Samba-based services.
]]></description>
			<content:encoded><![CDATA[<p>Mac OS X Server is an Apple operating system product based on Mac OS X, with the addition of administrative tools and server software. One area in which it differs from Mac OS X is in the configuration of Samba-based services.</p>
<p>In this appendix, we&#8217;ll tell you how to set up SMB file and printer shares, enable client user access, and monitor activity. Our specific focus is on Mac OS X Server 10.2.</p>
<p><b>Setup Procedures</b></p>
<p>The first thing to note is that the procedure described in Chapter 2 using System Preferences to enable Samba does not apply to Mac OS X Server. Unlike Mac OS X, the Sharing pane of System Preferences does not include an option to turn on Windows File Sharing. Instead, there is a set of applications to configure, activate, and monitor services: Workgroup Manager, Server Settings, Server Status, and Open Directory Assistant, all located in the directory <i>/Applications/Utilities</i>.</p>
<p><b>TIP:</b> In addition to being installed with Mac OS X Server, these and other administrative applications are included on a separate installation CD-ROM sold with the operating system. They can be used to manage Mac OS X Server systems remotely from any Mac OS X machine.</p>
<p>For more information, refer to the <i>Mac OS X Server Administrator&#8217;s Guide</i>, included as a PDF file in the <i>/Library/Documentation/MacOSXServerdirectory</i>, and also downloadable from Apple Computer&#8217;s web site at <a href="http://www.apple.com/server/">http://www.apple.com/server/</a>. </p>
<p>Briefly, the procedure for setting up SMB file and printer shares is as follows:</p>
<ol>
<li>Designate share points in Workgroup Manager for file sharing.</li>
<li>Set up print queues in Server Settings for printer sharing, and activate Printer Service.</li>
<li>Configure and activate Windows Services in Server Settings.</li>
<li>Activate Password Server and enable SMB authentication in Open Directory Assistant.</li>
<li>Enable Password Server authentication for user accounts in Workgroup Manager.</li>
<li>Monitor file and print services with Server Status.</li>
</ol>
<p><b>Sharing Files</b></p>
<p>The first step to enable SMB file sharing is to designate one or more share points. Share points are folders that form the root of shared volumes for any of the protocols supported by Mac OS X Server: Apple Filesharing Protocol (AFP), Network Filesystem (NFS), File Transfer Protocol (FTP), and SMB.</p>
<p>To designate a share point, launch Workgroup Manager. You will be prompted for the local or remote server&#8217;s hostname or IP address, as well as for a username and password; this process is required by all the Mac OS X Server administrative applications. Once Workgroup Manager is open, click the Sharing button in the toolbar. The list on the left, under the Share Points tab, displays currently defined share points. To add a new one, click the All tab, and navigate to the folder you want to share.</p>
<p>On the right, under the General tab, check the box labeled Share this item and its contents, change the ownership and permissions if desired, then click the Save button. Next, under the Protocols tab, select Windows File Settings from the pop-up menu, and ensure that the box labeled Share this item using SMB is checked. At this point, you can also decide whether to allow guest access to the share, change the name of the share displayed to SMB clients, or set permissions for files and folders created by SMB clients. Click the Save button when you&#8217;re finished making changes. See Figure F-1.</p>
<p><b>Figure F-1. Workgroup Manager: Share Points and Windows File Settings</b><br />
<img src="http://images.ientrymail.com/macpronews/sam2_af01.gif"></p>
<p><b>Sharing Printers</b></p>
<p>Printer shares are set up differently. First, launch Server Settings; under the File &#038; Print tab, select Print, then Configure Print Service&#8230;. Check the box labeled Automatically share new queues for Windows printing. Next, click the Print icon again and then Show Print Monitor. Make sure the printers you want to share are listed. Printers directly attached to the server should have queues created automatically, but remote printers you wish to reshare must be added by clicking New Queue and discovering or specifying the printers. When you&#8217;re finished, click Save, select the Print icon one more time, and select Start Print Service. See Figure F-2.</p>
<p><b>Figure F-2. Server Settings: Print Service</b><br />
<img src="http://images.ientrymail.com/macpronews/sam2_af02.gif"></p>
<p><b>TIP:</b> Server Settings will make local printers available for sharing only if they&#8217;re PostScript compatible. Unfortunately, many printers, including consumer-grade USB inkjet printers, aren&#8217;t. If you want to make one of these printers available to SMB clients, you can still add the share to <i>/etc/smb.conf</i> yourself with a text editor. See &#8220;Rolling Your Own&#8221; later in this chapter for instructions and caveats related to making manual changes to <i>smb.conf</i>.</p>
<p><b>Configuring and Activating Services</b></p>
<p>At this point, neither the file shares nor the printer shares are available to SMB clients. To activate them, click the Windows icon in Server Settings, and click Configure Windows Services&#8230;. Under the General tab, you can set the server&#8217;s NetBIOS hostname, the workgroup or Windows NT domain in which the server resides, and the description that gets displayed in a browse list. You can also specify the code page for an alternate character set. Finally, you can enable boot-time startup of Samba. See Figure F-3.</p>
<p><b>Figure F-3. Server Settings: Windows Services</b><br />
<img src="http://images.ientrymail.com/macpronews/sam2_af03.gif"></p>
<p>The Windows Services Access tab offers options to enable guest access and limit the number of simultaneous client connections; under the Logging tab, you can specify the verbosity of your logging. With options under the Neighborhood tab, you can configure your machine as a WINS client or server or have it provide browser services locally or across subnets.</p>
<p>When you&#8217;ve finished configuring Windows Services, click the Save button, then click the Windows icon in Server Settings, and select Start Windows Services. This starts the Samba daemons, enabling access from SMB clients.</p>
<p><b>Activating Password Server</b></p>
<p>Now that you&#8217;ve set up file and printer shares, you need to make sure users can properly authenticate to access them. In Mac OS X Server, this is accomplished with the Open Directory Password Server, a service based on the Simple Authentication and Security Layer (SASL) standard and usable with many different authentication protocols, including the LAN Manager and Windows NT LAN Manager (NTLM) protocols. This section describes how to support SMB client authentication, but for more information on what Password Server does and how it works, see the Mac OS X Server Administrator&#8217;s Guide.</p>
<table width="100%" border="0" cellspacing="12" cellpadding="6" class="text">
<tr>
<td valign="top" bgcolor="#efefef">
<b>Password Server</b><br />
Password Server is a feature introduced with Mac OS X Server 10.2. In prior versions of Mac OS X Server, Windows authentication was handled with Authentication Manager, which stored a user&#8217;s Windows password in the <code>tim_password</code> property of the user&#8217;s NetInfo record. This can still be done in Version 10.2, although it&#8217;s strongly discouraged because the encrypted password is visible to other users with access to the NetInfo domain and can potentially be decrypted.<br />
If you need to use Authentication Manager, use the following procedure to enable it:</p>
<ol>
<li>On every machine hosting a domain that will bind into the NetInfo hierarchy, execute the command <code>tim -init -auto</code> <i>tag</i> for each domain, where <i>tag</i> is the name of the domain&#8217;s database.</li>
<li>When prompted, provide a password to be used as the encryption key for the domain. This key is used to decrypt the Windows passwords and is stored in an encrypted file readable only by root, <em>/var/db/netinfo/.tag.tim</em>.</li>
<li>Set <code>AUTHSERVER=-YES-</code> in <em>/etc/hostconfig</em>.</li>
<li>Start Authentication Manager by invoking <em>tim</em>. This is also executed during the boot sequence by the AuthServer startup item.</li>
<li>Reset the password of each user requiring SMB client access. In Mac OS X Server 10.2 or later, make sure the user is set up for Basic authentication, not Password Server authentication.</li>
</ol>
</td>
</tr>
</table>
<p>To enable Password Server or merely check its settings, start the Open Directory Assistant. Unless you wish to change any of the settings, just click the right arrow button in the lower-right corner of the window until you get to the first Security step. At this point, activate Password Server by selecting the option marked Password and authentication information will be provided to other systems. The next step displays the main administrative account, and the one after that gives you a choice of authentication protocols to enable (see Figure F-4). Make sure that SMB-NT is checked, and check SMB-Lan Manager if you have Windows 95/98/Me or older clients. The final step saves the Password Server configuration and prompts you to reboot.</p>
<p><b>Figure F-4. Password Server authentication protocols</b><br />
<img src="http://images.ientrymail.com/macpronews/sam2_af04.gif"></p>
<p><b>Enabling Password Server</b></p>
<p>To enable the use of Password Server for a user account, launch Workgroup Manager, and click the Accounts button in the toolbar. Under the Users tab on the far left (with the silhouette of a single person), select the account, and under the Advanced tab on the right, select Password Server for the User Password Type (see Figure F-5). You are prompted to enter a new user password to be stored in the Password Server database. After saving the account configuration, the user can authenticate and access shares from an SMB client.</p>
<p><b>Figure F-5. Workgroup Manager: Enabling Password Server authentication</b><br />
<img src="http://images.ientrymail.com/macpronews/sam2_af05.gif"></p>
<p><b>Monitoring Services</b></p>
<p>Once you&#8217;ve got everything working, you&#8217;ll want to keep an eye on things. The Server Status application gives you views into the various services provided by Mac OS X Server. For Windows Services, you can see the current state of the service, browse the logs (located in the directory <i>/Library/Logs/WindowsServices</i>), display and terminate individual connections, and view a graph of connections over time (see Figure F-6). Similar information is provided for Print Service.</p>
<p><b>Figure F-6. Server Status: Windows Services</b><br />
<img src="http://images.ientrymail.com/macpronews/sam2_af06.gif"></p>
<p><b>Configuration Details</b></p>
<p>Underneath the GUI, a lot of activity takes place to offer Windows Services. In the non-Server version of Mac OS X, selecting Windows File Sharing sets the <code>SMBSERVER</code> parameter in <i>/etc/hostconfig</i> and triggers the Samba startup item. In Mac OS X Server, under normal circumstances the Samba startup item and the <code>SMBSERVER</code> parameter are never used.</p>
<p>Instead, a process named <i>sambadmind</i> generates <i>/etc/smb</i>.conffrom the configuration specified in Server Settings and Workgroup Manager and handles starting and restarting the Samba daemons as necessary. The <i>sambadmind</i> process is in turn monitored by <i>watchdog</i>, which keeps an eye on certain processes and restarts those which fail. The <i>watchdog</i> utility is configured in <i>/etc/watchdog.conf</i>, a file similar to a System V inittab, which specifies how the services under watchdog&#8217;s purview are to be treated. For example, the line for <i>sambadmind</i> looks like this:</p>
<p><code>sambadmin:respawn:/usr/sbin/sambadmind -d     # SMB Admin daemon</code></p>
<p>Using a <i>watchdog</i>-monitored process such as <i>sambadmind</i> to start the Samba daemons, instead of a one-time execution of a startup item, results in more reliable service. In Mac OS X Server, if a Samba daemon dies unexpectedly, it is quickly restarted. (Examples of other services monitored by <i>watchdog</i> are Password Server, Print Service, and the Server Settings daemon that allows remote management.)</p>
<p>There&#8217;s another wrinkle in Mac OS X Server: the Samba configuration settings are not written directly to <i>/etc/smb.conf</i>, as they are in the non-Server version of Mac OS X. Instead, they&#8217;re stored in the server&#8217;s local Open Directory domain, <a href="#footnote-1">[1]</a> from which <i>sambadmind</i> retrieves them and regenerates <i>smb.conf</i>. For example, the Samba global parameters are stored in <i>/config/SMBServer</i> (see Figure F-7). Share point information is also kept in Open Directory, under <i>/config/SharePoints</i>, while CUPS takes responsibility for printer configuration in <i>/etc/cups/printers.conf</i> (also creating stub entries used by Samba in <i>/etc/printcap</i>).</p>
<p><b>Figure F-7. NetInfo Manager: SMBServer properties</b><br />
<img src="http://images.ientrymail.com/macpronews/sam2_af07.gif"></p>
<p>Table F-1 summarizes the association of Windows Services settings in the Server Settings application, properties stored in Open Directory, and parameters in <i>/etc/smb.conf</i>.</p>
<p><b>Table F-1: Samba configuration settings in Mac OS X Server</b></p>
<table border="1" cellpadding="3" cellspacing="0" class="text">
<tr>
<td><strong>Server Settings graphical element in Windows Services</strong></td>
<td><strong>Open Directory property in <em>/config/SMBServer</em></strong></td>
<td><strong>Samba global parameter in <em>/etc/smb.conf</em></strong></td>
</tr>
<tr>
<td>General <em>&#8594;</em> Server Name</td>
<td><code>netbios_name</code></td>
<td><code>netbios name</code></td>
</tr>
<tr>
<td>General <em>&#8594;</em> Workgroup</td>
<td><code>workgroup</code></td>
<td><code>workgroup</code></td>
</tr>
<tr>
<td>General <em>&#8594;</em> Description</td>
<td><code>description</code></td>
<td><code>server string</code></td>
</tr>
<tr>
<td>General <em>&#8594;</em> Code Page</td>
<td><code>code_page</code></td>
<td><code>client code page</code></td>
</tr>
<tr>
<td>General <em>&#8594;</em> Start Windows Services on system startup</td>
<td><code>auto_start</code></td>
<td>N/A</td>
</tr>
<tr>
<td>Access <em>&#8594;</em> Allow Guest Access</td>
<td><code>guest_access</code>, <code>map_to_guest</code></td>
<td>
<code>map to guest</code></td>
</tr>
<tr>
<td>N/A</td>
<td><code>guest_account</code></td>
<td><code>guest account</code></td>
</tr>
<tr>
<td>Access <em>&#8594;</em> Maximum client connections</td>
<td><code>max_connections</code></td>
<td><code>max smbd processes</code></td>
</tr>
<tr>
<td>Logging <em>&#8594;</em> Detail Level</td>
<td><code>logging</code></td>
<td><code>log level</code></td>
</tr>
<tr>
<td>Neighborhood <em>&#8594;</em> WINS Registration <em>&#8594;</em> Off</td>
<td><code>WINS_enabled</code>, <code>WINS_register</code></td>
<td><code>wins support</code></td>
</tr>
<tr>
<td>Neighborhood <em>&#8594;</em> WINS Registration <em>&#8594;</em> Enable WINS server</td>
<td><code>WINS_enabled</code></td>
<td><code>wins support</code></td>
</tr>
<tr>
<td>Neighborhood <em>&#8594;</em> WINS Registration <em>&#8594;</em> Register with WINS server</td>
<td><code>WINS_register</code>, <code>WINS_address</code></td>
<td><code>wins server</code></td>
</tr>
<tr>
<td>Neighborhood <em>&#8594;</em> Workgroup/Domain Services <em>&#8594;</em> Master Browser</td>
<td><code>Local_Master</code></td>
<td><code>local master</code></td>
</tr>
<tr>
<td>Neighborhood <em>&#8594;</em> Workgroup/Domain Services <em>&#8594;</em> Domain Master Browser</td>
<td><code>Domain_Master</code></td>
<td><code>domain master</code></td>
</tr>
<tr>
<td>Print <em>&#8594;</em> Start Print Service</td>
<td><code>printing</code></td>
<td>N/A</td>
</tr>
<tr>
<td>N/A</td>
<td><code>lprm_command</code></td>
<td><code>lprm command</code></td>
</tr>
<tr>
<td>N/A</td>
<td><code>lppause_command</code></td>
<td><code>lppause command</code></td>
</tr>
<tr>
<td>N/A</td>
<td><code>lpresume_command</code></td>
<td><code>lpresume command</code></td>
</tr>
<tr>
<td>N/A</td>
<td><code>printer_admin</code></td>
<td><code>printer admin</code></td>
</tr>
<tr>
<td>N/A</td>
<td><code>encryption</code></td>
<td><code>encrypt passwords</code></td>
</tr>
<tr>
<td>N/A</td>
<td><code>coding_system</code></td>
<td><code>coding system</code></td>
</tr>
<tr>
<td>N/A</td>
<td><code>log_dir</code></td>
<td>N/A</td>
</tr>
<tr>
<td>N/A</td>
<td>
<code>smb_log</code></td>
<td><code>log file</code></td>
</tr>
<tr>
<td>N/A</td>
<td><code>nmb_log</code></td>
<td>N/A</td>
</tr>
<tr>
<td>N/A</td>
<td><code>samba_sbindir</code></td>
<td>N/A</td>
</tr>
<tr>
<td>N/A</td>
<td><code>samba_bindir</code></td>
<td>N/A</td>
</tr>
<tr>
<td>N/A</td>
<td><code>samba_libdir</code></td>
<td>N/A</td>
</tr>
<tr>
<td>N/A</td>
<td><code>samba_lockdir</code></td>
<td>N/A</td>
</tr>
<tr>
<td>N/A</td>
<td><code>samba_vardir</code></td>
<td>N/A</td>
</tr>
<tr>
<td>N/A</td>
<td><code>stop_time</code></td>
<td>N/A </td>
</tr>
</table>
<p><b>Rolling Your Own</b></p>
<p>When making manual changes to the Samba configuration file, take care to block changes initiated from graphical applications by invoking this command:</p>
<p><code># chflags uchg /etc/smb.conf</code></p>
<p>From that point on, the GUI will be useful only for starting, stopping, and monitoring the service&#8211;not for configuring it.</p>
<p>If you install your own version of Samba, you can still manage it from Server Settings by changing some of the Open Directory properties in <i>/config/SMBServer</i>.</p>
<p>To do this, open NetInfo Manager and modify the <code>samba_sbindir</code> and <code>samba_bindir</code> properties to match the location of your Samba installation. Optionally, you can modify <code>samba_libdir</code>, <code>samba_vardir</code>, and <code>samba_lockdir</code>. Assuming a default Samba installation, you can also change these at the command line with the following commands:</p>
<p><code># nicl . -create /config/SMBServer samba_sbindir /usr/local/samba/bin</code><br />
<code># nicl . -create /config/SMBServer samba_bindir /usr/local/samba/bin</code><br />
<code># nicl . -create /config/SMBServer samba_libdir /usr/local/samba/lib</code><br />
<code># nicl . -create /config/SMBServer samba_vardir /usr/local/samba/var</code><br />
<code># nicl . -create /config/SMBServer samba_lockdir /usr/local/samba/var/locks</code></p>
<p>You can check your settings with this command:</p>
<p><code># nicl . -read /config/SMBServer</code></p>
<p>In Server Settings, select Stop Windows Services, then run this command:</p>
<p><code># killall sambadmind</code></p>
<p>The <i>watchdog</i> utility restarts <i>sambadmind</i> within seconds. Finally, go back to Server Settings, and select Start Windows Services.</p>
<p>If you don&#8217;t modify Open Directory properties to match your active Samba installation (because you wish to manage your configuration another way), be sure never to activate Windows Services from the Server Settings application, or you&#8217;ll wind up with two sets of Samba daemons running concurrently. </p>
<p><a name="footnote-1" />1. In versions of Mac OS X prior to 10.2, Open Directory domains were called NetInfo domains. NetInfo Manager (located in <i>/Applications/Utilities</i>) provides a graphical interface to view and modify the contents of Open Directory databases. For more information, see the <i>Mac OS X Server Administrator&#8217;s Guide</i>, as well as <i>Understanding and Using NetInfo</i>, downloadable from the Mac OS X Server resources web page at <a href="http://www.apple.com/server/resources.html">http://www.apple.com/server/resources.html</a>.</p>
<p><i>Note: Leon Towns-von Stauber contributed the material in this excerpt on &#8220;Running Samba on the Mac OS X Server&#8221; for Appendix F of <a href="http://www.oreilly.com/catalog/samba2/index.html?CMP=IL7015">Using Samba, 2nd Edition.</a></i></p>
<p>Originally appeared at <a href="http://www.onlamp.com">ONLamp.com</a> <a href="http://www.onlamp.com/pub/a/onlamp/excerpt/samba_appendix/index.html">(http://www.onlamp.com/pub/a/onlamp/excerpt/samba_appendix/index.html)</a></p>
<table width="95%" border="0" cellpadding="1" cellspacing="0" class="text">
<tr>
<td><A HREF="http://www.amazon.com/exec/obidos/ASIN/0596002564/ientrinc-20"><br />
Using Samba, Second Edition</A> &#8211; Using Samba, Second Edition is a comprehensive guide to Samba administration.<br />
This new edition covers all versions of Samba from 2.0 to 2.2, including selected<br />
features from an alpha version of 3.0, as well as the SWAT graphical configuration<br />
tool. Updated for Windows 2000, ME, and XP, the book also explores Samba&#8217;s new<br />
role as a primary domain controller and domain member server, its support for<br />
the use of Windows NT/2000/XP authentication and filesystem security on the host<br />
Unix system, and accessing shared files and printers from Unix clients. </td>
<td align="center" valign="middle"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><span class="text"><A HREF="http://www.amazon.com/exec/obidos/ASIN/0596002475/ientrinc-20"><br />
<IMG SRC="http://images.ientrymail.com/amazon_images/0596002564.01.TZZZZZZZ.jpg" border="0" alt="cover" hspace="3" vspace="3"></A></span></font></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/running-samba-on-the-mac-os-x-server-2003-04/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 1/27 queries in 0.012 seconds using memcached
Object Caching 378/442 objects using memcached

Served from: webpronews.com @ 2012-02-12 19:27:46 -->
