Thankyou very much for the help, I'll definitely buy that book - after I've read through this RHCE stuff or I'll overload my head.<br>I'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'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> <<a href="mailto:daniel.mons@iinet.net.au">
daniel.mons@iinet.net.au</a>> 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 . 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, "man smb.conf" 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's available online and in paperback. I bought the paperback version<br>for myself and several business partners of mine as the proceeds go to
<br>the Samba project. But in the spirit of free software, it'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. Mandatory reading for
<br>anyone wanting to learn more about Samba for any reason. 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>> Oh, and how do i set the machine to pref master with a high OS level? I<br>> know I could probably google that but incase the list ever needs the<br>> reference :P<br>
><br>> On 10/11/07, * Daniel Mons* <<a href="mailto:daniel.mons@iinet.net.au">daniel.mons@iinet.net.au</a><br>> <mailto:<a href="mailto:daniel.mons@iinet.net.au">daniel.mons@iinet.net.au</a>>> wrote:<br>
><br>> Scott McKean wrote:<br>> > So there are two servers fighting for 'control' of the Samba network.<br>> > 'TONY-LINUX' and 'SERVER' from what I can tell.<br>>
<br>> If that's the case, setting one of the machines with the "preferred<br>> master" directive and a high "OS level" (greater than 50 or so should<br>> set it straight) will solve that problem, and make one of the servers
<br>> always win the master browser election for your network when NMB<br>> fires up.<br>><br>> "man smb.conf" will explain what these mean, and why they need to be<br>> set. Likewise, John H. Terpstra's excellent "Samba 3 by Example" book
<br>> will also explain why these need to be set:<br>> <a href="http://www.samba.org/samba/docs/man/Samba-Guide/">http://www.samba.org/samba/docs/man/Samba-Guide/</a><br>><br>> (Don't they teach this sort of thing in RHCE courses?)
<br>><br>> But yes, we need complete config files and logs from all relevant<br>> machines. Both the log.smbd and log.nmbd files, as well as the log<br>> files specific to the machines doing the sharing (
ipaddress.log or<br>> hostname.log in /var/log/samba/). They will explain whether it's an<br>> issue with SMB (the actual file-sharing daemon) or a problem with NMB<br>> (the name lookup/resolution daemon).
<br>><br>> You can of course test this a little further by connecting to the<br>> machine in question by IP rather than by hostname.<br>><br>> -Dan<br>><br>> --<br>> ubuntu-au mailing list
<br>> <a href="mailto:ubuntu-au@lists.ubuntu.com">ubuntu-au@lists.ubuntu.com</a> <mailto:<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>> <<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-au">https://lists.ubuntu.com/mailman/listinfo/ubuntu-au</a>><br>><br>><br>><br>
><br>> --<br>> 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.