LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-02-2013, 08:27 AM   #1
jogus
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
SAMBA using external LDAP server


Hi all

Currently I have a server running samba 2.3 and openldap in Debian wheezy. Everything is working ok, authentication for Linux and Windows and samba shares.

I've configured a new LDAP server with openldap and GoSA. Linux machines can authenticate, passwords can expire and be changed so it is working fine at this point since desktops ldap config is pointing to the new LDAP server

The problem is with the windows clients. They are already in the Domain (is a PDC). I have changed the ldap values in samba.conf and restarted the service but samba is still authenticating with the old information (cached somewhere?). Samba is not updating users, passwords and groups from the new *external* LDAP. I can see the old users/groups when I run smbldap-userlist or smbldap-grouplist.

When I log on in a windows client it authenticates with the user/password from the old LDAP but when I try to access to a shared samba resource then it accepts the user/password from the new LDAP. Is this normal?

I have modified also ldap.conf file in the samba server to point the new LDAP server. Is there something I need to change apart from smb.conf and/or ldap.conf?

Many thanks for your help

Last edited by jogus; 07-02-2013 at 11:47 AM.
 
Old 07-05-2013, 09:41 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 658

Rep: Reputation: 66
Hello

You can try by removing samba cache files /var/cache/samba

Or by trying

testparm -v|grep cache

Thanks
 
  


Reply


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
Basic Samba Server or Active Directory Central Login via LAM/LDAP/SAMBA metallica1973 Linux - Server 5 06-09-2010 11:27 AM
File Server + Samba + LDAP + Backup Server pawan_lal Linux - Server 1 05-11-2009 11:10 AM
Samba auth against a external LDAP server rafa_gallego Linux - Server 1 10-16-2008 03:56 PM
Centos samba server authenticating with windows LDAP server GuodMan Linux - Server 4 10-03-2008 01:56 AM
creating a sychronized suse server with windows server with ldap samba chars098 Linux - Server 0 06-17-2008 08:22 PM


All times are GMT -5. The time now is 04:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration