[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Newbie: Can any one help !!
>>>>> "Binoy" == Binoy <binoyatopenldap@yahoo.com> writes:
Binoy> Hello Everyone, Sorry for such a long mail.. but i am in
Binoy> deep **** after 2 days of nonstop head banging with
Binoy> OpenLDAP and Cyrus SASL .. ( my final goal is PAM / NSS )
Did you have a check at http://www.bayour.com/LDAPv3-HOWTO.html ?
Binoy> I try to Enter new values in database with these commands :
Binoy> 1) $ ldapadd -D dn="cn=Manager,dc=rspllinux,dc=com" -f
Binoy> first.ldif -W Enter LDAP Password: secret
Binoy> ldap_sasl_interactive_bind_s: No such object
I assume that 'first.ldif' contains the object 'cn=Manager,dc=rspllinux,dc=com'?
In that case you're in a catch 22... You can't add the object because
you can't authenticate with the dn...
Try using 'slapadd' (make _SURE_ that the LDIF is correct!)
I see further down that it only contains the 'dc=rspllinux,dc=com'
object... Something like this should do it...
----- s n i p -----
dn: dc=rspllinux,dc=com
objectClass: dcObject
objectClass: organization
dc: Rishabh Software
o: Rishabh Software
dn: cn=Manager,dc=rspllinux,dc=com
objectClass: top
objectClass: person
cn: Manager
sn: LDAP Administrator DN
userPassword: {crypt}SOME_CRYPTED_PASSWORD
----- s n i p -----
Binoy> 4) $ ldapsearch -h localhost -p 389 -x -b "" -s base -LLL
Binoy> ZZ supportedSASLMechanisms gives no result
Binoy> 5) $ ldapsearch -h localhost -p 389 -x -b "" -s base -LLL
Binoy> supportedSASLMechanisms gives no result
Binoy> 6) $ ldapsearch -h localhost -p 389 -x -b
Binoy> "dc=rspllinux,dc=com" -s base -LLL ZZ
Binoy> supportedSASLMechanisms
Try:
ldapsearch -x -b '' -s base -LLL '(objectclass=*)' "+"
or:
ldapsearch -x -b '' -s base -LLL '(objectclass=*)' supportedSASLMechanisms
You SHOULD have
supportedSASLMechanisms: GSSAPI
for it to work...
--
Turbo __ _ Debian GNU Unix _IS_ user friendly - it's just
^^^^^ / /(_)_ __ _ ___ __ selective about who its friends are
/ / | | '_ \| | | \ \/ / Debian Certified Linux Developer
_ /// / /__| | | | | |_| |> < Turbo Fredriksson turbo@bayour.com
\\\/ \____/_|_| |_|\__,_/_/\_\ Gothenburg/Sweden