1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-09 09:57:48 +03:00

8183 Commits

Author SHA1 Message Date
Stefan Metzmacher
6325abd95c r13060: - return only active addresses in name query responses
- replicate only active addresses

metze
2007-10-10 13:51:20 -05:00
Stefan Metzmacher
e4f823ef03 r13059: stop playing ping-pong while replicating special group records,
if the addresses and their owners are idetical to the old record
and we're the owner of the old record then we should just gnore the replica

metze
2007-10-10 13:51:20 -05:00
Stefan Metzmacher
ccfc991ad9 r13051: this is correct
metze
2007-10-10 13:51:19 -05:00
Stefan Metzmacher
e57158e216 r13050: when we have reloaded the partners from wins_config.ldb
after a new partner connects, try to find the partner struct on a per call
basis if it's not present on the connection yet

add some more useful debug messages

metze
2007-10-10 13:51:19 -05:00
Stefan Metzmacher
6ae621437c r13044: I finally understand that the [charset()] and [string] properties
are independent...

fix some warnings

metze
2007-10-10 13:51:19 -05:00
Stefan Metzmacher
165538245b r13037: fill in the corrent maxVersion in table replies
metze
2007-10-10 13:51:18 -05:00
Stefan Metzmacher
cf669e4b2a r13035: active,special group replicas are overwritten by tombstone,special group replicas
metze
2007-10-10 13:51:18 -05:00
Andrew Bartlett
c975469f89 r13034: A couple of clarifications on the release notes.
We still need a lot of work here.

Andrew Bartlett
2007-10-10 13:51:18 -05:00
Andrew Bartlett
d01c4dd848 r13033: Thankyou very much to Brad Henry for fixing up many aspects of the
release notes.  I will answer some questions and clarify some points
in the next commit.

Andrew Bartlett
2007-10-10 13:51:18 -05:00
Andrew Bartlett
8ff6461e05 r13031: A first stab at some release notes. Much work needed.
Andrew Bartlett
2007-10-10 13:51:18 -05:00
Andrew Bartlett
a88933668f r13019: Again protect us against format string mismatches, with the new split
out proto headers.

The reason this is done in this way is that the attribute must be on
the prototype, not the actual function defintion.  Hence the macros
which expand to nothing in the C file, but expand to an __attribute__
in the prototype header.

Andrew Bartlett
2007-10-10 13:51:17 -05:00
Andrew Bartlett
f50186e930 r13018: Fix (correct) warning about mixing C/js interface function types. I
don't use the arguments, but you must connect as the right type
anyway.

Andrew Bartlett
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
31ce24d7b1 r13007: let our winsclient code register multihomed records with
our winsserver and don't defend our local name against
our own register packets...

this won gave quite confusing logmessages...

metze
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
f7481a4c8c r13006: always debug the unicast and broadcast address
metze
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
5e3639edaf r13005: - use nbtd:max_refresh_time=12345 also for name refresh with a wins server
metze
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
833efdf8a9 r13004: fix compiler warnings
metze
2007-10-10 13:51:16 -05:00
Stefan Metzmacher
3365ad950b r13002: fix compiler warning
metze
2007-10-10 13:51:16 -05:00
Stefan Metzmacher
32cfd7c8df r13001: fix compiler warnings
metze
2007-10-10 13:51:16 -05:00
Stefan Metzmacher
880dd3538e r13000: fix compiler warnings
metze
2007-10-10 13:51:16 -05:00
Stefan Metzmacher
ec30a40f04 r12999: fix compiler warnings
metze
2007-10-10 13:51:15 -05:00
Andrew Bartlett
7a9c8eee4b r12998: A big update to samldb.c
This updates the module to handle both SID allocation and nextRid
updating while importing users.  (As imported users already have a
SID, so don't go via the allocation step).  We also ensure that SIDs
in the database are unquie at create time.

Furthermore, at allocation time, we double-check the SID isn't already
in use, and that we don't create a foriegnSecurityPrincipal for a
'local' sid.

Also create random samAccountName entries for users without one (we
were setting $000000-000000000000).

We may want to seperate the uniqueness code from the rest of samldb,
and into a module with the objectguid code, which needs similar
checks.  These checks also need to apply to modification, or those
modifications denied outright.

Also update part of the testsuite to validate this.

Andrew Bartlett
2007-10-10 13:51:15 -05:00
Andrew Bartlett
498d72c4ad r12997: Feed the right event context to libnet in ejsnet and the auth code.
This should give better behaviour in SWAT.

Fix authentication as Samba, rather than System, users in SWAT.

Andrew Bartlett
2007-10-10 13:51:15 -05:00
Andrew Bartlett
4d69eae382 r12996: Restrict this search to domain objects.
Andrew Bartlett
2007-10-10 13:51:15 -05:00
Andrew Bartlett
4a50bf95b9 r12995: Don't allow overrides on "name" from above, as it can't be correct.
Andrew Bartlett
2007-10-10 13:51:15 -05:00
Simo Sorce
c12b3c5cb4 r12989: move the control parsing and handleng functions to cmdline.c
so that they can be used by the other ldb tools as well
2007-10-10 13:51:14 -05:00
Simo Sorce
7b9b1ced7d r12988: delete an ancient file that misteriously survived till now. 2007-10-10 13:51:14 -05:00
Stefan Metzmacher
1fe6718949 r12984: add parse code and ldbsearch cmdline code for
NOTIFICATION LDAP Controls
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/ldap_server_notification_oid.asp

this doesn't work yet, but it shows that we need to extend ldb to correctly
handle async requests...

metze
2007-10-10 13:51:14 -05:00
Stefan Metzmacher
ce9f086c3c r12983: - fix using a DIRSYNC cookie from the command line
- also w2k doesn't work correct with max_attrs = 0, so we should use
  a high number, with this I'm getting the same results from w2k and w2k3

metze
2007-10-10 13:51:14 -05:00
Stefan Metzmacher
31d2bf3ca1 r12982: fix parsing of LDAP DIRSYNC cookies
metze
2007-10-10 13:51:14 -05:00
Andrew Bartlett
352d6493bb r12979: Grr, I forgot to commit this file (from Brad Henry's libnet_site
patch) before the power went out :-)

