1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-19 04:23:48 +03:00
Commit Graph

7775 Commits

Author SHA1 Message Date
Simo Sorce
77125feaff r12733: Merge ldap/ldb controls into main tree
There's still lot of work to do but the patch is stable
enough to be pushed into the main samba4 tree.

Simo.
2007-10-10 13:49:47 -05:00
Andrew Bartlett
708ce7de30 r12732: This option does nothing.
Andrew Bartlett
2007-10-10 13:49:47 -05:00
Andrew Bartlett
be067e9a04 r12731: Simplify and re-implemenet support for --parameter-name=foo
--service-name=bar in testparm.

Andrew Bartlett
2007-10-10 13:49:46 -05:00
Andrew Bartlett
0f78bd743b r12730: Reimplement --parameter-name, and bring in common samba options.
This changes -s from meaning 'suppress prompt' to 'services file'.

Andrew Bartlett
2007-10-10 13:49:46 -05:00
Andrew Bartlett
3c49dd9219 r12729: Implement the --section-name option, for dumping only one section.
Andrew Bartlett
2007-10-10 13:49:46 -05:00
Andrew Bartlett
1260fcf465 r12728: Revive testparm.
It needs work to not dump defaults from loadparm.c, but otherwise it works.

Andrew Bartlett
2007-10-10 13:49:46 -05:00
Stefan Metzmacher
f2e97983f2 r12725: some minor updates
metze
2007-10-10 13:49:45 -05:00
Stefan Metzmacher
4ca1a9a606 r12724: fix warnings
metze
2007-10-10 13:49:45 -05:00
Andrew Bartlett
8e608dd4bf r12720: By metze's request, rename the ntPwdHistory attribute to
sambaNTPassword.  Likewise lmPwdHistory -> sambaLMPwdHistory.

The idea here is to avoid having conflicting formats when we get to
replication.  We know the base data matches, but we may need to use a
module to munge formats.

Andrew Bartlett
2007-10-10 13:49:45 -05:00
Andrew Bartlett
097d9d0b7f r12719: Rename unicodePwd -> sambaPassword.
Because we don't know the syntax of unicodePwd, we want to avoid using
that attribute name.  It may cause problems later when we get
replication form windows.

I'm doing this before the tech preview, so we don't get too many
supprises as folks upgrade databases into later versions.

Andrew Bartlett
2007-10-10 13:49:45 -05:00
Andrew Bartlett
c10491fb9b r12718: We don't use unicodePwd directly any more.
Andrew Bartlett
2007-10-10 13:49:45 -05:00
Andrew Bartlett
d0a0a8de3f r12717: Always compile the skel module, so we know when we break it.
Also fix up all the current issues with the skel module.

Andrew Bartlett
2007-10-10 13:49:44 -05:00
Andrew Bartlett
356c8c5609 r12716: Tridge points out that the request argument to ldb_next_request must
be a valid talloc() pointer, as other modules may rely on this.

Andrew Bartlett
2007-10-10 13:49:44 -05:00
Jelmer Vernooij
a02b0c5568 r12711: Update copyrights 2007-10-10 13:49:44 -05:00
Andrew Bartlett
57b0aae0d4 r12710: Fix socket_wrapper: Make sure to fill in the socket family on the
returned address.

Andrew Bartlett
2007-10-10 13:49:44 -05:00
Andrew Bartlett
964f7fc6ca r12708: This is equivilant, but doesn't cause a warning.
Andrew Bartlett
2007-10-10 13:49:44 -05:00
Jelmer Vernooij
5884a7efff r12704: role => server role 2007-10-10 13:49:43 -05:00
Jelmer Vernooij
4c562c42b4 r12703: Fix handling of short passdb backends (also reported by Steinar Gunderson) 2007-10-10 13:49:43 -05:00
Stefan Metzmacher
0382b3135c r12702: - reload the partner configuration, when the sequenceNumber of the wins_config.ldb
changes
- use a periodic run interval of 15 secs per default, as we no longer
  send push notifies with each run

metze
2007-10-10 13:49:43 -05:00
Stefan Metzmacher
fd234ebbac r12701: the first scavenging run should happen after half of the renew_interval,
and not on startup

metze
2007-10-10 13:49:41 -05:00
Stefan Metzmacher
72198f00ea r12700: fix name release of replica records, we need to become the owner and allocate a new versionID
so that it gets replicated to the old owning wins server directly

