summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2009-04-19Add "uint32_t access_granted" to policy handlesVolker Lendecke1-7/+12
All policy handles have a mask of allowed operations attached that were calculated at creation time, so they should carry this mask. This is the basis for consolidating all our policy handle access checks. If you want to do your own more complicated access checks further down, just pass "0" to policy_handle_find.
2009-04-19Make "struct policy" private to srv_lsa_hnd.cVolker Lendecke2-17/+2
2009-04-18Add type-safe policy_handle_create/findVolker Lendecke1-0/+12
2009-04-18Add some constVolker Lendecke1-1/+2
2009-04-16Add notify_onelevel.tdbVolker Lendecke1-0/+5
This optimizes non-recursive notifys. For non-recursive notifies we can use a per-directory file-id indexed notify record. This matters for the Windows Explorer and IIS cases which do not use recursive notifies. In these cases, we do not have to shuffle around the whole notify record on every change. For the cluster case, this improves correctness of the notifies, ctdb only distributes the tdb seqnum once a second, so we can lose notifies.
2009-04-14s3-spoolss: remove unused dup_nt_devicemode().Günther Deschner1-1/+0
Guenther
2009-04-14s3:charcnv remove now unused malloc() based conversion functionsAndrew Bartlett1-4/+0
2009-04-14Convert Samba3 to use the common lib/util/charset APIAndrew Bartlett1-9/+2
This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett
2009-04-14Solve some of the conflict between Samba3 and Samba4 push_stringAndrew Bartlett2-20/+13
This renames push_string in Samba3 into push_string_base and push_string_check for the two different use cases. This should allow push_string to be imported from Samba4, using it's calling conventions.
2009-04-12Reactivate get_socket_portVolker Lendecke1-0/+1
2009-04-10Link in the threads functions, not yet used.Jeremy Allison1-0/+2
Jeremy.
2009-04-08Remove async_reqVolker Lendecke1-1/+0
2009-04-08Convert cli_push to tevent_reqVolker Lendecke1-8/+8
Metze, please check! Thanks, Volker
2009-04-08Convert cli_pull to tevent_reqVolker Lendecke1-9/+9
2009-04-08Convert rpc_transport_smbd_init to tevent_reqVolker Lendecke1-5/+5
2009-04-08Convert rpc_cli_smbd_conn_init to tevent_reqVolker Lendecke1-7/+7
2009-04-08Convert rpc_transport_np_init to tevent_reqVolker Lendecke1-5/+5
2009-04-08s3-eventlog: split out evlog_convert_tdb_to_evt().Günther Deschner1-0/+4
Guenther
2009-04-08s3-eventlog: move rpc_server/srv_eventlog_lib.c out of rpc_server.Günther Deschner1-1/+1
Guenther
2009-04-07s3:charcnv Remove unused unistrcpy() and unistrlen()Andrew Bartlett1-2/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07s3:rpc_parse remove unused prs_unistr2()Andrew Bartlett1-1/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07s3:charcnv Remove unused unistr2 functionsAndrew Bartlett1-5/+0
Natrually, the hard work to make these unsued was done by GD, not me :-) Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07s3:charcnv Remove unused ucs2_to_unistr2()Andrew Bartlett1-1/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07s3:kerberos Rework smb_krb5_unparse_name() to take a talloc contextAndrew Bartlett1-3/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06s3 oplocks: Refactor level II oplock contentionTim Prouty1-0/+1
2009-04-06Add a bad hack to enable level 2 oplocks in torture_open_connection_shareVolker Lendecke1-0/+2
2009-04-06Make cli_oplock_ack asyncVolker Lendecke1-0/+5
2009-04-06Add async oplock waiterVolker Lendecke1-0/+7
2009-04-06Remove async_req based async libsmb infrastructureVolker Lendecke2-137/+0
2009-04-06Convert cli_open to tevent_reqVolker Lendecke1-4/+9
2009-04-06Convert cli_close to tevent_reqVolker Lendecke1-3/+8
2009-04-06Convert cli_write_andx to tevent_reqVolker Lendecke1-6/+14
2009-04-06Convert cli_read_andx to tevent_reqVolker Lendecke1-5/+10
2009-04-06Convert cli_ntcreate to tevent_reqVolker Lendecke1-12/+12
2009-04-06Convert cli_tcon_andx to tevent_reqVolker Lendecke1-6/+6
2009-04-06Convert cli_negprot to tevent_reqVolker Lendecke1-4/+4
2009-04-06Convert cli_session_setup_guest to tevent_reqVolker Lendecke1-4/+4
2009-04-06Convert cli_trans to tevent_reqVolker Lendecke1-3/+3
2009-04-06Convert cli_echo to tevent_reqVolker Lendecke1-4/+4
2009-04-06Add new async libsmb infrastructureVolker Lendecke2-0/+30
I know this is just yet another iteration, but I like this one much better than the one that exists right now :-) It will do trans and echo requests without a _recv helper and without unnecessary memcpy().
2009-04-06Add read_smb_send/recv, dumping keepalivesVolker Lendecke1-0/+5
2009-04-06s3:libads Make ads_get_dn() take a talloc contextAndrew Bartlett1-1/+1
Also remove ads_memfree(), which was only ever a wrapper around SAFE_FREE, used only to free the DN from ads_get_ds(). This actually makes libgpo more consistant, as it mixed a talloc and a malloc based string on the same element. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06s3:smbldap Remove smbldap_get_dnAndrew Bartlett2-3/+1
This removes one more caller to pull_utf8_allocate() Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-01s3-passdb: add smb_create_user().Günther Deschner1-0/+4
Guenther
2009-03-30s3/cups: add encryption supportBjörn Jacke1-0/+1
2009-03-27s3: added per-client statistics to onefs perfcount moduleScott Urban1-8/+0
* we now track, uid, remote ip, and local ip per CIFS operation * removed perfcount_set_client() from perfcount interface as it's unecessary
2009-03-27Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb ↵Jeremy Allison1-0/+2
correctly. For the clustering case. Clustered setups should have only ever used the unsigned version of TDB_DATA in the first place so they can't be in this mess :-). Just do the normal upgrade in the clustered case. Jeremy.
2009-03-26s3:rpc_parse: remove unused init_unistr().Günther Deschner1-1/+0
Guenther
2009-03-25s3-rpc_parse: remove unused smb_io_domsid().Günther Deschner1-1/+0
Guenther
2009-03-25s3: remove unused rpc_parse/parse_sec.c file.Günther Deschner1-5/+0
Guenther