Automount LDAP home folders in client machines

Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
0
down vote
favorite
I have created couple of users on my ldap, and setup a couple of ubuntu ldap client machines, where users can login with their accounts. I now want to share their home folders and make it centralised in all the client machines. Below are the steps I did:
On the LDAP server machine
I installed the nfs server package:
apt-get install nfs-kernel-serverOn my ldap server the home folders are saved in
/home/usersfolder, so I created a folder on the machine server and named it/home/usersI modified
/etc/exportsto export home directories on LDAP server to client by adding this line:/home/users *(rw,no_root_squash,no_subtree_check,no_wdelay,sync)
On the LDAP client machine
I install the client nfs software:
apt-get install nfs-commonI created a folder and named it
/home/usersto match the ones of the ldap server and server machineI modified
/etc/fstaband added the below to make it mounted automatically:192.168.1.10:/home/users /home/users nfs _netdev,auto,hard,intr 0 4
I restarted the machines (both server and clients) to see the effect, but still the home directory of the users are not synchronised, they are totally separate, like on the server machines there is nothing in the /home/users directory, but in the client machines there are folders with the user names in /home/users but they don't have the same data.
I wonder how to make the home folders of my users centralised so that updates are synched across the machines? So that when a user logins in with his account from any machine he can see that his home folder is the same and that his files and folders are there. Any advice please?
mount nfs automounting ldap openldap
add a comment |Â
up vote
0
down vote
favorite
I have created couple of users on my ldap, and setup a couple of ubuntu ldap client machines, where users can login with their accounts. I now want to share their home folders and make it centralised in all the client machines. Below are the steps I did:
On the LDAP server machine
I installed the nfs server package:
apt-get install nfs-kernel-serverOn my ldap server the home folders are saved in
/home/usersfolder, so I created a folder on the machine server and named it/home/usersI modified
/etc/exportsto export home directories on LDAP server to client by adding this line:/home/users *(rw,no_root_squash,no_subtree_check,no_wdelay,sync)
On the LDAP client machine
I install the client nfs software:
apt-get install nfs-commonI created a folder and named it
/home/usersto match the ones of the ldap server and server machineI modified
/etc/fstaband added the below to make it mounted automatically:192.168.1.10:/home/users /home/users nfs _netdev,auto,hard,intr 0 4
I restarted the machines (both server and clients) to see the effect, but still the home directory of the users are not synchronised, they are totally separate, like on the server machines there is nothing in the /home/users directory, but in the client machines there are folders with the user names in /home/users but they don't have the same data.
I wonder how to make the home folders of my users centralised so that updates are synched across the machines? So that when a user logins in with his account from any machine he can see that his home folder is the same and that his files and folders are there. Any advice please?
mount nfs automounting ldap openldap
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have created couple of users on my ldap, and setup a couple of ubuntu ldap client machines, where users can login with their accounts. I now want to share their home folders and make it centralised in all the client machines. Below are the steps I did:
On the LDAP server machine
I installed the nfs server package:
apt-get install nfs-kernel-serverOn my ldap server the home folders are saved in
/home/usersfolder, so I created a folder on the machine server and named it/home/usersI modified
/etc/exportsto export home directories on LDAP server to client by adding this line:/home/users *(rw,no_root_squash,no_subtree_check,no_wdelay,sync)
On the LDAP client machine
I install the client nfs software:
apt-get install nfs-commonI created a folder and named it
/home/usersto match the ones of the ldap server and server machineI modified
/etc/fstaband added the below to make it mounted automatically:192.168.1.10:/home/users /home/users nfs _netdev,auto,hard,intr 0 4
I restarted the machines (both server and clients) to see the effect, but still the home directory of the users are not synchronised, they are totally separate, like on the server machines there is nothing in the /home/users directory, but in the client machines there are folders with the user names in /home/users but they don't have the same data.
I wonder how to make the home folders of my users centralised so that updates are synched across the machines? So that when a user logins in with his account from any machine he can see that his home folder is the same and that his files and folders are there. Any advice please?
mount nfs automounting ldap openldap
I have created couple of users on my ldap, and setup a couple of ubuntu ldap client machines, where users can login with their accounts. I now want to share their home folders and make it centralised in all the client machines. Below are the steps I did:
On the LDAP server machine
I installed the nfs server package:
apt-get install nfs-kernel-serverOn my ldap server the home folders are saved in
/home/usersfolder, so I created a folder on the machine server and named it/home/usersI modified
/etc/exportsto export home directories on LDAP server to client by adding this line:/home/users *(rw,no_root_squash,no_subtree_check,no_wdelay,sync)
On the LDAP client machine
I install the client nfs software:
apt-get install nfs-commonI created a folder and named it
/home/usersto match the ones of the ldap server and server machineI modified
/etc/fstaband added the below to make it mounted automatically:192.168.1.10:/home/users /home/users nfs _netdev,auto,hard,intr 0 4
I restarted the machines (both server and clients) to see the effect, but still the home directory of the users are not synchronised, they are totally separate, like on the server machines there is nothing in the /home/users directory, but in the client machines there are folders with the user names in /home/users but they don't have the same data.
I wonder how to make the home folders of my users centralised so that updates are synched across the machines? So that when a user logins in with his account from any machine he can see that his home folder is the same and that his files and folders are there. Any advice please?
mount nfs automounting ldap openldap
asked Jul 20 at 7:27
Tak
261413
261413
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f457359%2fautomount-ldap-home-folders-in-client-machines%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password