summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-dsdb: use dsdb_module_extended instead of duplicate codeAmitay Isaacs2011-11-292-31/+13
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: Return ldb_result context in dsdb_module_extendedAmitay Isaacs2011-11-291-3/+20
| | | | | | | The result of the extended operation is now available in the calling routine. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: Remove LDB_SEQ_HIGHEST_TIMESTAMP sequence number supportAmitay Isaacs2011-11-292-140/+13
| | | | | | | This was a hack for LDAP backends to store a sequence number as a timestamp. It is still supported in standalone ldb tdb backend. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3: Use tevent_req_simple_recv_ntstatusVolker Lendecke2011-11-281-6/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Nov 28 17:14:27 CET 2011 on sn-devel-104
* Fix Coverity ID 2638: OVERRUN_STATICVolker Lendecke2011-11-281-1/+1
|
* Fix Coverity ID 2639: UNUSED_VALUEVolker Lendecke2011-11-281-2/+0
|
* s3: Fix a crash in group_mapping.ldb->tdb conversionVolker Lendecke2011-11-281-0/+13
| | | | | | | | When we find a group_mapping.ldb entry without a comment, the upgrade code would have crashed with a NULL dereference Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Nov 28 12:24:08 CET 2011 on sn-devel-104
* s4:torture/ldap/cldap.c - remove the ↵Matthias Dieter Wallnöfer2011-11-271-87/+4
| | | | | | | | | | | | | "test_cldap_netlogon_flag_ds_dns_forest" test The test is wrong since the DNS_* (DS_DNS_CONTROLLER, DS_DNS_DOMAIN, DS_DNS_FOREST_ROOT) flags are never set on the plain CLDAP pipe. They get added only over the DsRGetDCName* calls over NETLOGON RPC. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 27 16:23:27 CET 2011 on sn-devel-104
* s4:selftest/test_samba_tool.sh - add a basic unit test for the new "domain ↵Matthias Dieter Wallnöfer2011-11-272-6/+9
| | | | | | info" command Signed-off-by: Stefan Metzmacher <metze@samba.org>
* samba-tool: domain info - add basic exception handlingMatthias Dieter Wallnöfer2011-11-271-2/+4
| | | | | | | It is nicer to get an error message rather than a stacktrace on wrong IP addresses. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* samba-tool: add a domain info command to get basic infoMatthieu Patou2011-11-271-1/+24
| | | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:netlogon RPC server - DsRGetDcNameEx - set the DNS name flags correctlyMatthias Dieter Wallnöfer2011-11-272-12/+14
| | | | | | | | The rules are explained in MS-NRPC 2.2.1.2.1. Patch inspired by Matthieu Patou. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-netlogon: return WERR_NO_SUCH_DOMAIN instead of WERR_DS_UNAVAILABLE if we ↵Matthieu Patou2011-11-271-1/+1
| | | | | | | are unable to translate the domain to a dn Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:cldap_server/netlogon.c - DS_SERVER_CLOSEST handlingMatthias Dieter Wallnöfer2011-11-271-2/+5
| | | | | | | | DS_SERVER_CLOSEST is only set when the client and server site coincide. MS-NRPC 2.2.1.2.1 Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:netcmd/common.py: add a "netcmd" function to do a cldap netlogon requestMatthias Dieter Wallnöfer2011-11-271-0/+9
| | | | | | | | This is useful for a new "samba-tool domain info" command. Patch inspired by Matthieu Patou. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:libnet/py_net.c: "py_net_finddc" - add an "address" parameterMatthias Dieter Wallnöfer2011-11-264-14/+25
| | | | | | | | This is useful for a new "samba-tool domain info" command. Patch inspired by Matthieu Patou. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:libnet/py_net.c - initialise optional keyword argumentsMatthias Dieter Wallnöfer2011-11-261-1/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:libcli/finddcs_cldap.c - let "finddcs_cldap" work either with the IP ↵Matthias Dieter Wallnöfer2011-11-261-14/+27
| | | | | | | | address or the domain name This will be useful for a new "samba-tool domain info" command. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* smbtorture: avoid sigsev if the password is not correctMatthieu Patou2011-11-261-1/+1
| | | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:update_keytab LDB module - no need to filter for the DNMatthias Dieter Wallnöfer2011-11-261-2/+2
| | | | | | | We launch a search request with base scope on exactly the same DN (see downwards). Signed-off-by: Stefan Metzmacher <metze@samba.org>
* idl:netlogon.idl - add the Active Directory Web Service bit (DS_SERVER_WEBSERV)Matthias Dieter Wallnöfer2011-11-261-0/+1
| | | | | | MS-NRPC 2.2.1.2.1 Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:locking:posix: remove uses of SMB_ASSERT() from get_windows_lock_ref_count()Michael Adam2011-11-251-2/+13
| | | | | | | | SMB_ASSERT is useless, since in non-developer build it does not actually fail after the log message, but usual flow just continues. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Nov 25 14:59:53 CET 2011 on sn-devel-104
* s3:locking:posix: adapt use of dbrwrap_fetch() to new NTSTATUS semanticsMichael Adam2011-11-251-5/+14
|
* s3:registry: write INFO/version if we create registry.tdbGregor Beck2011-11-251-0/+7
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: do not burden the user of db_open_ctdb with ifdef voodooGregor Beck2011-11-252-3/+13
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:lib fix output of hex escapes > 0x7F with cbuf_print_quotedGregor Beck2011-11-251-1/+1
| | | | (cherry picked from commit a1fcb7e37a23dcc035686486d4afe32a67082ae1)
* s3:net registry check: improve console outputGregor Beck2011-11-251-7/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* socket_wrapper: use libreplace headers based on "#ifdef HAVE_LIBREPLACE"Michael Adam2011-11-251-3/+5
| | | | | | | instead of "#ifdef _SAMBA_BUILD_". This is to be able to use socket_wrapper in other projects that also use libreplace.
* socket_wrapper: simplify include path for replace.hMichael Adam2011-11-251-1/+1
|
* s3: user_domain is not used in wb_getpwsidVolker Lendecke2011-11-251-7/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Nov 25 13:23:30 CET 2011 on sn-devel-104
* s3: Add some constVolker Lendecke2011-11-252-4/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Nov 25 10:21:07 CET 2011 on sn-devel-104
* s3:torture: test smb2cli_logoff and smb2cli_tdisStefan Metzmacher2011-11-241-0/+37
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 24 20:36:31 CET 2011 on sn-devel-104
* s3:smb2cli: zero tid in smb2cli_tdis*Stefan Metzmacher2011-11-241-0/+6
| | | | metze
* s3:smb2cli: free session in smb2cli_logoff*Stefan Metzmacher2011-11-241-1/+7
| | | | metze
* s3:libsmb: Fix a typoVolker Lendecke2011-11-241-1/+1
|
* s3:torture: add SMB2-SESSION-REAUTHStefan Metzmacher2011-11-243-0/+215
| | | | metze
* s3:torture: add SMB2-MULTI-CHANNEL testStefan Metzmacher2011-11-243-0/+258
| | | | metze
* s3:torture: add a new test SMB2-TCON-DEPENDENCEMichael Adam2011-11-243-0/+106
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:torture:smb2: add SMB2-SESSION-RECONNECT testMichael Adam2011-11-243-0/+391
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:libcli/smb2: use talloc_zero() in smb2_request_init()Stefan Metzmacher2011-11-241-16/+3
| | | | metze
* s4:libcli/smb2: fix compiler warning in smb2_push_o16s16_string()Stefan Metzmacher2011-11-241-1/+3
| | | | metze
* s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher2011-11-2415-882/+452
| | | | metze
* s3:smbXcli: keep two fd per connection in order to work with the epoll ↵Stefan Metzmacher2011-11-241-10/+25
| | | | | | tevent backend metze
* s4:torture/smb2: use tctx->ev as event context for pollingStefan Metzmacher2011-11-243-8/+7
| | | | metze
* s3:torture: use cli_tree_connect() instead of smb2cli_tcon()Stefan Metzmacher2011-11-241-2/+2
| | | | metze
* s3:client: make use of cli_tree_connect()Stefan Metzmacher2011-11-242-3/+3
| | | | metze
* s3:libsmb: make use of cli_tree_connect()Stefan Metzmacher2011-11-243-9/+11
| | | | metze
* s3:nmbd: make use of cli_tree_connect()Stefan Metzmacher2011-11-241-1/+1
| | | | metze
* s3:torture: make use of cli_tree_connect()Stefan Metzmacher2011-11-243-9/+9
| | | | metze
* s3:utils: make use of cli_tree_connect()Stefan Metzmacher2011-11-242-4/+4
| | | | metze