mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Minor fix to adduser.
Make ipa-server-install restart htppd
This commit is contained in:
@@ -34,6 +34,7 @@ import logging
|
||||
from optparse import OptionParser
|
||||
import ipaserver.dsinstance
|
||||
import ipaserver.krbinstance
|
||||
import ipaserver.util.run as run
|
||||
|
||||
def parse_options():
|
||||
parser = OptionParser(version=VERSION)
|
||||
@@ -112,9 +113,12 @@ def main():
|
||||
krb.create_instance(options.ds_user, options.realm_name, host_name,
|
||||
options.password, options.master_password)
|
||||
|
||||
#restart ds after the krb instance have add the sasl map
|
||||
# Restart ds after the krb instance have add the sasl map
|
||||
ds.restart()
|
||||
|
||||
# Restart apache
|
||||
run(["/sbin/server", "httpd", "restart"])
|
||||
|
||||
return 0
|
||||
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user