mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:tests: Add rpcclient 'dfsgetinfo' test
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15400 Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
083fe1c28c
commit
2af9c65f2a
@ -1,2 +1,3 @@
|
||||
#_dfs_EnumEx() is not implemented on RPC server side
|
||||
^samba3.blackbox.rpcclient_dfs.dfsenumex
|
||||
^samba3.blackbox.rpcclient_dfs.dfsgetinfo
|
||||
|
@ -31,8 +31,15 @@ ${RPCCLIENTCMD} -c "dfsenum 5"
|
||||
RC=$?
|
||||
testit "dfsenum" test ${RC} -eq 0 || failed=$((failed + 1))
|
||||
|
||||
# This test fails: _dfs_EnumEx() is not implemented on samba RPC server side
|
||||
${RPCCLIENTCMD} -c "dfsenumex 5"
|
||||
RC=$?
|
||||
testit "dfsenumex" test ${RC} -eq 0 || failed=$((failed + 1))
|
||||
|
||||
# Every backslash is reduced twice, so we need to enter it 4 times.
|
||||
# Rpc server then gets: '\\server\share\path'
|
||||
${RPCCLIENTCMD} -c "dfsgetinfo \\\\\\\\${SERVER}\\\\msdfs-share\\\\msdfs-src1 ${SERVER} msdfs-src1"
|
||||
RC=$?
|
||||
testit "dfsgetinfo" test ${RC} -eq 0 || failed=$((failed + 1))
|
||||
|
||||
testok "$0" "${failed}"
|
||||
|
Loading…
Reference in New Issue
Block a user