I'm trying to build the --with-fake-kaserver option in 3.0.4 on RHEL 3.0. I'm using the srpms provided on the samba.org site (http://us3.samba.org/samba/ftp/bin-pkgs/RedHat/SRPMS/samba-3.0.4 -1.src.rpm). My OpenAFS version is 1.2.11, rpms (openafs-1.2.11 and openafs-devel-1.2.11) provided from openafs.org. It compiles fine if I omit the --with-fake-kaserver configure option. When it is added, this is the result: Compiling smbd/files.c In file included from /usr/kerberos/include/profile.h:149, from /usr/kerberos/include/krb5.h:138, from include/includes.h:401, from dynconfig.c:21: /usr/include/afs/com_err.h:15: syntax error before "afs_int32" /usr/include/afs/com_err.h:16: warning: parameter names (without types) in function declaration /usr/include/afs/com_err.h:17: warning: parameter names (without types) in function declaration /usr/include/afs/com_err.h:18: syntax error before "afs_int32" /usr/include/afs/com_err.h:19: syntax error before "afs_int32" /usr/include/afs/com_err.h:20: syntax error before "afs_int32" In file included from /usr/kerberos/include/profile.h:149, from /usr/kerberos/include/krb5.h:138, from include/includes.h:401, from param/params.c:82: /usr/include/afs/com_err.h:15: syntax error before "afs_int32" /usr/include/afs/com_err.h:16: warning: parameter names (without types) in function declaration /usr/include/afs/com_err.h:17: warning: parameter names (without types) in function declaration /usr/include/afs/com_err.h:18: syntax error before "afs_int32" /usr/include/afs/com_err.h:19: syntax error before "afs_int32" /usr/include/afs/com_err.h:20: syntax error before "afs_int32" In file included from /usr/kerberos/include/profile.h:149, from /usr/kerberos/include/krb5.h:138, from include/includes.h:401, from param/loadparm.c:54: /usr/include/afs/com_err.h:15: syntax error before "afs_int32" /usr/include/afs/com_err.h:16: warning: parameter names (without types) in function declaration /usr/include/afs/com_err.h:17: warning: parameter names (without types) in function declaration /usr/include/afs/com_err.h:18: syntax error before "afs_int32" /usr/include/afs/com_err.h:19: syntax error before "afs_int32" /usr/include/afs/com_err.h:20: syntax error before "afs_int32" In file included from include/includes.h:761, from dynconfig.c:21: include/ads.h:225:1: warning: "AP_OPTS_USE_SUBKEY" redefined In file included from include/includes.h:401, from dynconfig.c:21: /usr/kerberos/include/krb5.h:754:1: warning: this is the location of the previous definition In file included from /usr/kerberos/include/profile.h:149, from /usr/kerberos/include/krb5.h:138, from include/includes.h:401, from smbd/files.c:21: /usr/include/afs/com_err.h:15: syntax error before "afs_int32" /usr/include/afs/com_err.h:16: warning: parameter names (without types) in function declaration /usr/include/afs/com_err.h:17: warning: parameter names (without types) in function declaration /usr/include/afs/com_err.h:18: syntax error before "afs_int32" /usr/include/afs/com_err.h:19: syntax error before "afs_int32" /usr/include/afs/com_err.h:20: syntax error before "afs_int32"In file included from include/includes.h:761, from param/params.c:82: include/ads.h:225:1: warning: "AP_OPTS_USE_SUBKEY" redefined In file included from include/includes.h:401, from param/params.c:82: /usr/kerberos/include/krb5.h:754:1: warning: this is the location of the previous definition In file included from include/includes.h:761, from param/loadparm.c:54: include/ads.h:225:1: warning: "AP_OPTS_USE_SUBKEY" redefined In file included from include/includes.h:401, from param/loadparm.c:54: /usr/kerberos/include/krb5.h:754:1: warning: this is the location of the previous definition In file included from include/includes.h:761, from smbd/files.c:21: include/ads.h:225:1: warning: "AP_OPTS_USE_SUBKEY" redefined In file included from include/includes.h:401, from smbd/files.c:21: /usr/kerberos/include/krb5.h:754:1: warning: this is the location of the previous definition make: *** [dynconfig.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [param/params.o] Error 1 make: *** [smbd/files.o] Error 1 Help? Ben Vaughan -- "That's crazy enough it might just work!"
Andrew Reilly
2004-Jun-23 19:11 UTC
[Samba] Samba 3.0.2+ldap+inter-domain trust: creating posix accounts in ldap
After struggling with inter-domain trusts for sometime I seem to have got it semi-functional. However, samba now takes it upon itself to create a posix account in ldap directory for any user that logs into a server in the trusting domain. Is this normal behaviour or have I misconfigured something along the way? Winbind perhaps??? TIA, andrew