Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-02-2013, 08:27 AM   #1
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
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66

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

Or by trying

testparm -v|grep cache



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 > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration