1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

5848 Commits

Author SHA1 Message Date
Stefan Metzmacher
f88bf54c7f r889: convert samba4 to use [u]int16_t instead of [u]int16
metze
(This used to be commit af6f1f8a01)
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
f2ad98a165 r888: more ..int32 -> ..int32_t stuff
metze
(This used to be commit f3b1d3bdc7)
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
f9d8f8843d r884: convert samba4 to use [u]int32_t instead of [u]int32
metze
(This used to be commit 0e5517d937)
2007-10-10 12:56:15 -05:00
Andrew Bartlett
5b0ab386cb r874: This patch is a pile of work on NTLMSSP:
Samba's NTLMSSP code is now fully talloc based, which should go a long
way to cleaning up the memory leaks in this code.  This also avoids a
lot of extra copies of data, as we now allocate the 'return' blobs on
a caller-supplied context.

I have also been doing a lot of work towards NTLM2 signing and
sealing.  I have this working for sealing, but not for the verifier
(MD5 integrity check on the stream) which is still incorrect.

(I can aim a rpcecho sinkdata from a Win2k3 box to my server, and the
data arrives intact, but the signature check fails.  It does however
match the test values I have...).

The new torture test is cludged in - when we get a unit test suite
back, I'll happliy put it in the 'right' place....

Andrew Bartlett
(This used to be commit 399e2e2b11)
2007-10-10 12:56:14 -05:00
Andrew Tridgell
579c13da43 r873: converted samba4 to use real 64 bit integers instead of
structures. This was suggested by metze recently.

I checked on the build farm and all the machines we have support 64
bit ints, and support the LL suffix for 64 bit constants. I suspect
some won't support strtoll() and related functions, so we will
probably need replacements for those.
(This used to be commit 9a9244a1c6)
2007-10-10 12:56:14 -05:00
Stefan Metzmacher
b744493be5 r862: remove acl and sendfile stuff
it will be readded inside the ntvfs_posix module

metze
(This used to be commit ec624aefa8)
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
1f033febfe r861: remove the next round of unused stuff
metze
(This used to be commit 8f59daba0d)
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
2fbe37362f r858: - remove unused account policy stuff it's in our sam.ldb now:-)
- don't link lib/ldap_escape.c it's currently unused

metze
(This used to be commit be472beea3)
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
69e40486f9 r857: fix the build of gregedit (typo:-)
metze
(This used to be commit 44de741038)
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
7fb1be7373 r853: remove a real big bunch of unused code
I really think that this is needed to get a better overview of what is currently used
Also this stuff is really out of date

so if we really ever need some of this stuff back,
a 'svn copy' from the SAMBA_3_0 branch should be no big problem...

metze
(This used to be commit 972598d511)
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
d17ca56aed r851: convert lib/registry/ to a config.mk file
metze
(This used to be commit b556760146)
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
1c43e84766 r849: move tdb/tools/Makefile to tdb/Makefile.tdb
like in ldb

also fix the makefile to let it compile the tools fine

metze
(This used to be commit e3191b54ea)
2007-10-10 12:56:11 -05:00
Stefan Metzmacher
a3d61e0485 r848: convert lib/tdb into the same layout as lib/ldb
metze
(This used to be commit bacab322ce)
2007-10-10 12:56:02 -05:00
Stefan Metzmacher
ea0717b2e2 r845: convert SUBSYSTEM LIBBASIC to a .mk file
metze
(This used to be commit 81f50fbc95)
2007-10-10 12:53:54 -05:00
Jelmer Vernooij
25ed82e7ee r834: Fix gconf and dir backends
(This used to be commit fe5166ee88)
2007-10-10 12:53:54 -05:00
Jelmer Vernooij
f0d7ae39c0 r833: Compile error
(This used to be commit e4f6ca8522)
2007-10-10 12:53:54 -05:00
Jelmer Vernooij
b4c23f5a52 r832: Only show menu items for backends if they're present
(This used to be commit 9228aeeafd)
2007-10-10 12:53:54 -05:00
Andrew Bartlett
5b5e793d16 r831: These functions duplicate the push/pull charcnv interfaces that we use
everywhere else in the Samba code, so remove them for clarity.

(ok, so  also just never liked the names  ;-)

Andrew Bartlett
(This used to be commit 5f5786ad5f)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
a64be8dbdd r830: Use pull_ucs2_talloc() instead of acnv_u2ux() and fix a memory leak.
(This used to be commit ad88561bec)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
4a137a7cf1 r829: Implement 'hive' command
(This used to be commit 2a87981bd0)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
f371d24542 r828: Some fixes in the core and regshell concerning hives and
unicode
(This used to be commit 25c27b176c)
2007-10-10 12:53:53 -05:00
Andrew Tridgell
f7a7192eff r827: remove a few more unused functions that we are unlikely to use again
(This used to be commit 121dd9ba00)
2007-10-10 12:53:53 -05:00
Andrew Tridgell
f11cc69df3 r826: removed a pile of old code, in preparation for a new ACL handling system. I'd like to get rid of DOM_SID completely soon
(This used to be commit e306e27cf3)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
bf52e242f5 r825: - Introduce support for multiple roots (or 'hives')
- Clean up rpc backend (possible now that multiple hives are supported)
(This used to be commit 8cd1b6bc70)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
1ca75ec3bb r819: Fix seg fault in rpc backend, found by Andrew Bartlett
(This used to be commit d4cc4b3d68)
2007-10-10 12:53:52 -05:00
Andrew Bartlett
93076cb9bc r816: - Make use of tridge's new samdb_result_sid_prefix() helper function.
- Remove legacy sid_to_string (which contained a memleak)

 - Remove some unused parts of lib/util_sid.c

Andrew Bartlett
(This used to be commit 7c69a85984)
2007-10-10 12:53:52 -05:00
Andrew Tridgell
054453b584 r811: make the ldb_modify REPLACE semantics better match LDAP (ie. no error
on the attribute not existing and allow an empty replace)
(This used to be commit 1418b667d9)
2007-10-10 12:53:51 -05:00
Simo Sorce
b047b71b45 r808: fix libtdb build by ifedffing out an smb_panic() and copying over CatchSignal fn from lib/signal changing it's name to TdbCatchSignal
(This used to be commit e1afaa1e9c)
2007-10-10 12:53:51 -05:00
Andrew Tridgell
f0a8f718ff r792: - changed the ldb ldif_* functions to be in the ldb_ namespace
- added better error reporting in ldbdel

 - fixed a bug in handling packing of records which contain elements
   with no values (it caused db corruption)

 - allow search with "dn" as target attribute
