gd/samba-autobuild/.git
16 years agor898: - remove some unused macros
Andrew Tridgell [Wed, 26 May 2004 05:40:33 +0000 (05:40 +0000)]
r898: - remove some unused macros

- remove unused lib/smbpasswd.c

- don't set the pkt size twice when doing SMB signing
(This used to be commit 69a2942f7987647a32d43c71f41ac1a82a82ccda)

16 years agor897: - user/group creation needs to create unique names across both the
Andrew Tridgell [Wed, 26 May 2004 04:20:17 +0000 (04:20 +0000)]
r897: - user/group creation needs to create unique names across both the
  Builtin and local domain, as some calls (notably password change
  calls) don't specify a domain name, they just specifiy an account
  name.

- added the remaining password set levels to SetUserInfo in the samr
  server. We now support all of the password set and change levels
  that we know about in SAMR.
(This used to be commit 965748cbee7853238e9e5f4a4d75780f206d492e)

16 years agor896: - use andrews samdb_result_passwords() for the remaining password change mechanisms
Andrew Tridgell [Wed, 26 May 2004 01:16:30 +0000 (01:16 +0000)]
r896: - use andrews samdb_result_passwords() for the remaining password change mechanisms

- added samr_ChangePasswordUser2() (just a subset of samr_ChangePasswordUser3)
(This used to be commit b5324a4b802e793a49a40a7d57f77f7410397bb3)

16 years agor895: use _t in base ndr fns
Andrew Tridgell [Wed, 26 May 2004 01:14:56 +0000 (01:14 +0000)]
r895: use _t in base ndr fns
(This used to be commit b3c00acdf0e85563b5d5ce1f9bc86cc2e781d53e)

16 years agor894: use _t in generated pidl code
Andrew Tridgell [Wed, 26 May 2004 01:14:26 +0000 (01:14 +0000)]
r894: use _t in generated pidl code
(This used to be commit 20cc981e3338200aea6e005ed69dbe5b5b102bbb)

16 years agor893: a few more _t conversions
Andrew Tridgell [Wed, 26 May 2004 01:13:12 +0000 (01:13 +0000)]
r893: a few more _t conversions
(This used to be commit 66eb46dbb1486c5916194bf6b303cf16373a272a)

16 years agor892: Actually add the NTLMSSP self-check torture code this time...
Andrew Bartlett [Tue, 25 May 2004 23:12:52 +0000 (23:12 +0000)]
r892: Actually add the NTLMSSP self-check torture code this time...

Andrew Bartlett
(This used to be commit 9df5cbbd7694202c17a7c47ed0469d6f80412c54)

16 years agor891: fix compile
Gerald Carter [Tue, 25 May 2004 18:12:55 +0000 (18:12 +0000)]
r891: fix compile
(This used to be commit 8b6c048a02b4be0ba9c67ed82973041dccdd5c51)

16 years agor890: convert samba4 to use [u]int8_t instead of [u]int8
Stefan Metzmacher [Tue, 25 May 2004 17:50:17 +0000 (17:50 +0000)]
r890: convert samba4 to use [u]int8_t instead of [u]int8

metze
(This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)

16 years agor889: convert samba4 to use [u]int16_t instead of [u]int16
Stefan Metzmacher [Tue, 25 May 2004 17:24:24 +0000 (17:24 +0000)]
r889: convert samba4 to use [u]int16_t instead of [u]int16

metze
(This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)

16 years agor888: more ..int32 -> ..int32_t stuff
Stefan Metzmacher [Tue, 25 May 2004 16:50:09 +0000 (16:50 +0000)]
r888: more ..int32 -> ..int32_t stuff

metze
(This used to be commit f3b1d3bdc74f08ee2a1d22102d57bff94f71f5a5)

16 years agor884: convert samba4 to use [u]int32_t instead of [u]int32
Stefan Metzmacher [Tue, 25 May 2004 16:24:13 +0000 (16:24 +0000)]
r884: convert samba4 to use [u]int32_t instead of [u]int32

metze
(This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)

16 years agor882: - create TORTURE_AUTH SUBSYSTEM
Stefan Metzmacher [Tue, 25 May 2004 15:56:02 +0000 (15:56 +0000)]
r882: - create TORTURE_AUTH SUBSYSTEM
- fix the build because of the missing torture/ntlmssp.c
- this file should go into torture/auth/ !

metze
(This used to be commit ad662fddcd1082d040b7c06ce809e0b4c441c1df)

16 years agor879: fixed a typo in the password fetch wrapper
Andrew Tridgell [Tue, 25 May 2004 14:21:09 +0000 (14:21 +0000)]
r879: fixed a typo in the password fetch wrapper
(This used to be commit c75b763f41cb6d9dde9497c4b7443fe89ab5d256)

16 years agor877: This attempt at IDL was accidently included in the pervious commit.
Andrew Bartlett [Tue, 25 May 2004 14:11:39 +0000 (14:11 +0000)]
r877: This attempt at IDL was accidently included in the pervious commit.

Andrew Bartlett
(This used to be commit 6b91ab152d7bfadc113b6f206fcce4db54429871)

16 years agor874: This patch is a pile of work on NTLMSSP:
Andrew Bartlett [Tue, 25 May 2004 14:06:28 +0000 (14:06 +0000)]
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 399e2e2b1149b8d1c070aa7f0d5131c0b577d2b9)

16 years agor873: converted samba4 to use real 64 bit integers instead of
Andrew Tridgell [Tue, 25 May 2004 13:57:39 +0000 (13:57 +0000)]
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 9a9244a1c66654c12abe4379661cba83a73c4c21)

16 years agor871: add a comment about how samdb_set_password() works
Andrew Tridgell [Tue, 25 May 2004 03:31:46 +0000 (03:31 +0000)]
r871: add a comment about how samdb_set_password() works
(This used to be commit 2fdf33c6e5f5666629adaf849b97fa4d4fd5968e)

16 years agor870: we should issue a rpc fault OP_RANGE_ERROR not a WERR_NOT_SUPPORTED for
Andrew Tridgell [Tue, 25 May 2004 03:04:26 +0000 (03:04 +0000)]
r870: we should issue a rpc fault OP_RANGE_ERROR not a WERR_NOT_SUPPORTED for
functions we don't implement yet so that we don't put uninitialised
result data on the wire (found with valgrind)
(This used to be commit abe90bc7ba8d38d1f7c641494463236b0fd3f41f)

16 years agor869: convert SUBSYSTEM PROCESS_MODEL to a *.mk file
Stefan Metzmacher [Tue, 25 May 2004 01:11:46 +0000 (01:11 +0000)]
r869: convert SUBSYSTEM PROCESS_MODEL to a *.mk file

metze
(This used to be commit c0269d294e7677d9a561460084a8da00736bfc3a)

16 years agor868: we should issue a rpc fault OP_RANGE_ERROR not a WERR_NOT_SUPPORTED for
Andrew Tridgell [Tue, 25 May 2004 00:51:47 +0000 (00:51 +0000)]
r868: we should issue a rpc fault OP_RANGE_ERROR not a WERR_NOT_SUPPORTED for
functions we don't implement yet so that we don't put uninitialised
result data on the wire (found with valgrind)
(This used to be commit 2712e26a5d08afd9bf8c6957f75be522966b5062)

16 years agor867: removed a couple of unused structures
Andrew Tridgell [Tue, 25 May 2004 00:50:41 +0000 (00:50 +0000)]
r867: removed a couple of unused structures
(This used to be commit a70eb86a3fda6c48389834c442890a73caa155f9)

16 years agor866: convert the rest of the binaries to config.mk files
Stefan Metzmacher [Tue, 25 May 2004 00:20:19 +0000 (00:20 +0000)]
r866: convert the rest of the binaries to config.mk files

metze
(This used to be commit 0f8c193ac35572862b0d653dc02a71ebc71e88a8)

16 years agor865: Regression test for attribute-only opens not causing an oplock break.
Jeremy Allison [Tue, 25 May 2004 00:05:51 +0000 (00:05 +0000)]
r865: Regression test for attribute-only opens not causing an oplock break.
Samba3 server used to get this wrong.
Jeremy.
(This used to be commit 4120b3bdf6668909efa0af97b2c63adea22c35da)

16 years agor864: convert the smbd/* code to a config.mk file
Stefan Metzmacher [Mon, 24 May 2004 23:57:53 +0000 (23:57 +0000)]
r864: convert the smbd/* code to a config.mk file

and add server_auth, server_smb, server_rpc as server modules

metze
(This used to be commit ecdeedb2ac81a3c816f7d72b6f39f16dd6e6267f)

16 years agor863: Added test to ensure an open and locked file can be truncated by a second open.
Jeremy Allison [Mon, 24 May 2004 23:40:50 +0000 (23:40 +0000)]
r863: Added test to ensure an open and locked file can be truncated by a second open.
This was something the Samba3 server previously got wrong.
Jeremy.
(This used to be commit 2cb4ed271b87a5c145a5f3f64c7f82c9e73753a1)

16 years agor862: remove acl and sendfile stuff
Stefan Metzmacher [Mon, 24 May 2004 23:01:20 +0000 (23:01 +0000)]
r862: remove acl and sendfile stuff
it will be readded inside the ntvfs_posix module

metze
(This used to be commit ec624aefa86934da23105a5c014080b464efac28)

16 years agor861: remove the next round of unused stuff
Stefan Metzmacher [Mon, 24 May 2004 22:05:06 +0000 (22:05 +0000)]
r861: remove the next round of unused stuff

metze
(This used to be commit 8f59daba0d03a2c58f7f23655153de05cbe47e81)

16 years agor860: convert SUBSYSTEM TORTURE to a config.mk file
Stefan Metzmacher [Mon, 24 May 2004 22:00:40 +0000 (22:00 +0000)]
r860: convert SUBSYSTEM TORTURE to a config.mk file

metze
(This used to be commit 485eefcc0d0b6f599ec9bbb97d6d86a29dd5b762)

16 years agor858: - remove unused account policy stuff it's in our sam.ldb now:-)
Stefan Metzmacher [Mon, 24 May 2004 20:52:03 +0000 (20:52 +0000)]
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 be472beea3a7ae60cbacada8047b13d4de30643e)

16 years agor857: fix the build of gregedit (typo:-)
Stefan Metzmacher [Mon, 24 May 2004 18:13:24 +0000 (18:13 +0000)]
r857: fix the build of gregedit (typo:-)

metze
(This used to be commit 44de741038ccdbca1e3c950670748e99483a7417)

16 years agor854: remove unused file
Stefan Metzmacher [Mon, 24 May 2004 17:43:34 +0000 (17:43 +0000)]
r854: remove unused file

metze
(This used to be commit 59f9108e2d8f821d30f4f1463444ee8f76d3f16f)

16 years agor853: remove a real big bunch of unused code
Stefan Metzmacher [Mon, 24 May 2004 17:41:47 +0000 (17:41 +0000)]
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 972598d511c64f29bdc849fe58c9c82fbcf6a4a2)

16 years agor852: remove unused utility progs
Stefan Metzmacher [Mon, 24 May 2004 17:28:29 +0000 (17:28 +0000)]
r852: remove unused utility progs

metze
(This used to be commit 4ef0b3656abdebb698d93936ae6ca492a8d35ef8)

16 years agor851: convert lib/registry/ to a config.mk file
Stefan Metzmacher [Mon, 24 May 2004 17:18:00 +0000 (17:18 +0000)]
r851: convert lib/registry/ to a config.mk file

metze
(This used to be commit b5567601464a649374e0ef280661292322b3334c)

16 years agor850: convert SUBSYSTEM AUTH to a config.mk file
Stefan Metzmacher [Mon, 24 May 2004 16:54:41 +0000 (16:54 +0000)]
r850: convert SUBSYSTEM AUTH to a config.mk file

metze
(This used to be commit b29414bd23385ba2502763ed33676a42d176eaf9)

16 years agor849: move tdb/tools/Makefile to tdb/Makefile.tdb
Stefan Metzmacher [Mon, 24 May 2004 16:39:19 +0000 (16:39 +0000)]
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 e3191b54ea583913a9fd21eeb4e57d82e996c847)

16 years agor848: convert lib/tdb into the same layout as lib/ldb
Stefan Metzmacher [Mon, 24 May 2004 16:27:23 +0000 (16:27 +0000)]
r848: convert lib/tdb into the same layout as lib/ldb

metze
(This used to be commit bacab322ce89979f0ad0811cd15b73d81eceb69d)

16 years agor847: convert SMB SERVER SUBSYSTEM to a config.mk file
Stefan Metzmacher [Mon, 24 May 2004 16:09:08 +0000 (16:09 +0000)]
r847: convert SMB SERVER SUBSYSTEM to a config.mk file

metze
(This used to be commit 7f2e8a2b843cb58098a841c71764697553c57112)

16 years agor846: convert DCESRV subsystem to a config.mk file
Stefan Metzmacher [Mon, 24 May 2004 16:02:40 +0000 (16:02 +0000)]
r846: convert DCESRV subsystem to a config.mk file

metze
(This used to be commit 7fffc124e38a4e5b16d650b1f6d82b24dcfee982)

16 years agor845: convert SUBSYSTEM LIBBASIC to a .mk file
Stefan Metzmacher [Mon, 24 May 2004 15:45:37 +0000 (15:45 +0000)]
r845: convert SUBSYSTEM LIBBASIC to a .mk file

metze
(This used to be commit 81f50fbc95c8c81a18dc1e87a76c53657a24af7b)

16 years agor839: password set/change in the samr server is complex enough that it
Andrew Tridgell [Mon, 24 May 2004 05:35:59 +0000 (05:35 +0000)]
r839: password set/change in the samr server is complex enough that it
deserves its own C module
(This used to be commit 2ba7ff824c32b3db037263ddcff9c876293ea284)

16 years agor838: got rid of rpc_misc.h
Andrew Tridgell [Mon, 24 May 2004 05:07:04 +0000 (05:07 +0000)]
r838: got rid of rpc_misc.h
(This used to be commit f61d333b2a280434181451ce735a05ad319a2515)

16 years agor837: get rid of some more old rpc headers, and the genparser headers
Andrew Tridgell [Mon, 24 May 2004 05:01:34 +0000 (05:01 +0000)]
r837: get rid of some more old rpc headers, and the genparser headers
(This used to be commit 3068b766edb17accbf52f82a81734f6d76e9f9bc)

16 years agor836: get rid of SEC_DESC and related structure definitions
Andrew Tridgell [Mon, 24 May 2004 04:53:12 +0000 (04:53 +0000)]
r836: get rid of SEC_DESC and related structure definitions
(This used to be commit d75fcbf0686f6a05e7996ba356fb5c31fb01a3b3)

16 years agor834: Fix gconf and dir backends
Jelmer Vernooij [Sun, 23 May 2004 14:18:08 +0000 (14:18 +0000)]
r834: Fix gconf and dir backends
(This used to be commit fe5166ee88d401cdd493644af4876e803f546aef)

16 years agor833: Compile error
Jelmer Vernooij [Sun, 23 May 2004 13:55:52 +0000 (13:55 +0000)]
r833: Compile error
(This used to be commit e4f6ca85223b86beac237398ea5474f4f56404a2)

16 years agor832: Only show menu items for backends if they're present
Jelmer Vernooij [Sun, 23 May 2004 13:50:56 +0000 (13:50 +0000)]
r832: Only show menu items for backends if they're present
(This used to be commit 9228aeeafd956a2885b5f1dfaa6feacb555b7483)

16 years agor831: These functions duplicate the push/pull charcnv interfaces that we use
Andrew Bartlett [Sun, 23 May 2004 12:44:53 +0000 (12:44 +0000)]
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 5f5786ad5ff6cc133a143476e8968b00ed057a62)

16 years agor830: Use pull_ucs2_talloc() instead of acnv_u2ux() and fix a memory leak.
Jelmer Vernooij [Sun, 23 May 2004 12:37:55 +0000 (12:37 +0000)]
r830: Use pull_ucs2_talloc() instead of acnv_u2ux() and fix a memory leak.
(This used to be commit ad88561becf59cd38a3e329e68cbe5518a3373d7)

16 years agor829: Implement 'hive' command
Jelmer Vernooij [Sun, 23 May 2004 12:12:50 +0000 (12:12 +0000)]
r829: Implement 'hive' command
(This used to be commit 2a87981bd0a79f0d685441d690e2f810d6ed86d0)

16 years agor828: Some fixes in the core and regshell concerning hives and
Jelmer Vernooij [Sun, 23 May 2004 12:01:20 +0000 (12:01 +0000)]
r828: Some fixes in the core and regshell concerning hives and
unicode
(This used to be commit 25c27b176c9905f3968e955f33a6db41b0102a38)

16 years agor827: remove a few more unused functions that we are unlikely to use again
Andrew Tridgell [Sun, 23 May 2004 00:40:25 +0000 (00:40 +0000)]
r827: remove a few more unused functions that we are unlikely to use again
(This used to be commit 121dd9ba0038f6e076c464cddad0b788fe6076fa)

16 years agor826: removed a pile of old code, in preparation for a new ACL handling system. I...
Andrew Tridgell [Sun, 23 May 2004 00:30:17 +0000 (00:30 +0000)]
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 e306e27cf333e176195a47b19e3de591b4a59650)

16 years agor825: - Introduce support for multiple roots (or 'hives')
Jelmer Vernooij [Sat, 22 May 2004 18:49:25 +0000 (18:49 +0000)]
r825: - Introduce support for multiple roots (or 'hives')
- Clean up rpc backend (possible now that multiple hives are supported)
(This used to be commit 8cd1b6bc70510fe576135a66351e9e3ea895c9ff)

16 years agor822: use 'Last Change Rev:' instead of 'Revision:' from the svn info output
Stefan Metzmacher [Sat, 22 May 2004 14:48:26 +0000 (14:48 +0000)]
r822: use 'Last Change Rev:' instead of 'Revision:' from the svn info output
for setting the SVN_REVISION in version.h

metze
(This used to be commit 081f7970dd16215b13fb3ab0630992189a9187be)

16 years agor821: prompt user for password if not given by -U user%pass
Stefan Metzmacher [Sat, 22 May 2004 14:40:49 +0000 (14:40 +0000)]
r821: prompt user for password if not given by -U user%pass
and not as torture:password in smb.conf

metze
(This used to be commit 9de377a914292be19cdffd1020d613d50df7f4e6)

16 years agor819: Fix seg fault in rpc backend, found by Andrew Bartlett
Jelmer Vernooij [Sat, 22 May 2004 11:36:20 +0000 (11:36 +0000)]
r819: Fix seg fault in rpc backend, found by Andrew Bartlett
(This used to be commit d4cc4b3d682eb828208a621fe6b795f3e77c746a)

16 years agor818: added server side SMB signing to Samba4
Andrew Tridgell [Sat, 22 May 2004 11:16:21 +0000 (11:16 +0000)]
r818: added server side SMB signing to Samba4
(This used to be commit 8e5ddf5e8eb74f667897f90baa2d00f02ca5818b)

16 years agor816: - Make use of tridge's new samdb_result_sid_prefix() helper function.
Andrew Bartlett [Sat, 22 May 2004 07:55:48 +0000 (07:55 +0000)]
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 7c69a85984e47c004ddfd9bb5eadcb3191b56f9d)

16 years agor815: include our netbios name in the negprot response (this matches win2003)
Andrew Tridgell [Sat, 22 May 2004 07:38:15 +0000 (07:38 +0000)]
r815: include our netbios name in the negprot response (this matches win2003)
(This used to be commit b4b67c330174ac0570558bedf50729542ea775da)

16 years agor813: gcc has fixed its huge debug sizes with -g now, so drop the -gstabs,
Andrew Tridgell [Sat, 22 May 2004 01:29:42 +0000 (01:29 +0000)]
r813: gcc has fixed its huge debug sizes with -g now, so drop the -gstabs,
allowing us to use a more standard debug format.

If you want it even smaller than I recommend the
-feliminate-dwarf2-dups option, if your version of gcc supports it.
(This used to be commit a11340a971af24d9dcab720f92483b0dafa01142)

16 years agor812: added a new samdb_replace() call that simplifies the code in the main samr...
Andrew Tridgell [Sat, 22 May 2004 00:53:57 +0000 (00:53 +0000)]
r812: added a new samdb_replace() call that simplifies the code in the main samr server a bit.
(This used to be commit 255d6e77e705bb7a94e6738c9f48f9d8c625883c)

16 years agor811: make the ldb_modify REPLACE semantics better match LDAP (ie. no error
Andrew Tridgell [Sat, 22 May 2004 00:52:04 +0000 (00:52 +0000)]
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 1418b667d9041430786089713eafee63dd7b4a28)

16 years agor808: fix libtdb build by ifedffing out an smb_panic() and copying over CatchSignal...
Simo Sorce [Fri, 21 May 2004 16:39:12 +0000 (16:39 +0000)]
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 e1afaa1e9c8de5615030015b1360529b450d2047)

16 years agor807: compile with PICFLAG by default
Stefan Metzmacher [Fri, 21 May 2004 16:02:24 +0000 (16:02 +0000)]
r807: compile with PICFLAG by default
(ask tridge why this is better than recompiling only the
 files we need for libraries with PICFLAG)

metze
(This used to be commit ee32d29044a52d7098e242ed48c309871e711bd9)

16 years agor806: Checkin of workarea - tridge gave me some good ideas today for a better
Tim Potter [Fri, 21 May 2004 12:15:04 +0000 (12:15 +0000)]
r806: Checkin of workarea - tridge gave me some good ideas today for a better
way to do this.
(This used to be commit c63cb50ca56cb69f7ef39f9828afa61f324f2832)

16 years agor803: Add README file about building the debian package
Jelmer Vernooij [Thu, 20 May 2004 20:44:53 +0000 (20:44 +0000)]
r803: Add README file about building the debian package
(This used to be commit e100e79be0aa883ed5cc69370d705e3abf1bef01)

16 years agor796: fixed samr_OemChangePasswordUser2() to replace attributes, not add
Andrew Tridgell [Thu, 20 May 2004 13:44:46 +0000 (13:44 +0000)]
r796: fixed samr_OemChangePasswordUser2() to replace attributes, not add
(This used to be commit 24bbf9f1bcfddb5131769439bd139faef2c022e2)

16 years agor793: - don't make templates members of any class that would make them show
Andrew Tridgell [Thu, 20 May 2004 13:29:38 +0000 (13:29 +0000)]
r793:  - don't make templates members of any class that would make them show
   up in searches like "objectclass=user"

 - auto-add the computer objectclass for computer accounts on create

 - added two types of password change call in samr server

 - reset last_fault_code before each dcerpc call
(This used to be commit c1a65f83f6a4c51e60efd204dab89c20cda65d2b)

16 years agor792: - changed the ldb ldif_* functions to be in the ldb_ namespace
Andrew Tridgell [Thu, 20 May 2004 13:25:06 +0000 (13:25 +0000)]
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 36575396234e3d35dbd442c8f1ff54a17ae64e64)

16 years agor791: added ldb man page build to ldb makefile
Andrew Tridgell [Thu, 20 May 2004 13:21:30 +0000 (13:21 +0000)]
r791: added ldb man page build to ldb makefile
(This used to be commit ec38392888d20991abe18dd3e6ca226a62c7d4ae)

16 years agor790: started working on some documentation (manual pages) for ldb
Andrew Tridgell [Thu, 20 May 2004 13:20:30 +0000 (13:20 +0000)]
r790: started working on some documentation (manual pages) for ldb
(This used to be commit dcb9d1a897f7186824e997064902f3d50bad1887)

16 years agor789: we return wrong number of entries
Simo Sorce [Thu, 20 May 2004 07:49:34 +0000 (07:49 +0000)]
r789: we return wrong number of entries
(This used to be commit c0c1596dbdb1769c3f10c8299f61807497b1d38a)

16 years agor782: added torture test for level 6 logon level in netr_LogonSamLogon
Andrew Tridgell [Wed, 19 May 2004 14:43:58 +0000 (14:43 +0000)]
r782: added torture test for level 6 logon level in netr_LogonSamLogon
(This used to be commit 770322bfdfad7d7d33de0c5bc95bb0f51f7409c7)

16 years agor781: added level6 for logon level in SamLogon netlogon.idl
Andrew Tridgell [Wed, 19 May 2004 14:35:48 +0000 (14:35 +0000)]
r781: added level6 for logon level in SamLogon netlogon.idl
(This used to be commit 446808ae4dbdcd0c64387c54b7d49649971e36d0)

16 years agor771: don't know why but the SMB_INCLUDE_M4() didn't work correct
Stefan Metzmacher [Tue, 18 May 2004 14:39:37 +0000 (14:39 +0000)]
r771: don't know why but the SMB_INCLUDE_M4() didn't work correct

metze
(This used to be commit 2bb9f4adc049c82f390facc78bf32824ea1b88d9)

16 years agor770: remove unused pam_smbpass/ dir from samba4
Stefan Metzmacher [Tue, 18 May 2004 13:36:04 +0000 (13:36 +0000)]
r770: remove unused pam_smbpass/ dir from samba4

metze
(This used to be commit 25084445e714706e8c277a723a0ab6782f44990e)

16 years agor769: remove unused locking/ dir
Stefan Metzmacher [Tue, 18 May 2004 13:30:32 +0000 (13:30 +0000)]
r769: remove unused locking/ dir

metze
(This used to be commit 1f8aae548a3650215bde527782f206f17f49a803)

16 years agor768: remove unused msdfs directory
Stefan Metzmacher [Tue, 18 May 2004 13:22:00 +0000 (13:22 +0000)]
r768: remove unused msdfs directory
(in 3.X it's also gone)

metze
(This used to be commit 467f1e8e96238401cc9220ade6f76c10dd15e082)

16 years agor767: add a $flags argument to the std_CC make rule generater
Stefan Metzmacher [Tue, 18 May 2004 13:14:53 +0000 (13:14 +0000)]
r767: add a $flags argument to the std_CC make rule generater
we may need this for compiling with -fPIC

metze
(This used to be commit e65b38b7cade96e577a5065d08679ba70b074151)

16 years agor766: convert ntvfs/* to a config.mk file
Stefan Metzmacher [Tue, 18 May 2004 13:13:17 +0000 (13:13 +0000)]
r766: convert ntvfs/* to a config.mk file

metze
(This used to be commit 62d456c144e76b0d14225c2eed5b35bdf9650057)

16 years agor765: add SMB_INCLUDE_M4() macro as wrapper arround sinclude()
Stefan Metzmacher [Tue, 18 May 2004 13:12:24 +0000 (13:12 +0000)]
r765: add SMB_INCLUDE_M4() macro as wrapper arround sinclude()

metze
(This used to be commit afbe692b47f4aa6ebe2155927be00197fafe13f3)

16 years agor759: Fix some perl warnings.
Tim Potter [Mon, 17 May 2004 12:34:17 +0000 (12:34 +0000)]
r759: Fix some perl warnings.
(This used to be commit 1517ef3a986ec213d33b624fbbe8071600cc5b61)

16 years agor758: just move the util file to the additional object file list
Stefan Metzmacher [Mon, 17 May 2004 12:21:10 +0000 (12:21 +0000)]
r758: just move the util file to the additional object file list

metze
(This used to be commit 4bfecf337bab08e97bc9acfa5fb12273387f2a42)

16 years agor757: Handle empty union arms (ala rid only entries in netlogon).
Tim Potter [Mon, 17 May 2004 11:48:39 +0000 (11:48 +0000)]
r757: Handle empty union arms (ala rid only entries in netlogon).
(This used to be commit f7b23156681f12805f0c7f242f0c436d102023f4)

16 years agor756: Handle default element in union.
Tim Potter [Mon, 17 May 2004 11:39:33 +0000 (11:39 +0000)]
r756: Handle default element in union.
(This used to be commit 1ece224c9a25731a8c392cf378968273c0072ecf)

16 years agor755: - disallow process_model _thread when we don't have pwread/pwrite
Stefan Metzmacher [Mon, 17 May 2004 07:17:51 +0000 (07:17 +0000)]
r755: - disallow process_model _thread when we don't have pwread/pwrite
  and have to use the nonthreadsafe wrapper
- add pread/pwrite wrapper to ntvfs_simple
- fix const warning in ntvfs_simple

metze
(This used to be commit f0b2e42978a28204f497cccb07e407f409e3bf50)

16 years agor754: Implement the SetPassword operation on the netlogon pipe.
Andrew Bartlett [Sun, 16 May 2004 21:30:48 +0000 (21:30 +0000)]
r754: Implement the SetPassword operation on the netlogon pipe.

This involves allowing the password set code in samdb to take an
already hashed password, and some fixes to our torture code.

Andrew Bartlett
(This used to be commit f9f581b5804a20785df06cde157b23c952edc2ce)

16 years agor753: Big reorganisation of everything - also fixes handling of dissectors
Tim Potter [Sun, 16 May 2004 11:20:06 +0000 (11:20 +0000)]
r753: Big reorganisation of everything - also fixes handling of dissectors
for structures.

Instead of trying to parse everything to produce output in the right
order, generate parser in two steps: 1) gather information and register
names, fields, types etc.  2) generate output using data from step 1.
(This used to be commit 03863a2ca88c374e168d579e7e4f78877160215c)

16 years agor752: Remove debugging hack (make sure the cleanup test account after we
Andrew Bartlett [Sun, 16 May 2004 09:43:19 +0000 (09:43 +0000)]
r752: Remove debugging hack (make sure the cleanup test account after we
leave) and test that the password change actually worked.

Andrew Bartlett
(This used to be commit a93c70154ac7126a7d6e638dcfdeef49d2966308)

16 years agor751: Fix debug message to print the right variable.
Andrew Bartlett [Sun, 16 May 2004 09:42:14 +0000 (09:42 +0000)]
r751: Fix debug message to print the right variable.

Andrew Bartlett
(This used to be commit aa4b56a8736fb16134fae48165fe608912725895)

16 years agor750: Rename global $name -> $module.
Tim Potter [Sun, 16 May 2004 07:39:43 +0000 (07:39 +0000)]
r750: Rename global $name -> $module.

Start working on parsing structs.
(This used to be commit d162dcb52f96b1adfac7123201d31c07ee5c90d6)

16 years agor749: move the basic type checks
Stefan Metzmacher [Sun, 16 May 2004 01:16:17 +0000 (01:16 +0000)]
r749: move the basic type checks

be more restrict if we don't have 'long long' or it's size is less than 8 bytes

(maybe only for a while, but if the build farm like it we may let it in forever
since the smb protocol really need 64 bit variables!)

metze
(This used to be commit 4a13cc22b464dfc4cbecfa6922b14c60d95876bd)

16 years agor748: get some more info about what the compilers in the build farm support
Stefan Metzmacher [Sat, 15 May 2004 18:42:45 +0000 (18:42 +0000)]
r748: get some more info about what the compilers in the build farm support
what we need is a test if the compiler does ANSI c99

metze
(This used to be commit e8a11e441b074f9dc1c7c24c9048f8927dac8e59)

16 years agor747: report an failure in mkproto.pl via mkproto.sh to make
Stefan Metzmacher [Sat, 15 May 2004 17:50:45 +0000 (17:50 +0000)]
r747: report an failure in mkproto.pl via mkproto.sh to make
to fail directly...

metze
(This used to be commit bff8e39d3f302bb7fd6710d5e438188ad4747065)

16 years agor746: Add entry in proto tree when we don't handle an IDL type.
Tim Potter [Sat, 15 May 2004 12:26:46 +0000 (12:26 +0000)]
r746: Add entry in proto tree when we don't handle an IDL type.

Start parsing for parsing unions, structs and enums.

Don't display field type in display name.
(This used to be commit e170d9c3dc5d7abcdba9af98f61f36bb118a96fd)

16 years agor745: Move netr_ServerPasswordSet up with the other secure channel
Andrew Bartlett [Sat, 15 May 2004 12:04:07 +0000 (12:04 +0000)]
r745: Move netr_ServerPasswordSet up with the other secure channel
management functions, and make sure to include the fault until this is
no longer a stub.

Andrew Bartlett
(This used to be commit b886cb65f8d7b8b9f587d8a22d830938d4c6eb3e)

16 years agor744: A bunch of minor fixes. The ethereal pidl parser now dissects simple
Tim Potter [Sat, 15 May 2004 11:22:16 +0000 (11:22 +0000)]
r744: A bunch of minor fixes.  The ethereal pidl parser now dissects simple
samr calls - only the ones that take policy handles and uint32s.
(This used to be commit d6e30faeec097822c9cdcc9e4270d0adc139cea8)

16 years agor743: Start on a NETLOGON server in Samba4.
Andrew Bartlett [Sat, 15 May 2004 07:51:38 +0000 (07:51 +0000)]
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 94624e519b66def97758b8a48a01ffe9029176f0)