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

RE: ldapadd won't add entry via SASL/DIGEST-MD5



Kurt,

I had also tried the following syntax before, but
didn't report it due to its failure.

# ldapadd -Y DIGEST-MD5 -U root@localhost -R localhost
-D "cn=root,dc=test,dc=org" -W -f test.ldif

  0000:  30 82 01 54 02 01 02 60  82 01 4d 02 01 03 04
19   0..T...`..M.....  
  0010:  63 6e 3d 72 6f 6f 74 2c  64 63 3d 67 6e 75 6d
61   cn=root,dc=tes  
  0020:  69 6c 2c 64 63 3d 6f 72  67 a3 82 01 2b 04 0a
44   t,dc=org...+..D  
  0030:  49 47 45 53 54 2d 4d 44  35 04 82 01 1b 75 73
65   IGEST-MD5....use  
  0040:  72 6e 61 6d 65 3d 22 72  6f 6f 74 40 6c 6f 63
61   rname="root@loca  
  0050:  6c 68 6f 73 74 22 2c 72  65 61 6c 6d 3d 22 67
6e   lhost",realm="m  
  0060:  75 6d 61 69 6c 34 39 2e  67 6e 75 6d 61 69 6c
2e   ail.test.  
  0070:  6f 72 67 22 2c 6e 6f 6e  63 65 3d 22 6f 30 72
76   org",nonce="o0rv  
  0080:  6e 42 77 56 44 54 75 4d  45 38 49 39 71 2f 51
41   nBwVDTuME8I9q/QA  
  0090:  72 6b 7a 57 2b 52 6a 54  67 6c 42 58 65 4a 41
44   rkzW+RjTglBXeJAD  
  00a0:  65 75 35 78 73 48 6b 3d  22 2c 63 6e 6f 6e 63
65   eu5xsHk=",cnonce  
  00b0:  3d 22 2b 52 51 7a 68 57  56 71 43 34 52 76 50
33   ="+RQzhWVqC4RvP3  
  00c0:  63 35 72 2b 79 66 59 73  58 6a 62 42 35 74 41
62   c5r+yfYsXjbB5tAb  
  00d0:  65 50 37 61 57 50 73 32  49 52 6d 50 63 3d 22
2c   eP7aWPs2IRmPc=",  
  00e0:  6e 63 3d 30 30 30 30 30  30 30 31 2c 71 6f 70
3d   nc=00000001,qop=  
  00f0:  61 75 74 68 2d 63 6f 6e  66 2c 63 69 70 68 65
72   auth-conf,cipher  
  0100:  3d 22 72 63 34 22 2c 64  69 67 65 73 74 2d 75
72   ="rc4",digest-ur  
  0110:  69 3d 22 6c 64 61 70 2f  67 6e 75 6d 61 69 6c
34   i="ldap/mai  
  0120:  39 2e 67 6e 75 6d 61 69  6c 2e 6f 72 67 22 2c
72   l.test.org",r  
  0130:  65 73 70 6f 6e 73 65 3d  34 34 34 32 31 34 31
37   esponse=44421417  
  0140:  33 31 30 37 39 32 32 31  33 62 30 38 37 36 66
33   310792213b0876f3  
  0150:  36 31 64 39 64 31 62 35                      
     61d9d1b5          

  0000:  61 37 0a 01 50 04 00 04  30 53 41 53 4c 28 2d
31   a7..P...0SASL(-1  
  0010:  33 29 3a 20 75 73 65 72  20 6e 6f 74 20 66 6f
75   3): user not fou  
  0020:  6e 64 3a 20 6e 6f 20 73  65 63 72 65 74 20 69
6e   nd: no secret in  
  0030:  20 64 61 74 61 62 61 73  65                  
      database         
ldap_msgfree
ldap_perror
ldap_sasl_interactive_bind_s: Internal (implementation
specific) error (80)
	additional info: SASL(-13): user not found: no secret
in database

Could it be a problem with how I have SASL and LDAP
compiled?

Regards,


Gary


--- "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> wrote:
> At 11:41 PM 2002-09-03, Gary C. New wrote:
> >Below is my SASL sample client/server test, which
> was
> >successful.
> ># ./client -s ldap localhost
> >username="root@localhost",realm="mail"
> >successful authentication
> >closing connection
> 
> So, you might try:
>   ldapadd -Y DIGEST-MD5 -U root@localhost -R mail
> ...
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com