Hi, Is there any reason against making a ctdb connected 2 pc samba cluster also a domain member? After setting the [include registry] option, one member of the cluster didn't let the users to log in. If I relogin this cluster member to the domain, then the other member starts to refuse users to log in. Did I miss some option that I have to use in this scenario? The name of the servers are different, but at the netbios aliases option they are the same. The used samba version is: 3.5.6~dfsg-3squeeze5. -- Cheers, Zsiga
As far as i know you cannot cluster samba as dc with ctdb. ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Kosa Attila Gesendet: Montag, 17. Oktober 2011 12:11 An: samba at lists.samba.org Betreff: [Samba] ctdb domain question Hi, Is there any reason against making a ctdb connected 2 pc samba cluster also a domain member? After setting the [include registry] option, one member of the cluster didn't let the users to log in. If I relogin this cluster member to the domain, then the other member starts to refuse users to log in. Did I miss some option that I have to use in this scenario? The name of the servers are different, but at the netbios aliases option they are the same. The used samba version is: 3.5.6~dfsg-3squeeze5. -- Cheers, Zsiga -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Your both ctdb nodes have the same name and the same ip? Is winbind running: http://ctdb.samba.org/samba.html CTDB_MANAGES_WINBIND This is a parameter in /etc/sysconfig/ctdb When this parameter is set to "yes" CTDB will start/stop/restart the local winbind daemon as the cluster configuration changes. When this parameter is set you should also make sure that winbind is NOT started by default by the linux system when it boots: chkconfig winbind off Example: CTDB_MANAGES_WINBIND="yes" It is strongly recommended that you set this parameter to "yes" if you intend to use clustered samba in DOMAIN or ADS security mode. ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: Kosa Attila [mailto:zsiga at kosaek.hu] Gesendet: Montag, 17. Oktober 2011 12:54 An: Daniel M?ller Cc: samba at lists.samba.org Betreff: Re: [Samba] ctdb domain question On Mon, Oct 17, 2011 at 12:40:15PM +0200, Daniel M?ller wrote:> As far as i know you cannot cluster samba as dc with ctdb. > > ----------------------------------------------- > EDV Daniel M?ller > > -----Urspr?ngliche Nachricht----- > Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]Im> Auftrag von Kosa Attila > Gesendet: Montag, 17. Oktober 2011 12:11 > An: samba at lists.samba.org > Betreff: [Samba] ctdb domain question > > Hi, > Is there any reason against making a ctdb connected 2 pc samba > cluster also a domain member? After setting the [include ^^^^^^^^^^^^^^No dc, member server. -- Cheers, Zsiga
On Mon, Oct 17, 2011 at 06:26:05PM +0800, David Roid wrote:> Sounds like domain membership is not in sync for your cluster, make sure > smb.conf is identical and "net ads join" is executed on only one node after > ctdb reaches stable state.The smb.conf file is identical on the two servers because I scp-ed it from one to the other. The ctdb was in a stable state, no AD is present, a third samba server (same version) is the PDC. -- Cheers, Zsiga