Thankyou very much for the help, I&#39;ll definitely buy that book - after I&#39;ve read through this RHCE stuff or I&#39;ll overload my head.<br>I&#39;m not sure which box you meant for me to enter those commands in, the one with all the stuff I want shared or the other? 
<br><br>Guess I&#39;ll try both and see what works :)<br>Thanks again for your help.<br><br><div><span class="gmail_quote">On 10/11/07, <b class="gmail_sendername">Daniel Mons</b> &lt;<a href="mailto:daniel.mons@iinet.net.au">
daniel.mons@iinet.net.au</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Add<br><br>preferred master = yes<br>os level = 50
<br><br>To your /etc/samba/smb.conf .&nbsp;&nbsp;You will need to restart both SMB and NMB<br>for these to take effect (smb and nmb are controlled by a single init<br>file in Ubuntu, but under SuSE and some other distros they are two
<br>separate init files).<br><br>Once again, &quot;man smb.conf&quot; will tell you all the available options, what<br>they mean, and why you might possibly need it.<br><br>And again, I simply cannot recommend highly enough this book:
<br><a href="http://www.samba.org/samba/docs/man/Samba-Guide/">http://www.samba.org/samba/docs/man/Samba-Guide/</a><br><br>It&#39;s available online and in paperback.&nbsp;&nbsp;I bought the paperback version<br>for myself and several business partners of mine as the proceeds go to
<br>the Samba project.&nbsp;&nbsp;But in the spirit of free software, it&#39;s also<br>available online for free.<br><br>It goes through a number of real-world Samba examples from a small<br>home/office to a massive enterprise environment.&nbsp;&nbsp;Mandatory reading for
<br>anyone wanting to learn more about Samba for any reason.&nbsp;&nbsp;I install a<br>large volume of Samba servers for a wide range of businesses - anything<br>from simple no-authentication file servers to full blown<br>LDAP-authenticated domain controllers, and this book is my bible.
<br><br>-Dan<br><br><br>Blindraven wrote:<br>&gt; Oh, and how do i set the machine to pref master with a high OS level? I<br>&gt; know I could probably google that but incase the list ever needs the<br>&gt; reference :P<br>
&gt;<br>&gt; On 10/11/07, * Daniel Mons* &lt;<a href="mailto:daniel.mons@iinet.net.au">daniel.mons@iinet.net.au</a><br>&gt; &lt;mailto:<a href="mailto:daniel.mons@iinet.net.au">daniel.mons@iinet.net.au</a>&gt;&gt; wrote:<br>
&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Scott McKean wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; So there are two servers fighting for &#39;control&#39; of the Samba network.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &#39;TONY-LINUX&#39; and &#39;SERVER&#39; from what I can tell.<br>&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; If that&#39;s the case, setting one of the machines with the &quot;preferred<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; master&quot; directive and a high &quot;OS level&quot; (greater than 50 or so should<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; set it straight) will solve that problem, and make one of the servers
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; always win the master browser election for your network when NMB<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; fires up.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &quot;man smb.conf&quot; will explain what these mean, and why they need to be<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; set.&nbsp;&nbsp;Likewise, John H. Terpstra&#39;s excellent &quot;Samba 3 by Example&quot; book
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; will also explain why these need to be set:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.samba.org/samba/docs/man/Samba-Guide/">http://www.samba.org/samba/docs/man/Samba-Guide/</a><br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (Don&#39;t they teach this sort of thing in RHCE courses?)
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; But yes, we need complete config files and logs from all relevant<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; machines.&nbsp;&nbsp;Both the log.smbd and log.nmbd files, as well as the log<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; files specific to the machines doing the sharing (
ipaddress.log or<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; hostname.log in /var/log/samba/).&nbsp;&nbsp;They will explain whether it&#39;s an<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; issue with SMB (the actual file-sharing daemon) or a problem with NMB<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (the name lookup/resolution daemon).
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; You can of course test this a little further by connecting to the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; machine in question by IP rather than by hostname.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -Dan<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; --<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ubuntu-au mailing list
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:ubuntu-au@lists.ubuntu.com">ubuntu-au@lists.ubuntu.com</a> &lt;mailto:<a href="mailto:ubuntu-au@lists.ubuntu.com">ubuntu-au@lists.ubuntu.com</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-au">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-au">https://lists.ubuntu.com/mailman/listinfo/ubuntu-au</a>&gt;<br>&gt;<br>&gt;<br>&gt;<br>
&gt;<br>&gt; --<br>&gt; When one burns ones bridges, what a very nice fire it makes.<br><br>--<br>ubuntu-au mailing list<br><a href="mailto:ubuntu-au@lists.ubuntu.com">ubuntu-au@lists.ubuntu.com</a><br><a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-au">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au</a><br></blockquote></div><br><br clear="all"><br>-- <br>When one burns ones bridges, what a very nice fire it makes.