Bug 56347 - ASMC does not find any data when being installed on a central replica
ASMC does not find any data when being installed on a central replica
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: Apple School Manager
UCS@school 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-24 20:09 CEST by Dirk Ahrnke
Modified: 2023-10-11 16:56 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.069
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review: Yes
Ticket number:
Bug group (optional): Regression
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Ahrnke univentionstaff 2023-07-24 20:09:01 CEST
Bug 48150 suggests that ASMC will work on a (central) replica. 
This is not the case. A manual run of asm-upload always shows:

...
Creating ZIP file in /var/lib/asm/asm_2023-07-24T19:50:35.426370.zip...
Creating CSV files...
Writing 0 objects to classes.csv...
Writing 0 objects to courses.csv...
Writing 0 objects to locations.csv...
Writing 0 objects to rosters.csv...
Writing 0 objects to staff.csv...
Writing 0 objects to students.csv...
Finished creating CSV files.
Finished creating ZIP file.
...

If one uninstalls ASMC on the replica and installs the application with the same setting on the primary DN asm-upload will immediately find available accounts. 

UCS: 5.0-4 errata750, apple-school-manager=3.0.2
Comment 1 Dirk Ahrnke univentionstaff 2023-07-24 20:11:39 CEST
while investigating I noticed that the application is indeed using the machine connection of the replica server but surprisingly the connect is connecting the LDAP on the primary DN.