bbaumbach/samba-autobuild/.git
13 years agor735: Fix some paths
Jelmer Vernooij [Fri, 14 May 2004 13:14:11 +0000 (13:14 +0000)]
r735: Fix some paths
(This used to be commit 86946fc1b9550d605f6570ea3b2d6afb288f5a28)

13 years agor734: Fix crash bug
Jelmer Vernooij [Fri, 14 May 2004 13:07:20 +0000 (13:07 +0000)]
r734: Fix crash bug
(This used to be commit 178cd902fc7069e3d613c46fc4845101a0229655)

13 years agor733: remove unused files in source/
Stefan Metzmacher [Fri, 14 May 2004 12:53:43 +0000 (12:53 +0000)]
r733: remove unused files in source/

maybe we can readd the Doxyfile later if someone wants to maintain it
and a web server

metze
(This used to be commit b2c05e3e864ab24903f99e1d8a1094c853afce16)

13 years agor729: fix the build : inlcude lib/tdb/config.m4
Stefan Metzmacher [Fri, 14 May 2004 12:32:23 +0000 (12:32 +0000)]
r729: fix the build : inlcude lib/tdb/config.m4

metze
(This used to be commit c563b3bf8389e4cc3ae0185efcfa9291f9a61de6)

13 years agor728: - let libldb_tdb depend on new subsystem LIBTDB
Stefan Metzmacher [Fri, 14 May 2004 12:09:21 +0000 (12:09 +0000)]
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 520b9762161d9b5d5223b42910494af80fd5c1e3)

13 years agor727: Start working on debian package for samba4
Jelmer Vernooij [Fri, 14 May 2004 12:05:48 +0000 (12:05 +0000)]
r727: Start working on debian package for samba4
(This used to be commit 3fb009b719451ef3253051d06b0bdbca87d4557d)

13 years agor726: fix the build: libcli/raw/clirewrite.o is gone:-)
Stefan Metzmacher [Fri, 14 May 2004 12:03:14 +0000 (12:03 +0000)]
r726: fix the build: libcli/raw/clirewrite.o is gone:-)

metze
(This used to be commit 17c95831485d966058d9d2b8d6c129b0057622f9)

13 years agor725: fix usage of $PERL to "$PERL" to handle perl -W correct
Stefan Metzmacher [Fri, 14 May 2004 12:01:31 +0000 (12:01 +0000)]
r725: fix usage of $PERL to "$PERL" to handle perl -W correct

metze
(This used to be commit b1161c4c832dd0a2975eee0908d9d5cd6171f608)

13 years agor719: Follow the trend - remove more unused functions.
Andrew Bartlett [Fri, 14 May 2004 05:41:21 +0000 (05:41 +0000)]
r719: Follow the trend - remove more unused functions.

Andrew Bartlett
(This used to be commit 62eef851fd79b2739b93b4ed7829514a3dcbf1d0)

13 years agor718: removed some more unused code, and two source files
Andrew Tridgell [Fri, 14 May 2004 04:02:22 +0000 (04:02 +0000)]
r718: removed some more unused code, and two source files
(This used to be commit a9768c25fd32e76514c837f343f2b52bf0f0824d)

13 years agor715: Finish the ldb conversion for the auth_sam module.
Andrew Bartlett [Fri, 14 May 2004 01:15:16 +0000 (01:15 +0000)]
r715: Finish the ldb conversion for the auth_sam module.

Andrew Bartlett
(This used to be commit 099151cdabd40e724b36482c0ffc169d231146d2)

13 years agor714: make sure ldb formats are portable between big/little endian machines
Andrew Tridgell [Fri, 14 May 2004 00:26:37 +0000 (00:26 +0000)]
r714: make sure ldb formats are portable between big/little endian machines
(This used to be commit 166a664a00d2befe30978072e6f3f266b18ba9f4)

13 years agor713: added a NetShareGetInfo torture test (thanks to abartlet for pointing
Andrew Tridgell [Fri, 14 May 2004 00:24:00 +0000 (00:24 +0000)]
r713: added a NetShareGetInfo torture test (thanks to abartlet for pointing
out that this was missing)
(This used to be commit 00916f236d3437a9080614d20a3ab589be6f9196)

13 years agor712: fixed a bug in the NetShareGetInfo idl, and added another info level
Andrew Tridgell [Fri, 14 May 2004 00:23:07 +0000 (00:23 +0000)]
r712: fixed a bug in the NetShareGetInfo idl, and added another info level
(This used to be commit 93977055939c5282dbf218f3a6739fa17ebfc641)

13 years agor711: don't hide attributes inside the special ldb_tdb records (so the fact
Andrew Tridgell [Fri, 14 May 2004 00:22:26 +0000 (00:22 +0000)]
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 b42d1f39842ac25fee2238040ac01321f71a79c5)

13 years agor708: Clean up copyright headers, to reflect code that has come and gone
Andrew Bartlett [Thu, 13 May 2004 23:16:33 +0000 (23:16 +0000)]
r708: Clean up copyright headers, to reflect code that has come and gone
over time.

Andrew Bartlett
(This used to be commit 1a53e5c8296a7c09563abde1eb4a66ce9cf45473)

13 years agor707: Chainsaw work - SAM_ACCOUNT can die, along with passdb
Andrew Bartlett [Thu, 13 May 2004 23:11:53 +0000 (23:11 +0000)]
r707: Chainsaw work - SAM_ACCOUNT can die, along with passdb

Andrew Bartlett
(This used to be commit bd0e6c9983779e134d206ca939d221dab99521b6)

13 years agor703: only use $PERL -W when --enable-debug
Stefan Metzmacher [Thu, 13 May 2004 20:26:23 +0000 (20:26 +0000)]
r703: only use $PERL -W when --enable-debug

metz
(This used to be commit 6289da6783d91637a6be76a4e5444fc22570eca0)

13 years agor702: fix krb5 linking
Stefan Metzmacher [Thu, 13 May 2004 20:14:05 +0000 (20:14 +0000)]
r702: fix krb5 linking

metze
(This used to be commit d0145cec9f757d8867d54b1019a3060995a95072)

13 years agor701: change debug messages a bit
Stefan Metzmacher [Thu, 13 May 2004 20:13:17 +0000 (20:13 +0000)]
r701: change debug messages a bit

metze
(This used to be commit 03babc5af2552e611bb8f659e14549a580922d72)

13 years agor700: fix SMB_LIBRARY() to disable the lib by default
Stefan Metzmacher [Thu, 13 May 2004 20:12:26 +0000 (20:12 +0000)]
r700: fix SMB_LIBRARY() to disable the lib by default

metze
(This used to be commit b6ac3021f275ba6b0ee0035933c290db4e8bda00)

13 years agor697: make use of SMB_EXT_LIB for LDAP and KRB5
Stefan Metzmacher [Thu, 13 May 2004 18:06:45 +0000 (18:06 +0000)]
r697: make use of SMB_EXT_LIB for LDAP and KRB5

metze
(This used to be commit b054f7d4906d1d2b96b352af09c6bdcf96553c2a)

13 years agor696: fix formating
Stefan Metzmacher [Thu, 13 May 2004 18:04:36 +0000 (18:04 +0000)]
r696: fix formating

add pkg-config --libs-only-L to linker flags

metze
(This used to be commit cfefe907cce05512a200bd4a3de0b3829f7b0ddb)

13 years agor695: don't add libs andlinkerflags to STATIC_LIBRARY
Stefan Metzmacher [Thu, 13 May 2004 18:02:46 +0000 (18:02 +0000)]
r695: don't add libs andlinkerflags to STATIC_LIBRARY

metze
(This used to be commit 2edc46eabe59d6e430199f68e37fb49875a72d28)

13 years agor693: Make static
Jelmer Vernooij [Thu, 13 May 2004 16:47:32 +0000 (16:47 +0000)]
r693: Make static
(This used to be commit 30d3915c760ac5ee5e632539a3503fc7fed9cc63)

13 years agor692: Add libwinregistry
Jelmer Vernooij [Thu, 13 May 2004 16:45:01 +0000 (16:45 +0000)]
r692: Add libwinregistry
(This used to be commit 0ace3bf289777c30310a05e66fd674337413f0d8)

13 years agor691: add
Stefan Metzmacher [Thu, 13 May 2004 16:39:29 +0000 (16:39 +0000)]
r691: add
--
make binary_smbd
make library_libldb
make module_ntvfs_simple
--
style make rules which depend on make basics, so make idl proto is called by them

