1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

1322 Commits

Author SHA1 Message Date
Jelmer Vernooij
babdcc6135 Use system python rather than smbpython.
(This used to be commit d3df51cd01)
2008-05-11 05:29:20 +02:00
Jelmer Vernooij
b48e2e4c41 Merge ldb_map into LIBLDB.
(This used to be commit 4d7925f953)
2008-05-11 02:15:32 +02:00
Jelmer Vernooij
7b45a4d7fa Merge branch 'v4-0-test' into v4-0-gmake3
Conflicts:

	source/auth/config.mk
	source/auth/gensec/config.mk
	source/torture/smbtorture.c
(This used to be commit edfd02e59b)
2008-05-10 18:08:00 +02:00
Jelmer Vernooij
c68589a5dc Fix typo.
(This used to be commit 1def988ef2)
2008-05-08 12:40:56 +02:00
Jelmer Vernooij
4aba4d38c7 Fix link flags for ldb and tdb Python modules.
(This used to be commit 787a32fdef)
2008-05-08 11:56:32 +02:00
Jelmer Vernooij
cc9c4aaa8d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/Makefile
	source/auth/config.mk
	source/auth/gensec/config.mk
	source/build/m4/public.m4
	source/build/make/python.mk
	source/build/make/rules.mk
	source/build/smb_build/header.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/dsdb/samdb/ldb_modules/config.mk
	source/kdc/config.mk
	source/lib/events/config.mk
	source/lib/events/events.c
	source/lib/ldb/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/util/config.mk
	source/libcli/smb2/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/nbt_server/config.mk
	source/ntptr/ntptr_base.c
	source/ntvfs/posix/config.mk
	source/ntvfs/sysdep/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/rpc_server/service_rpc.c
	source/scripting/ejs/config.mk
	source/scripting/python/config.mk
	source/smb_server/config.mk
	source/smbd/server.c
	source/torture/config.mk
	source/torture/smb2/config.mk
	source/wrepl_server/config.mk
(This used to be commit 13bbd42068)
2008-04-25 10:04:20 +01:00
Simo Sorce
4e83011f72 Remove more event_context_init() uses from function calls within deep down the code.
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d39162)
2008-04-21 18:12:33 -04:00
Andrew Tridgell
107ab090e2 use uintptr_t instead of intptr_t where appropriate
(This used to be commit d62f2bcc85)
2008-04-17 14:47:07 +02:00
Jelmer Vernooij
08baea013b Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly instead.
(This used to be commit 9d0ae012b0)
2008-04-15 02:25:16 +02:00
Jelmer Vernooij
e9017ba418 Use _OBJ_FILES variables in a couple more places.
(This used to be commit 92856d5054)
2008-04-14 17:22:58 +02:00
Jelmer Vernooij
ffc5cbfe80 Move object files lists to makefile rather than smb_build.
(This used to be commit 5628d58990)
2008-04-14 16:53:00 +02:00
Jelmer Vernooij
f78bc8c489 Remove prototypes from build.h in preparation of removing build.h
altogether.
(This used to be commit dbeab2a9cd)
2008-04-14 11:54:50 +02:00
Jelmer Vernooij
8ed6f6d5a8 Return SAM ldb context and loadparm context as part of C provision
result.
(This used to be commit a3e1b83565)
2008-04-11 00:43:23 +02:00
Jelmer Vernooij
b5d84a74d1 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/auth/credentials/config.mk
	source/auth/gensec/config.mk
	source/build/smb_build/makefile.pm
	source/heimdal_build/config.mk
	source/lib/events/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/registry/config.mk
	source/lib/socket_wrapper/config.mk
	source/lib/tdb/config.mk
	source/lib/tls/config.mk
	source/lib/util/config.mk
	source/libcli/config.mk
	source/libcli/ldap/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/scripting/ejs/config.mk
	source/smbd/process_model.mk
(This used to be commit 760378e029)
2008-04-08 03:45:06 +02:00
Andrew Bartlett
142fbfb3c1 Fix and test python scripts and kerberos
This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option.  (This
enables the use of kerberos).

As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.

The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.

Andrew Bartlett
(This used to be commit 727ef40c2b)
2008-03-28 21:57:15 +11:00
Jelmer Vernooij
18d80bdf1f Merge v4.0-test
(This used to be commit 977dbdeaf3)
2008-03-28 00:44:14 +01:00
Andrew Bartlett
ff8256ad6c Clean up the ldb python bindings to be 64 bit safe.
Thanks in particular to arkanes and KirkMcDonald on #python for their
assistance, suggesting breaking the DN check.

I eventually found it while trying to cut down on the number of gcc
warnings, which is why we also add printf annotations.

Andrew Bartlett
(This used to be commit ba30e82d4e)
2008-03-26 15:18:17 +11:00
Andrew Bartlett
5af56a613c More safety around ldb_dn C functions in python bindings.
Ensure that the ldb python binding 'TypeError dn not set' errors are
not in the SWIG wrapper's use of ldb functions, put some more error
checks in.

Andrew Bartlett
(This used to be commit 8d4c831184)
2008-03-19 11:11:55 +11:00
Stefan Metzmacher
7d336254ce ldb: not every shell supports '==' so use '='
metze
(This used to be commit b5eeaf9b27)
2008-03-18 16:53:21 +01:00
Stefan Metzmacher
d53467b9af ldb: remove configure with 'make realdistclean'
configure.in doesn't exist at all...

