[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldapadd SASL(-1): generic failure: GSSAPI Error:

Redhat Linux ES3

I've been searching, reading the man pages and am unable
to find out why ldapadd refuses to add these entries on
this test machine.

I can connect using both ldap browser and 
directory administrator.. LDAP Directory Management tool
but there is nothing to look at :>(

Believe things are setup to use plain text passwords 
unless I missed something..

Was wondering if someone could be so kind and help me out.
Thanks in advance.

ldapadd -S ldif_error -v -D /
"cn=Manager,ou=ldap1,ou=test_server,o=caspercollege,c=edu" /
-f defineroot.ldif -w secret


[root@test_server test]# ldapadd -f defineroot.ldif

and both return

SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Local error (82)
        additional info: SASL(-1): generic failure: GSSAPI Error: 
Miscellaneous failure (No credentials cache found)
[root@test_server test]# 

on this ldif file

dn: o=caspercollege,c=edu
objectclass: top
objectclass: organization
o: caspercollege

dn: ou=test_server,o=caspercollege,c=edu
ou: test_server
objectclass: organizationalUnit
objectclass: top
description: Administrative Services Linux Server

dn: ou=ldap1,ou=test_server,o=caspercollege,c=edu
ou: ldap1
objectclass: organizationalUnit
objectclass: top
description: Administrative Services LDAP Server
# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 
2000/09/05 17:54:38 
kurt Exp $
# LDAP Defaults

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

#BASE   dc=example, dc=com
#URI    ldap://ldap.example.com ldap://ldap-master.example.com:666

#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never
BASE ou=ldap1,ou=test_server,o=caspercollege,c=edu
snipit of /etc/openldap/slapd.conf
# database      ldbm
database  bdb
suffix          "ou=ldap1,ou=test_server,o=caspercollege,c=edu"
# Cleartext passwords, especially for the rootdn, should
# be avoided.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw          secret
# rootpw                {crypt}ijFYNcSNctBYg

              -(@ @)-

Stewart Walker