The - みる会図書館


検索対象: UNIX-Windowsネットワーキング : SAMBA/NFS徹底活用法
35件見つかりました。

1. UNIX-Windowsネットワーキング : SAMBA/NFS徹底活用法

ノ 40 Many people have made generous contributions tO the wide range Of soft- ware distributed through that system in reliance on consistent application 0f that system; it is up t0 the author/donor t0 decide if he or she is willing tO distribute software through any Other system and a licensee cannot im- pose that chOice. This section is intended t0 make thoroughly clear what is believed t0 be a consequence Of the rest Of this License. 8. If the distribution and/or use Of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copy- right holder wh0 places the Program under this License may add an explicit geographical distribution limitation excluding those countnes' SO that distribution is permitted only in or among countries not thus excluded. ln such case, this License incorporates the limitation as if written in the body 0f this License. 9. The Free Software Foundation may publish revised and/or new versions Of the General Public License from time tO time. Such new versions will be similar in spirit tO the present version, but may differ in detail tO address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number Of this License which applies tO it and "any later version", you have the option Of following the terms and conditions either 0f that version or 0f any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish t0 incorporate parts 0f the Program int0 0ther free pro- grams whose distribution conditions are different, write tO the author tO ask for permission. For software which is copyrighted by the Free S0ft-

2. UNIX-Windowsネットワーキング : SAMBA/NFS徹底活用法

付録 B SAMBA と SOSS-NFS のライセンスについて 73 7 reasonably considered independent and separate works in themselves, then this License, and its terms, dO not apply tO those sections when you distribute them as separate works. But when you distribute the same sections as part Of a whOle which is a work based on the Program, the distribution Of the whole must be on the terms Of this License, whose permissions for Other licensees extend tO the entire whole, and thus tO each and every part regardless 0f wh0 wrote it. Thus, it is not the intent Of this section to claim rights or contest your rights tO work written entirely by you; rather, the intent is tO exercise the right tO control the distribution Of derivative or collective works based on the Program. ln addition, mere aggregation Of another work not based on the Program with the Program ()r with a work based on the Program) on a volume of a storage or distribution medium does not bring the Other work under the scope Of thiS License. 3. You may copy and distribute the Program ()r a work based on it, under Section 2 ) in object code or executable form under the terms Of Sections 1 and 2 above provided that you also d0 one 0f the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms Of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost 0f physi- cally performing source distribution, a complete machine-readable copy 0f the corresponding source code, t0 be distributed under the terms Of Sections 1 and 2 above on a medium customarily used for software interchange•, or, 付 録

3. UNIX-Windowsネットワーキング : SAMBA/NFS徹底活用法

742 END OF TERMS AND CONDITIONS Appendix: HOW t0 Apply These Terms t0 Your New Programs If you develop a new program, and you want it t0 be 0f the greatest possible use tO the public, the best way tO achieve this is tO make it free software which everyone can redistribute and change under these terms. To dO so, attach the following notices tO the program. lt is safest tO attach them tO the start Of each source file tO most effectively convey the exclusion 0f warranty; and each file should have at least the "copyright" line and a pointer tO where the full notice is found. <One line tO give the program's name and a brief idea Of what it does. > Copyright (C) 19yy <name 0f author> This program is free software; you can redistribute it and/or modify it under the terms 0f the GNU General Public License as published by the Free Software Foundation; either version 2 Of the License, or ()t your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU GeneraI PubIic License for more details. You should have received a copy 0f the GNU General Public License along with this program; if not, write tO the Free Software Foundation, lnc. , 675 Mass Ave, Cambridge, MA 02139 , USA. AISO add informatlon on hOW tO contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it

4. UNIX-Windowsネットワーキング : SAMBA/NFS徹底活用法

