Home HomeRozbudowa i naprawa komputerów Helion PLNiemeyer Pat, Knudsen Jonathan Learning JavaRozbudowa i naprawa komputerów Helion PLYeskov K J Ostatni Wladca Pierscienia (2)Prus Lalka IAnthony Piers Zamek RoognaTolkien J R R Wladca Pierscieni T 2 Dwie WiezeRipley Alexandra ScarletConrad Joseph Zlota strzalaDay Sylvia Tylko On
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • milosnikstop.keep.pl
  •  

    [ Pobierz całość w formacie PDF ]
    .winswins boolean Allows Samba to act as a proxy no GlobalUses the WINS serverproxy to a WINS server on anothersubnet.bcastdns proxy boolean If set to yes, a Samba WINS no GlobalUses a broadcast methodserver will search DNS if it can-not find a name in WINS.The order in which you specify them in the value is the order in which Samba willname lmhosts, Specifies an order of the meth- lmhosts Globalattempt name resolution when acting as a WINS server.For example, let s look atresolve hosts, wins, ods used to resolve NetBIOS hoststhe value specified previously:order or bcast names.winsbcastname resolve order = wins lmhosts hosts bcastmax ttl numerical Specifies the maximum time- 259200 GlobalThis means that Samba will attempt to use its WINS entries first for name resolu-to-live in seconds for a (3 days)tion, followed by the LAN Manager LMHOSTS file on its system.Next, the hosts requested NetBIOS names.value causes it to use Unix name resolution methods.The word hosts may bemax wins numerical Specifies the maximum time- 518400 Globalttl to-live in seconds for NetBIOS (6 days)misleading; it covers not only the /etc/hosts file, but also the use of DNS or NIS (asnames given out by Samba as aconfigured on the Unix host).Finally, if those three do not work, it will use aWINS server.broadcast to try to locate the correct machine.min wins numerical Specifies the minimum time-to- 21600 Globalttl live in seconds for NetBIOS (6 hours)Finally, you can instruct a Samba server that is acting as a WINS server to checknames given out by Samba as awith the system s DNS server if a requested host cannot be found in its WINS data-WINS server.base.With a typical Linux system, for example, you can find the IP address of the Supporting Programmers 231Chapter 8Time SynchronizationTime synchronization can be very important to programmers.Consider the follow-ing options:time service = yes8dos filetimes = yesfake directory create times = yesdos filetime resolution = yesdelete readonly = yesAdditional SambaIf you set these options, Samba shares will provide the kind of compatible filetimes that Visual C++, nmake, and other Microsoft programming tools require.InformationOtherwise, PC make programs will tend to think that all the files in a directoryneed to be recompiled every time.Obviously, this is not the behavior you want.time serverThis chapter wraps up our coverage of the smb.conf configuration file with someIf your Samba server has an accurate clock, or if it s a client of one of the Unixmiscellaneous options that can perform a variety of tasks.We will talk brieflynetwork time servers, you can instruct it to advertise itself as an SMB time serverabout options for supporting programmers, internationalization, messages, andby setting the timeserver option as follows:common Windows bugs.For the most part, you will use these options only in iso-[global]lated circumstances.We also cover performing automated backups with thetime service = yessmbtar command at the end of this chapter.So without further ado, let s jump intoThe client will still have to request the correct time with the following DOS com-our first subject: options to help programmers.mand, substituting the Samba server name in at the appropriate point:C:\NET TIME \\server /YES /SETSupporting ProgrammersThis command can be placed in a Windows logon script (see Chapter 6, Users,If you have programmers accessing your Samba server, you ll want to be aware ofSecurity, and Domains).the special options listed in Table 8-1.By default, the time server option is normally set to no.If you turn this serviceTable 8-1.Programming Configuration Options on, you can use the command above to keep the client clocks from drifting.Timesynchronization is important to clients using programs such as make, which com-Option Parameters Function Default Scopepile based on the last time the file was changed.Incorrectly synchronized timestime server boolean If yes, nmbd announces itself as a no Globalcan cause such programs to either remake all files in a directory, which wastesSMB time service to Windowsclients.time, or not recompile a source file that was just modified because of a slightclock drift.time offset numerical Adds a specified number of min- 0 Global(number of utes to the reported time.minutes)time offsetdos boolean Allows non-owners of a file to no ShareTo deal with clients that don t process daylight savings time properly, Samba pro-filetimes change its time if they can write toit.vides the time offset option.If set, it adds the specified number of minutes tothe current time.This is handy if you re in Newfoundland and Windows doesn tdos filetime boolean Causes file times to be rounded to no Shareresolution the next even second.know about the 30-minute time difference there:fake boolean Sets directory times to avoid a MS no Sharedirectory nmake bug.create times230 234 Chapter 8: Additional Samba Information Internationalization 235You can set the client code page as follows:Internationalization[global]Samba has a limited ability to speak foreign tongues: if you need to deal withclient code page = 852characters that aren t in standard ASCII, some options that can help you are shownThe default value of this option is 850 [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • syriusz777.pev.pl
  •