04-06-2006 05:40 AM
04-06-2006 09:10 AM
04-06-2006 10:05 AM
InitialContext initContext = new InitialContext();
initContext.addToEnvironment(Context.REFERRAL, "follow");
04-06-2006 12:11 PM
04-10-2006 07:19 AM
<entry key="java.naming.referral">
<value>follow</value>
</entry>
04-11-2006 05:07 AM
# SASL mappings for md5 digest authentication
# Extract the user id and use as the search key
authz-regexp
uid=([^,]*),cn=digest-md5,cn=auth
ldap:///dc=company,dc=com??one?(uid=$1)
authz-regexp
uid=([^,]*),cn=company.com,cn=digest-md5,cn=auth
ldap:///dc=company,dc=com??one?(uid=$1)
04-14-2006 03:49 AM
dn: ou=Payroll,ou=User Accounts,dc=company,dc=be
objectClass: referral
objectClass: extensibleObject
ou: Payroll
ref: ldap://ldap.company.be/ou=Payroll,ou=User%20Accounts,dc=company,dc=be
ldapsearch -x -b "ou=payroll,ou=user accounts,dc=company,dc=be"
# search result
search: 2
result: 10 Referral
matchedDN: ou=Payroll,ou=User Accounts,dc=company,dc=be
ref: ldap://ldap.company.be/ou=Payroll,ou=User%20Accounts,dc=company,dc=be
ldap_pvt_gethostbyname_a: host=alfresco, r=0
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ldap_read: want=1, got=1
0000: 30 0
ldap_read: want=1, got=1
0000: 48 H
ldap_read: want=72, got=72
0000: 02 01 01 60 43 02 01 03 04 34 63 6e 3d 73 73 63 …`C….4cn=user
0010: 68 6f 65 74 2c 6f 75 3d 70 61 79 72 6f 6c 6c 2c account,ou=payroll,
0020: 6f 75 3d 55 73 65 72 20 41 63 63 6f 75 6e 74 73 ou=User Accounts
0030: 2c 64 63 3d 69 6d 65 63 2c 64 63 3d 62 65 80 08 ,dc=company,dc=be..
0040: xx xx xx xx xx xx xx xx passwsd
ber_get_next: tag 0x30 len 72 contents:
do_bind
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
ber_scanf fmt ({iat) ber:
ber_scanf fmt (o}) ber:
do_bind: version=3 dn="cn=useraccount,ou=payroll,ou=User Accounts,dc=company,dc=be" method=128
dn2entry_r: dn: "CN=USERACCOUNT,OU=PAYROLL,OU=USER ACCOUNTS,DC=COMPANY,DC=BE"
=> dn2id( "CN=USERACCOUNT,OU=PAYROLL,OU=USER ACCOUNTS,DC=COMPANY,DC=BE" )
=> ldbm_cache_open( "dn2id.dbb", 9, 600 )
<= ldbm_cache_open (opened 0)
<= dn2id NOID
dn2entry_r: dn: "OU=PAYROLL,OU=USER ACCOUNTS,DC=COMPANY,DC=BE"
=> dn2id( "OU=PAYROLL,OU=USER ACCOUNTS,DC=COMPANY,DC=BE" )
=> ldbm_cache_open( "dn2id.dbb", 9, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id 13
=> id2entry_r( 13 )
=> ldbm_cache_open( "id2entry.dbb", 9, 600 )
<= ldbm_cache_open (opened 1)
=> str2entry
<= str2entry(ou=Payroll,ou=User Accounts,dc=company,dc=be) -> -1 (0x674750)
<= id2entry_r( 13 ) 0x674750 (disk)
====> cache_return_entry_r( 13 😞 created (0)
send_ldap_result: conn=0 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=10
ber_flush: 82 bytes to sd 7
0000: 30 50 02 01 01 61 4b 0a 01 0a 04 29 6f 75 3d 50 0P…aK….)ou=P
0010: 61 79 72 6f 6c 6c 2c 6f 75 3d 55 73 65 72 20 41 ayroll,ou=User A
0020: 63 63 6f 75 6e 74 73 2c 64 63 3d 69 6d 65 63 2c ccounts,dc=company,
0030: 64 63 3d 62 65 04 00 a3 19 04 17 6c 64 61 70 3a dc=be……ldap:
0040: 2f 2f 6c 64 61 70 73 65 72 76 2e 69 6d 65 63 2e //ldap.company.
0050: 62 65 be
ldap_write: want=82, written=82
0000: 30 50 02 01 01 61 4b 0a 01 0a 04 29 6f 75 3d 50 0P…aK….)ou=P
0010: 61 79 72 6f 6c 6c 2c 6f 75 3d 55 73 65 72 20 41 ayroll,ou=User A
0020: 63 63 6f 75 6e 74 73 2c 64 63 3d 69 6d 65 63 2c ccounts,dc=company,
0030: 64 63 3d 62 65 04 00 a3 19 04 17 6c 64 61 70 3a dc=be……ldap:
0040: 2f 2f 6c 64 61 70 73 65 72 76 2e 69 6d 65 63 2e //ldap.company.
0050: 62 65 be
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ldap_read: want=1, got=0
ber_get_next on fd 7 failed errno=0 (Success)
connection_read(7): input error=-2 id=0, closing.
connection_closing: readying conn=0 sd=7 for close
connection_close: conn=0 sd=7
04-16-2006 12:32 PM
04-18-2006 09:55 AM
However, you could try putting both URLS in the LDAP context for authentication.
04-19-2006 04:13 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.