1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

6867 Commits

Author SHA1 Message Date
Andrew Tridgell
f8430c3f41 r11112: listen on the global catalog ldap server port as well if we are a
PDC. I suspect we should behave slightly differently on the two ports,
but this is a lot closer than not listening at all. When creating a
user with mmc the global catalog port is used to check for an existing
user
2007-10-10 13:44:51 -05:00
Andrew Tridgell
e28a334eeb r11111: fixed a talloc error in the dn shortcut code 2007-10-10 13:44:51 -05:00
Andrew Tridgell
b6e8018a3b r11110: make ldb_oom() also set the ldb error string 2007-10-10 13:44:51 -05:00
Andrew Tridgell
dc41994ea7 r11109: fixed the error code return from most ldb functions (the change to use
ldb_transaction_cancel() broke it)
2007-10-10 13:44:51 -05:00
Stefan Metzmacher
f59e90299d r11108: - always test the old and new record
- check that the record is the same as what we pushed to the server
  (we need to verify the ip-addresses later too...)

metze
2007-10-10 13:44:51 -05:00
Jelmer Vernooij
407df9628e r11107: Include 0 byte 2007-10-10 13:44:50 -05:00
Andrew Bartlett
84d6118e87 r11106: Make the KDC handler plugable, as I want to drop kpasswdd into exactly
the same spot (it has identical TCP sementics).

Andrew Bartlett
2007-10-10 13:44:50 -05:00
Jelmer Vernooij
7596c708ba r11105: Warn if conformant arrays are not at the end of a struct
Support conformant [string] arrays
Eliminate utf8string

This breaks xattr binary compatibility with previous versions - is that a
problem?
2007-10-10 13:44:50 -05:00
Jelmer Vernooij
22d0e4a9bf r11104: Fix LOCAL-PAC test 2007-10-10 13:44:50 -05:00
Jelmer Vernooij
c8a0511f37 r11103: Eliminate ascstr 2007-10-10 13:44:50 -05:00
Jelmer Vernooij
bb1ed44f45 r11102: Remove unistr_noterm 2007-10-10 13:44:49 -05:00
Jelmer Vernooij
7e057e6bda r11101: Remove last instances of unistr 2007-10-10 13:44:49 -05:00
Jelmer Vernooij
48f45927ce r11100: Replace unistr with [string,charset(UTF16)] 2007-10-10 13:44:49 -05:00
Jelmer Vernooij
6a8291c80e r11099: Replace unistr with [string] equivalent 2007-10-10 13:44:49 -05:00
Jelmer Vernooij
1ac8c96349 r11098: Replace string with [string] 2007-10-10 13:44:49 -05:00
Jelmer Vernooij
88fcd56fb5 r11097: Allow pointers in "const" 2007-10-10 13:44:48 -05:00
Jelmer Vernooij
b773d848e8 r11096: Eliminate pointer_default_top() 2007-10-10 13:44:48 -05:00
Volker Lendecke
3e535cce74 r11095: Implement wb_getuserdomgroups.
Tridge, if you have the time, you might want to look at a problem I'm having
with unix domain stream sockets. From a comment in this commit:

	/* Using composite_trigger_error here causes problems with the client
	 * socket. Linux 2.6.8 gives me a ECONNRESET on the next read after
	 * writing the reply when I don't wait the 100 milliseconds. */

This is in winbind/wb_cmd_userdomgroups.c:93.

The problem I have is that I can not *immediately* send an error reply to the
client because the next receive fails. Waiting 100 milliseconds helps. It
might also be a problem with epoll(), I don't really know.

I'd appreciate if you took a brief look at this, maybe I'm doing something
wrong.

Thanks,

Volker
2007-10-10 13:44:48 -05:00
Volker Lendecke
a14398715e r11094: Connect to SAM, implement getdcname 2007-10-10 13:44:48 -05:00
Volker Lendecke
66c1b674f9 r11093: Implement wb_queue_domain_send: If the domain is not yet initialized, do that
first. And if a request is being processed, queue it. This correctly survived
3 endless loops with wbinfo's doing different things while starting up smbd.

The number of indirections starts to become a bit scary, but what can you do
without a decent programming language that provides closures :-)

One thing that we might consider is to auto-generate async rpc requests that
return composite_context structs instead of rpc_requests. Otherwise I'd have
to write a lot of wrappers like composite_netr_LogonSamLogon_send.

The alternative would be to write two versions of wb_queue_domain_send which I
would like to avoid. This is cluttered enough already.

