Günther Deschner
a597ef83c4
r18984: Removing ads_gpo_get_sysvol_gpt_version() which was just doing stupid
...
things.
Guenther
2007-10-10 12:14:53 -05:00
Günther Deschner
2c21ee684c
r18983: Add some comments for the LDAP based GPO routines.
...
Guenther
2007-10-10 12:14:53 -05:00
Günther Deschner
1308a84271
r18982: Move the gpo related functions to "libgpo".
...
Guenther
2007-10-10 12:14:53 -05:00
Gerald Carter
5d843612a1
r18981: * cleanup some vestiges of old cli_reg.c code and mark some TODO
...
items in cac_winreg.c
* Get 'net rpc registry enumerate' to list values again
* Fix winreg.idl QueryInfoKey(). The max_subkeysize is the
max_classlen (we previously had this correct in Samba3")
* fix valgrind error about uninitialized memory and use-before-set
on size value inmemset() call
* Fix key enumeration in 'net rpc registry enumerate'
* regenerate gen_dir files based on local pidl patches
Please note that the generated ndr files are from my local
copy of pidl. If you need to regenerate, please apply the
patch that I posted to the samba-technical list earlier today.
2007-10-10 12:14:53 -05:00
Jeremy Allison
51f0e60cc3
r18980: Be a little more intelligent about "startup_time",
...
move into the domain struct. Allow message to go online
to set this state and cope with removing it.
Jeremy.
2007-10-10 12:14:52 -05:00
Stefan Metzmacher
4948b676a8
r18976: follow the advice from "William Jojo" <jojowil@hvcc.edu>
...
and pass -bbigtoc also to the linker when building shared libs
metze
2007-10-10 12:14:52 -05:00
Stefan Metzmacher
3367e306e6
r18973: we should always set LDFLAGS and DYNEXP depending on the host_os
...
but disable building of shared libs and modules whe enable_shared != yes
Also make it easier to track down the problem with lost LDFLAGS values
on AIX.
metze
2007-10-10 12:14:52 -05:00
Günther Deschner
31f21282cd
r18969: Fix typo.
...
Guenther
2007-10-10 12:14:52 -05:00
Andrew Tridgell
9df1e7d989
r18966: this bug affects Samba3 too. I'm actually surprised nobody has
...
reported that Samba3 on Solaris Sparc with the native compiler can't
join Windows domains. If it worked we were just lucky. I suspect it
just didn't work.
2007-10-10 12:14:52 -05:00
Gerald Carter
f2747daafc
r18964: fix 'net rpc registry save' to use the new wnireg client code
2007-10-10 12:14:52 -05:00
Gerald Carter
4f79d8c83d
r18963: * Move parts of registry headers that were still in
...
use to reg_objects.h
* Remove unused rpc headers
2007-10-10 12:14:51 -05:00
Gerald Carter
5381dcbde3
r18962: * Add IDL for SaveKey() and RestoreKey() and regenerated
...
* Tested RegSaveKey() using win32 app. Apparently
this code has been brokne for a really long time.
2007-10-10 12:14:51 -05:00
Stefan Metzmacher
c460f28b68
r18961: merge from samba4:
...
fix caching of some configure tests AC_CACHE_CHECK()
*needs* '_cv_' in the shell var to do caching...
metze
2007-10-10 12:14:51 -05:00
Gerald Carter
69c298f85d
r18959: reformat using indent
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
d827534760
r18958: merge from samba4:
...
we need to include unistd.h in system/network.h because
it contains the ioctl() prototype on some systems
and we need to make sure it gets included before socket_wrapper
defines ioctl swrap_ioctl
metze
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
aafb86f6eb
r18956: fix -pie and -fPIE together with configure -C
...
metze
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
e43d1f6c17
r18955: fix the build on solaris where unistd.h needs to be includes before
...
socket_wrapper defined ioctl swrap_ioctl
metze
2007-10-10 12:14:50 -05:00
Gerald Carter
6e9e9f8fac
r18954: Fix segv in QueryValue and Enumvalue. regedit.exe now
...
is happy again when creating keys and values
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
77b0af43f0
r18953: sync socket_wrapper with samba4
...
metze
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
4cd59d47c8
r18952: fix compiler warning (merge from samba4)
...
metze
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
a1966a9c07
r18951: socket_wrapper has only 16 interfaces anymore...
...
metze
2007-10-10 12:14:49 -05:00
Stefan Metzmacher
b852cf46c2
r18950: I can't see where stropts.h and poll.h are needed
...
(I just removed the only reference to poll() in my last commit)
they were added in this commit, without make usage of them.
http://cvs.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.21&r2=1.22&f=h
http://cvs.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h.diff?r1=1.105&r2=1.106&f=h
metze
2007-10-10 12:14:49 -05:00
Stefan Metzmacher
f994494141
r18949: use sys_usleep()
...
metze
2007-10-10 12:14:49 -05:00
Günther Deschner
7579a91f81
r18941: Minor cleanup in ads_parse_gpo().
...
Guenther
2007-10-10 12:14:49 -05:00
Gerald Carter
e7e3e35c1d
r18940: Fix a few memory corruption bugs to make CreateKey() and DeleteKey() work
2007-10-10 12:14:49 -05:00
Andrew Tridgell
dd8ec8725f
r18939: don't rely on the umask being right in ldb creation. Both Samba3 and
...
Samba4 smbd force the umask to 0, which meant we ended up with ldb
being world writable.
This isn't really an ideal fix, as it means ldb no longer honors umask
(as it should do, like all good libraries).
Unfortunately the 'proper' fix is too complex for now
this also merges a tiny code style fix from s4 to s3
2007-10-10 12:14:49 -05:00
Andrew Tridgell
a8d398edf0
r18938: fixed a group map bug reported by Jerry. The caller in mapping.c
...
relies on appending to this list. Unfortunately this can't be tested
using 'net groupmap'
2007-10-10 12:14:48 -05:00
Gerald Carter
a36de910d2
r18937: Protect against segc in the idmap winbindd child process
...
(the domain is NULL here)
2007-10-10 12:14:48 -05:00
Günther Deschner
1f09e54fec
r18935: Make "netshareenum" work again. There is most probably a better way to
...
do this... Any pointers?
Guenther
2007-10-10 12:14:48 -05:00
Gerald Carter
92f22f67ed
r18934: fix a segv in CreateKey()
2007-10-10 12:14:48 -05:00
Gerald Carter
e11108024a
r18932: In RegEnumvalue() and RegQueryValue(), the output buffer
...
size must match the real value of the data.
2007-10-10 12:14:48 -05:00
Gerald Carter
f520a9d0fb
r18931: * Fix the IDL for QueryInfoKey. teh Classname in an
...
in,out ref pointer
* Clarify variable names in EnumValue IDL
* Fix server code for _winreg_EnumValue() and _winreg_QueryInfoKe()
2007-10-10 12:14:48 -05:00
Gerald Carter
435d7bfc37
r18929: * Clarify QueryValue IDL and regenerate code
...
* Fix server _winreg_Query_Value() implementation so that
usrmgr.exe starts now
2007-10-10 12:14:47 -05:00
Günther Deschner
ac3de529b3
r18928: Some more const for iniparser.
...
Guenther
2007-10-10 12:14:47 -05:00
Gerald Carter
4e464a2c35
r18927: Fix build. *please* compile the code at least once before checking it in.
2007-10-10 12:14:47 -05:00
Günther Deschner
9be5cb27e4
r18926: Add some useful macros.
...
Guenther
2007-10-10 12:14:47 -05:00
Günther Deschner
143a48927b
r18924: Minor cleanup.
...
Guenther
2007-10-10 12:14:47 -05:00
Günther Deschner
ecb632a153
r18923: Fix more memleaks.
...
Guenther
2007-10-10 12:14:47 -05:00
Günther Deschner
d87994788b
r18922: Apply some const.
...
Guenther
2007-10-10 12:14:47 -05:00
Günther Deschner
b1bc7fd347
r18921: Fix some c++ warnings.
...
Guenther
2007-10-10 12:14:46 -05:00
Stefan Metzmacher
b36d47c698
r18920: merge socket_wrapper changes from samba4
...
metze
2007-10-10 12:14:46 -05:00
Gerald Carter
cbfe1a4b49
r18919: * Get the new rpccli_winreg_XXXX() functions into the tree
...
There some broken functionality here that I'm still working on.
* remove unneeded parsing routines
2007-10-10 12:14:46 -05:00
Andrew Tridgell
7f1f5d6056
r18912: we don't need the special case for comments now in the
...
This also fixes comments in group mappings, as the code accidentially
put in "ntName" in the comment field :-)
2007-10-10 12:14:46 -05:00
Andrew Tridgell
9e66df05a4
r18910: Change ldb_msg_add_string() to not actually add an attribute if the
...
string is zero length. This allows callers to not have to worry about
creating an invalid ldap attribute.
See extensive discussion on samba-technical list :-)
2007-10-10 12:14:45 -05:00
Jeremy Allison
0c77046751
r18907: W00t. My original fix was correct after all :-).
...
Re-checking it in.
Fix bug #4095 - username composed into domain\user
twice in spnego path.
Jeremy.
2007-10-10 12:14:45 -05:00
Gerald Carter
9b43d7c63a
r18906: Fix 'make clean' to deal with new lib/ldb/ directory structure.
2007-10-10 12:14:45 -05:00
Gerald Carter
8aa681df99
r18905: I'm not really proud of this but I don't want to maintain
...
2 separate CPPFLAGS variables. So just cleanup the SAMBA_CPPFLAGS
for out of tree builds. This has been tested locally and works.
Maybe metze can find a better way tomorrow.
2007-10-10 12:14:45 -05:00
Gerald Carter
7e908acdef
r18904: * Revert previous fix for building out of tree and
...
add a better one which fixes the network interface detection
breakage (caused by the previous commit).
2007-10-10 12:14:45 -05:00
Günther Deschner
e7cae9bbae
r18902: Also dump mS-DS-CreatorSID.
...
Guenther
2007-10-10 12:14:44 -05:00
Stefan Metzmacher
63e5727471
r18901: try to fix the samba3 build without having ldap
...
vl: you were a few seconds faster than me...:-)
metze
2007-10-10 12:14:44 -05:00