Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Attempting to setup LDAP for home lan
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
bravo911
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2004
Posts: 108

PostPosted: Mon Jan 03, 2005 11:33 pm    Post subject: Attempting to setup LDAP for home lan Reply with quote

I'm trying to follow the gentoo-ldap howto and I seem to be having some trouble setting up the slapd service. I've gotten to the point where I can start the service, but when I try to run the test as stated in the howto:
Code:
ldapsearch -D "cn=Manager,dc=genfic,dc=com" -W

it just seems to hang. Nothing happens. this is the result:
Code:
ldapsearch -D "cn=Manager,dc=seegee,dc=ca" -W
Enter LDAP Password:
SASL/DIGEST-MD5 authentication started

so i tried the same command with the -d 255 option and I cant make out what is going on. Here's the last few pages of the output (i can post full results if required)
Code:

ldap_read: message type search-entry msgid 1, original id 1
wait4msg continue, msgid 1, all 1
** Connections:
* host: auth.seegee.ca  port: 636  (default)
  refcnt: 2  status: Connected
  last used: Mon Jan  3 15:23:20 2005

** Outstanding Requests:
 * msgid 1,  origid 1, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
 * msgid 1,  type 100
ldap_chkResponseList for msgid=1, all=1
ldap_chkResponseList returns NULL
ldap_int_select
read1msg: msgid 1, all 1
ber_get_next
tls_read: want=5, got=5
  0000:  17 03 01 00 20                                     ....
tls_read: want=32, got=32
  0000:  6f 7d 10 dc 68 a6 9f 48  81 01 b4 2f 3e b5 b5 3b   o}..h..H.../>..;
  0010:  72 78 30 bf 38 5e 0f b0  59 1f f1 88 15 14 34 56   rx0.8^..Y.....4V
tls_read: want=5, got=5
  0000:  17 03 01 00 30                                     ....0
tls_read: want=48, got=48
  0000:  85 77 1e 1b 4e 88 74 0b  de f2 15 3b 26 38 4f 01   .w..N.t....;&8O.
  0010:  e1 4d 47 61 f1 a3 c6 d9  2e 0c 36 18 d7 ee 19 1a   .MGa......6.....
  0020:  0b 84 ff 98 d5 c0 34 fb  c1 85 c5 94 d3 77 9c fe   ......4......w..
ldap_read: want=8, got=8
  0000:  30 0c 02 01 01 65 07 0a                            0....e..
ldap_read: want=6, got=6
  0000:  01 00 04 00 04 00                                  ......
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x08072d10 ptr=0x08072d10 end=0x08072d1c len=12
  0000:  02 01 01 65 07 0a 01 00  04 00 04 00               ...e........
ldap_read: message type search-result msgid 1, original id 1
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x08072d10 ptr=0x08072d13 end=0x08072d1c len=9
  0000:  65 07 0a 01 00 04 00 04  00                        e........
read1msg:  0 new referrals
read1msg:  mark request completed, id = 1
request 1 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ldap_free_connection
ldap_free_connection: refcnt 1
adding response id 1 type 101:
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x08072d10 ptr=0x08072d13 end=0x08072d1c len=9
  0000:  65 07 0a 01 00 04 00 04  00                        e........
ber_scanf fmt (}) ber:
ber_dump: buf=0x08072d10 ptr=0x08072d1c end=0x08072d1c len=0

ldap_get_values
ber_scanf fmt ({x{{a) ber:
ber_dump: buf=0x08073b88 ptr=0x08073b8b end=0x08073bd8 len=77
  0000:  64 4b 04 00 30 47 30 45  04 17 73 75 70 70 6f 72   dK..0G0E..suppor
  0010:  74 65 64 53 41 53 4c 4d  65 63 68 61 6e 69 73 6d   tedSASLMechanism
  0020:  73 31 2a 04 08 43 52 41  4d 2d 4d 44 35 04 0a 44   s1*..CRAM-MD5..D
  0030:  49 47 45 53 54 2d 4d 44  35 04 05 4c 4f 47 49 4e   IGEST-MD5..LOGIN
  0040:  04 05 50 4c 41 49 4e 04  04 4e 54 4c 4d            ..PLAIN..NTLM
ber_scanf fmt ([v]) ber:
ber_dump: buf=0x08073b88 ptr=0x08073bac end=0x08073bd8 len=44
  0000:  31 2a 04 08 43 52 41 4d  2d 4d 44 35 04 0a 44 49   1*..CRAM-MD5..DI
  0010:  47 45 53 54 2d 4d 44 35  04 05 4c 4f 47 49 4e 04   GEST-MD5..LOGIN.
  0020:  05 50 4c 41 49 4e 04 04  4e 54 4c 4d               .PLAIN..NTLM
ldap_msgfree
ldap_interactive_sasl_bind_s: server supports: CRAM-MD5 DIGEST-MD5 LOGIN PLAIN NTLM
ldap_int_sasl_bind: CRAM-MD5 DIGEST-MD5 LOGIN PLAIN NTLM
SASL/DIGEST-MD5 authentication started
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_send_server_request
ber_flush: 52 bytes to sd 3
  0000:  30 32 02 01 02 60 2d 02  01 03 04 1a 63 6e 3d 4d   02...`-.....cn=M
  0010:  61 6e 61 67 65 72 2c 64  63 3d 73 65 65 67 65 65   anager,dc=seegee
  0020:  2c 64 63 3d 63 61 a3 0c  04 0a 44 49 47 45 53 54   ,dc=ca....DIGEST
  0030:  2d 4d 44 35                                        -MD5
tls_write: want=122, written=122
  0000:  17 03 01 00 20 6f 02 8c  ee f0 d4 49 e6 00 0f f9   .... o.....I....
  0010:  03 19 3e b9 75 6f 3f 89  cf 54 45 3e 74 07 6e 54   ..>.uo?..TE>t.nT
  0020:  2e ed f9 6e 69 17 03 01  00 50 fe b1 4b 63 6b 9f   ...ni....P..Kck.
  0030:  64 f6 66 e2 5e 63 22 92  7d 5e c6 e5 0c 6e 85 80   d.f.^c".}^...n..
  0040:  fc cb 7f 53 2d 42 6a af  66 02 77 51 77 d1 5a 4f   ...S-Bj.f.wQw.ZO
  0050:  c4 92 cc b9 aa fe a0 56  62 0f b1 cb f0 60 57 30   .......Vb....`W0
  0060:  5a d0 fc 62 dc ee 0d 14  53 62 e1 fc d9 68 df 35   Z..b....Sb...h.5
  0070:  35 b6 5c 9f f5 38 46 7c  ac 4a                     5.\..8F|.J
ldap_write: want=52, written=52
  0000:  30 32 02 01 02 60 2d 02  01 03 04 1a 63 6e 3d 4d   02...`-.....cn=M
  0010:  61 6e 61 67 65 72 2c 64  63 3d 73 65 65 67 65 65   anager,dc=seegee
  0020:  2c 64 63 3d 63 61 a3 0c  04 0a 44 49 47 45 53 54   ,dc=ca....DIGEST
  0030:  2d 4d 44 35                                        -MD5
ldap_result msgid 2
ldap_chkResponseList for msgid=2, all=1
ldap_chkResponseList returns NULL
wait4msg (infinite timeout), msgid 2
wait4msg continue, msgid 2, all 1
** Connections:
* host: auth.seegee.ca  port: 636  (default)
  refcnt: 2  status: Connected
  last used: Mon Jan  3 15:23:20 2005

** Outstanding Requests:
 * msgid 2,  origid 2, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
ldap_chkResponseList for msgid=2, all=1
ldap_chkResponseList returns NULL
ldap_int_select


and then it just hangs there until I hit ctrl-c. I dont think that qualifies as 'passing the test' but I dont know a lot about this stuff, so please help fill in the blanks.
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