flo
06-17-2003, 06:05 AM
Hello
I have a web application (java) running on a websphere server on a linux machine.
This application writes pdf files on a windows2000 machine, thanks to samba.
but the problem is:
when a user A has opened the pdf file, and another user B want to open it, the application must display a message telling the user B that user A has already opened the file.
Before my application ran on a server in windows2000, so the application uses netapi32.dll (thanks to coroutine API for java) to determine which user open the file.
But now, how can I do? Is there a linux way to see which windows user has opened the file in the samba share? Is ther a way to use netapi32.dll in linux? (wine?)
thanks for your help
I have a web application (java) running on a websphere server on a linux machine.
This application writes pdf files on a windows2000 machine, thanks to samba.
but the problem is:
when a user A has opened the pdf file, and another user B want to open it, the application must display a message telling the user B that user A has already opened the file.
Before my application ran on a server in windows2000, so the application uses netapi32.dll (thanks to coroutine API for java) to determine which user open the file.
But now, how can I do? Is there a linux way to see which windows user has opened the file in the samba share? Is ther a way to use netapi32.dll in linux? (wine?)
thanks for your help