vod:pod:

flickr:

IMG_1605 IMG_1604

IMG_1601 IMG_1598

IMG_1597 IMG_1596

filtunes:

links:

  • Webmail
  • My Space
  • Blog Home
  • Log in
  • Register

archive:

categories:

search blog:

other:

Talk about a miserable failure.

June 24, 2007

Samba Networking

by .

For me a perfect Samba share lets me log in as my account on the machine. Here’s how to set that up on Ubuntu Feisty:

Edit /etc/samba/smb.conf and turn on user accounts:

# “security = user” is always a good idea. This will require a Unix account # in this server for every user accessing the server. See # /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html # in the samba-doc package for details. security = user

Now you just have to add a “Samba user”. My theory is that if it’s the same username as a system account, all actions that the Samba daemon takes are done under that user account. The password can be different, though, which is nice. This way you can transfer a file over to your home directory without modifying permissions, and the file will be owned by you once it’s there.

sudo smbpasswd -L -a phil sudo smbpasswd -L -e phil

That’s it!