LinuxQuestions.org
Review your favorite Linux distribution.
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 11-01-2002, 09:48 PM   #1
Micro
Member
 
Registered: Nov 2002
Location: New Jersey
Distribution: rh 8.0
Posts: 45

Rep: Reputation: 15
Question Linux RH8 -->Samba---->Win2K ?


From Win2K I can see and browse all linux shares. So can my win98 box. My linux box can see win98 share and browse fine. However, samba on rh8 can see the workgroup including win2k box and even when I go smb://Win2k all the shares are displayed however when I attempted to open one It says im not autherized. I have a feeling win2k using ntlm is somehow getting the passwords from linux different then win98 using lanman. After spending countless hours I conceed to you the experts any Ideas.







[global]
workgroup = MICRO
netbios name = MCSRH8
server string = Linux Test Server
security = SHARE
encrypt passwords = Yes
update encrypted = Yes
min passwd length = 3
map to guest = Bad Password
null passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
password level = 18
username level = 18
unix password sync = Yes
admin log = Yes
log level = 3
log file = /var/log/samba/%m.log
max log size = 1000
debug hires timestamp = Yes
debug pid = Yes
debug uid = Yes
min protocol = LANMAN1
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = False
local master = No
domain master = False
dns proxy = No
wins support = Yes
guest account = pcguest
admin users = root administrator
inherit permissions = Yes
guest ok = Yes
hosts allow = 192.168.1.0/255.255.255.0

 
Old 11-02-2002, 08:29 AM   #2
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
What users do you have setup on the W2K box?

Try browsing the W2K box from the comman line. Like so....
smbclient -L W2KBox -U microman

See what that displays for you?

Also try to browse the W2K box from the W98 machine to see if you have the same problem. That will help to eliminate a few things.

While the W98 machine's shares only need a password (if you're using share-level access) W2K always needs user level access.
 
Old 11-03-2002, 02:22 AM   #3
Micro
Member
 
Registered: Nov 2002
Location: New Jersey
Distribution: rh 8.0
Posts: 45

Original Poster
Rep: Reputation: 15
Smile smbclient response

[mtrippe@mcsrh8 /]$ smbclient -L Compname -U username
added interface ip=192.168.1.8 bcast=192.168.1.255 nmask=255.255.255.0
Password:
Domain=[DOMAIN] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
E$ Disk Default share
IPC$ IPC Remote IPC
D$ Disk Default share
print$ Disk Printer Drivers
shareb Disk
share#1 Disk test
sharecdE Disk cd Drive E on MCS2K
sharea Disk
share#2 Disk
F$ Disk Default share
HomeShare Disk
G Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
HPD890C Printer HP DeskJet 890C

Server Comment
--------- -------
COMP1 WIN98
COMP2 WIN2K
COMP3 Linux Test Server

Workgroup Master
--------- -------
WORKGROUP COMP2

This works fine the problem is when I do smbmount command either somthing is not configured right or im not doing the command right .
 
Old 11-03-2002, 02:24 AM   #4
Micro
Member
 
Registered: Nov 2002
Location: New Jersey
Distribution: rh 8.0
Posts: 45

Original Poster
Rep: Reputation: 15
oh yeah 98 works fine
 
Old 11-03-2002, 07:47 AM   #5
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
What command are you using to mount the share? Are you doing this..

mount -t smbfs -o username=Win2KAdmin,password=secret //server/share /mnt/share

If you try to mount it as admin, then that should hopefully work...if not then we'll have to dig a little deeper.

If this is something you've already tried, sorry. Let me know if you've tried this and other things, so I don't just repeat any troubleshooting you might have already done.
 
Old 11-06-2002, 11:37 PM   #6
Micro
Member
 
Registered: Nov 2002
Location: New Jersey
Distribution: rh 8.0
Posts: 45

Original Poster
Rep: Reputation: 15
mount -t smbfs -o username,password=secret //server/share /mnt/share
mine looks like this
mount -t smbfs -o username=Administrator,password=secret //server/share /mnt/share

I get this message back "could not resolve mount point //server/share"

Im so desperate I went to MS and checked out what they got to say. not to bad really once you read out the migration talk check out in msdn library subject unix windows interoperability.
 
Old 11-07-2002, 06:32 AM   #7
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
Do you actually have a directory named /mnt/share ? The error you received means that the directory you tried to mount the share to does not exist?

Make a new directory (if you dont' have one) under /mnt name it test for now.
mkdir /mnt/test

This will get a good test directory, then do the mount command:

mount -t smbfs -o username=admin,password=secret //server/share /mnt/test

Give that a shot and see what we get?
 
Old 11-07-2002, 11:17 PM   #8
Micro
Member
 
Registered: Nov 2002
Location: New Jersey
Distribution: rh 8.0
Posts: 45

Original Poster
Rep: Reputation: 15
Well professor you got it. That did the trick. I didn't realize you had to create the folder then run the mount -t smbfs command. Since this began I actually wanted to do one thing have my rh become my domain server for my 2 w2k boxes and a a win 98 machine. I have an older laptop from compaq p120 w120mg ram I want to put freeBSD on it next and thats what I have been doing. I put this problem on the board and moved on with the rest of my project but since I started with everything else it seems like nothing now. Anyway I just about got the Domain configured with SAMBA and RED HAT running the show. I LOVE IT. The only thing I got left is to figure out why the profiles aren't always catching during logon. Why I get server not set for tranactions message. Oh there is more but i'll get it.


again thank you for your help
micro
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Copying Long Filenames from Win2k to a Linux Samba directory brianabroad Linux - General 0 10-30-2003 01:41 AM
Samba - Linux/Win2k JBush17 Linux - Networking 1 05-20-2003 05:48 PM
RH8 & Win2k AD [D] Linux - Networking 3 03-31-2003 11:05 AM
samba networking w2k and linux rh8 hugosoto Linux - Networking 8 11-01-2002 10:51 PM
Tip for those of you with Linux +Samba + Win2K trouble RedHat123 Linux - Networking 0 02-11-2002 08:52 AM

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

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