LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-20-2005, 10:22 AM   #1
AmBeRfromAtlanta
LQ Newbie
 
Registered: Oct 2005
Location: atlanta
Distribution: red hat 9
Posts: 3

Rep: Reputation: 0
Unhappy samba password/connection woes


Techno-virgin here. Having frustrations over Samba-

Trying to set up RedHat Linbox as a file server on my Windows LAN.
I can see the workgroup>shared folder and printers in network neighborhood- YEah!!- but when I try to logon I am prompted for username and password. I use the correct username/password that has been set up on Samba and also matches my winXP machine name\logon, but nothing happens. I mean nothing. No error message, no nada. I try reconfiguring usernames/encrypt vs. unencrypt pw, user=share, whatever, but I get the same results. Can anybody anybody help???? I've been all over the boards but haven't found a remedy that a techno-naive person can handle. Will post conf. file if that is helpful.
 
Old 10-20-2005, 11:31 AM   #2
iron_death
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Re: samba password/connection woes

Quote:
Originally posted by AmBeRfromAtlanta
Techno-virgin here. Having frustrations over Samba-

Trying to set up RedHat Linbox as a file server on my Windows LAN.
I can see the workgroup>shared folder and printers in network neighborhood- YEah!!- but when I try to logon I am prompted for username and password. I use the correct username/password that has been set up on Samba and also matches my winXP machine name\logon, but nothing happens. I mean nothing. No error message, no nada. I try reconfiguring usernames/encrypt vs. unencrypt pw, user=share, whatever, but I get the same results. Can anybody anybody help???? I've been all over the boards but haven't found a remedy that a techno-naive person can handle. Will post conf. file if that is helpful.
Please post your config file.
 
Old 10-20-2005, 11:57 AM   #3
dmckee8615
LQ Newbie
 
Registered: Oct 2005
Location: Houston, TX
Distribution: Red Hat 8.0 and Ubuntu 6.0.6
Posts: 7

Rep: Reputation: 0
AmBeRfromAtlanta,

I'm not an expert, but I've been running a fully functional 25-user Red Hat 8.0 Samba fileserver/printserver at my company for 2+ years now. When I set it up, I ran into similar problems. Here's a list of what I had to do to achieve success:

1. I had to create a domain and have everyone log into it for sharing to work right (more so for printing, as I recall). You probably know this already, but Win XP Home doesn't work with domains.

2. In the /etc/samba/smbpasswd file, I had to create a machine name for each computer, in addition to the individual user names. This machine name must exactly match the computer name in the user's My Computer/Network Identification tab. You can do this manually with the smbpasswd -a -m command, or you can do as I did and put the following line in your smb.conf file:

add user script = /usr/sbin/useradd -d dev/null -g machines -s /bin/false -M %m$

which will automatically add the machine name whenever you are adding a computer to the Domain from the user's desktop.

3. For Win XP Professional, you must run a registry patch on the user desktops called SignOrSeal_and_SignSecureChannel.reg for the logon process to work-- I don't know why-- I'm sure plenty other forum members know much more about this than I do.

I apologize if all this is a little bit sketchy. Like I said, I'm no expert. But it works.

Good luck.
 
Old 10-20-2005, 01:19 PM   #4
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally posted by dmckee8615
AmBeRfromAtlanta,

I'm not an expert, but I've been running a fully functional 25-user Red Hat 8.0 Samba fileserver/printserver at my company for 2+ years now. When I set it up, I ran into similar problems. Here's a list of what I had to do to achieve success:

1. I had to create a domain and have everyone log into it for sharing to work right (more so for printing, as I recall). You probably know this already, but Win XP Home doesn't work with domains.

2. In the /etc/samba/smbpasswd file, I had to create a machine name for each computer, in addition to the individual user names. This machine name must exactly match the computer name in the user's My Computer/Network Identification tab. You can do this manually with the smbpasswd -a -m command, or you can do as I did and put the following line in your smb.conf file:

add user script = /usr/sbin/useradd -d dev/null -g machines -s /bin/false -M %m$

which will automatically add the machine name whenever you are adding a computer to the Domain from the user's desktop.

3. For Win XP Professional, you must run a registry patch on the user desktops called SignOrSeal_and_SignSecureChannel.reg for the logon process to work-- I don't know why-- I'm sure plenty other forum members know much more about this than I do.

I apologize if all this is a little bit sketchy. Like I said, I'm no expert. But it works.

Good luck.
DMCKEE Never suggest some newbie to directly implement SAMBA as a PDC.
It will make him even more frustating of samba.

Dear Amber

First of all dont get frustated. you need to keep yourself cool a bit. SAMBA is easy but sometimes a small mistake could lead you into further problems.

Post your SMB.CONF

And for the time, let me clear you few things...

As if you mentioned that your samba n XPP logins are same & again you mentioned you are getting prompt to enter username password while accessing your samba share thru XP.
You should not get prompt again for entering user : pass combination if your XP credentials were accepted by samba.

So do this :
1. Add you 'root' user to samba with
smbpasswd -a -e root

2. add you user login to samba also & also enable it.
smbpasswd -a -e <XP-username>
-a is for adding
-e is for enabling the user

Restart samba service & check back on XP.

Feed me back.

Last edited by amitsharma_26; 10-20-2005 at 01:25 PM.
 
Old 10-24-2005, 02:20 PM   #5
AmBeRfromAtlanta
LQ Newbie
 
Registered: Oct 2005
Location: atlanta
Distribution: red hat 9
Posts: 3

Original Poster
Rep: Reputation: 0
It works!!!! It works!!! Yippeeee!
 
  


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
connection woes tim0707 Slackware 1 06-14-2004 11:51 PM
ISDN connection woes Dutch3 Linux - Networking 0 05-19-2004 01:56 AM
Remote connection (telnet & SSH) woes marioman Linux - General 2 09-29-2003 10:23 AM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM
VNC Connection Woes Fusion Linux - General 8 09-24-2001 09:35 AM

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

All times are GMT -5. The time now is 05:17 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