Volker Lendecke
5792ccc7c8
s3: Move check_sam_security to auth/check_sam.c
2010-04-11 22:59:46 +02:00
Volker Lendecke
04f9e33de1
s3: Make check_sam_security public
2010-04-11 22:59:46 +02:00
Volker Lendecke
a0c175eca9
s3: Replace "auth_context" by "challenge" in need_to_increment_bad_pw_count args
2010-04-11 22:59:45 +02:00
Volker Lendecke
19c0086553
s3: Replace "auth_context" by "challenge" in sam_password_ok args
2010-04-11 22:59:45 +02:00
Volker Lendecke
7ba21a339c
s3: Move user_in_group() and create_token_from_username() to token_utils.c
...
Goal is to be able to call check_sam_security from winbind
2010-04-11 22:59:45 +02:00
Volker Lendecke
4d84dab21d
libcli/auth: Fix an uninitialized variable
...
value.dptr was used uninitialized in the "goto done;"
2010-04-11 22:57:25 +02:00
Kai Blin
da7294ae0d
nsswitch/wbinfo: Fix the S4 header check
2010-04-11 22:39:27 +02:00
Jelmer Vernooij
e1630ecb11
idl: Use C-style comments, because cpp on some platforms doesn't accept
...
// comments.
2010-04-11 22:19:49 +02:00
Matthias Dieter Wallnöfer
1d3b00bfd7
s4:dbspeed torture - improve also the TDB code part
...
Always use the label "failed" on failures, always close the database context
(child of "tmp_ctx") when deleting database file.
2010-04-11 21:49:02 +02:00
Matthias Dieter Wallnöfer
1fd6d9cd66
s4:dbspeed torture - remove unneeded newlines on "torture_result"
...
According to Jelmer's post on the technical list.
2010-04-11 21:49:02 +02:00
Jelmer Vernooij
b65c8d0505
s4: Fix more test results to not conflict with subunit commands.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
5d0694f994
subunit: Cope with lowercase test results in tap2subunit.
...
Also submitted upstream.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
3a34b5f35e
subunit: Remove more test output that could be interpreted by subunit.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
7da94cc4a6
subunit: Support formatting compatible with upstream subunit, for consistency.
...
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
d0ab7440ac
selftest: Accept 'testing:' to introduce new tests.
2010-04-11 20:57:33 +02:00
Derrell Lipman
0ee1985b05
[Bug 7345] Incomplete description of function return values in libsmbclient.h
...
- Fixed documentation on smbc_fstat(), smbc_statvfs(), and smbc_fstatvfs():
All were missing return value upon success
- Fixed documentation on smbc_read:
Documented return value upon EOF
Derrell
2010-04-11 11:37:00 -04:00
Volker Lendecke
59d68899c4
s3: Use sizeof(chal) instead of a constant
2010-04-11 15:28:39 +02:00
Volker Lendecke
b0d65f827e
s3: Use talloc_stackframe() in user_in_group
2010-04-11 13:53:21 +02:00
Volker Lendecke
9655f63642
s3: Use talloc_stackframe() in user_in_group_sid
2010-04-11 13:53:21 +02:00
Volker Lendecke
9cf448a30e
s3: Use talloc_stackframe() in create_token_from_username
2010-04-11 13:53:21 +02:00
Volker Lendecke
3c169c0475
s3: Fix a memleak in user_in_group_sid
2010-04-11 13:53:20 +02:00
Volker Lendecke
a2d1e5e0f7
s3: Remove the make_auth_methods routine
...
This was just TALLOC_ZERO_P
2010-04-11 13:53:19 +02:00
Volker Lendecke
bc619586f2
s3: Fix a typo
2010-04-11 13:53:19 +02:00
Volker Lendecke
c5c40f2648
s3: Make "auth_context" its own talloc parent
...
Remove "mem_ctx" from "struct auth_context"
2010-04-11 13:53:19 +02:00
Volker Lendecke
e35a2f89b2
s3: Fix some nonempty lines
2010-04-11 13:53:18 +02:00
Matthias Dieter Wallnöfer
568ca2433d
s4:samdb_server_site_dn - free unused DNs in the right way
2010-04-11 13:20:44 +02:00
Matthias Dieter Wallnöfer
c7dfe736a8
s4:torture - "dbspeed" test - add newlines as we have them in the other failure messages
2010-04-11 11:33:45 +02:00
Matthias Dieter Wallnöfer
52ab3ca5e6
s4:torture - "dbspeed" test
...
Calculate the leaks on base of the "tmp_ctx" not the torture context.
2010-04-11 11:31:48 +02:00
Matthias Dieter Wallnöfer
753698e070
s4:torture - "dbspeed" test
...
Unify error handling.
2010-04-11 11:31:47 +02:00
Matthias Dieter Wallnöfer
cc32e7aff2
s4:torture - "dbspeed" test
...
Add more "talloc_free"s where needed or useful.
2010-04-11 11:31:47 +02:00
Volker Lendecke
b91484a1a0
s3: Cosmetics -- I could not spot where "chal" was initialized
2010-04-11 11:15:44 +02:00
Andrew Bartlett
2c193fe91a
s4:auth Remove event context from anonymous_session()
...
This should always return a simple structure with no need to consult a
DB, so remove the event context, and simplfy to call helper functions
that don't look at privilages.
Andrew Bartlett
2010-04-11 13:36:04 +10:00
Volker Lendecke
18078ec445
s3: Use IS_DC macro in get_global_sam_name()
...
Much as I dislike macros, this one is there. So why not use it...
2010-04-10 22:55:06 +02:00
Volker Lendecke
f73e480e19
s3: Remove domain selection from dual_pam_auth
...
We're in a child, the parent already has chosen the domain by
picking the right child to connect to.
Metze, you've done work on winbind lately, so it goes to you:
Please check :-)
2010-04-10 22:42:25 +02:00
Jelmer Vernooij
664eacc53a
subunit: Don't abort when receiving test results from tests that weren't
...
announced.
2010-04-10 22:38:33 +02:00
Jelmer Vernooij
64bf8c400c
selftest: Support passing --load-list to test runners.
2010-04-10 22:38:32 +02:00
Jelmer Vernooij
4fb98b6856
torture: Simplify torture suite running, call restricted test suite runner.
2010-04-10 22:38:32 +02:00
Jelmer Vernooij
6b442f43bc
smbtorture: Remove unused shell feature.
2010-04-10 22:38:32 +02:00
Jelmer Vernooij
24f364517b
smbtorture: Support --load-list argument.
2010-04-10 22:38:32 +02:00
Matthias Dieter Wallnöfer
0b7bb7f85a
s4:registry - "patchfile_preg.c" - use more "sizeof"s on length specification
...
This makes the code more clear to read.
2010-04-10 19:58:09 +02:00
Matthias Dieter Wallnöfer
458a441f7f
s4:registry - "patchfile_preg.c" - fix indentation
2010-04-10 19:58:08 +02:00
Matthias Dieter Wallnöfer
c7c8f0ccf3
s4:registry - "patchfile_preg.c" - fix a datatype
...
This should be an "uint16_t" (only two bytes are written).
2010-04-10 19:58:08 +02:00
Volker Lendecke
1038a134ed
libwbclient: Fix a memleak in wbcGetDisplayName
2010-04-10 17:05:38 +02:00
Volker Lendecke
27d3bdd36b
libwbclient: Ensure correct 0-termination in wbcGetSidAliases
2010-04-10 17:05:38 +02:00
Volker Lendecke
4085e189a1
s3: Check 0 termination in GETALIASES
2010-04-10 17:05:38 +02:00
Andrew Bartlett
77267733ed
s4:dsdb Don't use the permissive modify control on schemaInfo updates
...
The use of 'replace' is enough to wipe out the old value, whatever it
is, we don't need to set 'permissive modify' too.
Additionally, this seems to be causing trouble for the OpenLDAP backend
Andrew Bartlett
2010-04-10 21:41:57 +10:00
Andrew Bartlett
5ebeab3794
s4:dsdb Don't return operational attributes on special DNs
2010-04-10 21:41:02 +10:00
Andrew Bartlett
6ef167c37b
s4:rootdse Implement "tokenGroups" in the rootDSE
...
This returns the currently connected user's full token. This is very
useful for debugging, and should be used in ACL tests.
Andrew Bartlett
2010-04-10 21:41:02 +10:00
Andrew Bartlett
944dc2cb0b
s4:dsdb Improve error message in extended_dn_in
...
This error occours when an extended DN cannot be resolved, so it's
most helpful to print the problematic extended DN.
Andrew Bartlett
2010-04-10 21:41:01 +10:00
Andrew Bartlett
78dd377849
s4:ldif_handlers tokenGroups are SIDs
2010-04-10 21:41:01 +10:00