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

17711 Commits

Author SHA1 Message Date
Volker Lendecke
eb00981fc3 r19041: Make us connect to Vista RC1. Apparently metze had done the same patch some
weeks ago.

We have some work before us, when in AD mode Vista sends
"not_defined_in_RFC4178@please_ignore" as the principal.....

Volker
(This used to be commit af85d8ec02)
2007-10-10 12:15:05 -05:00
Stefan Metzmacher
c25f331cf9 r19040: use more portable shellscripting, hopefully give better results on Tru64
metze
(This used to be commit e8dd73f796)
2007-10-10 12:15:05 -05:00
Günther Deschner
ac080e3184 r19039: Do not segfault in "net ads printer info" when a requested printserver
does not exist.

Guenther
(This used to be commit 359315021d)
2007-10-10 12:15:04 -05:00
Stefan Metzmacher
6b80d173ed r19038: build libreplace testsuite as replacetort
and run it with make test

metze
(This used to be commit 9db9eb199f)
2007-10-10 12:15:04 -05:00
Volker Lendecke
a3a082b248 r19037: Fix a segfault
(This used to be commit 1c18ebe675)
2007-10-10 12:15:04 -05:00
Stefan Metzmacher
7e310277ff r19034: merge from samba4:
prepare libreplace testsuite for usage in smbtorture

metze
(This used to be commit 281677084e)
2007-10-10 12:15:04 -05:00
Stefan Metzmacher
f0244fbffe r19031: merge from samba4:
add test that opendir() on files sets errno = ENOTDIR

metze
(This used to be commit fdad2ce734)
2007-10-10 12:15:03 -05:00
Stefan Metzmacher
a831353be4 r19030: merge missing stuff from samba4:
- strnlen() and strndup() are broken on AIX
- we need some extra CFLAGS on HPUX 11.11

metze
(This used to be commit 61aa60c60f)
2007-10-10 12:15:03 -05:00
Volker Lendecke
7ced2e983d r19028: Implement getprinterinfo level 6 (only the status) and get rid of snum in the
getprinter calls. Survives the RPC-SAMBA3-SPOOLSS test which I will activate
when the Samba4 build farm has picked it up.

Volker
(This used to be commit d7248b6cfa)
2007-10-10 12:15:03 -05:00
Stefan Metzmacher
7f9aca9772 r19026: we don't need this twice
metze
(This used to be commit 5d16aa61c6)
2007-10-10 12:15:03 -05:00
Volker Lendecke
4cc309c3da r19016: As per Samba4 coding standards, turn tabs into spaces
(This used to be commit 3f59c8ef0c)
2007-10-10 12:15:02 -05:00
Stefan Metzmacher
c6b22621be r19015: we don't need talloc_* in proto.h
metze
(This used to be commit 685304e574)
2007-10-10 12:15:02 -05:00
Volker Lendecke
bb5c820542 r19013: Fix some 64-bit warnings.
Jelmer, Jerry, in cmd_unixinfo.c:159 there is still the warning that "info" is
being used uninitialized which I don't really know how to fix.

Any hints?

Volker
(This used to be commit 4a5d11e194)
2007-10-10 12:15:02 -05:00
Volker Lendecke
69287da633 r19012: Fix an uninitialized variable
(This used to be commit 46cae04fbe)
2007-10-10 12:15:01 -05:00
Volker Lendecke
bffbda804d r19011: Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on opendir
returning ENOTDIR when the file opened is not a directory. Can we merge this
back into Samba4?

Volker
(This used to be commit 448d7c0c4b)
2007-10-10 12:14:57 -05:00
Volker Lendecke
9430017b30 r19010: Fix bug 4137
(This used to be commit 3790d00a78)
2007-10-10 12:14:57 -05:00
Volker Lendecke
2b7d1fc779 r19008: Fix a segfault
(This used to be commit adfc82f0e6)
2007-10-10 12:14:57 -05:00
Gerald Carter
7b7e7dcb8c r19007: reformat service control manager IDL
(This used to be commit d0658139a3)
2007-10-10 12:14:56 -05:00
Gerald Carter
ff8f68840d r19006: Final cleanups for the winreg libmsrpc functions.
Needs thorough testing but the code has been adapted
to the new rpccli_winreg_XX() API.
(This used to be commit c3d1c3ca4d)
2007-10-10 12:14:56 -05:00
Günther Deschner
88a98e35c7 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
(This used to be commit d086babf9d)
2007-10-10 12:14:55 -05:00
Günther Deschner
824966fb3c r19002: Add a very simple synchronisation function to download the full GPO.
Guenther
(This used to be commit 02b75ff2a8)
2007-10-10 12:14:55 -05:00
Volker Lendecke
c9cea2d624 r19001: Fix comment
(This used to be commit 048127f9dd)
2007-10-10 12:14:55 -05:00
Volker Lendecke
81014d255e 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
(This used to be commit b2fbf5ac0c)
2007-10-10 12:14:55 -05:00
Stefan Metzmacher
ce11194ce0 r18998: - make more usage of PRINTF_ATTRIBUTE()
- vsyslog takes a 'const char *format'

metze
(This used to be commit 8899bc45f9)
2007-10-10 12:14:55 -05:00
Stefan Metzmacher
43be47f56b 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
(This used to be commit f5b0924f97)
2007-10-10 12:14:54 -05:00
Stefan Metzmacher
da6c811eca r18993: merge from samba4:
prepare SOCKET_WRAPPER_PCAP_FILE support

metze
(This used to be commit 372471cbad)
2007-10-10 12:14:54 -05:00
Volker Lendecke
f9d077cfb3 r18991: Fix bug 4133 -- Thanks to Olaf Flebbe
(This used to be commit 00f09d851c)
2007-10-10 12:14:54 -05:00
Günther Deschner
21bdd5833e r18988: Check and refresh expired GPOs.
Guenther
(This used to be commit e0e44bfadb)
2007-10-10 12:14:54 -05:00
Günther Deschner
7a5d2f5c1a r18987: Add some usage prints for "net ads gpo".
Guenther
(This used to be commit 581152f819)
2007-10-10 12:14:54 -05:00
Günther Deschner
3727503872 r18986: Add some more GPO download helper functions.
Guenther
(This used to be commit d2db3b6b46)
2007-10-10 12:14:53 -05:00
Günther Deschner
4db2fc3c89 r18985: Add parse_gpt_ini() to parse GPT.INI files using iniparser.
Guenther
(This used to be commit 46db28de48)
2007-10-10 12:14:53 -05:00
Günther Deschner
7c1ca378ed r18984: Removing ads_gpo_get_sysvol_gpt_version() which was just doing stupid
things.

Guenther
(This used to be commit a597ef83c4)
2007-10-10 12:14:53 -05:00
Günther Deschner
031506eb51 r18983: Add some comments for the LDAP based GPO routines.
Guenther
(This used to be commit 2c21ee684c)
2007-10-10 12:14:53 -05:00
Günther Deschner
73f4ac012a r18982: Move the gpo related functions to "libgpo".
Guenther
(This used to be commit 1308a84271)
2007-10-10 12:14:53 -05:00
Gerald Carter
18d4176633 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.
(This used to be commit 5d843612a1)
2007-10-10 12:14:53 -05:00
Jeremy Allison
0f56237bc0 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.
(This used to be commit 51f0e60cc3)
2007-10-10 12:14:52 -05:00
Stefan Metzmacher
e07df9be38 r18976: follow the advice from "William Jojo" <jojowil@hvcc.edu>
and pass -bbigtoc also to the linker when building shared libs

metze
(This used to be commit 4948b676a8)
2007-10-10 12:14:52 -05:00
Stefan Metzmacher
8f4f93a201 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
(This used to be commit 3367e306e6)
2007-10-10 12:14:52 -05:00
Günther Deschner
b80cbfc20e r18969: Fix typo.
Guenther
(This used to be commit 31f21282cd)
2007-10-10 12:14:52 -05:00
Andrew Tridgell
b6b9898a07 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.
(This used to be commit 9df1e7d989)
2007-10-10 12:14:52 -05:00
Gerald Carter
95e4091596 r18964: fix 'net rpc registry save' to use the new wnireg client code
(This used to be commit f2747daafc)
2007-10-10 12:14:52 -05:00
Gerald Carter
2326b147d0 r18963: * Move parts of registry headers that were still in
use to reg_objects.h
* Remove unused rpc headers
(This used to be commit 4f79d8c83d)
2007-10-10 12:14:51 -05:00
Gerald Carter
b3ec4697ef 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.
(This used to be commit 5381dcbde3)
2007-10-10 12:14:51 -05:00
Stefan Metzmacher
3ae0baefa1 r18961: merge from samba4:
fix caching of some configure tests AC_CACHE_CHECK()
*needs* '_cv_' in the shell var to do caching...

metze
(This used to be commit c460f28b68)
2007-10-10 12:14:51 -05:00
Gerald Carter
94c9d52872 r18959: reformat using indent
(This used to be commit 69c298f85d)
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
6aed2cd44e 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
(This used to be commit d827534760)
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
3da1690692 r18956: fix -pie and -fPIE together with configure -C
metze
(This used to be commit aafb86f6eb)
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
d18ec9fac8 r18955: fix the build on solaris where unistd.h needs to be includes before
socket_wrapper defined ioctl swrap_ioctl

metze
(This used to be commit e43d1f6c17)
2007-10-10 12:14:50 -05:00
Gerald Carter
2279881bd4 r18954: Fix segv in QueryValue and Enumvalue. regedit.exe now
is happy again when creating keys and values
(This used to be commit 6e9e9f8fac)
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
cb99b612f8 r18953: sync socket_wrapper with samba4
metze
(This used to be commit 77b0af43f0)
2007-10-10 12:14:50 -05:00