<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>Has anyone run across a good Samba 4 tutorial on the web for setting up an AD domain for someone not already very familiar with the Windows Active Directory stuff? I've mostly taken care of the Linux side in the past. I have some exp. with Samba 3--I could get it to run as a file/print share but that was about it. Our Win7 boxes (both of them!) currently all have individual logins and user databases but I'd like to learn how to set up Samba 4 as an AD alternative. I'm not that familiar with all the terms and concepts, and the Samba 4 tutorials I've seen seem to assume that knowledge. <br><br><div>Scott<br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Michael Trausch" <mike@trausch.us><br><b>To: </b>"Atlanta Linux Enthusiasts" <ale@ale.org><br><b>Sent: </b>Saturday, July 12, 2014 2:55:23 PM<br><b>Subject: </b>Re: [ale] Switching from Server 2003 to Samba<br><br>Testing, testing, testing.<br><br>Before I go further: I can't speak to anything more recent than about 18<br>months ago, as I haven't had to admin a setup like this for a while.<br>however, it doesn't appear that much has changed.<br><br>Since you have an existing system and you need to migrate, you *NEED* to be<br>given a lab environment that allows you to deploy a mirror of the current<br>AD domain, so that you can test migrating it to e.g., Samba 4. Users need<br>to ensure that all of their applications work correctly, as well. Windows<br>and applications that run on it make many assumptions that may or may not<br>hold true under Samba 4 for a variety of reasons (not the least of which is<br>the fact that it is a different implementation than Microsoft Windows).<br><br>That said, I've had good luck. The major sticking points I ran into:<br><br> - File permissions are an issue. Ensure that you're using POSIX ACLs,<br> and ensure that your Samba configuration is suitably configured to use<br> them. Note, however, that POSIX filesystem permissions and Win32<br> filesystem permissions are two very different beasts, and there will be<br> issues in mapping. Samba 4 does a much better job than Samba 3, but as of<br> the last I used it, they're still not perfect.<br> - Some AD functionality is stubbed out. Ensure that none of the<br> functionality that your users depend on is missing/stubbed.<br> - It's relatively easy to get it to function for UNIX systems as well,<br> but it's better to use FreeIPA to create a trust with the AD server and<br> re-export that way.<br> - In fact, if you're doing this and not going to be running Windows<br> clients after the migration (or are going to be doing this in order to<br> support the addition of UNIX/Linux clients to the network) just deploy a<br> FreeIPA domain.<br> - Also, pay very close attention to the Samba/AD replication. In order<br> to replace the AD server, you're going to have to have Samba 4 configured<br> as a secondary controller, synchronize it with the domain, and then promote<br> it. After promotion of Samba 4, you can demote the Windows box, and then<br> retire it.<br> - Multiple users attempting to work on the same document at the same<br> time was quite broken in Samba 3. It seems to work halfway in Samba 4;<br> instead of fully supporting concurrent access, the first time a file is<br> opened, that process gets the ability to read/write it; all other processes<br> are not allowed to write the file at all.<br><br>Samba 4.1 has support for efficient hosting on top of btrfs and claims<br>better AD replication support, as well as SMB3 encrypted connections. You<br>should be able to implement VSS and server-side copy operations now with<br>Samba 4. (This is on my todo-list to try out.) This means that it can<br>function as a backup destination for the Windows machines on the network,<br>too.<br><br>Full disclosure: The last version of Samba I've had the pain of having to<br>administer was 4.0.3—Samba 4.1 appears to be much better and if it works as<br>advertised, should provide for you a much smoother transition than was<br>previously possible. The network that I had to administer was a Samba 3<br>network for a long time simply because all the systems in the network were<br>happy with NT4-style domains.<br><br>One other thing to note: deploying AD with Samba first seems to be much,<br>much more difficult than installing a temporary microsoft domain controller<br>and then using Samba to take over from it. This seems to have to do with<br>the setup of a lot of the AD-things that Samba 4.0 had stubbed out. This<br>may have changed since then.<br><br><br>On Sat, Jul 12, 2014 at 11:42 AM, Michael Trausch <mike@trausch.us> wrote:<br><br>> I can't do so right this second, but I will post a decent write up of my<br>> experiences for you later today.<br>><br>> Sent from my iPhone<br>><br>> > On Jul 10, 2014, at 3:53 PM, Edward Holcroft <eholcroft@mkainc.com><br>> wrote:<br>> ><br>> > All,<br>> ><br>> > The time has finally come to ditch our Micro$haft file servers as another<br>> > increment towards weaning ourselves of our Windows habit. For now, I have<br>> > to keep Active Directory in the picture, although I have managed to<br>> reduce<br>> > the AD server footprint from 18 servers down to 4. Corporate mindset<br>> issues<br>> > demand small steps.<br>> ><br>> > Question: Is it better to go with an "appliance solution" such as FreeNAS<br>> > vs. distro+Samba?<br>> ><br>> > I played around with FreeNAS a bit and while it has great automation of<br>> > things like AD integration (which I will need to do for now) and a great<br>> > web interface, it seems less flexible when it comes to e.g. backup<br>> options.<br>> > It seems a simple Ubuntu/Samba box gives me many options on how to handle<br>> > our daily backups to USB, while FreeNAS can potentially close doors to<br>> me,<br>> > or at least make things harder. That's just one example that I ran into.<br>> ><br>> > So, I'd like to hear from you about experiences/pros-cons of<br>> appliance-type<br>> > options vs the manual way. I've tried both at a simple test level. They<br>> > both seem viable and I really want to like FreeNAS, but just cannot seem<br>> to<br>> > get comfortable with it - little glitches seem to pop up that have the<br>> > potential to be major sticking points. So right now I'm leaning towards<br>> > distro+Samba.<br>> ><br>> > Feel free to suggest other options besides the two mentioned here.<br>> Whatever<br>> > solution I deploy I have to be able to use Windows ACL's on the shares<br>> ...<br>> > for now.<br>> ><br>> > cheers<br>> > ed<br>> ><br>> > --<br>> > Edward Holcroft | Madsen Kneppers & Associates Inc.<br>> > 11695 Johns Creek Parkway, Suite 250 | Johns Creek, GA 30097<br>> > O (770) 446-9606 | M (770) 630-0949<br>> ><br>> > --<br>> > MADSEN, KNEPPERS & ASSOCIATES USA, MKA Canada Inc.<br>> WARNING/CONFIDENTIALITY<br>> > NOTICE: This message may be confidential and/or privileged. If you are<br>> not<br>> > the intended recipient, please notify the sender immediately then delete<br>> it<br>> > - you should not copy or use it for any purpose or disclose its content<br>> to<br>> > any other person. Internet communications are not secure. You should scan<br>> > this message and any attachments for viruses. Any unauthorized use or<br>> > interception of this e-mail is illegal.<br>> > -------------- next part --------------<br>> > An HTML attachment was scrubbed...<br>> > URL: <<br>> http://mail.ale.org/pipermail/ale/attachments/20140710/5da89949/attachment.html<br>> ><br>> > _______________________________________________<br>> > Ale mailing list<br>> > Ale@ale.org<br>> > http://mail.ale.org/mailman/listinfo/ale<br>> > See JOBS, ANNOUNCE and SCHOOLS lists at<br>> > http://mail.ale.org/mailman/listinfo<br>><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://mail.ale.org/pipermail/ale/attachments/20140712/ea68a15e/attachment.html><br>_______________________________________________<br>Ale mailing list<br>Ale@ale.org<br>http://mail.ale.org/mailman/listinfo/ale<br>See JOBS, ANNOUNCE and SCHOOLS lists at<br>http://mail.ale.org/mailman/listinfo<br></div><br></div></div></body></html>