Displaying 2 results from an estimated 2 matches for "share_dir".
2002 Sep 23
1
passwords for Samba mounts in /etc/fstab
...o mount the drive. My problem with either of these paradigms is that I have to have a password
in plaintext. The samba share I am mounting isn't a public share, and shouldn't be. I'm not sure
how to get around this properly. My current entry in /etc/fstab looks like:
\\server_name\share_dir /mnt/dir smbfs auto 0 0
I know I could do:
\\server_name\share_dir /mnt/dir smbfs auto,password=foo 0 0
OR:
\\server_name\share_dir /mnt/dir smbfs auto,credentials=/some/filename 0 0
where /some/filename looks like
username = bar
password = foo
I tried...
2006 Oct 24
4
Shared folders plans for the future
...o solve. Create a directory listing all the
mailboxes that are shared to at least someone (have ACLs set). It could
be configured like:
namespace shared {
# IMAP namespace prefix, %u expands to shared user
prefix = user/%u/
# Directory containing symlinks to user's all shared mailboxes
share_dir = ~/Maildir/shared
# Where to store indexes for other users' accessed mailboxes
index_dir = ~/Maildir/others-indexes
}
The ~/Maildir/shared directory could then contain symlinks to all the
shared mailboxes. The directory list could probably be in Maildir++
layout even though the symlinks w...