Browse Source

Plan 9 from Bell Labs 2010-03-09

David du Colombier 14 years ago
parent
commit
1c0c752f5a
5 changed files with 733 additions and 738 deletions
  1. 3 0
      sys/doc/net/mkfile
  2. 1 1
      sys/doc/net/net.ms
  3. 724 736
      sys/doc/net/net.ps
  4. 1 1
      sys/src/9/port/sdaoe.c
  5. 4 0
      sys/src/cmd/aquarela/smbcomsessionsetupandx.c

+ 3 - 0
sys/doc/net/mkfile

@@ -16,3 +16,6 @@ tree.pout:D:	tree
 net.html:D:	$DEPS
 	tbl net.ms | htmlroff -ms -mhtml >net.html
 
+clean:V:
+	rm -f net.ps tree.pout net.trout
+

+ 1 - 1
sys/doc/net/net.ms

@@ -744,7 +744,7 @@ For example, the entry for our CPU server
 specifies a domain name, an IP address, an Ethernet address,
 a Datakit address, a boot file, and supported protocols.
 .P1
-sys = helix
+sys=helix
 	dom=helix.research.bell-labs.com
 	bootf=/mips/9power
 	ip=135.104.9.31 ether=0800690222f0

File diff suppressed because it is too large
+ 724 - 736
sys/doc/net/net.ps


+ 1 - 1
sys/src/9/port/sdaoe.c

@@ -23,7 +23,7 @@ enum {
 	Maxpath	= 128,
 
 	Probeintvl	= 100,		/* ms. between probes */
-	Probemax	= 10,		/* max probes */
+	Probemax	= 20,		/* max probes */
 };
 
 enum {

+ 4 - 0
sys/src/cmd/aquarela/smbcomsessionsetupandx.c

@@ -120,6 +120,10 @@ smblogprint(h->command, "nativelanman: %s\n", nativelanman);
 			goto errordone;
 		}
 		memcpy(&s->client.mschapreply, mschapreply, sizeof(s->client.mschapreply));
+		if(s->cs == nil){
+			smbseterror(s, ERRSRV, ERRerror);
+			goto errordone;
+		}
 		s->cs->user = accountname;
 		s->cs->resp = &s->client.mschapreply;
 		s->cs->nresp = sizeof(MSchapreply);

Some files were not shown because too many files changed in this diff