On Mon, 1 Dec 2003, Andrew Hunter wrote:

> My first goal is simply to create password-accessible drive shares for a
> few users.  Eventually, I will want to create space limits (quotas?) for
> each user.  The long-term goal is to create a PDC.  That won't be for a
> while, though.  Thanks--

Do you need help getting it installed, or just configured? Have you
Googled yourself for samba howtos and just been stuck? (That always
happens to me :-P)

Here's Ross's two-minute Samba How-To:

1) install samba [let me know if you need more help with this one]

2) find your smb.conf file [mine's in /etc/samba/smb.conf, but I have an
older version ... some of this might not work the best for that reason.]

3) the lines that say "netbios name" and "workgroup" correspond to the
"computer name" and "workgroup" in Windows. The "server string" is
basically the Computer Name's description.

4) fix "hosts allow" to have the IP addresses of the boxes you want to be
allowed to connect to this PC. "128.187." will allow all addresses
starting with those two numbers.

5) There are a lot of different ways to do password management. This is
how I do it:

  a) set "security = share"
  b) set "encrypt passwords = yes",
     and "smb passwd file = /etc/samba/smbpasswd" or something similar

to set the passwords, use the "smbpasswd" tool as root. basically the
syntax is: "smbpasswd -a bob" to add the user "bob". It'll prompt you for
a password. these guys don't have to be unix users or anything.

  c) set "username map = /etc/samba/smbusers"

your smbusers file should look like this:
bob = windowsloginname

where the latter is what you log into windows as.

6) set up shares like this:

[foobar]
  comment = This is the Foobar folder
  valid users = bob
  path = /foobar
  browseable = yes
  guest ok = no
  public = no
  writable = yes

7) pray it works. There are so many different windows versions and they
all do weird stuff that a samba configuration rarely works with
everything. :-P

disclaimer: I know basically zero about samba. Like I said, this is stuff
I just copy-pasted from elsewhere. If it works for you, great. If it
doesn't, well, sorry :-/ Hopefully this, plus a few decent HOWTOs online,
plus help from the other helpful people on this list, will get you up and
going. Let us know if you have specific questions about anything.

  ~ ross



-- 

This sentence would be seven words long if it were six words shorter.



_______________________________________________
newbies mailing list
[EMAIL PROTECTED]
http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies

Reply via email to