[Samba] PDC and BDC with LDAP and Samba 2.2.4

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


In this link :

http://www.samba.org/samba/ftp/docs/htmldocs/Samba-BDC-HOWTO.html

It seems possible to act like BDC as long as the PDC is a samba machine.
I did everyting there, and both servers have the same secrets.tdb file.

thanks for helping me!

Yannick

> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of Cates, Brett
> Sent: Tuesday, June 04, 2002 8:55 AM
> To: 'Yannick Tousignant'; samba at samba.org
> Subject: RE: [Samba] PDC and BDC with LDAP and Samba 2.2.4
>
>
> Can samba act as a BDC?  I thought I read somewhere that it can only be a
> PDC or a member server.  I could be wrong though...
>
> Brett
> -----Original Message-----
> From: Yannick Tousignant [mailto:ytousignant at oka-info.com]
> Sent: Tuesday, June 04, 2002 7:47 AM
> To: samba at samba.org
> Subject: [Samba] PDC and BDC with LDAP and Samba 2.2.4
>
>
>
> 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
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
> --
> 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