SoftwareCentral · Settings

Domain

The Domain settings control how SoftwareCentral searches and uses Active Directory, and which domains it can work with. They are on the Active Directory and Domains tabs.

Active Directory AD-Deployment Local groups Domains tab

1 Where to find the settings

Open Settings, choose the Domain group, then Active Directory for the settings on this page. The Domains item in the same group lists the domains (see The Domains tab).

The label of each setting says when it applies. Settings marked Only applies to local group in AD-Module are for the local group functions.

Some rows are not shown in some installations: the rows that are only for ConfigMgr (such as AD-Deployment) are hidden in an Intune-only installation, the rows marked for the full product are hidden when SoftwareCentral runs as Application Manager Only, and the whole Domain group is hidden when the installation uses Entra ID sign-in only.

3 Local group administration

These settings apply to the local group functions. Their labels say Only applies to local group in AD-Module where that is the case.

SettingWhat it does
Use pre Windows 2000 domain name (only applies to local group in AD-Module)Enables support for pre Windows 2000 domain names in the local group administration interface. After enabling this, go to the Domains tab and set up the pre Windows 2000 domain names.
Overwrite pre Windows 2000 domain names with normal domain name when users loginEnable this if users sign in to Windows with the pre Windows 2000 domain name, but you require that users are registered with the normal domain name in SoftwareCentral and in the services that SoftwareCentral calls.
Ignore ping function in local group (only applies to local group in AD-Module)Tries to connect to the client even if a ping does not return. This only applies to the local group administration interface.
Use Fully Qualified Computer Name in local group functionsWhen SoftwareCentral adds a user to a computer’s local group, the computer’s fully qualified name is used.
Use ObjectSid in local group functionsWhen SoftwareCentral adds a user to a computer’s local group, the user’s ObjectSid is used.
Send mail notificaiton (send local group notification mail, only applies to local group in AD-Module)Sends a mail notification to users who are added to a local group for a given period. The text of the notification is edited with the Mail Template Editor, in the template named Local Group Notification.
Maximum timespan a user can set to be member of a local group (Days and Hours; set to 0 for no limit)The longest time a user can be a member of a local group, in days and hours. 0 means no limit. Each box accepts 0 to 999.
Maximum number of days to try and remove a user from a local groupWhen a local group membership expires, the user must be removed from the local group by SoftwareCentral. If the device is not online, the user remains in the local group until it is removed. This setting is the number of days SoftwareCentral keeps trying. The value can be from 1 to 365; the default is 365. If you have many users which SoftwareCentral keeps track of, reduce this number to improve performance.

4 Directory lookups and sign-in

SettingWhat it does
Use double wildcard search (when searching for AD groups; this can be slow)Searches for AD groups with a double wildcard instead of the default “starts with” search. This lets you find a part of a group name, but it slows the search down. The minimum length still applies.
Use Global CatalogUses the global catalog instead of the domain controller that is defined for the domain. This may slow down AD searches, but it can be necessary depending on the location of the SoftwareCentral web server.
Find AD-Group memberships with one queryFinds the nested AD-Groups of a user with one directory query instead of one search per group. This is faster for users who are members of many groups. The search per group is still used when more than one domain is configured, or when Use Global Catalog is ticked. If you turn this on, you can check it in the shop with debug mode: the log then lists both lookups and any difference between them.
Show description (after computer name in AD-Computer)In the AD-Computer interface, the description of the computer is shown in parentheses after the computer name in the drop-down.
Organizational Unit with AD-Module templatesThe AD module uses existing users as templates for new users. Use this setting to select an organizational unit with the users you want as templates. You could, for instance, create a special OU only with users for templates, such as a “Danish HR worker” and so on. The drop-down shows the OUs that can hold the templates.
Validate sign-in with the user principal name (Validate Windows sign-in with the user principal name (UPN))When enabled, a sign-in with domain\username is validated with the user principal name of the user, looked up in Active Directory. For example, CONTOSO\jdoe is validated as jdoe@contoso.com. Users still sign in with domain\username. Enable this if sign-in fails for a correct password, for example after a domain controller or web server upgrade. If the user is not found in Active Directory, the user name is used as typed.
User names (CN) may be different from sAMAccountNamesTurn this on if the common name (CN) of users can be different from their sAMAccountName, the name they sign in with.

5 The Domains tab

The Domains tab lists the domains that SoftwareCentral works with. From here you add, edit and delete domains, including untrusted domains that need their own service account.

Everyone with access to Settings can see the list. Only members of the SoftwareCentral administrator role can add, edit and delete domains. Other users see the note Only SoftwareCentral administrators can add, edit and delete domains instead of the buttons.

The list

Settings page with Domain and Domains selected in the menu. The description is on the left with the Add domain button to its right, a Refresh link above the list, and one row: CONTOSO.LOCAL, Trusted ticked, service account CONTOSO\svc-swc, pre Windows 2000 name CONTOSO, port 389, with an Edit and a Delete button.
The Domains tab, as a SoftwareCentral administrator sees it: Add domain to the right of the description, Refresh above the list, and Edit and Delete in each row. The values in this picture are masked.
ColumnWhat it holds
DomainThe fully qualified domain name, for example CONTOSO.COM.
TrustedTicked when there is a trust between the domain and the domain of the app-pool user.
Service accountThe account SoftwareCentral uses in the domain. The password is never shown.
Pre Windows 2000 nameThe pre Windows 2000 (NetBIOS) name of the domain. See Pre-Windows 2000 domain names.
PortThe LDAP port used for the domain. The default is 389.
Edit and DeleteOpen a window to change or delete the domain. See below.

