|
@@ -57,9 +57,11 @@ bool initLDAP(IPropertyTree * ldapProps)
|
|
|
StringBuffer ldapAddress;
|
|
|
ldapProps->getProp("@ldapAddress", ldapAddress);
|
|
|
|
|
|
+ bool is389DS = (0 == strcmp(serverType.get(), "389DirectoryServer") ? true : false);
|
|
|
+
|
|
|
//Get LDAP admin creds from user
|
|
|
char buff[100];
|
|
|
- fprintf(stdout, "\nEnter the '%s' LDAP Admin User name on '%s'...",serverType.get(),ldapAddress.str());
|
|
|
+ fprintf(stdout, "\nEnter the '%s' LDAP Admin User name on '%s'.%s..",serverType.get(),ldapAddress.str(),is389DS?" Please include the attribute name prefix such as uid=adminName.":"");
|
|
|
do
|
|
|
{
|
|
|
char * line = fgets(buff, sizeof(buff), stdin);
|