Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-23-2006, 05:33 AM   #1
LQ Newbie
Registered: Mar 2006
Posts: 5

Rep: Reputation: 0
Linux client login to domain need help!!!

Unable to login to the domain from a linux client.
The Domain Controller is a Linux samba server.

Sometimes I get a listing of members available on the domain, but if I click to select and type the password I get Wrong username or password, but I am sure I've typed it correctly. Sometimes it says that my password file is not accesable becaus of to restrictive permissions.

Is there anyone with a how-to on a Linux-only domain?
Anyone who has experience with login into a domain, where the DC is also Linux, with a Linux client?


The error I receive is changed in:

Your personal Folder is configured as:
But this does not seem to exsist.
Do you want to Logon with the MainFolder '/' as your personal map

Please help!!!

Last edited by Nebiros; 03-23-2006 at 05:45 AM.
Old 03-23-2006, 07:33 AM   #2
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
how do you serve you Samba PDC? are you using an LDAP backend like openldap? if you are you could try and use a LDAP client.

but that issue your getting now is a PAM module issue, you'll want to add something like this into your pam module

session required skel=/etc/skel/ umask=0022
Old 03-23-2006, 09:57 AM   #3
LQ Newbie
Registered: Mar 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I am using Suse Linux 10, and the YaST which comes with that.

I didn't setup any LDAP on my system, because I believe it should be possible without it...
I don't want to do anything more then needed offcourse...

I am trying to configure PAM right now...

I've added
session required skel=/etc/skel/ umask=0022
to /etc/pam.d/other

too bad i can't test anymore today... but do you think this is enough?
Old 04-29-2006, 11:19 AM   #4
LQ Newbie
Registered: Apr 2006
Location: Ankara \ TURKIYE
Distribution: Red Hat Enterprise 4
Posts: 19

Rep: Reputation: 0
creating home directories..

hi I had the same problem a few days ago..
The solition is /etc/pam.d/ files

login -> the pam module used by console logins ()
kde -> the pam module used by KDE

firstly I will tell about "/etc/pam.d/login" file :
auth required
auth required service=system-auth
auth required
account required service=system-auth
password required service=system-auth
# close should be the first session rule
session required close
session required service=system-auth
session required
session optional
# open should be the last session rule
session required open

# /home/<DOMAIN> must have been created first!!! if you added default home directories for domain user; in that way !!
session required skel=/etc/skel/ umask=0022
focus on the last line;
whenener a new user is added to a linux then the default home directory skeleton is in "/etc/skel" just user is added the files are copied to users home directory.

but login is used when you log on a machine over console not KDE or GNOME (x server)
if you use kde ; try adding the same line to "/etc/pam.d/kde"
gnome "/etc/pam.d/gnm" (not sure if gnm was true ! )

I was succesful.
I added a user to domain ; then logged in after editing only
important note :
if I try to login console first and then x; it works; because directories are created when loogin from console..
I had not edited "/etc/pam.d/kdm" file first..
after editing this; I created another new user and looged on using x.

I wish this will be helpfull.
have a nice day


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NT domain logon with a slackware linux client??? mrvikki Linux - Networking 2 03-29-2004 09:36 AM
Linux client logging in a window$ 2k domain warned Linux - Networking 3 03-24-2004 02:04 AM
Linux Client on an NT Domain aaronruss Linux - Newbie 1 03-23-2004 12:32 AM
linux client authenticating windows domain mbtoys Linux - Networking 0 08-21-2003 09:10 AM
An Easy way to get a Linux Client into the Samba Domain ikw38 Linux - Networking 0 07-11-2003 12:34 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration