mirror of
https://github.com/samba-team/samba.git
synced 2025-01-21 18:04:06 +03:00
8b80145a2c
This improves commit bebee47e6386476e9948089484f89d213fcc2660 a bit further. I just got this: connect samr pipe1 use assoc_group_id[0x00000001] for new connections connect lsa pipe2 got assoc_group_id[0x00000001] for p2 samr_Connect to open a policy handle on samr p1 use policy handle on lsa p2 - should fail closing policy handle on samr p1 connect samr pipe3 - should fail Failed to bind to uuid 12345778-1234-abcd-ef00-0123456789ac for ncacn_np:localdc[\pipe\samr,validate,assoc_group_id=0x00000001,abstract_syntax=12345778-1234-abcd-ef00-0123456789ac/0x00000001] NT_STATUS_UNSUCCESSFUL connect lsa pipe4 - should fail Failed to bind to uuid 12345778-1234-abcd-ef00-0123456789ab for ncacn_np:localdc[\pipe\lsarpc,validate,assoc_group_id=0x00000001,abstract_syntax=12345778-1234-abcd-ef00-0123456789ab/0x00000000] NT_STATUS_UNSUCCESSFUL connect samr pipe5 with assoc_group_id[0xFFFFFFFF]- should fail Failed to bind to uuid 12345778-1234-abcd-ef00-0123456789ac for ncacn_np:localdc[\pipe\samr,validate,assoc_group_id=0xffffffff,abstract_syntax=12345778-1234-abcd-ef00-0123456789ac/0x00000001] NT_STATUS_UNSUCCESSFUL connect lsa pipe6 with assoc_group_id[0x00000000]- should fail UNEXPECTED(failure): samba4.rpc.handles on ncacn_np with validate.mixed-shared(ad_dc_ntvfs) REASON: Exception: Exception: ../../source4/torture/rpc/handles.c:500: status was NT_STATUS_OK, expected NT_STATUS_UNSUCCESSFUL: opening lsa pipe6 FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites) A summary with detailed information can be found in: Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>