summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Remove the smbtorture3 OPLOCK3 testVolker Lendecke2011-05-224-62/+2
| | | | | This is the last user of cli_receive_smb. Oplocks are nowadays tested in smbtorture4, this mainly has historic value
* s3: Convert the OPEN4 test to async oplock handlingVolker Lendecke2011-05-221-32/+96
| | | | This removes a caller of cli_receive_smb
* s3: Remove clistr_align_outVolker Lendecke2011-05-212-6/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 21 23:31:12 CEST 2011 on sn-devel-104
* s3: Remove unused cli_setup_bccVolker Lendecke2011-05-212-10/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 21 21:24:13 CEST 2011 on sn-devel-104
* s4:sam.py - add tests to check that setting "userAccountValue" on usersdon't ↵Matthieu Patou2011-05-211-2/+40
| | | | | | | | | | | | impact the "primaryGroupID" attribute Notice: The domain administrators groups isn't referenced as "Domain Admins" since this name could differ. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat May 21 19:19:57 CEST 2011 on sn-devel-104
* s4:samldb LDB module - don't change the "primaryGroupId" on LDB ↵Matthieu Patou2011-05-211-1/+16
| | | | | | modifications unless we are a computer/dc/rodc Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4:lsa RPC server - handle LDB flags as "unsigned"Matthias Dieter Wallnöfer2011-05-211-1/+1
| | | | Signed-off-by: Metze
* s4:ldb-samba/ldb_wrap.*-dsdb/samdb/samdb.c - handle LDB connection flags as ↵Matthias Dieter Wallnöfer2011-05-213-7/+7
| | | | | | | | unsigned The LDB API ("ldb_connect") prescribes that they should be "unsigned". Signed-off-by: Metze
* ldb:pyldb.c - all flags should be unsignedMatthias Dieter Wallnöfer2011-05-211-10/+10
| | | | | | Adapt it to the previous commits Reviewed-by: Jelmer + Metze
* ldb:ldb_sqlite3.c - all LDB flags should be handled as "unsigned"Matthias Dieter Wallnöfer2011-05-211-2/+3
| | | | Signed-off-by: Metze
* ldb:tools/cmdline.c + tools/ldbtest.c - the connection flags are typed as ↵Matthias Dieter Wallnöfer2011-05-212-2/+2
| | | | | | "unsigned" Signed-off-by: Metze
* ldb:ldbtest.c - make more use of LDB constantsMatthias Dieter Wallnöfer2011-05-211-4/+4
| | | | Signed-off-by: Metze
* s4:torture - always cast correctly when using the "%x" format string argumentMatthias Dieter Wallnöfer2011-05-212-6/+6
| | | | Signed-off-by: Metze
* s4:auth/ntlmssp/ntlmssp_server.c - add "const" in front of "dnsdomain"Matthias Dieter Wallnöfer2011-05-211-1/+1
| | | | Signed-off-by: Metze
* add a demo script for dirsyncMatthieu Patou2011-05-211-0/+156
| | | | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 15:40:26 CEST 2011 on sn-devel-104
* s4-dsdb: add unit tests for dirsync controlMatthieu Patou2011-05-213-0/+716
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: implementation of the dirsync controlMatthieu Patou2011-05-213-0/+1369
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: introduce dsdb_module_search_treeMatthieu Patou2011-05-211-24/+63
| | | | | | | | | With this function your own search tree can be specified This function is similar to ldb_build_search_req_ex as it allows to pass a parse tree structure. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: relax a bit the checks on read acl when dirsync control is specifiedMatthieu Patou2011-05-211-12/+42
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: create flag for requesting ACL relax in case of DIRSYNC requestMatthieu Patou2011-05-211-0/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4: do not change the critical flag when it's on a dirsync controlMatthieu Patou2011-05-211-1/+5
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* selftest: Allow to test samba4 with ACL on read setMatthieu Patou2011-05-211-0/+3
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4: add blackbox test for renameMatthieu Patou2011-05-212-0/+45
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 09:50:34 CEST 2011 on sn-devel-104
* upgradeprovision: add hostname in the blackbox testsMatthieu Patou2011-05-211-1/+1
|
* Make the purge first so that the provision can reused during testsMatthieu Patou2011-05-211-3/+3
|
* Add a script for renaming a DCMatthieu Patou2011-05-211-0/+200
|
* s4-python: Remove not used importsMatthieu Patou2011-05-212-7/+4
|
* s4-python: move function find_provision_key_parameters to provision ↵Matthieu Patou2011-05-215-113/+112
| | | | namespace as it can be used not only for upgradeprovision
* Patch for bug #8156 - net ads join fails to use the user's kerberos ticket.Jeremy Allison2011-05-211-10/+27
| | | | | | | | | If kerberos_get_realm_from_hostname() or kerberos_get_default_realm_from_ccache() fails due to a misconfigured krb5.conf, try the "realm =" from smb.conf as a fallcback before going back to NTLMSSP (which we'll do anyway). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 21 00:58:09 CEST 2011 on sn-devel-104
* The "workgroup" parameter is not used at all in ↵Jeremy Allison2011-05-201-7/+4
| | | | cli_session_setup_kerberos(). Remove it.
* Fix bug #8157 - std_pcap_cache_reload() fails to parse a cups printcap file ↵Jeremy Allison2011-05-201-8/+5
| | | | | | | | | | correctly. The parsing code made some strange assumptions about what is a printer name, and what is a comment. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 20 22:52:23 CEST 2011 on sn-devel-104
* Fix bug 8133 - strange behavior for the file (whose filename first character ↵Jeremy Allison2011-05-201-2/+3
| | | | | | | | | | is period ) in SMB2 case. When doing SMB2 renames, we need to match all filetypes (no attributes field in the SMB2 call). By default a file starting with a period is returned as FILE_ATTRIBUTE_HIDDEN in Samba. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 20 19:26:04 CEST 2011 on sn-devel-104
* Optimization. If the attributes passed to can_rename() include both ↵Jeremy Allison2011-05-201-5/+8
| | | | FILE_ATTRIBUTE_HIDDEN and FILE_ATTRIBUTE_SYSTEM then there's no point in reading the source DOS attribute, as we're not going to deny the rename on attribute match.
* s3:smbd remove unused codeChristian Ambach2011-05-202-12/+0
| | | | | | | | | | | | | | | in the early CTDB days, the RELEASE_IP message was defined and some code was added to react on such a message to make smbd exit if the IP address it was using for the server socket is removed by CTDB. Later, it was discovered that we need to stop smbd immediately and logic was added to ctdb_conn to call release_ip() without going through the messaging system. So this code is not used and can be removed Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri May 20 16:18:24 CEST 2011 on sn-devel-104
* s3: Fork the echo handler only after SMB1 negprot is doneVolker Lendecke2011-05-203-7/+8
| | | | | | | | This enables activating the echo responder also if SMB2 is enabled, albeit it will only be used for SMB1 at this moment. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 20 15:06:03 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2573: UNUSED_VALUEVolker Lendecke2011-05-201-2/+3
| | | | Andrew B., please check!
* s3: Fix an uninitialized variableVolker Lendecke2011-05-201-1/+1
|
* s3:testparm: don't return an error for a warning messageStefan Metzmacher2011-05-201-1/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 20 13:14:39 CEST 2011 on sn-devel-104
* s3-epmapper: Fixed endpoint registration.Andreas Schneider2011-05-201-4/+4
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri May 20 12:03:18 CEST 2011 on sn-devel-104
* s3: Remove unused cli_setup_packet()Volker Lendecke2011-05-202-6/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 20 10:51:36 CEST 2011 on sn-devel-104
* torture-dfs: fix a typo that was causing the test to be flackyMatthieu Patou2011-05-201-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri May 20 09:39:12 CEST 2011 on sn-devel-104
* Fix Bug 8152 - smbd crash in release_ip()Christian Ambach2011-05-192-0/+8
| | | | | | | | release_ip() needs the private_data, but it was never saved away to feed it into release_ip() later Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu May 19 21:21:14 CEST 2011 on sn-devel-104
* s3: Remove a use of cli_send_smbVolker Lendecke2011-05-191-46/+53
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 20:11:33 CEST 2011 on sn-devel-104
* fix the WAF buildVolker Lendecke2011-05-191-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 18:46:51 CEST 2011 on sn-devel-104
* s3: Do central cli_set_errorVolker Lendecke2011-05-199-189/+2
|
* s3: Remove the use of cli->inbuf/outbuf from cli_session_requestVolker Lendecke2011-05-191-45/+53
|
* s3: Add sync read_smbVolker Lendecke2011-05-192-0/+25
|
* s3: Make read_smb_send/recv publicVolker Lendecke2011-05-194-87/+145
|
* Fix bug found when building on an IPv6-only system by Kai Blin.Jeremy Allison2011-05-191-3/+16
| | | | | | | | | | | | | | | | | | When building on IPv6-only, doing: hints.ai_family = AF_INET; getaddrinfo("0.0.0.0", NULL, &hints, &ppres) fails as AF_INET is unavailable on an IPv6-only system. This causes us to fallback to our replacement getaddrinfo code which is IPv4-only. As we're only trying to detect a specific AIX bug here, broaden the tests to find that bug, and also test for working getaddrinfo in an IPv6-only safe way. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 19 02:21:54 CEST 2011 on sn-devel-104
* packaging(RHEL-CTDB): honour rpm build target options handed in to makerpms.shMichael Adam2011-05-181-1/+10
| | | | | | | This allows to call e.g. "makerpms.sh -bs" to only build the source rpm. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed May 18 23:10:59 CEST 2011 on sn-devel-104