Hi, On Thu, Jul 22, 2004 at 08:47:40PM +0200, Holger Krull wrote: > but testparm goes crazy on every recycle Parameter. Everything gets printed > about 100 times. Tested on samba 3.04 and 3.05rc1. > Does anyone no a way around this?
Simo Sorce fixed that after the 3.0.5rc1-release, IIRC. Try the attached patch. Bye, Guenther -- Guenther Deschner, SerNet Service Network GmbH Phone: +49-(0)551-370000-0, Fax: +49-(0)551-370000-9
--- source/param/loadparm.c 2004-07-12 22:54:58.447551792 +0200
+++ source/param/loadparm.c 2004-07-07 21:43:22.000000000 +0200
@@ -3552,14 +3552,14 @@
((char *)pService) + pdiff, f);
fprintf(f, "\n");
}
- }
- if (pService->param_opt != NULL) {
- data = pService->param_opt;
- while(data) {
- fprintf(f, "\t%s = %s\n", data->key, data->value);
- data = data->next;
- }
+ if (pService->param_opt != NULL) {
+ data = pService->param_opt;
+ while(data) {
+ fprintf(f, "\t%s = %s\n", data->key, data->value);
+ data = data->next;
+ }
+ }
}
}
pgp1UQd1Kd99e.pgp
Description: PGP signature
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
