summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* r11095: Implement wb_getuserdomgroups.Volker Lendecke2005-10-166-0/+391
| | | | | | | | | | | | | | | | | | | | | | 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
* r11094: Connect to SAM, implement getdcnameVolker Lendecke2005-10-1510-84/+579
|
* r11093: Implement wb_queue_domain_send: If the domain is not yet ↵Volker Lendecke2005-10-156-132/+235
| | | | | | | | | | | | | | | | | | | 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
* r11092: run NBT-WINSREPLICATION-QUICK test with make testStefan Metzmacher2005-10-151-1/+1
| | | | metze
* r11091: add a NBT-WINSREPLICATION-QUICK test that passed the current samba4 ↵Stefan Metzmacher2005-10-152-1/+32
| | | | | | server metze
* r11090: we need this to run correct under socket_wrapperStefan Metzmacher2005-10-151-1/+1
| | | | metze
* r11089: start the winsreplication task when we run with wins support = yesStefan Metzmacher2005-10-152-1/+5
| | | | metze
* r11088: don't try to set empty strings values as attributesStefan Metzmacher2005-10-151-2/+2
| | | | | | our ldb doesn't support them, does w2k3 LDAP supports them? metze
* r11087: - add type,name,scope as attributes to winsRecords,Stefan Metzmacher2005-10-153-8/+66
| | | | | | | | 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
* r11086: add sys.unix2nttime() functionStefan Metzmacher2005-10-151-0/+17
| | | | metze
* r11085: as ejs doesn't support '&' '|' bitwise AND and OR,Stefan Metzmacher2005-10-151-0/+47
| | | | | | we need some helper functions for this metze
* r11084: - allow hex numbers with 'a'...'f' digits to be parsedStefan Metzmacher2005-10-152-8/+15
| | | | | | | | - parse hex numbers correct tridge: how could we submit this to the upstream appweb library? metze
* r11083: use the addresses from the recordStefan Metzmacher2005-10-151-1/+3
| | | | metze
* r11082: Fix a segfaultVolker Lendecke2005-10-151-0/+1
|
* r11081: Remember to remove unused variables.Jeremy Allison2005-10-151-1/+0
| | | | Jeremy.
* r11080: Narrowing down on the #1828 PPC bug. The PPC client sends anJeremy Allison2005-10-151-19/+7
| | | | | | initial NTLMSSP negotiate blob of only 16 bytes - no strings added ! (So don't try parsing them). Jeremy.
* r11077: Fix [string] for Samba3Jelmer Vernooij2005-10-152-7/+12
|
* r11076: Still working on bug #1828, PPC hell. The PPC client sends theJeremy Allison2005-10-141-2/+12
| | | | | | NTLMSSP client and domain strings as Unicode, even when setting flags as OEM. Cope with this. Jeremy.
* r11070: Fix a cut&paste error, now wbinfo can properly separate domain and ↵Volker Lendecke2005-10-142-8/+6
| | | | | | user... Volker
* r11068: Fix pam_auth_crap, remove the sync code. I don't know what it was when IVolker Lendecke2005-10-143-163/+113
| | | | | | | | | tested it, but I can not reproduce the problem I had with abartlett's initial implementation anymore. Fix a bug found using valgrind. Volker
* r11067: Support for [string] in the Ethereal parser generatorJelmer Vernooij2005-10-142-10/+42
|
* r11061: Samba3 parser generator fixes:Jelmer Vernooij2005-10-143-12/+40
| | | | | | * 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
* r11058: remove useless talloc contextStefan Metzmacher2005-10-141-4/+1
| | | | metze
* r11053: fix the logic,Stefan Metzmacher2005-10-141-1/+1
| | | | | | this should fix make test metze
* r11052: bring samba4 uptodate with the samba4-winsrepl branch,Stefan Metzmacher2005-10-1428-442/+681
| | | | | | before the bad merge metze
* r11051: fix the build,Stefan Metzmacher2005-10-141-0/+1
| | | | | | | | sorry for the latest spam! I was testing svk push (wasn't such a good idea...) metze
* r11048: r10539@SERNOX: metze | 2005-09-27 14:59:47 +0200Stefan Metzmacher2005-10-1410-30/+1231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* r11047: Stefan Metzmacher2005-10-141-8/+70
|
* r11046: Stefan Metzmacher2005-10-140-0/+0
|
* r11045: Stefan Metzmacher2005-10-141-0/+52
|
* r11044: Stefan Metzmacher2005-10-141-0/+52
|
* r11043: r10362@SERNOX: metze | 2005-09-20 22:37:28 +0200Stefan Metzmacher2005-10-144-1/+58
| | | | | | repare for pull replication support metze
* r11042: r10361@SERNOX: metze | 2005-09-20 22:36:28 +0200Stefan Metzmacher2005-10-141-7/+14
| | | | | | | | 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
* r11041: r10358@SERNOX: metze | 2005-09-20 21:40:03 +0200Stefan Metzmacher2005-10-143-18/+18
| | | | | | fix some missing nbt_peer_socket cases metze
* r11040: r10357@SERNOX: metze | 2005-09-20 21:28:11 +0200Stefan Metzmacher2005-10-145-63/+115
| | | | | | | | | | - as the old records are broken sinse the last winsdb_dn() changes, (the dn components order was reversed) we can use nicer attribute and objectClass names... - use much more verbose error handling for winsdb_* - print a debug message when we found a corrupted record metze
* r11039: r10352@SERNOX: metze | 2005-09-20 16:50:04 +0200Stefan Metzmacher2005-10-143-298/+332
| | | | | | | move stuff the belong to incoming connections only into a seperate file wrepl_in_connection.c metze
* r11038: r10351@SERNOX: metze | 2005-09-20 16:11:17 +0200Stefan Metzmacher2005-10-141-2/+8
| | | | | | fix namebuf_len, when type is 0x00 metze
* r11037: Stefan Metzmacher2005-10-1413-6/+26
|
* r11036: r10349@SERNOX: metze | 2005-09-20 15:38:31 +0200Stefan Metzmacher2005-10-142-2/+176
| | | | | | we know answer send_requests correctly metze
* r11035: r10347@SERNOX: metze | 2005-09-20 13:40:24 +0200Stefan Metzmacher2005-10-142-1/+2
| | | | | | make wreplsrv_find_owner public metze
* r11034: r10344@SERNOX: metze | 2005-09-20 11:35:54 +0200Stefan Metzmacher2005-10-142-21/+36
| | | | | | | create winsdb_record() and winsdb_message() as public functions so that they can be used in the wrepl_server/ metze
* r11033: r10343@SERNOX: metze | 2005-09-20 11:03:20 +0200Stefan Metzmacher2005-10-141-7/+81
| | | | | | | - reply to table_queries - reply to a send_request with an empty send_reply metze
* r11032: r10342@SERNOX: metze | 2005-09-20 11:00:26 +0200Stefan Metzmacher2005-10-143-10/+265
| | | | | | | | | | | | | | | | | | - load our wins partners at start time: # this is a sample partner record: dn: name=SERNOX4-1,CN=PARTNERS objectClass: wreplPartner name: SERNOX4-9 address: 172.31.1.1 ourAddress: 172.31.9.1 type: 0x3 pullInterval: 3600 - go through all winsdb records in the database and create the wins_owner table, but don't add ourself to it as out nbt task will update the db too, we refetch the local max_versiion, each time we need it, (that typicaly onces per replication cycle) metze
* r11031: Stefan Metzmacher2005-10-140-0/+0
|
* r11030: r10338@SERNOX: metze | 2005-09-20 09:20:49 +0200Stefan Metzmacher2005-10-141-0/+1
| | | | | | fix uninitialized variable metze
* r11029: Stefan Metzmacher2005-10-141-16/+96
|
* r11028: Stefan Metzmacher2005-10-140-0/+0
|
* r11027: r10319@SERNOX: metze | 2005-09-19 18:31:23 +0200Stefan Metzmacher2005-10-144-13/+104
| | | | | | | | | | - store the wins owner on the record and the wins owner and expire time on each address - we use "0.0.0.0" to mark entries which are registered at the local wins server - we use this ldif-format: address: 172.31.9.1;winsOwner:0.0.0.0;expireTime:20050923032337.0Z address: 172.31.1.1;winsOwner:172.31.9.202;expireTime:20050923032330.0Z metze
* r11026: r10318@SERNOX: metze | 2005-09-19 16:38:15 +0200Stefan Metzmacher2005-10-144-23/+135
| | | | | | | | move to struct winsdb_addr, (I'll add expiry_time and the wins_owner later tridge: can you please review the new winsdb_addr_* functions carefull, look for off-by-one bugs, etc. metze
* r11025: r10313@SERNOX: metze | 2005-09-19 12:19:27 +0200Stefan Metzmacher2005-10-141-1/+20
| | | | | | | | add wrapper functions for the "address" attribute in the winsdb, the goal is to store the expiry time and the wins owner per address, which is needed for wins replication metze