Michael Adam
c682fd65b2
s3:registry: remove superfluous comments from registry.h
2010-05-25 10:35:25 +02:00
Michael Adam
a4efda959a
s3:registry: extract the reg_util_legacy prototypes into their own header.
...
And use them only where necessary.
2010-05-25 10:35:24 +02:00
Michael Adam
14a025062e
s3:registry: extract the reg_cachehook prototypes into their own header.
...
And use them only where necessary.
2010-05-25 10:35:24 +02:00
Michael Adam
9c5d7c7896
s3:registry: protect registry.h from multiple inclusion
2010-05-25 10:35:24 +02:00
Michael Adam
d59d9dfb90
s3:registry: add C to reg_cachehook, confessing considerable changes in 2008
2010-05-25 10:35:23 +02:00
Michael Adam
8eed328cb5
s3:fix configure after change "add Werror_FLAGS for IBM's xlc"
...
For me, 24b3725407
broke configure.
The fix in f634450b67
is not complete yet.
After staring at the change a bit, tt seems to me that the
code inserted was just misplaced by one line.
Michael
2010-05-25 09:56:05 +02:00
Björn Jacke
f634450b67
s3: fix the configure run
2010-05-25 09:43:57 +02:00
Björn Jacke
ff0872d59d
s3:configure: turn "error warnings" into errors
...
By default "Missing argument(s)" is just an "error warning" for xlc :-)
The change to turn "error warnings" into errors should fix bug #7427 .
2010-05-24 23:34:00 +02:00
Björn Jacke
24b3725407
s3:configure: add Werror_FLAGS for IBM's xlc
2010-05-24 23:28:44 +02:00
Matthias Dieter Wallnöfer
189950ce06
s4:dsdb_enum_group_mem - use "unsigned" counters
...
"size_t" counters aren't really needed here (we don't check data lengths).
And we save the result in a certain "num_sids" variable which is of type
"unsigned".
2010-05-24 22:01:36 +02:00
Matthias Dieter Wallnöfer
4d76c0aa80
s4:dsdb_lookup_rids - "unsigned" counters fit better than "signed" in this case
2010-05-24 22:01:20 +02:00
Matthias Dieter Wallnöfer
9696bba1d7
s4:dsdb_add_user - check the "cn"/"account_name" length (should be >= 1)
...
This needed by the "cn_name_len"-1 accesses.
And use a "size_t"-typed variable for storing it (length specificators should
always be stored using "size_t" variables).
2010-05-24 21:55:11 +02:00
Jeremy Allison
2a91b00b92
Add in support for the NTLMSSP version reply.
...
Jeremy.
2010-05-24 11:03:42 -07:00
Volker Lendecke
4a653798df
fix a typo
2010-05-24 18:25:38 +02:00
Jelmer Vernooij
a042e24137
ldb-waf: Install manual pages for ldb in standalone build, install
...
python module.
2010-05-24 17:31:43 +02:00
Andrew Bartlett
1d66cb0e20
s4:winbind Give more detail on the parameters when reporting idmap failure
2010-05-24 23:08:57 +10:00
Andrew Bartlett
dceca3d8ae
s4:winbind Change idmap API to match that used by the source3/ idmap subsystem
...
This makes it much easier to write an idmap module that bridges the gap.
We should finish the change to the new API, but for the moment this
choke point works for the conversion.
Andrew Bartlett
2010-05-24 23:08:57 +10:00
Andrew Bartlett
9573c35636
s4:winbind Change include guard so as not to conflict with idmap.h in source3
2010-05-24 23:08:57 +10:00
Andrew Bartlett
e7fe4d3885
s4:winbind Fix up includes after seperation of idmap.idl from winbind.idl
2010-05-24 23:08:57 +10:00
Andrew Bartlett
285647664c
s4:idmap Adjust code to new idmap structure names and layout.
...
Andrew Bartlett
2010-05-24 23:08:56 +10:00
Andrew Bartlett
974ed9cf2c
s4:idmap Seperate idmap structures from winbind.idl and match to source3/ idmap
...
These structures now match those in use in the source3 code. I'm not
sure if this is the better API or not, but it is far, far safer to
remove a pointer than to add one.
Andrew Bartlett
2010-05-24 23:08:56 +10:00
Andrew Bartlett
f6aa090202
s4:samr Push most of samr_LookupRids into a helper function
...
This is a rewrite of the lookup_rids code, using a query based on the
extended DN for a clearer interface.
By splitting this out, the logic is able to be shared, rather than
copied, into a passdb wrapper.
Andrew Bartlett
2010-05-24 23:08:56 +10:00
Andrew Bartlett
c6ffd884d9
s4:samr Push most of samr_QueryGroupMember into a helper function
...
This is a rewrite of the group membership lookup code, using the
stored extended DNs to avoid doing the lookup into each member to find
the SID
By splitting this out, the logic is able to be shared, rather than
copied, into a passdb wrapper.
Andrew Bartlett
2010-05-24 23:08:49 +10:00
Andrew Bartlett
20d2847492
s4:samr Move most of samr_CreateDomAlias into a helper function
...
This allows this logic to be shared, rather than copied, into a passdb
wrapper.
Andrew Bartlett
2010-05-24 23:08:11 +10:00
Andrew Bartlett
fc04e565b0
s4:samr Split most of samr_CreateDomainGroup into a helper function
...
This allows this logic to be shared, rather than copied, into a passdb
wrapper.
Andrew Bartlett
2010-05-24 23:08:11 +10:00
Andrew Bartlett
43c931b2d4
s4:samr Split the guts of samr_CreateUser2 into a helper function
...
This allows this logic to be shared, rather than copied, into a passdb
wrapper.
Andrew Bartlett
2010-05-24 23:08:11 +10:00
Andrew Bartlett
e0d141bd46
s4:dsdb Allow a NULL search expression in dsdb_search()
...
The NULL search expression expands to (objectClass=*), but %s expands
NULL to (NULL) which doesn't parse...
Andrew Bartlett
2010-05-24 23:08:11 +10:00
Andrew Bartlett
6c726745a4
s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDL
...
This IDL is almost common, but the source3 version has a
hand-marshalled server_id. The s3compat build has problems with two
different idl files of the same name.
Andrew Bartlett
2010-05-24 23:08:11 +10:00
Matthias Dieter Wallnöfer
8e1e6b0112
s4:LogonGetDomainInfo - allow to set DNS hostname for the first time
...
Otherwise it obviously can never be set.
2010-05-24 14:01:06 +02:00
Matthias Dieter Wallnöfer
ee524d3182
s4:"rdn_name" LDB module - fix the creation of the RDN attribute (try to normalise it)
...
And return always the correct error codes on the failed add operations (should
anyway be ERR_OPERATIONS_ERROR - therefore no behaviour change).
2010-05-24 14:01:06 +02:00
Matthias Dieter Wallnöfer
40ced1a3be
s4:setup/*.ldif - remove unneeded "cn" attributes
...
Should be generated automatically
2010-05-24 14:01:05 +02:00
Björn Jacke
8e069e245b
s3: major overhaul of compiler and linker flags for HP-UX builds
...
this will fix a number of things like shared library builds. That in turn will
probably trigger some other build bugs...
2010-05-24 13:51:35 +02:00
Björn Jacke
4c659433c0
s3:Makefile: set PIE flags also for nss_winbind
2010-05-24 13:51:28 +02:00
Björn Jacke
2466dc7eaf
s3:build: remove CFLAGS from LDSHFLAGS, SHLD has them already
2010-05-24 12:26:10 +02:00
Björn Jacke
5f0a2a15d8
s3:Makefile: position independency is also needed for shared libs
2010-05-24 12:25:02 +02:00
Björn Jacke
857ca4176a
s3:build: don't use pieflags twice - ldflags already have them
2010-05-24 12:24:56 +02:00
Volker Lendecke
d12768cc0a
s3: Fix a typo found by ITPFS oota <t-oota@dh.jp.nec.com>
...
Thanks!
2010-05-24 11:26:15 +02:00
Thomas Nagy
792743cfab
solve the error "ldb.inst.h does not exist"
...
The error happens when headermap.txt is not available
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-24 01:26:43 +02:00
Andrew Tridgell
eec93985d1
build: get the SONAME right for installed libraries
2010-05-23 22:11:57 +02:00
Thomas Nagy
bd8e3cf855
Substitute the pidl files without using 'headermap.txt'
...
The headers generated by pidl contain references to bin/default. Those paths
may be replaced automatically.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-23 17:51:06 +02:00
Volker Lendecke
6e7d39f4dd
s3: Another non-gnumake fix
...
AC_OUTPUT_COMMANDS must be called before AC_OUTPUT and
$MAKEFILE is not defined in ./config.status
2010-05-23 12:44:43 +02:00
Volker Lendecke
7eff96cb43
s3: Factor out compiler-independent defines
2010-05-23 00:33:45 +02:00
Volker Lendecke
9d1a08032b
s3: Next step to fix the build on OpenSolaris
2010-05-23 00:15:49 +02:00
Volker Lendecke
086c6c0e9a
s3: Attempt to fix the non-gnumake build
...
Björn, please check!
2010-05-22 20:06:16 +02:00
Simo Sorce
8040bc608a
torture: fix typos
2010-05-22 12:40:42 -04:00
Volker Lendecke
72d2c370e2
s3: Remove unreachable code
2010-05-22 13:08:38 +02:00
Stefan Metzmacher
796904e983
s4:ldb_controls: make it possible to pass arbitrary control via the command line
...
--controls=local_oid:1.3.6.1.4.1.7165.4.3.7:1
To specify the DSDB_CONTROL_PASSWORD_HASH_VALUES_OID control as critical.
metze
2010-05-22 09:28:35 +02:00
Jeremy Allison
d7542b58fc
If using fake oplocks, use the correct SMB2 type code for "no oplock".
...
Jeremy.
2010-05-21 23:59:54 -07:00
Stefan Metzmacher
625ffba8ec
s4:libnet: use the new generated config from the provision for the self_join
...
This fixes net vampire with the --target-dir option.
metze
2010-05-22 08:41:18 +02:00
Jeremy Allison
82484461e3
Don't forget brackets around bitwise tests.
...
Jeremy.
2010-05-21 17:12:40 -07:00