LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 03-13-2005, 04: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: 10
Thanked: 0
Samba user/passwd combo error


[Log in to get rid of this advertisement]
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
engtech is offline     Reply With Quote
Old 03-14-2005, 04: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: 10
Thanked: 0

Original Poster
[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.
engtech is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 10:45 PM
using passwd as a chroot'ed user - help! xlobsterx Linux - Software 1 04-14-2005 07:22 AM
Ftp user /passwd apenguinlinux Linux - Security 3 02-04-2005 05:06 AM
user can change passwd kelper Linux - Software 3 08-28-2003 05:17 AM
error with mounting samba share on linux as normal user dwof Linux - Software 7 08-13-2003 05:57 PM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration