moshe levi
2010-Jan-07 13:14 UTC
[Samba] client samba swichover when when Primary Domain controler is down.
Hi everyone, I have a question regrading samba client. I am using samba version 3.3.9 on Linux RedHat server 5 OS. I also have installed 2 Domain Controllers on windows 2008 R2 and with Active Directory. One domain controller is primary and the other one is backup. I ran a test that bring down the primary Domain controller. I expected that samba would recognize that the primary Domain controller is down and it will try to connect to the backup Domain Controller. But this didn't happen samba tried to connect the primary Domain controller I just want to know if this supported in samba 3.3.9 on Linux RedHat server 5, or I have configuration problem.
Greetings, I'm trying test Samba 4's AD. I can build the source 3 directory, but I'm experiencing issues building the source 4 and source 3 with merge build. I'm running a customized version of fedora. Below is a snippet of the console output when trying to run make along with the configure options. I have gnu make 3.81 and gcc 4.4.2 installed. source 3 w/merge build --enable-debug --enable-developer --prefix=/usr/local --enable-fhs --enable-automatic-dependencies --enable-merged-build Compiling winbindd/idmap.c Compiling winbindd/idmap_util.c Compiling winbindd/idmap_ldap.c Compiling winbindd/idmap_tdb.c Compiling winbindd/idmap_passdb.c Compiling winbindd/idmap_nss.c Compiling winbindd/nss_info.c Compiling winbindd/nss_info_template.c Compiling lib/tdb_validate.c Linking bin/winbindd Compiling ../nsswitch/wbinfo.c Linking bin/wbinfo ../nsswitch/wbinfo.o: In function `wbinfo_ping_dc': /storage/LSP4/contrib/samba351/samba-3.5.0rc1/source3/../nsswitch/wbinfo.c:790: undefined reference to `wbcPingDc' collect2: ld returned 1 exit status make: *** [bin/wbinfo] Error 1 source 4 --enable-debug --enable-developer --prefix=/usr/local --enable-fhs --enable-automatic-dependencies Samba will be compiled with flags: CPP = gcc4 -E CPPFLAGS = -I./include -I. -I./lib -I./../lib/replace -I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H CC = gcc4 CFLAGS = -g -DDEBUG_PASSWORD -DDEVELOPER -Wall -Wshadow -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-format-attribute -Wformat=2 -Wdeclaration-after-statement -Wunused-macros -Wno-format-y2k -Wno-unused-parameter PICFLAG = -fPIC BNLD = gcc4 BNLD_FLAGS = -Wl,--export-dynamic STLD = /usr/local/bin/ar STLD_FLAGS = -rcs SHLD = gcc4 SHLD_FLAGS = -shared -Wl,-Bsymbolic MDLD = gcc4 MDLD_FLAGS = -shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined SHLIBEXT = so srcdir = . builddir = . pwd = /storage/LSP4/contrib/samba351/samba-3.5.0rc1/source4 Compiling ../lib/util/unix_privs.c ../lib/util/unix_privs.c: In function 'privileges_destructor': ../lib/util/unix_privs.c:54: error: implicit declaration of function 'uwrap_geteuid' ../lib/util/unix_privs.c:55: error: implicit declaration of function 'uwrap_seteuid' The following command failed: gcc4 -g -DDEBUG_PASSWORD -DDEVELOPER -Wall -Wshadow -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-format-attribute -Wformat=2 -Wdeclaration-after-statement -Wunused-macros -Wno-format-y2k -Wno-unused-parameter -I../lib/talloc -Ilib/replace -fPIC -I./include -I. -I./lib -I./../lib/replace -I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H -c ../lib/util/unix_privs.c -o ../lib/util/unix_privs.o make: *** [../lib/util/unix_privs.o] Error 1 Any help would be appreciated. Thanks! Stuart