[Samba] Re: Smbmount and credentials
raygr at es.co.nz
Tue May 16 01:09:27 GMT 2006
On Tue, 16 May 2006 09:46:28 +1000, Adam Nielsen
<adam.nielsen at uq.edu.au> wrote:
>> smbmount //192.168.0.1/backup /mnt/backup rw uid=root gid=root
>> Can anyone tell me why it isn't reading the password from the
>> credentials file
>Probably because you forgot the -o flag, and there aren't any commas
>between the options :-)
I had the -o in there originally (honest I did!), I must have
accidentally deleted it at some point.
The commas really helped too :-)
>smbmount //192.168.0.1/backup /mnt/backup -o rw,uid=root,gid=root,credentials=/etc/smbcreds
>> and why the printer admin warning is appearing?
>There is a 'printer admin = ...' option in your smb.conf. If you're
>not sharing any printers, remove this line to get rid of the error.
That did the trick. Thanks for the help Adam.
More information about the samba