metze
2007-10-10 13:49:41 -05:00
Jelmer Vernooij
10da56fb6c r12699: correctly escape invalid DN characters (reported by Steinar H. Gunderson).
this still doesn't work as a bug in ldb causes it to not understand
escaped characters in DNs when parsing DNs
2007-10-10 13:49:41 -05:00
Jelmer Vernooij
5e6df39363 r12698: Declare model_ops (required for NetBSD) 2007-10-10 13:49:40 -05:00
Jelmer Vernooij
3d70ebca0b r12697: Support empty fullname fields in unix accounts 2007-10-10 13:49:40 -05:00
Jelmer Vernooij
6391761601 r12696: Reduce the size of include/structs.h 2007-10-10 13:49:40 -05:00
Jelmer Vernooij
f4ac7d6359 r12695: A dot is allowed in NetBIOS names. 2007-10-10 13:49:39 -05:00
Jelmer Vernooij
c722f665c9 r12694: Move some headers to the directory of the subsystem they belong to. 2007-10-10 13:49:39 -05:00
Jelmer Vernooij
73610639b2 r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header
2007-10-10 13:49:39 -05:00
Andrew Bartlett
4b67b5d688 r12687: Push the real list of supported GENSEC mechanisms out on
supportedSASLMechanism in the rootdse.  (Second half of a patch
commited earlier today).

Andrew Bartlett
2007-10-10 13:49:38 -05:00
Andrew Bartlett
61700252e0 r12686: Push the real SASL list into the rootdse.
Get this out of the server credentials, and push it down to ldb via an
opaque pointer.

Andrew Bartlett
2007-10-10 13:49:38 -05:00
Andrew Bartlett
9c127f35ce r12684: A better error code for SAMR transaction failures.
Andrew Bartlett
2007-10-10 13:49:38 -05:00
Andrew Bartlett
17e20930ec r12683: Fix declaration and initialisation placement.
Andrew Bartlett
2007-10-10 13:49:37 -05:00
Andrew Bartlett
4e80a557f9 r12682: This patch finally fixes our kpasswdd implementation to be compatible
with clients compiled against the MIT Kerberos implementation.  (Which
checks for address in KRB-PRIV packets, hence my comments on socket
functions earlier today).

It also fixes the 'set password' operation to behave correctly (it was
previously a no-op).

This allows Samba3 to join Samba4.  Some winbindd operations even work,
which I think is a good step forward.  There is naturally a lot of work
to do, but I wanted at least the very basics of Samba3 domain membership
to be available for the tech preview.

Andrew Bartlett
2007-10-10 13:49:37 -05:00
Andrew Bartlett
686fea241b r12681: Allow an entry to have no kerberos keys. This occours when an entry
is new, and has no password.  It may also occour in the future if we
allow PKINIT.  In any case, it shouldn't segfault :-)

Andrew Bartlett
2007-10-10 13:49:37 -05:00
Jelmer Vernooij
a54fefbfc5 r12680: Support setting the environment variable SMB_BUILD_VERBOSE to
print out more debug info
2007-10-10 13:49:37 -05:00
Stefan Metzmacher
4c7306608c r12679: create a sperate function to create the 'winsOwner' part of the search filter,
this is to handle the special '0.0.0.0' of old or manual added owned records

metze
2007-10-10 13:49:37 -05:00
Stefan Metzmacher
e43de87d06 r12677: get rid of the special cases for the local wins owner table entry,
the call to winsdb_get_maxVersion() is moved into place.

This allows us to fetch records with the owner address that matches
our local_owner address, this is important if the restart with an empty wins.ldb.
w2k3 does this in the same way when you remove the database files from disk and restart
the WINS-Service.

metze
2007-10-10 13:49:36 -05:00
Stefan Metzmacher
80bf8b5716 r12675: fix some dependencies and don't use long lines
metze
2007-10-10 13:49:36 -05:00
Stefan Metzmacher
9a7da608e2 r12674: make use of the winsdb functions
metze
2007-10-10 13:49:36 -05:00
Stefan Metzmacher
22cdbc75df r12673: create functions for get_maxVersion(), set_maxVersion() and get_seqnumber()
at the winsdb layer. the ones in wrepl_server/ will be removed later.

metze
2007-10-10 13:49:36 -05:00
Jelmer Vernooij
8f5edcc6a2 r12671: Modules don't have to be linked with their subsystem. 2007-10-10 13:49:36 -05:00
Jelmer Vernooij
f9eede3d40 r12670: Make a couple of dependencies stricter
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force
specific modules to always be included
2007-10-10 13:49:35 -05:00
Stefan Metzmacher
c563aefb42 r12661: Happy New Year!
metze
2007-10-10 13:49:35 -05:00
Jelmer Vernooij
c297c93faf r12658: Couple of fixes related to shared module builds. 2007-10-10 13:49:35 -05:00
Jelmer Vernooij
8e95aee6fb r12651: Remove STR_LARGE_SIZE as it's no longer used 2007-10-10 13:49:35 -05:00
Jelmer Vernooij
aa880bf196 r12650: Remove support for NULLTERM flag (is already covered by tridge's
fixes to [validate])
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
d430fc278b r12649: use the same default('yes') for 'dns proxy' as samba3
metze
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
b07b201c86 r12648: implement the dns proxy feature
metze
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
e47873a1a3 r12647: make use of the str_list_add function
metze
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
48842cd9ab r12644: prepare the dns proxy feature for the wins server
metze
2007-10-10 13:49:34 -05:00