LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ldap nfs login issue (https://www.linuxquestions.org/questions/linux-software-2/ldap-nfs-login-issue-341608/)

berrance 07-09-2005 10:30 AM

ldap nfs login issue
 
right i im having a little trouble logging into my computer. first i will explain my setup.

i have a server acting as a LDAP server where all other PCs logonto and all home folders are stored on this server and shared with NFS and are mounted at /home on all the PCs.

Now for the problem

whenever i try to loginto one of the PCs with a LDAP account it will crash however if i first loginto the PC as root (non ldap user) and then logout and then try to login with a LDAP account all is fine! strang i know.

but this problem only happens in kdm (havent tried GDM) and i have only tried logging into KDE!

the way the Home folders are shared and mounted could be the problem as they only have the options of rw, should i add some thing els hear?

if i login through console it allworks and it picks my home folder up ok wih al its contents, i am almost certain that it is not an ldap problem not sure about nfs though and im sure it isnt a kdm or kde problem as it has happend with kde 3.2,3,4 so far and on diffrent PCs.

my server is running SLES9 (Suse linux enterprise server) and my PCs are running Suse 9.3.

any one got any ideas?

thanks in advance for any help

berrance

xjlittle 12-09-2006 05:46 PM

Hello

First make sure that all of your workstations are joined to the domain, that your smb.conf file points to the correct domain controller, that the ldap password is setup on each of the workstations, and that the Domain SID is added to the secrets tdb. Running testparm should indicate that each of these machines are at least a member server.

Second your exports file should look something like:
jslittl@fp3lb:~> cat /etc/exports
/home *(rw,no_root_squash,sync)
jslittl@fp3lb:~>

If you make changes issue the command:
exportfs -ra
It will return without output if no errors

When you say that you are logging into the console is the method that you are using (ssh, telnet etc) setup to authenticate against the ldap server?

Also make sure that the file system modules are installed on the local machine that are the same as the file system on the master machine. You might also check and see if kde requires some sort of vfs library like gnome does.

hth


All times are GMT -5. The time now is 03:02 PM.