Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-11-2008, 03:44 PM   #1
LQ Newbie
Registered: Mar 2008
Posts: 4

Rep: Reputation: 0
Samba Share to Win XP Workgroup

I'm trying to share a USB 1TB hard drive on my OpenSUSE10.3 system. I have been able to share the folder that I have created. I have also motified fstab to mount the drive buring boot. Here is my problem; I'm able to locate and mount the folder in my windows environment, but unable to WRITE to it. I have looked all over the 'net for a resolution, but all I find is everything I've tried (chmod etc...) I've gotten so far as to have wanted to start over again, due to the fact that even logged in as root I'm unable to change permissions for this folder, or is subdirectory.

Help please????
Old 03-11-2008, 07:17 PM   #2
LQ Newbie
Registered: Feb 2008
Location: bucharest
Distribution: fedora
Posts: 4

Rep: Reputation: 0

can u post the smb.conf which you created for the share?
did you set up passwords for users with smbpasswd?

lets see the config perhaps i can help you.
Old 03-12-2008, 10:27 AM   #3
LQ Newbie
Registered: Mar 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Here is my smb.conf. I have changed some names for security;

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2007-09-22
workgroup = NETWORK
printing = cups
printcap name = cups
cups options = raw
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = no
restrict anonymous = no
preferred master = no
server string = Samba SUSE-10.3
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto
security = share
map to guest = Bad User
usershare max shares = 100
usershare owner only = False

comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No

comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

## Share disabled by YaST
# [netlogon]

comment = phr33k's storage
path = /home/phr33k
read only = No

path = /home/phr33k/LaCie/Backup/
guest ok = yes
read only = no
guest only = yes

I have created 1 user for myself, w3hich is my username for the localcomputer. I also attempted to create anoter user as su but it said "Failed to modify password entry for 'user'"
Old 03-16-2008, 08:56 AM   #4
Registered: Mar 2008
Location: India
Distribution: RHEL5
Posts: 34

Rep: Reputation: 15
Dear friend

1. Please change the setting in conf file

2. This is the type of security used to share files to windows.

3. It requires that a user provide a username/password before using the server.

Registered linux user # 467324
ALL HUMAN ACTIONS ARE EQUIVALENT...............................
Old 03-19-2008, 10:33 AM   #5
LQ Newbie
Registered: Mar 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I solved the problem, and thank you for all of your help everyone.

Here's what I did;

First, I edited my smb.conf to reflect the change of Security=user
I then created a user and made their home directory the folder I wanted shared

Users can access (thanks to saving passwords in XP) the share to add backup files.


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
Samba Workgroup and Domain with File n printer Share full Configuration for Fedora 4 d.vinayaham Linux - Software 8 11-02-2006 04:13 AM
Samba share for everyone in the same workgroup starcutter Linux - Software 4 08-01-2006 06:29 PM
Same workgroup but net use (samba share) works from Win2K and not WinXP lothario Linux - Software 3 05-26-2006 08:33 AM
SAMBA can't access win share through ip address emailssent Linux - Software 4 09-19-2004 08:29 AM
Win XP doesnt see samba share, but can connect to it. bripage Linux - Software 25 04-26-2003 03:52 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration