eduardok / libsmbclient-php

smbclient's extension for PHP
Other
96 stars 21 forks source link

DFS issues with SMBCLIENT_OPT_USE_NT_HASH #40

Open legsak1mbo opened 8 years ago

legsak1mbo commented 8 years ago

Not sure if this is an issue with libsmbclient or libsmbclient-php.

When setting SMBCLIENT_OPT_USE_NT_HASH to true you can access (and list etc.) the root of a DFS share but none of it's subfolders. This works fine when using plain credentials.

legsak1mbo commented 8 years ago

Note that using smbclient against the same share with --pw-nt-hash is fine.

eduardok commented 3 years ago

It is quite time consuming to dig through the Samba code, but at a first glance it looks like it's possible that this is happening, indeed (if it still is). That is, it seems like the CLI (smbclient) uses something other (or more) than SMBCLIENT_OPT_USE_NT_HASH. If you can still test this for us, it would be great. Thanks anyway @legsak1mbo, and sorry for the delay :)