metze
(This used to be commit bbec0b6c95d7d01ac36bb0820b2049db57fd2a2c)

13 years agor690: - ignore source/tags
Stefan Metzmacher [Thu, 13 May 2004 16:15:46 +0000 (16:15 +0000)]
r690: - ignore source/tags

- add support for shared libraries

- enable libldb shared lib when --enable-experimental

metze
(This used to be commit dcef69dc54a2575e7f57d67d1983482b4ff57bdb)

13 years agor688: add --enable-experimental
Stefan Metzmacher [Thu, 13 May 2004 16:09:34 +0000 (16:09 +0000)]
r688: add --enable-experimental

use Data::Dumper for config.smb_build.dump
when --enable-debug

metze
(This used to be commit 0fd558de796e5798279e8252a7f0d4efdd3a86e6)

13 years agor687: add newline at eof
Stefan Metzmacher [Thu, 13 May 2004 15:55:53 +0000 (15:55 +0000)]
r687: add newline at eof

metze
(This used to be commit 38fd7c5e1a8ee5dcc0e5e6af765fb81f6f7c4111)

13 years agor686: - Add SMB_EXT_LIB_FROM_PKGCONFIG()
Jelmer Vernooij [Thu, 13 May 2004 15:37:57 +0000 (15:37 +0000)]
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 a63b704c36f2f5b52e932b6b2c99e7d664c9bdc7)

13 years agor685: The SAM is dead! Long live the new SAM! ;-)
Andrew Bartlett [Thu, 13 May 2004 15:34:56 +0000 (15:34 +0000)]
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 2aa0b55fb86648731d5f2201fa5a6aa993b7ca48)

13 years agor684: Note the fact that NTLMv2 provides a weath of futher testcases...
Andrew Bartlett [Thu, 13 May 2004 15:31:21 +0000 (15:31 +0000)]
r684: Note the fact that NTLMv2 provides a weath of futher testcases...

Andrew Bartlett
(This used to be commit d75558cdcbbb89dbe66287d7461b7abae14a8d36)

13 years agor683: Remove the trailing ; from this macro, so it can be used in an 'if' expression.
Andrew Bartlett [Thu, 13 May 2004 15:27:08 +0000 (15:27 +0000)]
r683: Remove the trailing ; from this macro, so it can be used in an 'if' expression.
(This used to be commit 3813517a8b561e7210ffc32ce861683b057d18eb)

13 years agor682: Typo fixes
Jelmer Vernooij [Thu, 13 May 2004 14:13:21 +0000 (14:13 +0000)]
r682: Typo fixes
(This used to be commit 767ba7bd52d7fa98524a553d86dca657c5290424)

13 years agor681: don't init r.out.result.v
Stefan Metzmacher [Thu, 13 May 2004 13:36:14 +0000 (13:36 +0000)]
r681: don't init r.out.result.v

metze
(This used to be commit f7ded36699dabecf31ccaf765d667b7240822f8d)

13 years agor680: fail directly when we notice that perl is not there
Stefan Metzmacher [Thu, 13 May 2004 13:16:55 +0000 (13:16 +0000)]
r680: fail directly when we notice that perl is not there
(we fail anyway)

metze
(This used to be commit 9f6deb7d795fbddc973e84a45ecb1273aa4f3aea)

13 years agor679: fix make install
Stefan Metzmacher [Thu, 13 May 2004 12:42:28 +0000 (12:42 +0000)]
r679: fix make install

metze
(This used to be commit 17bb581ab617c9a1883a3a4028ddac94aa2d5980)

13 years agor678: use ./config.smb_build.pl instead of config.smb_build.pl
Stefan Metzmacher [Thu, 13 May 2004 12:40:52 +0000 (12:40 +0000)]
r678: use ./config.smb_build.pl instead of config.smb_build.pl

metze
(This used to be commit 3de5bf894e71ce9a7a0464f2245a64822a34cc5a)

13 years agor677: fix: '$' -> '\$'
Stefan Metzmacher [Thu, 13 May 2004 12:16:35 +0000 (12:16 +0000)]
r677: fix: '$' -> '\$'

metze
(This used to be commit 89c3780c15687c16d4607c912f71d1082690af76)

13 years agor674: use the same -I flags as before
Stefan Metzmacher [Thu, 13 May 2004 11:47:34 +0000 (11:47 +0000)]
r674: use the same -I flags as before

metze
(This used to be commit e7c9e56a5d889497f63c65582f064e02d4442e36)

13 years agor673: disable registry_gconf for now
Stefan Metzmacher [Thu, 13 May 2004 11:32:39 +0000 (11:32 +0000)]
r673: disable registry_gconf for now

metze
(This used to be commit 5bbf0c240730fc27b7341eb7c6891c7741640e74)

13 years agor672: disable gregedit for now
Stefan Metzmacher [Thu, 13 May 2004 10:53:52 +0000 (10:53 +0000)]
r672: disable gregedit for now

metze
(This used to be commit 63600a2a9b2607130efe8e4336a48b5e9584d929)

13 years agor671: fix make ./include/proto.h
Stefan Metzmacher [Thu, 13 May 2004 10:45:55 +0000 (10:45 +0000)]
r671: fix make ./include/proto.h

metze
(This used to be commit 9312b9cd611373468d5b89c9480646170a49db5b)

13 years agor670: add make everything
Stefan Metzmacher [Thu, 13 May 2004 10:42:53 +0000 (10:42 +0000)]
r670: add make everything

metze
(This used to be commit 3f942ac521ffbb970345519775f20284be393e60)

13 years agor669: display the version on top of configure
Stefan Metzmacher [Thu, 13 May 2004 10:40:01 +0000 (10:40 +0000)]
r669: display the version on top of configure

this will help in the build farm

metze
(This used to be commit 05c53de97ee98ae27b064d15085606b041307bc2)

13 years agor668: fix the build
Stefan Metzmacher [Thu, 13 May 2004 10:38:11 +0000 (10:38 +0000)]
r668: fix the build

metze
(This used to be commit ba5e71f59e0547aa8329661c7fec73a6469726a5)

13 years agor667: remove Data::Dumper dependecy
Stefan Metzmacher [Thu, 13 May 2004 10:35:08 +0000 (10:35 +0000)]
r667: remove Data::Dumper dependecy

metze
(This used to be commit eae450f219701e156a5bd0fd7096dd7fe7da6e2b)

13 years agor666: readd 'make etags' and 'make ctags'
Stefan Metzmacher [Thu, 13 May 2004 10:26:22 +0000 (10:26 +0000)]
r666: readd 'make etags' and 'make ctags'

metze
(This used to be commit fcab9867f90f86c329d82925549c2f9733131ab5)

13 years agor665: merge over the new build system from my tmp branch
Stefan Metzmacher [Thu, 13 May 2004 10:20:53 +0000 (10:20 +0000)]
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 c78a2ddb28ec50d6570a83b1f66f18a5c3621731)

13 years agor655: Fix if() logic
Jelmer Vernooij [Wed, 12 May 2004 16:13:32 +0000 (16:13 +0000)]
r655: Fix if() logic
(This used to be commit 09096cfc3e1b35b4ac944cf84bfdec6ee44e06bf)

13 years agor649: return unknown interface when the client not yet
Stefan Metzmacher [Tue, 11 May 2004 15:39:23 +0000 (15:39 +0000)]
r649: return unknown interface when the client not yet
binds succesful to an interface

metze
(This used to be commit c39e450702cfa2b577c64e14ba1428fd95db7ade)

13 years agor644: add SPNEGO auth type
Stefan Metzmacher [Tue, 11 May 2004 00:43:46 +0000 (00:43 +0000)]
r644: add SPNEGO auth type

metze
(This used to be commit 75bca5dcfa68de0d18a144a221260d2f728e0bfc)

13 years agor641: readd 'use dump;'
Stefan Metzmacher [Mon, 10 May 2004 23:23:43 +0000 (23:23 +0000)]
r641: readd 'use dump;'

metze
(This used to be commit 8e2c08f8c7f9481d64b87e7d45e98bc48661efbb)

13 years agor638: remove unused dependency to Data::Dumper and dump
Stefan Metzmacher [Mon, 10 May 2004 22:46:48 +0000 (22:46 +0000)]
r638: remove unused dependency to Data::Dumper and dump
(fix some  build farm hosts)

metze
(This used to be commit 8735a393c19711cc0f0cf392684d523b1abd2878)