Volker
2007-10-10 13:44:48 -05:00
Stefan Metzmacher
2577c02a51 r11092: run NBT-WINSREPLICATION-QUICK test with make test
metze
2007-10-10 13:44:47 -05:00
Stefan Metzmacher
772467c8d4 r11091: add a NBT-WINSREPLICATION-QUICK test that passed the current samba4 server
metze
2007-10-10 13:44:47 -05:00
Stefan Metzmacher
3f7b09a308 r11090: we need this to run correct under socket_wrapper
metze
2007-10-10 13:44:47 -05:00
Stefan Metzmacher
d49a1d2b15 r11089: start the winsreplication task when we run with wins support = yes
metze
2007-10-10 13:44:46 -05:00
Stefan Metzmacher
97cb22bd9d r11088: don't try to set empty strings values as attributes
our ldb doesn't support them, does w2k3 LDAP supports them?

metze
2007-10-10 13:44:46 -05:00
Stefan Metzmacher
9f3b6746d8 r11087: - add type,name,scope as attributes to winsRecords,
so you can use them in search filters,
  only for administration not used inside the winserver code
- fix the samba3 ugrade scripts to create a correct samba4 wins.ldb

metze
2007-10-10 13:44:46 -05:00
Stefan Metzmacher
a3abf10d43 r11086: add sys.unix2nttime() function
metze
2007-10-10 13:44:46 -05:00
Stefan Metzmacher
e27e36909d r11085: as ejs doesn't support '&' '|' bitwise AND and OR,
we need some helper functions for this

metze
2007-10-10 13:44:46 -05:00
Stefan Metzmacher
70cde83c13 r11084: - allow hex numbers with 'a'...'f' digits to be parsed
- parse hex numbers correct

tridge: how could we submit this to the upstream appweb library?

