Difference between revisions of "Libnfsidmap"
From CBLFS
Jump to navigationJump to search (→Multilib: Added a quick patch that's required for 0.25 and above seeing how they hard-code their plugins path) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap- | + | | http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-{{Libnfsidmap-Version}}.tar.gz |
|} | |} | ||
Line 18: | Line 18: | ||
Configure and compile the package: | Configure and compile the package: | ||
− | ./configure --prefix=/usr | + | ./configure --prefix=/usr && |
make | make | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | install -m644 -v idmapd.conf /etc/idmapd.conf | ||
== Multilib == | == Multilib == | ||
Line 29: | Line 30: | ||
=== 32Bit === | === 32Bit === | ||
− | + | Configure and compile the package: | |
+ | |||
+ | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install | ||
=== N32 === | === N32 === | ||
− | + | ||
+ | Configure and compile the package: | ||
+ | |||
+ | sed -i "/PATH_PLUGINS/s:/usr/lib:&32:" libnfsidmap.c | ||
+ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | ||
+ | --libdir=/usr/lib32 && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install | ||
=== 64Bit === | === 64Bit === | ||
− | + | Configure and compile the package: | |
+ | |||
+ | sed -i "/PATH_PLUGINS/s:/usr/lib:&64:" libnfsidmap.c | ||
+ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | ||
+ | --libdir=/usr/lib64 && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install && | ||
+ | install -m644 -v idmapd.conf /etc/idmapd.conf | ||
+ | |||
+ | == Configuring == | ||
+ | |||
+ | === idmapd.conf === | ||
+ | |||
+ | Create a basic idmapd.conf, You can use the configuration file installed above as a base, edit as you see fit: | ||
+ | |||
+ | cat > /etc/idmapd.conf << "EOF" | ||
+ | # Begin /etc/idmapd.conf | ||
+ | |||
+ | [General] | ||
+ | Domain = ''<dns domain>'' | ||
+ | |||
+ | [Translation] | ||
+ | Method = nsswitch | ||
+ | |||
+ | # End of /etc/idmapd.conf | ||
+ | EOF | ||
+ | |||
+ | [[Category:General Libs]] |
Latest revision as of 05:39, 8 July 2013
Download Source: | http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-0.25.tar.gz |
---|
Contents
Introduction to Libnfsidmap
Library to help mapping id's, mainly for NFSv4.
Project Homepage: http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/
Dependencies
Optional
Non-Multilib
Configure and compile the package:
./configure --prefix=/usr && make
Install the package:
make install && install -m644 -v idmapd.conf /etc/idmapd.conf
Multilib
32Bit
Configure and compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr && make
Install the package:
make install
N32
Configure and compile the package:
sed -i "/PATH_PLUGINS/s:/usr/lib:&32:" libnfsidmap.c CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ --libdir=/usr/lib32 && make
Install the package:
make install
64Bit
Configure and compile the package:
sed -i "/PATH_PLUGINS/s:/usr/lib:&64:" libnfsidmap.c CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --libdir=/usr/lib64 && make
Install the package:
make install && install -m644 -v idmapd.conf /etc/idmapd.conf
Configuring
idmapd.conf
Create a basic idmapd.conf, You can use the configuration file installed above as a base, edit as you see fit:
cat > /etc/idmapd.conf << "EOF" # Begin /etc/idmapd.conf [General] Domain = <dns domain> [Translation] Method = nsswitch # End of /etc/idmapd.conf EOF