Find new trusted domains

When SoftwareCentral starts with an empty list, it fills the list with the domains that Active Directory trusts. Domains that are trusted later are not added by themselves. Click Refresh at the top of the list to look for them: SoftwareCentral adds each trusted domain that is not in the list yet, and shows the names it added below the list. Domains already in the list are not changed.

Add a domain

Click Add domain, to the right of the description, to open the Add domain window. Use it for a domain that Active Directory does not report as trusted, such as an untrusted domain.

The Add domain window with the fields Domain (example contoso.com), Trusted with the Trusted domain box ticked, Service account, Password, Pre Windows 2000 name (example CONTOSO) and Port set to 389, and the Save and Cancel buttons.
The Add domain window. Trusted domain is ticked and Port is 389 by default.
FieldWhat to enter
DomainThe fully qualified domain name, for example contoso.com. It is saved in capitals. The name can’t be changed later, because other settings refer to the domain by name.
TrustedTicked by default. Untick it if there is no trust between this domain and the domain of the app-pool user.
Service accountThe account SoftwareCentral uses in the domain, as domain\username. It must have the same permissions as the app-pool user. Required for an untrusted domain.
PasswordThe password of the service account. It is saved encrypted. Required for an untrusted domain.
Pre Windows 2000 nameThe NetBIOS name of the domain, for example CONTOSO. It is saved in capitals.
PortThe LDAP port, from 1 to 65535. The default is 389.

Click Save. The window closes and the list is updated. The domain is saved straight away; you don’t need to click Save Settings, and any unsaved changes on the other Settings tabs are kept.

The window does not save the domain when:

  • the name is not a fully qualified domain name, or contains a space, an apostrophe, a backslash, a slash or a percent sign;
  • the domain is already in the list;
  • Trusted is unticked and the service account or the password is empty;
  • the service account or the pre Windows 2000 name contains an apostrophe.

Edit a domain

Click Edit in the domain’s row. The same window opens with the domain’s settings. The domain name can’t be changed: to rename a domain, add the new name and delete the old one. Leave Password empty to keep the current password; type a new one only to change it. Click Save, and the change takes effect straight away.

The Edit window for CONTOSO.LOCAL, with the domain name filled in, Trusted domain ticked, service account CONTOSO\svc-swc, an empty Password box, pre Windows 2000 name CONTOSO and port 389.
The Edit window for a domain. The password is never filled in; leave the box empty to keep it. The values in this picture are masked.

Delete a domain

Click Delete in the domain’s row. If nothing uses the domain, the window asks Do you want to delete ‘CONTOSO.COM’?. Click Delete to delete it, or Cancel.

If the domain is still used, the window lists where, and Delete can’t be clicked. Remove or change those first, then try again.

The Delete window for CONTOSO.LOCAL saying it can't be deleted because it is still used, followed by a list in red: package security group 4 with three example groups, approver 2, this is the domain of the SoftwareCentral web server, and this is the only domain in the list. The Delete button is greyed out; Cancel is available.
The Delete window for a domain that is still used. Each line gives the place, the number of uses and up to three examples. Delete is greyed out. The values in this picture are masked.

SoftwareCentral checks:

Where the domain is usedWhat counts as a use
Security role AD groupA security role whose AD group starts with the domain, for example CONTOSO\SWC-Admins.
Security role allowed OU/groupAn OU or AD group in the domain that a security role is allowed to manage.
Package security groupA package security group with an AD group in the domain.
Shop item AD groupA shop item with an AD group in the domain.
OU/AD group affinityAn OU/AD group affinity with an OU or AD group in the domain.
ApproverAn approver from the domain.
SettingThe portal administrator group, the AD root domain or the AD custom attributes domain is set to the domain.
The domain of the SoftwareCentral web serverThe domain of the app-pool user can never be deleted.
The only domain in the listThe last domain can never be deleted.

An AD group counts when it starts with the domain’s full name, its pre Windows 2000 name, or the first part of its full name (CONTOSO for contoso.com). So a domain can be reported as used by a group of another domain whose name starts the same way; this is on purpose, so a domain that is still in use is never deleted. The check is made again when you click Delete, in case something started to use the domain in the meantime.

If there isn’t trust to a domain, a service account with the same permissions as the SoftwareCentral service account is required on that domain. See the topic SoftwareCentral Untrusted Domain Support for more information.

The account for an untrusted domain is not checked SoftwareCentral does not check the account against the rule above. It uses the account that is saved for the domain, so make sure that account has the permissions described above.

6 Best practice

  • Set the pre Windows 2000 names first. Turn on Use pre Windows 2000 domain name only after the names are entered on the Domains tab. The tooltip says the names must be added there.
  • Click Refresh after a new trust is set up. SoftwareCentral only fills the list by itself when it is empty, so a domain trusted later appears only after Refresh.
  • Move the users of a domain before you delete it. The Delete window lists the security roles, package security groups, shop items, approvers and settings that still use the domain. Change those first.
  • Keep the wildcard search off unless you need it. Use double wildcard search is slower; the minimum search length helps on big domains.
  • Turn on the refresh only with AD-Deployment. Refresh Collection Memebership does nothing without AD-Deployment, and with many deployments it makes the collection evaluator busier.
  • Lower the removal period when you track many users. The default of 365 days keeps trying for a long time. A shorter period means less work for SoftwareCentral.
  • Give each untrusted domain a suitable account. Set up the service account with Add domain or Edit on the Domains tab, as described in SoftwareCentral Untrusted Domain Support. SoftwareCentral does not check it, so check the account yourself when a lookup or a change in that domain fails.