Computerworld

Active Directory comes to Linux with Samba 4

Features from Samba 3 need to be updated for new release.
Tags | samba | Active Directory | linux.conf.au

Enterprise networks now have an alternative choice to Microsoft Active Directory (AD) servers, with the open source Samba project aiming for feature parity with the forthcoming release of version 4, according to Canberra-based Samba developer Andrew Bartlett.

Speaking at this year's linux.conf.au Linux and open source conference in Hobart, Bartlett said Samba 4 is aiming to be a replacement for AD by providing a free software implementation of Microsoft's custom protocols.

Because AD is "far more than LDAP and Kerberos", Bartlett said, Samba 4 is not only about developing with Microsoft's customisation of those protocols, it is also about moving the project beyond just providing an NT 4 compatible domain manager.

"I've been working on Samba 4 for four years to try and provide a way to not run Microsoft servers at the centre of the network, which then leads to the clients," he said. "But I am a realist and we have implemented the logon server for Samba 4."

Bartlett admitted Samba has a "nasty" reputation for being "impossible to configure" and believes Samba 4 should "just work" without administrators needing to read through documentation first.

"For example, in Samba 4 we generate the DNS configuration and have an optional OpenLDAP backend and we have configured this as we know how Samba needs this setup."

Over the past year Samba 4 has added multi-master replication leveraging OpenLDAP, making Samba no longer a single-server implementation.

"Our users have also demonstrated how smart card logins work. I barely had to do anything in Samba 4 to get this to work. There is support for group policy as Windows clients are impossible to manage without it."

Samba also changed its scripting language to Python which Bartlett says should be easier for administrators, and there are bindings for other tools.

Also new is NTP signing support which allows Windows clients to accept a valid time from a linux server, which is needed for Kerberos authentication to work. Microsoft's own NTP signing protocol is non-standard and uses AD. This has been implemented in Samba 4 and "to say the NTP community was not happy is an understatement".

Bartlett said Samba 4 has had a lot of input from system administrators, but still needs more help.

"Samba is not just C anymore and we are doing more in scripting languages to make it more flexible," he said, adding some new features in Windows are easy to add to Samba via scripting.

"My Russian connection has had Samba 4 running in production since last June and has discovered a few missing features. They also discovered that machines would stop working after 28 days which was something to do with password expiry. We spent a week at Microsoft and discovered Windows would use a call with a string and fill it with random crap. Samba just sent a password of zero to the string and this is probably not the best for security! Samba now has a conversion logic that handles random characters and is then doing normal Kerberos functions on it."

Bartlett said the Samba team now has a good relationship with Microsoft and the password bug was never in any of its documentation so "they never thought it existed".

Microsoft has also provided a copy of its AD schema which can be worked around by the Samba team.

"We still need a lot of help. For example, how much more do we need to do to support Exchange? Letting me know what works and what doesn't is incredibly valuable.”

If people want a Web interface to Samba 4 that is something the community may have to develop. Bartlett said there have been efforts to do this in the past, but they have been removed due to lack of support.

More about: Linux, Microsoft, Red Hat

Comments

1

Anonymous

Mon 23/02/2009 - 23:40

I'm really expecting Samba 4 with lot of features that will degrade the AD in Microsoft. It should be a replacement for Microsoft AD.

--GoodBye Microsoft--

2

Anonymous

Mon 23/02/2009 - 23:46

Hi we are also expecting migration guidelines from Microsoft AD to Samba AD as part of Samba4 release.

3

Anonymous

Sun 24/05/2009 - 19:53

inter site replication

we have an SBS 2k3 AD PDC and win svr std 2003 BDC, and we are adding a 2nd phycical site (for our warehouse) to our business and will need an AD server there. I was hoping to replicate to a new linux box for this role, but I guess it's not quite available yet. :~(

4

Anonymous

Thu 06/08/2009 - 15:38

Bartlett, great work.

5

Anonymous

Thu 12/11/2009 - 22:23

yeah..will be expecting samba more better and good as microsofts AD....It will be a big problem for microsoft...

good work team samba..

6

Swapnil

Sat 19/12/2009 - 22:56

One of the most important factors in Search Engine Optimization is the number of incoming links to your website, the relevance of the website linking to you, the anchor text used for the link, and the page ranking of the webpage linking to you. We have tried it and have found it very useful to increase our page rank on google. We are a tender information portal, www.tradereader.com. We used tenders as our anchor text. We suggest any site to try and increase the backlinks.

7

prasad

Tue 09/02/2010 - 19:35

One of the most important factors in Search Engine Optimization is the number of incoming links to your website, the relevance of the website linking to you, the anchor text used for the link, and the page ranking of the webpage linking to you. We have tried it and have found it very useful to increase our page rank on google. We are a tender information portal, www.tendertiger.com. We used tenders as our anchor text. We suggest any site to try and increase the backlinks

Post new comment

The content of this field is kept private and will not be shown publicly.
Users posting comments agree to the Computerworld comments policy.
Login or register to link comments to your user profile, or you may also post a comment without being logged in.
Related Coverage
Recent Discussions
Whitepapers
All whitepapers
 
Computerworld Community Comments
Sponsored Links
 
Back to top Sitemap
Copyright 2009 IDG Communications. ABN 14 001 592 650. All rights reserved.
Reproduction in whole or in part in any form or medium without express written permission of IDG Communications is prohibited.