From owner-freebsd-questions@FreeBSD.ORG Thu Apr 17 14:35:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0947C37B401 for ; Thu, 17 Apr 2003 14:35:36 -0700 (PDT) Received: from rasmus.uib.no (rasmus.uib.no [129.177.13.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57EBF43FA3 for ; Thu, 17 Apr 2003 14:35:34 -0700 (PDT) (envelope-from are-harald.brenne@econ.uib.no) Received: from (billfish) [129.177.43.17] 4.12) id 196H2W-0007AV-00; Thu, 17 Apr 2003 23:35:28 +0200 Date: Thu, 17 Apr 2003 23:35:30 +0200 From: Are-Harald Brenne To: freebsd-questions@freebsd.org Message-Id: <20030417233530.0000466d.are-harald.brenne@econ.uib.no> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.3.0; Win32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-checked-clean: by exiscan on rasmus X-Scanner: 192a1baf5c392b5ac84d37ea4f31b220 http://tjinfo.uib.no/virus.html X-UiB-SpamFlag: NO UIB: -6 hits, 13.0 required X-UiB-SpamReport: spamassassin found; * 0.7 -- BODY: Contains a line >=199 characters long * -7.0 -- Message received from UIB Subject: Cannot mount more than 8 shares with smbfs + location of nsmb.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 21:35:36 -0000 I'm using 5.0-p7. My /usr/local/etc/nsmb.conf: [default] username=guest password= [billfish] addr=10.10.66.194 Should I use /etc/nsmb.conf or /usr/local/etc/nsmb.conf? The main problem: A script is run to mount 12 anonymously accessible shares from my winxp-box billfish in various directories. But only the 8 first are mounted. I have tried to changed the order of the mount commands in the script. The last four mounting commands results in the following error message: mount_smbfs: unable to open connection: syserr = RPC struct is bad The command in the script is: /sbin/mount_smbfs -N -E iso-8859-1:cp866 -I billfish //guest@billfish/4 /ftp/billfish/4 Running the command shown below produce the same result: mount_smbfs -N -I billfish //guest@billfish/4 /ftp/billfish/4 What do I do to mount more than 8 different smb shares? Cheers, Are