On Saturday 27 Sep 2014 16:15:55 Martin Konrad wrote: > Hi, > I'm trying to configure the ldap_user app using the command line (the > ultimate idea is to automate this using Puppet). I managed to _modify_ > existing configuration that has been created using the GUI like so: > > php5 occ ldap:set-config '' 'ldapBase' 'ou=foo,dc=example,dc=com' > > But this only seems to work for existing LDAP configurations. Is there a > way to _create_ a new LDAP configuration from the CLI as well?
No, but pull requests are welcome :) I suggest a command "createEmpty" config that should saves an empty (= default values) config, which is disabled of course, and outputs the new config ID . Then you could do the adjustments using the modify method. A full blown solution would be to enable the create method to take parameters as well… more a second step. Cheers Arthur > > Thanks, > > Martin > _______________________________________________ > User mailing list > [email protected] > http://mailman.owncloud.org/mailman/listinfo/user -- XMPP: [email protected] www.owncloud.com - Your Data, Your Cloud, Your Way! ownCloud GmbH, GF: Markus Rex, Holger Dyroff, Frank Karlitschek Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ User mailing list [email protected] http://mailman.owncloud.org/mailman/listinfo/user