13 years agor627: remove the precompiled header when we call make clean or make proto
Stefan Metzmacher [Mon, 10 May 2004 12:38:08 +0000 (12:38 +0000)]
r627: remove the precompiled header when we call make clean or make proto

metze
(This used to be commit e37238a7c7c69e3dfcda319752e13131207d59e4)

13 years agor626: make the code a bit more readable
Stefan Metzmacher [Mon, 10 May 2004 12:37:06 +0000 (12:37 +0000)]
r626: make the code a bit more readable

metze
(This used to be commit 81b94718e4145a53947d401c4b4b88b71c71e4a4)

13 years agor625: - handle passwords longer than length 14 (thanks to abartlet for pointing...
Andrew Tridgell [Mon, 10 May 2004 12:05:54 +0000 (12:05 +0000)]
r625:  - handle passwords longer than length 14 (thanks to abartlet for pointing out the bug)

 - delete unicodePwd if not storing a plaintext password
(This used to be commit 6c3f22a685c55f183f4e0e4303e3d9990f4b39b5)

13 years agor624: all templates should be in class Template
Andrew Tridgell [Mon, 10 May 2004 12:03:38 +0000 (12:03 +0000)]
r624: all templates should be in class Template
(This used to be commit 0431d309037e97456895095f8e0a44b71de1454e)

13 years agor623: setUserInfo level 24 (password set) now works in the SAMR server. This includes all
Andrew Tridgell [Mon, 10 May 2004 11:23:50 +0000 (11:23 +0000)]
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 cb070b9084d95cf5178edbef951b75eab62b7220)

13 years agor622: removed some unused functions to make smbd compile again after
Andrew Tridgell [Mon, 10 May 2004 08:58:42 +0000 (08:58 +0000)]
r622: removed some unused functions to make smbd compile again after
andrew's recent chainsaw job :)
(This used to be commit 20166f4e19a599a85dfff045a738309d191db9e7)

13 years agor620: Remove more ununsed code.
Andrew Bartlett [Sun, 9 May 2004 23:05:37 +0000 (23:05 +0000)]
r620: Remove more ununsed code.

Andrew Bartlett
(This used to be commit 795ace17a8905f495e9e191ffbd559927894941b)

13 years agor619: Remove more code that is no longer called.
Andrew Bartlett [Sun, 9 May 2004 22:50:31 +0000 (22:50 +0000)]
r619: Remove more code that is no longer called.

Andrew Bartlett
(This used to be commit 4e614cbe922ddc591b17b2357e17eff8ce1d546c)

13 years agor617: Sync some minor updates with repository:
Tim Potter [Sun, 9 May 2004 22:35:00 +0000 (22:35 +0000)]
r617: Sync some minor updates with repository:

  - start handing idl string types
  - comments
  - generate field types
  - code to select field types and bases
(This used to be commit 3d4148c07c46d5d99bd91e1985540cc4e59db2bc)

13 years agor615: Implement samr_OpenGroup, samr_QueryGroupInfo, samr_SetGroupInfo,
Volker Lendecke [Sun, 9 May 2004 15:39:12 +0000 (15:39 +0000)]
r615: Implement samr_OpenGroup, samr_QueryGroupInfo, samr_SetGroupInfo,
samr_DeleteDomainGroup.

I've added the hidden attribute numMembers that must be maintained by
Add/DelGroupMember for the GroupInfoAll query.

Volker
(This used to be commit 945d7478605c1bd67e4162ebb0635ab7da11faaf)

13 years agor614: Clean out the POSIX assumptions from the Samba4 auth subsystem.
Andrew Bartlett [Sun, 9 May 2004 13:42:02 +0000 (13:42 +0000)]
r614: Clean out the POSIX assumptions from the Samba4 auth subsystem.

This removes the code that tried to lookup posix groups, as well as
the code that was tied to the SAM_ACCOUNT.

This should make auth_ldb much easier to write :-)

Andrew Bartlett
(This used to be commit e096ee2112adecaa69b6b3eb155a4e8f80dfc0f7)

13 years agor613: Fix the RPC-SAMR torture test, for my session_key changes.
Andrew Bartlett [Sun, 9 May 2004 13:37:17 +0000 (13:37 +0000)]
r613: Fix the RPC-SAMR torture test, for my session_key changes.

