Find the answer to your Linux question:
Results 1 to 3 of 3
OK here's the deal. I'm setting up samba on Debian at my in laws house (They are using it for network storage). If I set security to share everything works ...
  1. #1
    jrd
    jrd is offline
    Just Joined!
    Join Date
    Jun 2007
    Posts
    3

    samba setup

    OK here's the deal. I'm setting up samba on Debian at my in laws house (They are using it for network storage). If I set security to share everything works fine except there is no private folders. To solve this issue I switched to security=user. When I do that nothing works!! When I try to connect it instantly says server time out. I'm pretty sure I did the users right (smbpasswd -a user) then I gave that user ownership of the folder. I can set it up on my pclinuxos machine and it works fine via pcc.
    I know I could just copy the smb.config file and use it on Debian but I really want to know how to set it up without the GUI. So if someone could give me a really simple example of how to set it up I would be very grateful. Let's just say they are two users. Bob and Sally. Bob's private share is /bob and sally's is /sally. They need to be prompted for a password when accessing their share. How would someone do this? One other thing is even when it was working nothing showed up in the network neighborhood. I had to enter the ip manually to get on. What could cause this? I've looked on the net for answers but nothing works. Thanks in advance for the help.

  2. #2
    Just Joined!
    Join Date
    Jun 2007
    Posts
    6
    The users must be added as users to the server before adding to Samba. As I remember it, user authentication means samba uses their windows login to allow them in. i found the gui swat to be unreliable so did it the old fashioned way. They must all be in the same workgroup.

  3. #3
    jrd
    jrd is offline
    Just Joined!
    Join Date
    Jun 2007
    Posts
    3

    Thanks

    I did the way you said (added users on server first) and ir works. To make it show up in network neighborhood I had to make samba the local master browser. All is well now though. Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •