Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba & Windows 98
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
b1ind
Guest





PostPosted: Wed May 22, 2002 5:58 pm    Post subject: Samba & Windows 98 Reply with quote

I have two computers networked via a linksys router here. What I would like is for my gentoo laptop to give access to my windows98 computer such that the windows computer can upload files for testing web pages. Ideally, I would like to have the /home/peter dir shared for this purpose. I have had minor success, but I am inevitably plagued by permission problems.

Samba is working as expected, as is Apache. I have set up the 'peter' account with useradd, and I have not touched the created dir at all (no chown, or chmod). I really need help with my permissions, so if anyone has any suggestions, could you please be verbose in your postings.

Thanks alot
Back to top
Cr0t
l33t
l33t


Joined: 27 Apr 2002
Posts: 944
Location: USA

PostPosted: Tue May 28, 2002 1:35 am    Post subject: Reply with quote

This is one way to do it..
Code:
[global]
        server string = foo BoX
        netbios name = fooBOx
        map to guest = Bad User
        guest account = foo
        os level = 2
        guest ok = yes
        security = share
        socket options = TCP_NODELAY
        interfaces = 192.168.2.2/255.255.255.0

[foo]
        comment = foobar
        path = /home/foo/foo
        read only = yes
        public = yes

_________________
cya
    ©®0t
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Tue May 28, 2002 2:14 am    Post subject: Re: Samba & Windows 98 Reply with quote

b1ind wrote:
I have set up the 'peter' account with useradd, and I have not touched the created dir at all (no chown, or chmod). I really need help with my permissions, so if anyone has any suggestions, could you please be verbose in your postings.


Did you add the user 'peter' to samba? Take a peek at smbpasswd. You need both a system user (useradd, like you did), and then you need to tell samba about it/enable it with smbpasswd.

Try that, if that fails, grab the logs from /var/log/samba/ and share them with us, along with your config.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum