#1524 Add provider specific default regular expressions for parsing user names
Closed: Fixed None Opened 11 years ago by sbose.

When samba is used in evironments with Active Directory, e.g. as a AD domain member or via trusts in an IPA domain, as a file server for users from the AD domaina corresponding local user must exist. The sssd AD or IPA provider take care that the user is available but samba expect the user names to be 'DOMNAME\username' where DOMNAME is the NetBIOS domain name of the trusted domain and username the user name in the trusted domain.

By default sssd uses 'username@DNS.DOMAIN.NAME' as format for fully qualified user names. To allow both types of fully qualified user names and short names for the local domain the regular expression to match user and domain names can be extended like:

re_expression = (((?P<domain>[^\\]+)\\(?P<name>.+$))|((?P<name>[^@]+)@(?P<domain>.+$))|(^(?P<name>[^@\\]+)$))

Since the samba fileserver use case will be a typical use case for clients where either the AD or IPA provider with trusts is used it would be lower the configuration effort if a regular expression similar to the one above is the default for the AD and IPA provider.


Fields changed

feature_milestone: => We agreed during the last bug triage that this should be available for 1.9.0
milestone: NEEDS_TRIAGE => SSSD 1.9.0
owner: somebody => sbose

Fields changed

patch: 0 => 1

master: 3dbd888

resolution: => fixed
status: new => closed

We agreed during the last bug triage that this should be available for 1.9.0

feature_milestone: We agreed during the last bug triage that this should be available for 1.9.0 =>
rhbz: => 0

Metadata Update from @sbose:
- Issue assigned to sbose
- Issue set to the milestone: SSSD 1.9.0

7 years ago

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

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2566

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