summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-01-19 12:15:47 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-01-19 12:39:57 +1100
commit9fa6fb3d9fb2e4cee81ad34d6fd0cbe6f5265171 (patch)
tree938296a5dcb69a5c16918ad72ce5dd93ddd63281
parentb4551bba07017c852d64524e3324223b9b0f05c9 (diff)
downloadsamba-9fa6fb3d9fb2e4cee81ad34d6fd0cbe6f5265171.tar.gz
samba-9fa6fb3d9fb2e4cee81ad34d6fd0cbe6f5265171.tar.bz2
samba-9fa6fb3d9fb2e4cee81ad34d6fd0cbe6f5265171.zip
Print more useful suggestion for the main provision command line
-rw-r--r--source4/scripting/python/samba/provision.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index 70bd8ac7f6..2da54ef14b 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -1405,7 +1405,7 @@ def provision_backend(setup_dir=None, message=None,
message("LDAP admin password: %s" % adminpass)
message(slapdcommand)
- message("Run provision with: --ldap-backend=ldapi --ldap-backend-type=" + ldap_backend_type + " --password=" + adminpass + " " + ldapuser)
+ message("Run provision with: --ldap-backend=ldapi --ldap-backend-type=" + ldap_backend_type + " --password=" + adminpass + " " + ldapuser + "--realm=" + names.dnsdomain + " --domain=" + names.domain + " --server-role='" + serverrole + "'")
def create_phpldapadmin_config(path, setup_path, ldapi_uri):
"""Create a PHP LDAP admin configuration file.