LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-27-2010, 06:06 PM   #1
Webhuis
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Question smbldap-populate can't contact ldap server


Hi,

Ldap and samba work fine if de ldap server is @localhost.

smbldap-populate however refuses to connect to the ldap server at the address ldaps://ldap.server

ldapsearch -x -H ldaps://ldap.server

I checked ldad.conf and smbldap.conf time and again.

Why oh why?
 
Old 04-02-2010, 09:26 AM   #2
trobbelke
LQ Newbie
 
Registered: Mar 2010
Location: m/v Africa Mercy
Distribution: Red Hat Enterprise Linux 5
Posts: 6

Rep: Reputation: 0
try ldap://ldap.server (drop the 's')
 
Old 04-03-2010, 07:15 AM   #3
Webhuis
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by trobbelke View Post
try ldap://ldap.server (drop the 's')
ldap unencrypeted is an option indeed, as is connecting through localhost. I have it working like that.

The point is, however, that remote connections ought to be possible.

I turned to an old configuration that used to work fine with regards to the subject, as far as I can remember.

Key is acl in slapd.conf. The error messages given are confusing, because they tell you that there is no connection possible.

I am still working on it and I will give this a try:

access to attrs=cn,sambaLMPassword,sambaNTPassword,sambaPwdLastSet,sambaLogonTime,sambaLogoffTime,sambaKickoff Time,sambaPw
dCanChange,sambaPwdMustChange,sambaAcctFlags,displayName,sambaHomePath,sambaHomeDrive,sambaLogonScri pt,sambaProfilePath,de
scription,sambaUserWorkstations,sambaPrimaryGroupSID,sambaDomainName,sambaMungedDial,sambaBadPasswor dCount,sambaBadPasswor
dTime,sambaPasswordHistory,sambaLogonHours,sambaSID,sambaSIDList,sambaTrustFlags,sambaGroupType,samb aNextRid,sambaNextGrou
pRid,sambaNextUserRid,sambaAlgorithmicRidBase,sambaShareName,sambaOptionName,sambaBoolOption,sambaSt ringOption,sambaString
Listoption
by dn="cn=samba,ou=DSA,dc=webhuis,dc=nl" write
by dn="cn=slurpd,ou=DSA,dc=webhuis,dc=nl" write
by dn="cn=smbldap-tools,ou=DSA,dc=webhuis,dc=nl" write
by dn="cn=nssldap,ou=DSA,dc=webhuis,dc=nl" write
by self read
by * none
 
Old 04-04-2010, 06:16 AM   #4
trobbelke
LQ Newbie
 
Registered: Mar 2010
Location: m/v Africa Mercy
Distribution: Red Hat Enterprise Linux 5
Posts: 6

Rep: Reputation: 0
some ldap servers have an option to restrict the range that can connect to the server. Have you checked that? Also, if unencrypted works but encrypted doesn't, have you checked your firewall? (you probably have but I'm just trying to help)
 
  


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
LDAP: Can't contact master ldap server rulirahm Linux - Networking 2 07-14-2014 02:02 AM
Ubuntu Hardy (php-ldap):Can't contact LDAP server eantoranz Programming 7 12-02-2008 06:40 PM
SMBLDAP-TOOLS SAMBA LDAP . Problem when filling ldap. jcdole Linux - Server 0 06-07-2008 11:41 AM
What causes -> Cannot contact LDAP server? factos Linux - Newbie 4 11-15-2007 09:18 AM
Can't contact ldap server(-1) justsimran Linux - General 0 06-14-2007 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:15 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