(This used to be commit 3657539623)
2007-10-10 12:53:50 -05:00
Andrew Tridgell
0a083d1e08 r791: added ldb man page build to ldb makefile
(This used to be commit ec38392888)
2007-10-10 12:53:50 -05:00
Andrew Tridgell
4219ec1dec r790: started working on some documentation (manual pages) for ldb
(This used to be commit dcb9d1a897)
2007-10-10 12:53:50 -05:00
Andrew Bartlett
064e7447be r743: Start on a NETLOGON server in Samba4.
Currently this only authentiates the machine, not real users.

As a consequence of running the Samba4 NETLOGON test against Samba4, I
found a number of issues in the SAMR server, which I have addressed.
There are more templates in the provison.ldif for this reason.

I also added some debug to our credentials code, and fixed some bugs
in the auth_sam module.

The static buffer in generate_random_string() bit me badly, so I
removed it in favor of a talloc based system.

Andrew Bartlett
(This used to be commit 94624e519b)
2007-10-10 12:53:46 -05:00
Jelmer Vernooij
53f2f8254b r734: Fix crash bug
(This used to be commit 178cd902fc)
2007-10-10 12:53:45 -05:00
Stefan Metzmacher
a2273116fb r728: - let libldb_tdb depend on new subsystem LIBTDB
- remove tdb logging helper functions out of LIBTDB subsystem

- build libtdb shared lib with 'make library_libtdb'

the libs are not usable for now,

tridge: please remove the dependecy of CatchSignal() and smb_panic()
        from libtdb
	maybe use function pointers in the TDB_CONTEXT

	then run make library_libtdb
	and then make build/tests/trivial.o
	and then gcc -o trivial -L./bin -ltdb
	and then gcc -o trivial -L./bin -lldb

metze
(This used to be commit 520b976216)
2007-10-10 12:53:45 -05:00
Andrew Bartlett
0f14ae46f3 r715: Finish the ldb conversion for the auth_sam module.
Andrew Bartlett
(This used to be commit 099151cdab)
2007-10-10 12:53:44 -05:00
Andrew Tridgell
71e22ef6b8 r714: make sure ldb formats are portable between big/little endian machines
(This used to be commit 166a664a00)
2007-10-10 12:53:44 -05:00
Andrew Tridgell
f2548cd873 r711: don't hide attributes inside the special ldb_tdb records (so the fact
that a attribute is hidden is not itself hidden!)
(This used to be commit b42d1f3984)
2007-10-10 12:53:44 -05:00
Stefan Metzmacher
77c30ebe9e r700: fix SMB_LIBRARY() to disable the lib by default
metze
(This used to be commit b6ac3021f2)
2007-10-10 12:53:43 -05:00
Stefan Metzmacher
ace1c1f816 r697: make use of SMB_EXT_LIB for LDAP and KRB5
metze
(This used to be commit b054f7d490)
2007-10-10 12:53:43 -05:00
Jelmer Vernooij
072ef868c3 r693: Make static
(This used to be commit 30d3915c76)
2007-10-10 12:53:43 -05:00
Jelmer Vernooij
76d50e0d26 r692: Add libwinregistry
(This used to be commit 0ace3bf289)
2007-10-10 12:53:43 -05:00
Stefan Metzmacher
d5ba19d008 r690: - ignore source/tags
- add support for shared libraries

- enable libldb shared lib when --enable-experimental

metze
(This used to be commit dcef69dc54)
2007-10-10 12:53:42 -05:00
Jelmer Vernooij
0048335d9e r686: - Add SMB_EXT_LIB_FROM_PKGCONFIG()
- Build gregedit and registry_gconf again if the required libs are found (gconf and gtk)
(This used to be commit a63b704c36)
2007-10-10 12:53:42 -05:00
Andrew Bartlett
d12e825042 r685: The SAM is dead! Long live the new SAM! ;-)
This commit kills passdb, which was only hosting the auth subsystem.

With the work tridge has done on Samba4's SAM backend, this can (and
now is) all hosted on ldb.  The auth_sam.c file now references this
backend.

You will need to assign your users passwords in ldb - adding a new line:

unicodePwd: myPass

to a record, using ldbedit, should be sufficient.  Naturally, this
assumes you have had your personal SAMR provisioning tutorial from
tridge.  Everybody else can still use the anonymous logins.

Andrew Bartlett
(This used to be commit 2aa0b55fb8)
2007-10-10 12:53:42 -05:00
Stefan Metzmacher
14832874ee r681: don't init r.out.result.v
metze
(This used to be commit f7ded36699)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
0b7f81e0f6 r673: disable registry_gconf for now
metze
(This used to be commit 5bbf0c2407)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
0a690c12a1 r672: disable gregedit for now
metze
(This used to be commit 63600a2a9b)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
9c4a451463 r668: fix the build
metze
(This used to be commit ba5e71f59e)
2007-10-10 12:53:40 -05:00
Stefan Metzmacher
f236700ef6 r665: merge over the new build system from my tmp branch
to the main SAMBA_4_0 tree.

NOTE: that it's not completely ready, but it's functional:-)

metze
(This used to be commit c78a2ddb28)
2007-10-10 12:53:36 -05:00
Jelmer Vernooij
b2d1f78907 r655: Fix if() logic
(This used to be commit 09096cfc3e)
2007-10-10 12:51:56 -05:00
Andrew Tridgell
0f581e4af9 r623: setUserInfo level 24 (password set) now works in the SAMR server. This includes all
of the password complexity, password history and other password restrictions.
(This used to be commit cb070b9084)
2007-10-10 12:51:55 -05:00
Andrew Tridgell
55fa62be31 r609: allow ldbedit to take a list of attributes to edit, just like
ldbsearch. This allows you to edit the description of all users using
something like:

  ldbedit 'objectclass=user' description

and not get overwhelmed with fields. It also allows you to edit HIDDEN attributes
by specifying them explicitly
(This used to be commit dd83d39de2)
2007-10-10 12:51:51 -05:00
Andrew Bartlett
5dc73338d2 r607: When our code is looking for an 'empty' data blob
some of it tests the .length, other code checks the
.data.

Ensure that we always NULL the .data, so that talloc-based
blobs behave just like their direct malloc equivalents.

Andrew Bartlett
(This used to be commit 64121aa1a9)
2007-10-10 12:51:50 -05:00
Andrew Tridgell
51d5ddecc6 r606: added a HIDDEN attribute on fields in ldb (in @ATTRIBUTES). This allows you to mark
an attribute as only appearing in searches that explicitly name it. It will be used
for attributes like nTSecurityDescriptor
(This used to be commit f5cd3d733b)
2007-10-10 12:51:50 -05:00
Andrew Tridgell
54a695f7ed r601: added the server code for all the samr_SetUserInfo and samr_QueryUserInfo levels except for the password
set levels.

This means that a large part of the RPC-SAMR torture test now runs correctly against Samba4
(This used to be commit ec0a51898f)
2007-10-10 12:51:50 -05:00
Andrew Tridgell
35ffc46454 r587: added server code for samr_EnumDomainUsers, and started adding
samr_SetUserInfo and samr_QueryUserInfo
(This used to be commit e0db9659a8)
2007-10-10 12:51:48 -05:00
Andrew Tridgell
d2c7b5cd33 r583: fixed two bugs in the handling of index entry deletion
(This used to be commit 7b5f3370e6)
2007-10-10 12:51:48 -05:00
Andrew Tridgell
62e9106086 r576: added a ldap_timestring() function (needed for fields like whenChanged in SAM db)
(This used to be commit b2a6355518)
2007-10-10 12:51:48 -05:00
Andrew Tridgell
265023fafa r574: - another attempt at const cleanliness in ldb
- fixed a problem with searching for values containing an '=' sign

 - fixed the semantics of attempting an attribute deletion on an attribute that doesn't exist.

 - added some more ldb_msg_*() utilities
(This used to be commit 62b4ec367d)
2007-10-10 12:51:47 -05:00
Andrew Tridgell
68293565de r513: added a generic ldb debug system to allow the Samba debug functions to
be cleanly interfaced to ldb
(This used to be commit 74b89d5f96)
2007-10-10 12:51:46 -05:00
Andrew Tridgell
7216d23ba5 r509: fixed a memory handling bug that affects ldb with memory pools that
change with each request
(This used to be commit 18695cefa1)
2007-10-10 12:51:46 -05:00
Andrew Tridgell
cec1bc8fd7 r507: the new ldb code will use talloc_free() a lot, so I have made
talloc_free() O(1) in preparation. This also halves the number of
malloc() calls and increases our internal consistency checking,
without breaking valgrind testing.
(This used to be commit 2331d4e76e)
2007-10-10 12:51:46 -05:00
Andrew Tridgell
9261ceb89e r504: fixed a bad call to list_union()
(This used to be commit 4404056cd5)
2007-10-10 12:51:45 -05:00
Andrew Tridgell
d8ce7c6a2a r502: modified ldb to allow the use of an external pool memory
allocator. The way to use this is to call ldb_set_alloc() with a
function pointer to whatever memory allocator you like. It includes a
context pointer to allow for pool based allocators.
(This used to be commit 3955c482e6)
2007-10-10 12:51:45 -05:00
Andrew Tridgell
232bc1503f r490: - expanded the test suite to test modify and delete operations
- made yet another attempt to make ldb const clean.

- "make test" now runs both the tdb and ldap backend tests, and run the ldbtest utility
  with and without indexing

- added prototypes in ldb.h for ldb_msg_*() public functions
(This used to be commit 01e8740676)
2007-10-10 12:51:45 -05:00
Andrew Tridgell
af66c31e44 r476: i forgot the argument to get_time_zone()
(This used to be commit 34ff18839c)
2007-10-10 12:51:45 -05:00
Andrew Tridgell
2c367686fc r468: fixed timegm() on broken systems
(This used to be commit a3d639d04f)
2007-10-10 12:51:45 -05:00
Stefan Metzmacher
6a8355a628 r467: hopefully get the buildfarm compiling fine now...
metze
(This used to be commit d15f0e18bb)
2007-10-10 12:51:44 -05:00
Andrew Tridgell
73744d1ed6 r463: build ldb with debugging when standalone
(This used to be commit 77269e7ad6)
2007-10-10 12:51:44 -05:00
Andrew Tridgell
d6f20f8e92 r462: added an explanation about the rather complex ltdb_key() function
(This used to be commit 894e44022d)
2007-10-10 12:51:44 -05:00
Andrew Tridgell
208e09747c r456: - added -i option to ldbsearch
- fixed sorting bug in ldb index handing
(This used to be commit cdd48e2b9b)
2007-10-10 12:51:43 -05:00
Andrew Tridgell
b96695ca23 r454: allow a non-URL form of a filename to be used in ldb_connect(). This
makes it a little easier to work with the ldb tools
(This used to be commit 03df31cef0)
2007-10-10 12:51:43 -05:00
Andrew Tridgell
1cc8db0132 r453: added a comment about indexing on objectclass
(its usually a bad idea)
(This used to be commit f88760c3cc)
2007-10-10 12:51:43 -05:00
Andrew Tridgell
cd16ca9876 r452: move from first-fit to best-fit in tdb record allocation. For a
situation where we are continually increasing the size of a record
(such as ldb index records) this reduces the resulting tdb size by a
factor of over 100x, due to reductions in fragmentation. It appears to
have no noticable effect on the speed in other cases.
(This used to be commit b61d7f8bbc)
2007-10-10 12:51:43 -05:00
Andrew Tridgell
78aa8f1814 r444: - added the beginnings of a ldb test suite and benchmark
- updated the test slapd config to use bdb and indexing
(This used to be commit 7ad0858c06)
2007-10-10 12:51:42 -05:00
Andrew Tridgell
585d87a959 r442: fixed some uninitialised variables pointed out by gcc -O3
(This used to be commit ff31cfb941)
2007-10-10 12:51:42 -05:00
Andrew Tridgell
29bc1f5c60 r437: fixed handling of a corner case with multi-valued indexing
(This used to be commit b386121856)
2007-10-10 12:51:38 -05:00
Andrew Tridgell
3c117a4843 r436: fixed indexing of objectclass with subclasses
(This used to be commit 4d92e6f79f)
2007-10-10 12:51:38 -05:00
Andrew Tridgell
0dad5a3427 r435: a major upgrade for ldb
- added the ability to mark record attributes as being CASE_INSENSITIVE, WILDCARD or INTEGER.

 - added the ability to support objectclass subclasses, and to search by a parent class

 - added internal support for case insensitive versus case sensitive
   indexing (not UTF8 compliant yet)

 - cleaned up a number of const warnings

 - added a number of helper functions for fetching integers, strings and doubles

 - added a in-memory cache for important database properties, supported by a
   database sequence number

 - changed some variable names to avoid conflicts with C++
(This used to be commit f2bf06f25c)
2007-10-10 12:51:38 -05:00
Stefan Metzmacher
4c991c6edd r425: add some comments to ugly code parts
we should take care of 'char *' and 'const char *' and DO NOT mix them!

Jelmer: please fix this

metze
(This used to be commit cd609eb2fe)
2007-10-10 12:51:38 -05:00
Andrew Tridgell
a00c266702 r387: more C++ friendly changes
(This used to be commit ac0c525a8b)
2007-10-10 12:51:36 -05:00
Tim Potter
b0b97592be r382: More C++ friendliness fixes.
(This used to be commit e96f3a2005)
2007-10-10 12:51:36 -05:00
Andrew Tridgell
6411aa483f r381: make the code more C++ friendly
(This used to be commit 8acecc7f27)
2007-10-10 12:51:36 -05:00
Andrew Tridgell
ee0489fff6 r380: make sure that ldbedit -a works with all tdb and LDAP backends
(This used to be commit b5cb5a1e62)
2007-10-10 12:51:35 -05:00
Andrew Tridgell
8882401382 r373: use a much larger default tdb hash size in ldb
(This used to be commit 54f47c45b8)
2007-10-10 12:51:35 -05:00
Tim Potter
f3d3b3c809 r355: Fix a bunch of compiler warnings in the registry code.
(This used to be commit 0be7a866dc)
2007-10-10 12:51:34 -05:00
Andrew Tridgell
803b5d8aa4 r344: fixed deletion of index records
(This used to be commit 246f17cd4a)
2007-10-10 12:51:33 -05:00
Andrew Tridgell
07882b5460 r343: added automatic reindexing of the database when the index list changes
(This used to be commit a811640ce4)
2007-10-10 12:51:33 -05:00
Andrew Tridgell
493a37ba66 r335: added much better handling of servers that die unexpectedly during a
request (a dead socket). I discovered this when testing against Sun's
PC-NetLink.

cleaned up the naming of some of the samr requests

add IDL and test code for samr_QueryGroupMember(),
samr_SetMemberAttributesOfGroup() and samr_Shutdown().  (actually, I
didn't leave the samr_Shutdown() test in, as its fatal to windows
servers due to doing exactly what it says it does).
(This used to be commit 925bc2622c)
2007-10-10 12:51:33 -05:00
Andrew Tridgell
ced7fa4b45 r323: added rough password quality checking in generate_random_str(), so we generate passwords
that are likely to be accepted by the win2003 quality checks
(This used to be commit 5954969f27)
2007-10-10 12:51:32 -05:00
Jelmer Vernooij
6de32ddc2d r274: Be somewhat more POSIX compatible
(This used to be commit c98a234d02)
2007-10-10 12:51:18 -05:00
Andrew Tridgell
b8ae2559a7 r218: added a comment regarding the %c strftime() warning
(This used to be commit 03c5dd8855)
2007-10-10 12:51:17 -05:00
Herb Lewis
c7a60a178f r200: fix compile errors
(This used to be commit c64132ddc6)
2007-10-10 12:51:16 -05:00
Jelmer Vernooij
2199a6ffa9 r199: More registry rpc updates
(This used to be commit 02ddf78e55)
2007-10-10 12:51:16 -05:00
Andrew Tridgell
662013e60e r194: fixed compile with ldap
(This used to be commit 3b4b528dc6)
2007-10-10 12:51:16 -05:00
Jelmer Vernooij
17ddb68b54 r190: More RPC updates
(This used to be commit 0a67057e96)
2007-10-10 12:51:16 -05:00
Jelmer Vernooij
198a92cb77 r187: RPC registry backend fixes
(This used to be commit f832d6776c)
2007-10-10 12:51:15 -05:00
Jelmer Vernooij
b4d6cbd380 r183: More bugfixes
(This used to be commit 88911bbcca)
2007-10-10 12:51:15 -05:00
Jelmer Vernooij
4019324f76 r182: Fix a couple of segfaults
(This used to be commit db5d7062e6)
2007-10-10 12:51:15 -05:00
Jelmer Vernooij
49d54f0298 r181: Parsing windows '95 registry files now works (including values)
(This used to be commit 4d6ce64856)
2007-10-10 12:51:15 -05:00
Jelmer Vernooij
24cd656ab0 r174: Win95 registry files (like USER.DAT) can now be partially parsed
(This used to be commit dd31d3bcbf)
2007-10-10 12:51:15 -05:00
Jelmer Vernooij
9d6a284567 r169: Fix gregedit
(This used to be commit 32036375de)
2007-10-10 12:51:13 -05:00
Jelmer Vernooij
639afabf40 r168: - Cleanups in rpc backend
- Small fixess in nt4 and dir backends
- Start on w95 file backend
(This used to be commit aa739e8d3c)
2007-10-10 12:51:13 -05:00
Jelmer Vernooij
c60c5ebb91 r166: Fix enumerating values in nt4 backend
(This used to be commit 1a7de762c6)
2007-10-10 12:51:13 -05:00
Jelmer Vernooij
07afafd45d r165: Add support for viewing registry values in gregedit
(This used to be commit 1d8a6d762a)
2007-10-10 12:51:13 -05:00
Jelmer Vernooij
6df152f964 r164: Viewing remote registries with gregedit works now
(This used to be commit 697560a117)
2007-10-10 12:51:13 -05:00
Andrew Tridgell
3185ace216 r163: - enable ldap in the sample makefile, and use /usr prefix
- show number of adds/deletes/modifies after an edit

 - nicer error messages from ldbedit
(This used to be commit 077951f6bc)
2007-10-10 12:51:13 -05:00
Jelmer Vernooij
491ce98cc4 r162: Minor bugfixes:
- Don't keep windows open after errors
 - Don't build ldb backend by default
(This used to be commit 1bb64782c6)
2007-10-10 12:51:12 -05:00
Andrew Tridgell
a7efe6c1c3 r159: nicer usage messages when no URL is given
(This used to be commit 8655f0b435)
2007-10-10 12:51:12 -05:00
Andrew Tridgell
27db4c6d18 r158: cope with or without LDAP in samba build of ldb
(This used to be commit e776ce4f9e)
2007-10-10 12:51:11 -05:00
Andrew Tridgell
0446e6addd r157: cope with or without LDAP in ldb sample Makefile
(This used to be commit 5004159bf9)
2007-10-10 12:51:11 -05:00
Andrew Tridgell
ac193579e7 r152: a quick airport commit ....
added ldbedit, a _really_ useful command

added ldbadd, ldbdel, ldbsearch and ldbmodify to build

solved lots of timezone issues, we now pass the torture tests with
client and server in different zones

fixed several build issues

I know this breaks the no-LDAP build. Wait till I arrive in San Jose for that
fix.
(This used to be commit af34710d4d)
2007-10-10 12:51:11 -05:00
Stefan Metzmacher
91b30df39b r147: - Remove dublicate ldap tests (richard the current test is in libads/config.m4 :-)
- Move sendfile check to ntvfs/config.m4
- Move comparison_fn_t check to build/m4/rewrite.m4

Please do not new tests to configure.in directly,
please add them to the subsystems config.m4 file where they belong to or
to build/m4/rewrite.m4 if you don't know where to put it for now

Thanks

I know samba4's build system is not completly rewritten.
I have a lot of updatest in my local tree, but it's not complete yet
when it's complete I'll write documentation for it:-)

metze
(This used to be commit 31c23f14d6)
2007-10-10 12:51:11 -05:00
Richard Sharpe
177777b055 r141: A number of changes to get things working on FreeBSD and reduce the breakage
caused by someone recently ...

1. Add configure check HAVE_COMPARISON_FN_T to see if this is defined. I
have not checked this on Linux yet, but will do so soon.

2. Add the definitions of malloc_p, realloc_p etc.

3. Check for LDAP and don't build stuff that depends on LDAP if we don't\
have it.

It currently builds on FreeBSD but there is one warning printed out at the end.
(This used to be commit 7b34fbe0f2)
2007-10-10 12:51:11 -05:00
Andrew Tridgell
ab53890d59 r136: I forgot to add config.m4 for ldb in my ldb commit
(This used to be commit 299009fde9)
2007-10-10 12:51:10 -05:00
Andrew Tridgell
4d1add159d r135: some test ldif for an idea I am playing with to replace smb.conf with a ldb
Don't panic - I'll explain more when I get a chance
(This used to be commit 090afa94a7)
2007-10-10 12:51:10 -05:00
Andrew Tridgell
42889e5e1e r134: - added ldb to the build of smbd
- fixed build of the ldb registry backend
(This used to be commit 0b66590330)
2007-10-10 12:51:10 -05:00
Andrew Tridgell
040d6261f7 r131: mark some scripts executable
(This used to be commit fe1a5a8e25)
2007-10-10 12:51:10 -05:00
Jelmer Vernooij
9cbbf2d552 r129: Convert other utilities to new API
(This used to be commit 95c9852b16)
2007-10-10 12:51:09 -05:00
Jelmer Vernooij
aebfb3b9f4 r128: Another registry update. Changes:
- Start with the LDB backend
- The API is now more windows-like, which should make it easier to use
  in rpc_server
- Added a GTK+ front-end
- Added some more IDL

More updates will follow, especially in the RPC field..
(This used to be commit 3adffa0217)
2007-10-10 12:51:09 -05:00
Stefan Metzmacher
509bbf4383 r125: use AC_CONFIG_FILES() instead of AC_OUTPUT()
we should have only one AC_OUTPUT() at the end of configure.in

metze
(This used to be commit 60aa14d463)
2007-10-10 12:51:09 -05:00
Jelmer Vernooij
b96025eb15 r61: - Implement first call in the winreg rpc server
- Add some initial implementation of the ldb backend
- More checks in the winreg torture test
(This used to be commit ae2b63b6f1)
2007-10-10 12:50:41 -05:00
Jelmer Vernooij
2542ed0ac7 r46: Add CreateKey function (still working on it)
(This used to be commit 9f13b7c60c)
2007-10-10 12:50:40 -05:00
Gerald Carter
381a903d00 r42: importing .cvsignore files
(This used to be commit 11717ae912)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
5c49a23a29 r36: - Start using memory pools in the registry library
- Remove obsolete file
(This used to be commit d85b8fb3b7)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
69c19afb62 r31: More registry updates. regdiff/regpatch work now.
(This used to be commit 98224f5436)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
c424c2b857 r20: Add the registry library. Still needs a lot of work,
see source/lib/registry/TODO for details.
(This used to be commit 7cab3a00d7)
2007-10-10 12:50:33 -05:00
Gerald (Jerry) Carter
3855ee0164 [GLUE] Sync tree with SVN r17.
(This used to be commit 6e50109b66)
2007-10-10 12:39:20 -05:00
Andrew Tridgell
ee44733f94 added the rest of the ldb_modify() code, which required a fairly large
change in the ldb API. The API is now much closer to LDAP.
(This used to be commit e9e85c4644)
2004-04-03 12:29:21 +00:00
Andrew Tridgell
05d10eba1f allow "struct TDB_DATA" as well as just "TDB_DATA"
in general I prefer the struct form for Samba4 structures. I think its
clearer.
(This used to be commit 63b2655774)
2004-04-01 07:39:04 +00:00
Andrew Tridgell
4258c7f27f building with Makefile.ldb now works
(This used to be commit 12538cd2c6)
2004-03-31 06:51:44 +00:00
Andrew Tridgell
58d50a614f make a more recent snapshot of ldb available to interested
people. Note that I decided to make it LGPL.

ldb is not finished yet, but enough of it is there for people to get
an idea of what it does, and quite a few simple tests work
(This used to be commit dc6f41f9e7)
2004-03-31 06:45:39 +00:00
Andrew Tridgell
4aa785b1b2 merge some recent tdb changed from samba3
(This used to be commit 0e845ecd49)
2004-03-28 02:18:38 +00:00
Andrew Tridgell
9403f3dc7e switch from SIG_ATOMIC_T to sig_atomic_t
(This used to be commit b881b72cb9)
2004-03-28 01:57:28 +00:00
Andrew Tridgell
3744324dbd after discussion with the copyright holders tdb is now under the LGPL
(This used to be commit 51409e2a41)
2004-03-28 01:43:06 +00:00
Andrew Tridgell
ad15f42b6d added a TDB_MODIFY flag to tdb_store() that says "if the record
doesn't exist then fail the store"
(This used to be commit 6aec1457f8)
2004-03-28 01:38:42 +00:00
Andrew Tridgell
2fe43ec90f added a private pointer to tdb_traverse() to allow callers to supply
data to their traverse function
(This used to be commit 76bf816485)
2004-03-28 01:33:32 +00:00
Andrew Tridgell
4217c609a8 removed the state parameter to tdb_traverse and the TDB_MODIFY flag
(This used to be commit 6505efc7e9)
2004-03-28 01:30:54 +00:00
Stefan Metzmacher
2622eaeca6 make proto should not catch any function of the lib/popt/*.c stuff
metze
(This used to be commit ec96914c66)
2004-02-24 06:53:53 +00:00
Stefan Metzmacher
2027b1922b let the popt replacement stuff survive a make proto
metze
(This used to be commit 0f1c6dd631)
2004-02-24 06:49:59 +00:00
Stefan Metzmacher
42887e406a - creat the LIBCMDLINE subsystem
including readline and popt

- creat the CONFIG subsystem
  including param/* dynconfig.* and passdb/secrets.*

metze
(This used to be commit bfd7fd21c8)
2004-02-22 13:09:51 +00:00
Stefan Metzmacher
64cdbddbc1 don't inlcude rpc/rpc.h and rpcsvc/*.h anymore
and remove NET_GROUP stuff, this needs to be implemented
in a better way if we ever readd this

metze
(This used to be commit da5f22976f)
2004-02-18 15:31:25 +00:00
Stefan Metzmacher
932026724f remove unused NISPLUS/AUTOMOUNT stuff
metze
(This used to be commit cbfa29549e)
2004-02-18 13:55:15 +00:00
Stefan Metzmacher
0af9994327 move some cryto stuff to lib/crypto/*
metze
(This used to be commit afe4dbfea6)
2004-02-18 12:20:17 +00:00
Stefan Metzmacher
9a8cd1aa27 move the tdb lib code to lib/tdb/*
metze
(This used to be commit 5ebd6fb761)
2004-02-12 15:59:16 +00:00
Stefan Metzmacher
6647ff7430 move -lpopt replacement code from source/popt/* to source/lib/popt/*
metze
(This used to be commit 9d1018557f)
2004-02-12 14:21:44 +00:00
Stefan Metzmacher
e46d297083 move the -lpopt replacement to a LIBPOPT subsystem
metze
(This used to be commit 9eb593a7c0)
2004-02-12 08:07:46 +00:00
Stefan Metzmacher
45e446248d move more code to the config.m4 scheme
LIBBASIC, LIBSMB are the new global subsystems

metze
(This used to be commit a25c167b3f)
2004-02-12 06:02:32 +00:00
Andrew Tridgell
078cced5ec - modified the dcerpc client security code to be generic, so ntlmssp
and schannel are both instances of possible security modules

- added schannel sign and sign/seal support to the dcerpc client
  code. You select it with binding options of "schannel,sign" or
  "schannel,seal".
(This used to be commit 05db0b9d94)
2004-02-10 10:22:12 +00:00
Stefan Metzmacher
c61089219b - we now specify the object files in the subsystems config.m4 file
I plan to convert all objectfile group to use SMB_SUBSYSTEM
  later I'll add a SMB_BINARY() and SMB_LIBRARY(), then there will be no more need
  to touch Makefile.in, because all make rules will be autogenerated by configure

- convert the PROCESS_MODEL subsystem to this new scheme
  and move the pthread test to smbd/process_model.m4

- convert the CHARSET subsystem to this new scheme
  and move the iconv test to lib/iconv.m4
(This used to be commit 2e57ee884e)
2004-02-02 13:43:03 +00:00
Stefan Metzmacher
ada1de721a some compilers don't like the #warning preprocessing directive
so just do a DEBUG(0,("..."));

metze
(This used to be commit c087ff38b0)
2004-02-02 12:15:25 +00:00
Stefan Metzmacher
ac7d38c3f9 remove unused files
we maybe need the util_smbd.c code later but this should not be in the lib/ dir

metze
(This used to be commit 2149d41407)
2004-02-02 07:23:29 +00:00
Stefan Metzmacher
a5ece462ab remove a lot of unused stuff from the header files
and exclude some files from Makefile.in

metze
(This used to be commit f77990cf24)
2004-01-28 18:54:36 +00:00
Stefan Metzmacher
e06687eb17 merge the version.h autogeneration stuff from 3.0
metze
(This used to be commit 24dc237e10)
2004-01-28 12:47:52 +00:00
Stefan Metzmacher
55dfa23e41 initilize ev->maxfd = EVENT_INVALID_MAXFD; before the while() loop.
metze
(This used to be commit 61ec710518)
2004-01-22 01:56:31 +00:00
Stefan Metzmacher
d8ee9d7a0e - make the recalculation of ev->maxfd a bit more efficient.
- fix the case when we have no fd_events left on the event_context
  we now exit after doing the timed events and not block in select()
  waiting for no fd's to become ready...

metze
(This used to be commit 857e76ef6b)
2004-01-22 01:35:51 +00:00
Stefan Metzmacher
aafd0efc58 let the event_add_XXX() function return a pointer of the allocated event structure
and NULL on allacation error.

metze
(This used to be commit fffc6cfb6b)
2004-01-21 23:19:59 +00:00
Stefan Metzmacher
7e6cf43756 This patch adds a better dcerpc server infastructure.
1.) We now register endpoint servers add startup via register_backend()
    and later use the smb.conf 'dcerpc endpoint servers' parameter to setup the dcesrv_context

2.) each endpoint server can register at context creation time as much interfaces as it wants
    (multiple interfaces on one endpoint are supported!)
    (NOTE:  there's a difference between 'endpoint server' and 'endpoint'!
	    for details look at rpc_server/dcesrv_server.h)

3.) one endpoint can have a security descriptor registered to it self
    this will be checked in the future when a client wants to connect
    to an smb pipe endpoint.

4.) we now have a 'remote' endpoint server, which works like the ntvfs_cifs module
    it takes this options in the [globals] section:

    dcerpc remote:interfaces = srvsvc, winreg, w32time, epmapper
    dcerpc remote:binding = ...
    dcerpc remote:user = ...
    dcerpc remote:password = ...

5.) we currently have tree endpoint servers: epmapper, rpcecho and remote

    the default for the 'dcerpc endpiont servers = epmapper, rpcecho'

    for testing you can also do
    dcerpc endpoint servers = rpcecho, remote, epmapper
    dcerpc remote:interfaces = srvsvc, samr, netlogon

6,) please notice the the epmapper now only returns NO_ENTRIES
    (but I think we'll find a solution for this too:-)

7.) also there're some other stuff left, but step by step :-)

This patch also includes updates for the
register_subsystem() , ntvfs_init(), and some other funtions
to check for duplicate subsystem registration


metze

(hmmm, my first large commit...I hope it works as supposed :-)
(This used to be commit 917e45dafd)
2004-01-08 22:55:27 +00:00
Andrew Tridgell
f4307200ac "subsystems" should be static
(This used to be commit 64cf9b3fd3)
2003-12-30 22:55:12 +00:00
Andrew Tridgell
db22c0c5f9 added a bunch of alias functions in samr.idl based on work by Kai.
(This used to be commit f740b02ac3)
2003-12-19 03:59:27 +00:00
Andrew Tridgell
938eef5beb removed some unused functions
(This used to be commit 09d17d705a)
2003-12-16 12:59:20 +00:00
Andrew Tridgell
6f12e4ace1 it turns out that a wire policy handle isn't a blob either, its a
uint32 followed by a GUID. I needed to fix this to support running in
mixed-mode rpc (where smbtorture is bigendian and w2k3 is
little-endian). Otherwise when you send back a policy handle the
server doesn't recognise it.
(This used to be commit 9b1c76a8e9)
2003-12-16 09:50:49 +00:00
Andrew Tridgell
7779b1e000 added support for big-endian ucs2 strings (as used by big-endian
msrpc).

this was easier than I expected!
(This used to be commit a0a51af6b7)
2003-12-16 09:20:34 +00:00
Andrew Tridgell
24c22aef90 a fairly large commit!
This adds support for bigendian rpc in the client. I have installed
SUN pcnetlink locally and am using it to test the samba4 rpc
code. This allows us to easily find places where we have stuffed up
the types (such as 2 uint16 versus a uint32), as testing both
big-endian and little-endian easily shows which is correct. I have now
used this to fix several bugs like that in the samba4 IDL.

In order to make this work I also had to redefine a GUID as a true
structure, not a blob. From the pcnetlink wire it is clear that it is
indeed defined as a structure (the byte order changes). This required
changing lots of Samba code to use a GUID as a structure.

I also had to fix the if_version code in dcerpc syntax IDs, as it
turns out they are a single uint32 not two uint16s.

The big-endian support is a bit ugly at the moment, and breaks the
layering in some places. More work is needed, especially on the server
side.
(This used to be commit bb1af644a5)
2003-12-16 09:02:58 +00:00
Andrew Tridgell
b2b9ea5429 enable rep_inet_ntoa() for non-pthread builds
(This used to be commit f50d4b602a)
2003-12-16 04:10:47 +00:00
Andrew Tridgell
1abd0be41e more mutex portability.
(This used to be commit 42dd8d888a)
2003-12-16 03:45:04 +00:00
Andrew Tridgell
2c6b585f2d more portability fixes. We now almost compile on solaris
(This used to be commit f4abd20b84)
2003-12-16 03:34:23 +00:00
Andrew Tridgell
ff6478bb4a use smb_rwlock_t instead of rwlock_t to avoid conflicts with system
types on some platforms (eg. solaris)
(This used to be commit ac8a23af8c)
2003-12-16 03:27:36 +00:00
Andrew Tridgell
089ae5e435 fixed some memory leaks in the rpc server code
(This used to be commit 2045855601)
2003-12-14 03:51:48 +00:00
Andrew Tridgell
340d9b71f9 added a basic dcerpc endpoint mapper to Samba4. Currently only
implements the epm_Lookup() call, I'll add the other important calls
soon. I was rather pleased to find that epm_Lookup() worked first
time, which is particularly surprising given its complexity.

This required quite a bit of new infrastructure:

  * a generic way of handling dcerpc policy handles in the rpc server

  * added type checked varients of talloc. These are much less error
    prone. I'd like to move to using these for nearly all uses of
    talloc.

  * added more dcerpc fault handling code, and translation from
    NTSTATUS to a dcerpc fault code

  * added data_blob_talloc_zero() for allocating an initially zero
    blob

  * added a endpoint enumeration hook in the dcerpc endpoint server
    operations
(This used to be commit 3f85f9b782)
2003-12-13 02:20:40 +00:00
Andrew Tridgell
16309de71d * the RPC-ECHO pipe now works in smbd, as long as the data sizes
don't cause fragmented pdus (I'll add fragments shortly)

 * change data_blob_talloc() to not zero memory when the 2nd argument
   is NULL. The zeroing just masks bugs, and can't even allow a DOS
   attack

 * modified pidl to ensure that [ref] arguments to the out side of
   functions are allocated when parsing the in side. This allows rpc
   backends to assume that [ref] variables are all setup. Doesn't work
   correctly for [ref] arrays yet

 * changed DLIST_ADD_END() to take the type instead of a tmp
   variable. This means you don't need to declare a silly tmp variable in
   the caller
(This used to be commit 46e0a35819)
2003-12-12 03:59:09 +00:00
Andrew Tridgell
3c76426f2e * removed some unused code
* updated tdb to latest version from Samba3

 * removed some extraneous ';' in tdbutil.c (Thanks to Erlend Aasland
   for pointing this out)
(This used to be commit f3eaf270e5)
2003-12-10 03:02:12 +00:00
Andrew Tridgell
2e5ae6f065 * added a debug thread id hook from jim myers
* change to select() from sys_select() in events.c, as sys_select() is
  not thread safe. We need a new unified signal handling scheme for
  Samba4, but for now just use select()
(This used to be commit 126fcd4a76)
2003-12-04 09:52:14 +00:00
Andrew Tridgell
b8cbd9181e don't use c++ comments
(This used to be commit 3d48fa8f37)
2003-12-04 01:59:24 +00:00
Andrew Tridgell
0e958fbe47 don't use c++ style comments
(This used to be commit b11a19cc76)
2003-12-04 01:18:34 +00:00
Jelmer Vernooij
47702c8552 Initial step at cleaning and splitting up configure.in.
(This used to be commit 369a9c1ac1)
2003-12-02 11:10:56 +00:00
Andrew Tridgell
7602aa50fd * got rid of UNISTR2 and everything that depends on it
* removed a bunch of code that needs to be rewritten using the new
    interfaces
(This used to be commit 9b02b486ef)
2003-12-01 00:17:30 +00:00
Andrew Tridgell
fa062af11a * removed a bunch of unused code
* made some functions static
(This used to be commit 829b87f30d)
2003-11-30 23:40:04 +00:00
Andrew Tridgell
f83f0cb060 fixed some warnings
(This used to be commit 1c2b8a93c5)
2003-11-28 09:05:44 +00:00
Andrew Tridgell
0b1b3850a0 added -m for 'max protocol' as a standard option
(This used to be commit 8fe4058711)
2003-11-27 04:00:21 +00:00
Andrew Tridgell
c123c84541 fixed some memory leaks in the dcerpc use of ntlmssp signing
(This used to be commit abbc9993b8)
2003-11-26 02:08:41 +00:00
Andrew Tridgell
e0ac659917 signed DCERPC over TCP now works !
* moved ntlmssp code into libcli/auth/, and updated to latest ntlmssp
   code from samba3 (thanks Andrew! the new interface is great)

 * added signing/ntlmssp support in the dcerpc code

 * added a dcerpc_auth.c module for the various dcerpc auth mechanisms
(This used to be commit c18c9b5585)
2003-11-26 01:16:41 +00:00
Jelmer Vernooij
a846e59205 CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	Makefile.in configure.in include/includes.h include/ntvfs.h
CVS: 	include/smb.h lib/iconv.c lib/module.c ntvfs/ntvfs_base.c
CVS: 	ntvfs/cifs/vfs_cifs.c ntvfs/ipc/vfs_ipc.c
CVS: 	ntvfs/posix/vfs_posix.c ntvfs/print/vfs_print.c
CVS: 	ntvfs/reference/vfs_ref.c ntvfs/simple/vfs_simple.c
CVS: 	passdb/pdb_interface.c
CVS: Added Files:
CVS: 	include/module.h
CVS: ----------------------------------------------------------------------
Update to the modules system. Fixed:
 - get rid of smb_probe_module
 - merge older updates from 3.0
 - introduced register_subsystem() and register_backend() functions
 - adapt ntvfs and charset to use new register functions
 - made smb_load_modules() work recursively (e.g. 'preload modules = /usr/lib/samba')
 - got rid of some old remains

Things that still need work:
 - Did I break tankFS? I don't think so, but I can't test it here :-(
 - Add 'postload modules = ' (for modules that need to be loaded after fork() in smbd, if applicable)
 - Convert RPC, auth, passdb, etc to use new register_{subsystem,backend}() functions
 - Accept wildcards in 'preload modules' option, instead of loading recursively
(This used to be commit 7512b9ab1a)
2003-11-25 03:15:26 +00:00
Andrew Tridgell
f4e485117a * fixed byte order in epmapper parsing
* allow rpc transport to be specified on command line in smbtorture
(This used to be commit 8a82050fd6)
2003-11-24 13:19:00 +00:00
Tim Potter
c32a03ad12 Removed unused variable.
(This used to be commit 40ccaeefed)
2003-11-23 11:05:31 +00:00
Tim Potter
c071301a77 Add a strlen_m_term() function for returning the length of a string
including the termination.  Using value(strlen_m((r->name)+1)*2) gives
the wrong answer for the NULL string.
(This used to be commit 7ae329e663)
2003-11-23 10:50:52 +00:00
Andrew Tridgell
d47d14f2ff reduced the number of magic types we need in mkproto.pl
In general I prefer "struct foo" to just "foo" for most
structures. There are exceptions.
(This used to be commit 04eb12b56c)
2003-11-23 01:53:54 +00:00
Andrew Tridgell
d4dfcda78e * fixed level2 of QueryUserInfo
* added per-field testing of SetUserInfo

 * fixed strlen_m()
(This used to be commit 26238b0f8a)
2003-11-20 10:29:54 +00:00
Andrew Tridgell
bcfbaa312a run LookupDomain on each domain returned from EnumDomains in samr
(This used to be commit 947b9f8ced)
2003-11-15 07:51:19 +00:00
Andrew Tridgell
062670f00c removed a bunch of the old rpc code in preparation for replacing it all with auto-generated code
(This used to be commit 874bf4689d)
2003-11-13 10:15:48 +00:00
Andrew Tridgell
4e73a3c0fe fixed snprintf.c for systems that have only some of the *printf() family of functions
cope with servers that return bogus (too large) values in max_xmit

cope with a couple more error conditions in RAW-SFILEINFO

better startup time heuristics in NBENCH
(This used to be commit 89f7261ba5)
2003-10-10 05:40:32 +00:00
Andrew Tridgell
039e9dc5e6 - patch to fix a memory leak from metze
- fix a couple of unicode string errors for ascii clients found by
  RAW- tests
(This used to be commit 81c941ba8a)
2003-08-15 20:19:30 +00:00
Andrew Tridgell
de10237719 more fixes from the IRIX compiler (thanks herb!)
(This used to be commit 02d068ba7d)
2003-08-15 18:54:44 +00:00
Herb Lewis
f24c298f43 rename mutex_t to smb_mutex_t to prevent name collision
(This used to be commit d32f149592)
2003-08-15 17:13:41 +00:00
Andrew Tridgell
cc38992e3f fixed some places where we don't brace (flags & STR_UNICODE)
this fixes the samba4 server with ascii clients
(This used to be commit c770603ac6)
2003-08-15 16:19:48 +00:00
Andrew Tridgell
fe31953678 a few build fixes to try to get irix building
(This used to be commit 4059fbcf02)
2003-08-15 15:16:34 +00:00
Herb Lewis
2efe201fa4 client/client.c - cannot initialize struct with non-const values
include/byteorder.h - fix for IRIX compiler - cannot cast an LVALUE
include/smb_interfaces.h - remove empty structure
source/lib/debug.c - void functions cannot return value
libcli/clifile.c - cannot assign *struct to struct
(This used to be commit 9a72476201)
2003-08-14 21:56:26 +00:00
Andrew Tridgell
ef2e26c91b first public release of samba4 code
(This used to be commit b0510b5428)
2003-08-13 01:53:07 +00:00