Age | Commit message (Collapse) | Author | Files | Lines |
|
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
(This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
|
|
pointer anymore?
thanks valgrind!
metze
(This used to be commit ab58decf8248f3923703fabdaab697f1a8d116c8)
|
|
to specific dirs)
(This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
|
|
consistent along the file.
rafal
(This used to be commit aaccb91cca5da8a869878326da298d22a3b8b2ae)
|
|
metze
(This used to be commit a5ef3eef9cbedd273556068ba59c07ccb0060098)
|
|
but it works for now
metze
(This used to be commit ec7dbb5a98c112e86399ffcff14eb42c99d8e31d)
|
|
metze
(This used to be commit ed4fbfcf3e5b7133e73ee031ad5c68659690e2b1)
|
|
metze
(This used to be commit ba97e7c06af6f919a66622c1a6b6e58980ab2b9e)
|
|
metze
(This used to be commit ec1a7b5cefc32172ea97338a7101fe8416071b69)
|
|
metze
(This used to be commit 65be02a9801444c01230903d130b2d71b6c15617)
|
|
metze
(This used to be commit 1eca5f46c60d09fccbef5e605c06b1b3e3b65feb)
|
|
metze
(This used to be commit 6647feb761a272b687d12685bc096e4ebdd02abe)
|
|
metze
(This used to be commit c65ebc8b5574f9bd05270964dee9d4882e2d1828)
|
|
overwritten by another call (due to the implied static in
iface_ntoa()). This should save abartlet some pain
(This used to be commit 2244f298ace9f8832695cafd17c54324c11416f1)
|
|
with the owner
server, we you nbt name queries for this....
I assume w2k3 uses DCERPC calls or some WINSREPL calls for this,
but our version should work till I find out more details...
metze
(This used to be commit ff81f9e78043d29feb4832acee682ec93a9c8ed6)
|
|
thought this might be a bug)
(This used to be commit e1cd3f4b89e10c9a42f5939377df0eafb8c184a4)
|
|
Andrew Bartlett
(This used to be commit 59c380e048423d706ab65513c09dbefecb5819ae)
|
|
metze
(This used to be commit c64aef570eea8bde685aeb66cb482586e36ea020)
|
|
metze
(This used to be commit 966872646e5ac38ed5b3eb41cf339ec8f1583f17)
|
|
metze
(This used to be commit beea805a61d15dbb38add0a9c333e01279f71ada)
|
|
metze
(This used to be commit 7e702939faf70d0c02fa71b315043795bc4a1d84)
|
|
metze
(This used to be commit 5552eaa37c228872736688bb65b4f678bdfeddf4)
|
|
metze
(This used to be commit 49f78e21fe4a293fdb4d9d49d16dbed3ef8137b1)
|
|
I'll try to remove TIME_T_MIN/TIME_T_MAX completly later,
but for now I try to build on all platfarms
metze
(This used to be commit d51244b6613dc07076da56937d09e4020c596475)
|
|
metze
(This used to be commit 1253784c923b569593b5207c14567c637f3a7ae7)
|
|
- this also fixes the build on BSD systems
metze
(This used to be commit 31ff172773f1700bfd7ff24fc764d37d9b6e82c1)
|
|
(This used to be commit d4454287cf14cfdf1ceeb090da40492314703fb9)
|
|
Simo.
(This used to be commit 2f0c7b896274e5e15e150c70d7ebe70355f6c4c0)
|
|
(This used to be commit 568fc8a3412e07ac3084f441e693bc82b9ea912b)
|
|
(This used to be commit d73c343904f32956ba97e4ad82af9c9a75f5d70c)
|
|
(This used to be commit d96c84126dcc1ec97e39814f21de167528fe886f)
|
|
to add
trusted domains.
Volker
(This used to be commit 8b8bb85ad365721bfa1cf5309d53d851f2013c22)
|
|
request handler, you really have to watch the recursion issues...
Andrew Bartlett
(This used to be commit 46628e86a2be6d334b2d0427e7052517c7ab1d4c)
|
|
passwords) be moved into the database, and not be hard-coded in the
module source.
Andrew Bartlett
(This used to be commit 1fbe09ce818ac1603bd747610262865b8698fe04)
|
|
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
(This used to be commit 333b1b8c4885c47a0d14d83896fce6740fa4d663)
|
|
when gmtime() fails...
metze
(This used to be commit 523746f2712371041800301294c73bb7686bf2d5)
|
|
- 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
(This used to be commit 396fa81be5b950aa2120cff19540a0236f79a685)
|
|
expand because they don't exist yet). Thanks again to HotaruT.
Andrew Bartlett
(This used to be commit d3abfecec5c9468e93d2d40181ce5d20f8135566)
|
|
Andrew Bartlett
(This used to be commit 2a6023d7414c1c337bb24a8c6882a17380cbc658)
|
|
Andrew Bartlett
(This used to be commit 9e6997d5bde306f442b2c7379870af6495e11d25)
|
|
Andrew Bartlett
(This used to be commit 5d42638170245b684b45459d0538ea86fa811214)
|
|
Andrew Bartlett
(This used to be commit 42cdad5e3f06c307baf80396fd8449b803ef84c3)
|
|
allow escaped separation chars as part of the attr value
of an RDN
(This used to be commit 7ba341d6c3745cd99c4c79933f9bd54f41e12a9c)
|
|
Andrew Bartlett
(This used to be commit 10eadf48124d61f2eb586fb277a66aa4b9e6cad3)
|
|
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
(This used to be commit be9d0cae8989429ef47a713d8f0a82f12966fc78)
|
|
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.
(This used to be commit 4c685ac0d1638a1d5392dfe733baf0db77e84858)
|
|
the cmdline credentials if we ask for it.
Andrew Bartlett
(This used to be commit 874dd09759eb0243988f39363c94785ae2e68485)
|
|
a second_stage_init private function for modules that need a second stage init.
Simo.
(This used to be commit 5e8b365fa2d93801a5de1d9ea76ce9d5546bd248)
|
|
This should allow us to provision to a 'normal' LDAP server.
Also add in 'session info' hooks (unused). Both of these need to be
hooked in on the webserver.
Andrew Bartlett
(This used to be commit b349d2fbfefd0e0d4620b9e8e0c4136f900be1ae)
|
|
Andrew Bartlett
(This used to be commit 0f8c162211662de59f42a96fe5bdf56ed5be883f)
|