[Samba] PDC and BDC with LDAP and Samba 2.2.4

Yannick Tousignant ytousignant at oka-info.com
Tue Jun 4 05:51:03 GMT 2002


Hi,

I'm trying to build a PDC and BDC to elimenate Windows NT on a
network and have load balancing and fault tolerence for users.

I've compiled samba 2.2.4 on two servers, working with openldap 2.0.23
with a master and a slave. Replication on LDAP servers works fine.
I've set up a domain controller and wanted to set the other server
as BDC in case the PDC goes down. Each time i put the
"domain logons = yes" option, some people can't log in, computers
seems to seek for a domain controler. Also, logon script aren't
executed upon login... When i disconnect network cable on the
PDC, users can log into the BDC fine but login script arenèt executed.
When i plug back the pdc, some users can't no longer login (bad user).
When i disconnect the BDC, everything work fine.

For now i disabled the "domain logons = yes" on the BDC, so there is
no load balancing and fault tolerence for users. =(



Here is my smb.conf on both servers :


PDC :

====================================

[global]

    netbios name = PDC
    workgroup = OKA
    os level = 64
    preferred master = yes
    domain master = yes
    local master = yes
    security = user
    encrypt passwords = yes
    domain logons = yes
    time server = yes
    ldap suffix = dc=OKA
    ldap admin dn = cn=ADMIN,dc=OKA
    ldap ssl = off
    ldap server = 127.0.0.1
    ldap port = 389
    logon path =
    logon home =
    logon script = users.bat
    domain admin group = root


[netlogon]

    path = /home/netlogon
    read only = yes
    write list = root

========================================

BDC :

========================================

[global]

    netbios name = BDC
    workgroup = OKA
    security = user
    encrypt passwords = yes
    domain logons = yes
    os level = 63
    local master = yes
    domain master = no
    time server = yes
    ldap suffix = dc=OKA
    ldap admin dn = cn=ADMIN,dc=OKA
    ldap ssl = off
    ldap server = 127.0.0.1
    ldap port = 389
    logon path =
    logon home =
    logon script = users.bat
    domain admin group = root

[netlogon]

    path = /home/netlogon
    read only = yes
    write list = root


=======================================

Hope i can do something about it... thanks!


Yannick Tousignant
===============
Gestion Informatique OKA ltée.
Téléphone : (514) 282-9334 (#238)


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





More information about the samba mailing list