[Samba] Populating the samba/ldap database - Samba

This is a discussion on [Samba] Populating the samba/ldap database - Samba ; I'm working on getting Samba3 running in a RHEL4 environment. The components are; samba3-3.0.28-35 openldap-2.2.13-8.el4_6.4 smbldap-tools-0.9.4-1.el4.rf I already have a working and functional ldap installation. The rub is that the existing ldap accounts do not have any samba specific attributes. ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: [Samba] Populating the samba/ldap database

  1. [Samba] Populating the samba/ldap database

    I'm working on getting Samba3 running in a RHEL4 environment. The
    components are;
    samba3-3.0.28-35
    openldap-2.2.13-8.el4_6.4
    smbldap-tools-0.9.4-1.el4.rf

    I already have a working and functional ldap installation. The rub is
    that the existing ldap accounts do not have any samba specific
    attributes. Samba by Example assumes that I'm initially creating an ldap
    database, where the reality is that I'm adding samba to an existing ldap
    enabled network.

    So here's the question: If I perform step 3 of Procedure 5.8 in Chapter
    5 of the online Samba by Example (smbldap-populate -a root -k 0 -m 0) am
    I going to screw up my existing accounts, or will this politely add the
    necessary samba attributes to the existing accounts?

    I'd just as soon avoid hosing up all my ldap user accounts, but I'd
    really like to have a functional samba installation too.

    Thanks for any assistance.
    Gar


    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  2. Re: [Samba] Populating the samba/ldap database

    On Thursday 29 May 2008 11:18:51 Gar Nelson wrote:
    > I'm working on getting Samba3 running in a RHEL4 environment. The
    > components are;
    > samba3-3.0.28-35
    > openldap-2.2.13-8.el4_6.4
    > smbldap-tools-0.9.4-1.el4.rf
    >
    > I already have a working and functional ldap installation. The rub is
    > that the existing ldap accounts do not have any samba specific
    > attributes. Samba by Example assumes that I'm initially creating an ldap
    > database, where the reality is that I'm adding samba to an existing ldap
    > enabled network.
    >
    > So here's the question: If I perform step 3 of Procedure 5.8 in Chapter
    > 5 of the online Samba by Example (smbldap-populate -a root -k 0 -m 0) am
    > I going to screw up my existing accounts, or will this politely add the
    > necessary samba attributes to the existing accounts?


    Do NOT do this. If you already have your POSIX user and group accounts in
    place, let Samba add the SambaSAM components. You can just run "smbpasswd -a
    user_name" to add the SambaSAM components.

    > I'd just as soon avoid hosing up all my ldap user accounts, but I'd
    > really like to have a functional samba installation too.


    Does that help?

    - John T.
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba


  3. Re: [Samba] Populating the samba/ldap database

    John H Terpstra wrote:
    > On Thursday 29 May 2008 11:18:51 Gar Nelson wrote:
    >
    >> So here's the question: If I perform step 3 of Procedure 5.8 in Chapter
    >> 5 of the online Samba by Example (smbldap-populate -a root -k 0 -m 0) am
    >> I going to screw up my existing accounts, or will this politely add the
    >> necessary samba attributes to the existing accounts?
    >>

    >
    > Do NOT do this. If you already have your POSIX user and group accounts in
    > place, let Samba add the SambaSAM components. You can just run "smbpasswd -a
    > user_name" to add the SambaSAM components.
    >
    >
    >> I'd just as soon avoid hosing up all my ldap user accounts, but I'd
    >> really like to have a functional samba installation too.
    >>

    >
    > Does that help?
    >
    > - John T.
    >


    perfectly. Thank you. I tried it on a test account, and several samba
    specific attributes were added to the account.

    Gar


    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

+ Reply to Thread