#47864 uid with more than 20 characters -> use the UPN from AD instead of samAccount
Closed: wontfix 3 years ago by mreynolds. Opened 9 years ago by mihaicarabas.

We are currently using 389-DS as a LDAP server for our university (University Politehnica from Bucharest). Right now we have about 35000 accounts created into the 389-DS. We need to synchronize all the accounts with an Active Directory server for various purposes (Wifi authentication/e-mail authentication, etc). I've setup the 389-DS / Active Directory replication succesfully but we have a design problem: a very high number of users has the username (uid: field) larger than 20 characters and I can't pass this uid to the ntUserDomainId (which is equivelant with the sAMAccount in AD). This is rejected because the samAccountName field does not allow more than 20 characters.

One idea could be to enhance the attributes in order to add the uid in the "userPrincipalName" from AD (is the field used from win2000 above). The samAcount will be populated with some unique values, but we could use the userPrincipalName to authenticate with the same username like now.

PS: We can't modify the usernames because these usernames are already used and stored by various applications in their own databases and we would create a chaos.


Metadata Update from @mihaicarabas:
- Issue set to the milestone: FUTURE

7 years ago

No longer doing improvements to winsync

Metadata Update from @mreynolds:
- Custom field reviewstatus adjusted to None
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

3 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1195

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata