Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


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

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


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
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
LQ Newbie
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
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
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
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)


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
LDAP: Can't contact master ldap server rulirahm Linux - Networking 1 06-15-2006 09:10 AM

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