diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5ff380880..a1ff475e5 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,13 +1,13 @@
If you would like to become involved with the project, join the community and
-share PowerBroker Identity Services with other users and developers.
+share BeyondTrust AD Bridge with other users and developers.
## Obtaining the Source Code
-PowerBroker Identity Services, Open Edition is maintained in a git repository
-hosted at [GitHub](https://github.com/BeyondTrust/pbis-open).
+BeyondTrust AD Bridge, Open Edition is maintained in a git repository hosted
+at [GitHub](https://github.com/BeyondTrust/pbis-open).
-The following set of commands will download the PowerBroker Identity Services,
-Open Edition code base:
+The following set of commands will download the BeyondTrust AD Bridge, Open
+Edition code base:
$ git clone https://github.com/BeyondTrust/pbis-open.git
$ cd pbis-open
@@ -21,11 +21,11 @@ file in the top-level directory.
[Contributor License Agreement
(CLA)](https://github.com/BeyondTrust/pbis-open/wiki/docs/Contribution%20License%20Agreement%20(CLA)%20BeyondTrust.pdf)
-PowerBroker Identity Services, Open Edition requires all individual
-contributors of ideas, code, work, or documentation to the PowerBroker Identity
-Services, Open Edition Source Project must complete, sign, and submit an
-Individual Contributor License Agreement (CLA). Please contact BeyondTrust at
-openproject@beyondtrust.com to discuss and submit your agreement.
+BeyondTrust AD Bridge, Open Edition requires all individual contributors of
+ideas, code, work, or documentation to the BeyondTrust AD Bridge, Open
+Edition Source Project must complete, sign, and submit an Individual
+Contributor License Agreement (CLA). Please contact BeyondTrust at
+openproject@beyondtrust.com to discuss and submit your agreement.
All contributions will be reviewed and considered for acceptance. BeyondTrust
will solely determine if the project contribution is accepted and will notify
@@ -33,31 +33,28 @@ the contributor along with providing them a copy of the fully executed
agreement.
The purpose of this agreement is to clearly define the terms under which
-intellectual property has been contributed to the PowerBroker Identity
-Services, Open Edition Source Project and thereby allow us to defend the
-Project should there be a legal dispute regarding the software at some future
-time.
+intellectual property has been contributed to the BeyondTrust AD Bridge, Open
+Edition Source Project and thereby allow us to defend the Project should
+there be a legal dispute regarding the software at some future time.
BeyondTrust requires a signed CLA before it will consider acceptance of any
-contributions to the PowerBroker Identity Services, Open Edition Project.
+contributions to the BeyondTrust AD Bridge, Open Edition Project.
-For a corporation that has assigned employees to work on the PowerBroker
-Identity Services, Open Edition Source Project, a Corporate CLA (CCLA) is
-available for contributing intellectual property via the corporation as a
-whole. Note that a Corporate CLA does not remove the need for every developer
-to sign their own CLA as an individual, to cover any of their contributions
-which are not owned by the corporation signing the CCLA.
+For a corporation that has assigned employees to work on the BeyondTrust
+AD Bridge Open Edition Source Project, a Corporate CLA (CCLA) is available
+for contributing intellectual property via the corporation as a whole. Note
+that a Corporate CLA does not remove the need for every developer to sign
+their own CLA as an individual, to cover any of their contributions which
+are not owned by the corporation signing the CCLA.
## Report Bugs
-You can help improve PowerBroker Identity Services, Open Edition by finding and
-reporting bugs. We track bugs using [GitHub
-Issues](https://github.com/BeyondTrust/pbis-open/issues) for PowerBroker
-Identity Services Open Edition.
+You can help improve BeyondTrust AD Bridge, Open Edition by finding and
+reporting bugs We track bugs using [GitHub Issues](https://github.com/BeyondTrust/pbis-open/issues) for BeyondTrust
+AD Bridge.
## Develop Patches
-Programmers can participate in the development of PowerBroker Identity
-Services, Open Edition by submitting a patch as a suggested solution to an
-existing bug in [GitHub
-Issues](https://github.com/BeyondTrust/pbis-open/issues).
+Programmers can participate in the development of BeyondTrust AD Bridge Open
+Edition by submitting a patch as a suggested solution to an existing bug in
+[GitHub Issues](https://github.com/BeyondTrust/pbis-open/issues).
diff --git a/LICENSE.md b/LICENSE.md
index 39342949b..36cab2b89 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -25,8 +25,8 @@ agreements:
For more details and for the full text for each of these licenses, read the
LICENSE and COPYING files included with this software.
-PowerBroker Identity Services, Open Edition is an open source, community
-project sponsored by BeyondTrust Software to integrate Linux, Unix, and Mac in
+BeyondTrust AD Bridge - Open Edition is an open source, community project
+sponsored by BeyondTrust Software to integrate Linux, Unix, and Mac in
Microsoft Active Directory and authenticate users with their domain
credentials.
@@ -35,4 +35,3 @@ AS WELL. IF YOU HAVE ENTERED INTO A SEPARATE LICENSE AGREEMENT WITH LIKEWISE
SOFTWARE OR BEYONDTRUST SOFTWARE, THEN YOU MAY ELECT TO USE THE SOFTWARE UNDER
THE TERMS OF THAT SOFTWARE LICENSE AGREEMENT INSTEAD OF THE TERMS OF THE GNU
LESSER GENERAL PUBLIC LICENSE, NOTWITHSTANDING THE ABOVE NOTICE.
-
diff --git a/README.md b/README.md
index 767078e00..394578c77 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-# PowerBroker Identity Services Open
+# BeyondTrust AD Bridge Open
-PowerBroker Identity Services Open has several goals:
+BeyondTrust AD Bridge Open has several goals:
1. Simplify the process of joining non-Microsoft hosts to Active Directory domains.
2. Simplify the management of these hosts.
@@ -10,7 +10,7 @@ PowerBroker Identity Services Open has several goals:
The pbis-open build uses makekit (http://bkoropoff.github.io/makekit/)
While the code is portable among a variety of *nix based platforms
-(Linux, Solaris, AIX, HP-UX, and OS X), this build system is
+(Linux, Solaris, AIX, HP-UX, and OS X), this build system is
primarily intended for Linux & FreeBSD platforms.
Before you begin, please read over this list of prerequisite development
@@ -19,7 +19,7 @@ packages (depending on your Linux distro):
### RedHat/Fedora
* gcc glibc-devel pam-devel flex bison rpm-build rpm-devel popt-devel libxml2-devel autoconf automake libtool
-#### Optional packages:
+#### Optional packages:
* libglade2-devel - To build domainjoin-gui GTK application
* 32bit development tools and libraries for compatibility packages when building on x86_64
* glibc-devel.i686 libgcc.i686 pam-devel.i686
@@ -56,7 +56,7 @@ instead, but be sure to read the note below:
$ make -jXX
$ sudo make install
-You may view the complete set of configure options by running
+You may view the complete set of configure options by running
$ ../configure --help
@@ -72,10 +72,10 @@ you will need to start lwsmd and import registry files manually:
done'
$ sudo /etc/init.d/lwsmd reload
-## PBIS Registry Service
+## BeyondTrust AD Bridge Registry Service
-The PBIS Registry Service (lwregd) is the configuration data store
-used by all PBIS services. PBIS provides several ways to view and
+The AD Bridge Registry Service (lwregd) is the configuration data store
+used by all AD Bridge services. AD Bridge provides several ways to view and
modify the registry settings:
- /opt/pbis/bin/edit-reg
- /opt/pbis/bin/regshell
@@ -101,7 +101,7 @@ For example:
hkey_this_machine\services\lsass> dir
Arguments REG_SZ "lsassd --syslog"
Dependencies REG_SZ "netlogon lwio lwreg rdr"
- Description REG_SZ "PBIS Security and Authentication Subsystem"
+ Description REG_SZ "Security and Authentication Subsystem"
Path REG_SZ "/opt/pbis/sbin/lsassd"
Type REG_DWORD 0x00000001 (1)
@@ -111,17 +111,17 @@ NOTE: incorrectly configuring the PBIS registry can prevent PBIS from starting
and/or prevent user authentication. Use caution when modifying existing
settings.
-## PBIS Service Manager
+## BeyondTrust AD Bridge Service Manager
-The PBIS Service Manager (lwsmd) provides a service control
-architecture for starting and stopping all PBIS daemons and drivers
-based on a dependency graph.
+The AD Bridge Service Manager (lwsmd) provides a service control
+architecture for starting and stopping all AD Bridge daemons and
+drivers based on a dependency graph.
The lwsmd daemon itself is managed using the standard SysV init
script:
$ /etc/init.d/lwsmd start
- * Starting PBIS Service Manager: lwsmd [ OK ]
+ * Starting PBIS Service Manager: lwsmd [ OK ]
Only the registry service (lwregd) is hard coded to be started
initially. The user space CLI for managing services is the "lwsm"
@@ -139,7 +139,7 @@ utility.
npfs running (io: 19438)
netlogon running (standalone: 19468)
srvsvc running (standalone: 19529)
-
+
$ lwsm info lsass
Service: lsass
Description: PBIS Security and Authentication Subsystem
@@ -148,21 +148,20 @@ utility.
Path: /opt/pbis/sbin/lsassd
Arguments: 'lsassd' '--syslog'
Dependencies: netlogon lwio lwreg rdr
-
+
$ lwsm stop lsass
Stopping service reverse dependency: srvsvc
Stopping service reverse dependency: srv
Stopping service: lsass
-
+
$ lwsm start srvsvc
Starting service dependency: lsass
Starting service dependency: srv
Starting service: srvsvc
-
+
## Getting Help
The main PBIS Open web site is at [GitHub](https://github.com/BeyondTrust/pbis-open).
From here you will find links to the project forums, and pre-built package downloads.
-
diff --git a/config/COPYING.in b/config/COPYING.in
index 26b16c8c8..8cfc6f08f 100644
--- a/config/COPYING.in
+++ b/config/COPYING.in
@@ -1,4 +1,4 @@
-PowerBroker Identity Services - Open Edition
+BeyondTrust AD Bridge - Open Edition
Version @FULL_VERSION@
This software is provided under the terms of the GNU General Public License
@@ -28,7 +28,7 @@ agreements:
For more details and for the full text for each of these licenses, read the
LICENSE and COPYING files included with this software.
-PowerBroker Identity Services, Open Edition is an open source, community
+BeyondTrust AD Bridge, Open Edition is an open source, community
project sponsored by BeyondTrust Software to integrate Linux, Unix, and Mac in
Microsoft Active Directory and authenticate users with their domain
credentials.
@@ -38,4 +38,3 @@ AS WELL. IF YOU HAVE ENTERED INTO A SEPARATE LICENSE AGREEMENT WITH LIKEWISE
SOFTWARE OR BEYONDTRUST SOFTWARE, THEN YOU MAY ELECT TO USE THE SOFTWARE UNDER
THE TERMS OF THAT SOFTWARE LICENSE AGREEMENT INSTEAD OF THE TERMS OF THE GNU
LESSER GENERAL PUBLIC LICENSE, NOTWITHSTANDING THE ABOVE NOTICE.
-
diff --git a/config/LICENSES.in b/config/LICENSES.in
index decca1176..c6ed56b65 100644
--- a/config/LICENSES.in
+++ b/config/LICENSES.in
@@ -1,4 +1,4 @@
-PowerBroker Identity Services - Open Edition
+BeyondTrust AD Bridge - Open Edition
Version @FULL_VERSION@
The following copyright/software license applies to the use of the
@@ -1246,7 +1246,7 @@ Heimdal source code (http://www.pdc.kth.se/heimdal/) released under
following license statement:
/*
- * Copyright (c) 1997-2001 Kungliga Tekniska Högskolan
+ * Copyright (c) 1997-2001 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -1496,7 +1496,7 @@ components/libraries list below as used in this product:
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -1551,21 +1551,21 @@ components/libraries list below as used in this product:
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
- *
+ *
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
- *
+ *
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -1580,10 +1580,10 @@ components/libraries list below as used in this product:
* Eric Young (eay@cryptsoft.com)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from
+ * 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- *
+ *
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -1595,11 +1595,9 @@ components/libraries list below as used in this product:
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
+ *
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
-
-
diff --git a/config/aix/lwsmd.in b/config/aix/lwsmd.in
index 93049c37a..eab138d32 100755
--- a/config/aix/lwsmd.in
+++ b/config/aix/lwsmd.in
@@ -3,7 +3,7 @@
#
# Copyright (c) BeyondTrust Software. All rights reserved.
#
-PROG_DESC="PBIS Service Manager"
+PROG_DESC="BeyondTrust AD Bridge Service Manager"
PROG_BIN=@MK_SBINDIR@/lwsmd
PROG_ARGS="--start-as-daemon"
PROG_PATTERN="/opt/pbis/sbin/lwsmd|lw-container|lw-svcm-wrap"
diff --git a/config/darwin/macuninstall.sh b/config/darwin/macuninstall.sh
index 37ba7fea3..0ff2638c7 100755
--- a/config/darwin/macuninstall.sh
+++ b/config/darwin/macuninstall.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# This script completely uninstalls PowerBroker Identity Services from the Mac
+# This script completely uninstalls AD Bridge from the Mac
warn()
{
diff --git a/config/freebsd/lwsmd.in b/config/freebsd/lwsmd.in
index 146138e41..f206bab27 100755
--- a/config/freebsd/lwsmd.in
+++ b/config/freebsd/lwsmd.in
@@ -6,7 +6,7 @@
# REQUIRE: NETWORKING
# BEFORE: LOGIN
-PROG_DESC="PBIS Service Manager"
+PROG_DESC="BeyondTrust AD Bridge Service Manager"
PROG_BIN=@MK_SBINDIR@/lwsmd
PROG_ARGS="--start-as-daemon"
PROG_PATTERN="@MK_SBINDIR@/lwsmd|lw-container|lw-svcm-wrap"
diff --git a/config/hpux/lwsmd.in b/config/hpux/lwsmd.in
index ee3221351..17e005088 100755
--- a/config/hpux/lwsmd.in
+++ b/config/hpux/lwsmd.in
@@ -3,7 +3,7 @@
#
# Copyright (c) BeyondTrust Software. All rights reserved.
#
-PROG_DESC="PBIS Service Manager"
+PROG_DESC="BeyondTrust AD Bridge Service Manager"
PROG_BIN=@MK_SBINDIR@/lwsmd
PROG_ARGS="--start-as-daemon"
PROG_PATTERN="@MK_SBINDIR@/lwsmd|lw-container|lw-svcm-wrap"
diff --git a/config/linux/debian/lwsmd.in b/config/linux/debian/lwsmd.in
index dd713e0aa..d59aa34ab 100755
--- a/config/linux/debian/lwsmd.in
+++ b/config/linux/debian/lwsmd.in
@@ -8,10 +8,10 @@
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-# Description: Start and Stop PBIS Service Manager
+# Description: Start and Stop Service Manager
### END INIT INFO
-PROG_DESC="PBIS Service Manager"
+PROG_DESC="BeyondTrust AD Bridge Service Manager"
PROG_BIN=@MK_SBINDIR@/lwsmd
PROG_ARGS="--start-as-daemon"
PROG_PATTERN="@MK_SBINDIR@/lwsmd|lw-container|lw-svcm-wrap"
diff --git a/config/linux/debian/pbis.pam-auth-update b/config/linux/debian/pbis.pam-auth-update
index e0b6bdd66..b493fde94 100644
--- a/config/linux/debian/pbis.pam-auth-update
+++ b/config/linux/debian/pbis.pam-auth-update
@@ -1,4 +1,4 @@
-Name: PowerBroker Identity Services (PBIS)
+Name: BeyondTrust AD Bridge
Default: yes
Priority: 260
Conflicts: winbind
diff --git a/config/linux/redhat/lwsmd.in b/config/linux/redhat/lwsmd.in
index 93a468311..a76654265 100755
--- a/config/linux/redhat/lwsmd.in
+++ b/config/linux/redhat/lwsmd.in
@@ -4,10 +4,10 @@
#
###
# chkconfig: 35 17 61
-# description: Start and Stop PBIS Service Manager
+# description: Start and Stop Service Manager
###
-PROG_DESC="PBIS Service Manager"
+PROG_DESC="BeyondTrust AD Bridge Service Manager"
PROG_BIN=@MK_SBINDIR@/lwsmd
PROG_ARGS=@MK_PROG_ARGS@
PROG_PATTERN="@MK_SBINDIR@/lwsmd|lw-container|lw-svcm-wrap"
diff --git a/config/linux/redhat/lwsmd.service.in b/config/linux/redhat/lwsmd.service.in
index b75e832ba..9cb28a4c2 100644
--- a/config/linux/redhat/lwsmd.service.in
+++ b/config/linux/redhat/lwsmd.service.in
@@ -1,11 +1,11 @@
[Unit]
-Description=BeyondTrust PBIS Service Manager
-After=network.target
+Description=BeyondTrust AD Bridge Service Manager
+After=network.target
Before=sshd.service
[Service]
Type=forking
-ExecStart=@MK_SBINDIR@/lwsmd --start-as-daemon
+ExecStart=@MK_SBINDIR@/lwsmd --start-as-daemon
ExecReload=@MK_BINDIR@/lwsm refresh
ExecStop=@MK_BINDIR@/lwsm shutdown
# We want systemd to give lwsmd some time to finish gracefully, but still want
diff --git a/config/linux/suse/lwsmd.in b/config/linux/suse/lwsmd.in
index a7cf1322f..fabafeda9 100755
--- a/config/linux/suse/lwsmd.in
+++ b/config/linux/suse/lwsmd.in
@@ -8,10 +8,10 @@
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
-# Description: Start and Stop PBIS Service Manager
+# Description: Start and Stop Service Manager
### END INIT INFO
-PROG_DESC="PBIS Service Manager"
+PROG_DESC="BeyondTrust AD Bridge Service Manager"
PROG_BIN=@MK_SBINDIR@/lwsmd
PROG_ARGS="--start-as-daemon"
PROG_PATTERN="@MK_SBINDIR@/lwsmd|lw-container|lw-svcm-wrap"
diff --git a/config/lwkill.sh.in b/config/lwkill.sh.in
index 700f16529..6ccdc7499 100644
--- a/config/lwkill.sh.in
+++ b/config/lwkill.sh.in
@@ -2,7 +2,7 @@
#
# Copyright (c) BeyondTrust Software. All rights reserved.
#
-PROG_DESC="PBIS Service Manager"
+PROG_DESC="BeyondTrust AD Bridge Service Manager"
PROG_BIN=""
PROG_ARGS=""
PROG_PATTERN="@MK_SBINDIR@/lwsmd|lw-container|lw-svcm-wrap"
diff --git a/config/solaris/lwsmd.in b/config/solaris/lwsmd.in
index ee3221351..17e005088 100755
--- a/config/solaris/lwsmd.in
+++ b/config/solaris/lwsmd.in
@@ -3,7 +3,7 @@
#
# Copyright (c) BeyondTrust Software. All rights reserved.
#
-PROG_DESC="PBIS Service Manager"
+PROG_DESC="BeyondTrust AD Bridge Service Manager"
PROG_BIN=@MK_SBINDIR@/lwsmd
PROG_ARGS="--start-as-daemon"
PROG_PATTERN="@MK_SBINDIR@/lwsmd|lw-container|lw-svcm-wrap"
diff --git a/config/solaris/lwsmd.xml b/config/solaris/lwsmd.xml
index e8b02e684..e2ca96255 100644
--- a/config/solaris/lwsmd.xml
+++ b/config/solaris/lwsmd.xml
@@ -67,11 +67,11 @@
- PowerBroker Identity Services Service Management daemon
+ BeyondTrust AD Bridge Service Management daemon
-
+
diff --git a/cyrus-sasl/mac/include/config.h b/cyrus-sasl/mac/include/config.h
index b81b2996c..d196c2787 100755
--- a/cyrus-sasl/mac/include/config.h
+++ b/cyrus-sasl/mac/include/config.h
@@ -6,7 +6,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -16,7 +16,7 @@
* 3. The name "Carnegie Mellon University" must not be used to
* endorse or promote products derived from this software without
* prior written permission. For permission or any other legal
- * details, please contact
+ * details, please contact
* Office of Technology Transfer
* Carnegie Mellon University
* 5000 Forbes Avenue
@@ -129,7 +129,7 @@ extern int getopt(
const char *ostr);
/* extern int getsubopt(char **optionp, const char * const *tokens, char **valuep); */
-/* PBIS modification to make this definition match the OSX unistd.h definition */
+/* BeyondTrust AD Bridge modification to make this definition match the OSX unistd.h definition */
extern int getsubopt(char **optionp, char * const *tokens, char **valuep);
extern char* getpass(const char *prompt);
@@ -168,7 +168,7 @@ struct sockaddr {
u_char sa_len; /* total length */
u_char sa_family; /* address family */
char sa_data[14]; /* address value */
-};
+};
#define SOCK_MAXADDRLEN 255 /* longest possible addresses */
#ifndef HAVE_SOCKLEN_T
@@ -260,9 +260,9 @@ struct sockaddr_storage {
#define SOCK_DGRAM 2
struct iovec {
- char *iov_base;
+ char *iov_base;
long iov_len;
-};
+};
#ifndef HAVE_GETADDRINFO
#define getaddrinfo sasl_getaddrinfo
diff --git a/docs/README.md b/docs/README.md
index 7cab21029..6810a1bde 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,11 +1,11 @@
-# Generating PBIS man pages
+# Generating BeyondTrust AD Bridge man pages
Man pages are generated from the source markdown files (in md/) via the Makefile.
This uses `ronn` to generate the roff format man files e.g. `ronn -r file.md`
You can view the markdown files as formatted man pages via `ronn --man file.md`
Note: the source markdown files are first processed by a script to conditionally include/exclude
-PBIS Enterprise only sections, and then by a second script to add troff paragraph indentation codes..
+BeyondTrust AD Bridge Enterprise only sections, and then by a second script to add troff paragraph indentation codes..
The supported format is specified in [ronn-format](https://rtomayko.github.io/ronn/ronn-format.7)
and [ronn](https://rtomayko.github.io/ronn/ronn.1.html) covers the use of ronn itself.
diff --git a/docs/man/adtool.8 b/docs/man/adtool.8
index 58e0e06b7..c56d3373f 100644
--- a/docs/man/adtool.8
+++ b/docs/man/adtool.8
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "ADTOOL" "8" "September 2018" "" ""
+.TH "ADTOOL" "8" "January 2019" "" ""
.
.SH "NAME"
\fBadtool\fR \- AD tool to manage objects in Active Directory
@@ -64,7 +64,7 @@
\fBadtool\fR [\fIoptions\fR] \-a set\-attr \-\-dn \fIDN\fR \-\-attrName \fIname\fR [\-\-attrValue \fIvalue\fR]
.
.SH "DESCRIPTION"
-\fBadtool\fR is the BeyondTrust PBIS AD tool\. \fBadtool\fR can create, query and modify objects in Active Directory\. \fBadtool\fR can also be utilized to create, find and manage objects in PowerBroker cells\.
+\fBadtool\fR can create, query and modify objects in Active Directory\. \fBadtool\fR can also be utilized to create, find and manage objects in cells\.
.
.P
\fBNOTE: AUTHENTICATION REQUIRED \-\fR This tool is for managing Active Directory objects which requires AD rights\. It is \fBREQUIRED\fR to be logged in as an AD user with rights to manage AD before using the \fBadtool\fR\. Alternatively the \-\-domain \fBCONNECTION OPTION\fR with an \fBAUTHENTICATION OPTION\fR can be used to connect to the domain when logged in as a local user\.
@@ -946,7 +946,7 @@ Unset an attribute\. Note: Attribute value validation is not done\. Use with car
\fBadtool \-a set\-attr \-\-dn CN=TestUser,CN=Users,DC=company,DC=com \-\-attrName displayName\fR
.
.SH "SEE ALSO"
-The full documentation for PBIS is available online at https://github\.com/BeyondTrust/pbis\-open/wiki/Documentation and https://www\.beyondtrust\.com/resources/education/documentation/?subcategory=ad\-bridge
+The full documentation is available online at https://github\.com/BeyondTrust/pbis\-open/wiki/Documentation and https://www\.beyondtrust\.com/resources/education/documentation/?subcategory=ad\-bridge
.
.SH "VERSION"
-PBIS version 8\.7 +\.
+Version 9\.0 +\.
diff --git a/docs/man/domainjoin-cli.8 b/docs/man/domainjoin-cli.8
index 326f8ac9e..b27b00649 100644
--- a/docs/man/domainjoin-cli.8
+++ b/docs/man/domainjoin-cli.8
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "DOMAINJOIN\-CLI" "8" "August 2018" "" ""
+.TH "DOMAINJOIN\-CLI" "8" "January 2019" "" ""
.
.SH "NAME"
\fBdomainjoin\-cli\fR \- Join a host to an Active Directory domain
@@ -37,7 +37,7 @@
\fBdomainjoin\-cli\fR [\fIoptions\fR] get_distro_version
.
.SH "DESCRIPTION"
-\fBdomainjoin\-cli\fR is the BeyondTrust PBIS AD domain join tool\. \fBdomainjoin\-cli\fR will join the current machine to an AD domain, and enable the authentication of AD users\.
+\fBdomainjoin\-cli\fR is the BeyondTrust AD Bridge domain join tool\. \fBdomainjoin\-cli\fR will join the current machine to an AD domain, and enable the authentication of AD users\.
.
.P
\fBdomainjoin\-cli\fR offers fine\-grained control over modifications to system configuration files that are typically required during a join, such as editing \fB/etc/nsswitch\.conf\fR or the system PAM setup (see JOIN and LEAVE commands)\.
@@ -79,7 +79,7 @@ The join command supports the following options:
\fB\-\-ou\fR \fIorganizational_unit\fR
.
.IP
-Joins the machine to the OU \fIorganizational_unit\fR instead of the default "Computers" OU\. The OU to which a machine is joined determines which users will be able to authenticate against the machine and which group policies will be applied\. \fBNote:\fR Group policy support is an \fBPBIS Enterprise\fR feature\. If the \fIorganizational_unit\fR is not supplied, you will be prompted for it\. \fB\-\-\fR can be used to indicate the OU value is not supplied and to separate it from subsequent parameters\.
+Joins the machine to the OU \fIorganizational_unit\fR instead of the default "Computers" OU\. The OU to which a machine is joined determines which users will be able to authenticate against the machine and which group policies will be applied\. \fBNote:\fR Group policy support is an \fBBeyondTrust AD Bridge Enterprise\fR feature\. If the \fIorganizational_unit\fR is not supplied, you will be prompted for it\. \fB\-\-\fR can be used to indicate the OU value is not supplied and to separate it from subsequent parameters\.
.
.P
\fB\-\-assumeDefaultDomain\fR \fByes\fR|\fBno\fR
@@ -118,7 +118,7 @@ Explicitly enables the configuration of \fImodule\fR during the join operation\.
Explicitly disables the configuration of \fImodule\fR during the join operation\.
.
.IP
-\fBNote\fR that some modules are necessary for the proper operation of PBIS while joined to AD\. If you attempt to disable such a module, \fBdomainjoin\-cli\fR will refuse to proceed with a join operation\.
+\fBNote\fR that some modules are necessary for the proper operation of BeyondTrust AD Bridge while joined to AD\. If you attempt to disable such a module, \fBdomainjoin\-cli\fR will refuse to proceed with a join operation\.
.
.IP
For some modules, it is possible to make the relevant configuration changes by hand; \fBdomainjoin\-cli\fR will inform you of the necessary changes and will proceed with the module disabled if it detects that the changes have been made\.
@@ -217,7 +217,7 @@ Turns on debugging information during the leave operation and provides more verb
\fBbash\fR \- fixes the bash prompt for backslashes in usernames
.
.IP "\(bu" 4
-\fBdsplugin\fR \- enables the PBIS directory services plugin on a Mac computer
+\fBdsplugin\fR \- enables the directory services plugin on a Mac computer
.
.IP "\(bu" 4
\fBfirewall\fR \- opens ports to the domain controller
@@ -247,7 +247,7 @@ Turns on debugging information during the leave operation and provides more verb
\fBpam\fR \- configures pam\.d and pam\.conf
.
.IP "\(bu" 4
-\fBnsswitch\fR \- enables or disables PBIS nsswitch module
+\fBnsswitch\fR \- enables or disables nsswitch module
.
.IP "\(bu" 4
\fBssh\fR \- configures ssh and sshd
@@ -279,7 +279,7 @@ Makes local configuration modifications necessary to ensure that the fully\-qual
Changes the hostname of this machine to \fIhostname\fR\. As it is necessary to have a unique, non\-generic name before joining AD, this operation is provided as a convenient way to quickly rename this computer before performing a join\.
.
.SH "CONFIGURATION AND DEBUGGING COMMANDS"
-\fBdomainjoin\-cli\fR includes commands for debugging the domain\-join process and for configuring or preconfiguring a module\. For example, run the configure command to preconfigure a system before you join a domain—a useful strategy when you are deploying PBIS in a virtual environment and you need to preconfigure the nsswitch, ssh, or PAM module of the target computers to avoid restarting them after they are added to the domain\.
+\fBdomainjoin\-cli\fR includes commands for debugging the domain\-join process and for configuring or preconfiguring a module\. For example, run the configure command to preconfigure a system before you join a domain—a useful strategy when you are deploying BeyondTrust AD Bridge in a virtual environment and you need to preconfigure the nsswitch, ssh, or PAM module of the target computers to avoid restarting them after they are added to the domain\.
.
.P
The following \fBconfigure\fR commands are supported\.
@@ -358,7 +358,7 @@ Show what configuration modules would be run when joining the AD domain \fBsales
Show what changes would be made to the system by the \fBpam\fR module when joining the AD domain \fBsales\.my\-company\.com\fR\.
.
.SH "SEE ALSO"
-The full documentation for PBIS is available online at https://github\.com/BeyondTrust/pbis\-open/wiki/Documentation and https://www\.beyondtrust\.com/resources/education/documentation/?subcategory=ad\-bridge
+The full documentation is available online at https://github\.com/BeyondTrust/pbis\-open/wiki/Documentation and https://www\.beyondtrust\.com/resources/education/documentation/?subcategory=ad\-bridge
.
.SH "VERSION"
-PBIS version 8\.7 +\.
+Version 9\.0 +\.
diff --git a/docs/man/pbis.7 b/docs/man/pbis.7
index 80c05a739..d5728e629 100644
--- a/docs/man/pbis.7
+++ b/docs/man/pbis.7
@@ -1,19 +1,22 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "PBIS" "7" "September 2018" "" ""
+.TH "PBIS" "7" "January 2019" "" ""
.
.SH "NAME"
\fBpbis\fR \- A suite of tools and services for joining Linux, Unix, and OS X clients to Active Directory domains
.
.SH "DESCRIPTION"
-PowerBroker Identity Services Open (PBIS) is a set of tools and services to enable joining hosts to an Active Directory (AD) domain in a single step\. The software performs all the necessary system management configuration to enable PAM aware host services to authenticate AD domain users and honour the user\'s existing set of domain group memberships\.
+BeyondTrust AD Bridge Open (PBIS) is a set of tools and services to enable joining hosts to an Active Directory (AD) domain in a single step\. The software performs all the necessary system management configuration to enable PAM aware host services to authenticate AD domain users and honour the user\'s existing set of domain group memberships\.
.
.SH "SUPPORT"
-PBIS is available in Open and Enterprise editions\.
+BeyondTrust AD Bridge is available in Open and Enterprise editions\.
.
.P
-Information about PBIS Open can be found at PBIS Open \fIhttps://github\.com/BeyondTrust/pbis\-open\fR\. Information on PBIS Enterprise can be found at PBIS Enterprise \fIhttps://www\.beyondtrust\.com/products/powerbroker\-identity\-services\-ad\-bridge/\fR\.
+Information about Open can be found at PBIS Open \fIhttps://github\.com/BeyondTrust/pbis\-open\fR\. Information on Enterprise can be found at PBIS Enterprise \fIhttps://www\.beyondtrust\.com/products/powerbroker\-identity\-services\-ad\-bridge/\fR\.
.
.SH "SEE ALSO"
adtool(8) domainjoin\-cli(8)
+.
+.SH "VERSION"
+Version 9\.0 +\.
diff --git a/docs/md/adtool.8.md b/docs/md/adtool.8.md
index 8bbe09231..f4318138a 100644
--- a/docs/md/adtool.8.md
+++ b/docs/md/adtool.8.md
@@ -88,7 +88,7 @@ CELL SYNOPSIS
DESCRIPTION
-----------
-**adtool** is the BeyondTrust PBIS AD tool. **adtool** can create, query and modify objects in Active Directory. **adtool** can also be utilized to create, find and manage objects in PowerBroker cells.
+**adtool** can create, query and modify objects in Active Directory. **adtool** can also be utilized to create, find and manage objects in cells.
**NOTE: AUTHENTICATION REQUIRED -** This tool is for managing Active Directory objects which requires AD rights. It is **REQUIRED** to be logged in as an AD user with rights to manage AD before using the **adtool**. Alternatively the --domain **CONNECTION OPTION** with an **AUTHENTICATION OPTION** can be used to connect to the domain when logged in as a local user.
@@ -111,7 +111,7 @@ COMMON OPTIONS
-------
`-l|--log-level`
-
+
[INDENT]Acceptable values: 1(error), 2(warning), 3(info), 4(verbose) 5(trace). Default: 2(warning).
`-q|--quiet`
@@ -176,7 +176,7 @@ ACTION
[INDENT]Action to execute. Type '--help -a' for a list of actions, or '--help -a ' for information on a specific action.
USER ACTIONS
--------------
+-------------
**SEARCH-USER**
@@ -258,9 +258,9 @@ USER ACTIONS
[INDENT]The password never expires.
`--account-enabled`
-
+
[INDENT]User account will be enabled. By default the account is disabled on creation.
-
+
**EXAMPLE**
[INDENT]Create a new user account TestUser in TestOu.
@@ -276,11 +276,11 @@ USER ACTIONS
`--name`
-[INDENT]User to change password for. (DN/RDN, UPN, or SamAccountName; use '-' for stdin input)
+[INDENT]User to change password for. (DN/RDN, UPN, or SamAccountName; use '-' for stdin input)
`--password`
-[INDENT]User's password. If omitted only the password's properties may be changed but not the password itself. (use '-' for stdin input)
+[INDENT]User's password. If omitted only the password's properties may be changed but not the password itself. (use '-' for stdin input)
`--spn`
@@ -361,7 +361,7 @@ adtool [] -a disable-user --name
GROUP ACTIONS
--------------
+-------------
**SEARCH-GROUPS**
@@ -380,7 +380,7 @@ GROUP ACTIONS
`--name`
[INDENT]Name of the group (DN/RDN, UPN, or SamAccountName). Wildcards (*) accepted as part of the name.
-
+
**EXAMPLE**
[INDENT]Looks for group TestGroup under OU TestOU.
@@ -456,7 +456,7 @@ GROUP ACTIONS
[INDENT]User to remove from the group (DN/RDN, UPN, or SamAccountName; use '-' for stdin input).
-`--group`
+`--group`
[INDENT]Group to remove from the group (DN/RDN, or CN; use '-' for stdin input).
@@ -472,7 +472,7 @@ GROUP ACTIONS
COMPUTER ACTIONS
--------------
+-------------
**SEARCH-COMPUTER**
@@ -507,7 +507,7 @@ COMPUTER ACTIONS
`--dn`
-[INDENT]DN/RDN of the parent container/OU containing the computer. (use '-' for stdin input)
+[INDENT]DN/RDN of the parent container/OU containing the computer. (use '-' for stdin input)
`--name`
@@ -561,7 +561,7 @@ OU ACTIONS
[INDENT]Search scope. Acceptable values: base, one-level, subtree. Default: subtree
-`--name`
+`--name`
[INDENT]Name of the OU (DN/RDN, or CN). Wildcards (*) accepted as part of the name.
@@ -598,7 +598,7 @@ OU ACTIONS
OBJECT ACTIONS
--------------
+-------------
**SEARCH-OBJECTS**
@@ -638,7 +638,7 @@ OBJECT ACTIONS
`--attr`
[INDENT]Attribute to show values of
-
+
`--raw-time`
[INDENT]Do not format timestamps (show raw time data)
@@ -667,7 +667,7 @@ OBJECT ACTIONS
`--to`
[INDENT]DN/RDN of the new object. (use '-' for stdin input)
-
+
**EXAMPLE**
[INDENT]Move computer object under the computers container to TestOU.
@@ -683,7 +683,7 @@ OBJECT ACTIONS
`--dn`
-[INDENT]DN/RDN of the object to delete. (use '-' for stdin input)
+[INDENT]DN/RDN of the object to delete. (use '-' for stdin input)
`--force`
@@ -704,7 +704,7 @@ OBJECT ACTIONS
`--dn`
-[INDENT]DN/RDN of the object.
+[INDENT]DN/RDN of the object.
` --attrName`
@@ -727,13 +727,13 @@ OBJECT ACTIONS
CELL ACTIONS
--------------
+-------------
**SEARCH-CELLS**
`adtool` [] -a search-cells [--search-base ] [--scope ] [--user ] [--group ]
-[INDENT]Search for PowerBroker Cells.
+[INDENT]Search for AD Bridge Cells.
`--search-base`
@@ -750,10 +750,10 @@ CELL ACTIONS
`--group`
[INDENT]Search for cells the group is a member of (DN/RDN, or CN; use '-' for stdin input).
-
+
**EXAMPLE**
-[INDENT]Search for PowerBroker Cells in root naming context containing user TestUser.
+[INDENT]Search for AD Bridge Cells in root naming context containing user TestUser.
[INDENT]`adtool -a search-cells --user TestUser`
@@ -762,7 +762,7 @@ CELL ACTIONS
`adtool` [] -a new-cell --dn [--home-dir-template ] [--default-login-shell ]
-[INDENT]Create a new PowerBroker Cell.
+[INDENT]Create a new AD Bridge Cell.
`--dn`
@@ -778,7 +778,7 @@ CELL ACTIONS
**EXAMPLE**
-[INDENT]Create PowerBroker Cell in TestOU setting the default login shell property to /bin/sh.
+[INDENT]Create AD Bridge Cell in TestOU setting the default login shell property to /bin/sh.
[INDENT]`adtool -a new-cell --dn OU=TestOu --default-login-shell /bin/sh`
@@ -787,7 +787,7 @@ CELL ACTIONS
`adtool` [] -a add-to-cell --dn (--user|--group )
-[INDENT]Add user/group to a PowerBroker Cell.
+[INDENT]Add user/group to a AD Bridge Cell.
`--dn`
@@ -803,11 +803,11 @@ CELL ACTIONS
**EXAMPLE**
-[INDENT]Add group TestGroup to PowerBroker Cell.
+[INDENT]Add group TestGroup to AD Bridge Cell.
[INDENT]`adtool -a add-to-cell --dn OU=TestOU --group TestGroup`
-[INDENT]Add user TestGroup to PowerBroker Cell.
+[INDENT]Add user TestGroup to AD Bridge Cell.
[INDENT]`adtool -a add-to-cell --dn OU=TestOU --user TestUser`
@@ -817,7 +817,7 @@ CELL ACTIONS
`adtool` [] -a remove-from-cell --dn --user|--group [--force]
-[INDENT]Remove user/group from a PowerBroker Cell.
+[INDENT]Remove user/group from a AD Bridge Cell.
`--dn`
@@ -835,7 +835,7 @@ CELL ACTIONS
**EXAMPLE**
-[INDENT]Remove user/group from PowerBroker Cell.
+[INDENT]Remove user/group from AD Bridge Cell.
[INDENT]`adtool -a remove-from-cell --dn OU=TestOU --user TestUser`
@@ -846,7 +846,7 @@ CELL ACTIONS
`adtool` [] -a delete-cell --dn [--force]
-[INDENT]Delete a PowerBroker Cell.
+[INDENT]Delete a AD Bridge Cell.
`--dn`
@@ -858,7 +858,7 @@ CELL ACTIONS
**EXAMPLE**
-[INDENT]Delete the PowerBroker Cell TestOU.
+[INDENT]Delete the AD Bridge Cell TestOU.
[INDENT]`adtool -a delete-cell --dn OU=TestOU --force`
@@ -867,7 +867,7 @@ CELL ACTIONS
`adtool` [] -a edit-cell --dn (--home-dir-template | --default-login-shell )
-[INDENT]Modify PowerBroker Cell properties.
+[INDENT]Modify AD Bridge Cell properties.
`--dn`
@@ -883,7 +883,7 @@ CELL ACTIONS
**EXAMPLE**
-[INDENT]Change the default login shell property of PowerBroker Cell.
+[INDENT]Change the default login shell property of AD Bridge Cell.
[INDENT]`adtool -a edit-cell --dn OU=TestOU --default-login-shell=/bin/bash`
@@ -970,7 +970,7 @@ CELL ACTIONS
`adtool` [] -a lookup-cell --dn [--home-dir-template ] [--default-login-shell ] [--users ] [--groups ] [--linked-cells ] [--all]
-[INDENT]Retrieve PowerBroker Cell properties.
+[INDENT]Retrieve AD Bridge Cell properties.
`--dn`
@@ -1002,7 +1002,7 @@ CELL ACTIONS
**EXAMPLE**
-[INDENT]Find cells linked to PowerBroker Cell in OU=TestOU
+[INDENT]Find cells linked to AD Bridge Cell in OU=TestOU
[INDENT]`adtool -a lookup-cell --dn OU=TestOU --linked-cells`
@@ -1097,7 +1097,7 @@ CELL ACTIONS
`adtool` [] -a link-cell --source-dn --target-dn
-[INDENT]Link PowerBroker Cells.
+[INDENT]Link AD Bridge Cells.
`--source-dn`
@@ -1118,7 +1118,7 @@ CELL ACTIONS
`adtool` [] -a unlink-cell --source-dn --target-dn
-[INDENT]Unlink PowerBroker Cells.
+[INDENT]Unlink AD Bridge Cells.
`--source-dn`
@@ -1139,9 +1139,9 @@ CELL ACTIONS
SEE ALSO
--------
-The full documentation for PBIS is available online at https://github.com/BeyondTrust/pbis-open/wiki/Documentation and https://www.beyondtrust.com/resources/education/documentation/?subcategory=ad-bridge
+The full documentation is available online at https://github.com/BeyondTrust/pbis-open/wiki/Documentation and https://www.beyondtrust.com/resources/education/documentation/?subcategory=ad-bridge
VERSION
-------
-PBIS version 8.7 +.
+Version 9.0 +.
diff --git a/docs/md/domainjoin-cli.8.md b/docs/md/domainjoin-cli.8.md
index f69abf0d9..16359298d 100644
--- a/docs/md/domainjoin-cli.8.md
+++ b/docs/md/domainjoin-cli.8.md
@@ -27,7 +27,7 @@ SYNOPSIS
DESCRIPTION
-----------
-**domainjoin-cli** is the BeyondTrust PBIS AD domain join tool. **domainjoin-cli** will join the current machine to an AD domain, and enable the authentication of AD users.
+**domainjoin-cli** is the BeyondTrust AD Bridge domain join tool. **domainjoin-cli** will join the current machine to an AD domain, and enable the authentication of AD users.
**domainjoin-cli** offers fine-grained control over modifications to system configuration files that are typically required during a join, such as editing `/etc/nsswitch.conf` or the system PAM setup (see JOIN and LEAVE commands).
@@ -58,14 +58,14 @@ JOIN COMMAND
Joins the machine to the AD domain and configures AD authentication. This operation requires valid AD credentials for to be specified as and . If or are not specified on the command line, **domainjoin-cli** will prompt for them.
[ENTERPRISE]
-For **PBIS Enterprise**, the credentials can be retrieved from a **BeyondTrust Password Safe** instance; see the `--configFile` option.
+For **BeyondTrust AD Bridge Enterprise**, the credentials can be retrieved from a **BeyondTrust Password Safe** instance; see the `--configFile` option.
[/ENTERPRISE]
The join command supports the following options:
`--ou`
-[INDENT]Joins the machine to the OU instead of the default "Computers" OU. The OU to which a machine is joined determines which users will be able to authenticate against the machine and which group policies will be applied. **Note:** Group policy support is an **PBIS Enterprise** feature. If the is not supplied, you will be prompted for it. `--` can be used to indicate the OU value is not supplied and to separate it from subsequent parameters.
+[INDENT]Joins the machine to the OU instead of the default "Computers" OU. The OU to which a machine is joined determines which users will be able to authenticate against the machine and which group policies will be applied. **Note:** Group policy support is an **BeyondTrust AD Bridge Enterprise** feature. If the is not supplied, you will be prompted for it. `--` can be used to indicate the OU value is not supplied and to separate it from subsequent parameters.
[ENTERPRISE]
`--assumeDefaultCell` `auto`|`no`|`force`
@@ -110,7 +110,7 @@ The join command supports the following options:
[INDENT]Explicitly disables the configuration of during the join operation.
-[INDENT]**Note** that some modules are necessary for the proper operation of PBIS while joined to AD. If you attempt to disable such a module, **domainjoin-cli** will refuse to proceed with a join operation.
+[INDENT]**Note** that some modules are necessary for the proper operation of BeyondTrust AD Bridge while joined to AD. If you attempt to disable such a module, **domainjoin-cli** will refuse to proceed with a join operation.
[INDENT]For some modules, it is possible to make the relevant configuration changes by hand; **domainjoin-cli** will inform you of the necessary changes and will proceed with the module disabled if it detects that the changes have been made.
@@ -148,7 +148,7 @@ Leaves the currently-joined AD domain and deconfigures AD authentication and gro
In order to disable the machine account in AD, either administrative credentials for or the same credentials originally used to join the machine must be specified as and . If is not specified on the command line, **domainjoin-cli** will prompt you for it.
[ENTERPRISE]
-For **PBIS Enterprise**, the credentials can be retrieved from a **BeyondTrust Password Safe** instance; see the `--configFile` option.
+For **BeyondTrust AD Bridge Enterprise**, the credentials can be retrieved from a **BeyondTrust Password Safe** instance; see the `--configFile` option.
[/ENTERPRISE]
If no credentials are specified, the machine will no longer behave as a member of but it's machine account will remain enabled in AD.
@@ -203,7 +203,7 @@ DOMAINJOIN MODULES
* `bash` - fixes the bash prompt for backslashes in usernames
-* `dsplugin` - enables the PBIS directory services plugin on a Mac computer
+* `dsplugin` - enables the directory services plugin on a Mac computer
* `firewall` - opens ports to the domain controller
@@ -223,7 +223,7 @@ DOMAINJOIN MODULES
* `pam` - configures pam.d and pam.conf
-* `nsswitch` - enables or disables PBIS nsswitch module
+* `nsswitch` - enables or disables nsswitch module
* `ssh` - configures ssh and sshd
@@ -258,7 +258,7 @@ Changes the hostname of this machine to . As it is necessary to have a
CONFIGURATION AND DEBUGGING COMMANDS
------------------------------------
-`domainjoin-cli` includes commands for debugging the domain-join process and for configuring or preconfiguring a module. For example, run the configure command to preconfigure a system before you join a domain—a useful strategy when you are deploying PBIS in a virtual environment and you need to preconfigure the nsswitch, ssh, or PAM module of the target computers to avoid restarting them after they are added to the domain.
+`domainjoin-cli` includes commands for debugging the domain-join process and for configuring or preconfiguring a module. For example, run the configure command to preconfigure a system before you join a domain—a useful strategy when you are deploying BeyondTrust AD Bridge in a virtual environment and you need to preconfigure the nsswitch, ssh, or PAM module of the target computers to avoid restarting them after they are added to the domain.
The following `configure` commands are supported.
@@ -316,9 +316,9 @@ Example invocations of **domainjoin-cli** and their effects follow:
SEE ALSO
--------
-The full documentation for PBIS is available online at https://github.com/BeyondTrust/pbis-open/wiki/Documentation and https://www.beyondtrust.com/resources/education/documentation/?subcategory=ad-bridge
+The full documentation is available online at https://github.com/BeyondTrust/pbis-open/wiki/Documentation and https://www.beyondtrust.com/resources/education/documentation/?subcategory=ad-bridge
VERSION
-------
-PBIS version 8.7 +.
+Version 9.0 +.
diff --git a/docs/md/pbis.7.md b/docs/md/pbis.7.md
index 19a585033..e40f4d205 100644
--- a/docs/md/pbis.7.md
+++ b/docs/md/pbis.7.md
@@ -4,20 +4,25 @@ pbis(7) - A suite of tools and services for joining Linux, Unix, and OS X client
DESCRIPTION
-----------
-PowerBroker Identity Services [EDITION] (PBIS) is a set of tools and services to enable joining hosts to an Active Directory (AD) domain in a single step. The software performs all the necessary system management configuration to enable PAM aware host services to authenticate AD domain users and honour the user's existing set of domain group memberships.
+BeyondTrust AD Bridge [EDITION] (PBIS) is a set of tools and services to enable joining hosts to an Active Directory (AD) domain in a single step. The software performs all the necessary system management configuration to enable PAM aware host services to authenticate AD domain users and honour the user's existing set of domain group memberships.
[ENTERPRISE]
-PBIS Enterprise also includes reporting, smart card authentication, and Group Policy support.
+BeyondTrust AD Bridge Enterprise also includes reporting, smart card authentication, and Group Policy support.
[/ENTERPRISE]
SUPPORT
-------
-PBIS is available in Open and Enterprise editions.
+BeyondTrust AD Bridge is available in Open and Enterprise editions.
-Information about PBIS Open can be found at [PBIS Open](https://github.com/BeyondTrust/pbis-open). Information on PBIS Enterprise can be found at [PBIS Enterprise](https://www.beyondtrust.com/products/powerbroker-identity-services-ad-bridge/).
+Information about Open can be found at [PBIS Open](https://github.com/BeyondTrust/pbis-open). Information on Enterprise can be found at [PBIS Enterprise](https://www.beyondtrust.com/products/powerbroker-identity-services-ad-bridge/).
SEE ALSO
--------
adtool(8)
domainjoin-cli(8)
+
+VERSION
+-------
+
+Version 9.0 +.
diff --git a/domainjoin/domainjoin-gui/AppleScript/PBIS Domain Join.app/Contents/Resources/Scripts/main.rtf b/domainjoin/domainjoin-gui/AppleScript/PBIS Domain Join.app/Contents/Resources/Scripts/main.rtf
index 4a04854ae..0d540bf36 100644
--- a/domainjoin/domainjoin-gui/AppleScript/PBIS Domain Join.app/Contents/Resources/Scripts/main.rtf
+++ b/domainjoin/domainjoin-gui/AppleScript/PBIS Domain Join.app/Contents/Resources/Scripts/main.rtf
@@ -9,324 +9,324 @@
\
\b set
-\b0 \cf3 iconfile\cf2
+\b0 \cf3 iconfile\cf2
\b to
\b0 ((
\b \cf4 path to
-\b0 \cf2
+\b0 \cf2
\b me
-\b0 ) & "Contents:Resources:applet.icns"
+\b0 ) & "Contents:Resources:applet.icns"
\b as
-\b0
+\b0
\i \cf5 string
\i0 \cf2 )\
\
\b if
-\b0 \cf3 userpassword\cf2
+\b0 \cf3 userpassword\cf2
\b is
-\b0 ""
+\b0 ""
\b then
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li1665\fi-1665\pardirnatural
-\cf2
+\cf2
\b \cf4 display dialog
-\b0 \cf2 "This domain join program requires administrative privileges. In the following dialog, please specify an administrative account and password to access the domain join capability." \cf4 with title\cf2 "PowerBroker Identity Services" \cf4 with icon\cf2
+\b0 \cf2 "This domain join program requires administrative privileges. In the following dialog, please specify an administrative account and password to access the domain join capability." \cf4 with title\cf2 "BeyondTrust AD Bridge" \cf4 with icon\cf2
\i \cf5 file
\i0 \cf2 \cf3 iconfile\cf2 \
-
+
\b set
-\b0 \cf3 the_password\cf2
+\b0 \cf3 the_password\cf2
\b to
\b0 "Undefined"\
-
+
\b repeat
-\b0
+\b0
\b until
-\b0 \cf3 the_password\cf2
+\b0 \cf3 the_password\cf2
\b is
\b0 "Correct"\
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li2497\fi-2498\pardirnatural
-\cf2
+\cf2
\b try
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li3330\fi-3330\pardirnatural
-\cf2
+\cf2
\b set
-\b0 \cf3 theFinderPID\cf2
+\b0 \cf3 theFinderPID\cf2
\b to
-\b0
+\b0
\b \cf4 do shell script
\b0 \cf2 "ps -axww | /usr/bin/grep '[/]Finder'| awk '\{print $1\}' | head -1"\
-
+
\b \cf4 do shell script
-\b0 \cf2 "renice 1 " & \cf3 theFinderPID\cf2 \cf6 password\cf2 \cf3 userpassword\cf2
+\b0 \cf2 "renice 1 " & \cf3 theFinderPID\cf2 \cf6 password\cf2 \cf3 userpassword\cf2
\b with
\b0 \cf4 administrator privileges\cf2 \
-
+
\b \cf4 do shell script
\b0 \cf2 "renice 0 " & \cf3 theFinderPID\cf2 \cf6 password\cf2 \cf3 userpassword\cf2
\b with
\b0 \cf4 administrator privileges\cf2 \
-
+
\b set
-\b0 \cf3 the_password\cf2
+\b0 \cf3 the_password\cf2
\b to
\b0 "Correct"\
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li2497\fi-2498\pardirnatural
-\cf2
+\cf2
\b on
-\b0
+\b0
\b error
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li3330\fi-3330\pardirnatural
-\cf2
+\cf2
\b \cf4 display dialog
-\b0 \cf2 "Sorry, the password entered was not correct. Please try again." \cf4 with title\cf2 "PowerBroker Identity Services" \cf4 with icon\cf2
+\b0 \cf2 "Sorry, the password entered was not correct. Please try again." \cf4 with title\cf2 "BeyondTrust AD Bridge" \cf4 with icon\cf2
\i \cf5 file
\i0 \cf2 \cf3 iconfile\cf2 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li2497\fi-2498\pardirnatural
-\cf2
+\cf2
\b end
-\b0
+\b0
\b try
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li1665\fi-1665\pardirnatural
-\cf2
+\cf2
\b end
-\b0
+\b0
\b repeat
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li832\fi-833\pardirnatural
\b \cf2 end
-\b0
+\b0
\b if
\b0 \
\
\b set
-\b0 \cf3 domain\cf2
+\b0 \cf3 domain\cf2
\b to
-\b0
+\b0
\b \cf4 do shell script
-\b0 \cf2 "sudo /opt/pbis/bin/domainjoin-cli query | grep \\"Domain\\" | awk '\{print $3\}'" \cf6 password\cf2 \cf3 userpassword\cf2
+\b0 \cf2 "sudo /opt/pbis/bin/domainjoin-cli query | grep \\"Domain\\" | awk '\{print $3\}'" \cf6 password\cf2 \cf3 userpassword\cf2
\b with
\b0 \cf4 administrator privileges\cf2 \
\
\b if
-\b0 \cf3 domain\cf2
+\b0 \cf3 domain\cf2
\b is not
-\b0
+\b0
\b equal to
-\b0 ""
+\b0 ""
\b then
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li1665\fi-1665\pardirnatural
-\cf2
+\cf2
\b set
-\b0 \cf3 question\cf2
+\b0 \cf3 question\cf2
\b to
-\b0
+\b0
\b \cf4 display dialog
-\b0 \cf2 "You are joined to the domain: " & \cf3 domain\cf2 \cf4 with title\cf2 "PowerBroker Identity Services" \cf4 buttons\cf2 \{"Leave domain", "Join another domain", "Cancel"\} \cf4 default button\cf2 1 \cf4 with icon\cf2
+\b0 \cf2 "You are joined to the domain: " & \cf3 domain\cf2 \cf4 with title\cf2 "BeyondTrust AD Bridge" \cf4 buttons\cf2 \{"Leave domain", "Join another domain", "Cancel"\} \cf4 default button\cf2 1 \cf4 with icon\cf2
\i \cf5 file
\i0 \cf2 \cf3 iconfile\cf2 \
-
+
\b set
-\b0 \cf3 answer\cf2
+\b0 \cf3 answer\cf2
\b to
-\b0 \cf6 button returned\cf2
+\b0 \cf6 button returned\cf2
\b of
\b0 \cf3 question\cf2 \
\
-
+
\b if
-\b0 \cf3 answer\cf2
+\b0 \cf3 answer\cf2
\b is
-\b0
+\b0
\b equal to
-\b0 "Leave domain"
+\b0 "Leave domain"
\b then
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li2497\fi-2498\pardirnatural
-\cf2
+\cf2
\b set
-\b0 \cf3 domain\cf2
+\b0 \cf3 domain\cf2
\b to
-\b0
+\b0
\b \cf4 do shell script
-\b0 \cf2 "sudo /opt/pbis/bin/domainjoin-cli leave" \cf6 password\cf2 \cf3 userpassword\cf2
+\b0 \cf2 "sudo /opt/pbis/bin/domainjoin-cli leave" \cf6 password\cf2 \cf3 userpassword\cf2
\b with
\b0 \cf4 administrator privileges\cf2 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li1665\fi-1665\pardirnatural
-\cf2
+\cf2
\b else
-\b0
+\b0
\b if
-\b0 \cf3 answer\cf2
+\b0 \cf3 answer\cf2
\b is
-\b0
+\b0
\b equal to
-\b0 "Cancel"
+\b0 "Cancel"
\b then
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li2497\fi-2498\pardirnatural
-\cf2
+\cf2
\b \cf5 quit
\b0 \cf2 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li1665\fi-1665\pardirnatural
-\cf2
+\cf2
\b end
-\b0
+\b0
\b if
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li832\fi-833\pardirnatural
\b \cf2 end
-\b0
+\b0
\b if
\b0 \
\
\b set
-\b0 \cf3 joindomain\cf2
+\b0 \cf3 joindomain\cf2
\b to
\b0 ""\
\b set
-\b0 \cf3 shortdomain\cf2
+\b0 \cf3 shortdomain\cf2
\b to
\b0 ""\
\
\b repeat
-\b0
+\b0
\b until
-\b0 \cf3 shortdomain\cf2
+\b0 \cf3 shortdomain\cf2
\b is
-\b0
+\b0
\b not
\b0 ""\
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li1665\fi-1665\pardirnatural
-\cf2
+\cf2
\b set
-\b0 \cf3 joindomain\cf2
+\b0 \cf3 joindomain\cf2
\b to
-\b0
+\b0
\b the
-\b0 \cf6 text returned\cf2
+\b0 \cf6 text returned\cf2
\b of
\b0 (
\b \cf4 display dialog
-\b0 \cf2 "Domain to join:" \cf4 default answer\cf2 \cf3 joindomain\cf2 \cf4 with title\cf2 "PowerBroker Identity Services" \cf4 with icon\cf2
+\b0 \cf2 "Domain to join:" \cf4 default answer\cf2 \cf3 joindomain\cf2 \cf4 with title\cf2 "BeyondTrust AD Bridge" \cf4 with icon\cf2
\i \cf5 file
\i0 \cf2 \cf3 iconfile\cf2 )\
\
-
+
\b set
-\b0 \cf3 shortdomain\cf2
+\b0 \cf3 shortdomain\cf2
\b to
-\b0
+\b0
\b \cf4 do shell script
-\b0 \cf2 "sudo /opt/pbis/bin/get-dc-name " & \cf3 joindomain\cf2 & " | grep \\"pszNetBIOSDomainName\\" | awk '\{print $3\}'" \cf6 password\cf2 \cf3 userpassword\cf2
+\b0 \cf2 "sudo /opt/pbis/bin/get-dc-name " & \cf3 joindomain\cf2 & " | grep \\"pszNetBIOSDomainName\\" | awk '\{print $3\}'" \cf6 password\cf2 \cf3 userpassword\cf2
\b with
\b0 \cf4 administrator privileges\cf2 \
\
-
+
\b if
-\b0 \cf3 shortdomain\cf2
+\b0 \cf3 shortdomain\cf2
\b is
-\b0 ""
+\b0 ""
\b then
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li2497\fi-2498\pardirnatural
-\cf2
+\cf2
\b \cf4 display dialog
-\b0 \cf2 "Domain (" & \cf3 joindomain\cf2 & ") is not valid. Please specify a valid Active Directory domain name" \cf4 with title\cf2 "PowerBroker Identity Services" \cf4 with icon\cf2
+\b0 \cf2 "Domain (" & \cf3 joindomain\cf2 & ") is not valid. Please specify a valid Active Directory domain name" \cf4 with title\cf2 "BeyondTrust AD Bridge" \cf4 with icon\cf2
\i \cf5 file
\i0 \cf2 \cf3 iconfile\cf2 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li1665\fi-1665\pardirnatural
-\cf2
+\cf2
\b end
-\b0
+\b0
\b if
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li832\fi-833\pardirnatural
\b \cf2 end
-\b0
+\b0
\b repeat
\b0 \
\
\b set
-\b0 \cf3 use_assume_default_domain\cf2
+\b0 \cf3 use_assume_default_domain\cf2
\b to
\b0 "no"\
\
\b set
-\b0 \cf3 question\cf2
+\b0 \cf3 question\cf2
\b to
-\b0
+\b0
\b \cf4 display dialog
-\b0 \cf2 "Set assume default domain setting to " & \cf3 shortdomain\cf2 & "?" \cf4 with title\cf2 "PowerBroker Identity Services" \cf4 buttons\cf2 \{"Yes", "No", "Other"\} \cf4 default button\cf2 1 \cf4 with icon\cf2
+\b0 \cf2 "Set assume default domain setting to " & \cf3 shortdomain\cf2 & "?" \cf4 with title\cf2 "BeyondTrust AD Bridge" \cf4 buttons\cf2 \{"Yes", "No", "Other"\} \cf4 default button\cf2 1 \cf4 with icon\cf2
\i \cf5 file
\i0 \cf2 \cf3 iconfile\cf2 \
\b set
-\b0 \cf3 answer\cf2
+\b0 \cf3 answer\cf2
\b to
-\b0 \cf6 button returned\cf2
+\b0 \cf6 button returned\cf2
\b of
\b0 \cf3 question\cf2 \
\
\b if
-\b0 \cf3 answer\cf2
+\b0 \cf3 answer\cf2
\b is
-\b0
+\b0
\b equal to
-\b0 "Yes"
+\b0 "Yes"
\b then
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li1665\fi-1665\pardirnatural
-\cf2
+\cf2
\b set
-\b0 \cf3 use_assume_default_domain\cf2
+\b0 \cf3 use_assume_default_domain\cf2
\b to
\b0 "yes"\
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li832\fi-833\pardirnatural
\b \cf2 else
-\b0
+\b0
\b if
-\b0 \cf3 answer\cf2
+\b0 \cf3 answer\cf2
\b is
-\b0
+\b0
\b equal to
-\b0 "Other"
+\b0 "Other"
\b then
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li1665\fi-1665\pardirnatural
-\cf2
+\cf2
\b set
-\b0 \cf3 use_assume_default_domain\cf2
+\b0 \cf3 use_assume_default_domain\cf2
\b to
\b0 "yes"\
-
+
\b set
-\b0 \cf3 shortdomain\cf2
+\b0 \cf3 shortdomain\cf2
\b to
-\b0
+\b0
\b the
-\b0 \cf6 text returned\cf2
+\b0 \cf6 text returned\cf2
\b of
\b0 (
\b \cf4 display dialog
-\b0 \cf2 "User domain prefix:" \cf4 default answer\cf2 \cf3 shortdomain\cf2 \cf4 with title\cf2 "PowerBroker Identity Services" \cf4 with icon\cf2
+\b0 \cf2 "User domain prefix:" \cf4 default answer\cf2 \cf3 shortdomain\cf2 \cf4 with title\cf2 "BeyondTrust AD Bridge" \cf4 with icon\cf2
\i \cf5 file
\i0 \cf2 \cf3 iconfile\cf2 )\
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li832\fi-833\pardirnatural
@@ -338,87 +338,87 @@
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li832\fi-833\pardirnatural
\b \cf2 end
-\b0
+\b0
\b if
\b0 \
\
\b set
-\b0 \cf3 joinuser\cf2
+\b0 \cf3 joinuser\cf2
\b to
-\b0
+\b0
\b the
-\b0 \cf6 text returned\cf2
+\b0 \cf6 text returned\cf2
\b of
\b0 (
\b \cf4 display dialog
-\b0 \cf2 "Account to use with AD join permissions:" \cf4 default answer\cf2 "" \cf4 with title\cf2 "PowerBroker Identity Services" \cf4 with icon\cf2
+\b0 \cf2 "Account to use with AD join permissions:" \cf4 default answer\cf2 "" \cf4 with title\cf2 "BeyondTrust AD Bridge" \cf4 with icon\cf2
\i \cf5 file
\i0 \cf2 \cf3 iconfile\cf2 )\
\b set
-\b0 \cf3 joinpassword\cf2
+\b0 \cf3 joinpassword\cf2
\b to
-\b0
+\b0
\b the
-\b0 \cf6 text returned\cf2
+\b0 \cf6 text returned\cf2
\b of
\b0 (
\b \cf4 display dialog
-\b0 \cf2 "Password (" & \cf3 joinuser\cf2 & "):" \cf4 default answer\cf2 "" \cf4 with title\cf2 "PowerBroker Identity Services" \cf4 with icon\cf2
+\b0 \cf2 "Password (" & \cf3 joinuser\cf2 & "):" \cf4 default answer\cf2 "" \cf4 with title\cf2 "BeyondTrust AD Bridge" \cf4 with icon\cf2
\i \cf5 file
-\i0 \cf2 \cf3 iconfile\cf2
+\i0 \cf2 \cf3 iconfile\cf2
\b with
\b0 \cf4 hidden answer\cf2 )\
\
\b set
-\b0 \cf3 question\cf2
+\b0 \cf3 question\cf2
\b to
-\b0
+\b0
\b \cf4 display dialog
-\b0 \cf2 "Set computer object join location:" \cf4 with title\cf2 "PowerBroker Identity Services" \cf4 buttons\cf2 \{"Computers container or use existing", "Specify OU Path"\} \cf4 default button\cf2 1 \cf4 with icon\cf2
+\b0 \cf2 "Set computer object join location:" \cf4 with title\cf2 "BeyondTrust AD Bridge" \cf4 buttons\cf2 \{"Computers container or use existing", "Specify OU Path"\} \cf4 default button\cf2 1 \cf4 with icon\cf2
\i \cf5 file
\i0 \cf2 \cf3 iconfile\cf2 \
\b set
-\b0 \cf3 answer\cf2
+\b0 \cf3 answer\cf2
\b to
-\b0 \cf6 button returned\cf2
+\b0 \cf6 button returned\cf2
\b of
\b0 \cf3 question\cf2 \
\
\b if
-\b0 \cf3 answer\cf2
+\b0 \cf3 answer\cf2
\b is
-\b0
+\b0
\b equal to
-\b0 "Specify OU Path"
+\b0 "Specify OU Path"
\b then
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li1665\fi-1665\pardirnatural
-\cf2
+\cf2
\b set
-\b0 \cf3 oupath\cf2
+\b0 \cf3 oupath\cf2
\b to
-\b0
+\b0
\b the
-\b0 \cf6 text returned\cf2
+\b0 \cf6 text returned\cf2
\b of
\b0 (
\b \cf4 display dialog
-\b0 \cf2 "Computer Organizational Unit Path:" \cf4 default answer\cf2 "" \cf4 with title\cf2 "PowerBroker Identity Services" \cf4 with icon\cf2
+\b0 \cf2 "Computer Organizational Unit Path:" \cf4 default answer\cf2 "" \cf4 with title\cf2 "BeyondTrust AD Bridge" \cf4 with icon\cf2
\i \cf5 file
\i0 \cf2 \cf3 iconfile\cf2 )\
\
-
+
\b set
-\b0 \cf3 joinresult\cf2
+\b0 \cf3 joinresult\cf2
\b to
-\b0
+\b0
\b \cf4 do shell script
-\b0 \cf2 "sudo /opt/pbis/bin/domainjoin-cli join --assumeDefaultDomain " & \cf3 use_assume_default_domain\cf2 & " --userDomainPrefix " & \cf3 shortdomain\cf2 & " --ou " & \cf3 oupath\cf2 & " " & \cf3 joindomain\cf2 & " " & \cf3 joinuser\cf2 & " " & \cf3 joinpassword\cf2 \cf6 password\cf2 \cf3 userpassword\cf2
+\b0 \cf2 "sudo /opt/pbis/bin/domainjoin-cli join --assumeDefaultDomain " & \cf3 use_assume_default_domain\cf2 & " --userDomainPrefix " & \cf3 shortdomain\cf2 & " --ou " & \cf3 oupath\cf2 & " " & \cf3 joindomain\cf2 & " " & \cf3 joinuser\cf2 & " " & \cf3 joinpassword\cf2 \cf6 password\cf2 \cf3 userpassword\cf2
\b with
\b0 \cf4 administrator privileges\cf2 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li832\fi-833\pardirnatural
@@ -426,19 +426,19 @@
\b \cf2 else
\b0 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li1665\fi-1665\pardirnatural
-\cf2
+\cf2
\b set
-\b0 \cf3 joinresult\cf2
+\b0 \cf3 joinresult\cf2
\b to
-\b0
+\b0
\b \cf4 do shell script
-\b0 \cf2 "sudo /opt/pbis/bin/domainjoin-cli join --assumeDefaultDomain " & \cf3 use_assume_default_domain\cf2 & " --userDomainPrefix " & \cf3 shortdomain\cf2 & " " & \cf3 joindomain\cf2 & " " & \cf3 joinuser\cf2 & " " & \cf3 joinpassword\cf2 \cf6 password\cf2 \cf3 userpassword\cf2
+\b0 \cf2 "sudo /opt/pbis/bin/domainjoin-cli join --assumeDefaultDomain " & \cf3 use_assume_default_domain\cf2 & " --userDomainPrefix " & \cf3 shortdomain\cf2 & " " & \cf3 joindomain\cf2 & " " & \cf3 joinuser\cf2 & " " & \cf3 joinpassword\cf2 \cf6 password\cf2 \cf3 userpassword\cf2
\b with
\b0 \cf4 administrator privileges\cf2 \
\pard\tx576\tx1152\tx1728\tx2304\tx2880\tx3456\tx4032\tx4608\tx5184\tx5760\tx6337\tx6913\tx7489\tx8065\tx8641\tx9217\tx9793\tx10369\tx10945\tx11521\tx12097\tx12674\tx13250\tx13826\tx14402\tx14978\tx15554\tx16130\tx16706\tx17282\tx17858\tx18435\tx19011\tx19587\tx20163\tx20739\tx21315\tx21891\tx22467\tx23043\tx23619\tx24195\tx24772\tx25348\tx25924\tx26500\tx27076\tx27652\tx28228\tx28804\tx29380\tx29956\tx30532\tx31109\tx31685\tx32261\tx32837\tx33413\tx33989\tx34565\tx35141\tx35717\tx36293\tx36870\tx37446\tx38022\tx38598\tx39174\tx39750\tx40326\tx40902\tx41478\tx42054\tx42630\tx43207\tx43783\tx44359\tx44935\tx45511\tx46087\tx46663\tx47239\tx47815\tx48391\tx48967\tx49544\tx50120\tx50696\tx51272\tx51848\tx52424\tx53000\tx53576\tx54152\tx54728\tx55305\tx55881\tx56457\tx57033\tx57609\li832\fi-833\pardirnatural
\b \cf2 end
-\b0
+\b0
\b if
\b0 \
-}
\ No newline at end of file
+}
diff --git a/domainjoin/domainjoin-gui/carbon/DomainJoin/DomainLeaveWindow.cp b/domainjoin/domainjoin-gui/carbon/DomainJoin/DomainLeaveWindow.cp
index e0ff77ca8..642314634 100644
--- a/domainjoin/domainjoin-gui/carbon/DomainJoin/DomainLeaveWindow.cp
+++ b/domainjoin/domainjoin-gui/carbon/DomainJoin/DomainLeaveWindow.cp
@@ -21,7 +21,7 @@ const int DomainLeaveWindow::MIGRATE_ID = 312;
const int DomainLeaveWindow::LEAVE_CMD_ID = 'leav';
const int DomainLeaveWindow::MIGRATE_CMD_ID = 'migr';
const int DomainLeaveWindow::CLOSE_CMD_ID = 'not!';
-
+
//--------------------------------------------------------------------------------------------
Boolean
DomainLeaveWindow::HandleCommand( const HICommandExtended& inCommand )
@@ -31,19 +31,19 @@ DomainLeaveWindow::HandleCommand( const HICommandExtended& inCommand )
case CLOSE_CMD_ID:
this->Close();
break;
-
+
case LEAVE_CMD_ID:
HandleLeaveDomain();
break;
-
+
case MIGRATE_CMD_ID:
HandleMigrateUser();
break;
-
+
default:
return false;
}
-
+
return true;
}
@@ -90,7 +90,7 @@ DomainLeaveWindow::GetComputerName()
std::string errMsg("Failed to get computer name from control");
throw DomainJoinException(-1, "Domain Join Error", errMsg);
}
-
+
return result;
}
@@ -104,7 +104,7 @@ DomainLeaveWindow::GetDomainName()
std::string errMsg("Failed to get domain name from control");
throw DomainJoinException(-1, "Domain Join Error", errMsg);
}
-
+
return result;
}
@@ -116,18 +116,18 @@ DomainLeaveWindow::ConfirmLeave(const std::string& domainName)
OSStatus err = noErr;
DialogItemIndex itemHit;
CFStringRef msgStrRef = NULL;
-
+
GetStandardAlertDefaultParams(¶ms, kStdCFStringAlertVersionOne);
-
+
params.movable = true;
params.defaultText = CFSTR("Yes");
params.cancelText = CFSTR("No");
params.otherText = NULL;
params.defaultButton = kAlertStdAlertCancelButton;
params.position = kWindowCenterOnParentWindow;
-
+
msgStrRef = CFStringCreateWithFormat(NULL, NULL, CFSTR("Are you sure you want to leave the %s domain?"), domainName.c_str());
-
+
err = CreateStandardAlert(kAlertStopAlert,
CFSTR("Domain Join"),
msgStrRef,
@@ -145,12 +145,12 @@ DomainLeaveWindow::ConfirmLeave(const std::string& domainName)
{
throw DomainJoinException(err, "Domain Join Error", "Failed to create dialog");
}
-
+
if (msgStrRef)
{
CFRelease(msgStrRef);
}
-
+
return itemHit != 2;
}
@@ -163,7 +163,7 @@ DomainLeaveWindow::ShowLeftDomainDialog(const std::string& domainName)
CFStringRef msgStrRef = CFStringCreateWithCString(NULL, msgStr, kCFStringEncodingASCII);
CFStringGetPascalString(msgStrRef, (StringPtr)msgStr, 255, kCFStringEncodingASCII);
StandardAlert(kAlertNoteAlert,
- "\pPBIS - Active Directory",
+ "\pBeyondTrust AD Bridge - Active Directory",
(StringPtr)msgStr,
NULL,
&outItemHit);
@@ -176,10 +176,10 @@ DomainLeaveWindow::HandleLeaveDomain()
{
std::string computerName = GetComputerName();
std::string domainName = GetDomainName();
-
+
if (!ConfirmLeave(domainName))
return;
-
+
setuid(0);
DomainJoinInterface::LeaveDomain();
@@ -191,9 +191,9 @@ DomainLeaveWindow::HandleLeaveDomain()
catch(DomainJoinException& dje)
{
SInt16 outItemHit;
- const char* err = dje.what();
+ const char* err = dje.what();
const char* message = dje.GetLongErrorMessage();
- DialogRef dialog;
+ DialogRef dialog;
CFStringRef msgStrRef = CFStringCreateWithCString(NULL, message, kCFStringEncodingASCII);
CFStringGetPascalString(msgStrRef, (StringPtr)message, strlen(message), kCFStringEncodingASCII);
CFStringRef errStrRef = CFStringCreateWithCString(NULL, err, kCFStringEncodingASCII);
diff --git a/domainjoin/domainjoin-gui/carbon/DomainJoin/DomainMigrateWindow.cp b/domainjoin/domainjoin-gui/carbon/DomainJoin/DomainMigrateWindow.cp
index 7a5bdf9a7..e4031d1b9 100644
--- a/domainjoin/domainjoin-gui/carbon/DomainJoin/DomainMigrateWindow.cp
+++ b/domainjoin/domainjoin-gui/carbon/DomainJoin/DomainMigrateWindow.cp
@@ -73,7 +73,7 @@ DomainMigrateWindow::GetLocalUserName()
std::string errMsg("Failed to get local user name from control");
throw DomainJoinException(-1, "Migrate User Error", errMsg);
}
-
+
return result;
}
@@ -87,7 +87,7 @@ DomainMigrateWindow::GetLocalUserHomeDir()
std::string errMsg("Failed to get local user homedir from control");
throw DomainJoinException(-1, "Migrate User Error", errMsg);
}
-
+
return result;
}
@@ -101,7 +101,7 @@ DomainMigrateWindow::GetADUserName()
std::string errMsg("Failed to get AD user name from control");
throw DomainJoinException(-1, "Migrate User Error", errMsg);
}
-
+
return result;
}
@@ -115,7 +115,7 @@ DomainMigrateWindow::GetADUserHomeDir()
std::string errMsg("Failed to get AD user homedir from control");
throw DomainJoinException(-1, "Migrate User Error", errMsg);
}
-
+
return result;
}
@@ -129,7 +129,7 @@ DomainMigrateWindow::GetADUserUID()
std::string errMsg("Failed to get AD user homedir from control");
throw DomainJoinException(-1, "Migrate User Error", errMsg);
}
-
+
return result;
}
@@ -143,7 +143,7 @@ DomainMigrateWindow::GetADUserGID()
std::string errMsg("Failed to get AD user homedir from control");
throw DomainJoinException(-1, "Migrate User Error", errMsg);
}
-
+
return result;
}
@@ -282,12 +282,12 @@ void
DomainMigrateWindow::MigrateOff()
{
OSStatus err = noErr;
-
+
ControlID migrateCtrl;
migrateCtrl.id = MIGRATE_ID;
migrateCtrl.signature = 'CnTs';
ControlRef migrateRef = nil;
-
+
err = GetControlByID(this->GetWindowRef(), &migrateCtrl, &migrateRef);
if (err == noErr)
{
@@ -299,12 +299,12 @@ void
DomainMigrateWindow::MigrateOn()
{
OSStatus err = noErr;
-
+
ControlID migrateCtrl;
migrateCtrl.id = MIGRATE_ID;
migrateCtrl.signature = 'CnTs';
ControlRef migrateRef = nil;
-
+
err = GetControlByID(this->GetWindowRef(), &migrateCtrl, &migrateRef);
if (err == noErr)
{
@@ -317,21 +317,21 @@ DomainMigrateWindow::SetLocalUsers()
{
PUSER_LIST pLocalUsers = NULL;
PUSER_LIST pTemp = NULL;
-
+
ClearLocalUsersCombo();
GetLocalUserList(&pLocalUsers);
-
+
pTemp = pLocalUsers;
-
+
while (pTemp)
{
AddUserToLocalUsersCombo(pTemp->pszUsername);
pTemp = pTemp->pNext;
}
-
+
_pLocalUsers = pLocalUsers;
pLocalUsers = NULL;
-
+
SetTitleToLocalUsersCombo();
}
@@ -339,12 +339,12 @@ void
DomainMigrateWindow::ClearLocalUsersCombo()
{
OSStatus err = noErr;
-
+
ControlID luComboCtrl;
luComboCtrl.id = LOCAL_USER_COMBO_ID;
luComboCtrl.signature = 'CnTs';
ControlRef luComboRef = nil;
-
+
ItemCount numItems = 0, i = 0;
_localUsersFirstItem = "";
@@ -352,19 +352,19 @@ DomainMigrateWindow::ClearLocalUsersCombo()
if (err == noErr)
{
numItems = HIComboBoxGetItemCount(luComboRef);
-
+
for (i = 0; i < numItems; i++)
{
HIComboBoxRemoveItemAtIndex(luComboRef, 0); // Remove topmost item each iteration
}
}
-
+
if (_pLocalUsers)
{
FreeLocalUserList(_pLocalUsers);
_pLocalUsers = NULL;
}
-
+
SetTextControlString(LOCAL_USER_COMBO_ID, "");
}
@@ -372,14 +372,14 @@ void
DomainMigrateWindow::AddUserToLocalUsersCombo(const std::string& value)
{
OSStatus err = noErr;
-
+
ControlID luComboCtrl;
luComboCtrl.id = LOCAL_USER_COMBO_ID;
luComboCtrl.signature = 'CnTs';
ControlRef luComboRef = nil;
CFStringRef valueStrRef = CFStringCreateWithCString(NULL, value.c_str(), kCFStringEncodingASCII);
-
+
err = GetControlByID(this->GetWindowRef(), &luComboCtrl, &luComboRef);
if (err == noErr)
{
@@ -398,7 +398,7 @@ void
DomainMigrateWindow::SetTitleToLocalUsersCombo()
{
OSStatus err = noErr;
-
+
ControlID luComboCtrl;
luComboCtrl.id = LOCAL_USER_COMBO_ID;
luComboCtrl.signature = 'CnTs';
@@ -406,7 +406,7 @@ DomainMigrateWindow::SetTitleToLocalUsersCombo()
CFStringRef firstItemRef;
char szFirstItem[256] = {0};
PUSER_LIST pTemp = _pLocalUsers;
-
+
err = GetControlByID(this->GetWindowRef(), &luComboCtrl, &luComboRef);
if (err == noErr)
{
@@ -422,7 +422,7 @@ DomainMigrateWindow::SetTitleToLocalUsersCombo()
CFStringGetCString(firstItemRef, szFirstItem, 255, kCFStringEncodingASCII);
_localUsersFirstItem = szFirstItem;
SetTextControlString(LOCAL_USER_COMBO_ID, _localUsersFirstItem);
-
+
// Fill in the fields for the selected first item
while (pTemp)
{
@@ -436,7 +436,7 @@ DomainMigrateWindow::SetTitleToLocalUsersCombo()
}
pTemp = pTemp->pNext;
}
-
+
exit:
if (firstItemRef)
@@ -456,7 +456,7 @@ DomainMigrateWindow::ShowMigrateCompleteDialog(const std::string& value)
CFStringRef msgStrRef = CFStringCreateWithCString(NULL, msgStr, kCFStringEncodingASCII);
CFStringGetPascalString(msgStrRef, (StringPtr)msgStr, 255, kCFStringEncodingASCII);
StandardAlert(kAlertNoteAlert,
- "\pPBIS - Active Directory",
+ "\pBeyondTrust AD Bridge - Active Directory",
(StringPtr)msgStr,
NULL,
&outItemHit);
@@ -480,7 +480,7 @@ DomainMigrateWindow::ShowMigrateCompleteErrorDialog(
CFStringRef msgStrRef = CFStringCreateWithCString(NULL, msgStr, kCFStringEncodingASCII);
CFStringGetPascalString(msgStrRef, (StringPtr)msgStr, 511, kCFStringEncodingASCII);
StandardAlert(kAlertNoteAlert,
- "\pPBIS - Active Directory",
+ "\pBeyondTrust AD Bridge - Active Directory",
(StringPtr)msgStr,
NULL,
&outItemHit);
@@ -506,16 +506,16 @@ DomainMigrateWindow::ConfirmMigration(
OSStatus err = noErr;
DialogItemIndex itemHit;
CFStringRef msgStrRef = NULL;
-
+
GetStandardAlertDefaultParams(¶ms, kStdCFStringAlertVersionOne);
-
+
params.movable = true;
params.defaultText = CFSTR("Yes");
params.cancelText = CFSTR("No");
params.otherText = NULL;
params.defaultButton = kAlertStdAlertCancelButton;
params.position = kWindowCenterOnParentWindow;
-
+
if (!strcmp(localUserHomeDir.c_str(), adUserHomeDir.c_str()))
{
msgStrRef = CFStringCreateWithFormat(NULL,
@@ -548,7 +548,7 @@ DomainMigrateWindow::ConfirmMigration(
}
err = CreateStandardAlert(kAlertStopAlert,
- CFSTR("PBIS Migrate User Profile"),
+ CFSTR("BeyondTrust AD Bridge Migrate User Profile"),
msgStrRef,
¶ms,
&dialog);
@@ -564,12 +564,12 @@ DomainMigrateWindow::ConfirmMigration(
{
throw DomainJoinException(err, "Domain Join Error", "Failed to create dialog");
}
-
+
if (msgStrRef)
{
CFRelease(msgStrRef);
}
-
+
return itemHit != 2;
}
@@ -598,7 +598,7 @@ DomainMigrateWindow::CallMigrateCommand(
"--log",
logFileName.c_str(),
(char *) NULL };
-
+
macError = CallCommandWithOutputAndErr(args[0],
args,
true,
@@ -608,13 +608,13 @@ DomainMigrateWindow::CallMigrateCommand(
{
exitCode = -1;
}
-
+
if (ppszOutput && pszOutput)
{
*ppszOutput = pszOutput;
pszOutput = NULL;
}
-
+
if (pszOutput)
{
free(pszOutput);
@@ -627,12 +627,12 @@ void
DomainMigrateWindow::HideMigrateProgressBar()
{
OSStatus err = noErr;
-
+
ControlID progressBarCtrl;
progressBarCtrl.id = MIGRATE_PROGRESS_ID;
progressBarCtrl.signature = 'CnTs';
ControlRef progressBarRef = nil;
-
+
err = GetControlByID(this->GetWindowRef(), &progressBarCtrl, &progressBarRef);
if (err == noErr)
{
@@ -644,12 +644,12 @@ void
DomainMigrateWindow::ShowMigrateProgressBar()
{
OSStatus err = noErr;
-
+
ControlID progressBarCtrl;
progressBarCtrl.id = MIGRATE_PROGRESS_ID;
progressBarCtrl.signature = 'CnTs';
ControlRef progressBarRef = nil;
-
+
err = GetControlByID(this->GetWindowRef(), &progressBarCtrl, &progressBarRef);
if (err == noErr)
{
@@ -672,26 +672,26 @@ DomainMigrateWindow::HandleMigration()
bool bDeleteAccount = IsDeleteOptionSelected();
bool bKeepAdmin = IsKeepAdminOptionSelected();
bool bUseSpotlight = IsUseSpotlightOptionSelected();
-
+
ShowMigrateProgressBar();
-
+
if (ConfirmMigration(localUserName, localUserHomeDir, adUserName, adUserHomeDir, adUserUID, adUserGID, bMoveProfile, bDeleteAccount, bKeepAdmin, bUseSpotlight))
{
int ret = 0;
char szLogFileName[256] = { 0 };
char * pszErrorMessage = NULL;
-
+
sprintf(szLogFileName, "/var/log/pbis-migrate.%s.log", localUserName.c_str());
-
+
// Migrate user with the parameters we have determined...
ret = CallMigrateCommand(localUserName, adUserName, szLogFileName, bMoveProfile, bDeleteAccount, bKeepAdmin, bUseSpotlight, &pszErrorMessage);
-
+
HideMigrateProgressBar();
-
+
if (ret)
{
ShowMigrateCompleteErrorDialog(localUserName, ret, pszErrorMessage);
-
+
if (pszErrorMessage)
{
free(pszErrorMessage);
@@ -701,11 +701,11 @@ DomainMigrateWindow::HandleMigration()
{
ShowMigrateCompleteDialog(localUserName);
}
-
+
// Okay to switch back to Leave dialog since the migration is completed
PostApplicationEvent(MAIN_MENU_JOIN_OR_LEAVE_ID);
}
-
+
HideMigrateProgressBar();
}
catch(DomainJoinException& dje)
@@ -736,12 +736,12 @@ DomainMigrateWindow::HandleMigration()
bool
DomainMigrateWindow::HandleValidateUser()
{
- long macError = eDSNoErr;
+ long macError = eDSNoErr;
char * pszRealName = NULL;
char * pszHomeDir = NULL;
char * pszUID = NULL;
char * pszGID = NULL;
-
+
try
{
std::string adUserName = GetADUserName();
@@ -751,7 +751,7 @@ DomainMigrateWindow::HandleValidateUser()
SetADUserHomeDirectory("");
SetADUserUID("");
SetADUserGID("");
-
+
macError = GetADUserInfo(adUserName.c_str(),
&pszRealName,
&pszHomeDir,
@@ -791,27 +791,27 @@ DomainMigrateWindow::HandleValidateUser()
NULL,
&outItemHit);
}
-
+
if (pszRealName)
{
free(pszRealName);
}
-
+
if (pszHomeDir)
{
free(pszHomeDir);
}
-
+
if (pszUID)
{
free(pszUID);
}
-
+
if (pszGID)
{
free(pszGID);
}
-
+
return (macError == noErr);
}
@@ -822,7 +822,7 @@ DomainMigrateWindow::HandleCommand( const HICommandExtended& inCommand )
std::string localUserName = GetLocalUserName();
std::string currentFirstItem = _localUsersFirstItem;
PUSER_LIST pTemp = _pLocalUsers;
-
+
if (localUserName != currentFirstItem)
{
_localUsersFirstItem = localUserName;
@@ -839,7 +839,7 @@ DomainMigrateWindow::HandleCommand( const HICommandExtended& inCommand )
pTemp = pTemp->pNext;
}
}
-
+
switch ( inCommand.commandID )
{
case CANCEL_CMD_ID:
@@ -853,7 +853,7 @@ DomainMigrateWindow::HandleCommand( const HICommandExtended& inCommand )
case COPY_RADIO_CMD_ID:
UnsetRadioButton(MOVE_RADIO_ID);
return true;
-
+
case LOCAL_USER_NAME_CMD_ID:
return true;
@@ -863,7 +863,7 @@ DomainMigrateWindow::HandleCommand( const HICommandExtended& inCommand )
HandleMigration();
}
return true;
-
+
case VALIDATE_CMD_ID:
if (HandleValidateUser())
{
@@ -874,7 +874,7 @@ DomainMigrateWindow::HandleCommand( const HICommandExtended& inCommand )
MigrateOff();
}
return true;
-
+
default:
return false;
}
@@ -893,31 +893,31 @@ DomainMigrateWindow::Close()
static
void
DoubleTheBufferSizeIfItsTooSmall(
- long * pMacError,
- tDirNodeReference hDirRef,
+ long * pMacError,
+ tDirNodeReference hDirRef,
tDataBufferPtr * ppBuffer
)
- // This routine is designed to handle the case where a
- // Open Directory routine returns eDSBufferTooSmall.
- // If so, it doubles the size of the buffer, allowing the
- // caller to retry the Open Directory routine with the
+ // This routine is designed to handle the case where a
+ // Open Directory routine returns eDSBufferTooSmall.
+ // If so, it doubles the size of the buffer, allowing the
+ // caller to retry the Open Directory routine with the
// large buffer.
//
- // errPtr is a pointer to a Open Directory error.
- // This routine does nothing unless that error is
- // eDSBufferTooSmall. In that case it frees the buffer
- // referenced by *bufPtrPtr, replacing it with a buffer
- // of twice the size. It then leaves *errPtr set to
- // eDSBufferTooSmall so that the caller retries the
+ // errPtr is a pointer to a Open Directory error.
+ // This routine does nothing unless that error is
+ // eDSBufferTooSmall. In that case it frees the buffer
+ // referenced by *bufPtrPtr, replacing it with a buffer
+ // of twice the size. It then leaves *errPtr set to
+ // eDSBufferTooSmall so that the caller retries the
// call with the larger buffer.
{
long macError = eDSNoErr;
tDirStatus junk;
tDataBufferPtr pBuffer = NULL;
-
+
if (*pMacError == eDSBufferTooSmall)
{
- // If the buffer size is already bigger than 16 MB, don't try to
+ // If the buffer size is already bigger than 16 MB, don't try to
// double it again; something has gone horribly wrong.
if ( (*ppBuffer)->fBufferSize >= (16 * 1024 * 1024) )
{
@@ -931,18 +931,18 @@ DoubleTheBufferSizeIfItsTooSmall(
macError = eDSAllocationFailed;
if (macError) goto cleanup;
}
-
+
junk = dsDataBufferDeAllocate(hDirRef, *ppBuffer);
*ppBuffer = pBuffer;
}
-
+
cleanup:
- // If err is eDSNoErr, the buffer expansion was successful
- // so we leave *errPtr set to eDSBufferTooSmall. If err
- // is any other value, the expansion failed and we set
+ // If err is eDSNoErr, the buffer expansion was successful
+ // so we leave *errPtr set to eDSBufferTooSmall. If err
+ // is any other value, the expansion failed and we set
// *errPtr to that error.
-
+
if (macError != eDSNoErr)
{
*pMacError = macError;
@@ -961,30 +961,30 @@ dsFindDirNodes_Wrap(
)
// A wrapper for dsFindDirNodes that handles two special cases:
//
- // o If the routine returns eDSBufferTooSmall, it doubles the
- // size of the buffer referenced by *inOutDataBufferPtrPtr
+ // o If the routine returns eDSBufferTooSmall, it doubles the
+ // size of the buffer referenced by *inOutDataBufferPtrPtr
// and retries.
//
- // Note that this change requires a change of the function
- // prototype; the second parameter is a pointer to a pointer
- // to the buffer, rather than just a pointer to the buffer.
+ // Note that this change requires a change of the function
+ // prototype; the second parameter is a pointer to a pointer
+ // to the buffer, rather than just a pointer to the buffer.
// This is so that I can modify the client's buffer pointer.
//
- // o If the routine returns no nodes but there's valid continue data,
+ // o If the routine returns no nodes but there's valid continue data,
// it retries.
//
// In other respects this works just like dsFindDirNodes.
{
long macError = eDSNoErr;
-
+
do {
do {
macError = dsFindDirNodes(
- hDirRef,
- *ppDataBuffer,
- pNodeName,
- PatternMatchType,
- pulNodeCount,
+ hDirRef,
+ *ppDataBuffer,
+ pNodeName,
+ PatternMatchType,
+ pulNodeCount,
inOutContinueData
);
DoubleTheBufferSizeIfItsTooSmall(&macError, hDirRef, ppDataBuffer);
@@ -998,7 +998,7 @@ enum {
kDefaultDSBufferSize = 1024
};
-static
+static
long
GetLocalNodePathList(
tDirReference hDirRef,
@@ -1006,7 +1006,7 @@ GetLocalNodePathList(
)
// Returns the path to the Open Directory local node. (/NetInfo/root/ or Local/Default/)
// dirRef is the connection to Open Directory.
- // On success, *searchNodePathListPtr is a data list that
+ // On success, *searchNodePathListPtr is a data list that
// contains the search node's path components.
{
long macError = eDSNoErr;
@@ -1015,70 +1015,70 @@ GetLocalNodePathList(
unsigned long ulNodeCount = 0;
tContextData context = NULL;
tDataListPtr pLocalNodePath = NULL;
-
- // Allocate a buffer for the node find results. We'll grow
+
+ // Allocate a buffer for the node find results. We'll grow
// this buffer if it proves to be to small.
-
+
pDataBuffer = dsDataBufferAllocate(hDirRef, kDefaultDSBufferSize);
if (!pDataBuffer)
{
macError = eDSAllocationFailed;
goto cleanup;
}
-
- // Find the node. Note that this is a degenerate case because
- // we're only looking for a single node, the local node, so
- // we don't need to loop calling dsFindDirNodes, which is the
+
+ // Find the node. Note that this is a degenerate case because
+ // we're only looking for a single node, the local node, so
+ // we don't need to loop calling dsFindDirNodes, which is the
// standard way of using dsFindDirNodes.
-
+
macError = dsFindDirNodes_Wrap(
- hDirRef,
+ hDirRef,
&pDataBuffer, // place results here
NULL, // no pattern, rather...
patternToFind, // ... hardwired search type
- &ulNodeCount,
+ &ulNodeCount,
&context
);
if (macError) goto cleanup;
-
+
// If we didn't find any nodes, that's bad.
-
+
if (ulNodeCount < 1)
{
macError = eDSNodeNotFound;
goto cleanup;
}
-
- // Grab the first node from the buffer. Note that the inDirNodeIndex
- // parameter to dsGetDirNodeName is one-based, so we pass in the constant
+
+ // Grab the first node from the buffer. Note that the inDirNodeIndex
+ // parameter to dsGetDirNodeName is one-based, so we pass in the constant
// 1.
- //
- // Also, if we found more than one, that's unusual, but not enough to
+ //
+ // Also, if we found more than one, that's unusual, but not enough to
// cause us to error.
macError = dsGetDirNodeName(hDirRef, pDataBuffer, 1, &pLocalNodePath);
if (macError) goto cleanup;
-
+
*ppLocalNodePath = pLocalNodePath;
pLocalNodePath = NULL;
-
+
cleanup:
// Clean up.
-
+
if (context != 0)
{
dsReleaseContinueData(hDirRef, context);
}
-
+
if (pDataBuffer)
{
dsDataBufferDeAllocate(hDirRef, pDataBuffer);
}
-
+
return macError;
}
-static
+static
long
GetLikewiseNodePathList(
tDirReference hDirRef,
@@ -1086,7 +1086,7 @@ GetLikewiseNodePathList(
)
// Returns the path to the Open Directory likewise node. (/Likewise - Active Directory/)
// dirRef is the connection to Open Directory.
- // On success, *searchNodePathListPtr is a data list that
+ // On success, *searchNodePathListPtr is a data list that
// contains the search node's path components.
{
long macError = eDSNoErr;
@@ -1096,69 +1096,69 @@ GetLikewiseNodePathList(
unsigned long ulNodeCount = 0;
tContextData context = NULL;
tDataListPtr pLikewiseNodePath = NULL;
-
+
// Create Likewise node name string list
macError = dsBuildListFromStringsAlloc(hDirRef, &likewiseNodeName, "Likewise", NULL);
- if (macError) goto cleanup;
-
- // Allocate a buffer for the node find results. We'll grow
+ if (macError) goto cleanup;
+
+ // Allocate a buffer for the node find results. We'll grow
// this buffer if it proves to be to small.
-
+
pDataBuffer = dsDataBufferAllocate(hDirRef, kDefaultDSBufferSize);
if (!pDataBuffer)
{
macError = eDSAllocationFailed;
goto cleanup;
}
-
- // Find the node. Note that this is a degenerate case because
- // we're only looking for a single node, the local node, so
- // we don't need to loop calling dsFindDirNodes, which is the
+
+ // Find the node. Note that this is a degenerate case because
+ // we're only looking for a single node, the local node, so
+ // we don't need to loop calling dsFindDirNodes, which is the
// standard way of using dsFindDirNodes.
-
+
macError = dsFindDirNodes_Wrap(
- hDirRef,
+ hDirRef,
&pDataBuffer, // place results here
&likewiseNodeName,
patternToFind,
- &ulNodeCount,
+ &ulNodeCount,
&context
);
if (macError) goto cleanup;
-
+
// If we didn't find any nodes, that's bad.
-
+
if (ulNodeCount < 1) {
macError = eDSNodeNotFound;
goto cleanup;
}
-
- // Grab the first node from the buffer. Note that the inDirNodeIndex
- // parameter to dsGetDirNodeName is one-based, so we pass in the constant
+
+ // Grab the first node from the buffer. Note that the inDirNodeIndex
+ // parameter to dsGetDirNodeName is one-based, so we pass in the constant
// 1.
- //
- // Also, if we found more than one, that's unusual, but not enough to
+ //
+ // Also, if we found more than one, that's unusual, but not enough to
// cause us to error.
macError = dsGetDirNodeName(hDirRef, pDataBuffer, 1, &pLikewiseNodePath);
if (macError) goto cleanup;
-
+
*ppLikewiseNodePath = pLikewiseNodePath;
pLikewiseNodePath = NULL;
-
+
cleanup:
dsDataListDeallocate(hDirRef, &likewiseNodeName);
-
+
if (context != 0)
{
dsReleaseContinueData(hDirRef, context);
}
-
+
if (pDataBuffer)
{
dsDataBufferDeAllocate(hDirRef, pDataBuffer);
}
-
+
return macError;
}
@@ -1166,7 +1166,7 @@ static
long
GetUserInfo(
tDirReference hDirRef,
- tDirNodeReference hNodeRef,
+ tDirNodeReference hNodeRef,
const char * pszUsername,
char ** ppszRealName,
char ** ppszUserHomeDir,
@@ -1196,14 +1196,14 @@ GetUserInfo(
macError = eDSInvalidRecordName;
goto exit;
}
-
+
pRecordName = dsDataNodeAllocateString(hDirRef, pszUsername);
if (!pRecordName)
{
macError = eDSAllocationFailed;
goto exit;
}
-
+
pRecordTypeUser = dsDataNodeAllocateString(hDirRef, kDSStdRecordTypeUsers);
if (!pRecordTypeUser)
{
@@ -1217,7 +1217,7 @@ GetUserInfo(
macError = eDSAllocationFailed;
goto exit;
}
-
+
pGeneratedID = dsDataNodeAllocateString(hDirRef, kDS1AttrGeneratedUID);
if (!pGeneratedID)
{
@@ -1245,7 +1245,7 @@ GetUserInfo(
macError = eDSAllocationFailed;
goto exit;
}
-
+
// Get record by name
macError = dsOpenRecord(hNodeRef,
pRecordTypeUser,
@@ -1256,7 +1256,7 @@ GetUserInfo(
// Generated ID
macError = dsGetRecordAttributeValueByIndex(refRecord, pGeneratedID, 1, &pValueEntry);
if (macError) goto exit;
-
+
if (pValueEntry->fAttributeValueData.fBufferLength)
{
dsDeallocAttributeValueEntry(hDirRef, pValueEntry);
@@ -1271,7 +1271,7 @@ GetUserInfo(
// RealName
macError = dsGetRecordAttributeValueByIndex(refRecord, pRealName, 1, &pValueEntry);
if (macError) goto exit;
-
+
if (pValueEntry->fAttributeValueData.fBufferLength > 0)
{
pszRealName = (char*) malloc(pValueEntry->fAttributeValueData.fBufferLength + 1);
@@ -1281,7 +1281,7 @@ GetUserInfo(
goto exit;
}
memset(pszRealName, 0, pValueEntry->fAttributeValueData.fBufferLength + 1);
-
+
strcpy(pszRealName, pValueEntry->fAttributeValueData.fBufferData);
dsDeallocAttributeValueEntry(hDirRef, pValueEntry);
pValueEntry = NULL;
@@ -1295,7 +1295,7 @@ GetUserInfo(
// UniqueID
macError = dsGetRecordAttributeValueByIndex(refRecord, pUniqueID, 1, &pValueEntry);
if (macError) goto exit;
-
+
if (pValueEntry->fAttributeValueData.fBufferLength > 0)
{
if (!strcmp(pValueEntry->fAttributeValueData.fBufferData, "0"))
@@ -1304,7 +1304,7 @@ GetUserInfo(
macError = eDSInvalidRecordName;
goto exit;
}
-
+
pszUserUID = (char*) malloc(pValueEntry->fAttributeValueData.fBufferLength + 1);
if (!pszUserUID)
{
@@ -1312,7 +1312,7 @@ GetUserInfo(
goto exit;
}
memset(pszUserUID, 0, pValueEntry->fAttributeValueData.fBufferLength + 1);
-
+
strcpy(pszUserUID, pValueEntry->fAttributeValueData.fBufferData);
dsDeallocAttributeValueEntry(hDirRef, pValueEntry);
pValueEntry = NULL;
@@ -1326,7 +1326,7 @@ GetUserInfo(
// PrimaryGroup
macError = dsGetRecordAttributeValueByIndex(refRecord, pPrimaryGroup, 1, &pValueEntry);
if (macError) goto exit;
-
+
if (pValueEntry->fAttributeValueData.fBufferLength > 0)
{
pszUserGID = (char*) malloc(pValueEntry->fAttributeValueData.fBufferLength + 1);
@@ -1336,7 +1336,7 @@ GetUserInfo(
goto exit;
}
memset(pszUserGID, 0, pValueEntry->fAttributeValueData.fBufferLength + 1);
-
+
strcpy(pszUserGID, pValueEntry->fAttributeValueData.fBufferData);
dsDeallocAttributeValueEntry(hDirRef, pValueEntry);
pValueEntry = NULL;
@@ -1345,12 +1345,12 @@ GetUserInfo(
{
macError = eDSInvalidAttributeType;
goto exit;
- }
+ }
// HomeDirectory
macError = dsGetRecordAttributeValueByIndex(refRecord, pHomeDirectory, 1, &pValueEntry);
if (macError) goto exit;
-
+
if (pValueEntry->fAttributeValueData.fBufferLength > 0)
{
pszHomeDir = (char*) malloc(pValueEntry->fAttributeValueData.fBufferLength + 1);
@@ -1360,7 +1360,7 @@ GetUserInfo(
goto exit;
}
memset(pszHomeDir, 0, pValueEntry->fAttributeValueData.fBufferLength + 1);
-
+
strcpy(pszHomeDir, pValueEntry->fAttributeValueData.fBufferData);
dsDeallocAttributeValueEntry(hDirRef, pValueEntry);
pValueEntry = NULL;
@@ -1370,46 +1370,46 @@ GetUserInfo(
macError = eDSInvalidAttributeType;
goto exit;
}
-
+
*ppszRealName = pszRealName;
pszRealName = NULL;
-
+
*ppszUserHomeDir = pszHomeDir;
pszHomeDir = NULL;
-
+
*ppszUserUID = pszUserUID;
pszUserUID = NULL;
-
+
*ppszUserGID = pszUserGID;
pszUserGID = NULL;
-
+
cleanup:
-
+
if (pRealName)
{
junk = dsDataNodeDeAllocate(hDirRef, pRealName);
}
-
+
if (pGeneratedID)
{
junk = dsDataNodeDeAllocate(hDirRef, pGeneratedID);
}
-
+
if (pUniqueID)
{
junk = dsDataNodeDeAllocate(hDirRef, pUniqueID);
}
-
+
if (pPrimaryGroup)
{
junk = dsDataNodeDeAllocate(hDirRef, pPrimaryGroup);
}
-
+
if (pHomeDirectory)
{
junk = dsDataNodeDeAllocate(hDirRef, pHomeDirectory);
}
-
+
if (pRecordName)
{
junk = dsDataNodeDeAllocate(hDirRef, pRecordName);
@@ -1419,46 +1419,46 @@ cleanup:
{
junk = dsDataNodeDeAllocate(hDirRef, pRecordTypeUser);
}
-
+
if (pValueEntry)
{
junk = dsDeallocAttributeValueEntry(hDirRef, pValueEntry);
}
-
+
if (refRecord)
{
junk = dsCloseRecord(refRecord);
}
-
+
if (pszRealName)
{
free(pszRealName);
}
-
+
if (pszHomeDir)
{
free(pszHomeDir);
}
-
+
if (pszUserUID)
{
free(pszUserUID);
}
-
+
if (pszUserGID)
{
free(pszUserGID);
}
-
+
return macError;
-
-exit:
+
+exit:
*ppszRealName = NULL;
*ppszUserHomeDir = NULL;
*ppszUserUID = NULL;
*ppszUserGID = NULL;
-
+
goto cleanup;
}
@@ -1475,9 +1475,9 @@ CreateUserNode(
long macError = eDSNoErr;
char * pszRecordName = NULL;
tAttributeListRef refAttrList = NULL;
- tRecordEntryPtr pRecord = NULL;
+ tRecordEntryPtr pRecord = NULL;
PUSER_LIST pUser = NULL;
-
+
// Create the new user node for the list
pUser = (PUSER_LIST) malloc(sizeof(USER_LIST));
if (!pUser)
@@ -1491,9 +1491,9 @@ CreateUserNode(
pUser->pszUserUID = NULL;
pUser->pszUserGID = NULL;
pUser->pNext = NULL;
-
+
// Get record from buffer
- macError = dsGetRecordEntry(hNodeRef,
+ macError = dsGetRecordEntry(hNodeRef,
pDataBuffer,
index, // start count at 1
&refAttrList,
@@ -1503,13 +1503,13 @@ CreateUserNode(
// Get the record name
macError = dsGetRecordNameFromEntry(pRecord, &pszRecordName);
if (macError) goto exit;
-
+
if (!pszRecordName)
{
macError = eDSAttributeValueNotFound;
if (macError) goto exit;
}
-
+
pUser->pszUsername = pszRecordName;
pszRecordName = NULL;
@@ -1533,11 +1533,11 @@ cleanup:
}
return (*ppUser != NULL);
-
+
exit:
*ppUser = NULL;
-
+
goto cleanup;
}
@@ -1558,7 +1558,7 @@ GetADUserInfo(
char * pszHomeDir = NULL;
char * pszUserUID = NULL;
char * pszUserGID = NULL;
-
+
macError = dsOpenDirService(&hDirRef);
if (macError) goto exit;
@@ -1567,7 +1567,7 @@ GetADUserInfo(
macError = dsOpenDirNode(hDirRef, pLikewiseNodePath, &hNodeRef);
if (macError) goto exit;
-
+
macError = GetUserInfo(hDirRef,
hNodeRef,
pszUsername,
@@ -1576,46 +1576,46 @@ GetADUserInfo(
&pszUserUID,
&pszUserGID);
if (macError) goto exit;
-
+
*ppszRealName = pszRealName;
pszRealName = NULL;
-
+
*ppszUserHomeDir = pszHomeDir;
pszHomeDir = NULL;
-
+
*ppszUserUID = pszUserUID;
pszUserUID = NULL;
-
+
*ppszUserGID = pszUserGID;
pszUserGID = NULL;
-
+
cleanup:
-
+
if (pszRealName)
{
free(pszRealName);
}
-
+
if (pszHomeDir)
{
free(pszHomeDir);
}
-
+
if (pszUserUID)
{
free(pszUserUID);
}
-
+
if (pszUserGID)
{
free(pszUserGID);
}
-
+
if (pLikewiseNodePath)
{
dsDataListDeallocate(hDirRef, pLikewiseNodePath);
}
-
+
if (hNodeRef)
{
dsCloseDirNode(hNodeRef);
@@ -1625,16 +1625,16 @@ cleanup:
{
dsCloseDirService(hDirRef);
}
-
+
return macError;
-
-exit:
+
+exit:
*ppszRealName = NULL;
*ppszUserHomeDir = NULL;
*ppszUserUID = NULL;
*ppszUserGID = NULL;
-
+
goto cleanup;
}
@@ -1644,7 +1644,7 @@ GetLocalUserList(
)
{
long macError = eDSNoErr;
-
+
PUSER_LIST pLocalUsers = NULL;
PUSER_LIST pUser = NULL, pPrev = NULL;
@@ -1659,19 +1659,19 @@ GetLocalUserList(
long unsigned record_count = 0;
tDataBufferPtr pDataBuffer = NULL;
tContextData pContinuationData = NULL;
-
+
macError = dsBuildListFromStringsAlloc(hDirRef, &attrTypeAll, kDSAttributesAll, NULL);
- if (macError) goto error;
-
+ if (macError) goto error;
+
macError = dsBuildListFromStringsAlloc(hDirRef, &recordTypeUsers, kDSStdRecordTypeUsers, NULL);
if (macError) goto error;
macError = dsBuildListFromStringsAlloc(hDirRef, &recordsAll, kDSRecordsAll, NULL);
if (macError) goto error;
-
+
macError = dsOpenDirService(&hDirRef);
if (macError) goto error;
-
+
pDataBuffer = dsDataBufferAllocate(hDirRef, 1024);
if (pDataBuffer == NULL)
{
@@ -1684,12 +1684,12 @@ GetLocalUserList(
macError = dsOpenDirNode(hDirRef, pLocalNodePath, &hNodeRef);
if (macError) goto error;
-
+
do
{
// Reset the counter for the next read if we are continuing on
record_count = 0;
-
+
do
{
if (macError == eDSBufferTooSmall)
@@ -1704,7 +1704,7 @@ GetLocalUserList(
if(pDataBuffer == NULL)
break;
}
-
+
macError = dsGetRecordList(hNodeRef,
pDataBuffer,
&recordsAll,
@@ -1717,7 +1717,7 @@ GetLocalUserList(
} while (macError == eDSBufferTooSmall);
- if (record_count > 0)
+ if (record_count > 0)
{
unsigned int i;
for (i=1; i <= record_count; i++)
@@ -1732,7 +1732,7 @@ GetLocalUserList(
{
pLocalUsers = pUser;
}
-
+
pPrev = pUser;
pUser = NULL;
}
@@ -1742,34 +1742,34 @@ GetLocalUserList(
*ppLocalUsers = pLocalUsers;
pLocalUsers = NULL;
-
+
cleanup:
// Node structure is part of the stack, each may contain an allocation
dsDataListDeallocate(hDirRef, &recordsAll);
dsDataListDeallocate(hDirRef, &recordTypeUsers);
dsDataListDeallocate(hDirRef, &attrTypeAll);
-
+
if (pLocalNodePath)
{
dsDataListDeallocate(hDirRef, pLocalNodePath);
}
-
+
if (pValueEntry)
{
dsDeallocAttributeValueEntry(hDirRef, pValueEntry);
}
-
+
if (pDataBuffer)
{
dsDataBufferDeAllocate(hDirRef, pDataBuffer);
}
-
+
if (hRecordRef)
{
dsCloseRecord(hRecordRef);
}
-
+
if (hNodeRef)
{
dsCloseDirNode(hNodeRef);
@@ -1784,9 +1784,9 @@ cleanup:
{
FreeLocalUserList(pLocalUsers);
}
-
+
return macError;
-
+
error:
*ppLocalUsers = NULL;
@@ -1803,27 +1803,27 @@ FreeLocalUserList(
{
PUSER_LIST pTemp = pLocalUsers;
pLocalUsers = pLocalUsers->pNext;
-
+
if (pTemp->pszUsername)
{
free(pTemp->pszUsername);
}
-
+
if (pTemp->pszUserRealName)
{
free(pTemp->pszUserRealName);
}
-
+
if (pTemp->pszUserUID)
{
free(pTemp->pszUserUID);
}
-
+
if (pTemp->pszUserGID)
{
free(pTemp->pszUserGID);
}
-
+
if (pTemp->pszUserHomeDir)
{
free(pTemp->pszUserHomeDir);
@@ -1842,7 +1842,7 @@ CallCommandWithOutputAndErr(
int * pExitCode
)
{
- long macError = eDSNoErr;
+ long macError = eDSNoErr;
unsigned int buffer_size = 1024;
unsigned int read_size, write_size;
int out[2];
@@ -1950,7 +1950,6 @@ exit:
{
free(pszTempOutput);
}
-
+
return macError;
}
-
diff --git a/domainjoin/domainjoin-gui/carbon/DomainJoin/English.lproj/Leave.nib/objects.xib b/domainjoin/domainjoin-gui/carbon/DomainJoin/English.lproj/Leave.nib/objects.xib
index 56f18e164..f08cd9231 100644
--- a/domainjoin/domainjoin-gui/carbon/DomainJoin/English.lproj/Leave.nib/objects.xib
+++ b/domainjoin/domainjoin-gui/carbon/DomainJoin/English.lproj/Leave.nib/objects.xib
@@ -19,7 +19,7 @@
302TRUE1
- PowerBroker Identity Services is using the following information to identify your computer on the network.
+ BeyondTrust AD Bridge is using the following information to identify your computer on the network.