LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-08-2001, 06:15 PM   #1
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Rep: Reputation: 40
Samba/NT/2k/95/98


So, I now have my NT box and a Win2k machine logging on to my Linux box, it can see the share directory and even see the homes directory I set up. (ie each machine sees its home/username directory that are set up on the Linux box when you create a new user.)

This has taken a great deal of pain and suffering! <g> I thought the pain and suffering were over, but apparently not as the Windows 95 and 98 machines won't log on - and indeed won't even see the shares (which I'm sure they would previously).

Going through Network Neighbourhood, when I click on my Linux machine, it asks you to supply a password and tries to connect to

\\Linuxbox\IPC$

If I do:

net view

from a 9x machine it sees the Linuxbox among the other machines on the network, but if I try:

net view \\Linuxbox

it's having none of it!

Is there enough info there for anyone to know what might be going on?

So damn close now!

Cheers,

Rob.
 
Old 12-09-2001, 12:11 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Have you set up any shares on the linux box?

How are you sharing them (share/user/server)?
 
Old 12-09-2001, 04:21 AM   #3
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
>> Have you set up any shares on the linux box? <<

Yes, and that seems to work because the NT box and the Win 2k server can read from and write to the share directories. They can even get access to their "homes" directories. :-)

>> How are you sharing them (share/user/server)? <<

user.

For some reason, smbpasswd won't let me add passwords for a new (pretend) user I've added, or modifiy the smb password for the Win 9x boxes. I wonder whether this non accesss for the 9x machines is something to do with the smb password and whether there's something else I did for the NT / Win 2k machines I've forgotten about!

All very frustrating!

Cheers,

Rob
 
Old 12-09-2001, 07:36 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I am having no problem doing this.


for each user create a unix account,

passwd user

they do not need a shell if you don't want them too,
just leave off the /bin/bash in /etc/passwd


then smbadduser sambaname:unixname

when you setup windows for networking you will get a networking prompt.

put in the samba username and password

It sounds like you have done everything except the networking login.

this has to be done or it will not work.

if you are not getting a prompt then that's your problem.

goto start logoff user...

then you should get a prompt for a userneme and password.


as far as samba is concerned as long as you send a valid username and password it will give you the homes and other browsable folders


If you still get nothing it may be a browser problem.

or you may see \\server\IPC$

in explorer location bar type this

\\server\share


if the username password do not match samba will prompt for password only this is the problem with win98, you will have to login to windows 98 with the valid username.

for win2k it will prompt for both username and password when a valid machine tries to access another users folder.


Last edited by DavidPhillips; 12-09-2001 at 07:42 AM.
 
Old 12-09-2001, 07:46 AM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
check the cache for a browse list

/var/cache/samba/browse.dat

if your samba server is not the master put the os level at 65

use smbclient -L to check machines to see if they have a browse list, one of them is maybe fighting to be master.
 
Old 12-09-2001, 01:20 PM   #6
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
David,

Thanks very much for your help. Unfortunately, I don't have smbadduser with my Samba package for some reason. I'm buggered if I can suss out how to get it. I've tried an earlier RPM with it in, but the RPM manager says sod off, you've already got Samba installed. I even downloaded the script and put it in /usr/bin but it just tells me it's a bad interpreter.

I still don't really understand why it works for Win NT/2000 but not 9x! I have set up my Micro$oft networking name to be the same as Unix account name.

After having deleted the Wind*ws account names and groups from the Linux machine, I managed to enter:

adduser "username"
passwd "username"
and
smbpasswd -a "username"

Which again worked for the NT/2000 (at least it let me log on to the home directory, but not the share I set up - says that's an invalid password too!) but not for the 9x machines... This is what really puzzles me. Am I being dense?!

Cheers,

Rob.
 
  


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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

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

All times are GMT -5. The time now is 09:48 PM.

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