summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2009-02-04s3-eventlog: add evlog_push_record function.Günther Deschner1-0/+4
Guenther
2009-02-04s3-eventlog: add evlog_pull_record function.Günther Deschner1-0/+3
Guenther
2009-02-04s3-eventlog: add evlog_tdb_entry_to_evt_entry.Günther Deschner1-0/+3
Guenther
2009-02-04s3-eventlog: add evlog_evt_entry_to_tdb_entry.Günther Deschner1-0/+3
Guenther
2009-02-04s3-eventlogadm: use struct eventlog_Record_tdb for storing entries in tdbs.Günther Deschner1-1/+1
Guenther
2009-02-04s3-eventlog: add fixup_eventlog_record_tdb.Günther Deschner1-0/+1
Guenther
2009-02-04s3-eventlog: add evlog_push_record_tdb function.Günther Deschner1-0/+4
This is almost a copy of write_eventlog_tdb() and still needs to be modified to use tdb transactions. Guenther
2009-02-03s3-eventlog: add evlog_pull_record_tdb function.Günther Deschner1-0/+3
Guenther
2009-02-03s3-eventlog: pass down talloc context to parse_logentry().Günther Deschner1-1/+1
Guenther
2009-02-03s3-eventlog: make logname in elog_open_tdb const.Günther Deschner1-1/+1
Guenther
2009-02-03s3-eventlog: allow to open eventlog tdbs readonly.Günther Deschner1-1/+1
Guenther
2009-02-02s3-wbclient: Use new tevent data typesKai Blin1-1/+1
2009-02-01Add two new parameters to control how we verify kerberos tickets. Removes ↵Dan Sledz1-1/+2
lp_use_kerberos_keytab parameter. The first is "kerberos method" and replaces the "use kerberos keytab" with an enum. Valid options are: secrets only - use only the secrets for ticket verification (default) system keytab - use only the system keytab for ticket verification dedicated keytab - use a dedicated keytab for ticket verification. secrets and keytab - use the secrets.tdb first, then the system keytab For existing installs: "use kerberos keytab = yes" corresponds to secrets and keytab "use kerberos keytab = no" corresponds to secrets only The major difference between "system keytab" and "dedicated keytab" is that the latter method relies on kerberos to find the correct keytab entry instead of filtering based on expected principals. The second parameter is "dedicated keytab file", which is the keytab to use when in "dedicated keytab" mode. This keytab is only used in ads_verify_ticket.
2009-02-01Replace pipe names in pipes_struct by ndr_syntax_idVolker Lendecke1-2/+3
This was mainly used for debugging output
2009-02-01cli_get_pipe_name_from_interface does not really need a talloc_ctxVolker Lendecke1-2/+1
2009-01-31Remove unused np_read sync wrapperVolker Lendecke1-2/+0
2009-01-31Remove unused np_write sync wrapperVolker Lendecke1-2/+0
2009-01-31Add an async np_read wrapperVolker Lendecke1-0/+5
2009-01-31Add an async np_write wrapperVolker Lendecke1-0/+4
2009-01-31make send_file_readbraw staticVolker Lendecke1-6/+0
2009-01-31Remove the global variable "chain_size"Volker Lendecke1-0/+2
2009-01-31Make is_andx_req non-staticVolker Lendecke1-0/+1
2009-01-30Add the "SMBD" rpc transportVolker Lendecke1-0/+34
The idea of this is that all client utils like smbpasswd and also for example "net join" do not access our internal databases like passdb and secrets.tdb directly anymore but pass everything throught the well-established RPC interfaces. The way you use this is the following: With rpc_cli_smbd_conn_init() or its async variant you initialize a "struct rpc_cli_smbd_conn". This structure is the link to a freshly forked smbd, ready to be used for RPC services. You should only ever have one such structure in your program. More don't hurt, but are plainly unnecessary. If you want to use the SAMR pipe to change a passwort, you connect to that pipe with rpc_pipe_open_local. Do you normal rpccli_samr calls on that and your locally forked smbd will connect to passdb for you. GD, this might make the distinction between the _l and _r calls in libnetapi mostly unnecessary. At least it is intended to do so... :-)
2009-01-30Make rpc_transport_np_init asyncVolker Lendecke1-0/+7
2009-01-30Add async cli_ntcreateVolker Lendecke1-0/+22
2009-01-30Make cli_tcon_andx asyncVolker Lendecke1-2/+8
2009-01-30Make cli_session_setup_guest asyncVolker Lendecke1-0/+4
2009-01-29s3 build: Fix "shadows global declaration warning"Tim Prouty1-1/+1
2009-01-29s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operationTim Prouty1-1/+1
This allows module implementors to customize what allocation size is returned to the client.
2009-01-30s3:proto.h: remove duplicate prototypes.Michael Adam1-2/+0
Michael
2009-01-29Add the strlen to push to smb_bytes_push_str, return the converted sizeVolker Lendecke1-1/+2
The pushed strlen replaces the STR_TERMINATE flag which I personally always find very confusing.
2009-01-29cli_ucs2Volker Lendecke1-0/+1
2009-01-27s3:smbd: make mdns registration event driven.Stefan Metzmacher1-8/+3
metze
2009-01-27s3:smbd: make kernel oplocks event drivenStefan Metzmacher1-3/+1
And use signal events for Linux oplocks. metze
2009-01-27s3:smbd: remove pointless respond_to_all_remaining_local_messages() functionStefan Metzmacher1-1/+0
This the process_kernel_oplock() function never response to messages, it only generates messages to ourself. metze
2009-01-27s3:smbd: convert aio to use tevent_signalStefan Metzmacher1-17/+1
metze
2009-01-27s3:smbd: use signal events for SIGTERM, SIGHUP and SIGCHLDStefan Metzmacher1-0/+2
metze
2009-01-27s3:namecache: remove unused namecache_shutdown() functionStefan Metzmacher1-1/+0
metze
2009-01-26Decouple clistr_pull from struct cli_state->inbufVolker Lendecke1-2/+2
2009-01-23Extend NTIMES to allow setting create_timetodd stecher1-2/+3
1) Add in smb_file_time struct to clarify code and make room for createtime. 2) Get and set create time from SMB messages. 3) Fixup existing VFS modules + examples Some OS'es allow for the setting of the birthtime through kernel interfaces. This value is generically used for Windows createtime, but is not settable in the code today.
2009-01-22Add the socket rpc client transportVolker Lendecke1-0/+5
2009-01-22Add the named pipe rpc client transportVolker Lendecke1-1/+6
2009-01-22s3: Fix warningTim Prouty1-1/+1
2009-01-22s3:printing: make some functions static and use tevent functionsStefan Metzmacher1-2/+0
metze
2009-01-22s3:smbd: restructure kernel oplocks codeStefan Metzmacher1-4/+4
This converts the irix oplocks code to use a fd event and removes the last special case for file descriptors for the main sys_select(). metze
2009-01-22cli_get_pipe_name_from_iface does not need the cli_stateVolker Lendecke1-1/+0
I leave the TALLOC_CTX in, we might have to allocate it in the future
2009-01-21Memory leaks and other fixes found by Coveritytodd stecher1-1/+1
2009-01-21Allow calling DCE/RPC server implementations directly usingJelmer Vernooij1-0/+4
rpc_pipe_client.
2009-01-20"userdom_struct" does not need "full_name" anymore -- unusedVolker Lendecke1-1/+1
2009-01-20Remove some unused codeVolker Lendecke1-1/+0