Implementing CIFS: The Common Internet File System by Christopher Hertel

Implementing CIFS: The Common Internet File System by Christopher Hertel

By Christopher Hertel

The 1st developer's advisor to Microsoft's de facto Internet/intranet dossier sharing standard.For years, builders and directors have struggled to appreciate CIFS, Microsoft's poorly documented normal for Internet/intranet dossier sharing. eventually, there's an authoritative, cross-platform advisor to CIFS functions and behaviour. enforcing CIFS condenses the tough gained information of the Samba Team-dedicated to investigating the interior workings of CIFS. It additionally identifies and describes the most important requisites and aiding.

Show description

Read or Download Implementing CIFS: The Common Internet File System PDF

Similar unix books

Kylix Developer's Guide

Delphi for Linux (Kylix) improvement contains 3 major subject matters. First, the ebook well-known that a lot of its viewers might be home windows builders who have to comprehend simple Linux improvement ideas, so there'll be details in the course of the e-book delivering perception on find out how to leverage home windows improvement wisdom to the Linux platform.

Just Enough Unix

Simply enough UNIX offers a quick and cheap creation to the UNIX working process. the second one variation of this article is going to replicate adjustments and updates to the UNIX curriculum that experience taken position because the book's unique e-book.

Signposts in Cyberspace: The Domain Name System And Internet Navigation

The area identify method (DNS) allows uncomplicated alphanumeric names and domains to be assigned to websites. a lot of those names have received financial, social, and political worth, resulting in conflicts over their possession, specially names containing trademarked phrases. Congress, in P. L. 105-305, directed the dep. of trade to request the NRC to accomplish a examine of those concerns.

Mac OS X Tiger: Missing Manual

You could set your watch to it: once Apple comes out with one other model of Mac OS X, David Pogue hits the streets with one other meticulous lacking guide to hide it with a wealth of element. the recent Mac OS X 10. four, higher often called Tiger, is quicker than its predecessors, yet nothing's too quickly for Pogue and Mac OS X: The lacking guide.

Extra resources for Implementing CIFS: The Common Internet File System

Sample text

Here's the plan: Part I: NBT: NetBIOS over TCP/IP 33 34 Part I: NBT: NetBIOS over TCP/IP 1. Use lower-case or mixed-case names when configuring your test hosts. 2. Set up your sniffer to capture packets on UDP port 137. 3. Start or restart your test hosts. 4. After a few minutes, stop the capture. If your sniffer can decode the NetBIOS names (Ethereal and NetMon can) then you will see that the NetBIOS names are all in upper case. This is normal behavior for NBT, even though it is not documented in the RFCs.

Worst of all, the program sends the query but does not bother to listen for a reply. For that, we will use a sniffer. Tools such as the nmblookup utility that comes with Samba, or Microsoft's nbtstat program, could also be used to send a name query. 3 has been tested on Debian GNU/Linux and OpenBSD. You may have to fiddle a bit to get it to work on other platforms. 255) may not actually be sent as Ethernet broadcasts. On these systems, it will be necessary to change the value of NBT_BCAST_ADDR to the directed broadcast address of the local subnet (the local subnet broadcast address).

H" int Put_Qrec( uchar *dst, const uchar *name, const uchar pad, const uchar sfx, const uchar *scope, const ushort qtype ) /* ---------------------------------------------------- ** * Store the fully encoded NBT name in the destination * buffer. Also write the QUERY_TYPE and QUERY_CLASS * values. * ---------------------------------------------------- ** */ { int len; ushort tmp; ushort qclass_in; qclass_in = htons( QCLASS_IN ); /* Validate the qtype. = qtype ) ) return( -1 ); len = L2_Encode( dst, name, pad, sfx, scope ); if( len < 0 ) return( len ); tmp = htons( qtype ); (void)memcpy( &(dst[len]), &tmp, 2 ); len += 2; (void)memcpy( &(dst[len]), &qclass_in, 2 ); return( len + 2 ); } /* Put_Qrec */ Part I: NBT: NetBIOS over TCP/IP 49 50 Part I: NBT: NetBIOS over TCP/IP ushort Get_Qtype( const uchar *qrec, int offset ) /* ---------------------------------------------------- ** * Read the QUERY_TYPE field from a query record.

Download PDF sample

Rated 4.54 of 5 – based on 10 votes
Comments are closed.