mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
formatting
This commit is contained in:
parent
bf27345a53
commit
8af8d79df9
10 changed files with 115 additions and 74 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"host": "skybox.icewind.link",
|
||||
"user": "test",
|
||||
"password": "test",
|
||||
"share": "test",
|
||||
"root": "test"
|
||||
"host": "skybox.icewind.link",
|
||||
"user": "test",
|
||||
"password": "test",
|
||||
"share": "test",
|
||||
"root": "test"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,12 +6,23 @@
|
|||
*/
|
||||
|
||||
class KRB5CCache {
|
||||
public function getEntries(): array { return [];}
|
||||
public function getName(): string {return "";}
|
||||
public function initKeytab(string $principal, string $keytab, array $flags = []): void {}
|
||||
public function initPassword(string $principal, string $password, array $flags = []): void {}
|
||||
public function isValid(): bool {return false;}
|
||||
public function open(string $source): void {}
|
||||
public function save(string $destination): void {}
|
||||
public function setConfig(string $destination): void {}
|
||||
}
|
||||
public function getEntries(): array {
|
||||
return [];
|
||||
}
|
||||
public function getName(): string {
|
||||
return "";
|
||||
}
|
||||
public function initKeytab(string $principal, string $keytab, array $flags = []): void {
|
||||
}
|
||||
public function initPassword(string $principal, string $password, array $flags = []): void {
|
||||
}
|
||||
public function isValid(): bool {
|
||||
return false;
|
||||
}
|
||||
public function open(string $source): void {
|
||||
}
|
||||
public function save(string $destination): void {
|
||||
}
|
||||
public function setConfig(string $destination): void {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@
|
|||
- SPDX-License-Identifier: MIT
|
||||
-->
|
||||
<phpunit bootstrap="bootstrap.php">
|
||||
<testsuite name='SMB'>
|
||||
<directory suffix='.php'>./</directory>
|
||||
</testsuite>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">../src</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
<testsuite name='SMB'>
|
||||
<directory suffix='.php'>./</directory>
|
||||
</testsuite>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">../src</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
||||
|
|
|
|||
|
|
@ -34,4 +34,4 @@ docker run -d --name apache${FORGEJO_RUN_NUMBER} -v $PWD:/var/www/html -v /tmp/s
|
|||
APACHE_IP=$(docker inspect apache${FORGEJO_RUN_NUMBER} --format '{{.NetworkSettings.IPAddress}}')
|
||||
|
||||
# add the dns record for apache
|
||||
docker exec dc${FORGEJO_RUN_NUMBER} samba-tool dns add krb.domain.test domain.test httpd A $APACHE_IP -U administrator --password=passwOrd1
|
||||
docker exec dc${FORGEJO_RUN_NUMBER} samba-tool dns add krb.domain.test domain.test httpd A $APACHE_IP -U administrator --password=passwOrd1
|
||||
|
|
|
|||
|
|
@ -240,4 +240,4 @@ const SMBCLIENT_OPT_NETBIOS_NAME = 11;
|
|||
const SMBCLIENT_OPT_WORKGROUP = 12;
|
||||
const SMBCLIENT_OPT_USER = 13;
|
||||
const SMBCLIENT_OPT_PORT = 14;
|
||||
const SMBCLIENT_OPT_TIMEOUT = 15;
|
||||
const SMBCLIENT_OPT_TIMEOUT = 15;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue