|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
LDAP for Active Directory
I have a program using Active Directory (Windows 2003 R1) via LDAP. All worked well.
However, when I installed one more Domain Controller (Win 2003 R2) and it is turned off for spare, the program can work sometimes but fails sometimes else. The program is just configured to the original server only. What is wrong with more than one Domain Controllers?
__________________
------------------------------------------ Perl Kids Kiss Perl Stanley ------------------------------------------ |
|
#2
|
||||
|
||||
|
After checking, the following error occurs:
Code:
2007-05-14 10:28:40,541 DEBUG [org.acegisecurity.ui.webapp.AuthenticationProcessingFilter] - Authentication request failed: org.acegisecurity.AuthenticationServiceException: LdapCallback;null; nested exception is javax.naming.PartialResultException [Root exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 531, vece ]]; nested exception is org.acegisecurity.ldap.LdapDataAccessException: LdapCallback;null; nested exception is javax.naming.PartialResultException [Root exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 531, vece ]] What does the error mean? How can I solve it? |
|
#3
|
||||
|
||||
|
maybe a bug in it? I'm not sure about multiple domain controllers I only use it with one afaik
__________________
Miscellaneous Software Viper_SB Developershed E-Support Anyone else play chess? Challenge me |
|
#4
|
|||
|
|||
|
This is the error
80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 531, v893 HEX: 0×531 - not permitted to logon from this workstation DEC: 1329 - ERROR_INVALID_WORKSTATION (Logon failure: user not allowed to log on to this computer.) LDAP[userWorkstations: <multivalued list of workstation names>] NOTE: Returns only when presented with valid username and password/credential. |
|
#5
|
|||
|
|||
|
That is because of the account you are using to login is set to allow login to some specific workstation only
|
|
#6
|
||||
|
||||
|
This post has been posted for quite a long time and I investigated it for quite a long time.
Finally I found out the solution. I found that the server got AD authentication failure if the server runs as Local Administrator while the authentication successes if the server runs as Domain Users. I don't know whether it is Acegi Security issue or Active Directory issue. The above can solve anyway. |
|
#7
|
|||
|
|||
|
Excel to Active Directory
Hi all,
is there any possibility to connect Excel to AD through LDAP by using java code? The point is, to use excel as a user interface to reach Active Directory (to write and to read). many thanks /fridaylight |
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > LDAP for Active Directory |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|