smbclient on DigitalUnix

Rob Wilson rawilson at subcorp.com.au
Mon May 4 01:03:45 GMT 1998


G'Day everyone,

We are new to SAMBA and are having problems with initial configuration of SAMBA Version 1.9.18 on DigitalUnix 4.0B on a Digital AlphaServer 4100.

If anyone can help us, we would be greatly appreciative.

The installation and compilation all went OK.

Following the points in DIAGNOSIS.TXT.

Steps 1 to 6 all go OK.

Step 7 says...

TEST 7:
-------
                                                                               
*** Run the command "smbclient '\\BIGSERVER\TMP'". You should then be
prompted for a password. You should use the password of the account
you are logged into the unix box with. If you want to test with
another account then add the -U <accountname> option to the command
line.

Once you enter the password you should get the "smb>" prompt. If you
don't then look at the error message. If it says "invalid network
name" then the service "tmp" is not correctly setup in your smb.conf.

If it says "bad password" then the likely causes are:

- you have shadow passords (or some other password system) but didn't
compile in support for them in smbd
- your "valid users" configuration is incorrect
- you have a mixed case password and you haven't enabled the "password
level" option at a high enough level
- the "path =" line in smb.conf is incorrect. Check it with testparm
- you enabled password encryption but didn't create the SMB encrypted
password file

Once connected you should be able to use the commands "dir" "get"
"put" etc. Type "help <command>" for instructions. You should
"put" etc. Type "help <command>" for instructions. You should
especially check that the amount of free disk space shown is correct
when you type "dir".

We try :

"smbclient '\\CENTAUR\TMP'"

with the following smb.conf file:

   workgroup = SAMBA

[global]
   password level = 8
   client code page= 437

[homes]
   guest ok = no
   read only = no

[tmp]
   comment = temporary files
   path = /tmp
   read only = yes

and get :

$ smbclient '\\CENTAUR\TMP'
Added interface ip=69.10.1.3 bcast=69.10.255.255 nmask=255.255.0.0
Server time is Tue Apr 28 15:28:47 1998
Timezone is UTC+9.5
Password:
Domain=[SAMBA] OS=[Unix] Server=[Samba 1.9.18p3]
security=share
first SMBtconX failed, trying again. ERRSRV - ERRbadpw (Bad password - name/pass
word pair in a Tree Connect or Session Setup are invalid.)
SMBtconX failed. ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree
Connect or Session Setup are invalid.)
Perhaps you are using the wrong sharename, username or password?
Some servers insist that these be in uppercase

We have tried all sorts of uppercase/lowercase combinations with passwords and usernames.

We have also tried the suggested "bad password fixes" from DIAGNOSIS.txt and they either do not apply or are ambiguous.

Any ideas?

Cheers
Rob WIlson
UNIX System Administrator
Australian Submarine Corporation
Mersey Road
Osborne
SOUTH AUSTRALIA
Ph +61 8 8348 7000
Fax +61 8 8348 7001










More information about the samba mailing list