kadmin (heimdal port) ignores the ldap backend

Scot Hetzel swhetzel at gmail.com
Fri Jun 3 09:47:53 PDT 2005


I believe you have to set NO_KERBEROS in /etc/make.conf.  Then rebuild
& install the FreeBSD sources in /usr/src.  Then after the
installworld, you'll need to go to the /usr/lib directory and
move/remove all libs that are older than the date of the install.

NOTE: I would also do a second installworld, after removing the
libraries.  Just incase something was removed that wasn't supposed to
be removed.

Then install the KERBEROS hemidal port.

Scot

On 6/3/05, Boris Samorodov <bsam at ipt.ru> wrote:
> On Fri, 03 Jun 2005 11:41:30 +0200 fandino wrote:
> 
> > Boris Samorodov wrote:
> > >>I removed temporally all /usr/lib/libkadm5srv* libraries and as results
> > >>kadmin was forced to load /usr/local libraries, but I get the same
> > >>problem :-(
> > > 
> > >>again kadmin doesn't use ldap and fallback to database files.
> > > From your dump:
> > >  58516 kadmin   CALL  access(0x28079000,0)
> > >  58516 kadmin   NAMI  "/usr/lib/libhdb.so.7"
> > >  58516 kadmin   RET   access 0
> > >  58516 kadmin   CALL  open(0x28076040,0,0xbfbfebcc)
> > >  58516 kadmin   NAMI  "/usr/lib/libhdb.so.7"
> > >  58516 kadmin   RET   open 3
> > >  58516 kadmin   CALL  fstat(0x3,0xbfbfebcc)
> > >  58516 kadmin   RET   fstat 0
> > >  58516 kadmin   CALL  read(0x3,0x28070c40,0x1000)
> > >  58516 kadmin   GIO   fd 3 read 4096 bytes
> > > Thus kadmin is using the system libhdb. The port version shuold be
> > > at
> > > /usr/local/lib.
> 
> > Effectively /usr/lib/libhdb.so.7 was the cause of the problem. Thank you
> Boris.
> 
> You are welcome.
> 
> > I'd like to ask what is the proper way of treat with this conflict?
> 
> So do I.
> 
> > is it unavoidable?
> 
> The same.
> 
> > is there any solution?
> 
> I already gave you a skeleton of the wrapping script for kadmin with
> search-order changed for libraries. IMO it's the most effective way at
> the matter.
> 
> Does someone know the right solution?
> 
> > Also it'd be interesting if a warning was printed by the port install
> script
> > advising the consequences of enable "LDAP backend" in the heimdal port.
> 
> Please, do send-pr with your suggestion.
> 
> 
> WBR
> -- 
> bsam
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 


-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-ports mailing list