summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2008-10-12Share RPC binding string utility functions.Jelmer Vernooij1-1/+1
2008-10-12Use common util_file code.Jelmer Vernooij1-7/+7
2008-10-12Revert "Make get_rpc_pipe() static"Volker Lendecke1-0/+1
This reverts commit f25972832ec9d5a130da9dc060f4c3ed35bda7db.
2008-10-12Make get_rpc_pipe() staticVolker Lendecke1-1/+0
2008-10-12Fix warning, prototype.Jelmer Vernooij1-1/+1
2008-10-12Share data_blob implementation.Jelmer Vernooij1-12/+0
2008-10-12Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij1-2/+2
2008-10-11Cope with changed signature of http_timestring().Jelmer Vernooij1-2/+0
2008-10-11Provide the same set of helper functions for DEBUG in Samba 3 and SambaJelmer Vernooij1-1/+2
4, even though the macros are still different. This makes it possible to use object code compiled with one DEBUG() macro from the other sourceX directory.
2008-10-11Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4Jelmer Vernooij1-9/+22
2008-10-10If you have a large number of cups printers, then scanning for print info ↵Jeremy Allison1-2/+6
can cause a client to timeout (it takes longer than 30 seconds to enumerate them). Make scanning for printers async with a callback from the main loop. This fixes a bug that was irritating *me* :-). Jeremy.
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison1-2/+1
Jeremy.
2008-10-09Remove a pointless level of indirectionVolker Lendecke1-1/+0
2008-10-08For the vfs_acl_xattr.c module, make sure we map GENERIC file and directory bitsJeremy Allison1-0/+1
to specific bits every time a security descriptor is set. The S4 torture suite proves that generic bits are not returned when querying an ACL set using them (ie. only the specific bits are stored on disk). Jeremy.
2008-10-08Deal with inheritance from parent directory when setting WindowsJeremy Allison1-0/+3
ACLs. Jeremy.
2008-10-07Update vfs version as I've added a const to the security_descriptor paramter ↵Jeremy Allison1-2/+2
in fset_nt_acl(). Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules. Jeremy.
2008-10-07Make map_errno_from_nt_status() a generic call, not just a cli specific one.Jeremy Allison1-0/+1
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files. Jeremy.
2008-10-06Add netlogond auth methodVolker Lendecke1-0/+2
This authenticates against a local running samba4 using SamLogonEx. We retrieve the machine password using samba4's mymachinepwd script and store the schannel key for re-use in secrets.tdb.
2008-10-06Store a local schannel key in secrets.tdbVolker Lendecke1-0/+2
2008-10-03Correctly fix smbclient to terminate on eof from server.Jeremy Allison1-0/+1
Jeremy.
2008-10-03Simply our main loop processing. A lot :-). Correctly use events for all the ↵Jeremy Allison1-1/+2
previous "special" cases. A step on the way to adding signals to the events and being able to merge the S3 event system with the S4 one. Jeremy.
2008-09-24printing: Rename new parameter "cups timeout" to "cups connection timeout".Karolin Seeger1-1/+1
Karolin
2008-09-24Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4Jelmer Vernooij1-4/+0
Conflicts: source3/include/includes.h
2008-09-24Use common crc32 implementation.Jelmer Vernooij1-4/+0
2008-09-24Use common arcfour implementation.Jelmer Vernooij1-5/+0
2008-09-24Use shared copy of hmac5 implementation.Jelmer Vernooij1-10/+0
2008-09-24Use common MD5.Jelmer Vernooij1-6/+0
2008-09-24s3-nbt: use the new generated nbt.Günther Deschner1-96/+4
Guenther
2008-09-23printing: Add new parameter "cups timeout".Karolin Seeger1-0/+1
The default timeout for connections to CUPS servers is set to 5 minutes in the CUPS libraries. The smbd hangs on startup until the timeout is reached if the CUPS server is unreachable. This parameter makes the timeout configurable. The default value is set to 30 seconds. Karolin
2008-09-23s3-ndr: add stub smb_iconv_convenience to some ndr_ functions.Günther Deschner1-3/+4
Guenther
2008-09-23s3-nbt: use ../libcli/nbt helper.Günther Deschner1-17/+0
Guenther
2008-09-23s3: use samba4 prototype for ndr_push/pull_struct_blob.Günther Deschner1-4/+2
Guenther
2008-09-21netlogon: move password change code out to rpccli_netlogon_set_trust_password.Günther Deschner1-0/+6
Guenther
2008-09-21netlogon: add init_netr_CryptPassword.Günther Deschner1-0/+3
Guenther
2008-09-09Add async trans/trans2/nttrans calls to libsmbVolker Lendecke1-0/+21
Logic stolen from Samba4, naturally the specific implementation differs a bit. (This used to be commit 4b8bc5b03d35d563104791c0d8317d9886e4f032)
2008-09-09make smb_bytes_push_str publicVolker Lendecke1-0/+1
(This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)
2008-09-09Add a utility function to append a DATA_BLOB to a talloc objectVolker Lendecke1-0/+1
(This used to be commit d8259cbe666d96cc468203a64fb208c02a64849f)
2008-09-05Write times code update.Jeremy Allison1-7/+7
Ok, here's the fix for the write times breakage with the new tests in S4 smbtorture. The key is keeping in the share mode struct the "old_file_time" as the real write time, set by all the write and allocation calls, and the "changed_write_time" as the "sticky" write time - set by the SET_FILE_TIME calls. We can set them independently (although I kept the optimization of not setting the "old_file_time" is a "changed_write_time" was already set, as we'll never see it. This allows us to update the write time immediately on the SMBwrite truncate case, SET_END_OF_FILE and SET_ALLOCATION_SIZE calls, whilst still have the 2 second delay on the "normal" SMBwrite, SMBwriteX calls. I think in a subsequent patch I'd like to change the name of these from "old_file_time" to "write_time" and "changed_write_time" to "sticky_write_time" to make this clearer. I think I also fixed a bug in Metze's original code in that once a write timestamp had been set from a "normal" SMBwriteX call the fsp->update_write_time_triggered variable was set and then never reset - thus meaning the write timestamp would never get updated again on subsequent SMBwriteX's. The new code checks the update_write_time_event event instead, and doesn't update is there's an event already scheduled. Metze especially, please check this over for your understanding. Jeremy. (This used to be commit 6f20585419046c4aca1f7d6c863cf79eb6ae53b0)
2008-09-03Revert "Split lookup_name() and create a new functiong called"Simo Sorce1-4/+0
This reverts commit 8594edf666c29fd4ddf1780da842683dd81483b6. (This used to be commit ad462e2e2d025a7fc23e7dea32b2b442b528970b)
2008-09-03Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-develSimo Sorce1-20/+19
(This used to be commit 8e4dca3b9416d9b5e535bda5e4befc073bfc1641)
2008-09-03factor prs_append_some_data out of prs_append_some_prs_dataVolker Lendecke1-0/+2
(This used to be commit 32cb45c962c822bd79a7d0f666f2f6037060b324)
2008-08-28Add async smbecho client supportVolker Lendecke1-2/+5
(This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5)
2008-08-28Remove cli->event_ctx, pass it explicitlyVolker Lendecke1-2/+6
Storing the event_context as permanent state in struct cli_state creates more complex code than necessary IMO. (This used to be commit debb37f703075008e5ea7d34d214cfa4d0f8f916)
2008-08-28Add async open&xVolker Lendecke1-0/+3
(This used to be commit faf353edd60967efac4d5c222db14fa730866273)
2008-08-28Add async cli_closeVolker Lendecke1-0/+3
(This used to be commit f84a2b5dbf8a072a9e356fa39523f65d042a2643)
2008-08-28Refactoring: Add the routine cli_request_send()Volker Lendecke1-15/+0
cli_request_send() is supposed to bundle all generic SMB-header handling. This makes cli_request_new static to async_smb.c. (This used to be commit 7e73dd4e7622db64d30d48ba106892e0895fc188)
2008-08-27Fix the wcache_invalidate_samlogon calls.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 7c820899ed1364fdaeb7b49e8ddd839e67397ec0)
2008-08-27Add st_birthtime and friends for accurate create times on systems that ↵Jeremy Allison1-1/+0
support it (*BSD and MacOSX). Should have done this ages ago, sorry. Jeremy. (This used to be commit 4c3a9558906f213948c3bdc081be73f8fed148cb)
2008-08-26Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-develSimo Sorce1-1/+2
(This used to be commit e038f1cf9fb305fc1e7a4189208e451d30aaa1f0)
2008-08-20Here is a re-working of the winbinddJeremy Allison1-0/+1
reconnect code to cope with rebooting a DC. This replaces the code I asked Volker to revert. The logic is pretty simple. It adds a new parameter, "winbind reconnect delay", set to 30 seconds by default, which determines how long to wait between connection attempts. To avoid overwhelming the box with DC-probe forked children, the code now keeps track of the DC probe child per winbindd_domain struct and only starts a new one if the existing one has died. I also added a little logic to make sure the dc probe child always sends a message whatever the reason for exit so we will always reschedule another connect attempt. Also added documentation. Jeremy. (This used to be commit 8027197635b988b3dcf9d3d00126a024e768fa62)