metze
(This used to be commit ca414d4e9e)
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
7bf6895b67 ldb: nothing uses "system/network.h" so don't include it
metze
(This used to be commit 087667e0cd)
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
92f6333535 ldb: fix the standalone build
metze
(This used to be commit 91b49365ab)
2008-03-18 15:59:21 +01:00
Andrew Bartlett
7da5ec17e6 Make error handling in ldb more consistant.
This change ensures we give an immidiate error if the DN won't parse.

Also clean up strcmp use to be more standard.

Andrew Bartlett
(This used to be commit 1b15f374a8)
2008-03-11 14:20:42 +11:00
Jelmer Vernooij
e3f6a9a0d4 Move PC_FILE out of the perl code.
(This used to be commit ca8d4260ad)
2008-03-09 02:53:54 +01:00
Jelmer Vernooij
2bf39edc9d Push SOVERSION and VERSION out of perl code.
(This used to be commit 0ba8ac6a14)
2008-03-08 15:28:12 +01:00
Jelmer Vernooij
5f2564c386 Merge branch 'v4-0-test' into v4-0-gmake3
(This used to be commit 2bf43c7932)
2008-03-07 18:59:03 +01:00
Jelmer Vernooij
a72e921a7e Rerun SWIG.
(This used to be commit e384aac5c8)
2008-03-07 18:20:12 +01:00
Jelmer Vernooij
fc2cd5ed63 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit e4da851bd7)
2008-03-07 18:03:54 +01:00
Andrew Kroeger
07cb435d40 accountExpires: Windows default is 9223372036854775807, not -1.
(This used to be commit be47cc7fdf)
2008-03-07 05:59:55 -06:00
Jelmer Vernooij
5a5b50f3dd Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/build/smb_build/makefile.pm
(This used to be commit 391fea450b)
2008-03-04 14:16:57 +01:00
Jelmer Vernooij
c20e91d0fd Fix syntax.
(This used to be commit 9bc22a4cd3)
2008-03-04 10:30:14 +01:00
Andrew Bartlett
f042c15090 Try to return sane ldb error strings
We don't just want to return just strerror(ret) when things go wrong.

Andrew Bartlett
(This used to be commit 7f0341dd58)
2008-03-04 13:45:31 +11:00
Jelmer Vernooij
2d1c06c578 Fix includes.
(This used to be commit 99e61dade2)
2008-03-04 00:43:24 +01:00
Jelmer Vernooij
b29d47edcf Move object file lists to the Makefile.
(This used to be commit a7e6d2a183)
2008-03-03 18:25:28 +01:00
Jelmer Vernooij
7dd0cd26d3 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/Makefile
	source/build/smb_build/makefile.pm
	source/librpc/config.mk
(This used to be commit 3e02fcfd3f)
2008-03-03 10:50:53 +01:00
Brad Hards
85d53f7b60 Some cleanups for the ldb doxygen docs.
(This used to be commit 5972308add)
2008-03-02 10:46:47 +01:00
Jelmer Vernooij
830051b494 Remove unused variable, fix (80, 'Other error') exceptions from ldb python bindings
(This used to be commit 2303063cbd)
2008-03-01 21:18:12 +01:00
Jelmer Vernooij
748f1c0962 Fix error handling in ldb.add().
(This used to be commit a7f89b5bb2)
2008-03-01 13:01:02 +01:00
Jelmer Vernooij
1ada710840 Move public header accumulation out of the perl code.
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.

Conflicts:

	source/auth/config.mk
	source/auth/credentials/config.mk
	source/auth/gensec/config.mk
	source/build/smb_build/config_mk.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/lib/charset/config.mk
	source/lib/tdr/config.mk
	source/lib/util/config.mk
	source/libcli/config.mk
	source/libcli/ldap/config.mk
	source/librpc/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/torture/config.mk
(This used to be commit 6c659689ed)
2008-02-29 14:23:38 +01:00
Jelmer Vernooij
6b3ecd52d5 Fix manpage paths.
(This used to be commit 36da52abf5)
2008-02-29 14:12:36 +01:00
Jelmer Vernooij
d8d9a6ef04 Move manpage management out of the perl build system.
(This used to be commit 1dd6bea507)
2008-02-29 14:12:23 +01:00
Jelmer Vernooij
c8011b5d09 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/scripting/python/config.mk
(This used to be commit 0ac0ea660a)
2008-02-29 12:45:46 +01:00
Jelmer Vernooij
836ec12b55 Fix ldapi support.
(This used to be commit 9499f8eea5)
2008-02-29 01:06:05 +01:00
Andrew Bartlett
ba94c12bc4 Fix rdn_name errors.
Return the correct error when the DN is mismatched with it's RDN
attribute (now matches AD).

Andrew Bartlett
(This used to be commit bf7166e785)
2008-02-28 08:38:53 +11:00
Jelmer Vernooij
c5d77a1c24 Move public header accumulation out of the perl code.
(This used to be commit 89f7c74924)
2008-02-26 17:17:52 +01:00
Jelmer Vernooij
bfc99f15a1 Fix manpage paths.
(This used to be commit f7d0f0582e)
2008-02-26 15:19:45 +01:00
Jelmer Vernooij
c8af9559dc Move manpage management out of the perl build system.
(This used to be commit a660ab262e)
2008-02-26 15:11:47 +01:00
Jelmer Vernooij
a999a1fc99 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit 4dab354b62)
2008-02-26 13:07:55 +01:00
Jelmer Vernooij
22ef67dd13 Fix the build (again).
(This used to be commit ef00f6b581)
2008-02-26 01:20:55 +01:00
Jelmer Vernooij
b5bd663690 Fix use of realpath, fix init functions for ldb.
(This used to be commit ca510136d2)
2008-02-25 20:40:37 +01:00