summaryrefslogtreecommitdiff
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
* Fix warnings on SuSE 9.0.Karolin Seeger2008-06-271-0/+8
| | | | | | | The macros "[un]likely" are already defined on SuSE 9.0. Patch from Volker. (cherry picked from commit 30d181c92463aecd6e649330d3645d86d5a17e43) (cherry picked from commit 33eb39de7b0e88bf51430d645be26d47effaa98f)
* Remove prototype of unimplemented smbc_chown() function.Derrell Lipman2008-06-241-26/+0
| | | | (cherry picked from commit 0e84e3bb800cec2b63df4692afbf9c40850b108f)
* Add documentation for kerberos support in libsmbclient.Andreas Schneider2008-06-241-0/+10
| | | | | | Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com> (cherry picked from commit fa803ce183376c938f92b0f31a7d89d522fd309f)
* Fix a crash in _dfs_EnumVolker Lendecke2008-06-231-1/+1
| | | | (cherry picked from commit 4a996476297963d4cb300b4d45c23e83a493c339)
* Fix typos.Christoph Zauner2008-06-121-3/+3
| | | | (cherry picked from commit b2390aa738f6384016600dffb8065bd0bcda6ef1)
* AIX build fixes from William Jojo -- thanksVolker Lendecke2008-06-121-0/+1
| | | | (cherry picked from commit cb91a47576e820390bc62195702aaae93a2feba6)
* Fix the compile on NetBSD -- readlink and read are macros thereVolker Lendecke2008-06-092-10/+10
| | | | (cherry picked from commit 435b80a9a2e9324cc20594d922b3d8d6418c27af)
* Add STREAMINFO op to vfs_full_auditVolker Lendecke2008-06-091-1/+1
| | | | | | Fix Coverity ID 552 and 553 (cherry picked from commit c46e10d2605b22d31675976e62e5ae61d73c8a0a) (cherry picked from commit 20aa14480e9ae6cea663c67fe9e2d1d3b6fafa7d)
* Allow server manager to close open files selected by id.Jeremy Allison2008-06-051-0/+4
| | | | | Jeremy. (cherry picked from commit 4b312d4e6fdd30ea754cf499fbe86ce932d1d9d2)
* Add ldap connection timeout for OpenLDAP and Netscape LDAP libs. This can be ↵Björn Jacke2008-06-041-1/+2
| | | | | | controlled via the ldap connection timeout parameter. This fixes fallbacks to secondary LDAP servers in multi LDAP server setups like in #4544 (cherry picked from commit 8e59a2fedc940b081222b0e8f90fe0c5a0981c06)
* Fix Bug #5285. (libcap header mismatch)Günther Deschner2008-05-291-1/+2
| | | | | | | | | | Can someone with gpfs available test this ? The only codepath using this function is the modules/gpfs.c module. The fix resolves at least the build issues Samba has with recent kernel / libcap versions by using the portable cap_get_proc()/cap_set_proc() interface (instead of using capget/capset). Guenther (cherry picked from commit 177955141247a4eb56ba0d82dc1add7f52175c40)
* Fix client authentication with -P switch in client tools (Bug 5435).Günther Deschner2008-05-151-0/+1
| | | | | Guenther (cherry picked from commit d077ef64cd1d9bbaeb936566c2c70da508de829f)
* Remove redundant parameter fd from SMB_VFS_CLOSE().Michael Adam2008-05-072-4/+5
| | | | | | | Now all those redundant fd's have vanished from the VFS API. Michael (cherry picked from commit 14294535512a7f191c5008e622b6708e417854ae)
* Fix bug #5095, "Manage Documents privilege is not functional".Jeremy Allison2008-05-071-4/+5
| | | | | | | Should map the created sd to printer jobs, not printer. Confirmed fix by the reporter. Karolin please pull for 3.2-stable. Jeremy. (cherry picked from commit f620182ac41eaf659cf53842df1089ce1f823654)
* errors: add WERR_INVALID_DOMAINNAME.Günther Deschner2008-05-051-0/+1
| | | | | Guenther (cherry picked from commit b11a5e70d38239fb50ba4606656e2168cc398a12)
* Fix bug 5419: memory leak in ads_do_search_all_args() when enumerating 1000s ↵Steven Danneman2008-04-281-0/+2
| | | | | | | | | | | | | | | | | | | | of entries The ads_do_search_all_args() function attempts to string together several LDAPMessage structures, returned across several paged ldap requests, into a single LDAPMessage structure. It does this by pulling entries off the second LDAPMessage structure and appending them to the first via the OpenLDAP specific ldap_add_result_entry() call. The problem with this approach is it skips non-entry messages such as the result, and controls. These messages are leaked. The short term solution as suggested by Volker is to replace the ads_*_entry() calls with ads_*_message() calls so we don't leak any messages. This fixes the leak but doesn't remove the dependence on the OpenLDAP specific implementation of ldap_add_result_entry(). (cherry picked from commit fe9f48bfe8d31812d9644682903c04f1e93c2987)
* Patch from Nicholas Brealey <nick@brealey.org> to distinguish between WinXP ↵Gerald W. Carter2008-04-231-1/+1
| | | | | | | and WinXP64. Defines a new value for the %a variable when detecting a Windows XP 64-bit client. (cherry picked from commit 0c94918fb52c5345ce30490046b79f81712c30bf)
* adt_tree: change pathtree_add to return WERR instead of bool.Michael Adam2008-04-221-1/+1
| | | | | Michael (cherry picked from commit da45fb92f69221758f36db4cbb7d871e3ce60718)
* registry: remove the REGISTRY_HOOKS layer from the reghook cache.Michael Adam2008-04-221-1/+1
| | | | | | | | | | | There is no need to save the keyname again, we only need to get the REGISTRY_OPS out of the pathtree. Furthermore, this makes life easier, since we can now pass in keynames as temporarily allocated strings. Michael (cherry picked from commit 2f9ee2f782c77ed99669af5ac2ba40cb0978f0da)
* cldap: avoid duplicate definitions so remove ads_cldap.h.Günther Deschner2008-04-222-61/+0
| | | | | Guenther (cherry picked from commit 538eefe22ad69540b9f73ffaa613d6be045de199)
* IDL: build generated nbt code.Günther Deschner2008-04-223-0/+6
| | | | | Guenther (cherry picked from commit 554dcfdab03f9d06f319a3234d56cf44dc38c9da)
* errors: Add WERR_NO_SUCH_USER.Günther Deschner2008-04-221-0/+1
| | | | | Guenther (cherry picked from commit 82803186febfe6a55c1a598073657c2c4a513000)
* errors: Add WERR_NONE_MAPPED.Günther Deschner2008-04-221-0/+1
| | | | | Guenther (cherry picked from commit dc165e1c80586664ddb4d3d68182598d02ba204a)
* doserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE.Günther Deschner2008-04-221-0/+2
| | | | | Guenther (cherry picked from commit 91a55fc27dc100cf193cfa2613771312f018449e)
* Add WERR_USER_ALREADY_EXISTS and WERR_PASSWORD_RESTRICTION.Günther Deschner2008-04-221-0/+2
| | | | | Guenther (cherry picked from commit eefd03d39b107598e9b0d1f35def7b17073d8ebc)
* Move some WERRORs down to the NERR_BASE block.Günther Deschner2008-04-221-16/+11
| | | | | Guenther (cherry picked from commit 2453375ee04f466800f53a0f2991d8d5dee0bd8e)
* dbwrap: add dbwrap_tdb2 backendStefan Metzmacher2008-04-131-0/+8
| | | | | | | | | | | | | | | | | | | | | This backend can be used untill ctdb knows about real transactions. It stores a master tdb in a shared location and a readonly copy on the local harddisk. Reads are always on the local tdb and writes always on both. Change notify messages are send to all message context, which ask for them. With the notifies it's possible to just update the changed records, instead of copying all records (which is the fallback). You need to configure: dbwrap:use_tdb2=yes dbwrap_tdb2:master directory=/some/shared/path dbwrap_tdb2:local directory=/var/lib/samba metze (cherry picked from commit aa6230de0d5f1875aa8c12c4fc017d3a40f90890)
* messaging: add MSG_DBWRAP_TDB2_CHANGES flagStefan Metzmacher2008-04-131-0/+3
| | | | | metze (cherry picked from commit 7418c3ab1d8f18403f5a43817b2cc14e15090fca)
* messaging: add FLAG_MSG_DBWRAP message class flagStefan Metzmacher2008-04-131-0/+2
| | | | | metze (cherry picked from commit ee6325495f48bab43a37d740a6eca57192004d57)
* Fix a confusing variable nameVolker Lendecke2008-04-131-2/+2
| | | | (cherry picked from commit 32c992e9573c9af34cd142393287e2f3538d2dd9)
* dbwrap: add db_open_trans()Stefan Metzmacher2008-04-121-0/+5
| | | | | | | | | | | This should be used when transactions are wanted. For now it's just a wrapper of db_open(), but this will change. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 74a070b8a24fea1009e557f711b76fc14e8961dc)
* Add MAX_NERR define.Günther Deschner2008-04-121-0/+4
| | | | | Guenther (cherry picked from commit 729eda95401e63feabb3ed329c6d2888dabe1d68)
* Add CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS define.Günther Deschner2008-04-121-0/+1
| | | | | | | This allows to switch on the cli->fallback_after_kerberos switch. Guenther (cherry picked from commit 15ba45e567d910c1b2336dcc0c475e12b082f30f)
* For convenience reasons, always create cli->srv_name_slash in the rpc_client.Günther Deschner2008-04-121-0/+1
| | | | | Guenther (cherry picked from commit 6363c383d6989d2dfb2ee488ffa7aeb128c5385b)
* smbd: make it possible to change the write time delay for testingStefan Metzmacher2008-04-121-0/+3
| | | | | metze (cherry picked from commit df8c100c2b53575a0d425a2daf52e2d59904746a)
* smbd: implement the strange write time update logicStefan Metzmacher2008-04-121-3/+7
| | | | | | | | | | | | | | | | | | | | | We now never call file_ntimes() directly, every update is done via smb_set_file_time(). This let samba3 pass the BASE-DELAYWRITE test. The write time is only updated 2 seconds after the first write() on any open handle to the current time (not the time of the first write). Each handle which had write requests updates the write time to the current time on close(). If the write time is set explicit via setfileinfo or setpathinfo the write time is visible directly and a following close on the same handle doesn't update the write time. metze (cherry picked from commit 2eab212ea2e1bfd8fa716c2c89b2c042f7ba12ea)
* locking: store the write time in the locking.tdbStefan Metzmacher2008-04-121-0/+4
| | | | | | | | | | This is needed to implement the strange write time update logic later. We need to store 2 time timestamps to distinguish between the time the file system had before the first client opened the file and a forced timestamp update. metze (cherry picked from commit 6aaa2ce0eeb46f6735ec984a2e7aadde7a7f456d)
* Add NT_STATUS_RPC_CANNOT_SUPPORT.Günther Deschner2008-04-041-0/+1
| | | | | Guenther (cherry picked from commit 9e15ce03ca66a0b5ffdb39dd2faaad6e0f967e31)
* Fix NETLOGON credential chain with Windows 2008 all over the place.Günther Deschner2008-04-041-4/+40
| | | | | | | | | | | | In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8 netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate flags everywhere (not only when running in security=ads). Only for NT4 we need to do a downgrade to the returned negotiate flags. Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6. Guenther (cherry picked from commit 0970369ca0cb9ae465cff40e5c75739824daf1d0)
* Remove last reference to rpc_netlogon.h.Günther Deschner2008-03-311-1/+0
| | | | | Guenther (cherry picked from commit 085887eed71ed1ffdb30100d83763e671ea10eee)
* Remove unused marshalling for Netlogon Lockout String.Günther Deschner2008-03-312-46/+0
| | | | | Guenther (cherry picked from commit d87133d0516294e7d5f123e3bb2e93c179c72677)
* Remove unused DS_DOMAIN_CONTROLLER_INFO struct.Günther Deschner2008-03-311-12/+0
| | | | | Guenther (cherry picked from commit 7eb4f6f6f9f27cda3d512f4042e36d70d0b26b6b)
* Move netr_LogonLevel flags to IDL, rename old one to netr_LogonInfo.Günther Deschner2008-03-311-3/+0
| | | | | Guenther (cherry picked from commit 1fc98ee431d3ebe0c5d8bed55dcb788c16228ddd)
* Move DSGETDC_VALID_FLAGS to IDL.Günther Deschner2008-03-311-19/+0
| | | | | Guenther (cherry picked from commit a14b00ee19c6dc23ff687e57e8e6340702056317)
* Move LOGON_KRB5_FAIL_CLOCK_SKEW to winbindd_pam.Günther Deschner2008-03-311-2/+0
| | | | | Guenther (cherry picked from commit fa64c76ac8e54f385f277b5b39be70075b2eeee0)
* Move the known NETLOGON_CONTROL reply flags to IDL.Günther Deschner2008-03-311-8/+0
| | | | | Guenther (cherry picked from commit 4bf2a17c2b9abff45afd50ea93b96b2a080d9168)
* Move inline comment about MSV1_0 flags to IDL.Günther Deschner2008-03-311-18/+0
| | | | | Guenther (cherry picked from commit b22167fb608d3948f1473a5f3dee9e8d18e282e3)
* Remove remaining old srvsvc client and server rpc code entirely.Günther Deschner2008-03-312-53/+0
| | | | | Guenther (cherry picked from commit a5f0186f70abe8dba650265219e69ce5ca2fb642)
* Move MAX.*ENTRY definitions out of old rpc srvsvc parsing code.Günther Deschner2008-03-311-14/+0
| | | | | Guenther (cherry picked from commit 4e36657275caa77bc9712fe627aeb6fe4aefc151)
* Remove unused marshalling for SRV_NET_SESS_ENUM.Günther Deschner2008-03-311-55/+0
| | | | | Guenther (cherry picked from commit 54554683d63575cfdfa24f89952737ccf7ae5bc0)