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
Andrew Bartlett
4b27cc0ea6
s4:rpc_server Fix segfault in modified SamLogon handling
2010-04-10 21:41:00 +10:00
Andrew Bartlett
bc6659936a
s4:provision Don't make the 'slaptest' call produce errors
...
Adding -n 0 also allows us to check the error code too
Andrew Bartlett
2010-04-10 21:41:00 +10:00
Andrew Bartlett
0340826772
s4:rpc_server Add all SIDs into the netlogon SamLogon reply
...
We were missing the SIDs that are not in the domain.
2010-04-10 21:41:00 +10:00
Andrew Bartlett
4074739fe7
s4:schema Try to fix OpenLDAP backend after schema reload support.
...
If we can't get @REPLCHANGED, default to a value of 0.
Andrew Bartlett
2010-04-10 21:40:59 +10:00
Andrew Bartlett
c8cb17a18c
s4:heimdal Create a new PAC when impersonating a user with S4U2Self
...
If we don't do this, the PAC is given for the machine accout, not the
account being impersonated.
Andrew Bartlett
2010-04-10 21:40:59 +10:00
Andrew Bartlett
f2b63d58da
s4:kdc Add functions to hdb-samba4 for the new s4u2self callback.
...
For now, this shares the 'if it's the same host' system with the
constrained delegation code.
Andrew Bartlett
2010-04-10 21:40:59 +10:00
Andrew Bartlett
1d59abc724
s4:heimdal Add hooks to check with the DB before we allow s4u2self
...
This allows us to resolve multiple forms of a name, allowing for
example machine$@REALM to get an S4U2Self ticket for
host/machine@REALM.
Andrew Bartlett
2010-04-10 21:40:58 +10:00
Andrew Bartlett
aecaddfa1b
s4:credentials Add the functions needed to do S4U2Self with cli_credentials
...
A torture test to demonstrate will be added soon.
Andrew Bartlett
2010-04-10 21:40:58 +10:00
Andrew Bartlett
18f0e24f55
s4:credentials talloc_free() any previous salt_principal
...
This isn't used often, but it is generally better not to leak it onto
what may be a longer-term context.
Andrew Bartlett
2010-04-10 21:40:58 +10:00
Stefan Metzmacher
5beaef7cde
s4:autogen-waf: generate 'Makefile' instead of 'makefile'
...
This hopefully fixes the build on MacOS 10.
metze
2010-04-10 11:15:17 +02:00
Stefan Metzmacher
61d3ba04b4
s4:configure: generate Makefile from Makefile.in
...
This makes it possible for the waf build to also generate a 'Makefile'
instead of 'makefile'. On some platforms 'Makefile' is used before 'makefile'
metze
2010-04-10 11:06:26 +02:00
Stefan Metzmacher
8966a28b68
s4:heimdal_build/wscript_build: remove more network related stuff from HEIMDAL_ROKEN_H
...
metze
2010-04-10 10:07:11 +02:00
Stefan Metzmacher
e390edb46b
s4:heimdal_build/wscript_build: use LIBREPLACE_H for asn1_compile and compile_et
...
metze
2010-04-10 09:54:49 +02:00
Stefan Metzmacher
b2e1441864
lib/replace: create a LIBREPLACE_H subsystem
...
metze
2010-04-10 09:51:28 +02:00
Jeremy Allison
e15939b456
Plumb SMB2 stubs into all the places we defer SMB1 operations.
...
Rename functions to be internally consistent. Next step is
to cope queueing single (non-compounded) SMB2 requests to
put some code inside the stubs.
Jeremy.
2010-04-09 19:26:34 -07:00