[Freeipa-devel] [PATCH] 1 Add ipa-adtrust-install utility

Simo Sorce simo at redhat.com
Fri Aug 26 19:19:08 UTC 2011


On Fri, 2011-08-26 at 20:52 +0200, Sumit Bose wrote:
> On Fri, Aug 26, 2011 at 09:35:16PM +0300, Alexander Bokovoy wrote:
> > >>> diff --git a/ipaserver/install/smbinstance.py b/ipaserver/install/smbinstance.py
> > >>> new file mode 100644
> > >> The code in smbinstance.py assumes Samba has been compiled with
> > >> /etc/ipa/smb.conf as default configuration file location. Is that correct?
> > >>
> > > 
> > > no, __write_sysconfig_samba() adds "-s /etc/ipa/smb.conf" to
> > > SMBDOPTIONS in /etc/sysconfig/samba.
> > But then net utility will not be able to use it. Same for nmbd and
> > winbindd. If for last two you could use /etc/sysconfig/samba to direct
> > them to a proper configuration, you can't do so for /usr/bin/net.
> 
> Currently we plan not to use nmbd or winbind. But you are right about
> net or other utilities. Maybe we should just use the default samba
> config file, otherwise we would have to add some paragraphs to the
> documentation explaining how to use the samba utilities.
> 
> Simo, what do you think?

I guess we should use the standard /etc/samba/smb.conf
After all we are only setting one line in there and then using the
standard registry tdbs to hold configuration, so it's not like we are
not going to stomp all over the default samba tdbs anyway.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list