Latest LQ Deal: Linux Power User Bundle
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 03-20-2013, 03:19 PM   #1
LQ Newbie
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
Samba 3.6.6 with LDAP Auth

Evening all,
Hoping someone can point me in the right direction.
I'm running the following 3 servers:-
Server 1)
Ubuntu 12.04.2
OpenLDAP (replication partner)
Samba 3.6.6

Server 2)
Ubuntu 11.04
Samba 3.5.8

Server 3)
Ubuntu 12.10
Samba 3.6.6

Server 3 was running Ubuntu 10.04 not sure of the samba version and was OpenLDAP primary server until it suffered a major catastrophe.

I'm currently Auth'ing off the backup Server 1 for SSH and Samba. All 3 servers are happy with this for SSH but only server 2 will serve up samba shares.

I'm connecting to all 3 servers from the same windows machine and it's not on a domain, so should just prompt for password (which it does). but when opening server 1 & 3 I get an error in windows
A device attached to the system is not functioning
and in linux logs
[2013/03/20 20:06:39.117697,  0] auth/check_samsec.c:491(check_sam_security)
  check_sam_security: make_server_info_sam() failed with 'NT_STATUS_UNSUCCESSFUL'
Heres the main bit of the smb.conf that's relevant, other than the specific shares on each server the config is the same across all 3 servers.
   obey pam restrictions = yes

   passdb backend = ldapsam:ldap://
   ldap suffix = dc=xxx,dc=local
   ldap user suffix = ou=Users
   ldap group suffix = ou=Groups
   ldap machine suffix = ou=Computers
   ldap idmap suffix = ou=Idmap
   ldap admin dn = cn=admin,dc=xxx,dc=local
   ldap ssl = no
   ldap passwd sync = yes
I'm sure I'm missing something simple. If I give it the wrong password, it just reprompts so I'm confident that the LDAP query is actually working.

I'm just hesitant to poke around too much incase I A) break the only working LDAP I currently have B) break server 2 from being able to be accessible.

I've searched for the 2 errors and while there quite a bit out there, everything suggests it doesn't work at all, but this does from 1 server. says I'd just have to make the changes to the config I already have.

Any thoughts or help would be greatly appreciated. I can see me having to complete a fresh install of OpenLDAP to fix other problems, but I don't want to look at doing that until I know I can fix this.


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
[SOLVED] LDAP -how to disable ldap auth from client side unibox Linux - Server 3 02-07-2012 06:43 AM
LDAP auth probs bmead Linux - Networking 7 01-13-2009 10:17 AM
Samba auth against a external LDAP server rafa_gallego Linux - Server 1 10-16-2008 03:56 PM
Ldap Radius Auth... tmolise Linux - General 1 11-02-2006 04:12 AM
Samba share auth w/LDAP? cwhitmore SUSE / openSUSE 6 10-04-2006 01:56 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:54 AM.

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