<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div class="" style="">Hi,</div><div class="" style=""><br class="" style=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">I need some help in solving a access related issue.</div><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">I am implementing an
 extension to jcifs - ability to create symlink on remote file server using </div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">SMB_CON_NT_TRANSACT and fsctl -> FSCTL_SET_REPARSE_POINT.</div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">Creating symbolic link is an admin command and requires privilege for other users to execute.</div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
 HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">
                
        
        
                </div><div class="" title="Page 73" style="">
                        <div class="" style="">
                                <div class="" style="">
                                        <div class="" style="">
                                                <div class="" style=""><span style="font-size: 8.000000pt; font-family: 'Verdana'" class="">SE_CREATE_SYMBOLIC_LINK_NAME
"SeCreateSymbolicLinkPrivilege"</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 8pt; font-family: Verdana; font-style: normal; background-color: transparent;"><span style="font-size: 8.000000pt; font-family: 'Verdana'" class=""><br></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 11px; font-family: Verdana; font-style: normal; background-color: transparent;"><span style="font-size: 8.000000pt; font-family: 'Verdana'" class="">On the server side, for symbolic link creation, I have set the permission to Everyone, and as any user can create a symbolic link.</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 8pt; font-family: Verdana; font-style: normal; background-color: transparent;"><span style="font-size: 8.000000pt; font-family: 'Verdana'" class=""><br></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 11px; font-family: Verdana; font-style: normal; background-color: transparent;"><span
 style="font-size: 8.000000pt; font-family: 'Verdana'" class="">Now, through jcifs, if I issue FSCTL_SET_REPARSE_POINT, I am getting "<span style="font-weight: bold;">access is denied</span>".  </span></div>
                                        </div>
                                </div>
                        </div>
                </div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""> </div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">Any help on how to solve this? How to tell server that client has SE_CREATE_SYMBOLIC_LINK_NAME privilege?</div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">Thanks and
 Regards,</div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br></div></div></body></html>