LFCS · Question #635
How can the risk of UID/GID inconsistencies be avoided across UNIX/Linux systems that are sharing information over protocols other than SMB/CIFS (eg: NFS)?
The correct answer is A. Specify a common LDAP idmap backend in smb.conf. This question addresses how to achieve UID/GID consistency across UNIX/Linux systems when sharing information via protocols like NFS, which is critical for consistent access control and permissions.
Question
Options
- ASpecify a common LDAP idmap backend in smb.conf.
- BSpecify a common Kerberos realm in smb.conf.
- CSpecify a common domain name in smb.conf.
- DSpecify a common password server in smb.conf.
- ESpecify a common winbind id range in smb.conf.
How the community answered
(39 responses)- A77% (30)
- B3% (1)
- C10% (4)
- D8% (3)
- E3% (1)
Why each option
This question addresses how to achieve UID/GID consistency across UNIX/Linux systems when sharing information via protocols like NFS, which is critical for consistent access control and permissions.
To ensure UID/GID consistency across UNIX/Linux systems for services like NFS, establishing a common LDAP identity mapping backend is the most effective solution. By centralizing user and group information and their corresponding IDs in an LDAP directory, all systems can query this single source for consistent mappings, ensuring uniform access control irrespective of the sharing protocol used.
Specifying a common Kerberos realm primarily provides centralized authentication and single sign-on, but does not inherently guarantee consistent UID/GID mapping across all systems for file sharing.
A common domain name primarily aids in network naming resolution but does not directly provide centralized UID/GID mapping to prevent inconsistencies.
Specifying a common password server (like NIS) provides centralized user authentication, but LDAP offers a more robust and flexible solution for centralized ID mapping for both users and groups.
Specifying a common Winbind ID range in `smb.conf` is for Samba's internal ID mapping within a Windows domain context and does not directly solve UID/GID inconsistencies for native UNIX services like NFS.
Concept tested: Centralized UID/GID management for UNIX/Linux
Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.