Created attachment 7434 [details]
We noticed in Samba 3.6.3 the following error messages during smbd startup:
[2012/04/04 16:29:50.511526, 0] printing/nt_printing_ads.c:360(check_published_printers)
check_published_printers: Could not create system session_info
[2012/04/04 16:29:50.512101, 0] printing/nt_printing.c:102(nt_printing_init)
nt_printing_init: error checking published printers: WERR_ACCESS_DENIED
It turned out that commit 62a2a9 "s3-smbd: Regroup some init functions." by
Andreas Schneider <asn at samba.org> caused theses error messages.
I wrote the attached patch to reorder print_backend_init() behind
init_system_info(). Is this working as expected or does it cause a
catastrophic malfunction in Samba? See also my posting in samba-technical https://lists.samba.org/archive/samba-technical/2012-April/082519.html
Andreas, could you review the patch as you did the initial change of the init ordering?
Comment on attachment 7434 [details]
Looks fine for me.
please pick for 3.6.next
Pushed to v3-6-test.
Closing out bug report.