付録 B SAMBA と SOSS - NFS のライセンスについて 747 ware Foundation, write tO the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals 0f preserving the free status Of all derivatives Of our free software and Of promoting the sharing and reuse 0f software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PRO GRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS ” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, B UT NOT LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTAB ILITY AND FITNES S FOR A PARTICULAR PUR- POSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFOR- MANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PRO- GRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIB- UTE THE PROGRAM AS PERMITTED AB OVE, B E LIAB LE TO YOU FOR DAMAGES , INCLUDING ANY GENERAL, S PECIAL, INCIDEN- TAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INAC- CURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 付 録

5. UNIX-Windowsネットワーキング : SAMBA/NFS徹底活用法

738 c) Accompany it with the information you received as tO the Offer tO distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the pro- gram in Object code or executable form with such an Offer, in accord with Subsection b above. ) The source code for a work means the preferred form of the work for making modifications tO it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scrIPts used tO control compilation and installation Of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed ()n either source or binary form) with the major components (compiler, kernel, and SO (n) Of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access t0 copy the source COde from the same place counts as distribution Of the source COde, even though third parties are not compelled t0 copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program ex- cept as expressly provided under this License. Any attempt otherwise tO copy, modify, sublicense or distribute the Program is void, and will aut0- matically terminate your rights under this License. However, parties whO have received copies, or rights, from you under this License will not have their licenses terminated SO long as such parties remain in full compli- ance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission tO modify or distribute the Program or its derivative works. These actions are prohibited by law

6. UNIX-Windowsネットワーキング : SAMBA/NFS徹底活用法

付録 B SAMBA と SOSS - NFS のライセンスについて 739 if you d0 not accept this License. Therefore, by modifying or distributing the Program ()r any work based on the Program), you indicate your acceptance Of this License tO dO SO, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program ()r any work based on the Program), the recipient automatically receives a license from the original licensor tO copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipi- ents' exercise Of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. lf, as a consequence of a cburt judgment or allegation of patent infringement or for any Other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions Of this License. If you cannot distribute SO as tO satisfy simultaneously your obligations under this License and any Other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution 0f the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion 0f this section is held invalid or unenforceable under any particular circumstance, the balance Of the section is intended tO apply and the section as a whOle is intended tO apply in other circumstances. lt is not the purpose Of this section tO induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose Of protecting the integrity of the free software distribution system, which is implemented by public license practices. 付

7. UNIX-Windowsネットワーキング : SAMBA/NFS徹底活用法

736 and 叩 propriately publish on each copy an appropnate copyright notice and disclaimer Of warranty; keep intact all the notices that refer tO this License and tO the absence Of any warranty; and give any Other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option Offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms Of Section 1 above, provided that you alSO meet all Of these conditions: a) You must cause the modified files tO carry prominent notices stat- ing that you changed the files and the date 0f any change. b) You must cause any work that you distribute or publish, that in whOle or in part contains or is derived from the Program or any part thereof, t0 be licensed as a whole at no charge to all third parties under the terms Of this License. c) If the modified program normally reads commands interactively When run, you must cause it, When started running for such interac- tive use in the most ordinary way, tO print or display an announce- ment including an appropnate copyright notice and a notice that there is no warranty ()r else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and tell- ing the user how tO view a copy Of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program iS not required tO prmt an announcement. ) These requirements 叩 ply to the modified work as a whole. If identifiable sections Of that work are not derived from the Program, and can be

8. UNIX-Windowsネットワーキング : SAMBA/NFS徹底活用法

付録 B SAMBA と SOSS - NFS のライセンスについて 735 FinaIIy, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program propn- etary. TO prevent this, we have made it clear that any patent must be licensed for everyone ・ s free use or not licensed at all. The precise terms and conditions for copying, distribution and modifica- tion follow. GNU GENERAL PUB LIC LICEN S E TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms 0f this GeneraI PubIic License. The "Program", below, refers t0 any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is tO say, a work containing the Program or a portion Of it, either verbatim or with modifications and/or translated intO another language. (Hereinafter, translation is included without limitation in the term "modification". ) Each licensee iS addressed as "YOLI Activities Other than copying, distribution and modification are not cover- ed by this License; they are outside its scope. The act 0f running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent Of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies Of the Program's source code as you receive it, in any medium, provided that you conspicuously

