3.0.25 publish printer problem Hello!

I encounter problems (un)publishing printers to ADS.
The samba log shows up the following message:

kerberos_kinit_password SERVER$@MY.DOMAIN failed: Cannot contact any KDC 
for requested realm

The error occurs, when the smbd runs through the ads_kinit_password 
routine the second time.
I've follow the "data-flow" until krb5_cc_get_principal() in clikrb5.c.

Removing the 	

ads_kdestroy("MEMORY:prtpub_cache");

in line 3294 of nt_printing.c fixes this for me.

Regards,

Martin

-- 
Martin Zielinski             mz@seh.de
Software Development
SEH Computertechnik GmbH     www.seh.de

