[PR PATCH] [Updated] Added smbc_SetConfiguration which lets the user set the smb.conf for â?¦
jra at samba.org
Wed Jan 17 21:03:02 UTC 2018
On Thu, Jan 18, 2018 at 08:01:06AM +1300, Andrew Bartlett via samba-technical wrote:
> On Wed, 2018-01-17 at 15:22 +0100, Volker Lendecke wrote:
> > On Wed, Jan 17, 2018 at 02:00:00PM +0000, Github bot account via samba-technical wrote:
> > > There is an updated pull request by puran157 against master on the Samba Samba Github repository
> > >
> > > https://github.com/puran157/samba set_configuration_libsmbclient
> > > https://github.com/samba-team/samba/pull/119
> > >
> > > Added smbc_SetConfiguration which lets the user set the smb.conf for â€¦
> > > â€¦libsmbclient code
> > >
> > > Signed-off-by: Puran Chand <pchand at vmware.com>
> > >
> > > A patch file from https://github.com/samba-team/samba/pull/119.patch is attached
> > Better. RB+. Someone else?
> My concern is this line:
> + torture_assert_int_equal(tctx, smbc_setConfiguration(ctx,
> "../testdata/samba3/smb_new.conf"), 0, "setConfiguration conf file not
> This feels a little too sensitive to working directories.
> I think we should have that passed in from the command line and
> accessed with torture_setting_string().
> As a use example see:
> source4/torture/krb5/kdc-canon-heimdal.c: test_data->krb5_hostname = torture_setting_string(tctx, "krb5-hostname", "");
> That example is called by adding this to the commandline in
> Otherwise, a big thanks to Volker for looking over the style issues
> here. I'm sorry I didn't get this feedback earlier.
OK, here is an updated version incorporating these changes
with my review. Passes local make test.
Can I get you or Volker to re-review and I'll push.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 18975 bytes
Desc: not available
More information about the samba-technical