Skip to content
This repository was archived by the owner on Jan 12, 2023. It is now read-only.
This repository was archived by the owner on Jan 12, 2023. It is now read-only.

Add option to adjoin for arguements #5

Description

@amswain

Currently adjoin does not allow the setting of an OU for machines that join the domain.

I suggest adding a parameter to your class called adjoin_args that can allow passing of different flags to the adjoin command:

init.pp: $adjoin_args = $centrify::params::adjoin_args,
params.pp: $adjoin_args = ''
service.pp: $adjoin_args = $centrify::adjoin_args
service.pp: command => "adjoin -w -u ${adjoin_user} -s ${adjoin_server} -p ${adjoin_password} ${adjoin_domain} ${adjoin_args}",

This way you can create:
$adjoin_args = '-c OU=Servers,OU=Linux,DC=example,DC=com' and put the machine accounts in AD in whichever ou you like.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions