-
Junior Member
registered user
Samba Nuttiness
I've been trying to get Samba set up on my HDD-install for a while now, and to be honest, it's pissing me off -- mainly because it doesn't work as advertised in the FAQ or other posts in the forum.
Here's the setup:
Knoppix box & WinXP box on the same network (192.168.2.10, 75)
/etc/samba/smb.conf:
security = share
....
[myshare]
Comment = My Share
path = /home/knoppix (I know, accessible thru Homes, bear with me)
writeable = yes
smbpasswd:
contains entries for both "knoppix" and "draco" (name of the XP box)
When I try to access this from my WinXP box, I can see everything, but get permission denied errors every time I try to write anything.
Strangely enough, when I change the above path to /tmp, it works like a charm.
This seems like an issue with filesystem permissions on the /home/knoppix directory...but I have to admit I don't want to make my home directory world writeable and then share it via Samba. How can I fix this?
Thanks,
Alex Kirk
-
Alex,
I'm not a Samba wiz but I do use it quite a bit in the Security=Domain mode, so I'm not up on Security=Share.
I took a quick look at the Samba FAQ here and it looks like it is creating a public share, thus your ability to write to /tmp.
Using Security=Share I believe you must try to access the share using the username/password that has has write access to the directory (knoppix user name with the knoppix user passowrd on the knoppix box).
So try this: Create an account on your XP box with the same user name and password (knoppix) as you would use to write to the /home/knoppix directory, or map the drive using the knoppix user and password.
I believe samba is going to look at the /etc/passwd file to make sure the user trying to use the share has the appropriate rights and is a valid user.
Check this to: http://us3.samba.org/samba/docs/man/....html#SECURITY
and look at the section on Security=Share. You might want to try changing the security to Security=User.
Rememebr to restart samba after changes to smb.conf (/etc/init.d/samba restart)
Hopefully someone with more Samba knowledge can give you better instructions.
Mike
Similar Threads
-
By ghostblaze in forum General Support
Replies: 4
Last Post: 11-04-2004, 03:14 AM
-
By jimbo62 in forum Networking
Replies: 4
Last Post: 08-15-2004, 03:22 AM
-
By smarchand291 in forum General Support
Replies: 0
Last Post: 11-08-2003, 11:41 PM
-
By juan_sck in forum General Support
Replies: 2
Last Post: 10-17-2003, 01:36 PM
-
By Tovi in forum General Support
Replies: 4
Last Post: 04-21-2003, 08:42 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Lot of 20 Micron 16GB DDR4-3200 ECC RDIMM 2Rx8 MTA18ASF2G72PDZ-3G2R1 320GB
$2399.99

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$288.19

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)
$89.99

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

1x64GB Hynix HMAA8GL7MMR4N DDR4 PC4 2133P-LE0-11 4Rx4 ECC LRDIMM Server RAM
$320.00

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB
$124.95

24x Micron MT40A512M16LY-062E IT:E 8Gb DDR4-3200 96-FBGA Memory IC
$349.99

SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98