I've tried building samba 3.0.20 and 21a without luck. I've tried binaries and they all give this error. I know I am missing something but nothing points to a solution. ../bin/smbstatus exec(): 0509-036 Cannot load program ../bin/smbstatus because of the following errors: 0509-130 Symbol resolution failed for /usr/lib/libc.a(posix_aio.o) because: 0509-136 Symbol _posix_kaio_rdwr (number 2) is not exported from dependent module /unix. 0509-136 Symbol _posix_listio (number 3) is not exported from dependent module /unix. 0509-136 Symbol _posix_acancel (number 4) is not exported from dependent module /unix. 0509-136 Symbol _posix_iosuspend (number 5) is not exported from dependent module /unix. 0509-136 Symbol _posix_aio_nwait (number 6) is not exported from dependent module /unix. 0509-136 Symbol _posix_aio_nwait64 (number 7) is not exported from dependent module /unix. 0509-136 Symbol _posix_aio_nwait_timeout (number 8) is not exported from dependent module /unix. 0509-136 Symbol _posix_aio_nwait_timeout64 (number 9) is not exported from dependent module /unix. 0509-136 Symbol _posix_iofsync (number 10) is not exported from dependent module /unix. 0509-026 System error: Error 0 0509-192 Examine .loader section symbols with the 'dump -Tv' command. This configure line successfully creates a Makefile: ./configure --with-ads --with-winbind --with-pam --with-aio-support Running make gives this: make Using FLAGS = -O -D_SAMBA_BUILD_ -I./popt -Iinclude -I/home/inst/software/samba/samba-3.0.21a/source/include -I/home/inst/software/samba/samba-3.0.21a/source/ubiqx -I/home/inst/software/samba/samba-3.0.21a/source/tdb -I. -DLDAP_DEPRECATED -I/home/inst/software/samba/samba-3.0.21a/source -D_SAMBA_BUILD_ LIBS LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok LDFLAGS PIE_CFLAGS PIE_LDFLAGS Compiling dynconfig.c In file included from /usr/include/aio.h:31, from include/includes.h:518, from /home/inst/software/samba/samba-3.0.21a/source/dynconfig.c:21: /usr/include/sys/aio.h:91: error: field `aio_sigevent' has incomplete type /usr/include/sys/aio.h:147: error: field `aio_sigevent' has incomplete type In file included from /home/inst/software/samba/samba-3.0.21a/source/dynconfig.c:21: include/includes.h:822: error: redefinition of `struct timespec' make: 1254-004 The error code from the last command is 1. Stop. Chuck Colht Sr System Administrator Alaska Communications Systems, Inc. 907-269-2673 ccolht@acsalaska.com *********************************************************************************** This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS
----- Original Message ----- From: "Colht, Charles" <Charles.Colht@acsalaska.com> To: <samba@lists.samba.org> Sent: Monday, January 09, 2006 8:37 PM Subject: [Samba] Please help with samba 3.0.21a on AIX 5.3> I've tried building samba 3.0.20 and 21a without luck. I've tried binariesand they all give this error. I know I am missing something but nothing points to a solution.>In the binaries folder there is a README. There is a solution to the posix_aio0 problem you are experiencing. I need to update that doc with an additional line: chdev -l posix_aio0 -a autoconfig=available -P> ../bin/smbstatus > exec(): 0509-036 Cannot load program ../bin/smbstatus because of thefollowing errors:> 0509-130 Symbol resolution failed for /usr/lib/libc.a(posix_aio.o)because:> 0509-136 Symbol _posix_kaio_rdwr (number 2) is not exported from > dependent module /unix. > 0509-136 Symbol _posix_listio (number 3) is not exported from > dependent module /unix. > 0509-136 Symbol _posix_acancel (number 4) is not exported from > dependent module /unix. > 0509-136 Symbol _posix_iosuspend (number 5) is not exported from > dependent module /unix. > 0509-136 Symbol _posix_aio_nwait (number 6) is not exported from > dependent module /unix. > 0509-136 Symbol _posix_aio_nwait64 (number 7) is not exportedfrom> dependent module /unix. > 0509-136 Symbol _posix_aio_nwait_timeout (number 8) is notexported from> dependent module /unix. > 0509-136 Symbol _posix_aio_nwait_timeout64 (number 9) is notexported from> dependent module /unix. > 0509-136 Symbol _posix_iofsync (number 10) is not exported from > dependent module /unix. > 0509-026 System error: Error 0 > 0509-192 Examine .loader section symbols with the > 'dump -Tv' command. > > > This configure line successfully creates a Makefile: > ./configure --with-ads --with-winbind --with-pam --with-aio-support > > Running make gives this: > > make > Using FLAGS= -O -D_SAMBA_BUILD_ -I./popt -Iinclude -I/home/inst/software/samba/samba-3 .0.21a/source/include -I/home/inst/software/samba/samba-3.0.21a/source/ubiqx -I/home/inst/software/samba/samba-3.0.21a/source/tdb -I. -DLDAP_DEPRECATED -I/home/inst/software/samba/samba-3.0.21a/source -D_SAMBA_BUILD_> LIBS > LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok > LDFLAGS > PIE_CFLAGS > PIE_LDFLAGS > Compiling dynconfig.c > In file included from /usr/include/aio.h:31, > from include/includes.h:518, > from/home/inst/software/samba/samba-3.0.21a/source/dynconfig.c:21:> /usr/include/sys/aio.h:91: error: field `aio_sigevent' has incomplete type > /usr/include/sys/aio.h:147: error: field `aio_sigevent' has incompletetype> In file included from/home/inst/software/samba/samba-3.0.21a/source/dynconfig.c:21:> include/includes.h:822: error: redefinition of `struct timespec' > make: 1254-004 The error code from the last command is 1. >Ok, I'll take a look at this. Were there any other errors in the config.log? Also what does "oslevel -r" report? I'll bet it's baseline (5300-00). I think I recall having problems with 5300-01 as well when I started playing with AIO support when Jeremy first released it. 5300-03 (which I'm running) is not reporting this problem for me since the binary has AIO support. But, if after you upgrade, you still have it, file a bug and I'll look into it. Cheers, Bill> > Stop. > Chuck Colht > Sr System Administrator > Alaska Communications Systems, Inc. > 907-269-2673 > ccolht@acsalaska.com > > > >**************************************************************************** *******> This transmittal may contain confidential information intended solely for > the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, pleasenotify> us immediately by reply or by telephone (collect at 907-564-1000) and askto> speak with the message sender. In addition, please immediately delete this > message and all attachments. Thank you. ACS > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > >
Found that! It worked. Thanks for the help. Chuck -----Original Message----- From: William Jojo [mailto:jojowil@hvcc.edu] Sent: Tuesday, January 10, 2006 1:55 PM To: Colht, Charles; samba@lists.samba.org Subject: Re: [Samba] Please help with samba 3.0.21a on AIX 5.3 ----- Original Message ----- From: "Colht, Charles" <Charles.Colht@acsalaska.com> To: <samba@lists.samba.org> Sent: Monday, January 09, 2006 8:37 PM Subject: [Samba] Please help with samba 3.0.21a on AIX 5.3> I've tried building samba 3.0.20 and 21a without luck. I've triedbinaries and they all give this error. I know I am missing something but nothing points to a solution.>In the binaries folder there is a README. There is a solution to the posix_aio0 problem you are experiencing. I need to update that doc with an additional line: chdev -l posix_aio0 -a autoconfig=available -P> ../bin/smbstatus > exec(): 0509-036 Cannot load program ../bin/smbstatus because of thefollowing errors:> 0509-130 Symbol resolution failed for/usr/lib/libc.a(posix_aio.o) because:> 0509-136 Symbol _posix_kaio_rdwr (number 2) is not exportedfrom> dependent module /unix. > 0509-136 Symbol _posix_listio (number 3) is not exportedfrom> dependent module /unix. > 0509-136 Symbol _posix_acancel (number 4) is not exportedfrom> dependent module /unix. > 0509-136 Symbol _posix_iosuspend (number 5) is not exportedfrom> dependent module /unix. > 0509-136 Symbol _posix_aio_nwait (number 6) is not exportedfrom> dependent module /unix. > 0509-136 Symbol _posix_aio_nwait64 (number 7) is notexported from> dependent module /unix. > 0509-136 Symbol _posix_aio_nwait_timeout (number 8) is notexported from> dependent module /unix. > 0509-136 Symbol _posix_aio_nwait_timeout64 (number 9) is notexported from> dependent module /unix. > 0509-136 Symbol _posix_iofsync (number 10) is not exportedfrom> dependent module /unix. > 0509-026 System error: Error 0 > 0509-192 Examine .loader section symbols with the > 'dump -Tv' command. > > > This configure line successfully creates a Makefile: > ./configure --with-ads --with-winbind --with-pam --with-aio-support > > Running make gives this: > > make > Using FLAGS= -O -D_SAMBA_BUILD_ -I./popt -Iinclude -I/home/inst/software/samba/samba-3 .0.21a/source/include -I/home/inst/software/samba/samba-3.0.21a/source/ubiqx -I/home/inst/software/samba/samba-3.0.21a/source/tdb -I. -DLDAP_DEPRECATED -I/home/inst/software/samba/samba-3.0.21a/source -D_SAMBA_BUILD_> LIBS > LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok > LDFLAGS > PIE_CFLAGS > PIE_LDFLAGS > Compiling dynconfig.c > In file included from /usr/include/aio.h:31, > from include/includes.h:518, > from/home/inst/software/samba/samba-3.0.21a/source/dynconfig.c:21:> /usr/include/sys/aio.h:91: error: field `aio_sigevent' has incompletetype> /usr/include/sys/aio.h:147: error: field `aio_sigevent' has incompletetype> In file included from/home/inst/software/samba/samba-3.0.21a/source/dynconfig.c:21:> include/includes.h:822: error: redefinition of `struct timespec' > make: 1254-004 The error code from the last command is 1. >Ok, I'll take a look at this. Were there any other errors in the config.log? Also what does "oslevel -r" report? I'll bet it's baseline (5300-00). I think I recall having problems with 5300-01 as well when I started playing with AIO support when Jeremy first released it. 5300-03 (which I'm running) is not reporting this problem for me since the binary has AIO support. But, if after you upgrade, you still have it, file a bug and I'll look into it. Cheers, Bill> > Stop. > Chuck Colht > Sr System Administrator > Alaska Communications Systems, Inc. > 907-269-2673 > ccolht@acsalaska.com > > > >************************************************************************ **** *******> This transmittal may contain confidential information intended solelyfor> the addressee. If you are not the intended recipient, you are hereby > notified that you have received this transmittal in error; any review, > dissemination, distribution or copying of this transmittal is strictly > prohibited. If you have received this communication in error, pleasenotify> us immediately by reply or by telephone (collect at 907-564-1000) andask to> speak with the message sender. In addition, please immediately deletethis> message and all attachments. Thank you. ACS > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > >
On to the next problem: I just got off the phone with IBM and they (the kerberos folks) said they don't work with win2003 :O Has anybody got this working? Here is what I get: When I run 'net ads join -Uadmin' I get (at debug level 3): root@aixshare1:~# net ads join -Umyname -d 3 [2006/01/17 10:50:09, 3] param/loadparm.c:lp_load(4195) lp_load: refreshing parameters [2006/01/17 10:50:09, 3] param/loadparm.c:init_globals(1385) Initialising global parameters [2006/01/17 10:50:09, 3] param/params.c:pm_process(574) params.c:pm_process() - Processing configuration file "/opt/Samba/3.0.21a/lib/smb.conf" [2006/01/17 10:50:09, 3] param/loadparm.c:do_section(3657) Processing section "[global]" [2006/01/17 10:50:10, 2] lib/interface.c:add_interface(81) added interface ip=X.X.105.57 bcast=X.X.105.127 nmask=255.255.255.128 [2006/01/17 10:50:10, 2] lib/interface.c:add_interface(81) added interface ip=192.168.255.251 bcast=192.168.255.255 nmask=255.255.0.0 myname's password: [2006/01/17 10:50:12, 3] libads/ldap.c:ads_connect(288) Connected to LDAP server X.X.100.207 [2006/01/17 10:50:12, 3] libads/ldap.c:ads_server_info(2541) got ldap server name acsad6@CORP.ACSALASKA.COM, using bind path: dc=CORP,dc=ACSALASKA,dc=COM [2006/01/17 10:50:12, 3] libads/sasl.c:ads_sasl_spnego_bind(210) ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2 [2006/01/17 10:50:12, 3] libads/sasl.c:ads_sasl_spnego_bind(210) ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 [2006/01/17 10:50:12, 3] libads/sasl.c:ads_sasl_spnego_bind(210) ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3 [2006/01/17 10:50:12, 3] libads/sasl.c:ads_sasl_spnego_bind(210) ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10 [2006/01/17 10:50:12, 3] libads/sasl.c:ads_sasl_spnego_bind(219) ads_sasl_spnego_bind: got server principal name =acsad6$@CORP.ACSALASKA.COM [2006/01/17 10:50:12, 3] libsmb/clikrb5.c:ads_krb5_mk_req(478) ads_krb5_mk_req: krb5_cc_get_principal failed (No credentials cache found) [2006/01/17 10:50:12, 0] libads/kerberos.c:ads_kinit_password(164) kerberos_kinit_password myname@CORP.ACSALASKA.COM failed: Cannot resolve network address for KDC in requested realm [2006/01/17 10:50:12, 0] utils/net_ads.c:ads_startup(191) ads_connect: Cannot resolve network address for KDC in requested realm [2006/01/17 10:50:12, 2] utils/net.c:main(876) return code = -1 =========================================================================X.X.100.207 is the address of the kdc so it CAN resolve the address X.X.105.57 is the address of the samba server =========================================================================My krb5.conf looks like this: [libdefaults] default_realm = CORP.ACSALASKA.COM default_keytab_name = FILE:/etc/krb5/krb5.keytab default_tkt_enctypes = des3-cbc-sha1 arcfour-hmac aes256-cts des-cbc-md5 des-cbc-crc default_tgs_enctypes = des3-cbc-sha1 arcfour-hmac aes256-cts des-cbc-md5 des-cbc-crc # the next 2 lines came from my linux setup that is working but did not help dns_lookup_realm = true dns_lookup_kdc = true [realms] CORP.ACSALASKA.COM = { kdc = acsad6.corp.acsalaska.com:88 admin_server = acsad6.corp.acsalaska.com:749 default_domain = corp.acsalaska.com } [domain_realm] .corp.acsalaska.com = CORP.ACSALASKA.COM acsad6.corp.acsalaska.com = CORP.ACSALASKA.COM [logging] kdc = FILE:/var/krb5/log/krb5kdc.log admin_server = FILE:/var/krb5/log/kadmin.log default = FILE:/var/krb5/log/krb5lib.log -----Original Message----- From: samba-bounces+charles.colht=acsalaska.com@lists.samba.org [mailto:samba-bounces+charles.colht=acsalaska.com@lists.samba.org] On Behalf Of Colht, Charles Sent: Wednesday, January 11, 2006 1:19 PM To: William Jojo; samba@lists.samba.org Subject: RE: [Samba] Please help with samba 3.0.21a on AIX 5.3 Found that! It worked. Thanks for the help. Chuck -----Original Message----- From: William Jojo [mailto:jojowil@hvcc.edu] Sent: Tuesday, January 10, 2006 1:55 PM To: Colht, Charles; samba@lists.samba.org Subject: Re: [Samba] Please help with samba 3.0.21a on AIX 5.3 ----- Original Message ----- From: "Colht, Charles" <Charles.Colht@acsalaska.com> To: <samba@lists.samba.org> Sent: Monday, January 09, 2006 8:37 PM Subject: [Samba] Please help with samba 3.0.21a on AIX 5.3 *********************************************************************************** This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS