[jcifs] Executing Admin Privilege operation on server side.

Balaji Rao balajisrao at yahoo.com
Sun Nov 2 03:31:56 MST 2014


Hi,

I need some help in solving a access related issue.

I am implementing an extension to jcifs - ability to create symlink on remote file server using 
SMB_CON_NT_TRANSACT and fsctl -> FSCTL_SET_REPARSE_POINT.

Creating symbolic link is an admin command and requires privilege for other users to execute.
SE_CREATE_SYMBOLIC_LINK_NAME
"SeCreateSymbolicLinkPrivilege"

On the server side, for symbolic link creation, I have set the permission to Everyone, and as any user can create a symbolic link.

Now, through jcifs, if I issue FSCTL_SET_REPARSE_POINT, I am getting "access is denied".  
 
Any help on how to solve this? How to tell server that client has SE_CREATE_SYMBOLIC_LINK_NAME privilege?

Thanks and Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20141102/0b60548d/attachment.html>


More information about the jCIFS mailing list