FreeIPA Server & Client
-
@brianlittlejohn said in FreeIPA Server & Client:
@AlyRagab I have connected Linux Mint, to a CentOS freeIPA server.
if the problem is not related to compatibility issues so may be the problem is related to PAM Configuration , so the question here is did you do any manual configuration to any of the PAM Modules ? , do i need to do for the Module that responsible for the authentication through the login screen in Ubuntu ?.
-
@AlyRagab I had to manually change a few things. I don't remember what exactly, I was just testing thing, I was following a guide online. My linux skills are still in development.
-
@AlyRagab said in FreeIPA Server & Client:
So what about Ubuntu , i have a client with a lot of ubuntu 14.04 as workstations , do i need to install the FreeIPA on a Ubuntu Server to be compatible with ubuntu workstations ?.
No, FreeIPA is FreeIPA.
-
@brianlittlejohn said in FreeIPA Server & Client:
@AlyRagab I have connected Linux Mint, to a CentOS freeIPA server.
Which Mint?
-
@stacksofplates at the time it was 17.3
-
@AlyRagab said in FreeIPA Server & Client:
So what about Ubuntu , i have a client with a lot of ubuntu 14.04 as workstations , do i need to install the FreeIPA on a Ubuntu Server to be compatible with ubuntu workstations ?.
No you can use CentOS. The issue here is the difference in version of client to server.
-
@brianlittlejohn said in FreeIPA Server & Client:
@stacksofplates at the time it was 17
Ya, that's 14.04. Probably why it worked.
-
So this page http://www.freeipa.org/page/Client says SSSD should be backwards compatible. It's just the ipa-admintools that is not backwards compatible.
-
@stacksofplates said in FreeIPA Server & Client:
So this page http://www.freeipa.org/page/Client says SSSD should be backwards compatible. It's just the ipa-admintools that is not backwards compatible.
yes you are right , because when i installed the ipa-admintools then run the command "ipa find-user --all " it showed this error " ipa: ERROR: 2.65 client incompatible with 2.49 server at u'https://ipa.example.com/ipa/xml' "
but now i am thinking that i have to change something related to the PAM Modules that responsible for the authentication through the client login screen but what is that ? -
@AlyRagab said in FreeIPA Server & Client:
@stacksofplates said in FreeIPA Server & Client:
So this page http://www.freeipa.org/page/Client says SSSD should be backwards compatible. It's just the ipa-admintools that is not backwards compatible.
yes you are right , because when i installed the ipa-admintools then run the command "ipa find-user --all " it showed this error " ipa: ERROR: 2.65 client incompatible with 2.49 server at u'https://ipa.example.com/ipa/xml' "
but now i am thinking that i have to change something related to the PAM Modules that responsible for the authentication through the client login screen but what is that ?Your config had the sss module and nsswitch.conf was calling sss, I'm not sure what's missing. I tried your system-auth and password-auth files on one of my machines and they worked.
-
Your config had the sss module and nsswitch.conf was calling sss, I'm not sure what's missing. I tried your system-auth and password-auth files on one of my machines and they worked.
i will re-install the IPA server and client again and tell you the result
-
i have tested it again :
FreeIPA Server on CentOS 7
FreeIPA Client on Ubuntu 14.04
and everything is working fine now after following this Link
http://www.techs2resolve.in/2015/06/how-to-add-client-to-freeipa-server.html
Thank You All -
@AlyRagab said in FreeIPA Server & Client:
i have tested it again :
FreeIPA Server on CentOS 7
FreeIPA Client on Ubuntu 14.04
and everything is working fine now after following this Link
http://www.techs2resolve.in/2015/06/how-to-add-client-to-freeipa-server.html
Thank You AllThat's what I usually do. The install process is so fast and easy that it's almost not worth it to troubleshoot problems.
-
@stacksofplates said in FreeIPA Server & Client:
@AlyRagab said in FreeIPA Server & Client:
i have tested it again :
FreeIPA Server on CentOS 7
FreeIPA Client on Ubuntu 14.04
and everything is working fine now after following this Link
http://www.techs2resolve.in/2015/06/how-to-add-client-to-freeipa-server.html
Thank You AllThat's what I usually do. The install process is so fast and easy that it's almost not worth it to troubleshoot problems.
the problem was related to PAM Configuration to allow the authentication by the login screen
-
But now regarding this setup , if the user login on a machine and saved his files on his home directory , when he logs again on other machine he will not get his files , so how can we make all user's files saved on the server and the client just is mounting his home directory ?.
-
@AlyRagab said in FreeIPA Server & Client:
But now regarding this setup , if the user login on a machine and saved his files on his home directory , when he logs again on other machine he will not get his files , so how can we make all user's files saved on the server and the client just is mounting his home directory ?.
If you set up an NFS server and use ipa-client-automount you can set it up on the client. You have to set up the auto mount in FreeIPA first though. For home directories you will want to use an indirect mount.
-
@stacksofplates said in FreeIPA Server & Client:
@AlyRagab said in FreeIPA Server & Client:
But now regarding this setup , if the user login on a machine and saved his files on his home directory , when he logs again on other machine he will not get his files , so how can we make all user's files saved on the server and the client just is mounting his home directory ?.
If you set up an NFS server and use ipa-client-automount you can set it up on the client. You have to set up the auto mount in FreeIPA first though. For home directories you will want to use an indirect mount.
now i have configured the NFS to export the /home in the same server of the IPA Server ,
should i use the autofs configuration on the client or just the command ipa-client-automount ?
also what i should do from the ipa server ? -
@AlyRagab said in FreeIPA Server & Client:
@stacksofplates said in FreeIPA Server & Client:
@AlyRagab said in FreeIPA Server & Client:
But now regarding this setup , if the user login on a machine and saved his files on his home directory , when he logs again on other machine he will not get his files , so how can we make all user's files saved on the server and the client just is mounting his home directory ?.
If you set up an NFS server and use ipa-client-automount you can set it up on the client. You have to set up the auto mount in FreeIPA first though. For home directories you will want to use an indirect mount.
now i have configured the NFS to export the /home in the same server of the IPA Server ,
should i use the autofs configuration on the client or just the command ipa-client-automount ?
also what i should do from the ipa server ?Dont do the manual set up on the client. On the IPA server, under the automount tab just configure where you want the mount to come from. Then on the client run ipa-install-automount and it will set everything.