on 03-20-2014 8:25 AM
Hello,
I have a qustion regarding User Groups in Afaria.
If I have configured the active directory authentication in the Security settings of the Afaria Server.
I also configured 2 AD groups where my user is in 1 of the group and 2 User groups in Afaria, that shows to the AD groups.
SAP told me if I use the "User Name" variable in the enrollment code, I can use the user groups for the devices.
I tested it with the standard Afaria Client from the appstore without success. Only if I enroll via the Self Service Portal the device are bound to the user group I created.
Is it really only possible via the SSP?
Thank you and best regards
Michael
You need to enable authentication on the enrollment server in order for your device to be linked to an AD user. Currently this is set during installation of the enrollment server.
I have also a database trigger that will take the Username and copy it to the SelfServiceUserName and AssignmentsUserName in the database. Then you don't need to change the enrollment process.
BR
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Thanks for your answere,
Yes I now about the function for the enrollment server or package server. But I dont want that the user have to enter their AD PW, only the username, that should be enough for the User Groups so I deactivate the authentication for enrollment server..
Described by SAP the function should work as followed:
User downloads Afaria-->enter the enrollment code--> enter his AD User name (via the User Name variable)-->gets enrolled and bounded to the right Afaria User group.
How it work actually for us,
The user login to the SSP with his AD credentials-->the enrollment starts--> after the enrollment the user was bound to the right Afaria User Group.
Hope you understand what I want.
BR
Michael
Super.
We have used this:
USE [Afaria70]
GO
/****** Object: Trigger [dbo].[MA_TR_IPhone_Device] Script Date: 08/18/2013 22:51:30 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: Peter Mohr
-- Create date:
-- Description:
-- =============================================
ALTER TRIGGER [dbo].[MA_TR_IPhone_Device]
ON [dbo].[A_IPHONE_DEVICE]
AFTER UPDATE, INSERT
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
Update D
SET D.AssignmentsUserName = D.SelfServiceUserName
FROM A_IPHONE_DEVICE D
INNER JOIN Inserted I ON I.arowid = D.ARowID
WHERE I.SelfServiceUserName IS NOT NULL
END
BR
Peter
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.