summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Convert tldap_make_mod_blob args to "array, count"Volker Lendecke2011-02-131-1/+1
|
* s3: Convert tldap_add_mod_blobs args to "array, count"Volker Lendecke2011-02-131-1/+1
|
* s3: Align the args in tldap_modifyVolker Lendecke2011-02-101-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104
* s3: Align tldap_add and tldap_add_sendVolker Lendecke2011-02-101-1/+1
|
* s3: give ../librpc/ndr/util.c its own header.Günther Deschner2011-02-101-7/+0
| | | | Guenther
* s3-auth Remove unused pam_handleAndrew Bartlett2011-02-101-2/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Rename cryptic 'ptok' to security_tokenAndrew Bartlett2011-02-101-1/+1
| | | | | | | | | This will allow the auth_serversupplied_info struct to be migrated to auth_session_info easier. Adnrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Put OpenDir() back the way it was - don't overload with an fsp arg. Create ↵Jeremy Allison2011-02-101-1/+0
| | | | | | | OpenDir_fsp for new usage. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 10 02:43:31 CET 2011 on sn-devel-104
* Allow SMB2_FIND to actually use the open fd handle if we support fdopendir. ↵Jeremy Allison2011-02-091-1/+3
| | | | Fallback to pathname opendir if not.
* Correctly plumb in VFS_FDOPENDIR.Jeremy Allison2011-02-091-2/+2
|
* s3: move some stuff out of smb.h to better locations.Günther Deschner2011-02-092-6/+2
| | | | Guenther
* s3: remove unused struct uuid_flat.Günther Deschner2011-02-091-7/+0
| | | | Guenther
* s3:popt: add POPT_COMMON_OPTION to provide only the "--option" featureMichael Adam2011-02-091-0/+2
|
* s3:rpc_client: make rpccli_bh_create() non-static for nowStefan Metzmacher2011-02-091-0/+1
| | | | metze
* Add fdopendir to the VFS. We will use this to reuse a directory fd already ↵Jeremy Allison2011-02-093-0/+15
| | | | | | | open by NtCreateX. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 9 00:55:22 CET 2011 on sn-devel-104
* Pass fsp to dptr_CloseDir(). Cope with setting the fd if we're closing an fd ↵Jeremy Allison2011-02-081-1/+1
| | | | that opendir knows about.
* Add fdopendir().Jeremy Allison2011-02-081-0/+1
|
* s3: Fix some nonempty blank lines and some typosVolker Lendecke2011-02-091-3/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 9 00:01:45 CET 2011 on sn-devel-104
* pam: share pam errors in a common location.Günther Deschner2011-02-081-7/+0
| | | | Guenther
* libndr: share some uuid helpers.Günther Deschner2011-02-081-3/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104
* ndr: merge ndr_map_error2string and ndr_errstr.Günther Deschner2011-02-081-1/+0
| | | | Guenther
* ndr: move null_ndr_syntax_id to the common libndr location.Günther Deschner2011-02-081-1/+0
| | | | Guenther
* s3-rpc_server: Added a svcctl shutdown function.Andreas Schneider2011-02-071-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-services: Migrated svcctl registry functions to winreg.Andreas Schneider2011-02-071-12/+0
| | | | | | | | This is a bigger commit. It moves the relevant function to svc_winreg_glue. We need to use them in the same commit else we have problems with prototypes in proto.h. Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Fix auth_netlogond to cope with netlogon_creds_CredentialStateVolker Lendecke2011-02-061-2/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 6 17:30:48 CET 2011 on sn-devel-104
* Fix try_chown code. Use new vfs_chown_fsp() which always trys fd first.Jeremy Allison2011-02-051-2/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 5 03:33:59 CET 2011 on sn-devel-104
* Revert "s3:events: Call all ready fd event handlers on each iteration of the ↵Stefan Metzmacher2011-01-311-1/+1
| | | | | | | | | | main loop" This reverts commit 455fccf86b6544cd17a2571c63a88f8aebff3f74. I'll add a more generic fix for this problem. metze
* Fix bug #7863 - Unlink may unlink wrong file when hardlinks are involved.Jeremy Allison2011-01-252-12/+24
| | | | | | Do this by keeping a linked list of delete on close tokens, one for each filename that identifies a path to the dev/inode. Use the jenkins hash of the pathname to identify the correct token.
* Add uint32_t name_hash argument (currently unused) to get_file_infos().Jeremy Allison2011-01-251-0/+1
| | | | Will be used when we store more than one delete on close token.
* Add name_hash into the share mode entry struct (as yet only use for renames ↵Jeremy Allison2011-01-252-4/+9
| | | | to identify a specific path).
* Add name_hash to files_struct. Set within fsp_set_smb_fname().Jeremy Allison2011-01-252-0/+3
|
* idl: add file_id idl.Günther Deschner2011-01-252-11/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 25 12:27:00 CET 2011 on sn-devel-104
* libndr: move ndr_print_bool to ndr_basic.cGünther Deschner2011-01-251-1/+0
| | | | Guenther
* s3:winbind: Fork multiple children per domainVolker Lendecke2011-01-211-0/+1
| | | | | | | | | | | | This makes us scale better with many simultaneous winbind requests, some of which might be slow. This implementation breaks offline logons, as the cached credentials are maintained in a child (this needs fixing). So, if the offline logons are active, only allow one DC connection. Probably the offline logon and the scalable file server cases are separate enough so that this patch is useful even with the restriction.
* s3: Remove some unused codeVolker Lendecke2011-01-171-2/+0
|
* s3: Remove unused cli_send_keepaliveVolker Lendecke2011-01-171-1/+0
|
* s3: Remove unused cli_send/receive_transVolker Lendecke2011-01-171-9/+0
|
* s3: Make cli_setpathinfo_basic use cli_setpathinfoVolker Lendecke2011-01-171-6/+6
|
* s3: Add cli_setpathinfoVolker Lendecke2011-01-171-0/+5
|
* s3: Rename cli_setpathinfo->cli_setpathinfo_basicVolker Lendecke2011-01-171-6/+6
|
* s3: Remove unused cli_send/receive_nt_transVolker Lendecke2011-01-171-9/+0
|
* s3: Move dump_ntquota* to smbcquotas.cVolker Lendecke2011-01-171-2/+0
|
* s3: Convert cli_set_fs_quota_info to cli_transVolker Lendecke2011-01-171-1/+2
|
* s3: Convert cli_get_fs_quota_info to cli_transVolker Lendecke2011-01-171-1/+2
|
* s3: Convert cli_list_user_quota to cli_transVolker Lendecke2011-01-171-1/+2
|
* s3: Convert cli_set_user_quota to cli_transVolker Lendecke2011-01-171-1/+2
|
* s3: Convert cli_get_user_quota to cli_transVolker Lendecke2011-01-171-1/+2
|
* s3: Convert cli_set_secdesc to cli_transVolker Lendecke2011-01-151-1/+2
|
* s3-printing: Initiate pcap reload from parent smbdDavid Disseldorp2011-01-072-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 7022554, smbds share a printcap cache (printer_list.tdb), therefore ordering of events between smbd processes is important when updating printcap cache information. Consider the following two process example: 1) smbd1 receives HUP or printcap cache time expiry 2) smbd1 checks whether pcap needs refresh, it does 3) smbd1 marks pcap as refreshed 4) smbd1 forks child1 to obtain cups printer info 5) smbd2 receives HUP or printcap cache time expiry 6) smbd2 checks whether pcap needs refresh, it does not (due to step 3) 7) smbd2 reloads printer shares prior to child1 completion (stale pcap) 8) child1 completion, pcap cache (printer_list.tdb) is updated by smbd1 9) smbd1 reloads printer shares based on new pcap information In this case both smbd1 and smbd2 are reliant on the pcap update performed on child1 completion. The prior commit "reload shares after pcap cache fill" ensures that smbd1 only reloads printer shares following pcap update, however smbd2 continues to present shares based on stale pcap data. This commit addresses the above problem by driving pcap cache and printer share updates from the parent smbd process. 1) smbd0 (parent) receives a HUP or printcap cache time expiry 2) smbd0 forks child0 to obtain cups printer info 3) child0 completion, pcap cache (printer_list.tdb) is updated by smbd0 4) smbd0 reloads printer shares 5) smbd0 notifies child smbds of pcap update via message_send_all() 6) child smbds read fresh pcap data and reload printer shares This architecture has the additional advantage that only a single process (the parent smbd) requests printer information from the printcap backend. Use time_mono in housekeeping functions As suggested by Björn Jacke.
* s3-printing: reload shares after pcap cache fillDavid Disseldorp2011-01-071-2/+5
| | | | | | | | | | | | | | | | Since commit eada8f8a, updates to the cups pcap cache are performed asynchronously - cups_cache_reload() forks a child process to request cups printer information and notify the parent smbd on completion. Currently printer shares are reloaded immediately following the call to cups_cache_reload(), this occurs prior to smbd receiving new cups pcap information from the child process. Such behaviour can result in stale print shares as outlined in bug 7836. This fix ensures print shares are only reloaded after new pcap data has been received. Pair-Programmed-With: Lars Müller <lars@samba.org>