Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'dsctl ldifgen groups' should generate unsorted members or at least provide an option for this #6311

Open
tbordaz opened this issue Aug 27, 2024 · 1 comment
Labels
needs triage The issue will be triaged during scrum

Comments

@tbordaz
Copy link
Contributor

tbordaz commented Aug 27, 2024

Issue Description

dsctl localhost ldifgen groups  --number 1 --num-members 10000 --suffix dc=example,dc=com --ldif-file /tmp/group_1K.ldif big_group_1K

generates a ldif containing sorted members like

dn: cn=big_group_1K-1,dc=example,dc=com
objectclass: top
objectclass: groupOfUniqueNames
objectclass: groupOfNames
objectclass: inetAdmin
cn: cn=big_group_1K-1,dc=example,dc=com
uniquemember: uid=user0000001,dc=example,dc=com
uniquemember: uid=user0000002,dc=example,dc=com
uniquemember: uid=user0000003,dc=example,dc=com
uniquemember: uid=user0000004,dc=example,dc=com
uniquemember: uid=user0000005,dc=example,dc=com
uniquemember: uid=user0000006,dc=example,dc=com
...

This is a problem as this list of values is sorted and is a specific case that does not reflect what are usual static groups.

Package Version and Platform:
since 2.0

Steps to Reproduce
Steps to reproduce the behavior:

dsctl localhost ldifgen groups  --number 1 --num-members 10000 --suffix dc=example,dc=com --ldif-file /tmp/group_1K.ldif big_group_1K

Expected results
a non sorted list

@tbordaz tbordaz added the needs triage The issue will be triaged during scrum label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage The issue will be triaged during scrum
Projects
None yet
Development

No branches or pull requests

2 participants
@tbordaz and others