IDMAP_HASH - Online Linux Manual PageSection : 8
Updated : 04/07/2021
Source : Samba 4​.14​.2
Note : System Administration tools

NAMEidmap_hash − DO NOT USE THIS BACKEND

DESCRIPTIONDO NOT USE THIS PLUGIN The idmap_hash plugin implements a hashing algorithm used to map SIDs for domain users and groups to 31−bit uids and gids, respectively​. This plugin also implements the nss_info API and can be used to support a local name mapping files if enabled via the "winbind normalize names" and "winbind nss info" parameters in smb​.conf​. The module divides the range into subranges for each domain that is being handled by the idmap config​. The module needs the complete UID and GID range to be able to map all SIDs​. The lowest value for the range should be the smallest ID available in the system​. This is normally 1000​. The highest ID should be set to 2147483647​. A smaller range will lead to issues because of the hashing algorithm used​. The overall range to map all SIDs is 0 − 2147483647​. Any range smaller than 0 − 2147483647 will filter some SIDs​. As we can normally only start with 1000, we are not able to map 1000 SIDs​. This already can lead to issues​. The smaller the range the less SIDs can be mapped​. We do not recommend to use this plugin​. It will be removed in a future release of Samba​.

IDMAP OPTIONSname_map Specifies the absolute path to the name mapping file used by the nss_info API​. Entries in the file are of the form "unix name = qualified domain name"​. Mapping of both user and group names is supported​.

EXAMPLESThe following example utilizes the idmap_hash plugin for the idmap and nss_info information​. [global] idmap config * : backend = hash idmap config * : range = 1000−2147483647 winbind nss info = hash winbind normalize names = yes idmap_hash:name_map = /etc/samba/name_map​.cfg

AUTHORThe original Samba software and related utilities were created by Andrew Tridgell​. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed​.
0
Johanes Gumabo
Data Size   :   4,891 byte
man-idmap_hash.8Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 199,206
Visitor ID   :     :  
Visitor IP   :   3.16.212.203   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.