Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LDAP + Authentication
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
bart703
n00b
n00b


Joined: 25 Aug 2005
Posts: 1

PostPosted: Thu Aug 25, 2005 12:24 pm    Post subject: LDAP + Authentication Reply with quote

Hi,

I've been working on migrating my useraccounts on my linux server to an LDAP server (OpenLDAP).
With special migration tools , I made a LDIF file to add the user accounts. When I will do this with 'LDAP_ADD', I receive the following error:

ldap_bind: Confidentiality required (13)
additional info: confidentiality required

I use the command 'ldapadd -v -f passwd.ldif -c -h localhost'

Does anyone know how I can solve this problem ?

My OpenLdap configurationfile:

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/misc.schema

pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args

TLSCipherSuite HIGH
TLSCertificateFile /etc/openldap/ssl/slapd-cert.crt
TLSCertificateKeyFile /etc/openldap/ssl/slapd-key.pem

security ssf=128

password-hash {crypt}

defaultaccess search

access to attrs=userPassword by self write
by anonymous auth
by * none
access to * by * read

database bdb
suffix "dc=keng,dc=be"
rootdn "cn=Manager,dc=keng,dc=be"
rootpw {crypt}*****
directory /var/lib/openldap-data

#mode 0600

index objectClass eq

Thx
Bart
Back to top
View user's profile Send private message
meu
n00b
n00b


Joined: 05 Aug 2005
Posts: 21
Location: Russia, Saint-Petersburg

PostPosted: Thu Aug 25, 2005 3:11 pm    Post subject: Re: LDAP + Authentication Reply with quote

bart703 wrote:

I use the command 'ldapadd -v -f passwd.ldif -c -h localhost'

This command will use the SASL authentication afair. Try using
Code:
ldapadd -v -x -W -D "cn=Manager,dc=keng,dc=be" -f passwd.ldif
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum