source: trunk/server/testsuite/build_farm/basicsmb-domainsec.test

Last change on this file was 414, checked in by Herwig Bauernfeind, 16 years ago

Samba 3.5.0: Initial import

File size: 643 bytes
Line 
1
2. basicsmb.fns
3
4test_joindomain() {
5 test_join_domain_password="$1"
6
7 echo "$prefix/bin/net rpc join -S localhost -U $whoami%$test_join_domain_password"
8 $prefix/bin/net rpc join -S localhost -U $whoami%$test_join_domain_password
9 status=$?
10 if [ $status = 0 ]; then
11 echo "'net rpc join' correctly joined the domain"
12 else
13 echo "'net rpc join' failed to join the domain! (status $status)"
14 return 1
15 fi
16 return 0
17}
18
19password=samba
20(test_smb_conf_setup && test_smbpasswd $password ) || exit 1
21
22test_joindomain $password || exit 1
23
24security=DOMAIN
25test_listfilesauth $security || exit 1
26test_listfilesnpw $security || exit 1
27
Note: See TracBrowser for help on using the repository browser.