[Samba] PDC and BDC with LDAP and Samba 2.2.4

Tarjei Huse tarjei at nu.no
Tue Jun 4 08:08:02 GMT 2002


Did you see the other BDC howto? Combine this with a replicated openldap server 
and I think you're done, although I've never had the need :)

Tarjei

> 
> PLEASE!?! :o)
> 
> Klaus
> 
> On 4 Jun 2002 at 7:55, Cates, Brett wrote:
> 
> > 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
> > 
> 
> 
> Klaus Zahradnik
> GO-PUBLIC.COM
> 
> ----------------------------------------------------------------
> GO-PUBLIC.COM Internet Relations GmbH
> 
> A-2500 Baden, Weilburgstrasse 4
> http://GO-PUBLIC.com/       office at go-public.com
> Phone: +43(0)2252-490 10-0  Fax: +43(0)2252-490 15
> ----------------------------------------------------------------
> 
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


Mob: 920 63 413 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/





More information about the samba mailing list