LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-13-2005, 03:57 AM   #1
engtech
LQ Newbie
 
Registered: Mar 2005
Location: Iowa
Distribution: Lorma Linux (slackware 10.1) as Samba print svr, Ubuntu 7.10, Ubuntu 8.04
Posts: 11

Rep: Reputation: 0
Samba user/passwd combo error


I have recently set up a RH 7.2 / Samba server for Printing. All is well if I logon from WinXP or Win98 using the linux/samba username I first setup with for myself. The trouble comes when I try any other username I created later with adduser and smbadduser I get the error:
Code:
 
# smbclient //MyServer-Samba/Jdoe -U Jdoe 
added interface ip=192.168.1.3 bcast=192.168.1.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.)
In Windows the Network Neighborhood asks for password to
\\MyServer-Samba\IPC$ and always errors out with "The password is incorrect. Try again"

When I change the bad users password with smbpasswd it takes the new passwd w/out any error, but still doesn't work when trying to connect.


Any ideas would be greatly appreciated.

Thanks,
engtech
 
Old 03-14-2005, 03:40 AM   #2
engtech
LQ Newbie
 
Registered: Mar 2005
Location: Iowa
Distribution: Lorma Linux (slackware 10.1) as Samba print svr, Ubuntu 7.10, Ubuntu 8.04
Posts: 11

Original Poster
Rep: Reputation: 0
[RESOLVED]

Deleting the "bad" users from both linux and samba then adding them in again seems to work... Not sure what I did wrong in the first place... I think it might be that I was using smbadduser instead of smbpasswd -a username...

But i'll never know since nobody bothered to reply to the post. Best way to learn i guess, fumble through it on your own.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA PDC add user script error hitotito Linux - Networking 1 04-22-2005 09:45 PM
using passwd as a chroot'ed user - help! xlobsterx Linux - Software 1 04-14-2005 06:22 AM
Ftp user /passwd apenguinlinux Linux - Security 3 02-04-2005 04:06 AM
user can change passwd kelper Linux - Software 3 08-28-2003 04:17 AM
error with mounting samba share on linux as normal user dwof Linux - Software 7 08-13-2003 04:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration