Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-02-2004, 03:32 PM
|
#1
|
LQ Newbie
Registered: Sep 2004
Posts: 9
Rep:
|
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?
|
|
|
10-02-2004, 05:32 PM
|
#2
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
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.
|
|
|
10-02-2004, 05:42 PM
|
#3
|
LQ Newbie
Registered: Sep 2004
Posts: 9
Original Poster
Rep:
|
# 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
|
|
|
10-02-2004, 05:43 PM
|
#4
|
LQ Newbie
Registered: Sep 2004
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
10-02-2004, 07:16 PM
|
#5
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
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.
|
|
|
10-02-2004, 07:50 PM
|
#6
|
LQ Newbie
Registered: Sep 2004
Posts: 9
Original Poster
Rep:
|
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
|
|
|
10-02-2004, 08:09 PM
|
#7
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
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.
|
|
|
10-03-2004, 02:54 PM
|
#8
|
LQ Newbie
Registered: Sep 2004
Posts: 9
Original Poster
Rep:
|
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 
|
|
|
All times are GMT -5. The time now is 04:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|