1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
Commit Graph

17692 Commits

Author SHA1 Message Date
Günther Deschner
d086babf9d r19003: Finally activate "net ads gpo".
For those who are interested, try

        net ads gpo refresh mybox$

to get your machine related GPOs downloaded to /var/lib/samba/gpo_cache.
Detailed information about GPOs is currently only printed when setting a
higher debuglevel then 0.

Guenther
2007-10-10 12:14:55 -05:00
Günther Deschner
02b75ff2a8 r19002: Add a very simple synchronisation function to download the full GPO.
Guenther
2007-10-10 12:14:55 -05:00
Volker Lendecke
048127f9dd r19001: Fix comment 2007-10-10 12:14:55 -05:00
Volker Lendecke
b2fbf5ac0c r19000: Merge the max tcon check from 3_0_23. Thanks to James Peach that this was not
done in the 3_0 tree.

Volker
2007-10-10 12:14:55 -05:00
Stefan Metzmacher
8899bc45f9 r18998: - make more usage of PRINTF_ATTRIBUTE()
- vsyslog takes a 'const char *format'

metze
2007-10-10 12:14:55 -05:00
Stefan Metzmacher
f5b0924f97 r18996: merge from samba4:
- fix bug 4078
- talloc_free(talloc_autofree_context()); should not result
  in a SIGABORT on exit
- add a test for this, but this test can also pass in the standalone build
  and samba3, as samba4 uses talloc_autofree_context()

metze
2007-10-10 12:14:54 -05:00
Stefan Metzmacher
372471cbad r18993: merge from samba4:
prepare SOCKET_WRAPPER_PCAP_FILE support

metze
2007-10-10 12:14:54 -05:00
Volker Lendecke
00f09d851c r18991: Fix bug 4133 -- Thanks to Olaf Flebbe 2007-10-10 12:14:54 -05:00
Günther Deschner
e0e44bfadb r18988: Check and refresh expired GPOs.
Guenther
2007-10-10 12:14:54 -05:00
Günther Deschner
581152f819 r18987: Add some usage prints for "net ads gpo".
Guenther
2007-10-10 12:14:54 -05:00
Günther Deschner
d2db3b6b46 r18986: Add some more GPO download helper functions.
Guenther
2007-10-10 12:14:53 -05:00
Günther Deschner
46db28de48 r18985: Add parse_gpt_ini() to parse GPT.INI files using iniparser.
Guenther
2007-10-10 12:14:53 -05:00
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