summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:idmap_ldap: remove use of alloc context from idmap_ldap_allocate_id().Michael Adam2011-01-021-16/+10
|
* s3:idmap_ldap: remove unused idmap_ldap_alloc_close_destructor().Michael Adam2011-01-021-12/+0
|
* s3:idmap_ldap: remove unused idmap_ldap_alloc_init().Michael Adam2011-01-021-82/+0
|
* s3:idmap_ldap: don't call idmap_ldap_alloc_init in idmap_ldap_init.Michael Adam2011-01-021-3/+3
| | | | Call verify_idpool() instead.
* s3:idmap_ldap: remove use of the ldap_idmap_alloc_context from verify_idpool().Michael Adam2011-01-021-12/+7
| | | | | Allocation is now subsumed in the idmap ldap config. This is the beginning of the removal of the idmap ldap alloc parameters.
* Fix memory leak I introduced when refactoring unexpected packet code.Jeremy Allison2011-01-021-0/+1
| | | | | | | | | Found by Volker. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sun Jan 2 06:11:13 CET 2011 on sn-devel-104
* s3: Remove unused mem_ctx arg from set_getdc_requestVolker Lendecke2011-01-014-6/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 1 23:00:24 CET 2011 on sn-devel-104
* s3: Factor out prep_getdc_requestVolker Lendecke2011-01-011-31/+50
|
* s3: cli_send_mailslot -> cli_prep_mailslotVolker Lendecke2011-01-011-31/+28
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-01-011-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 1 16:03:23 CET 2011 on sn-devel-104
* s3: Add some const to receive_getdc_responseVolker Lendecke2010-12-312-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 31 14:48:57 CET 2010 on sn-devel-104
* s3: Add some const to send_getdc_requestVolker Lendecke2010-12-312-2/+2
|
* s3: Fix some nonempty blank linesVolker Lendecke2010-12-312-77/+77
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 31 10:58:31 CET 2010 on sn-devel-104
* s3:lib/netapi: don't set SAMR_FIELD_FULL_NAME if we just want to set the ↵Stefan Metzmacher2010-12-301-3/+0
| | | | | | | | | account name (bug #7896) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 30 18:09:13 CET 2010 on sn-devel-104
* s3: Fix two uninitialized variablesVolker Lendecke2010-12-302-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 30 12:52:47 CET 2010 on sn-devel-104
* s3: Allow more control over smbsock_[any_]connectVolker Lendecke2010-12-294-39/+117
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Dec 29 23:30:44 CET 2010 on sn-devel-104
* Fix bug #7892 - open_file_fchmod() leaves a stale lock.Jeremy Allison2010-12-294-47/+11
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 29 02:15:23 CET 2010 on sn-devel-104
* s3: Make name_query return NTSTATUSVolker Lendecke2010-12-285-44/+64
| | | | | | | Also use talloc for the result Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 28 18:21:05 CET 2010 on sn-devel-104
* s3: AllowDebugChange is goneVolker Lendecke2010-12-281-1/+0
|
* s3: Make node_status_query return NTSTATUSVolker Lendecke2010-12-284-41/+62
| | | | | | | Also make the result talloc'ed Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 28 13:46:59 CET 2010 on sn-devel-104
* s3: Remove an ancient typedefVolker Lendecke2010-12-285-13/+13
|
* s3: Fix some typosVolker Lendecke2010-12-281-2/+3
|
* s3:winbindd: remove useless ';'Stefan Metzmacher2010-12-281-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Dec 28 12:45:20 CET 2010 on sn-devel-104
* s3:selftest: mark samba3.posix_s3.smb2.lock (dc).rw-exclusive as known to failStefan Metzmacher2010-12-271-0/+1
| | | | | | | | | | | | | | | | | | This sometimes fails like this: [218/271 in 22m22s] samba3.posix_s3.smb2.lock (dc) UNEXPECTED(failure): samba3.posix_s3.smb2.lock (dc).rw-exclusive REASON: _StringException: _StringException: ../torture/smb2/lock.c:406: status was NT_STATUS_END_OF_FILE, expected NT_STATUS_OK: (../torture/smb2/lock.c:406) command: LD_LIBRARY_PATH=/memdisk/tridge/flakey/b18675/source3/source3/bin/shared:/memdisk/tridge/flakey/b18675/source3/source3/bin: bin/smbtorture4 --configfile=$SMB_CONF_PATH --maximum-runtime=1200 --target=samba3 --basedir=/memdisk/tridge/flakey/b18675/source3/source3/st --option="torture:winbindd_netbios_name=$SERVER" --option="torture:winbindd_netbios_domain=$DOMAIN" --option=torture:localdir=/memdisk/tridge/flakey/b18675/source3/source3/st/dc/share --option=torture:sharedelay=100000 //$SERVER_IP/tmp -U$USERNAME%$PASSWORD smb2.lock 2>&1 | ../selftest/filter-subunit --prefix "samba3.posix_s3.smb2.lock (dc)." expanded command: LD_LIBRARY_PATH=/memdisk/tridge/flakey/b18675/source3/source3/bin/shared:/memdisk/tridge/flakey/b18675/source3/source3/bin: bin/smbtorture4 --configfile=/memdisk/tridge/flakey/b18675/source3/source3/st/client/client.conf --maximum-runtime=1200 --target=samba3 --basedir=/memdisk/tridge/flakey/b18675/source3/source3/st --option="torture:winbindd_netbios_name=LOCALDC2" --option="torture:winbindd_netbios_domain=SAMBA-TEST" --option=torture:localdir=/memdisk/tridge/flakey/b18675/source3/source3/st/dc/share --option=torture:sharedelay=100000 //127.0.0.2/tmp -Utridge%localdc2pass smb2.lock 2>&1 | ../selftest/filter-subunit --prefix "samba3.posix_s3.smb2.lock (dc)." ERROR: Testsuite[samba3.posix_s3.smb2.lock (dc)] REASON: Exit code was 1 metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Dec 27 12:08:51 CET 2010 on sn-devel-104
* s3:libsmb: use 16 zero bytes as channel binding checksum in the gssapi ↵Stefan Metzmacher2010-12-231-20/+10
| | | | | | | | | | | | | | checksum (bug #7883) This fixes SMB session setups with kerberos against some closed source SMB servers. The new behavior matches heimdal and mit. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 23 09:38:43 CET 2010 on sn-devel-104
* All calls to event_add_to_select_args() call GetTimeOfDay() andJeremy Allison2010-12-235-23/+10
| | | | | | | | | | | pass this in as the &now parameter. Push this call inside of event_add_to_select_args() to the correct point so it doesn't get called unless needed. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Dec 23 01:08:11 CET 2010 on sn-devel-104
* s3: Remove unused open_any_socket_outVolker Lendecke2010-12-222-167/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Dec 22 17:27:29 CET 2010 on sn-devel-104
* s3: Use smbsock_any_connect in winbindVolker Lendecke2010-12-221-45/+13
|
* s3: Retry *SMBSERVER in nb_connectVolker Lendecke2010-12-221-2/+47
|
* s3: Test smbsock_any_connectVolker Lendecke2010-12-224-0/+49
|
* s3: Add smbsock_any_connectVolker Lendecke2010-12-222-1/+232
|
* s3: Add an async smbsock_connectVolker Lendecke2010-12-223-0/+320
| | | | | | This connects to 445 and after 5 milliseconds also to 139. It treats a netbios session setup failure as equivalent as a TCP connect failure. So if 139 is faster but fails the nb session setup, the 445 still has the chance to succeed.
* s3: Add async cli_session_requestVolker Lendecke2010-12-222-0/+134
| | | | This does not do the redirects, but I think that might be obsolete anyway
* s3: Add some const to name_mangle()Volker Lendecke2010-12-222-2/+2
|
* s3-waf: fix the build.Günther Deschner2010-12-221-1/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 22 15:55:11 CET 2010 on sn-devel-104
* s3:lib/gencache: fix memory leak in error pathStefan Metzmacher2010-12-221-0/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 22 15:08:30 CET 2010 on sn-devel-104
* s3-printing: fix crash bug in print_spool_open().Günther Deschner2010-12-221-1/+3
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 22 14:21:58 CET 2010 on sn-devel-104
* s3-spoolss: handle NTTIME(0) as "01/01/1601" REG_SZ in driver dates.Günther Deschner2010-12-221-4/+13
| | | | Guenther
* s3:libsmb/namequery.c: don't leak 'pserver'Stefan Metzmacher2010-12-221-2/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 22 09:54:31 CET 2010 on sn-devel-104
* Fix a warning message.Jeremy Allison2010-12-221-1/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 22 03:59:18 CET 2010 on sn-devel-104
* My algorithm for determining whan an incoming sequence number can be allowed ↵Jeremy Allison2010-12-212-6/+8
| | | | | | | | | | is incorrect. (I based it on the text in MS-SMB2, silly me :-). Fix it so incoming sequence numbers can range over the entire allowable bitmap range. This fixes a repeatable disconnect against Win7. Jeremy.
* s3:cli_np_tstream: if SMBtrans is desired, the readv needs to wait for the ↵Stefan Metzmacher2010-12-211-23/+70
| | | | | | | | | last writev chunk. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Dec 21 17:43:06 CET 2010 on sn-devel-104
* s3/s4:auth SPNEGO - adaptions for the removed "const" from OIDsMatthias Dieter Wallnöfer2010-12-211-3/+1
| | | | This is needed in order to suppress warnings.
* Keep track of the sparse status of an open file handle. Allows bypass ofJeremy Allison2010-12-215-2/+15
| | | | | | | | strict allocation on sparse files. Files opened as POSIX opens are always sparse. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Dec 21 04:12:22 CET 2010 on sn-devel-104
* Added call out to a Linux-compatible fallocate() when we need to extend a fileJeremy Allison2010-12-215-3/+86
| | | | | | | allocation extent without changing end-of-file size. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Dec 21 02:41:24 CET 2010 on sn-devel-104
* CREATE in a compound CREATE/NOTIFY sequence was being passed through ↵Ken Harris2010-12-201-17/+17
| | | | | | | | | | | | set_operation_credits() twice (ultimately perhaps because of bug 7331 involving this compound sequence and the need to be ready for any incoming CANCEL of the NOTIFY). This had the server thinking it had granted more credit than it actually had, which lead to zero-credits being granted in interim NOTIFY responses. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 20 20:59:55 CET 2010 on sn-devel-104
* From metze's work on sparse attributes. FILE_ATTRIBUTE_SPARSE is valid on ↵Jeremy Allison2010-12-202-3/+3
| | | | | | | get but not on set. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 20 20:11:22 CET 2010 on sn-devel-104
* s3-printing: fix printer_list_traverse()David Disseldorp2010-12-201-1/+1
| | | | | | | | | The tdb traverse function returns the number of elements traversed, or less than zero on error, printer_list_traverse() is incorrectly checking for non-zero return. Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Mon Dec 20 18:44:41 CET 2010 on sn-devel-104
* s3: Remove unused "retry" from cli_start_connectionVolker Lendecke2010-12-204-15/+5
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Dec 20 17:58:33 CET 2010 on sn-devel-104
* s3: Remove unused "retry" from cli_full_connectionVolker Lendecke2010-12-2016-31/+24
|