Andreas, When you open the key with REG_OPTION_LINK flag set, the server will return the handle to the source key. With a valid handle, client should be able to update the target of the symbolic link by changing the value of SymbolicLinkValue and also delete the key that is referenced by the handle. As explicitly pointed out in 3.1.1.11, the SymbolicLinkValue for target link should contain Fully Qualified Name(3.1.1.1.1), which is something like HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices. It is not in the kernel mode string such as \registry\machine\system\MountedDevice.
How do you delete the value "SymbolocLinkVallue" ? using BaseRegDeleteValue as per 3.1.5.9 MS-RRP? What do you mean by "it didn't work" ? Do you mean that the value is not deleted or any error is returned ? Please let me know so I can clarify it further. Thanks! Hongwei -----Original Message----- From: cifs-protocol-boun...@cifs.org [mailto:cifs-protocol-boun...@cifs.org] On Behalf Of Andreas Schneider Sent: Thursday, May 20, 2010 11:08 AM To: Interoperability Documentation Help Cc: p...@tridgell.net; cifs-proto...@samba.org Subject: [cifs-protocol] MS_RRP: Question on Symbolic Links Hello Dochelp Team, my name is Andreas Schneider, I'm a PFIF subcontractor and Samba Team member. Section 3.1.1.11 of the MS-RRP document describes how to create, open and follow symbolic links. The documentation doesn't describe how to delete these symbolic links. I've tried to open the key with REG_OPTION_OPEN_LINK and delete the value "SymbolicLinkValue" but it didn't work. It looks like the target key needs to be saved in kernel mode as described here: http://support.microsoft.com/kb/264584 Is that true or are user and kernel mode valid now? Best regards, -- andreas schneider _______________________________________________ cifs-protocol mailing list cifs-protocol@cifs.org https://lists.samba.org/mailman/listinfo/cifs-protocol _______________________________________________ cifs-protocol mailing list cifs-protocol@cifs.org https://lists.samba.org/mailman/listinfo/cifs-protocol