Samba Upgrade Offers Greater Flexibility

執筆者
Timothy Dyck
Timothy Dyck
Published: Nov 5, 2001
Updated: Feb 2, 2021
2 minute read
eWeek のコンテンツおよび製品のおすすめは、編集上の独立性を保っています。パートナーへのリンクをクリックすると、当社が報酬を得る場合があります。 詳細を見る

Samba, the Windows-compatible file and print server, takes a major manageability step forward with Version 2.2.2, providing new flexibility for administrators who want to use Unix servers as Windows file servers.

The open-source Samba (downloadable from www.samba.org) also makes it easier than ever before to integrate Unix workstations into a Windows environment.

The 2.2.2 update, which became available last month, includes a new component called winbind that provides real-time directory integration between a Unix workstation and a Windows NT or Windows 2000 domain controller.

“All of a sudden, you get single sign-on, with no maintenance of users,” said Jeremy Allison, a Samba lead developer, in San Jose, Calif.

Not only does winbind make Samba much easier to administer, but it also has profound implications for many other Unix programs.

The winbind component uses PAM (Pluggable Authentication Module), found in Linux and Solaris, to make the Windows directory a native authentication back end for the many PAM-aware Unix programs.

Once we had made the appropriate PAM configuration file changes, we could log in to a Linux workstation at the console using any Windows domain account (including using accounts in trusted domains). We could also use Windows accounts to log in to GNOME, or GNU Network Object Model Environment (KDE, or K Desktop Environment, should work as well, although we didnt test this), or to access the server using Secure Shell or FTP.

Previous versions of Samba required that administrators manually create a Unix user name that matched the account name of a Windows user (if per-user security was required) or use a mapping file that statically matched Windows user names (or groups of user names) to Unix user names.

For us at eWeek Labs, this meant we used Samba servers only for public file shares open to everyone to avoid having to manually keep Windows and Unix user directories in sync. (We mapped all Windows domain names to a “nobody” Unix user.)

Winbind does this mapping dynamically, creating a local user ID on the fly and storing the result so the mapping is permanent. However, the mapping is generated and stored locally, so winbind could have interoperability problems with other winbind-equipped servers sharing data using Network File System (which might have the same Windows account mapped to a different Unix user ID).

Advertisement

The Samba development team is working on ways to keep the winbind ID mappings in sync between multiple machines and expects to release code for this in the next few months.

Timothy Dyck

Timothy Dyck is a Senior Analyst with eWEEK Labs. He has been testing and reviewing application server, database and middleware products and technologies for eWEEK since 1996. Prior to joining eWEEK, he worked at the LAN and WAN network operations center for a large telecommunications firm, in operating systems and development tools technical marketing for a large software company and in the IT department at a government agency. He has an honors bachelors degree of mathematics in computer science from the University of Waterloo in Waterloo, Ontario, Canada, and a masters of arts degree in journalism from the University of Western Ontario in London, Ontario, Canada.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

TechnologyAdvice が所有・運営しています。 © 2026 TechnologyAdvice. 無断転載を禁じます

広告主に関する開示:このサイトに掲載されている製品の一部は、TechnologyAdvice が報酬を受け取っている企業のものです。この報酬は、製品がこのサイトのどこにどのように表示されるか(表示される順序など)に影響する場合があります。TechnologyAdvice は、市場で入手可能なすべての企業やすべての種類の製品を掲載しているわけではありません。