[Samba] Samba 3.0.10 on Red Hat AS 2.1

jphml at sympatico.ca jphml at sympatico.ca
Thu Dec 30 21:29:44 GMT 2004


Does Samba 3.0.x can be compiled on RH AS 2.1 (using glibc 2.2.4)? I can't complete the compilation! Here are the configuration options:

./configure --prefix=/usr --sysconfdir=/etc/samba \
--localstatedir=/var/samba --with-ldap --with-ads \
--with-smbmount --with-pam --with-pam_smbpass \
--with-winbind --with-configdir=/etc/samba \
--with-logbasedir=/var/log/samba \
--with-shared-modules=idmap_rid

I need LDAP, ADS, PAM, Winbind and idmap_rid to be able to login with Active Directory users on Linux servers. I want idmap_rid to have the same UID on each server (I will use NFS). I tried idmap backend with ldap instead of idmap_rid but I'm unable to make it work on RH 9.0!

Here is what I got when compiling:

--snip, seems ok until there--
Compiling dynconfig.c with -fPIC
Linking shared library bin/pam_smbpass.so
Linking nsswitch/libnss_wins.so
lib/system.po: In function `sys_dlopen':
lib/system.po(.text+0xcb9): undefined reference to `dlopen'
lib/system.po: In function `sys_dlsym':
lib/system.po(.text+0xce1): undefined reference to `dlsym'
lib/system.po: In function `sys_dlclose':
lib/system.po(.text+0xd06): undefined reference to `dlclose'
lib/system.po: In function `sys_dlerror':
lib/system.po(.text+0xd24): undefined reference to `dlerror'
lib/username.po: In function `user_in_netgroup_list':
lib/username.po(.text+0xb76): undefined reference to `yp_get_default_domain'
lib/access.po: In function `string_match':
lib/access.po(.text+0x1e1): undefined reference to `yp_get_default_domain'
libads/kerberos.po: In function `kerberos_secrets_fetch_salting_principal':
libads/kerberos.po(.text+0x5dc): undefined reference to `secrets_fetch'
libads/kerberos.po: In function `kerberos_secrets_store_salting_principal':
libads/kerberos.po(.text+0x806): undefined reference to `secrets_store'
libads/kerberos.po(.text+0x813): undefined reference to `secrets_delete'
libads/kerberos.po: In function `get_service_ticket':
libads/kerberos.po(.text+0x926): undefined reference to `secrets_fetch_machine_password'
libads/kerberos.po: In function `verify_service_password':
libads/kerberos.po(.text+0xe23): undefined reference to `secrets_fetch_machine_password'
Linking libsmbclient non-shared library bin/libsmbclient.a
Linking libsmbclient shared library bin/libsmbclient.so
Compiling sam/idmap_rid.c with -fPIC
sam/idmap_rid.c: In function `rid_idmap_parse':
sam/idmap_rid.c:55: parse error before `sid_str'
sam/idmap_rid.c:58: parse error before `tok'
sam/idmap_rid.c:65: `sid_str' undeclared (first use in this function)
sam/idmap_rid.c:65: (Each undeclared identifier is reported only once
sam/idmap_rid.c:65: for each function it appears in.)
sam/idmap_rid.c:79: `tok' undeclared (first use in this function)
sam/idmap_rid.c:103: `known_domain' undeclared (first use in this function)
make: *** [sam/idmap_rid.po] Error 1


I searched on the web and red the samba guide, I can't find anything on that.

Thanks,
Jean-Philippe Houde




More information about the samba mailing list