Changeset 4940


Ignore:
Timestamp:
May 29, 2017, 11:50:52 AM (22 months ago)
Author:
hectorgh
Message:

Added function to reset master_server_ip

Location:
n4d-ldap/trunk/fuentes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • n4d-ldap/trunk/fuentes/debian/changelog

    r4401 r4940  
     1n4d-ldap (0.47.12) xenial; urgency=high
     2
     3  * Added function to reset MASTER_SERVER_IP
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Mon, 29 May 2017 11:49:53 +0200
     6
    17n4d-ldap (0.47.11) xenial; urgency=high
    28
  • n4d-ldap/trunk/fuentes/install/etc/n4d/conf.d/SlapdManager

    r149 r4940  
    5555add_updateref_data=adm,admins
    5656set_master_server_ip=adm,admins
     57clean_master_server_ip=adm,admins
  • n4d-ldap/trunk/fuentes/install/usr/share/n4d/python-plugins/SlapdManager.py

    r850 r4940  
    961961                return {"status":True,"msg":"Variable MASTER_SERVER_IP is set to " + str(ip)}
    962962        #def set_master_server_ip
     963
     964        def clean_master_server_ip(self):
     965
     966                objects['VariablesManager'].set_variable("MASTER_SERVER_IP",None)
     967                return {"status":True,"msg":"Variable MASTER_SERVER_IP is empty"}
     968
     969        #def clean_master_server_ip
     970
    963971        '''
    964972        Internal methods
Note: See TracChangeset for help on using the changeset viewer.