tprouty/samba.git
15 years agos3 build: Fix incomplete types warnings
Tim Prouty [Thu, 20 Nov 2008 01:29:49 +0000 (17:29 -0800)]
s3 build: Fix incomplete types warnings

15 years agoFix bug #5909 - MS-DFS does not work on Vista, if link name includes multibyte character.
Yasuma Takeda [Thu, 20 Nov 2008 19:38:37 +0000 (11:38 -0800)]
Fix bug #5909 - MS-DFS does not work on Vista, if link name includes multibyte character.

15 years agoSecond part of fix for bug #5891 - smbd crashed when viewing the eventlog exported...
Jeremy Allison [Thu, 20 Nov 2008 18:56:14 +0000 (10:56 -0800)]
Second part of fix for bug #5891 - smbd crashed when viewing the eventlog exported by "eventlog list". Don't leak memory on error paths.
Jeremy.

15 years agoFix the build, by some cut-and-paste error I got two versions of the same functions...
Jeremy Allison [Thu, 20 Nov 2008 18:45:18 +0000 (10:45 -0800)]
Fix the build, by some cut-and-paste error I got two versions of the same functions here.
Jeremy.

15 years agos3-eventlog: remove trailing whitespace.
Günther Deschner [Thu, 20 Nov 2008 12:33:24 +0000 (13:33 +0100)]
s3-eventlog: remove trailing whitespace.

Guenther

15 years agos3-build: re-run make samba3-idl.
Günther Deschner [Thu, 20 Nov 2008 12:30:34 +0000 (13:30 +0100)]
s3-build: re-run make samba3-idl.

Guenther

15 years agoeventlog: fill in some unknowns and use flags bitmap in IDL.
Günther Deschner [Thu, 20 Nov 2008 12:29:44 +0000 (13:29 +0100)]
eventlog: fill in some unknowns and use flags bitmap in IDL.

Guenther

15 years agos3-eventlog: avoid passing down full prs_struct in eventlog server.
Günther Deschner [Thu, 20 Nov 2008 09:55:03 +0000 (10:55 +0100)]
s3-eventlog: avoid passing down full prs_struct in eventlog server.

Guenther

15 years agos3-eventlog: move non rpc eventlog headers to own include file.
Günther Deschner [Wed, 19 Nov 2008 22:44:07 +0000 (23:44 +0100)]
s3-eventlog: move non rpc eventlog headers to own include file.

Guenther

15 years agoeventlog: don't crash in sync_eventlog_params().
Michael Adam [Thu, 20 Nov 2008 15:31:44 +0000 (16:31 +0100)]
eventlog: don't crash in sync_eventlog_params().

When freeing the talloc ctx at the end of the routine,
it must be a talloc ctx created inside. talloc_tos() needs
to be valid after the function finishes, since callers
(may) have data attached to it.

Michael

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoThis code mixes up int and uint32 when pulling out of a TDB. This is very bad. Fixing...
Jeremy Allison [Thu, 20 Nov 2008 00:49:03 +0000 (16:49 -0800)]
This code mixes up int and uint32 when pulling out of a TDB. This is very bad. Fixing... May fix bug #5891, not sure.
Jeremy.

15 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Thu, 20 Nov 2008 00:36:59 +0000 (16:36 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

15 years agos4-smbtorture: fix segfault in RPC-EVENTLOG test.
Günther Deschner [Wed, 19 Nov 2008 23:01:41 +0000 (00:01 +0100)]
s4-smbtorture: fix segfault in RPC-EVENTLOG test.

Guenther

15 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Wed, 19 Nov 2008 23:06:05 +0000 (15:06 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

15 years agoFix build farm breakage.
Jeremy Allison [Wed, 19 Nov 2008 22:51:55 +0000 (14:51 -0800)]
Fix build farm breakage.

15 years agos3-ntsvcs: remove old hand-marshalling for ntsvcs getdevregprop.
Günther Deschner [Tue, 11 Nov 2008 11:49:20 +0000 (12:49 +0100)]
s3-ntsvcs: remove old hand-marshalling for ntsvcs getdevregprop.

Guenther

15 years agos3-ntsvcs: use pidl for _PNP_GetDeviceRegProp.
Günther Deschner [Tue, 11 Nov 2008 10:21:45 +0000 (11:21 +0100)]
s3-ntsvcs: use pidl for _PNP_GetDeviceRegProp.

Guenther

15 years agos3-rpcclient: fix cmd_ntsvcs_get_dev_reg_prop.
Günther Deschner [Wed, 19 Nov 2008 22:02:49 +0000 (23:02 +0100)]
s3-rpcclient: fix cmd_ntsvcs_get_dev_reg_prop.

Guenther

15 years agos3-build: re-run make samba3-idl after pidl change.
Günther Deschner [Wed, 19 Nov 2008 21:00:43 +0000 (22:00 +0100)]
s3-build: re-run make samba3-idl after pidl change.

Guenther

15 years agopidl: fix generated s3-server in,out,ref qualifiers that are used for buffer allocation.
Günther Deschner [Wed, 19 Nov 2008 11:38:38 +0000 (12:38 +0100)]
pidl: fix generated s3-server in,out,ref qualifiers that are used for buffer allocation.

Guenther

15 years agoAdd functions to delete NTACL on posix ACL set.
Jeremy Allison [Wed, 19 Nov 2008 20:24:53 +0000 (12:24 -0800)]
Add functions to delete NTACL on posix ACL set.
Jeremy.

15 years agoFix bug #5904 - libnss_wins causes SIGABRT while servicing getaddrinfo() request.
Jeremy Allison [Wed, 19 Nov 2008 19:22:50 +0000 (11:22 -0800)]
Fix bug #5904 - libnss_wins causes SIGABRT while servicing getaddrinfo() request.
Jeremy.

15 years agoFix path for torture.h.
Jelmer Vernooij [Wed, 19 Nov 2008 15:24:04 +0000 (16:24 +0100)]
Fix path for torture.h.

15 years agomanpages: Document new wbinfo idmapping options.
Karolin Seeger [Wed, 19 Nov 2008 12:08:41 +0000 (13:08 +0100)]
manpages: Document new wbinfo idmapping options.

--set-uid/gid-mapping
--remove-uid/gid-mapping

Karolin
(cherry picked from commit c9965d544f615fea1ba3609d7348407130ab1ec9)

15 years agobuild-docs: Use 'git clean' instead of 'git-clean'.
Karolin Seeger [Wed, 19 Nov 2008 12:16:38 +0000 (13:16 +0100)]
build-docs: Use 'git clean' instead of 'git-clean'.

Karolin

15 years agos3/s4 build: Fix execinfo and sasl build error when the libs/headers are in non-stand...
Tim Prouty [Wed, 19 Nov 2008 00:52:58 +0000 (16:52 -0800)]
s3/s4 build: Fix execinfo and sasl build error when the libs/headers are in non-standard locations.

These configure checks have the correct flags at configure time, so
let's pass them through so they are used at compile time.

15 years agos3/s4 build: Fix makefile expression to work on more systems
Tim Prouty [Wed, 19 Nov 2008 00:47:23 +0000 (16:47 -0800)]
s3/s4 build: Fix makefile expression to work on more systems

15 years agoClean-up various trailing space and >80 column lines.
Steven Danneman [Tue, 28 Oct 2008 06:36:36 +0000 (23:36 -0700)]
Clean-up various trailing space and >80 column lines.

15 years agoAdded ability to remove id mappings in wbinfo and libwbclient.
Steven Danneman [Tue, 28 Oct 2008 06:37:55 +0000 (23:37 -0700)]
Added ability to remove id mappings in wbinfo and libwbclient.

The idmap_tdb backend already provides an interface to remove existing id
mappings.  This commit plumbs that ability up through, winbindd, libwbclient,
and wbinfo.

Added new winbindd command:
        WINBINDD_REMOVE_MAPPING
Added new libwbclient interfaces:
        wbcRemoveUidMapping() and wbcRemoveGidMapping()
Added new wbinfo options:
        --remove-uid-mapping
        --remove-gid-mapping

Increased libwbclient version to 0.2
Increased winbind interface version to 20

15 years agoAdded ability to set id mappings in wbinfo.
Steven Danneman [Tue, 28 Oct 2008 06:46:44 +0000 (23:46 -0700)]
Added ability to set id mappings in wbinfo.

The two new parameters are:

--set-uid-mapping
--set-gid-mapping

These allow wbinfo to create new, or override existing id mappings in the
idmap backend.  These expose the exisiting ability of libwbclient
and winbindd to do this, up through a command line utility.

15 years agoMove wireshark conformance file to top-level.
Jelmer Vernooij [Tue, 18 Nov 2008 23:10:15 +0000 (00:10 +0100)]
Move wireshark conformance file to top-level.

15 years agoFix extended DN parse error when AD object does not have a SID.
Steven Danneman [Sat, 15 Nov 2008 21:07:15 +0000 (13:07 -0800)]
Fix extended DN parse error when AD object does not have a SID.

Some AD objects, like Exchange Public Folders, can be members of Security
Groups but do not have a SID attribute.  This patch adds more granular return
errors to ads_get_sid_from_extended_dn().  Callers can now determine if a parse
error occured because of bad input, or the DN was valid but contained no SID.

I updated all callers to ignore SIDless objects when appropriate.

Also did some cleanup to the out paths of lookup_usergroups_memberof()

15 years agoWhitespace and >80 column cleanups.
Steven Danneman [Sat, 15 Nov 2008 03:16:12 +0000 (19:16 -0800)]
Whitespace and >80 column cleanups.

15 years agoFix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails"
Dina Fine [Tue, 18 Nov 2008 20:45:42 +0000 (12:45 -0800)]
Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails"

15 years agolibsmb: Fix up pointer passed to cli_send_trans in cli_link_internal
Kai Blin [Tue, 18 Nov 2008 19:25:14 +0000 (11:25 -0800)]
libsmb: Fix up pointer passed to cli_send_trans in cli_link_internal

15 years agoRe-structure Volker's patch to "Fix trans2findfirst for the large directory optimizat...
Jeremy Allison [Tue, 18 Nov 2008 18:57:54 +0000 (10:57 -0800)]
Re-structure Volker's patch to "Fix trans2findfirst for the large directory optimization". Makes the change clearer.
Jeremy.

15 years agoFix trans2findfirst for the large directory optimization
Volker Lendecke [Tue, 18 Nov 2008 16:03:38 +0000 (17:03 +0100)]
Fix trans2findfirst for the large directory optimization

With

case sensitive = yes
preserve case = no
short preserve case = no
default case = upper

a "dir FOO.txt" would not find "FOO.TXT" because FOO.txt ends up unconverted in
the mask for mask_match.

Jeremy, please check!

Volker

15 years agos3-libnet-samsync: store samsync sequence number state in keytab.
Günther Deschner [Tue, 18 Nov 2008 08:52:35 +0000 (09:52 +0100)]
s3-libnet-samsync: store samsync sequence number state in keytab.

Guenther

15 years agos3-libnet-samsync: refactor libnet_samsync.
Günther Deschner [Tue, 18 Nov 2008 08:49:37 +0000 (09:49 +0100)]
s3-libnet-samsync: refactor libnet_samsync.

Guenther

15 years agos3-libnet-samsync: pass back sequence number from fetch_sam_entries_keytab.
Günther Deschner [Tue, 18 Nov 2008 08:42:59 +0000 (09:42 +0100)]
s3-libnet-samsync: pass back sequence number from fetch_sam_entries_keytab.

Guenther

15 years agos3-libnet-samsync: use netr_DatabaseDeltas unless full replication enforced.
Günther Deschner [Tue, 18 Nov 2008 02:45:38 +0000 (03:45 +0100)]
s3-libnet-samsync: use netr_DatabaseDeltas unless full replication enforced.

Guenther

15 years agos3-libnet-samsync: pass sequence number pointer to process routine.
Günther Deschner [Tue, 18 Nov 2008 01:01:03 +0000 (02:01 +0100)]
s3-libnet-samsync: pass sequence number pointer to process routine.

Guenther

15 years agos3-libnet-samsync: move all modules to startup,process,finish callbacks.
Günther Deschner [Mon, 17 Nov 2008 18:34:56 +0000 (19:34 +0100)]
s3-libnet-samsync: move all modules to startup,process,finish callbacks.

Guenther

15 years agos3-libnet-samsync: call init and close ops function where appropriate.
Günther Deschner [Mon, 17 Nov 2008 16:14:19 +0000 (17:14 +0100)]
s3-libnet-samsync: call init and close ops function where appropriate.

Guenther

15 years agos3-libnet-samsync: use samsync_ops.
Günther Deschner [Mon, 17 Nov 2008 15:31:59 +0000 (16:31 +0100)]
s3-libnet-samsync: use samsync_ops.

Guenther

15 years agos3-libnet-samsync: add samsync_ops to all samsync modules.
Günther Deschner [Mon, 17 Nov 2008 15:29:11 +0000 (16:29 +0100)]
s3-libnet-samsync: add samsync_ops to all samsync modules.

Guenther

15 years agos3-libnet-samsync: add samsync_ops.
Günther Deschner [Mon, 17 Nov 2008 15:28:34 +0000 (16:28 +0100)]
s3-libnet-samsync: add samsync_ops.

Guenther

15 years agos3-libnet: move add_to_keytab_entries to libnet_keytab.
Günther Deschner [Tue, 18 Nov 2008 00:16:53 +0000 (01:16 +0100)]
s3-libnet: move add_to_keytab_entries to libnet_keytab.

Guenther

15 years agos3-net: add "net rpc vampire passdb" that allows to take arguments.
Günther Deschner [Tue, 18 Nov 2008 12:25:50 +0000 (13:25 +0100)]
s3-net: add "net rpc vampire passdb" that allows to take arguments.

Guenther

15 years agos3-net: use net_scan_dc in net rpc vampire keytab.
Günther Deschner [Tue, 11 Nov 2008 18:00:26 +0000 (19:00 +0100)]
s3-net: use net_scan_dc in net rpc vampire keytab.

Guenther

15 years agos3-net: add net_scan_dc function.
Günther Deschner [Tue, 11 Nov 2008 17:59:57 +0000 (18:59 +0100)]
s3-net: add net_scan_dc function.

Guenther

15 years agos3-net: add net_dc_info struct.
Günther Deschner [Tue, 11 Nov 2008 17:59:21 +0000 (18:59 +0100)]
s3-net: add net_dc_info struct.

Guenther

15 years agos3-net-vampire: add support for partial replication (individual deltas).
Günther Deschner [Tue, 4 Nov 2008 15:25:40 +0000 (16:25 +0100)]
s3-net-vampire: add support for partial replication (individual deltas).

Guenther

15 years agos3-libnet-samsync: add support for partial replication.
Günther Deschner [Tue, 4 Nov 2008 14:49:27 +0000 (15:49 +0100)]
s3-libnet-samsync: add support for partial replication.

Guenther

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Tue, 18 Nov 2008 00:36:02 +0000 (01:36 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agoExplicitly include samba4 includes.h to fix the build.
Jelmer Vernooij [Tue, 18 Nov 2008 00:35:10 +0000 (01:35 +0100)]
Explicitly include samba4 includes.h to fix the build.

15 years agoFix bug #5906 when running winbindd on a Samba PDC. Winbindd crash on 'getent group'
Davide Sfriso [Mon, 17 Nov 2008 23:38:56 +0000 (15:38 -0800)]
Fix bug #5906 when running winbindd on a Samba PDC. Winbindd crash on 'getent group'
Jeremy.

15 years agoFix bug #5900 reported by monyo@samba.gr.jp - vfs_readonly.so does not work.
Jeremy Allison [Mon, 17 Nov 2008 22:13:20 +0000 (14:13 -0800)]
Fix bug #5900 reported by monyo@samba.gr.jp - vfs_readonly.so does not work.
Jeremy.

15 years agos3-libnet-samsync: use enctype 23 for vampired keytab entries.
Günther Deschner [Mon, 17 Nov 2008 17:25:01 +0000 (18:25 +0100)]
s3-libnet-samsync: use enctype 23 for vampired keytab entries.

Guenther

15 years agoFix build warning introduced by making SERVICE_CONTROL an enum
Tim Prouty [Mon, 17 Nov 2008 18:21:29 +0000 (10:21 -0800)]
Fix build warning introduced by making SERVICE_CONTROL an enum

15 years agos3 create-tarball.sh: Remove dashes in git commands.
Karolin Seeger [Mon, 17 Nov 2008 14:23:34 +0000 (15:23 +0100)]
s3 create-tarball.sh: Remove dashes in git commands.

Newer git versions (e.g. 1.6.0.2) do not provide the 'git-' commands
any longer.

Karolin

15 years agos3-build: re-run make samba3-idl.
Günther Deschner [Fri, 14 Nov 2008 10:54:46 +0000 (11:54 +0100)]
s3-build: re-run make samba3-idl.

Guenther

15 years agosvcctl: fill in SERVICE_CONTROL from s3.
Günther Deschner [Fri, 14 Nov 2008 10:54:16 +0000 (11:54 +0100)]
svcctl: fill in SERVICE_CONTROL from s3.

Guenther

15 years agosvcctl: fix idl for svcctl_EnumServicesStatusW.
Günther Deschner [Fri, 14 Nov 2008 10:41:40 +0000 (11:41 +0100)]
svcctl: fix idl for svcctl_EnumServicesStatusW.

Guenther

15 years agos4-smbtorture: add test for svcctl_QueryServiceConfig2W.
Günther Deschner [Fri, 14 Nov 2008 10:36:47 +0000 (11:36 +0100)]
s4-smbtorture: add test for svcctl_QueryServiceConfig2W.

Guenther

15 years agosvcctl: fix idl for svcctl_QueryServiceConfig2W.
Günther Deschner [Fri, 14 Nov 2008 10:29:03 +0000 (11:29 +0100)]
svcctl: fix idl for svcctl_QueryServiceConfig2W.

Guenther

15 years agosvcctl: fix idl for EnumServicesStatusExW.
Günther Deschner [Fri, 14 Nov 2008 10:26:25 +0000 (11:26 +0100)]
svcctl: fix idl for EnumServicesStatusExW.

Guenther

15 years agos4-smbtorture: fix test for svcctl_EnumServicesStatusW.
Günther Deschner [Fri, 14 Nov 2008 10:25:30 +0000 (11:25 +0100)]
s4-smbtorture: fix test for svcctl_EnumServicesStatusW.

Guenther

15 years agos4-smbtorture: add test for svcctl_QueryServiceStatusEx.
Günther Deschner [Fri, 14 Nov 2008 10:24:52 +0000 (11:24 +0100)]
s4-smbtorture: add test for svcctl_QueryServiceStatusEx.

Guenther

15 years agosvcctl: fix idl for svcctl_QueryServiceStatusEx.
Günther Deschner [Fri, 14 Nov 2008 10:24:10 +0000 (11:24 +0100)]
svcctl: fix idl for svcctl_QueryServiceStatusEx.

Guenther

15 years agos4-smbtorture: pure reformatting of svcctl test.
Günther Deschner [Fri, 14 Nov 2008 09:18:35 +0000 (10:18 +0100)]
s4-smbtorture: pure reformatting of svcctl test.

Guenther

15 years agos3-rpcclient: fill in unknowns in cmd_ntsvcs_get_hw_prof_info.
Günther Deschner [Thu, 13 Nov 2008 23:52:50 +0000 (00:52 +0100)]
s3-rpcclient: fill in unknowns in cmd_ntsvcs_get_hw_prof_info.

Guenther

15 years agos4-smbtorture: add PNP_GetDeviceRegProp test for ntsvcs testsuite.
Günther Deschner [Thu, 13 Nov 2008 23:30:11 +0000 (00:30 +0100)]
s4-smbtorture: add PNP_GetDeviceRegProp test for ntsvcs testsuite.

Guenther

15 years agontsvcs: remove todo from PNP_GetDeviceList.
Günther Deschner [Fri, 14 Nov 2008 08:48:56 +0000 (09:48 +0100)]
ntsvcs: remove todo from PNP_GetDeviceList.

Guenther

15 years agopam_winbind: rerun genmsg after Bo Yang's fixes.
Günther Deschner [Mon, 17 Nov 2008 12:06:42 +0000 (13:06 +0100)]
pam_winbind: rerun genmsg after Bo Yang's fixes.

Guenther

15 years agos4:dsdb/samdb: don't allow objects without objectClass
Stefan Metzmacher [Mon, 17 Nov 2008 09:51:39 +0000 (10:51 +0100)]
s4:dsdb/samdb: don't allow objects without objectClass

We're using @ROOTDSE instead of CN=ROOTDSE.

metze

15 years ago Fix broken msgids in ntstatus_errors
Bo Yang [Sun, 16 Nov 2008 08:31:31 +0000 (16:31 +0800)]
Fix broken msgids in ntstatus_errors

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoImprove the Gemand pam_winbind translation.
Andreas Schneider [Mon, 17 Nov 2008 10:01:15 +0000 (11:01 +0100)]
Improve the Gemand pam_winbind translation.

Signed-off-by: Andreas Schneider <anschneider@suse.de>
15 years agonet: Fix net rap printq info documentation (bug #5892)
Kai Blin [Mon, 17 Nov 2008 07:37:21 +0000 (08:37 +0100)]
net: Fix net rap printq info documentation (bug #5892)

Carsten Dumke <carsten@cdumke.de> reported and provided a patch
for v3.0 and v3.2. (See 0a7fb721cdc)

This fixes the same issue in v3.3 and also changes the auto-generated usage
information to give better help about net rap printq info.

15 years agoRun the original operation before we update linked attrs
Andrew Bartlett [Fri, 24 Oct 2008 02:59:01 +0000 (13:59 +1100)]
Run the original operation before we update linked attrs

This causes the linked attribute modifies to occour after the original
operation is entered in the transaction (any failure still fails the
lot).  This means (I hope) that we can have another module search the
originating record when the backlink is created, filling in the GUID
and SID for the extended DN.

Andrew Bartlett

15 years agoAdd helpful function for comparison of DATA_BLOB elements
Andrew Bartlett [Wed, 5 Nov 2008 01:00:44 +0000 (12:00 +1100)]
Add helpful function for comparison of DATA_BLOB elements

15 years agoRemove timeout event once we are calling the callback.
Andrew Bartlett [Thu, 13 Nov 2008 03:07:29 +0000 (14:07 +1100)]
Remove timeout event once we are calling the callback.

(Even if the callback takes some time, this isn't a ldb_tdb timeout
any more)

Andrew Bartlett

15 years agoImprove debug when SASL search fails
Andrew Bartlett [Thu, 13 Nov 2008 04:58:12 +0000 (15:58 +1100)]
Improve debug when SASL search fails

15 years agoPrint unconvertable ldb element values as base64.
Andrew Bartlett [Thu, 13 Nov 2008 22:40:02 +0000 (09:40 +1100)]
Print unconvertable ldb element values as base64.

If an LDB element cannot be converted into a printable form, we should
still print it, just with safety applied.

Andrew Bartlett

15 years agoThe samba3sam test does not really need the extended_dn module
Andrew Bartlett [Fri, 14 Nov 2008 02:26:02 +0000 (13:26 +1100)]
The samba3sam test does not really need the extended_dn module

(This module has been split up into extended_dn_in, extended_dn_out
and extended_dn_store).

Andrew Bartlett

15 years agoUse new GUID_from_data_blob
Andrew Bartlett [Fri, 14 Nov 2008 02:24:54 +0000 (13:24 +1100)]
Use new GUID_from_data_blob

This avoid the problem that GUID_from_string now strictly requires no
trailing data after the string-form GUID.

Andrew Bartlett

15 years agoRemove restrictions on number of DN components in LDAP server
Andrew Bartlett [Fri, 14 Nov 2008 05:34:59 +0000 (16:34 +1100)]
Remove restrictions on number of DN components in LDAP server

There is no reason for these restrictions to be in the LDAP server -
they belong in the LDB layer.  When accepting 'extended' or
'alternate' DNs we can't tell anyway.

Andrew Bartlett

15 years agoAlways validate a DN when constructing from a string in python
Andrew Bartlett [Fri, 14 Nov 2008 06:16:39 +0000 (17:16 +1100)]
Always validate a DN when constructing from a string in python

15 years agos4:dsdb/schema_fsmo: provide "extendedAttributeInfo" and "extendedClassInfo"
Stefan Metzmacher [Fri, 14 Nov 2008 08:33:08 +0000 (09:33 +0100)]
s4:dsdb/schema_fsmo: provide "extendedAttributeInfo" and "extendedClassInfo"

metze

15 years agos4:dsdb/schema: add a function to generate the "extendedClassInfo" values
Stefan Metzmacher [Fri, 14 Nov 2008 07:51:59 +0000 (08:51 +0100)]
s4:dsdb/schema: add a function to generate the "extendedClassInfo" values

metze

15 years agos4:dsdb/schema: add a function to generate the "extendedAttributeInfo" values
Stefan Metzmacher [Fri, 14 Nov 2008 07:49:06 +0000 (08:49 +0100)]
s4:dsdb/schema: add a function to generate the "extendedAttributeInfo" values

metze

15 years agos4:dsdb/schema: use pointers for rangeLower and rangeUpper.
Stefan Metzmacher [Thu, 13 Nov 2008 20:32:04 +0000 (21:32 +0100)]
s4:dsdb/schema: use pointers for rangeLower and rangeUpper.

This makes clear there's an value stored in the schema,
as they can be '0'.

metze

15 years agos4:dsdb/schema: we don't need to use find_syntax_map_by_ad_oid() as the syntax is...
Stefan Metzmacher [Thu, 13 Nov 2008 20:31:03 +0000 (21:31 +0100)]
s4:dsdb/schema: we don't need to use find_syntax_map_by_ad_oid() as the syntax is already known

metze

15 years agolibrpc/ndr: add GUID_hexstring()
Stefan Metzmacher [Thu, 13 Nov 2008 20:28:02 +0000 (21:28 +0100)]
librpc/ndr: add GUID_hexstring()

metze

15 years agolibrpc/ndr: let GUID_from_data_blob() accept a ndr blob or a hex string too
Stefan Metzmacher [Thu, 13 Nov 2008 20:27:10 +0000 (21:27 +0100)]
librpc/ndr: let GUID_from_data_blob() accept a ndr blob or a hex string too

metze

15 years agos4:librpc/ndr: integrate NDR_MISC into LIBNDR
Stefan Metzmacher [Fri, 14 Nov 2008 15:02:06 +0000 (16:02 +0100)]
s4:librpc/ndr: integrate NDR_MISC into LIBNDR

metze

15 years agolib/util: hex_encode_talloc(): fix error path and set talloc name
Stefan Metzmacher [Thu, 13 Nov 2008 20:26:03 +0000 (21:26 +0100)]
lib/util: hex_encode_talloc(): fix error path and set talloc name

metze

15 years agoAdd a new function to parse a DATA_BLOB into a GUID
Andrew Bartlett [Mon, 10 Nov 2008 00:40:31 +0000 (11:40 +1100)]
Add a new function to parse a DATA_BLOB into a GUID

The reason for this new function is to ensure the length is not
discarded when the input is a ldb_val (aka DATA_BLOB) in ldb.

Andrew Bartlett

15 years agos4:libcli/resolve: don't ignore SIGCHLD anymore
Stefan Metzmacher [Mon, 6 Oct 2008 07:18:50 +0000 (09:18 +0200)]
s4:libcli/resolve: don't ignore SIGCHLD anymore

This broke ldbedit against a LDAP server,
as the editor is called by "system()" which relies
on getting something useful out of waitpid().

TODO: we should create a generic infrastructure to
      handle temporary forks and integrate the signal
      handling with signal events there.

metze

15 years agos4:torture: fix the build with auto dependencies
Stefan Metzmacher [Sun, 16 Nov 2008 15:19:58 +0000 (16:19 +0100)]
s4:torture: fix the build with auto dependencies

metze