root preexec & 2.0.7

William Jojo jojowil at hvcc.edu
Thu May 18 13:50:20 GMT 2000


I a have a problem resulting from a neat tool I developed through the use of the
"root preexec" option:

This is done in the [homes] section of smb.conf.

I launch a shell script with the user name (%u) and machine name (%m). The shell
calls a C program to check the users quota and returns a code as the percentage
of quota used.

Meanwhile, all output of the C program has been captured to a temp file to be
displayed to the user via "smbclient" WinPopup message indicating they are
approaching their limit if they meet or exceed 85%.

My problem is this: It works wonderfully, except it seems to be exibiting a
"root postexec" because I get a beep at logoff, and the next user sees the
buffered WinPopup message from the previous user.

I have *no* "root postexec" clause at all.

Any help would be wonderful - I can't see it!


Bill

-- 


        /------------------------------------------------------\
        |                                                      |
        |                 William E. Jojo, Jr.                 |
        |                                                      |
        |         Senior Systems and Network Specialist        |
        |                                                      |
        |            Hudson Valley Community College           |
        |                                                      |
        |                    (518) 629 7540                    |
        |                                                      |
        |                   jojowil at hvcc.edu                   |
        |                                                      |
        \------------------------------------------------------/


			 So I held my up high

		    Hiding hate that burns inside

		 Which only fuels their selfish pride


	        We're all held captive out from the sun

		    A sun that shines on only some

		      We the meek are all in one


More information about the samba mailing list