[Samba] W2K8 ADS, sernet pkgs (debian)

Christoph Kaminski mangel at gmx.de
Fri Sep 26 07:23:04 GMT 2008

Hi All!

I use on my debian stable hosts here only sernet pkgs with samba 3.0.32.
It works perfectly with Windows 2008 ADS.

On my unstble host I have the 'standard' debian sid pkgs with samba 
3.2.3. I have there a problem. It does work 45min - 1h and then I get 
this error with wbinfo -t:

checking the trust secret via RPC calls failed
error code was NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND (0xc0000233)
Could not check secret

I need to rejoin the ADS with net ads join, after that it works the next 
45min - 1h.

What can be the problem?

I tried to compile the sernet pkgs for debian sid but I get ever this error:

Compiling client/smbmount.c
In file included from /usr/include/linux/smb.h:14,
                  from /usr/include/linux/smb_fs.h:12,
                  from client/smbmount.c:25:
/usr/include/linux/time.h:9: error: redefinition of ‘struct timespec’
/usr/include/linux/time.h:15: error: redefinition of ‘struct timeval’
/usr/include/linux/time.h:20: error: redefinition of ‘struct timezone’
/usr/include/linux/time.h:42: error: redefinition of ‘struct itimerspec’
/usr/include/linux/time.h:47: error: redefinition of ‘struct itimerval’
client/smbmount.c: In function ‘init_mount’:
client/smbmount.c:496: warning: the address of ‘options’ will always 
evaluate as ‘true’
The following command failed:
i486-linux-gnu-gcc -I. -I/usr/src/samba-3.0.32/source  -gstabs -Wall 
-I/usr/src/samba-3.0.32/source -O2 -D_SAMBA_BUILD_=3 
-I/usr/src/samba-3.0.32/source/iniparser/src -Iinclude -I./include  -I. 
-I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns 
-D_GNU_SOURCE -DLDAP_DEPRECATED    -I/usr/src/samba-3.0.32/source/lib 
-D_SAMBA_BUILD_=3 -fPIC -c client/smbmount.c -o client/smbmount.o
make[1]: *** [client/smbmount.o] Error 1
make[1]: Leaving directory `/usr/src/samba-3.0.32/source'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

(All dependencies are resolved)

What can be the problem here?


PS: Sorry for my english!

More information about the samba mailing list