mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
samba-tool tests: remove duplicate definitions of test functions
Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
9983caaa47
commit
c35b3ef2e1
@ -124,12 +124,6 @@ EOF
|
||||
-H "ldap://$SERVER" "-U$USERNAME" "--password=$PASSWORD"
|
||||
}
|
||||
|
||||
get_attribute_base64_control() {
|
||||
$PYTHON ${STpath}/source4/scripting/bin/samba-tool computer show \
|
||||
testmachine1 --attributes=displayName \
|
||||
-H "ldap://$SERVER" "-U$USERNAME" "--password=$PASSWORD"
|
||||
}
|
||||
|
||||
# Test edit computer - change attributes with LDB_FLAG_FORCE_NO_BASE64_LDIF
|
||||
change_attribute_force_no_base64() {
|
||||
# create editor.sh
|
||||
|
@ -109,12 +109,6 @@ EOF
|
||||
-H "ldap://$SERVER" "-U$USERNAME" "--password=$PASSWORD"
|
||||
}
|
||||
|
||||
get_attribute_base64_control() {
|
||||
$PYTHON ${STpath}/source4/scripting/bin/samba-tool contact show \
|
||||
testcontact1 --attributes=displayName \
|
||||
-H "ldap://$SERVER" "-U$USERNAME" "--password=$PASSWORD"
|
||||
}
|
||||
|
||||
# Test edit contact - change attributes with LDB_FLAG_FORCE_NO_BASE64_LDIF
|
||||
change_attribute_force_no_base64() {
|
||||
# create editor.sh
|
||||
|
@ -155,12 +155,6 @@ EOF
|
||||
-H "ldap://$SERVER" "-U$USERNAME" "--password=$PASSWORD"
|
||||
}
|
||||
|
||||
get_attribute_base64_control() {
|
||||
$PYTHON ${STpath}/source4/scripting/bin/samba-tool group show \
|
||||
testgroup1 --attributes=displayName \
|
||||
-H "ldap://$SERVER" "-U$USERNAME" "--password=$PASSWORD"
|
||||
}
|
||||
|
||||
# Test edit group - change attributes with LDB_FLAG_FORCE_NO_BASE64_LDIF
|
||||
change_attribute_force_no_base64() {
|
||||
# create editor.sh
|
||||
|
@ -123,12 +123,6 @@ EOF
|
||||
-H "ldap://$SERVER" "-U$USERNAME" "--password=$PASSWORD"
|
||||
}
|
||||
|
||||
get_attribute_base64_control() {
|
||||
$PYTHON ${STpath}/source4/scripting/bin/samba-tool user show \
|
||||
sambatool1 --attributes=displayName \
|
||||
-H "ldap://$SERVER" "-U$USERNAME" "--password=$PASSWORD"
|
||||
}
|
||||
|
||||
# Test edit user - change attributes with LDB_FLAG_FORCE_NO_BASE64_LDIF
|
||||
change_attribute_force_no_base64() {
|
||||
# create editor.sh
|
||||
|
Reference in New Issue
Block a user