LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2006, 02:30 AM   #1
dbramer1134
LQ Newbie
 
Registered: Oct 2006
Location: USA
Distribution: Debian sarge
Posts: 2

Rep: Reputation: 0
Why can't i access my debian share from my XP computer?


I have been working on setting up samba all day. I am a beginner with linux. Ive used it before but went 2 years without really touching it so now im a little lost. If it was anything to do with active directory it would be cake but in a linux environment im lost.
To get things started I used apt-get install samba samba-client and used the wizard to configure it. I set up encrypted passwords and created a user with a smbpasswd and created a folder and set up the share in the conf file. Did everything according to a how-to that was very straightforward online. I got on my windows machine typed in the server name and the share name and got a prompt for a username and password. No matter what i tried i couldnt get in. I changed settings and at one point got in. Then it stopped working. I changed the confg around a few more times and I think i just made it worse. I created the /home/samba directory and edited the config file to allow my user to navagate to this. I try accessing it via the IP of the machine, the computer name, and my network places and each way i get a message saying I might not have permission and "the account is not authorized to log on from this station". My smb.conf file is as follows:

[global]
guest account = nobody
workgroup = BEERFV
server string = %h BeerserverFV (Samba %v)
dns proxy = yes
username map = /etc/samba/smbusers
encrypt passwords = no
passdb backend = tdbsam guest
obey pam restrictions = yes

passwd program = /usr/bin/passwd %u

[homes]
comment = home directories
browseable = yes

[samba]
path=/home/samba
browseable = yes
writeable = yes
public = yes
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
guest ok = no


This is the 100th version of the config file...ive tried alot and with this last one i was hoping by everyone permissions it would at least let me in but it doesnt even give me an authentication window. What could be wrong?
 
Old 10-31-2006, 07:41 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Hmm a lot of stuff unfamiliar to me personally in there, but here is what I use as regards a samba config file that does exactly what you want - my Windows users have anonymous (passwordless) read and write access to the share on my Linux box:

[global]

netbios name = stefan
workgroup = GOEDEHOOP10
security = share
log file = /var/log/samba.log
log level = 1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384
wins support = yes
domain logons = no
logon drive = f:
logon home = \\stefan\%U
os level = 99
preferred master = yes
local master = yes
hosts allow = 169.254.255.10 169.254.255.11 169.254.255.20 169.254.255.30 127.0.0.1 169.254.255.40 169.254.255.50 169.254.255.60 169.254.255.70 169.254.255.80
encrypt passwords = yes
browseable = yes
lanman auth = yes
lm announce = yes

[shared]
path = /mnt/win/shared
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes


Note that lost of stuff you have I don't... maybe the defaults should work better for you (since I make use of defaults - of course- for all options I don't specify above).

Why don't you try the above config file? This works fine for me on FC3 with a 2.6.14.3 kernel with Samba 3.0.20a...
 
Old 10-31-2006, 01:29 PM   #3
dbramer1134
LQ Newbie
 
Registered: Oct 2006
Location: USA
Distribution: Debian sarge
Posts: 2

Original Poster
Rep: Reputation: 0
Awsome man thanks...that worked for me
 
  


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
mount network share 'debian <-> debian' daniela Linux - Newbie 1 01-17-2006 01:27 PM
How can I share a USB printer connected to my Win XP computer through a Netgear RP614 PadreFabuloso Linux - Networking 12 06-15-2005 12:15 AM
Can't access new share squib Linux - General 2 11-17-2004 07:00 PM
How to build a network/share files with and XP Computer??? aktiwers Linux - Networking 1 06-03-2004 07:14 AM
I can't share my computer on LAN thuongkiet82 Linux - Networking 2 05-20-2004 07:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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