[Samba] passing username and password to external script

Andrew Bartlett abartlet at samba.org
Thu Mar 14 21:47:29 MDT 2013

On Tue, 2013-03-12 at 17:12 +0100, Krzysztof Zając wrote:
> Hello,
> Is it possible to pass user's credentials provided on login time to 
> external script? My goal is to  run external script which will mount 
> webdav share by using user's username and password and afterwards share 
> it through samba.
> -- 

No, it is not possible as Samba does not obtain a plaintext password.

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

More information about the samba mailing list