{"id":199,"date":"2011-01-14T09:32:00","date_gmt":"2011-01-14T09:32:00","guid":{"rendered":"https:\/\/www.shaopin.link\/wordpress\/index.php\/2011\/01\/14\/samba-on-aix-5-3\/"},"modified":"2011-01-14T09:32:00","modified_gmt":"2011-01-14T09:32:00","slug":"samba-on-aix-5-3","status":"publish","type":"post","link":"https:\/\/www.shaopin.link\/wordpress\/index.php\/samba-on-aix-5-3\/","title":{"rendered":"Samba on AIX 5.3"},"content":{"rendered":"<p>Here are instructions on how to get the pware Samba running on AIX 5.3.<\/p>\n<p>1. Install these packages from the AIX installation CD:<br \/> ldap.client.rte<br \/> ldap.client.adt<\/p>\n<p>2. Download these packages:<\/p>\n<p>mkdir pware-samba<br \/>cd pware-samba<br \/>xargs wget -nd << EOF<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.samba.3.4.2.0.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.base.5.3.0.0.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.cyrus-sasl.2.1.22.0.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.gettext.0.17.0.0.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.krb5.1.6.3.0.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.libiconv.1.13.1.0.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.ncurses.5.7.0.1.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.openldap.2.4.19.0.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.openssl.0.9.8.11.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.popt.1.10.4.0.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.bdb.4.7.25.4.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.rsync.3.0.6.0.bff.gz<br \/>http:\/\/pware.hvcc.edu\/download\/aix53-64\/pware53-64.zlib.1.2.3.0.bff.gz<br \/>EOF<br \/>server:root>for i in *.gz; do gunzip $i; done<br \/>From: http:\/\/pware.hvcc.edu\/download\/aix53-64\/<\/p>\n<p>3. Install the packages.<\/p>\n<p>The installed files go under \/opt\/pware64<\/p>\n<p>Samba configuration file is \/opt\/pware64\/lib\/smb.conf<\/p>\n<p>4. Extremely simple Samba configuration file:<\/p>\n<p>[global]<br \/>  workgroup = MYGROUP<br \/>  log file = \/var\/log\/%m.log<br \/>  max log size = 500<\/p>\n<p>[myshare]<br \/>  comment = Sample share<br \/>  path = \/tmp\/myshare<br \/>  public = yes<br \/>  writable = yes<br \/>  browseable = yes<br \/>5. Enable POSIX Asynchronous IO if needed:<\/p>\n<p>server:root>mkdev -l posix_aio0<br \/>posix_aio0 Available<br \/>server:root>lsdev -Cc posix_aio<br \/>posix_aio0 Available  Posix Asynchronous I\/O<br \/>The posix_aio device is needed, otherwise all binaries will complain somewhat like this:<\/p>\n<p>exec(): 0509-036 Cannot load program .\/smbclient because of the following errors:<br \/>        0509-130 Symbol resolution failed for \/usr\/lib\/libc.a[posix_aio_64.o] because:<br \/>        0509-136   Symbol _posix_kaio_rdwr64 (number 2) is not exported from<br \/>                   dependent module \/unix.<br \/>        0509-136   Symbol _posix_listio64 (number 3) is not exported from<br \/>                   dependent module \/unix.<br \/>        0509-136   Symbol _posix_acancel64 (number 4) is not exported from<br \/>                   dependent module \/unix.<br \/>        0509-136   Symbol _posix_iosuspend64 (number 5) is not exported from<br \/>                   dependent module \/unix.<br \/>        0509-136   Symbol _posix_aio_nwait (number 6) is not exported from<br \/>                   dependent module \/unix.<br \/>        0509-136   Symbol _posix_aio_nwait64 (number 7) is not exported from<br \/>                   dependent module \/unix.<br \/>        0509-136   Symbol _posix_aio_nwait_timeout (number  is not exported from<br \/>                   dependent module \/unix.<br \/>        0509-136   Symbol _posix_aio_nwait_timeout64 (number 9) is not exported from<br \/>                   dependent module \/unix.<br \/>        0509-136   Symbol _posix_iofsync64 (number 10) is not exported from<br \/>                   dependent module \/unix.<br \/>        0509-026 System error: Error 0<br \/>        0509-192 Examine .loader section symbols with the<br \/>                 &#8216;dump -Tv&#8217; command.<br \/>So if you run into this error message, create the POSIX AIO device.<\/p>\n<p>6. Run samba<\/p>\n<p>server:root>\/opt\/pware64\/sbin\/smbd<br \/>server:root>\/opt\/pware64\/sbin\/nmbd<br \/>7. Add to inittab for automatic start at boot time<\/p>\n<p>server:root>mkitab nmbd:2:once:\/opt\/pware64\/sbin\/nmbd<br \/>server:root>mkitab smbd:2:once:\/opt\/pware64\/sbin\/smbd<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are instruction &hellip; <a href=\"https:\/\/www.shaopin.link\/wordpress\/index.php\/samba-on-aix-5-3\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Samba on AIX 5.3<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[],"class_list":["post-199","post","type-post","status-publish","format-standard","hentry","category-aix"],"_links":{"self":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=199"}],"version-history":[{"count":0,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/199\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shaopin.link\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}