source: n4d-matrix/trunk/example_matrix @ 1227

Last change on this file since 1227 was 1227, checked in by kbut, 3 years ago

add packages files

File size: 614 bytes
Line 
1#!/usr/bin/python
2import xmlrpclib
3
4ip_server = '10.0.0.251'
5c = xmlrpclib.ServerProxy("https://"+ip_server+":9779")
6user = ("lliurex","lliurex")
7print c.generate_ssl_certificates(user,"SlapdManager")
8print c.load_lliurex_schema(user,"SlapdManager")
9print c.enable_tls_communication(user,"SlapdManager",'/etc/ldap/ssl/slapd.cert','/etc/ldap/ssl/slapd.key')
10print c.configure_simple_slapd(user,"SlapdManager")
11print c.open_ports_slapd(user,"SlapdManager",ip_server)
12print c.reboot_slapd(user,"SlapdManager")
13print c.load_basic_struture(user,"SlapdManager")
14print c.change_admin_passwd(user,"SlapdManager","lliurex")
Note: See TracBrowser for help on using the repository browser.