9. UNIX-Windowsネットワーキング : SAMBA/NFS徹底活用法

第 6 章 SAMBA の設定 77 access に 0. Then alter the "printcap ニ entry t0 point し 0 the new file. If using S01aris, the following command will generate a suitable printcap file: lpc status ー grep sed s/ : / / > myprintcap Make sure the "print command" entry is correct for your system. This comand should submit a file (represented by (s) し 0 a printer (represented by (p) for printing and should REMOVE the file after printing. One most systems the default will be OK ′ as long as you get "printing ニ right. 工 t is alSO a good idea tO use an absolute path in the print comand as there is no guarantee the search path will be set correctly. Make sure the "printing possible values are ” SYSV" op 巨 on is set correctly for your system. ー 4 : Make sure the "lpq command" entry is correct for your system. The default may no に work for you. : 5 : Make sure that the user specified in "guest account" exists . Typica11y this will be a user that cannot 10g in and has minimal privileges. 0ften the "nobody" account doesn' t work (very system dependant) . ー 6 : You should consider the "security option. See a full description in the main documentation and the s 曲 . conf ( 5 ) manual page LOOk at the "hosts a110W ” op に io 珥 unless you want everyone on the internet ー 7 : : 3 : ー 2 : tO be able し 0 access your files. guest account ニ pcguest load printers printcap name printing ニ bsd [global] ニ yes /etc/printcap This next option sets a separate 10g file for each client. it if you want a combined 10g file. 10g file ニ /usr/local/samba/log. 新 Remove (smb. conf リスト続く )

10. UNIX-Windowsネットワーキング : SAMBA/NFS徹底活用法

50 # for browsing. This can also be set in nmbd (see mbd(8) ) WORKGROUP = WORKGROUP # might have し 0 create a separate guest account that can print . on many unixes it may no に be able に 0 print. Thus you # NOTE : The account ” nobody" may no に be a good one as # in the runtime configuration file (see smb. conf(5) ) し 0 use When no username or password iS specified. ThiS can be overridden set this to the name of the default account, which is the one SMBRUN = $(BINDIR) /smbrun # name Of the executable) # AISO no し that this should include the name ” smbrun" on the end ( the # and magic script execution. This should be an absolute path! # install directory. This binary is needed for correct printing # where you are going to have the smbrun binary. This defaults に 0 the GUESTACCOUNT = nobody 工 f you use P then uncomment the following lines : This is for PAM authentication. RedHat Linux uses PAM. PAM FLAG S P 4 LIBS -DUSE PAM ー 1d1 -lpam This is for AFS authentication. according tO your system layout, # AFS BASE /usr/afsws If you use AFS then set AFS—BASE and uncomment the other lines as well . -DAFS_AUTH ーエ $ (AFS_BASE) /include # AFS FLAGS # AFS_LIBDIR = $ (AFS_BASE) /lib # NOTE : You may need to add -laudit in the line below -L$(AFS_LIBDIR) -L$(AFS_LIBDIR) /afs -lkauth -lprot -lubik ¥ # AFS_LIBS -lauth -lrxkad -lsys -ldes -lrx -llwp -lcom_err ¥ $(AFS_LIBDIR)/afs/uti1. a This is for DCE/DFS enablement. Uncomment this SO that smbd can operate as an authenticated user identity し 0 operate on files that live in the DCE Distributed Filesystem. /opt/dcelocal # DCE BASE # DCE FLAGS # DCE LIBDIR DCE_LIBS ーエ $ (DCE_BASE) /include -L$ (DCE_BASE) /lib # This is for SMB encrypted (lanman) passwords . # you may wish し 0 add -DREPLACE_GETPASS if your getpass ( ) is limited