Andrew Tridgell
7f6b524bf6
s4-devel: support vampire_ad.sh with no initial smb.conf
2009-12-14 22:29:58 +11:00
Andrew Tridgell
b11b22752a
s4-loadparm: call reload_charcnv() also for a missing smb.conf
...
bin/net vampire with a missing smb.conf would segfault as the iconv
convenience pointer had not been setup.
2009-12-14 22:29:58 +11:00
Andrew Tridgell
7f16da7473
s4-dsdb: return a zero guid on error in samdb_result_guid()
2009-12-14 22:29:58 +11:00
Andrew Tridgell
bb009412d3
heimdal: work around differences between GNU and XSI strerror_r()
...
This is a fairly ugly workaround, but then again, strerror_r() is a
very ugly mess.
2009-12-14 22:29:57 +11:00
Andrew Tridgell
665e57f956
s4-dsdb: use the reveal control to hide/show extended DN components
...
When reveal is set, then we show deleted linked attributes and all
linkked attribute components. When not set we show a normal extended
DN.
2009-12-14 22:29:57 +11:00
Andrew Tridgell
e3c2309dcd
s4-ldb: added new ldb_dn extended components for linked attributes
...
These will store linked attribute replication meta data
2009-12-14 22:29:57 +11:00
Andrew Tridgell
0d76df9953
s4-ldb: added a function to filter extended components of a ldb_dn
...
We need to be able to filter out components that should not be exposed
to users
2009-12-14 22:29:57 +11:00
Andrew Tridgell
725e25a206
s4-ldb: added a new "reveal" control
...
This control will allow inspection of internal ldb values, which would
normally be stripped before being presented to users. The first use
will be stripping linked attribute meta data extended components.
2009-12-14 22:29:57 +11:00
Andrew Tridgell
56b90acbf6
s4-ldb: sort the linearized extended DN by component name
...
This will make life easier when handling deleted linked attributes
2009-12-14 22:29:57 +11:00
Brian Lu
a3b7e84a65
librpc/ndr: avoid comparison_fn_t to fix the openchange build on solaris
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14 11:08:45 +01:00
Matthieu Patou
6bc29eced5
add ignore for autogenrated files as they are not used by s3
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14 10:58:32 +01:00
Matthieu Patou
155bdea7b2
torture: add new tests for dfsblobs
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14 10:58:32 +01:00
Matthieu Patou
8f8613dcef
idl: introduce new file: dfsblobs.idl
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14 10:58:32 +01:00
Stefan Metzmacher
05effef1aa
librpc/ndr: add missing prototypes for relative_short functions
...
metze
2009-12-14 10:58:31 +01:00
Günther Deschner
e316624ddb
spoolss: fix spoolss_PrinterData size calculation.
...
Currently we were crashing in EnumPrinterDataEx when an e.g. an empty (NULL)
string for a separator file was returned.
Guenther
2009-12-14 10:39:34 +01:00
Günther Deschner
5ae61cfbc2
spoolss: trivial fix for spoolss_FormInfo2 IDL.
...
Guenther
2009-12-14 10:38:53 +01:00
Günther Deschner
801fbd0569
s4-smbtorture: check whether a returned buffer size is a multiple of 4 in RPC-SPOOLSS.
...
This gives a good indication where our IDL (and the s3 spoolss implementation) is still wrong.
Guenther
2009-12-14 10:37:41 +01:00
Karolin Seeger
f740bdc47b
s3:docs: Fix 'make manpages3'.
...
Karolin
2009-12-14 08:58:50 +01:00
Matthias Dieter Wallnöfer
f8c34c4df1
s4:"samdb_set_password_sid" - clean up created objects correctly
...
- We should clean up such "helper" objects created in this function to don't
have them around until "mem_ctx" is destroyed
- Remove a from my view pointless comment "This is a password set, not change"
since an external argument "user_change" decides this ("modify" or "(re)set")
2009-12-13 16:13:34 +01:00
Matthias Dieter Wallnöfer
1788abba14
s4:operational LDB module - cosmetic - reorder an attribute list
...
This matches the default handling order in the "password_hash" module (it's nice
to have this consistent).
2009-12-12 17:59:05 +01:00
Volker Lendecke
24a398b5b4
s3: Fix a very embarrassing build failure
2009-12-12 16:57:49 +01:00
Matthieu Patou
678f2ca14b
pidl: Introduce new dirrective: relative_short
...
relative_short is like relative but instead of having the offset coded on 4 bytes
it's coded on 2 bytes. Such things happen in GET_DFS_REFERAL messages.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-12 10:26:05 +01:00
Matthieu Patou
f0054da041
librpc/ndr: add support for relative_short pointers
...
relative_short is like relative but instead of having the offset coded on 4 bytes
it's coded on 2 bytes. Such things happen in GET_DFS_REFERAL messages.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-12 10:21:22 +01:00
Matthias Dieter Wallnöfer
5767b1dacc
s4:utils/oLschema2ldif.c - remove (now) unused variables
2009-12-11 20:20:02 +01:00
Björn Jacke
c69b9b7890
s3:docs: document ldap deref
2009-12-11 13:28:31 +01:00
Karolin Seeger
5dd86c7394
s3:loadparm: Change the "ldap deref" value "defualt" to "auto".
...
That's an established value. Default is a bit confusing.
Karolin
2009-12-11 11:56:26 +01:00
Matthias Dieter Wallnöfer
31321ac868
s4:libnet/libnet_become_dc - Fix a small glitch in "becomeDC_drsuapi1_add_entry_send"
...
We shouldn't use the now uninitialised "status" variable anymore.
2009-12-11 11:19:32 +01:00
Björn Jacke
f3205d31d6
s3: add prototype to fix the build
2009-12-10 23:21:01 +01:00
Günther Deschner
31202a9dab
s3-selftest: enable RPC-SAMBA3-WINREG.
...
Very strange we didn't run it before.
Guenther
2009-12-10 22:49:16 +01:00
Günther Deschner
c2618d2c6f
s3-rpcclient: allow to set offered size for enumkey command.
...
Guenther
2009-12-10 22:49:16 +01:00
Günther Deschner
dc71d1c29d
s4-smbtorture: add more spoolss_EnumPrinterKey tests for local NDR test.
...
Guenther
2009-12-10 22:49:15 +01:00
Björn Jacke
e92b034d8a
s3: make own defines for ldap deref types
...
there are too many naming clashes between different ldap libs and ldb libs.
Let's simply make our own defines. The numbers are well standarized. This also
makes the default for "ldap deref" be "default" which means we won't tell the
ldap library what to do. Ѕo by default it's all up to what the server and our
libs think they should to do.
2009-12-10 22:22:54 +01:00
Björn Jacke
66836445a2
s3: add LDAP Alias Dereferencing support
...
Thanks to Dan Cox for initial patch for 3.0. This closes #2350 .
2009-12-10 21:28:05 +01:00
Günther Deschner
835e7d6c98
spoolss: remove unused spoolss_StringArray2.
...
Guenther
2009-12-10 17:48:50 +01:00
Günther Deschner
ce33967f4a
s4-smbtorture: fix and extend enum printerkey test.
...
Guenther
2009-12-10 17:48:50 +01:00
Günther Deschner
f20effc437
s3-spoolss: fix enumprinter key client and server.
...
Guenther
2009-12-10 17:48:50 +01:00
Günther Deschner
fa413d167b
s3: re-run make samba3-idl.
...
Guenther
2009-12-10 17:48:49 +01:00
Günther Deschner
0ecb7f6ab2
spoolss: use spoolss_KeyNames in spoolss_EnumPrinterKey.
...
Guenther
2009-12-10 17:48:49 +01:00
Günther Deschner
cf2561473f
spoolss: add spoolss_KeyNames union.
...
Guenther
2009-12-10 17:48:49 +01:00
Karolin Seeger
0604c696a0
s3:packaging: Fix version detection.
...
Adapted from 728b01fc03
.
Thanks god I was not root! It would have delted /*!
Karolin
2009-12-10 15:00:24 +01:00
Nadezhda Ivanova
56b754e09a
Implementation of sDRightsEffective, allowedAttributesEffective and allowedChildClassesEffective.
...
Behavior as documented in WSPP and tested. Needs optimisation though.
2009-12-10 15:49:53 +02:00
Karolin Seeger
85e79a2a03
s3:packaging: Fix source dir.
...
Karolin
2009-12-10 14:26:58 +01:00
Karolin Seeger
b5011ba2c8
s3:packaging: Fix typo in comment.
...
Karolin
2009-12-10 14:09:42 +01:00
Andrew Tridgell
c59372b0b8
s4-ldb: fixed 2 bugs in ldb_dn_set_extended_component()
...
The first bug was that setting a component twice could cause it to
appear twice in the DN.
The second bug was that using an existing ldb_val from a previous call
of ldb_dn_get_extended_component() as an argument to
ldb_dn_set_extended_component() would cause a valgrind error (as the
array the val pointed into will change).
2009-12-10 17:51:30 +11:00
Andrew Tridgell
62dc7f6b2d
s4-libcli: GUID_from_ndr_blob() is strict about the blob size
...
We need to create a blob of the right length
2009-12-10 17:51:30 +11:00
Andrew Tridgell
c7c97b61ae
s4-schema: use GUID_to_ndr_blob()
2009-12-10 17:51:29 +11:00
Andrew Tridgell
d35b7d0aa4
s4-schema: use binsearch.h
2009-12-10 17:51:29 +11:00
Andrew Tridgell
71943e8858
util: added binsearch.h for binary array searches
...
This was moved from the schema_query code. It will now be used in more
than one place, so best to make it a library macro. I think there are
quite a few places that could benefit from this.
2009-12-10 17:51:29 +11:00
Andrew Tridgell
261ba40e77
s4-dsdb: use GUID_to_ndr_blob()
2009-12-10 17:51:29 +11:00
Andrew Tridgell
215cc5a9ed
s4-ldb: use GUID_to_ndr_blob()
2009-12-10 17:51:29 +11:00