[SAMBA4][PATCH]: Fix provision instructions (bz #5497) - Samba

This is a discussion on [SAMBA4][PATCH]: Fix provision instructions (bz #5497) - Samba ; All: Please find attached a patch that removes references to smbpython in the HOWTO instructions. Additionally, a small patch is included to correct a typo in provision when using the "ldap-backend" parameter. The patches have also been pushed to git://git.id10ts.net/samba.git, ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [SAMBA4][PATCH]: Fix provision instructions (bz #5497)

  1. [SAMBA4][PATCH]: Fix provision instructions (bz #5497)

    All:

    Please find attached a patch that removes references to smbpython in the
    HOWTO instructions.

    Additionally, a small patch is included to correct a typo in provision
    when using the "ldap-backend" parameter.

    The patches have also been pushed to git://git.id10ts.net/samba.git, in
    the v4-0-local branch.

    Thanks,
    Andrew

    >From d4d4df0e10f32c3891c4afca72ea1b8b92c7c071 Mon Sep 17 00:00:00 2001

    From: Andrew Kroeger
    Date: Fri, 23 May 2008 02:20:35 -0500
    Subject: [PATCH] provision: Add missing string parameter token when assigning ldap_backend.

    ---
    source/scripting/python/samba/provision.py | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/source/scripting/python/samba/provision.py b/source/scripting/python/samba/provision.py
    index 3914fa8..4a9def8 100644
    --- a/source/scripting/python/samba/provision.py
    +++ b/source/scripting/python/samba/provision.py
    @@ -969,7 +969,7 @@ def provision(setup_dir, message, session_info,
    if ldap_backend is not None:
    if ldap_backend == "ldapi":
    # provision-backend will set this path suggested slapd command line / fedorads.inf
    - ldap_backend = "ldapi://" % urllib.quote(os.path.join(paths.private_dir, "ldap", "ldapi"), safe="")
    + ldap_backend = "ldapi://%s" % urllib.quote(os.path.join(paths.private_dir, "ldap", "ldapi"), safe="")

    # only install a new shares config db if there is none
    if not os.path.exists(paths.shareconf):
    --
    1.5.4.5


    >From a4b2b82b1c2e792f80bbdfb632384e7dac39ab5b Mon Sep 17 00:00:00 2001

    From: Andrew Kroeger
    Date: Sat, 24 May 2008 08:48:05 -0500
    Subject: [PATCH] howto: Remove smbpython.

    ---
    howto.txt | 5 +----
    1 files changed, 1 insertions(+), 4 deletions(-)

    diff --git a/howto.txt b/howto.txt
    index ae9b0e2..3ae225d 100644
    --- a/howto.txt
    +++ b/howto.txt
    @@ -80,12 +80,9 @@ Must be run as a user with permission to write to the install directory.
    ::

    # cd source
    - # bin/smbpython ./setup/provision --realm=YOUR.REALM --domain=YOURDOM \
    + # ./setup/provision --realm=YOUR.REALM --domain=YOURDOM \
    # --adminpass=SOMEPASSWORD --server-role='domain controller'

    -REMINDER: Use the path to smbpython, as the provision command
    - will not work with the system python.
    -
    'YOURDOM' is the NT4 style domain name. 'YOUR.REALM' is your kerberos
    realm, which is typically your DNS domain name.

    --
    1.5.4.5



  2. Re: [SAMBA4][PATCH]: Fix provision instructions (bz #5497)

    On Wed, 2008-05-28 at 22:51 -0500, Andrew Kroeger wrote:
    > All:
    >
    > Please find attached a patch that removes references to smbpython in the
    > HOWTO instructions.
    >
    > Additionally, a small patch is included to correct a typo in provision
    > when using the "ldap-backend" parameter.
    >
    > The patches have also been pushed to git://git.id10ts.net/samba.git, in
    > the v4-0-local branch.


    Pushed.

    Thanks!

    --
    Andrew Bartlett
    http://samba.org/~abartlet/
    Authentication Developer, Samba Team http://samba.org
    Samba Developer, Red Hat Inc.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)

    iD8DBQBIPkAdz4A8Wyi0NrsRAqlGAJ9yK4ldOZA1Ar0GBkAt/1Di+lZvVQCeOtNE
    5NXpwiKUmyInWoVFyHSVU9s=
    =maRn
    -----END PGP SIGNATURE-----


+ Reply to Thread