Samba 'include' a per user config script
- by cb0
It is possible to use the include = /somepath/%u.smb.conf in the global section to call a script /somepath/cb0.smb.conf if the user cb0 connects to the samba server.
Unfortunately this does not wotk for me because testparm alway gives me
Can't find include file /somepath/.smb.conf
When I connect to the server I can enter a username and pass but it alway rejects the connection.
I'm using Samba Version 3.2.5
How can I achieve to load a custom user script depending on the user that is connecting ?