Samba 4.8 to squish scaling bug that Tridge himself coded in 2009

French government is going large with open source file server, new tweaks will help

By Simon Sharwood, APAC Editor

Posted in Software, 24th January 2018 02:00 GMT

File and print services project Samba will fix a slew of bugs that have made it hard for the project to scale in version 4.8, due in March.

Samba developer Andrew Bartlett yesterday gave a speech at LinuxConfAU, titled Fixing tridge's mistakes: Taking Samba AD to scale, in which he admitted that in 2009 the project’s founding developer, Andrew Tridgell, made a boo-boo by forgetting to enable database locking during reads. The result has been years of difficulty scaling Samba as LDAP rules require that databases be consistent. Unlocked databases meant records could change even as they were being read, with less-than-brilliant scaling the result.

That’ll be fixed now, in part because Bartlett said Samba is now being asked to operate at serious scale. The French Government, he said, plans to migrate whole departments to Samba in the near future.

Samba 4.8 will also address an indexing issue that has slowed the server by up to 30 per cent.

Other looming enhancements include an increase in maximum database size beyond four gigabytes, adding multi-process LDAP to add scale and automated logging.

“We are surprised we got this far without auto-logging,” Bartlett confessed, adding that Samba will soon spit out lovely loads of JSON.

Another tweak will fix a problem that could cause data loss when conducting an in-place upgrade of Samba 4.6 to 4.7.

Bartlett said Samba’s developers are now confident the code’s ready for enterprise use, thanks to the fact that HPE recently came calling with a request to get Samba working again on HP-UX. Bartlett told the conference that request sparked a double-take or two, but that Samba developers are confident they can deliver. ®

Sign up to our NewsletterGet IT in your inbox daily


More from The Register

Linux kernel hardeners Grsecurity sue open source's Bruce Perens

Updated Our customer contract doesn't violate GPLv2, biz insists in defamation lawsuit

Open source Elastic analytics snaps into Google's Cloud Platform

"Openness a driving force" says Google

Open source turns 20 years old, looks to attract normal people

Feature Who knew sharing would transform an industry?

BIG open-source love Microsoft and Google? You still won't catch AWS

Code alone won't win the day

Open-source civil war: Olive branch offered in trademark spat... with live grenade attached

Software Freedom Law Center claims Software Freedom Conservancy committed fraud

Oracle open-sources DTrace under the GPL

Which makes lots of sysadmins' fave tracing tool cool for Linux

You're doing open source wrong, Microsoft tsk-tsk-tsks at Google: Chrome security fixes made public too early

Redmond wags its finger

Mozilla hoping to open source voice samples for future AI devs

Prying open speech recognition

Rackspace ends discount hosting for open source projects

Clarifies axe fell only on new applicants, not existing users, after fanatical disappointment

Australia to probe Web giants' impact on news, ads, competition

Google, Facebook, named as worthy of inquiry