Andrew Bartlett
(This used to be commit a04b074c049db832f4c02a35d951d40875fce6d1)

13 years agor612: fixed a timezone call typo noticed by abartlet
Andrew Tridgell [Sun, 9 May 2004 13:26:34 +0000 (13:26 +0000)]
r612: fixed a timezone call typo noticed by abartlet
(This used to be commit 329c5ccd74680381b30c4a2235010c766ac46ecc)

13 years agor611: Fix breakage from my last commit:
Andrew Bartlett [Sun, 9 May 2004 13:07:23 +0000 (13:07 +0000)]
r611: Fix breakage from my last commit:

Now that all session keys are DATA_BLOBs, fix the callers.

This assumes some things about the behaviour of certain crypto
algorithms, without the ability to test it on session keys != 16 bytes
in length.  We will just need to retest when we get the KRB5 support
in (DES keys are 8 bytes).

Andrew Bartlett
(This used to be commit e4355a7ec1eba92bdecef8cc478272897276dbae)

13 years agor610: - Merge the Samba3 'ntlm_auth --diagnostics' testsuite to Samba4.
Andrew Bartlett [Sun, 9 May 2004 12:42:18 +0000 (12:42 +0000)]
r610:  - Merge the Samba3 'ntlm_auth --diagnostics' testsuite to Samba4.
  - This required using NETLOGON_NEG_AUTH2_FLAGS for the
    SetupCredentials2 negotiation flags, which is what Samba3 does,
    because otherwise the server uses different crypto.
  - This tests the returned session keys, which we decrypt.

 - Update the Samba4 notion of a 'session key' to be a DATA_BLOB in
   most places.

 - Fix session key code to return NT_STATUS_NO_SESSION_KEY if none is
   available.

 - Remove a useless argument to SMBsesskeygen_ntv1

 - move netr_CredentialState from the .idl to the new credentials.h

Andrew Bartlett
(This used to be commit 44f8b5b53e6abd4de8a676f78d729988fadff320)

13 years agor609: allow ldbedit to take a list of attributes to edit, just like
Andrew Tridgell [Sun, 9 May 2004 12:37:35 +0000 (12:37 +0000)]
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 dd83d39de23cdf8c574005829972dae8dc6bee6a)

13 years agor608: - a couple of very minor fixes to the CreateGroup code
Andrew Tridgell [Sun, 9 May 2004 12:32:25 +0000 (12:32 +0000)]
r608: - a couple of very minor fixes to the CreateGroup code

- added samr_GetUserPwInfo() samr server call
(This used to be commit 0250f5d6aaf4f9325ace707c69f5e24bcd7a0ed9)

13 years agor607: When our code is looking for an 'empty' data blob
Andrew Bartlett [Sun, 9 May 2004 12:30:33 +0000 (12:30 +0000)]
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 64121aa1a9d037d3969f24be62f4521611c89888)

13 years agor606: added a HIDDEN attribute on fields in ldb (in @ATTRIBUTES). This allows you...
Andrew Tridgell [Sun, 9 May 2004 12:30:30 +0000 (12:30 +0000)]
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 f5cd3d733b71368ea652f8a4d653d87f45ff983f)

13 years agor605: Implement CreateDomainGroup, essentially cut&paste from CreateUser2.
Volker Lendecke [Sun, 9 May 2004 11:21:46 +0000 (11:21 +0000)]
r605: Implement CreateDomainGroup, essentially cut&paste from CreateUser2.

Volker
(This used to be commit 59241c0c9aa2d64d66eb04e81aa5500681604061)

13 years agor604: Better dumping of in,out,ref properties.
Tim Potter [Sun, 9 May 2004 10:55:54 +0000 (10:55 +0000)]
r604: Better dumping of in,out,ref properties.
(This used to be commit 209f5a25a950e8780e9512b71fbb12b1cdbe1a17)

13 years agor602: Autogenerated packet-dcerpc-samr.c now compiles!
Tim Potter [Sun, 9 May 2004 10:03:55 +0000 (10:03 +0000)]
r602: Autogenerated packet-dcerpc-samr.c now compiles!
(This used to be commit 0c1069b56e7c80e2b428f6a6b550eacd5ac3d762)

13 years agor601: added the server code for all the samr_SetUserInfo and samr_QueryUserInfo level...
Andrew Tridgell [Sun, 9 May 2004 09:39:47 +0000 (09:39 +0000)]
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 ec0a51898f543578e755207d81ed5c1524861c64)

13 years agor600: Get rid of trailing whitespace which freaks out emacs' fontification.
Tim Potter [Sun, 9 May 2004 07:10:12 +0000 (07:10 +0000)]
r600: Get rid of trailing whitespace which freaks out emacs' fontification.
(This used to be commit d0383e9a7a0a5bee9a52ddc81d5f89c9f01c269b)

13 years agor597: Start generating parser code - only supports uint16, uint32 and policy
Tim Potter [Sun, 9 May 2004 01:26:26 +0000 (01:26 +0000)]
r597: Start generating parser code - only supports uint16, uint32 and policy
handle types.
(This used to be commit 1e02ccd94edc87f4107d21f7f778f1a88c9e197d)

13 years agor596: log all ldb searches at level 4 in samdb
Andrew Tridgell [Sun, 9 May 2004 00:42:35 +0000 (00:42 +0000)]
r596: log all ldb searches at level 4 in samdb
(This used to be commit defaf0d817a7c207da59692245aa65bc30c9bd19)

13 years agor595: nicer handling on max_size multiplier
Andrew Tridgell [Sun, 9 May 2004 00:42:09 +0000 (00:42 +0000)]
r595: nicer handling on max_size multiplier
(This used to be commit 994baba7ebc267cb3051109aee022d71472aa6b6)

13 years agor594: - make sure all users in the domain have the same base sid!
Andrew Tridgell [Sun, 9 May 2004 00:41:32 +0000 (00:41 +0000)]
r594:  - make sure all users in the domain have the same base sid!

 - added proper ldap time construction to provisioning
(This used to be commit 0f12584b4b1b90aa20c6a4a5199829b5beba2a1d)

13 years agor593: add a constant for the records size multiplier for max_size in samr_EnumDomainUsers
Andrew Tridgell [Sun, 9 May 2004 00:40:45 +0000 (00:40 +0000)]
r593: add a constant for the records size multiplier for max_size in samr_EnumDomainUsers
(This used to be commit 252b11112ce22152de3d53d0ba657879346ff243)

13 years agor591: don't need to init non-ref out ptrs (thanks to abartlet for spotting this)
Andrew Tridgell [Sun, 9 May 2004 00:39:39 +0000 (00:39 +0000)]
r591: don't need to init non-ref out ptrs (thanks to abartlet for spotting this)
(This used to be commit 3ac0cff83752b98ee7b8af7f4f9a33ffe9ae05e7)

13 years agor589: Fix IDL dump module so --dump and --diff options to pidl.pl work
Tim Potter [Sat, 8 May 2004 23:51:23 +0000 (23:51 +0000)]
r589: Fix IDL dump module so --dump and --diff options to pidl.pl work
again.  Still a few problems left though.
(This used to be commit e921a5879f8a5a867dce61e684a0010a5dab9472)

13 years agor587: added server code for samr_EnumDomainUsers, and started adding
Andrew Tridgell [Sat, 8 May 2004 14:42:45 +0000 (14:42 +0000)]
r587: added server code for samr_EnumDomainUsers, and started adding
samr_SetUserInfo and samr_QueryUserInfo
(This used to be commit e0db9659a85b59e52fbe033a94b411d6c64d9f9c)

13 years agor586: removed --clientfns from build_idl.sh (tim removed that code from pidl)
Andrew Tridgell [Sat, 8 May 2004 07:12:04 +0000 (07:12 +0000)]
r586: removed --clientfns from build_idl.sh (tim removed that code from pidl)
(This used to be commit d1dcde1d913803a44b07a1937262ae627680072c)

13 years agor583: fixed two bugs in the handling of index entry deletion
Andrew Tridgell [Sat, 8 May 2004 03:44:47 +0000 (03:44 +0000)]
r583: fixed two bugs in the handling of index entry deletion
(This used to be commit 7b5f3370e6c078bf506ac3eb24fb330d4aee7688)

