LinuxQuestions.org
Help answer threads with 0 replies.
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-02-2004, 03:32 PM   #1
ross8425
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Rep: Reputation: 0
Question samba question, i cant find the answer


first off, this is the first time ive set up samba before so let me explain what i am trying to do , as well as what i have done so far.

computer 192.168.1.100 = windows xp pro
computer 192.168.1.101 = fedora core 2
computer 192.168.1.103 = windows xp pro (laptop)

now, something is set up correct, because i can see computer 1 from FC2, as well as copy files from the directory that i have allowed shares on. Same with the laptop, so i know my windows portion is correct (at least i think). Now here is where the problem is: if i go to network neighborhood (or whatever its called in xp, too lazy to minimize to find out) i see 3 computer. Linux, and both xp machines. great you say? wrong. whenever i click on the linux one, it gives me this error:

\\Linux is not available, you may not have permission to use this resource. Please contact network admin. The network path was not found.

with the linux machine i want to share /home/ross only

ive searched everywhere for 2 days and ive tried different things in the config file, and none of them seem to work. any suggestions / help?
 
Old 10-02-2004, 05:32 PM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
have you added the user for samba? see smbpasswd
try "find computer" in you microsh.. search for 192.168.1.101, click on it, you should get a prompt for user/pass.
/ post your smb.conf.

sl mritch.
 
Old 10-02-2004, 05:42 PM   #3
ross8425
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
# Global Parameters

workgroup = samba
netbios name = linux
encrypt passwords = yes
server string = samba %v on %L
security = user

;samba is the domain and local master browser
os level = 200
preferred master = yes
domain master = yes
domain logons = yes
wins support = yes

;domain administrators
domain admin group = @ross
domain admin users = root

logon script = %g.bat
logon path=\\%L\netlogon
logon home=\\%L\%U\winprofile

;neccessary share for domain controller
[netlogon]
comment = network logon service
path = /home/netlogon/%g
guest ok = no
public = no
writeable = no
share modes = no
browseable = no

[homes]
read only = yes
browseable = yes

[files]
path = /home/ross
browseable = yes

[apps]
path = /data/apps
valid users = @admins, root
write list = @admins, root
 
Old 10-02-2004, 05:43 PM   #4
ross8425
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
thats my conf file. i went to some webpage that told me what all to put in there, but for some reason i am never allowed to switch to a domain in windows xp, but unless that is required, then i dont care. i just want to see /home/ross in xp



oh also, incase you were wondering, 192.168.1.102 is my xbox, thats why i skipped to 103

Last edited by ross8425; 10-02-2004 at 05:44 PM.
 
Old 10-02-2004, 07:16 PM   #5
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
have you added the user? again.

comments 'bout smb.conf:
add this for lill' security
invalid users = root

log level = x (1 ..for standard / higher = debug)
log file = /path/to/log.%m
...have a look here when trying to connect

passwd program = /usr/bin/passwd %u
passwd chat = ** (the chat prog here)
...maybe different on your distr.

add this stuff if needed to /home:
comment = homedirectory
writeable = yes
browseable = no

btw. i use
os level = 33
so the server will become master only if there is no nt.x.x on the net. works allright with xp only clients.


sl mritch.

Last edited by mritch; 10-02-2004 at 07:17 PM.
 
Old 10-02-2004, 07:50 PM   #6
ross8425
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
oh im sorry i didnt answer the user question earlier. i believe i did, but like i said im very new at this. i followed the guide on this page: http://www.samba.netfirms.com/

im pretty sure i did some kind of add user statement. i have not looked up the comands for how to add or check to see if i added a user, so i dont know off the top of my head how to do that. im going to mess with my linux box in a few after i finish typing my systems report, so ill check back here shortly and add that stuff into my smb.conf file. Thanks alot!

ross
 
Old 10-02-2004, 08:09 PM   #7
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
do it. it won't hurt. type "man smbpasswd" to see what it does. for short:

become root
smbpasswd <username>
enter password twice

check your logs and post any info.

sl mritch.
 
Old 10-03-2004, 02:54 PM   #8
ross8425
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
ok. i messed with it some last night, and whenever i typed "man smbpasswd" it just gave me all of the options i could use. i set up my smb.conf to have a log, but i cant figure out how to read it, it says its 0kb in size. at any rate, is netbios supposed to be enabled in windows? because if it is, then that is my problem, i was just trying to work around having that enabled because from what i understand it is not a very secure way of doing things. thanks for all your help
 
  


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
Answer to Question??? Saquear Linux - Networking 1 11-10-2005 02:49 PM
find and replace answer word? matarodi Linux - General 0 10-27-2005 02:51 PM
install question can't find an answer in another thread TiMDoR Linux - Newbie 1 02-24-2005 12:02 AM
Simple Gimp Question, but I can't find answer Mic Q SUSE / openSUSE 2 12-30-2004 01:59 PM
Accepting Shabang Scripts (Quick & Easy Question, Just Can't Find Answer) overbored Programming 3 03-24-2004 07:41 PM

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

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