mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
add note when trying to run apache example from cli
This commit is contained in:
parent
93b1f14b5d
commit
db292415c2
1 changed files with 5 additions and 1 deletions
|
|
@ -2,8 +2,12 @@
|
|||
|
||||
require('vendor/autoload.php');
|
||||
|
||||
if (php_sapi_name() == "cli") {
|
||||
echo "Note: this example shouldn't be called from cli as it expects apache to setup the keberos ticket\n";
|
||||
}
|
||||
|
||||
// dfs paths not working
|
||||
$host = 'dc.domain.local';
|
||||
$host = 'krb.domain.test';
|
||||
$share = 'netlogon';
|
||||
|
||||
$auth = new \Icewind\SMB\KerberosApacheAuth();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue