[Samba] providing the current samba PID to a preexec script

Valéry Roché vroche at univ-poitiers.fr
Thu May 4 13:10:12 GMT 2006

Hi all,

I'd to provide the current samba PID with wich the user will be looged 
in. It seems this variable is %d in smb.conf

I write it in a log file, and all I can see is the domain name, not the pid

here is the line in my smb.conf :

  root preexec = /samba_system/scripts/connect.sh %u %m %I %T %D %d

what am I doiong wrong ?


More information about the samba mailing list