Volker Lendecke
2c94123e86
r18876: Fix smbclient -L
...
(This used to be commit a03fb81a9d16c9db787c539d63c13ecaf6d6f80d)
2007-10-10 12:14:40 -05:00
Volker Lendecke
6f3c6a46f9
r18875: The comment field can be empty
...
(This used to be commit 6d5d7bf4bbcfee77853776af59e00d006fd86dc9)
2007-10-10 12:14:40 -05:00
Volker Lendecke
323b724ce9
r18874: Fix some NTSTATUS/WERROR mixups
...
(This used to be commit ecac9b59594ef14a65091591c258b000036575fc)
2007-10-10 12:14:40 -05:00
Günther Deschner
35b1d063e1
r18871: Fix copy/paste mixup.
...
Guenther
(This used to be commit 2a605a0b175dc0ccc65ee2dc68e394bef7c954d1)
2007-10-10 12:14:40 -05:00
Andrew Tridgell
7c5f1f28db
r18870: - enable the ldb ldap backend properly based on configure tests for
...
ldap
- use ldb_global_init() instead of the backend specific
ldb_tdb_init().
(This used to be commit a6c53e58616d7731a1df9af33f78ccf0c774296e)
2007-10-10 12:14:40 -05:00
Andrew Tridgell
78f2900a16
r18869: two build fixes for systems without ldap
...
the first is to not enable the ldap ldb backend just yet. This will
need configure tests to conditionally include. We should be able to
use the m4 files from lib/ldb/
The 2nd is to fix libads/gpo.o not to publicly prototype a function
that needs ldap.h
(This used to be commit 1cf17edc14ebd379b982b589a66e86316ef7087b)
2007-10-10 12:14:39 -05:00
Andrew Tridgell
3cf367f0e7
r18868: just in case there is a disaster (with our code? never ...) use a
...
rename to group_mapping.tdb.upgraded rather than an unlink when
upgrading. So if we absolutely have to go back to the tdb, we can
change mapping_ldb.o to mapping_tdb.o in Makefile.in and recover
peoples group mappings.
We could go one step futher and make the backend configurable. Any
opinions on that?
(This used to be commit 203fc0b03c7397f7339a917456cb1701ed592f32)
2007-10-10 12:14:39 -05:00
Andrew Tridgell
8761f5dcc4
r18867: change the group mapping code to use ldb instead of tdb
...
See the discussion of this on the samba-technical list
(This used to be commit 4ad1436ceae0128e187222fce0fc79adb3049d3f)
2007-10-10 12:14:39 -05:00
Andrew Tridgell
3e2c696e45
r18866: Jeremy and Volker have given the go-ahead on the group mapping ldb
...
code. Yay!
This first commit copies lib/ldb/ from Samba4. A huge congratulations
should go to Simo on this - he has put an enormous amount of work into
ldb, and it's great to see it go into the Samba3 tree.
(This used to be commit bbedf2e34315f5c420a3a05dfe22b1d5cf79f042)
2007-10-10 12:14:36 -05:00
Andrew Tridgell
0c3194816b
r18865: fixed some of the most obvious NTSTATUS/WERROR mixups in Samba3. It
...
still doesn't compile with immediate structures and the
NTSTATUS/WERROR separation, as there are still several places where
the two error types are mixed up. I haven't fixed those as they
require decisions about the rpcclient code that I really don't want to
get into (the error handling there is a mess)
So samba3 compiles now, but only becaise HAVE_IMMEDIATE_STRUCTURES is
not used (look for HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED)
(This used to be commit 8438a6a7d4506d395c8b4bd0e99f9c100e5e3c4e)
2007-10-10 12:01:06 -05:00
Andrew Tridgell
64d4ff5dcc
r18864: merge lib/replace changes from samba4
...
(This used to be commit 6d5f507136be327558e98214b64eca225ca23d66)
2007-10-10 12:01:06 -05:00
Andrew Tridgell
af4f43db8d
r18863: the test for immediate structures has moved to lib/replace/
...
(This used to be commit 46d8433a4f8918b5e21def2dc55a62adfde234b1)
2007-10-10 12:01:06 -05:00
Andrew Tridgell
96f2a97e01
r18858: arrgh! - since HAVE_IMMEDIATE_STRUCTURES were last enabled the code
...
can no longer handle it (at least with gcc 4.1.2). Disable it until
investigated and fixed properly.
(This used to be commit c8670b33b490daeaff987c21fcb0ec601a91d54e)
2007-10-10 12:01:06 -05:00
Volker Lendecke
cf3efb2f08
r18857: Re-enable the CC checks from libreplace after Tridge's fix. Thanks for that!
...
Volker
(This used to be commit 91955c1f266e8f8ee9d4775dffdcc59b44280060)
2007-10-10 12:01:05 -05:00
Andrew Tridgell
fcd7a45e44
r18856: fixed HAVE_IMMEDIATE_STRUCTURES and thus checking of NTSTATUS/BOOL
...
mixups
(This used to be commit 21a458ab9d132e09b9b00e4dbb32af4275b7c2fb)
2007-10-10 12:01:05 -05:00
Volker Lendecke
fe5123c2ec
r18855: Tell the diff between WERROR and NTSTATUS
...
Volker
(This used to be commit 5cc4117692572f086b44324949546463681b837e)
2007-10-10 12:01:05 -05:00
Volker Lendecke
1b8125265c
r18854: Disable the AC_LIBREPLACE_CC_CHECKS, this breaks the HAVE_IMMEDIATE_STRUCTURES
...
test with gcc 4.1.0. As the build farm is not in the best state right now,
this should not matter.
Stefan, is there any chance we get the IMMEDIATE_STRUCTURES back and have
libreplace at the same time?
Volker
(This used to be commit 776bd5e36d439a59e2c557e9405a30eeedd78fd2)
2007-10-10 12:01:04 -05:00
Günther Deschner
846aa881cd
r18853: Fix remaining warnings. Volker, should be fine now.
...
Guenther
(This used to be commit 40a6169aceb51dc7f73ae72ebac2e55c6b1edc3f)
2007-10-10 12:01:04 -05:00
Günther Deschner
848d934281
r18852: Fix compiler warning (thanks Volker).
...
Guenther
(This used to be commit 01a8562fe164453af4c5946710f9e58f917df2ce)
2007-10-10 12:01:04 -05:00
Jeremy Allison
b9b964a360
r18846: Fix the same bug Volker noticed when marshalling/unmarshalling
...
SEC_ACE. "type" is also an enum that may be any size. Treat as
a uint8.
Jeremy.
(This used to be commit fd97f48ba38cb6a737302dac5cf23239ce7059cc)
2007-10-10 12:01:04 -05:00
Volker Lendecke
35a8521501
r18845: Fix a type-punned warning that turned out to be a real bug: The secdesc
...
revision is now an enum that might be represented as anything, in particular
as an int. It's definitely not a uint16 :-)
Volker
(This used to be commit 7c5d66c97111389b679aadb7b8b6721f07496bda)
2007-10-10 12:01:04 -05:00
Günther Deschner
61761288e9
r18842: Protect against "winbind cache time = 0" on two other occasions.
...
Guenther
(This used to be commit b1cd9d45e9581bec56bfdc21d2a8afb7f094be22)
2007-10-10 12:01:04 -05:00
Günther Deschner
ee139b6f12
r18841: Protect against potential event loop when someone is using "winbind
...
cache time = 0".
Guenther
(This used to be commit 9ac6016e32d236e7470919c075df551d1d73498c)
2007-10-10 12:01:04 -05:00
Jelmer Vernooij
387bfebfcf
r18823: Fix some errors in the srsvc handling code and start running the RPC-SRVSVC
...
test against samba3.
(This used to be commit f0508ecb44f13e9e9e521e2534889e98a31d2372)
2007-10-10 12:01:03 -05:00
Günther Deschner
7fdd258c39
r18820: Comment out some unused functions.
...
Guenther
(This used to be commit cdc81927dbbc542500211ad8e6815815d7764731)
2007-10-10 12:01:03 -05:00
Günther Deschner
a6bb76765a
r18819: Fix build without LDAP.
...
Guenther
(This used to be commit a0aedee1c90af163210dd459603dd5dffb73e132)
2007-10-10 12:01:03 -05:00
Günther Deschner
ed5f7cce2a
r18818: Forgot header file.
...
Guenther
(This used to be commit 9da91022f9fa0e6610a235ddd2130c8b01d6f1c5)
2007-10-10 12:01:03 -05:00
Günther Deschner
0d12a35e6b
r18817: Enable the build of the gpo tool but do not make it available yet.
...
Guenther
(This used to be commit 927cda5d31e9cb02105df3cfc06f5cb273233747)
2007-10-10 12:01:03 -05:00
Günther Deschner
314d563b12
r18816: Fix some build warnings.
...
Guenther
(This used to be commit b70ed9e48394ddeaf0102e017cf706ff083e065b)
2007-10-10 12:01:03 -05:00
Stefan Metzmacher
0d6c51dac6
r18814: diable immediate structs for now until we completely build with them again
...
metze
(This used to be commit 5b8eb441a3332fbec4d105670ceea1978903a26a)
2007-10-10 12:01:03 -05:00
Stefan Metzmacher
e8b442c964
r18813: the generated rpccli_ functions give NTSTATUS
...
metze
(This used to be commit 4a198cebe37d74437a8d526aff1139f1668bcd37)
2007-10-10 12:01:02 -05:00
Stefan Metzmacher
ca19511584
r18812: newer compilers don't allow non consts in static arrays
...
give us a chance to detect NTSTATUS vs. WERROR bugs...
metze
(This used to be commit 27181b675e6134979c4babd4497d9b995caba0ab)
2007-10-10 12:01:02 -05:00
Gerald Carter
0705d64035
r18811: rename stat field to avoid compiler warnings about
...
shadowed variables
(This used to be commit cc5f31c08159d671eaa873eb39b25893931c7341)
2007-10-10 12:01:02 -05:00
Stefan Metzmacher
21931b1ca8
r18810: use a copy of samba4's talloc under lib/talloc/
...
to make mergeing easier.
metze
(This used to be commit d49ffbc19b29f7620e427de133ffab74721f37e8)
2007-10-10 12:01:02 -05:00
Stefan Metzmacher
200d238302
r18809: add a valgrind suppression file to prepare running make test
...
under valgrind in the buildfarm
metze
(This used to be commit 646cf0ae8c32f0645955fba6a1f5951a018fd6b0)
2007-10-10 12:01:00 -05:00
Stefan Metzmacher
7239a85f0a
r18804: resume_hnd isn't a ref pointer and can be NULL
...
metze
(This used to be commit 8736262342611d432d529812bc1f647b8d6cf625)
2007-10-10 12:00:59 -05:00
Gerald Carter
d56c3dfdaa
r18803: remove unused function
...
(This used to be commit 964d95bce6bbaf985ed8cd50daee8216bc446a28)
2007-10-10 12:00:59 -05:00
Jelmer Vernooij
7ba2554d88
r18802: Use the pidl-generated code for the srvsvc interface, both client and server code.
...
This has had some basic testing. I'll do more during the next couple of days and hopefully also
make RPC-SRVSVC from Samba4 pass against it.
(This used to be commit ef10672399c4b82700dc431b4d93431ffdd42d98)
2007-10-10 12:00:59 -05:00
Günther Deschner
8ffe6c8a8d
r18801: Fix (at least the build of) python bindings.
...
Guenther
(This used to be commit fc6543ca78e5c137d77bdc7845df273aae50e5cb)
2007-10-10 12:00:59 -05:00
Günther Deschner
1b7b6e54db
r18799: Prepare query_disp_info to use the next idx from the last result entry
...
for the enumeration loop (following msdn docs of that call).
Guenther
(This used to be commit 138a921f82a02991eed7ab7d958ec7ea78608684)
2007-10-10 12:00:59 -05:00
Stefan Metzmacher
a734e98b51
r18798: use libreplace headers in pam and nss modules
...
this hopefully fixes the build on AIX
metze
(This used to be commit ef1001f5a269f3d6a66f40e3fb01eccc807dcd7e)
2007-10-10 12:00:59 -05:00
Stefan Metzmacher
927e5876ad
r18797: fix the loading of pam_winbind.so and libnss_winbind.so
...
when building with socket wrapper
metze
(This used to be commit 6ad6aba1029035f67b901121e41b238d5760c6ff)
2007-10-10 12:00:58 -05:00
Jeremy Allison
3645d6f1b2
r18796: Fix the build. Sorry.
...
Jeremy.
(This used to be commit 8b9e5f28c2b8530bee46aefadf97414b85ab5bc8)
2007-10-10 12:00:58 -05:00
Gerald Carter
1303cd8245
r18794: Make ENumKey() work again in the registry server
...
(This used to be commit 7ead5ac79203a15dc1d9d7982446eafbb1f9eefd)
2007-10-10 12:00:58 -05:00
Jeremy Allison
3a60a67432
r18793: Fix BE string handling in the auto-generated
...
code. Should now work again with ASU.
Jeremy.
(This used to be commit 53e97bf92817b6cfc3f93c999a81ef8ad49a1609)
2007-10-10 12:00:58 -05:00
Gerald Carter
c8ef27a3c3
r18792: small fix for server QueryValue code
...
(This used to be commit b11558c2320d8da8fee0fb8398729f9005021384)
2007-10-10 12:00:58 -05:00
Gerald Carter
82f12507a4
r18791: print the error string and not the raw value
...
(This used to be commit 23639546371ef4e2a0354f720f1be17d8a4edd5b)
2007-10-10 12:00:58 -05:00
Gerald Carter
8e0217da6f
r18790: Correct the IDL (still a bug in pidl) for QueryValue()
...
(This used to be commit 44851d7afa3112278faea41b470cc5d3cad97cb5)
2007-10-10 12:00:58 -05:00
Gerald Carter
eab57a0a0f
r18789: Replace the winreg server code with the libndr parsing code.
...
Many things work (OpenHKLM, etc...) but some still don't.
This shouldn't block anyone so I'm checking it in.
Will probably move to a bzr tree after this for
longer dev cycles between checkins.
(This used to be commit cf1404a0d7538288b9370ba80df328f81b713ce0)
2007-10-10 12:00:57 -05:00
Gerald Carter
20b9cd5354
r18788: updating the IDL for QueryValue
...
(This used to be commit 83dec5578246111798678dce73d928ecf2a47d5f)
2007-10-10 12:00:57 -05:00