| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
it currently doesn't do much, but it's later
prevent adding corrupted records via ldbedit,
and will take care of the versionID counter
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 'make doxygen' generated the api documentation under apidocs/
Many thanks to Brad Hards <bradh@frogmouth.net> for the patches!
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
now the three supported controls (paged_results,
server_sort, extended_dn) are fully functional
and the infrastructure to add more is in place.
valgrind is happy too :)
Simo.
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | |
| | |
| | | |
this helps in getting symbol -fvisibility=hidden (GCC 4 feature) working later.
metze
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Thank to Andrew Bartlet for finding out a test case that showed it up.
Simo.
|
| | |
| | |
| | |
| | | |
Guenther
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
too, and for this we don't include includes.h
(hopefully) fix the build on AIX
metze
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
structure that is more generic than just 'IP/port'.
It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).
This passes 'make test' as well as kerberos use (not currently in the
testsuite).
The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again. It also removes nbt_peer_addr, which was being used
for a similar purpose.
It is a large change, but worthwhile I feel.
Andrew Bartlett
|
| | |
| | |
| | |
| | | |
to specific dirs)
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | |
| | |
| | | |
but it works for now
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | |
| | | |
overwritten by another call (due to the implied static in
iface_ntoa()). This should save abartlet some pain
|
| | |
| | |
| | |
| | | |
thought this might be a bug)
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I'll try to remove TIME_T_MIN/TIME_T_MAX completly later,
but for now I try to build on all platfarms
metze
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
was a bad idea...
as in samba4 we use TIME_T_MIN = 0 (maybe we should do this in samba3 too) because
negativ values mean error.
but still restrict TIME_T_MAX to INT32_MAX, to not overflow gmtime() on 64 bit systems,
is this behavior documented somewhere?
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- but limit TIME_T_MAX to INT32_MAX, otherwise 64 platfroms are broken
because gmtime() will fail with INT64_MAX passed in!
I'm not sure if that's the best fix for this problem, but it works...
Should we port the INT32_MAX limitation to samba3?
Comments, please?
metze
|
| | |
| | |
| | |
| | |
| | | |
allow escaped separation chars as part of the attr value
of an RDN
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This should be replaced with real ACLs, which tridge is working on.
In the meantime, the rules are very simple:
- SYSTEM and Administrators can read all.
- Users and anonymous cannot read passwords, can read everything else
- list of 'password' attributes is hard-coded
Most of the difficult work in this was fighting with the C/js
interface to add a system_session() all, as it still doesn't get on
with me :-)
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
command line to ldbsearch. Very rough work, no checks are
done on the input yet (will segfault if you make it wrong).
Controls are passed via the --controls switch an are comma
separated (no escaping yet).
General syntax is <ctrl_name>:<criticality>
<ctrl_name> is a string
<criticality> is 1 or 0
Current semi-parsed controls are:
server_sort
syntax: server_sort:1:0:attributename
1st parm: criticality
2nd parm: reversed
3rd parm: attribute name to be used for sorting
todo: still missing suport for multiple sorting
attributes and ordering rule
no check on result code
paged_results
syntax: paged_results:1:100
1st parm: criticality
2nd parm: number of results to be returned
todo: ldbsearch will return only the first batch
(missing code to cycle over conditionally)
no check on result code
extended_dn
syntax: extended_dn:1:0
1st parm: criticality
2nd parm: type, see MS docs on meaning
Simo.
|
| | |
| | |
| | |
| | |
| | |
| | | |
a second_stage_init private function for modules that need a second stage init.
Simo.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There's still lot of work to do but the patch is stable
enough to be pushed into the main samba4 tree.
Simo.
|
| | |
| | |
| | |
| | |
| | |
| | | |
It needs work to not dump defaults from loadparm.c, but otherwise it works.
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also fix up all the current issues with the skel module.
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | | |
be a valid talloc() pointer, as other modules may rely on this.
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | | |
returned address.
Andrew Bartlett
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force
specific modules to always be included
|
| | | |
|
| | |
| | |
| | |
| | | |
thanks Brad
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- we already call usleep() directly in some places,
so do it everywhere
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | | |
|
| | |
| | |
| | |
| | | |
Andrew Bartlett
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
dependencies
with proto.h
|