[ Pobierz całość w formacie PDF ]
.connect.conf and /etc/services entries against their manual pages for errors as well. If smbclient does work, it s a name service problem with the client name " If you get a Password: prompt, your guest account is not set up properly.service, and you need to go forward to the section  Testing the server The %U option tells smbclient to do a  null login, which requires that thewith nmblookup, and see if you can look up both client and server with guest account be present but does not require it to have any privileges.nmblookup." If you get the message  SMBtconX failed.ERRSRV ERRaccess, you aren t" If you get  The password is invalid for \server\username, your locally permitted access to the server.This normally means you have a valid hostscached copy on the client doesn t match the one on the server.You will be option that doesn t include the server, or an invalid hosts option thatprompted for a replacement.does.Recheck with the command testparm smb.conf your_hostnameyour_ip_address(see the section  Testing daemons with testparm ) and cor-rect any unintended prohibitions. 276 Chapter 9: Troubleshooting Samba The Fault Tree 273guarantee delivery of a packet.Browsing is hard to diagnose if you don t alreadyknow all the other services are running.Windows 95 and 98 clients keep a local password file, but it s reallyjust a cached copy of the password it sends to Samba and NT serv-Browsing is purely optional: it s just a way to find the servers on your net and theers to authenticate you.That s what is being prompted for here.Youshares that they provide.Unix has nothing of the sort and happily does without.can still log on to a Windows machine without a password (but notBrowsing also assumes all your machines are on a local area network (LAN) where to NT).broadcasts are allowable.First, the browsing mechanism identifies a machine using the unreliable UDP pro-If you provide your password, and it still fails, your password is not beingtocol; then it makes a normal (reliable) TCP/IP connection to list the shares thematched on the server, you have a valid users or invaliduserslist deny-machine provides.ing you permission, NetBEUI is interfering, or the encrypted password prob-lem described in the next paragraph exists.Testing browsing with smbclient" If your client is NT 4.0, NT 3.5 with Patch 3, Windows 95 with Patch 3, Win-We ll start with testing the reliable connection first.From the server, try listing itsdows 98 or any of these with Internet Explorer 4.0, these default to usingown shares via smbclient with a -L option of your server s name.You should get:Microsoft encryption for passwords (discussed in Chapter 6 s  Passwords sec-server% smbclient -L server tion, along with the alternatives).In general, if you have installed a majorAdded interface ip=192.168.236.86 bcast=192.168.236.255 nmask=255.255.255.0 ServerMicrosoft product recently, you may have applied an update and turned ontime is Tue Apr 28 09:57:28 1998 Timezone is UTC-4.0encrypted passwords.Password:Domain=[EXAMPLE]OS=[Unix]Server=[Samba 1.9.18]Because of Internet Explorer s willingness to honor URLs such asServer=[server]file://somehost/somefile by making SMB connections, clients up toUser=[davecb]and including Windows 95 Patch Level 2 would happily send yourWorkgroup=[EXAMPLE]password, in plaintext, to SMB servers anywhere on the Internet.Domain=[EXAMPLE]This was considered a bad idea, and Microsoft quite promptlySharename Type Commentswitched to using only encrypted passwords in the SMB protocol.All--------- ---- -------subsequent releases of their products have included this correction.cdrom Disk CD-ROMEncrypted passwords aren t actually needed unless you re usingcl Printer Color Printer 1Internet Explorer 4.0 without a firewall, so it s reasonable to keepdavecb Disk Home Directoriesusing unencrypted passwords on your own networks.This machine has a browse list:Server Comment--------- -------" If you have a mixed-case password on Unix, the client is probably sending itSERVER Samba 1.9.18in all one case.If changing your password to all one case works, this was theproblem.Regrettably, all but the oldest clients support uppercase passwords,This machine has a workgroup list:Workgroup Masterso Samba will try once with it in uppercase and once in lower case.If you--------- -------wish to use mixed-case passwords, see the password level option inEXAMPLE SERVERChapter 6 for a workaround." If you didn t get a Sharename list, the server is not allowing you to browse" You may have a valid users problem, as tested with smbclient (see  Test-any shares.This should not be the case if you ve tested any of the shares withing connections with smbclient ).Windows Explorer or the NET USE command [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • higrostat.htw.pl
  •