From 74a538416999d84f7d3bd6cca4ab3655481ef848 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Thu, 10 Dec 2009 16:39:24 +0100 Subject: Add --all to LDAPCreate and make LDAP commands always display default attributes. --- ipalib/plugins/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins/service.py') diff --git a/ipalib/plugins/service.py b/ipalib/plugins/service.py index 8c962f09..6ad992f3 100644 --- a/ipalib/plugins/service.py +++ b/ipalib/plugins/service.py @@ -148,7 +148,7 @@ class service_add(LDAPCreate): doc='force principal name even if not in DNS', ), ) - def pre_callback(self, ldap, dn, entry_attrs, *keys, **options): + def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options): (service, hostname, realm) = split_principal(keys[-1]) if service.lower() == 'host' and not options['force']: raise errors.HostService() -- cgit