samba compile prob.
Johan Hedin
johanh at fusion.kth.se
Wed Sep 6 09:44:07 CEST 2000
On 4 Sep 2000, Hans Insulander wrote:
> Tom Vaughan <tom at vaughan.to> writes:
>
> > > Look in the Samba password verification code and make sure something
> > > like this is run somewhere:
> > >
> > > if(k_hasafs()) {
> > > ...
> > > k_setpag();
> > > ...
> > > krb_afslog(...);
> > > ...
> > > }
> > >
> >
> > Uh oh.
> >
> > nutrimatic# pwd
> > /exhome/tvaughan/local/src/samba-2.0.7/source
> > nutrimatic# find . -name "*.[ch]" -print | xargs grep -n k_hasafs
> > nutrimatic# find . -name "*.[ch]" -print | xargs grep -n k_setpag
> > nutrimatic#
>
> Oh, so they've removed that functinality. How splendid...
Don't blame them. I did submit the Kerberos 4 support in Samba long time
ago before we had AFS here. I should probably have added the krb_afslog()
part... We dont use that code any more, since before we got AFS, we
shifted to PAM instead.
I'm not sure the token destruction is an issue. As far as i know, smbd
forks, then makes a k_setpag() (with the patch included in the former
mail), and then dies once the connection is closed. Only one user per
forked smbd. Does one still ned to destroy the tokens?
Johan Hedin
/---------------------------------------------------------------------\
| Johan Hedin | johanh at fusion.kth.se |
| Ph.D. Student and System Manager | http://www.fusion.kth.se/~johanh |
\---------------------------------------------------------------------/
More information about the Arla-drinkers
mailing list