13 years agor582: added the LMSessKey in SamInfo and SamInfo2, thanks to work by abartlet
Andrew Tridgell [Sat, 8 May 2004 02:48:24 +0000 (02:48 +0000)]
r582: added the LMSessKey in SamInfo and SamInfo2, thanks to work by abartlet

added test code for SamLogon validation level 2 and 3, so we test both
SamInfo and SamInfo2
(This used to be commit 321dbb61cc0743379ceb6b8fff6a0ca37f308bc2)

13 years agor578: initial server side implementation of samr_CreateUser(),
Andrew Tridgell [Sat, 8 May 2004 00:02:31 +0000 (00:02 +0000)]
r578: initial server side implementation of samr_CreateUser(),
samr_CreateUser2(), samr_LookupNames(), samr_OpenUser(),
and samr_DeleteUser()

this uses a user template in the SAM db, of objectclass "userTemplate"
and dn CN=TemplateUser,CN=Templates,$BASEDN. Using a template allows
an admin to add any default user attributes that they might want to
the user template and all new users will receive those attributes.
(This used to be commit 10b6e0011b5952c98432dc2d4b2058ac89a9cc2d)

13 years agor577: extended the LookupNames test to check for correct handling of unmapped names
Andrew Tridgell [Fri, 7 May 2004 23:57:35 +0000 (23:57 +0000)]
r577: extended the LookupNames test to check for correct handling of unmapped names
(This used to be commit e3b31625f476cb1b8a4d5003dee2c574582c9b46)

13 years agor576: added a ldap_timestring() function (needed for fields like whenChanged in SAM db)
Andrew Tridgell [Fri, 7 May 2004 23:56:57 +0000 (23:56 +0000)]
r576: added a ldap_timestring() function (needed for fields like whenChanged in SAM db)
(This used to be commit b2a63555189fea41184a2cac796945bca4e98995)

13 years agor575: moved the SID_NAME_USE enum into samr.idl
Andrew Tridgell [Fri, 7 May 2004 23:55:52 +0000 (23:55 +0000)]
r575: moved the SID_NAME_USE enum into samr.idl
(This used to be commit 2cb06b39d91ef18b21c18e9376ccbd8076aeecf8)

13 years agor574: - another attempt at const cleanliness in ldb
Andrew Tridgell [Fri, 7 May 2004 23:54:41 +0000 (23:54 +0000)]
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 62b4ec367d170330d837b0f1fe5cd13205a53b59)

13 years agor550: Remove clientfns.pm module - it was a bad idea.
Tim Potter [Fri, 7 May 2004 11:57:31 +0000 (11:57 +0000)]
r550: Remove clientfns.pm module - it was a bad idea.

Start to resurrect eparser.pm for auto-generating ethereal dissectors
for rpc.
(This used to be commit 993a18dd35fb0b09c088eb2bb38d3e14ff755130)

13 years agor549: added support for DOS error codes in NTSTATUS returns. This uses a
Andrew Tridgell [Fri, 7 May 2004 11:56:13 +0000 (11:56 +0000)]
r549: added support for DOS error codes in NTSTATUS returns. This uses a
range of NTSTATUS codes that are normally invalid to prevent conflicts
with real error codes.

use the new DOS facility to fix the ERRbaduid return that volker found
(This used to be commit 10fdfb52398857b604fff9684ee65a96d970bdaa)

13 years agor514: added a context pointer to the samdb interface, as suggested by
Andrew Tridgell [Thu, 6 May 2004 12:42:42 +0000 (12:42 +0000)]
r514: added a context pointer to the samdb interface, as suggested by
metze. Also added a reference count so that a client can close the
connection handle and still used a derived domain handle.
(This used to be commit b1cd98188d6f1f8236f5dbc7a3605a39ae27fb73)

13 years agor513: added a generic ldb debug system to allow the Samba debug functions to
Andrew Tridgell [Thu, 6 May 2004 09:55:05 +0000 (09:55 +0000)]
r513: added a generic ldb debug system to allow the Samba debug functions to
be cleanly interfaced to ldb
(This used to be commit 74b89d5f960d6b936751e3f057b4540eb80b79cd)

13 years agor511: fix some const handling
Andrew Tridgell [Thu, 6 May 2004 07:33:28 +0000 (07:33 +0000)]
r511: fix some const handling
(This used to be commit be94cc4032b23fd99823902ddcd1472a72314a88)