STEP 6. Try listing the shares available on your server k6:/usr/sbin# smbclient -L k6 Added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0 startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file or di rectory Server time is Wed May 5 18:35:46 1999 Timezone is UTC-4.0 Session setup failed for username= myname=K6 destname=K6 ERRSRV - ERRbadpw (Ba d password - name/password pair in a Tree Connect or Session Setup are invalid.) You might find the -U, -W or -n options useful Sometimes you have to use `-n USERNAME' (particularly with OS/2) Some servers also insist on uppercase-only passwords What is 'lmhosts' ? Where can I read about it? Chuck samba@samba.org wrote:> > SAMBA Digest 2075 > > For information on unsubscribing see http://samba.org/listproc/ > Topics covered in this issue include: > > 1) Unable to map network drives > by julie.kilbourne@amd.com > 2) Re: german umlaute win95 client vs. Linux-Samba file server > by Andy Bakun <abakun@reac.com> > 3) Re: License manager > by "Carey F. Cox" <carey@tabasco.lamar.edu> > 4) smbpasswd > by "Carey F. Cox" <carey@tabasco.lamar.edu> > 5) NT4 access help > by "Rutherford, John (Library)" <Rutherford@mail.ccsu.edu> > 6) SAMBA digest 2074 > by KbkVersand@aol.com > 7) Bad smbclient put performance and smbfs write performance > by "David B. Rees" <dbr@spoke.nols.com> > > ---------------------------------------------------------------------- > > Date: Fri, 30 Apr 1999 17:13:09 +0100 > From: julie.kilbourne@amd.com > To: samba@samba.org > Cc: robert.brodie@amd.com > Subject: Unable to map network drives > Message-ID: <FD47D00A3EC7D21193AB0008C71E53660190F3@fseuxmta.amd.com> > > Hello, > > Can anyone help me? > > We are trying to set up SAMBA version 2.0.3 running on a Sun SPARC 20 > running 4.1.4. We want to use our NT domain to authenticate > usernames/passwords. We are unable to map network drives. The error > message displayed when typing 'Start' 'Run' '\\sambaservername' is: > > This account is not authorised to login from this station. > > Here is part of our smb.conf file.... Any thought at all would be really > welcome, > > [global] > > netbios name > server string > remote announce > allow hosts > password server = sfrmamd15 > wins server = 165.204.1.115 > > username map = /home/samba/samba/julie/user.map > password level = 0 > security = domain > workgroup = AMD > encrypt password = yes > password server > preferred master = no > browseable = yes > dead time = 5 > debuglevel = 9 > log file = /var/log/sambalog > guest account = nobody > > Thank you, > > Julie Kilbourne > Systems Engineer > > ------------------------------ > > Date: Fri, 30 Apr 1999 11:47:54 -0500 > From: Andy Bakun <abakun@reac.com> > To: Urban Widmark <urban@svenskatest.se>, samba@samba.org > Subject: Re: german umlaute win95 client vs. Linux-Samba file server > Message-ID: <3729DEBA.8D718918@reac.com> > > On Fri, 30 Apr 1999, Giulio Orsero wrote: > >> On Fri, 30 Apr 1999 17:10:03 +1000, hai scritto: > >> > >> >On the win95 machine the new added file (or directory) with this > special > >> >characters seems to be good, but when I'm looking > >> >on the linux machine I've file or dir names with questionmarks instead > of > >> >the special characters??? > >> > >> I have the same problem. I think this is linux related and not samba. > >> > >> $ echo ciao > aaa??? > >> $ ls aaa* > >> aaa??? > >> > > > >I believe this is smbfs related. > >smbclient shows (correctly): > > ???-sql.txt A 759 Tue Apr 6 16:25:44 1999 > >/bin/ls on the same share mounted as smbfs shows: > >???-sql.txt > > > >But on a different filesystem (ext2): > >cola:~>touch ??? > >cola:~>/bin/ls ??? > >??? > > > >This is with 2.2.6/2.0.3. I haven't looked at all at options to smbfs > >(or smbmount) it is possible that there is something there that can help. > > There is a good chance that your ls is by default using the -q option, > which shows ? instead of 8-bit characters. > I believe there is an option to ls to display the filename in their > original form, but that option escapes me right now. > > Andy. > > ------------------------------ > > Date: Fri, 30 Apr 1999 14:51:22 -0500 (CDT) > From: "Carey F. Cox" <carey@tabasco.lamar.edu> > To: Multiple recipients of list <samba@samba.org> > Subject: Re: License manager > Message-ID: <Pine.LNX.4.02.9904301443590.2021-100000@tabasco.lamar.edu> > > Thanks to all that responded to my query on using FlexLM. Unfortunately, > the software we want to serve licenses to Win95 clients does not have > a version for Linux, i.e. there is no vendor daemon for flexlm to run. > > We still want to set up the Linux/Samba server as the repository for > the Win95 executables, so my only option would be to install the ProE > clients on the Win95 wkstns (on the network drives) and use another > Win95 box as the license server. Any suggestions? > > Carey > > =====================================================================> <> Carey F. Cox, PhD | PHONE: (409) 880-8770 <> > <> Assistant Professor | FAX: (409) 880-8121 <> > <> Dept. of Mech. Eng. | EMAIL: carey@tabasco.lamar.edu <> > <> Lamar University | WEB: N/A <> > =====================================================================> > ------------------------------ > > Date: Fri, 30 Apr 1999 15:12:08 -0500 (CDT) > From: "Carey F. Cox" <carey@tabasco.lamar.edu> > To: Samba Mailing List <samba@samba.org> > Subject: smbpasswd > Message-ID: <Pine.LNX.4.02.9904301452090.2021-100000@tabasco.lamar.edu> > > I am trying to incorporate encrypted passwords into our server. I > haven't enabled encryption as yet, because I wanted to check to ensure > the users could change their passwords via smbpasswd. However, I keep > getting the following error message when I try to change the password > on the server... > > $ smbpasswd -D 3 > Old SMB password: > New SMB password: > Retype new SMB password: > Connecting to 127.0.0.1 at port 139 > machine 127.0.0.1 rejected the password change: Error was : The specified password is invalid. > Failed to change password for user > > I have the following set in my smb.conf... > > update encrypted = Yes > smb passwd file = /path-to-smbpasswd/smbpasswd > passwd program = /usr/bin/passwd %u > passwd chat = *current*password* %o\n *ew*password* %n\n *ew*password* %n\n *success* > passwd chat debug = Yes > password level = 1 > unix password sync = Yes > > I am basing the passwd chat on the dialog from a regular passwd session... > > $ passwd > Changing password for user > (current) UNIX password: > New UNIX password: > Retype new UNIX password: > passwd: all authentication tokens updated successfully > > I also tried changing the user's password as root, which gave all indication > that it was successful, but did not change the password. > > I am doing anything wrong? > > Carey > > =====================================================================> <> Carey F. Cox, PhD | PHONE: (409) 880-8770 <> > <> Assistant Professor | FAX: (409) 880-8121 <> > <> Dept. of Mech. Eng. | EMAIL: carey@tabasco.lamar.edu <> > <> Lamar University | WEB: N/A <> > =====================================================================> > ------------------------------ > > Date: Fri, 30 Apr 1999 17:45:23 -0400 > From: "Rutherford, John (Library)" <Rutherford@mail.ccsu.edu> > To: "'samba@samba.org'" <samba@samba.org> > Subject: NT4 access help > Message-ID: <DDF4B7032E44D211A32400A0C9E11AF3C6A1A3@mail.CCSU.EDU> > > I have installed samba 2.0 on a solaris 7 system. Install seemed to go > fine. > > I read the FAQ on testing connections. I can use the smbclient to > connect from the localhost using a valid unix username. > > smb.conf used for testing is: > > [tmp] > comment=temporary directory > path = /tmp > read only = yes > valid users = jdr > user = jdr > > testparms works ok > > ./nmblookup rutherford_nt > Sending queries to 149.152.255.255 > 149.152.94.56 rutherford_nt<00> > > seems ok. > > ./smbclient -L wilson -U jdr > Added interface ip=xxx.yyy.22.11 bcast=xxx.yyy.255.255 nmask=255.255.0.0 > Password: > Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.0.0] > > Sharename Type Comment > --------- ---- ------- > homes Disk > tmp Disk temporary directory > IPC$ IPC IPC Service (Samba 2.0.0) > xxx Disk Home directory of xxx > > Server Comment > --------- ------- > WILSON Samba 2.0.0 > > Workgroup Master > --------- ------- > MYGROUP > > also seems to be ok. > > I tried changing the NT registry as described in the docs using the > supplied .reg file. > > But when trying to map with net use I get: > > C:\TEMP>net use l: \\wilson\tmp /User:xxx > The password is invalid for \\wilson\tmp. > > Type the password for \\wilson\tmp: > System error 1240 has occurred. > > The account is not authorized to login from this station. > > A net view yields: > > C:\TEMP>net view \\wilson > System error 5 has occurred. > > Access is denied. > > The nt name of this PC is "rutherford_nt" > > The account on the unix box is "xxx" > > I would like to be able to establish a share by specifying the > user without it having to be the same name as the nt systems. > > Any suggestions greatly appreciated. > > John Rutherford, obvious new user. > > ------------------------------ > > Date: Sat, 1 May 1999 03:29:45 EDT > From: KbkVersand@aol.com > To: samba@samba.org > Subject: SAMBA digest 2074 > Message-ID: <6d623e0e.245c0769@aol.com> > > no mail > > ------------------------------ > > Date: Sat, 01 May 1999 02:08:40 -0700 (PDT) > From: "David B. Rees" <dbr@spoke.nols.com> > To: samba@samba.org > Subject: Bad smbclient put performance and smbfs write performance > Message-ID: <XFMail.990501020840.dbr@spoke.nols.com> > > Hi, > > I've had extremely bad smbclient put performance when connecting from my Linux > box to a Windows 95 box. I only get about 10KBytes/s! All other forms of data > transfer work fine, and I get from 600-700KBytes/s. This is on a local 10BT > LAN. I've seen a few other reports of this, but no solutions as of yet. > smbclient does puts just fine to another Linux/Samba Server. I'm using Samba > 2.0.3, the Linux machines are running kernel 2.2.7, glibc-2.1, egcs-1.1.2. > I've two Win95 machines, both perform equally poorly. > > I also have very bad smbfs write performance. When doing a simple cp of a file > to the smbfs mounted directory results in performance of about 40KBytes/s. > Reads from the file system are OK, but interactivity (like doing a 'ls' on the > mounted directory) is extremely poor while doing either reads or writes. In > this case, it doesn't matter what the OS of the server I'm mounting from is. > Mounting a share from Win95 or from another Linux/Samba-2.0.3 machine gets the > same results. I mount the share using this command for win95 (I don't have the > w95 fixes compiled into the kernel) `smbmount //server/share -c 'mount mntpoint > -f 3755'` and the same thing without the '-f 3755' when mounting from another > Samba Server. Interestingly, mounting a Samba share from the same machine gets > good performance. > > I've dabbled with win95 registry settings, and smb.conf settings, but the > results are exactly the same no matter what I've tried. > > Any help would be appreciated, > -Dave > > ------------------------------ > > End of SAMBA Digest 2075 > ************************