[IPA] Disabling Heimdal service

Endi Sukma Dewata edewata at redhat.com
Tue Nov 24 11:08:56 MST 2009


----- "Andrew Bartlett" <abartlet at samba.org> wrote:

> > cp -r ../examples $SETUPDIR/../..
> > 
> > In this command the $SETUPDIR points to $DESTDIR/share/setup. $DESTDIR
> > is the installation directory, e.g. /usr/local/samba. So the command will
> > copy the examples into $DESTDIR becoming $DESTDIR/examples.
> I don't like that this breaks if setup becomes anything other than
> $DESTDIR/share/setup
> > The relative location of the setup and examples directories in the 
> > installation directory will be the same as that in the source directory.
> > See also provisionbackend.py line 569:
> > 
> > self.samba3_schema = self.setup_path("../../examples/LDAP/samba.schema")
> > 
> > This command will work both in source directory and installation directory.
> I realise that's why you do it, but that it works and produces a
> reasonable path seems to be more due to blind luck than anything
> else.

What's your recommendation for this? Should we add another parameter to
the provisioning tool and installmisc.sh pointing to the installation
directory? Or should we move the schema files somewhere else?


Endi S. Dewata

More information about the samba-technical mailing list