mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
add --win-subtree argument to ipa-replica-manage
This commit is contained in:
parent
0988e1c53c
commit
9f18858e58
@ -44,6 +44,8 @@ def parse_options():
|
|||||||
help="This is a Windows Sync Agreement")
|
help="This is a Windows Sync Agreement")
|
||||||
parser.add_option("--cacert", dest="cacert",
|
parser.add_option("--cacert", dest="cacert",
|
||||||
help="Full path and filename of CA certificate to use with TLS/SSL to the remote server")
|
help="Full path and filename of CA certificate to use with TLS/SSL to the remote server")
|
||||||
|
parser.add_option("--win-subtree", dest="win_subtree",
|
||||||
|
help="DN of Windows subtree containing the users you want to sync (default cn=Users,<domain suffix)")
|
||||||
|
|
||||||
options, args = parser.parse_args()
|
options, args = parser.parse_args()
|
||||||
|
|
||||||
@ -108,6 +110,8 @@ def add_master(replman, hostname, options):
|
|||||||
other_args['bindpw'] = options.bindpw
|
other_args['bindpw'] = options.bindpw
|
||||||
if options.cacert:
|
if options.cacert:
|
||||||
other_args['cacert'] = options.cacert
|
other_args['cacert'] = options.cacert
|
||||||
|
if options.win_subtree:
|
||||||
|
other_args['win_subtree'] = options.win_subtree
|
||||||
if options.winsync:
|
if options.winsync:
|
||||||
other_args['winsync'] = True
|
other_args['winsync'] = True
|
||||||
if not options.binddn or not options.bindpw or not options.cacert:
|
if not options.binddn or not options.bindpw or not options.cacert:
|
||||||
|
@ -58,6 +58,9 @@ Password for Bind DN to use with remote server (default is the DM_PASSWORD above
|
|||||||
.TP
|
.TP
|
||||||
\fB\-\-cacert\fR=\fI/path/to/cacertfile\fR
|
\fB\-\-cacert\fR=\fI/path/to/cacertfile\fR
|
||||||
Full path and filename of CA certificate to use with TLS/SSL to the remote server - this CA certificate will be installed in the directory server's certificate database
|
Full path and filename of CA certificate to use with TLS/SSL to the remote server - this CA certificate will be installed in the directory server's certificate database
|
||||||
|
.TP
|
||||||
|
\fB\-\-win-subtree\fR=\fIcn=Users,dc=example,dc=com\fR
|
||||||
|
DN of Windows subtree containing the users you want to sync (default cn=Users,<domain suffix> - this is typically what Windows AD uses as the default value) - Be careful to quote this value on the command line
|
||||||
.SH "EXIT STATUS"
|
.SH "EXIT STATUS"
|
||||||
0 if the command was successful
|
0 if the command was successful
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user