I have a setup where courses are autocreated according to http://docs.moodle.org/19/en/LDAP_enrolment.
I've changed Site Administration -> Course default settings -> Format to "Weekly format" and Metacourse to Yes. But the courses created have Topics format and are not meta courses. Is this a bug?
Moodle $release = '1.9.16+ (Build: 20120202)'
LAMP on Debian Squeeze, PHP 5.3.3-7+squeeze8.
Yup, this is a bug 
LDAP enrolment course creation doesn't respect those settings at all. They didn't exist back in the day when the LDAP enrolment course creation was implemented, and the code wasn't updated when they were introduced. I suspect none of the enrolment plugins that auto creates courses respect those settings (I'm talking about 1.x, it seems they do in 2.2 and later).
But given that 1.x is in security-fixes-only mode, I highly doubt this is going to be fixed in the official version. I think the fix is rather trivial (it would be a backport from 2.2). Here's a patch for 1.9.17+ (it should apply to 1.9.16+ cleanly). I haven't tested it, but it's so trivial that it should work
Saludos.
Iñaki.
LDAP enrolment course creation doesn't respect those settings at all. They didn't exist back in the day when the LDAP enrolment course creation was implemented, and the code wasn't updated when they were introduced. I suspect none of the enrolment plugins that auto creates courses respect those settings (I'm talking about 1.x, it seems they do in 2.2 and later).
But given that 1.x is in security-fixes-only mode, I highly doubt this is going to be fixed in the official version. I think the fix is rather trivial (it would be a backport from 2.2). Here's a patch for 1.9.17+ (it should apply to 1.9.16+ cleanly). I haven't tested it, but it's so trivial that it should work
Saludos.
Iñaki.