Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python2.7 /
dist-packages /
samba /
tests /
kcc /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
3.3
KB
-rw-r--r--
2015-07-21 11:47
__init__.pyc
3.25
KB
-rw-r--r--
2021-05-01 07:33
graph.py
2.32
KB
-rw-r--r--
2015-07-21 11:47
graph.pyc
2.2
KB
-rw-r--r--
2021-05-01 07:33
graph_utils.py
5.27
KB
-rw-r--r--
2015-07-21 11:47
graph_utils.pyc
4.98
KB
-rw-r--r--
2021-05-01 07:33
kcc_utils.py
1.34
KB
-rw-r--r--
2015-07-21 11:47
kcc_utils.pyc
970
B
-rw-r--r--
2021-05-01 07:33
ldif_import_export.py
7.74
KB
-rw-r--r--
2015-07-21 11:47
ldif_import_export.pyc
9.25
KB
-rw-r--r--
2021-05-01 07:33
Save
Rename
# Unix SMB/CIFS implementation. Tests for samba.kcc.kcc_utils. # Copyright (C) Andrew Bartlett 2015 # # Written by Douglas Bagnall <douglas.bagnall@catalyst.net.nz> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # """Tests for samba.kcc.kcc_utils""" import samba import samba.tests from samba.kcc.kcc_utils import * class ScheduleTests(samba.tests.TestCase): def test_new_connection_schedule(self): schedule = new_connection_schedule() self.assertIsInstance(schedule, drsblobs.schedule) self.assertEquals(schedule.size, 188) self.assertEquals(len(schedule.dataArray[0].slots), 168) # OK, this is pathetic, but the rest of it looks really hard, with the # classes all intertwingled with each other and the samdb. That is to say: # XXX later.