nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

ldap+samba authentication problem

This is a discussion on ldap+samba authentication problem within the Linux software forums, part of the Linux Getting Started category; I'm having troubles setting up a client(with Ubuntu 8.10) for a ldap+samba server. I can't authenticate through the client with ...

Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-04-2008, 09:19 PM
capibolso's Avatar
Junior Member
User
 
Join Date: Jan 2008
Location: Montevideo, Uruguay
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
capibolso will become famous soon enough
Default ldap+samba authentication problem

I'm having troubles setting up a client(with Ubuntu 8.10) for a ldap+samba server. I can't authenticate through the client with gdm, the messages I have in /etc/auth.log at the client is

Code:
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: nss_ldap: failed to bind to LDAP server ldap://192.168.0.1: Invalid credentials
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: nss_ldap: could not connect to any LDAP server as cn=administrator,dc=foo,dc=com - Can't contact LDAP server
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: nss_ldap: failed to bind to LDAP server ldapi:///192.168.0.1: Can't contact LDAP server
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: nss_ldap: failed to bind to LDAP server ldap://192.168.0.1/: Invalid credentials
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: nss_ldap: could not search LDAP server - Server is unavailable
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: pam_unix(gdm:auth): check pass; user unknown
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: pam_unix(gdm:auth): authentication failure; logname= uid=0 euid=0 tty=:20 ruser= rhost= 
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: nss_ldap: failed to bind to LDAP server ldap://192.168.0.1: Invalid credentials
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: nss_ldap: could not connect to any LDAP server as cn=administrator,dc=foo,dc=com - Can't contact LDAP server
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: nss_ldap: failed to bind to LDAP server ldapi:///192.168.0.1: Can't contact LDAP server
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: nss_ldap: failed to bind to LDAP server ldap://192.168.0.1/: Invalid credentials
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: nss_ldap: could not search LDAP server - Server is unavailable
Dec  4 14:21:56 myuser-mydesktop gdm[14815]: gkr-pam: error looking up user information
But
Code:
finger ldapuser
getent passwd | grep ldapuser
both works fine and
Code:
		pamtest passwd ldapuser
		Trying to authenticate ldapuser for service passwd.
		Password:******
		Authentication successful.
		
		pamtest login ldapuser
		Trying to authenticate ldapuser for service login.
		Password:******
		Authentication successful


Any help would be appreciated!

Last edited by capibolso; 12-04-2008 at 10:47 PM.
Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
LDAP authentication pansarevai Ubuntu / Debian 0 01-09-2008 03:42 PM
Ldap authentication on the basis of Mac address bijayant Networking, Firewalls and Security 0 08-01-2007 11:47 AM
Problem with proxy authentication in win32-loader bouffa Getting started tutorials 2 06-01-2007 01:38 AM
Problem with Samba puppen Linux software 0 05-06-2006 08:09 PM
Samba Problem sonaikar Linux software 1 04-26-2005 12:18 PM


All times are GMT +5.5. The time now is 04:52 AM.


Powered by vBulletin® Version 3.8.3 - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36