diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-02-13 00:02:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:55 -0500 |
commit | 358122c688518ffce389644b1c3b4a33e2c24c50 (patch) | |
tree | 5ee948ea65336b109a2e219801199e084694a3d6 /source4/torture/nbt | |
parent | e7630ebe47384328d6a4a44297cbd7d4f4ec8313 (diff) | |
download | samba-358122c688518ffce389644b1c3b4a33e2c24c50.tar.gz samba-358122c688518ffce389644b1c3b4a33e2c24c50.tar.bz2 samba-358122c688518ffce389644b1c3b4a33e2c24c50.zip |
r13479: Return the joined domain SID and user SID as structures, not strings.
Andrew Bartlett
(This used to be commit e1de45bce47292eef1f9c56ea5576c0436e6151d)
Diffstat (limited to 'source4/torture/nbt')
-rw-r--r-- | source4/torture/nbt/dgram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/nbt/dgram.c b/source4/torture/nbt/dgram.c index f44b819329..db074ebeba 100644 --- a/source4/torture/nbt/dgram.c +++ b/source4/torture/nbt/dgram.c @@ -250,7 +250,7 @@ static BOOL nbt_test_ntlogon(TALLOC_CTX *mem_ctx, struct socket_address *dest; struct test_join *join_ctx; struct cli_credentials *machine_credentials; - const char *dom_sid; + const struct dom_sid *dom_sid; const char *myaddress = talloc_strdup(dgmsock, iface_best_ip(address)); struct nbt_ntlogon_packet logon; @@ -305,7 +305,7 @@ static BOOL nbt_test_ntlogon(TALLOC_CTX *mem_ctx, logon.req.logon.user_name = TEST_NAME"$"; logon.req.logon.mailslot_name = dgmslot->mailslot_name; logon.req.logon.acct_control = ACB_WSTRUST; - logon.req.logon.sid = *dom_sid_parse_talloc(dgmslot, dom_sid); + logon.req.logon.sid = *dom_sid; logon.req.logon.nt_version = 1; logon.req.logon.lmnt_token = 0xFFFF; logon.req.logon.lm20_token = 0xFFFF; |