Last change
on this file was 740, checked in by Silvan Scherrer, 13 years ago |
Samba Server: update vendor to 3.6.0
|
File size:
1.2 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | # AD-Bench utility function tests
|
---|
3 | #
|
---|
4 | # Copyright (C) 2009 Kai Blin <kai@samba.org>
|
---|
5 | #
|
---|
6 | # This file is part of AD-Bench, an Active Directory benchmark tool
|
---|
7 | #
|
---|
8 | # AD-Bench is free software: you can redistribute it and/or modify
|
---|
9 | # it under the terms of the GNU General Public License as published by
|
---|
10 | # the Free Software Foundation, either version 3 of the License, or
|
---|
11 | # (at your option) any later version.
|
---|
12 | #
|
---|
13 | # AD-Bench is distributed in the hope that it will be useful,
|
---|
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
16 | # GNU General Public License for more details.
|
---|
17 | #
|
---|
18 | # You should have received a copy of the GNU General Public License
|
---|
19 | # along with AD-Bench. If not, see <http://www.gnu.org/licenses/>.
|
---|
20 |
|
---|
21 |
|
---|
22 | source `dirname $0`/utils.sh
|
---|
23 |
|
---|
24 | INPUT="administrator@AD.EXAMPLE.COM%secret"
|
---|
25 | echo "Principal for $INPUT is " $( get_principal $INPUT )
|
---|
26 | echo "Password for $INPUT is " $( get_password $INPUT )
|
---|
27 | echo "Realm for $INPUT is " $( get_realm $INPUT )
|
---|
28 | echo "NT_DOM for $INPUT is " $( get_nt_dom $INPUT )
|
---|
29 |
|
---|
30 |
|
---|
31 | echo "Padding 2: " $( pad_number 1 2 ) " 4: " $(pad_number 23 4)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.