Add external user group

hello.
I hooked up with AD. How do I connect a security group from AD? I enter the
Domain Admins in the Name field. get in the logs:

> Parameters: {"utf8"=>"✓",
> "authenticity_token"=>"n6th0JqoxewUu0CeEkILamgA80koUfIM4a7mHa+Lsyo=",
> "usergroup"=>{"name"=>"ad", "user_ids"=>[""], "admin"=>"1",
> "role_ids"=>[""],
> "external_usergroups_attributes"=>{"new_external_usergroups"=>{"_destroy"=>"false",
> "name"=>"", "auth_source_id"=>"3"},
> "new_1427801010390"=>{"_destroy"=>"false", "name"=>"Domain Admins",
> "auth_source_id"=>"3"}}}, "id"=>"1-ad"}
> Failed to save: Name is not found in the authentication source

what to write in the Name of all that would work?

Login with enough rights to create groups, select User Groups from the
Administrator dropdown menu, click New User Group, fill in the Name, fix
the Roles and on the External groups tab do the following: Add external
user group, fill in the Name, select your Auth source and Submit.
That should give you a new User Group which will sync with AD when the
next sync request is done.

Regards,

Joop

··· On 31-3-2015 13:33, Jeison Mortyre wrote: > hello. > I hooked up with AD. How do I connect a security group from AD? I > enter the Domain Admins in the Name field. get in the logs: > > Parameters: {"utf8"=>"✓", > "authenticity_token"=>"n6th0JqoxewUu0CeEkILamgA80koUfIM4a7mHa+Lsyo=", > "usergroup"=>{"name"=>"ad", "user_ids"=>[""], "admin"=>"1", > "role_ids"=>[""], > "external_usergroups_attributes"=>{"new_external_usergroups"=>{"_destroy"=>"false", > "name"=>"", "auth_source_id"=>"3"}, > "new_1427801010390"=>{"_destroy"=>"false", "name"=>"Domain > Admins", "auth_source_id"=>"3"}}}, "id"=>"1-ad"} > Failed to save: Name is not found in the authentication source > > > what to write in the Name of all that would work? >

I understand that, but it is necessary to enter in the Name field?

··· вторник, 31 марта 2015 г., 14:44:39 UTC+3 пользователь jvandewege написал: > > On 31-3-2015 13:33, Jeison Mortyre wrote: > > hello. > I hooked up with AD. How do I connect a security group from AD? I enter > the Domain Admins in the Name field. get in the logs: > >> Parameters: {"utf8"=>"✓", >> "authenticity_token"=>"n6th0JqoxewUu0CeEkILamgA80koUfIM4a7mHa+Lsyo=", >> "usergroup"=>{"name"=>"ad", "user_ids"=>[""], "admin"=>"1", >> "role_ids"=>[""], >> "external_usergroups_attributes"=>{"new_external_usergroups"=>{"_destroy"=>"false", >> "name"=>"", "auth_source_id"=>"3"}, >> "new_1427801010390"=>{"_destroy"=>"false", "name"=>"Domain Admins", >> "auth_source_id"=>"3"}}}, "id"=>"1-ad"} >> Failed to save: Name is not found in the authentication source > > > what to write in the Name of all that would work? > > Login with enough rights to create groups, select User Groups from the > Administrator dropdown menu, click New User Group, fill in the Name, fix > the Roles and on the External groups tab do the following: Add external > user group, fill in the Name, select your Auth source and Submit. > That should give you a new User Group which will sync with AD when the > next sync request is done. > > Regards, > > Joop > >

Hello,

that's the name in external auth source, AD in your case. Usually it will be
the same name of user group in you Foreman instance but you might want to link
Foreman user group called "admins" to AD user group called "power users".

Hope this helps

··· -- Marek

On Tuesday 31 of March 2015 04:48:08 Jeison Mortyre wrote:

I understand that, but it is necessary to enter in the Name field?

вторник, 31 марта 2015 г., 14:44:39 UTC+3 пользователь jvandewege написал:

On 31-3-2015 13:33, Jeison Mortyre wrote:
hello.
I hooked up with AD. How do I connect a security group from AD? I enter

the Domain Admins in the Name field. get in the logs:

Parameters: {“utf8”=>“✓”,
“authenticity_token”=>“n6th0JqoxewUu0CeEkILamgA80koUfIM4a7mHa+Lsyo=”,
“usergroup”=>{“name”=>“ad”, “user_ids”=>[""], “admin”=>“1”,
“role_ids”=>[""],
“external_usergroups_attributes”=>{“new_external_usergroups”=>{"_destroy"
=>“false”, “name”=>"", “auth_source_id”=>“3”},
“new_1427801010390”=>{"_destroy"=>“false”, “name”=>“Domain Admins”,
“auth_source_id”=>“3”}}}, “id”=>“1-ad”}
Failed to save: Name is not found in the authentication source

what to write in the Name of all that would work?

Login with enough rights to create groups, select User Groups from the

Administrator dropdown menu, click New User Group, fill in the Name, fix
the Roles and on the External groups tab do the following: Add external
user group, fill in the Name, select your Auth source and Submit.
That should give you a new User Group which will sync with AD when the
next sync request is done.

Regards,

Joop


Marek