metze
2007-10-10 13:44:45 -05:00
Stefan Metzmacher
5d46cdd1ee r11083: use the addresses from the record
metze
2007-10-10 13:44:45 -05:00
Volker Lendecke
576a724bf1 r11082: Fix a segfault 2007-10-10 13:44:45 -05:00
Jeremy Allison
bfa41398a6 r11081: Remember to remove unused variables.
Jeremy.
2007-10-10 13:44:45 -05:00
Jeremy Allison
42d93a317a r11080: Narrowing down on the #1828 PPC bug. The PPC client sends an
initial NTLMSSP negotiate blob of only 16 bytes - no strings
added ! (So don't try parsing them).
Jeremy.
2007-10-10 13:44:45 -05:00
Jelmer Vernooij
2f76e2a6bf r11077: Fix [string] for Samba3 2007-10-10 13:44:44 -05:00
Jeremy Allison
77399e1cec r11076: Still working on bug #1828, PPC hell. The PPC client sends the
NTLMSSP client and domain strings as Unicode, even when setting
flags as OEM. Cope with this.
Jeremy.
2007-10-10 13:44:44 -05:00
Volker Lendecke
6e4f774a49 r11070: Fix a cut&paste error, now wbinfo can properly separate domain and user...
Volker
2007-10-10 13:44:44 -05:00
Volker Lendecke
0c6c71ae3c r11068: Fix pam_auth_crap, remove the sync code. I don't know what it was when I
tested it, but I can not reproduce the problem I had with abartlett's initial
implementation anymore.

Fix a bug found using valgrind.

Volker
2007-10-10 13:44:44 -05:00
Jelmer Vernooij
1d5db487bb r11067: Support for [string] in the Ethereal parser generator 2007-10-10 13:44:44 -05:00
Jelmer Vernooij
765adaf19b r11061: Samba3 parser generator fixes:
* Add (limited) support for [string]
* Don't generate (and set) header elements for top level ref pointers as
they don't appear on the wire
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
d9d3fe1b8a r11058: remove useless talloc context
metze
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
c7742a2829 r11053: fix the logic,
this should fix make test

metze
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
471c0ca4ab r11052: bring samba4 uptodate with the samba4-winsrepl branch,
before the bad merge

metze
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
fd5e746d8f r11051: fix the build,
sorry for the latest spam!

I was testing svk push (wasn't such a good idea...)

metze
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
6d97dd6e50 r11048: r10539@SERNOX: metze | 2005-09-27 14:59:47 +0200
fix the build for changes from SAMBA_4_0 branch

 metze
 r10541@SERNOX:  metze | 2005-09-27 15:05:33 +0200
 use a transaction when we allocate a new version

 metze
 r10549@SERNOX:  metze | 2005-09-27 18:58:37 +0200
 - add first start of wins pull replication
 - we not yet apply records to our database but we fetch them correct form our partners
   (we need conflict handling for this)
 - we also need to filter out our own records!

 metze
 r10568@SERNOX:  metze | 2005-09-28 11:33:04 +0200
 move composite helpers to a seperate file, create a a seperate file for the conflict resolving logic

 metze
 r10571@SERNOX:  metze | 2005-09-28 12:00:17 +0200
 add forward declarations...to fix the build

 metze
 r10612@SERNOX:  metze | 2005-09-29 16:11:06 +0200
 we have a nbt_name now, and don't need to parse it

 metze
 r10614@SERNOX:  metze | 2005-09-29 16:38:35 +0200
 filter out our own records

 metze
 r10620@SERNOX:  metze | 2005-09-29 18:07:08 +0200
 - handle mutliple addresses in WREPL_REPL_SEND_REPLY
 - make strings always valid talloc pointers

 metze
 r10621@SERNOX:  metze | 2005-09-29 18:09:41 +0200
 use debug level 2

 metze
 r10622@SERNOX:  metze | 2005-09-29 18:48:05 +0200
 - add one more debug message when we reply no record
 - fix min max logic

 metze
 r10623@SERNOX:  metze | 2005-09-29 20:49:06 +0200
 build fixes...

 metze
 r10629@SERNOX:  metze | 2005-09-30 00:11:41 +0200
 - use seperate attributes for type, state, nodetype, is_static

 ... the winserver.c code needs some more updates to correctly,
 create special group and multihomed registrations...

 metze
 r10640@SERNOX:  metze | 2005-09-30 04:07:34 +0200
 - add some short path for the composite helper functions
   they will be used in the next commit

 metze
 r10642@SERNOX:  metze | 2005-09-30 06:29:06 +0200
 fix the build

 metze
 r10655@SERNOX:  metze | 2005-09-30 17:36:49 +0200
 - implement the WREPL_REPL_UPDATE* and WREPL_REPL_INFORM*
   this includes the connection fliping into a client connection
   for WREPL_REPL_UPDATE*

 NOTE: I not yet found out how to get the w2k server to use INFORM against samba4
       it uses inform against w2k and w2k3 but UPDATE against nt4 and samba4

 what's left now is to be able to initiate INFORM and UPDATE requests to notify
 our pull partners

 metze
 r10727@SERNOX:  metze | 2005-10-05 14:11:05 +0200
 fix the build

 metze
 r10770@SERNOX:  metze | 2005-10-06 16:56:01 +0200
 - move the table filling to a seperate function, will be reused later
 - fix the build, wrepl_nbt_name fixes
 - remove state -> update_state

 metze
 r10771@SERNOX:  metze | 2005-10-06 17:04:48 +0200
 add a function to create a wreplsrv_in_connection from a client connection

 metze
 r10772@SERNOX:  metze | 2005-10-06 17:13:51 +0200
 - make the connection code more generic to handle the pull cached connection,
   push cached connection or given connections
 - when we don't use a cached connection, disconnection when a pull_cycle is done
 - fix the build and use the configured source ip

 metze
 r10773@SERNOX:  metze | 2005-10-06 17:18:49 +0200
 - add composite functions for push notification

 metze
 r10774@SERNOX:  metze | 2005-10-06 17:23:46 +0200
 - use periodic push notifycation, this is just for now
   as it needs to be configurable and and be triggered when the local database
   has changes since the last notify
 - I also need to work out how to decide if the partner supports
   persistent connections and WREPL_REPL_INFORM* messages

 metze
 r10923@SERNOX:  metze | 2005-10-12 16:52:34 +0200
 fix the build becuse of conflicts with main SAMBA_4_0 tree

 metze
2007-10-10 13:44:42 -05:00
Stefan Metzmacher
177d60f42a r11047: 2007-10-10 13:44:42 -05:00
Stefan Metzmacher
a2c6969306 r11045: 2007-10-10 13:42:35 -05:00
Stefan Metzmacher
914e16f567 r11044: 2007-10-10 13:42:35 -05:00
Stefan Metzmacher
a75402c45f r11043: r10362@SERNOX: metze | 2005-09-20 22:37:28 +0200
repare for pull replication support

 metze
2007-10-10 13:42:35 -05:00
Stefan Metzmacher
45a774c63c r11042: r10361@SERNOX: metze | 2005-09-20 22:36:28 +0200
we should only use 255.255.255.255 for group records,
 only when we reply, not when the name is registered.
 the real address is used for replication

 metze
2007-10-10 13:42:34 -05:00
Stefan Metzmacher
bd25231c57 r11041: r10358@SERNOX: metze | 2005-09-20 21:40:03 +0200
fix some missing nbt_peer_socket cases

 metze
2007-10-10 13:42:34 -05:00