Valéry Roché
2006-May-04 14:24 UTC
[Samba] providing the current samba PID to a preexec script
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 ? Thanks, val?ry
Gerald (Jerry) Carter
2006-May-05 13:12 UTC
[Samba] providing the current samba PID to a preexec script
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Val?ry Roch? wrote:> 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 ?Should be fine. Are you sure its not a problem with your script? cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEW05MIR7qMdg1EfYRAsu7AJ9zqbMq1i0HsjS7BfoRNXq7PgfN2wCeNw9c vabl3ZNq9Dkiq7LXfvuCWe4=bRLF -----END PGP SIGNATURE-----