LinuxQuestions.org
Visit Jeremy's Blog.
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 07-31-2003, 03:44 PM   #1
cevjr
Member
 
Registered: Jul 2003
Location: USA
Distribution: Slack 12.2 and Ubuntu 9.04
Posts: 61

Rep: Reputation: 15
SAMBA and W2k still does not work, but I am so close PLS HELP


OK ...I want to see my vfat share on a laptop runningn RH 9 from a W2K box and I want to see a shared Fat32 from my Linux laptop. Hereś what I have so fat...

[global]

workgroup = sopranos
server string = samba server
netbios name = tonysbox
hosts allow = 192.168.1. 192.168.2. 127.
; guest account = pcguest
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins support = yes
guest ok = yes
username map = /etc/samba/smbusers
dns proxy = no
[commonfat]
comment = a fat32 share
path = /commonfat
browseable = yes
writeable = yes
guest ok = yes
valid users = cevjr
create mask = 0765

and my host file on the Linux laptop looks like this
127.0.0.1 localhost.localdomain localhost
192.168.0.4 tonysbox.localdomain tonysbox

_________________________________________
I DID NOTHING to my W2K box; and from linux I can see and have access to the W2K's fat32 partition.

However, when I am on the W2K box and trying to access laptop running Rehat 9, I only see the group, I drill dowm and I see tonysbox and then I cannot access it. WHATS WRONG!!! Please help, this is the second time I have posted this but this time I have given you my settings.

Your help is appreciated.
C.
 
Old 07-31-2003, 11:16 PM   #2
kenget
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
Sounds to me like you need to add a user to smbpasswd file.

Have you used the smbpasswd command yet?
 
Old 08-01-2003, 07:17 AM   #3
svelemor
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Rep: Reputation: 0
I have experienced some problems with samba,w2k and xp.

I may have got this wrong, but I'm pretty sure I read somewhere that the network authentication in w2k and xp differs from the ones in earlier windoze versions.

One solution that worked for me, was to disable encrypted passwords on the samba server, restart it, run the win2k-plain-password.reg file that comes with the samba documentation, and restart the w2k or xp machine.

Or it might just be enough to do a smbpasswd -a user password on the samba server..
 
Old 08-01-2003, 07:46 AM   #4
max2003
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9.1
Posts: 26

Rep: Reputation: 15
Samba is runing fine with encrypted password. You must set share level=user and add a user with smbpasswd -a user.
 
Old 08-01-2003, 09:10 AM   #5
linylion
LQ Newbie
 
Registered: Jul 2003
Location: Lahore (Pakistan)
Distribution: Red Hat Linux
Posts: 9

Rep: Reputation: 0
I think u r not using smbpsswd to join ur domain if it is on windows...
if this is the case use following command first join ur domain

smbpasswd -j UR_DOMAIN -r MACHINE_NAME_OF_WINDOWS - Uadministrator%password

if ur domain/workgroup resides on linux laptop then just create a user and assign that user a password using

smbpasswd -a username

command

now login with this user on windows machine and u ll be able to acces ur tonybox machine

another thing is a parameter in global section "password server"
uncomment it and give ur domain name or netbios name of authentication server.It ll help u access ur tonybox without any error.

It would have been very clear if u give the error u recieved on accessing the machine...
hope u get help from it...
 
Old 08-06-2003, 11:39 AM   #6
cevjr
Member
 
Registered: Jul 2003
Location: USA
Distribution: Slack 12.2 and Ubuntu 9.04
Posts: 61

Original Poster
Rep: Reputation: 15
Thumbs up

IT WORKS!!!!!!!!!!!!!!!
Everything was fine!, Do you know what I did? I just turned off the firewall setting and SAMBA worked.

I then downloaded Firestarter and tuned my firewall to accept my LAN PC's and everything was working great!

THanks for the help though.

PS I had to install swat package also, bec Redhat 9 did not include it in the installation.
 
  


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 password doesn't work when accessing Linux shares from W2K soren625 Linux - Software 4 05-14-2004 05:55 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 05:12 PM
Getting Samba to work need help pls viper1024768 Linux - Networking 7 10-16-2003 02:55 AM
SAMBA bet RH 9 & W2K with Netgear Router - can't see W2K share cevjr Linux - Software 0 07-30-2003 11:44 AM
samba and w2k linuxlastslonge Linux - Software 6 07-23-2002 01:04 PM

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

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