LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-07-2007, 02:55 AM   #1
goatbadger
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Rep: Reputation: 0
ADS login via telnet on SLES 10


Hi,

I am trying to set up our SLES 10 user accounts so they can log in
with =
their windows 2000 server active directory credentials.
This works for console GUI login, and even if you su, but we get the following error at the text login prompt:

login: EURO_NT\fred
Password for EURO_NT\fred:
login: Client not found in Kerberos database while getting initial credentials
Login incorrect

I also get the following errors when doing a net ads join:
[2007/03/06 09:16:47, 0] libads/kerberos.c:get_service_ticket(399)
get_service_ticket: kerberos_kinit_password =
DIONYSUS$@EUROLIFE.CO.UK@EUROLIFE.CO.UK failed: Preauthentication
failed
[2007/03/06 09:16:47, 0] libads/kerberos.c:get_service_ticket(399)
get_service_ticket: kerberos_kinit_password =
DIONYSUS$@EUROLIFE.CO.UK@EUROLIFE.CO.UK failed: Preauthentication
failed
[2007/03/06 09:16:47, 0] libads/kerberos.c:get_service_ticket(399)
get_service_ticket: kerberos_kinit_password =
DIONYSUS$@EUROLIFE.CO.UK@EUROLIFE.CO.UK failed: Preauthentication
failed
................
Joined 'DIONYSUS' to realm 'EUROLIFE.CO.UK'

Although, bar the above, joining the domain seems to be successful.

smb.conf:
[global]
workgroup = EURO_NT
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
idmap gid = 10000-20000
idmap uid = 10000-20000
realm = EUROLIFE.CO.UK
security = ADS
template homedir = /home/%D/%U
template shell = /bin/bash
winbind refresh tickets = yes
add machine script = /usr/sbin/useradd -c Machine -d = /var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = No
netbios name = DIONYSUS
# comment = Neptune Linux Server Thing
# password server = *
passdb backend = smbpasswd
wins server = 10.1.0.2
wins support D No

krb5.conf:
[libdefaults]
default_realm = EUROLIFE.CO.UK
clockskew = 300

[realms]
EUROLIFE.CO.UK = {
kdc = 10.1.0.2
default_domain = eurolife.co.uk
admin_server = 10.1.0.2
wins_server = 10.1.0.2
kpasswd_server = 10.1.0.2
}

[logging]
kdc = FILE:/var/log/krb5/krb5kdc.log
admin_server = FILE:/var/log/krb5/kadmind.log
default = SYSLOG:NOTICEAEMON
[domain_realm]
.eurolife.co.uk = EUROLIFE.CO.UK
[appdefaults]
pam = {
ticket_lifetime = 1d
renew_lifetime = 1d
forwardable = true
proxiable = false
retain_after_close = false
minimum_uid = 0
try_first_pass = true
}

Thanks for any help!

Kind regards,
goatBadger
 
Old 03-15-2007, 04:44 AM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
Well, this might help you on your way, i've never used telnet before, but if there is a pam module then you could just follow this how-to here.

There is also a Video how-to that i'm trying out to see if people like that way.

http://www.opensourcehowto.org/how-t...pam--ldap.html
 
  


Reply



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
Telnet Login _ AsiF Linux - Networking 8 01-10-2008 06:50 PM
remote root login to SLES X display tlemons Linux - Software 4 06-22-2006 10:06 AM
Login against ADS dumbsheep Linux - Networking 1 10-20-2005 01:28 AM
IBM ads vs. the Intel ads on TV vharishankar General 1 03-16-2005 05:47 AM
Can't login with TELNET for ROOT sjcollier Linux - Newbie 5 08-17-2003 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:45 PM.

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