SiT! Bugs

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001423SiT!LDAPpublic2010-12-05 02:012011-02-12 18:30
Reporterjohng 
Assigned Topaulh 
PrioritynormalSeveritymajorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version3.62 LTS 
Target VersionFixed in Version 
Summary0001423: LDAP update fails if new matching SIT customer already exists
Description* Create customer ("xxxx") in SIT
* Add customer ("xxxx") to LDAP group for customers
* Enable LDAP service
* LDAP service executes
* Database query pulls the list of all LDAP customers currently in SIT (but not SIT customers)
* LDAP query pulls list of all LDAP customers currently in Active Directory (or any LDAP)
* LDAP service attempts to insert "xxxx" into SIT database but fails because there is already a SIT customer (which was not pulled during the previous database query)
* LDAP service has no idea what just happened
* LDAP update is considered a failure
* LDAP service is disabled
Additional InformationI have a patch to solve this issue and will post it shortly.
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0001316assignedpaulh LDAP sync recreates a new set of Users 

-  Notes
(0003497)
johng (reporter)
2010-12-05 03:31

Sorry, I thought I wrote a fix for this but I did not; I must have manually cleaned up the database.
User avatar (0003571)
paulh (administrator)
2011-02-10 20:12

This is a problem, it was never envisaged a user or contact would exist both locally and in LDAP.

We should be smarter and if the user already exists print a warning though continue.

Should probably provide an interface to switch the source of a user or contact
User avatar (0003589)
paulh (administrator)
2011-02-12 18:17

just tested and you actually end up with two contacts with the same username one source sit the other LDAP

This doesn't stop LDAP sync though does prevent the person from logging in

- Issue History
Date Modified Username Field Change
2010-12-05 02:01 johng New Issue
2010-12-05 03:18 johng Note Added: 0003496
2010-12-05 03:30 johng Note Deleted: 0003496
2010-12-05 03:31 johng Note Added: 0003497
2011-02-10 20:12 paulh Note Added: 0003571
2011-02-10 20:12 paulh Status new => confirmed
2011-02-12 18:17 paulh Note Added: 0003589
2011-02-12 18:29 paulh Relationship added duplicate of 0001316
2011-02-12 18:30 paulh Status confirmed => assigned
2011-02-12 18:30 paulh Assigned To => paulh


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker