Using samba to share folder on linux server with WinXP user

Replies:

  • None.

Parents:

  • None.

--=-RhxZK0koa12TfTNVon/G
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi FOGO,

I seem to have set up samba to share a couple of directories
on a linux server with a user on a WinXP client. The barebones
config file is below. Ted Guild pointed out that gsambad might
be useful in building the right configuration, which it was.
For the example below, suppose that the unix account name is=20
"nadia" and the WinXP account name is also "nadia".

On the WinXP machine I didn't need to do anything (i.e., I have not
looked at the XP install closely, which I believe to be a vanilla
installation); once the samba server is up and running, the shared
folders show up in the network neighborhood.

On the Linux server, I:
=20
a) Created /etc/samba/smb.conf (see below).

b) Added the user's password to the Samba password file:
    smbpasswd -a nadia

c) In /etc/samba/smbusers:, mapped the unix account name to the samba
   account name by adding this line:
    nadia =3D nadia

   Note: I'm not sure that /etc/samba/smbusers is necessary, but
   it's there now and things are working!

I welcome any comments or suggestions,

_Ian

/etc/samba/smb.conf:

[global]
workgroup =3D MyWorkgroup                    ;Your workgroup name here
netbios name =3D myserver                    ;Not sure this is necessary
                                          ;Your value here
security =3D user
encrypt passwords =3D true
smb passwd file =3D /etc/samba/smbpasswd
admin users =3D root                         ;Not sure this is necessary

[Share Me]                                 ;Your value here
comment =3D Cool Stuff                       ;Your value here
path =3D /path/to/directory-to-expert        ;Your value here
read only =3D Yes
guest ok =3D no
valid users =3D nadia                        ;Your user name(s) here

--=20
Ian Jacobs ([email protected])   http://www.w3.org/People/Jacobs
Tel:                     +1 718 260-9447

--=-RhxZK0koa12TfTNVon/G
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQBE4L3S3Vu9UJRDGtARAtwjAKCKBRYfcPr8w6oTOZ8IF6WTsH6QygCeL9Uj
zRScUqxoUTeHSvKvD0/YjKU=
=izLe
-----END PGP SIGNATURE-----

--=-RhxZK0koa12TfTNVon/G--

HURL: fogo mailing list archives, maintained by Gerald Oskoboiny