Andrew Bartlett
2007-10-10 13:51:13 -05:00
Simo Sorce
bebd403523 r12977: Some code to implement the client side of the Dirsync control
Still investigating how it works.

Simo.
2007-10-10 13:51:13 -05:00
Andrew Bartlett
45f67b3f6d r12976: Patch from Brad Henry <j0j0@riod.ca>:
This patch pulls the AD site name generation and site join code from
libnet/libnet_join.c and puts it into a new file, libnet/libnet_site.c.
This way, a common means for site name, configuration dn and server dn
generation exists so it doesn't need to be rewritten in new code (such
as the future libnet_leave for example).

I've made a couple of changes, but nothing dramatic.  Nice work Brad!

Andrew Bartlett
2007-10-10 13:51:13 -05:00
James Peach
ae7541a377 r12972: Use single quotes in the showflags and showlayout targets to stop the
shell interpreting the expanded make variables.
2007-10-10 13:51:13 -05:00
Tim Potter
e9ec3a379c r12971: Fix spelling. 2007-10-10 13:51:13 -05:00
Stefan Metzmacher
8fc2b68aa8 r12959: hopefully fix bug #3365 this time
metze
2007-10-10 13:51:12 -05:00
Stefan Metzmacher
2cb587c779 r12958: don't bind to '255.255.255.255'
fix bug #3411

metze
2007-10-10 13:51:12 -05:00
Stefan Metzmacher
157fd2734d r12948: fix compiler warning
metze
2007-10-10 13:51:12 -05:00
Andrew Tridgell
c7951d17b1 r12947: added some error checking that I stumbled across while testing domain migration 2007-10-10 13:51:12 -05:00
Andrew Bartlett
701558b5fe r12945: Try to move closer to getting Samba3 import working again.
There still a few things to work out

Andrew Bartlett
2007-10-10 13:51:12 -05:00
Andrew Bartlett
916607d1d0 r12944: Update scripts in setup to match changes in the provision.js
DNS is now done as a seperate step, to assist in migrations.

Andrew Bartlett
2007-10-10 13:51:11 -05:00
Andrew Bartlett
ffe9042e15 r12943: Generate a SID for the domain join account using the modules, rather
than a hardcoded SID.

Fix the samldb module to return the what *was* the nextrid, rather
than the new nextrid (that is for next time).

Andrew Bartlett
2007-10-10 13:51:11 -05:00
Simo Sorce
982576d248 r12942: this way is better 2007-10-10 13:51:11 -05:00
Simo Sorce
900f4fd343 r12941: Add Attribute Scoped Search control
want to see what it does ?

do aq make test and try:
./bin/ldbsearch -H st/private/sam.ldb --controls=asq:1:member -s base -b 'CN=Administrators,CN=Builtin,DC=samba,DC=example,DC=com' 'objectclass=*'

have fun.
simo.
2007-10-10 13:51:11 -05:00
Stefan Metzmacher
40d7033a14 r12934: do somemore debugging of the received browse packets,
(so I may learn about the protocol, while watching the debug output)

metze
2007-10-10 13:51:11 -05:00
Stefan Metzmacher
811683e556 r12933: fix parsing of browse packets based on the infos on http://ubiqx.org/cifs/Browsing.html
metze
2007-10-10 13:51:09 -05:00
Stefan Metzmacher
8208a4abf0 r12932: export function prototypes
metze
2007-10-10 13:51:09 -05:00
Andrew Bartlett
51eded8180 r12931: Remove some prefixes. We have:
Login failed: Login Failed: Logon failure - please try again

In SWAT currently...

Andrew Bartlett
2007-10-10 13:51:08 -05:00
Andrew Bartlett
5c5a2974c9 r12930: Fix ADS join: I wasn't filling in the flag 'realm' variable any more.
Andrew Bartlett
2007-10-10 13:51:08 -05:00
Andrew Bartlett
def3195618 r12929: Fix more implict global and shadowing variables.
Andrew Bartlett
2007-10-10 13:51:07 -05:00
Andrew Bartlett
a38ceefd11 r12928: This patch improves the interaction between the vampire and provsion code.
Previously, we had to know (or guess) the host and domain guid at the
provision stage.  Now we query the database post-provision, to extract
the values and fill in the zone file.

This allows us to generate a correct zone file in the Windows migration case.

In an effort to make SWAT easier to use, I have removed and renamed
some of the provision options.

I have also fixed a nasty issue in my js code.  I had implictly
declared a global variable of the name 'join', with disasterious
results for any subsequent user of the string utility function:

esp exception - ASSERT at lib/appweb/ejs/ejsParser.c:2064, 0

Backtrace:
        [ 0]       substitute_var:20   ->               list[i] = join("", list2)
        [ 1]           setup_file:9    ->       data = substitute_var(data, subobj)

Andrew Bartlett
2007-10-10 13:51:07 -05:00