LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Closed Thread
  Search this Thread
Old 12-14-2004, 04:07 AM   #1
johond
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
ldap invalid credentials


(im sorry this is a double post)

Hi I'm trying to install samba with ldap, but i have some problem with ldapadd:
Code:
 
ldapadd -v -x -h sun -D "cn=admin, dc=ambiente, dc=lan" -f base.ldif -W
ldap_init( sun, 0 )
Enter LDAP Password: 
ldap_bind: Invalid credentials (49)
but I have in slapd.conf:
rootpw secret

The following is my slapd.conf:

Code:
include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/inetorgperson.schema
include         /etc/ldap/schema/samba.schema
schemacheck     on
pidfile         /var/run/slapd/slapd.pid
argsfile        /var/run/slapd.args
loglevel        2
modulepath      /usr/lib/ldap
moduleload      back_ldbm
backend                 ldbm
database        ldbm
suffix          "dc=sun,dc=ambiente,dc=lan"
rootdn          "dc=sun,dc=ambiente,dc=lan"
directory       "/var/lib/ldap"
index objectClass,uid,uidNumber,gidNumber eq
index cn,mail,surname,givenName eq,subinitial
lastmod         on
access to attribute=userPassword
        by dn="cn=admin,dc=sun,dc=ambiente,dc=lan" write
        by anonymous auth
        by self write
        by * none

access to dn.base="" by * read
access to *
        by dn="cn=admin,dc=sun,dc=ambiente,dc=lan" write
        by * read

rootpw secret
 
Old 12-14-2004, 04:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Mod edit---
Original thread is http://www.linuxquestions.org/questi...hreadid=266201

Last edited by peter_robb; 12-14-2004 at 05:45 AM.
 
  


Closed Thread



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 Problem Invalid DN Syntax (34) steve007 Linux - Newbie 3 08-24-2009 07:53 AM
NIS/LDAP alternative: manual-copy-of-login credentials utility? mattengland Linux - Software 0 09-11-2005 10:19 PM
LDAP_BIND: Invalid Credentials rupesh_pulikool Linux - Software 0 02-01-2005 01:27 PM
ldap: invalid credentials johond Debian 0 12-14-2004 04:00 AM
ldap_bind:Invalid credentials chintone Linux - General 0 12-06-2002 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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