Detect Vista symlinks with libsmbclient

Henrik Zagerholm henke at mac.se
Tue Apr 24 08:01:13 GMT 2007


Hello,

I've just started to experiment with Vista and I wonder if I can  
somehow tell if a file object is an ordinary file or a symlink/junction?

As I understand it I will not be able to follow symlinks until the  
implementation of SMB2 so in the meantime I would like to ignore  
those files (instead of throwing a bunch of EBADF).

Any ideas?

Regards,
Henrik


More information about the samba-technical mailing list