[kwlug-disc] (Easy) Linux File Sharing?
dscassel at gmail.com
Tue Aug 6 16:13:03 EDT 2013
I did, nearly a decade ago when I was using an iBook.
My vague recollection is it was easier and more convenient to set up in Mac
OS X, but it apparently wasn't worth the hassle of setting up again when I
rebuilt my file server a couple years later. I think because SMB support
was working better in Mac OS X by then.
On Tue, Aug 6, 2013 at 3:21 PM, <peter_melse at gto.net> wrote:
> This may seem like an odd question, but has anyone tried afp?
> I'm curious as to where it sits in bandwidth overhead in relation to
> smb/cifs and nfs.
> On Tue, 6 Aug 2013 13:53:52 -0400, Adam Glauser <adamglauser at gmail.com>
>> My searching suggests that Samba is configured by default to use the
>> system user list as its user list, using the settings 'security=user'
>> and 'unix password sync = yes' in the smb.conf file. Apparently on
>> user creation the extra step of running `smbpasswd user password` is
>> required, but after that the 'passwd' command should update both
>> /etc/shadow and the Samba password file. I don't recall having to set
>> up separate Samba users on my network, but I typically use globally
>> accessible shares for convenience's sake.
>> It looks like you could get close to what you want using autofs to
>> mount shares (SMB, SSH or NFS) on the fly. Basically, you can set
>> things up so you can use a path like /mnt/smb/server/, and autofs will
>> automatically mount the share.
>> This howto assumes a single password per Samba server, but I
>> *think* it should be possible to modify the example /etc/autofs.cifs
>> script to allow the user and password to be specified in the path:
>> $ cp localFile /mnt/smb/user at server:password/**share/path
>> In the example script, you'd have to extract the 'server' string from
>> the $1 argument and store it in $key, as well as extracting the
>> username and path from the $1 argument (if they are supplied) and
>> using those instead of retrieving the defaults from $credfile.
>> I guess this sort of fails the 'easy' test, but at least the tricky
>> part is a one-shot deal when setting up a machine.
>>  http://www.howtoforge.com/**accessing_windows_or_samba_**
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kwlug-disc