Jorge Santos
2008-Jan-14 12:02 UTC
[Samba] Solaris 10 winbindd: fatal: init_module: can't find symbol
Hi all
I am trying to run samba-3.0.28 on a solaris 10 sparc machine, as a
member server for an AD 2003R2. I use nss_ldap-254.
I compile samba with:
GCC_EXEC_PREFIX=/opt/csw/gnu/ LDFLAGS="-L/opt/csw/lib"
CPPFLAGS="-I/opt/csw/include" ./configure --prefix=/opt/samba
--with-acl-support --with-quotas --with-included-popt
--with-privatedir=/opt/samba/etc/samba/private
--with-configdir=/opt/samba/etc/samba --with-ldap=yes --with-ads=yes
--with-pam --with-winbind --with-krb5=/opt/csw
--with-shared-modules=idmap_ad --with-shared-modules=vfs_zfsacl
--with-ld=/opt/csw/gnu/ld --with-gnu-ld --with-as=/opt/csw/gnu/as
--with-gnu-as
after the make, and make install I have to manually do a
make bin/ad.so and then copy ad.so to /opt/samba/lib/idmap.
My smb.conf is as follows:
[global]
workgroup = IDW
realm = IDW
server string = Samba Server
security = ADS
map to guest = Bad User
log level = 10
syslog = 0
log file = /opt/samba/var/log
max log size = 50000
acl compatibility = win2k
load printers = No
dns proxy = No
wins server = 192.168.22.8
ldap ssl = no
idmap backend = ad
password server = 192.168.22.8
idmap uid = 100-60000
idmap gid = 100-60000
# idmap domains = IDW
# idmap config IDW:default = yes
# idmap config IDW:backend = ad
# idmap config IDW:range = 100-60000
# idmap alloc backend = ad
# idmap alloc config:range = 100-60000
template homedir = /export/home/%g/%u
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
# winbind nss info = sfu
winbind nss info = rfc2307
acl map full control = No
dos filemode = Yes
client use spnego = yes
server signing = auto
client signing = auto
netbios name = samba
[homes]
comment = Home Directories
read only = No
browseable = No
root preexec = /opt/samba/bin/mkhome %u %g
# vfs objects = zfsacl
[public]
comment = Public Directories
path = /export/home/public
read only = No
# vfs objects = zfsacl
[tmp]
comment = Temporary file space
path = /tmp
read only = No
# vfs objects = zfsacl
When i try to access some share I get this in log.winbind-idmap:
[2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap_alloc(216)
Successfully added idmap alloc backend 'ldap'
[2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap(163)
Successfully added idmap backend 'ldap'
[2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap_alloc(216)
Successfully added idmap alloc backend 'tdb'
[2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap(163)
Successfully added idmap backend 'tdb'
[2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap(163)
Successfully added idmap backend 'passdb'
[2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap(163)
Successfully added idmap backend 'nss'
[2008/01/14 10:46:58, 1] nsswitch/idmap.c:idmap_init(377)
Initializing idmap domains
[2008/01/14 10:46:58, 5] lib/module.c:smb_probe_module(108)
Probing module 'ad'
[2008/01/14 10:46:58, 5] lib/module.c:smb_probe_module(119)
Probing module 'ad': Trying to load from /opt/samba/lib/idmap/ad.so
[2008/01/14 10:46:58, 0] lib/module.c:do_smb_load_module(60)
Error trying to resolve symbol 'init_module' in
/opt/samba/lib/idmap/ad.so: ld.so.1: winbindd: fatal: init_module: can't
find symbol
[2008/01/14 10:46:58, 0] nsswitch/idmap.c:idmap_init(457)
ERROR: Could not get methods for backend ad
This procedure used to work with samba-3.0.23d
Can someone shed some light on this please?
Thaks in Advance
JS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5537 bytes
Desc: S/MIME Cryptographic Signature
Url :
http://lists.samba.org/archive/samba/attachments/20080114/2bb8b280/smime.bin
Jorge Santos
2008-Jan-23 11:51 UTC
[Samba] Solaris 10 winbindd: fatal: init_module: can't find symbol
Ok, I managed to get passed this problem by editing configure and defining idmap_ad as static: MODULE_idmap_ad=STATIC Now I just wanted to ask how is the zfs acl support. Is it working? Is this the vfs objects = solarisacl? TIA JS Jorge Santos wrote:> Hi all > > I am trying to run samba-3.0.28 on a solaris 10 sparc machine, as a > member server for an AD 2003R2. I use nss_ldap-254. > > I compile samba with: > GCC_EXEC_PREFIX=/opt/csw/gnu/ LDFLAGS="-L/opt/csw/lib" > CPPFLAGS="-I/opt/csw/include" ./configure --prefix=/opt/samba > --with-acl-support --with-quotas --with-included-popt > --with-privatedir=/opt/samba/etc/samba/private > --with-configdir=/opt/samba/etc/samba --with-ldap=yes --with-ads=yes > --with-pam --with-winbind --with-krb5=/opt/csw > --with-shared-modules=idmap_ad --with-shared-modules=vfs_zfsacl > --with-ld=/opt/csw/gnu/ld --with-gnu-ld --with-as=/opt/csw/gnu/as > --with-gnu-as > > after the make, and make install I have to manually do a > make bin/ad.so and then copy ad.so to /opt/samba/lib/idmap. > > > My smb.conf is as follows: > > [global] > workgroup = IDW > realm = IDW > server string = Samba Server > security = ADS > map to guest = Bad User > log level = 10 > syslog = 0 > log file = /opt/samba/var/log > max log size = 50000 > acl compatibility = win2k > load printers = No > dns proxy = No > wins server = 192.168.xx.xx > ldap ssl = no > idmap backend = ad > password server = 192.168.xx.xx > idmap uid = 100-60000 > idmap gid = 100-60000 > # idmap domains = IDW > # idmap config IDW:default = yes > # idmap config IDW:backend = ad > # idmap config IDW:range = 100-60000 > # idmap alloc backend = ad > # idmap alloc config:range = 100-60000 > template homedir = /export/home/%g/%u > winbind enum users = Yes > winbind enum groups = Yes > winbind use default domain = Yes > # winbind nss info = sfu > winbind nss info = rfc2307 > acl map full control = No > dos filemode = Yes > client use spnego = yes > server signing = auto > client signing = auto > netbios name = samba > > [homes] > comment = Home Directories > read only = No > browseable = No > root preexec = /opt/samba/bin/mkhome %u %g > # vfs objects = zfsacl > > [public] > comment = Public Directories > path = /export/home/public > read only = No > # vfs objects = zfsacl > [tmp] > comment = Temporary file space > path = /tmp > read only = No > # vfs objects = zfsacl > > > When i try to access some share I get this in log.winbind-idmap: > > > [2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap_alloc(216) > Successfully added idmap alloc backend 'ldap' > [2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap(163) > Successfully added idmap backend 'ldap' > [2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap_alloc(216) > Successfully added idmap alloc backend 'tdb' > [2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap(163) > Successfully added idmap backend 'tdb' > [2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap(163) > Successfully added idmap backend 'passdb' > [2008/01/14 10:46:58, 5] nsswitch/idmap.c:smb_register_idmap(163) > Successfully added idmap backend 'nss' > [2008/01/14 10:46:58, 1] nsswitch/idmap.c:idmap_init(377) > Initializing idmap domains > [2008/01/14 10:46:58, 5] lib/module.c:smb_probe_module(108) > Probing module 'ad' > [2008/01/14 10:46:58, 5] lib/module.c:smb_probe_module(119) > Probing module 'ad': Trying to load from /opt/samba/lib/idmap/ad.so > [2008/01/14 10:46:58, 0] lib/module.c:do_smb_load_module(60) > Error trying to resolve symbol 'init_module' in > /opt/samba/lib/idmap/ad.so: ld.so.1: winbindd: fatal: init_module: can't > find symbol > [2008/01/14 10:46:58, 0] nsswitch/idmap.c:idmap_init(457) > ERROR: Could not get methods for backend ad > > This procedure used to work with samba-3.0.23d > > Can someone shed some light on this please? > > Thaks in Advance > > JS >-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5537 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.samba.org/archive/samba/attachments/20080123/2cd971b8/smime.bin