mirror of
https://github.com/samba-team/samba.git
synced 2025-07-28 11:42:03 +03:00
Don't print the admin password if we don't set one.
For example, if we don't create the admin user (perhaps expecting users to be in LDAP already, or we are due an incoming replication) we should not confuse the administrator by printing a unused password. Andrew Bartlett
This commit is contained in:
@ -1136,7 +1136,8 @@ def provision(setup_dir, message, session_info,
|
||||
message("NetBIOS Domain: %s" % names.domain)
|
||||
message("DNS Domain: %s" % names.dnsdomain)
|
||||
message("DOMAIN SID: %s" % str(domainsid))
|
||||
message("Admin password: %s" % adminpass)
|
||||
if samdb_fill == FILL_FULL:
|
||||
message("Admin password: %s" % adminpass)
|
||||
|
||||
result = ProvisionResult()
|
||||
result.domaindn = domaindn
|
||||
|
Reference in New Issue
Block a user