[vox-tech] i need samba help: bad password

Peter Jay Salzman vox-tech@lists.lugod.org
Fri, 18 Jan 2002 14:56:53 -0800


yet another samba question

i'm going through diagnostics.txt, and found a test that failed:

   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 end of
   the command line.  eg: smbclient //bigserver/tmp -Ujohndoe
   
the results:

   p@satan% smbclient //satan/tmp -Up
   added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
   Password:
   session setup failed: ERRSRV - ERRbadpw (Bad password - name/password
   pair in a Tree Connect or Session Setup are invalid.)

i used the password for user p on satan.  ok.  diagnostics.txt suggests:


cause                                         my reply
-------------------------------------------   ----------------------
- you have shadow passords (or some other     i find it hard to believe
  password system) but didn't compile in      that debian wouldn't compile
  support for them in smbd                    shadow support.

- your "valid users" configuration is wrong   possible; i don't have a
                                              "valid users" directive in
                                              smb.conf.  do other people?

- you have a mixed case password and you      possible; i don't have a
  haven't enabled the "password level"        "password level" in smb.conf.
  option at a high enough level               do other people?

- the "path =" line in smb.conf is wrong.     this is correct.

- you enabled password encryption but didn't  possible.  how does one go
  create the SMB encrypted password file      about creating an SMB
                                              encrypted pswd file?


note that this test failed on the smb server, not on the windows machine!

pete

-- 
The mathematics [of physics] has become ever more abstract, rather than more
complicated.  The mind of God appears to be abstract but not complicated.
He also appears to like group theory.  --  Tony Zee's `Fearful Symmetry'

PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D