Andrew Tridgell
2132d38f9c
r2900: rusty pointed out to me that discard_const() can be done via a macro
...
on systems that have the intptr_t type, and for systems that don't
have it, they also almost certainly won't have -Wcast-qual, so we can use a
void* cast.
2007-10-10 12:59:46 -05:00
Jelmer Vernooij
4b5bf739f5
r2898: - Support enumerating remote registry values
...
- Some LDB updates
2007-10-10 12:59:45 -05:00
Jelmer Vernooij
f4860afc48
r2897: Fix double registration (of the registry subsystem) bug
2007-10-10 12:59:45 -05:00
Jelmer Vernooij
e9a7f729b3
r2896: Add torture test for EnumValue()
2007-10-10 12:59:45 -05:00
Volker Lendecke
8e26775134
r2895: Another nut to crack, not sure how hard: The statinfo on a file does obviously
...
not change during a write. The nasty thing: Excel 2003 obviosly does depend on
this.
Volker
2007-10-10 12:59:45 -05:00
Andrew Tridgell
749fa73544
r2893: added very primitive name mangling support to pvfs
2007-10-10 12:59:45 -05:00
Stefan Metzmacher
1a3b546fce
r2892: fix compiler warning
...
metze
2007-10-10 12:59:44 -05:00
Stefan Metzmacher
071c19c25d
r2891: call rootDSE only with LDAP_SEARCH_SCOPE_BASE
...
this is needed because of the global catalog
metze
2007-10-10 12:59:43 -05:00
Stefan Metzmacher
82e792a0ce
r2890: fix segfault when call is destroyed and we dereference it
...
metze
2007-10-10 12:59:43 -05:00
Stefan Metzmacher
536af87ef1
r2889: add DRSUAPI server
...
- with DsBind and DsUnbind implmented :-)
the RPC-DRSUAPI test works
metze
2007-10-10 12:59:42 -05:00
Stefan Metzmacher
de73676342
r2888: - add 'Ds' prefix to Bind and Unbind call on drsuapi
...
- rename handle -> bind_handle
- change function types to NTSTATUS
metze
2007-10-10 12:59:42 -05:00
Stefan Metzmacher
5143a9bd8a
r2887: fix comment
...
metze
2007-10-10 12:59:42 -05:00
Stefan Metzmacher
f3f2d1c676
r2886: missing stuff from last commit
...
metze
2007-10-10 12:59:42 -05:00
Stefan Metzmacher
0f5267c29c
r2885: windows doesn't try to do sign or seal by default
...
metze
2007-10-10 12:59:42 -05:00
Stefan Metzmacher
e23dcb1887
r2884: parse LDAP Control messages
...
metze
2007-10-10 12:59:42 -05:00
Stefan Metzmacher
ad7b0385cf
r2883: set BOOL to the internal values not the wire ones
...
metze
2007-10-10 12:59:42 -05:00
Stefan Metzmacher
9fb1b0e2d2
r2882: fix mistake that caused a failure on a bind to a dynamic tcp port
...
metze
2007-10-10 12:59:42 -05:00
Stefan Metzmacher
7d17122c71
r2881: also bind the ldap service on the global catalog service port
...
(port 3268)
metze
2007-10-10 12:59:42 -05:00
Stefan Metzmacher
650713f7fe
r2880: move the rootdse.ldif template to the source/ dir
...
so that that it will be easier found by running
./script/rootdse.pl
metze
2007-10-10 12:59:41 -05:00
Stefan Metzmacher
0f6d0b53eb
r2879: the domain name should be resolved to the ip addresses of all dc's
...
sort entries by service
metze
2007-10-10 12:59:41 -05:00
Stefan Metzmacher
34fe29c04a
r2878: add server sasl support
...
(there are a lot of clean ups following later, but the LDAP-BASIC test
works :-)
metze
2007-10-10 12:59:41 -05:00
Stefan Metzmacher
5c3f3b4072
r2877: the Bind and Unbind function are already moved...
...
metze
2007-10-10 12:59:41 -05:00
Stefan Metzmacher
0b30ec593f
r2876: - more than one rootDSE entry in the database is an error!
...
- don't say that we provide the same functionality as w2k3
- netbiosname is always upper case hostname
- minor fixes rootdse.pl
metze
2007-10-10 12:59:41 -05:00
Simo Sorce
d878c3c365
r2875: some fixes + (C) note
2007-10-10 12:59:41 -05:00
Simo Sorce
923c936088
r2874: Italian CodeJam commit :-)
...
implemented rootDSE on ldb with rootdse.ldif and related script to populate a basic rootDSE tree
2007-10-10 12:59:41 -05:00
Stefan Metzmacher
1e8c431331
r2873: create a DNS zone file for a BIND name server
...
metze
2007-10-10 12:59:41 -05:00
Andrew Tridgell
4bb410756d
r2872: got rid of a couple of unused (and horrible) functions
2007-10-10 12:59:40 -05:00
Andrew Tridgell
b04202eaac
r2871: - got rid of the last bits of non-threadsafe data in util_str.o
...
- switch the fallback case tables to use talloc
- moved the used-once octal_string() inline in loadparm.c
2007-10-10 12:59:40 -05:00
Stefan Metzmacher
343b575baa
r2867: make call_backtrace() public
...
this is very usefull we you don't want to use smb_panic()
metze
2007-10-10 12:59:40 -05:00
Stefan Metzmacher
3aa1a29897
r2864: - Bind and Unbind are no directory partition operations
...
- move Bind Unbind code to a seperate file
metze
2007-10-10 12:59:40 -05:00
Stefan Metzmacher
5173c4d4fe
r2863: move the logical ldapsrv functions to a seperate file
...
metze
2007-10-10 12:59:40 -05:00
Stefan Metzmacher
9a7505bd74
r2862: prepare LDAP SASL support for the server
...
metze
2007-10-10 12:59:40 -05:00
Stefan Metzmacher
cc77baf729
r2861: encode and decode BindRequest/Response correct
...
and some minor changes
- make ldap_encode/decode_response maore usable
metze
2007-10-10 12:59:40 -05:00
Stefan Metzmacher
30aa8af044
r2860: add gensec_have_feature() to check what feature are used in the connection
...
metze
2007-10-10 12:59:39 -05:00
Andrew Bartlett
18367c4235
r2859: It seems useful to allow the seal/unseal functions in gensec to pass
...
though to the sign/check_sig functions.
Andrew Bartlett
2007-10-10 12:59:39 -05:00
Stefan Metzmacher
285d1ea4b0
r2858: fix a few SMB_EXT_LIB_FROM_PKGCONFIG() bugs
...
metze
2007-10-10 12:59:39 -05:00
Andrew Tridgell
814881f0e5
r2857: this commit gets rid of smb_ucs2_t, wpstring and fpstring, plus lots of associated functions.
...
The motivation for this change was to avoid having to convert to/from
ucs2 strings for so many operations. Doing that was slow, used many
static buffers, and was also incorrect as it didn't cope properly with
unicode codepoints above 65536 (which could not be represented
correctly as smb_ucs2_t chars)
The two core functions that allowed this change are next_codepoint()
and push_codepoint(). These functions allow you to correctly walk a
arbitrary multi-byte string a character at a time without converting
the whole string to ucs2.
While doing this cleanup I also fixed several ucs2 string handling
bugs. See the commit for details.
The following code (which counts the number of occuraces of 'c' in a
string) shows how to use the new interface:
size_t count_chars(const char *s, char c)
{
size_t count = 0;
while (*s) {
size_t size;
codepoint_t c2 = next_codepoint(s, &size);
if (c2 == c) count++;
s += size;
}
return count;
}
2007-10-10 12:59:39 -05:00
Andrew Tridgell
1b3c7d9cfa
r2856: fixed a minor memory leak in the auth code
2007-10-10 12:59:39 -05:00
Stefan Metzmacher
d23335bc14
r2855: fix error codes for Compare
...
metze
2007-10-10 12:59:39 -05:00
Andrew Tridgell
04eaae59cd
r2854: added a RPC-COUNTCALLS torture test - a useful varient on the full scanner in RPC-SCANNER
2007-10-10 12:59:39 -05:00
Stefan Metzmacher
1dabd04e26
r2853: add torture test to find the defaultNamingContext on the RootDSE
...
try a sasl sealed CompareRequest
abartlet: we need to check how SINGING only can work,
it failed for me:-(
metze
2007-10-10 12:59:38 -05:00
Stefan Metzmacher
778cf6d92b
r2851: don't destroy the gensec context it's used for sign and seal
...
check the result of ldap_receive()
metze
2007-10-10 12:59:38 -05:00
Stefan Metzmacher
d02fab41f8
r2850: - check for GENSEC_WANT_SEAL in gensec_unseal_packet()
...
- pass functions to the subcontext in spnego
metze
2007-10-10 12:59:38 -05:00
Andrew Tridgell
391b09dad1
r2836: removed a couple of unused variables
2007-10-10 12:59:38 -05:00
Andrew Tridgell
db1ed5675a
r2833: - added a call to SamrQueryGroupMember for every group, and fix the
...
IDL so this works (the previous IDL was bogus)
- changed a hyper to uint64 after looking at output on cascade on sparc
2007-10-10 12:59:37 -05:00
Volker Lendecke
e9fa997fd7
r2831: // style comments are not supported by pure C preprocessors. Please DONT use
...
them. This includes idl files.
Volker
2007-10-10 12:59:37 -05:00
Volker Lendecke
d9f3c4e301
r2830: // style comments are not supported by pure C preprocessors. Please DONT use
...
them. This includes idl files.
Volker
2007-10-10 12:59:37 -05:00
Stefan Metzmacher
0b46dc6f4b
r2829: REALM and netbiosname are always uppercase
...
dnsname and dnshostname always lowercase
metze
2007-10-10 12:59:37 -05:00
Stefan Metzmacher
a8f2fe0ff0
r2825: fix the build
...
this function names are unsed elsewhere in the code too
metze
2007-10-10 12:59:37 -05:00
Simo Sorce
3af61cb6cd
r2820: complete the parsing routing with correct support for escaped chars
...
clean up simple_ldb functions
2007-10-10 12:59:37 -05:00