[Samba] How to automate SMBMNT

Urban Widmark urban at teststation.com
Wed Oct 2 19:18:01 GMT 2002

On Fri, 27 Sep 2002, Buchan Milne wrote:

> You mean something like this?
> http://uranus.it.swin.edu.au/~jn/linux/smbfs/index.html


I modified his smbfs patches for "unix extensions" during the weekend
(they are in 2.5 now). Didn't read the whole page though ...

> But, every time I think about this, it makes me wonder if this ins't 
> what kerberos is supposed to do (aka I don't like having anything around 
> which caches the clear-text passowrd).

The changes needed in 3.0 to get smbmount to support kerberos are really

One possible issue with that is that a mount that is disconnected needs to
reconnect and if the kerberos ticket has expired it will fail. The answer
would be to avoid being disconnected ...

> If something like this were to occur, then it would be nice if it were 
> standardised, so that all linux smb clients could use it. Including 

Haven't checked how smbpwman talks to smbmount, but whatever it is the
others should be able to do so as well.

> BTW, we got a patch from a user who had problems with smbmount's hanging 
> when the smb server went down, to run umount2 on the mount point. 
> Interested?

Of course. (Mmm ... patches)


More information about the samba mailing list