summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
AgeCommit message (Collapse)AuthorFilesLines
2008-06-27libads: Add API call to connect to a global catalog server.Gerald W. Carter1-0/+1
Extends ads_connect() to a new call ads_connect_gc() which connects on port 3268 rather than port 389. Also makes ads_try_connect() static and only used internally to ldap.c (This used to be commit f4c37dbe2c986fb7bfe510cdff3b4a9fbc06d079)
2008-06-19Wrap the unix token info in a unix_user_token in auth_serversupplied_infoVolker Lendecke1-2/+2
No functional change, this is a preparation for more current_user ref removal (This used to be commit dcaedf345e62ab74ea87f0a3fa1e3199c75c5445)
2008-05-28Fix Bug #5285. (libcap header mismatch)Günther Deschner1-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 (This used to be commit 177955141247a4eb56ba0d82dc1add7f52175c40)
2008-05-23drsuapi: add all code required for our drsuapi rpc client.Günther Deschner1-1/+4
Guenther (This used to be commit 7c93190843e77764be4d0f6d4f0b93061c192c98)
2008-05-21Compile endpoint mapper pidl outputVolker Lendecke1-1/+4
(This used to be commit fe8f9e427af3eb42d63fde96c4fe20a255facb95)
2008-05-16Simplify fake_file logicVolker Lendecke1-1/+1
(This used to be commit 93111ea0a1191e8547ad6cf112e2699d3bb3799b)
2008-05-10Remove "user" from connection_structVolker Lendecke1-1/+0
(This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
2008-05-10Add a comment explaining server_info in connection_structVolker Lendecke1-0/+4
(This used to be commit 35438a940734340d5d6389ae0551fe3c25902f93)
2008-05-10Remove the unix token info from connection_structVolker Lendecke1-8/+0
(This used to be commit 2834dacc8d49f77fe55fb5d7e3eb2dda431d1d3d)
2008-05-10Replace nt_user_token with server_info in connection_structVolker Lendecke1-1/+1
(This used to be commit a3738aef59e97d4533010b048534d937d36c0950)
2008-05-10Next try at making the vuid cache circularVolker Lendecke1-1/+1
Jeremy, please check! (This used to be commit a34f73521712e3820d417f0d9ed811723b7681d6)
2008-05-10Add "server_info" to connection_structVolker Lendecke1-0/+2
This will replace all the user identity stuff in connection_struct, for now it is just a source where the other fields in connection_struct are filled from. (This used to be commit 0f53f9e7db9f99f239c4d0950452d0e2cde2ae8b)
2008-05-10Remove unused "force_group" from connection_structVolker Lendecke1-1/+0
(This used to be commit 03944f8d8934cff74e19fc036f7611c1491e0d57)
2008-05-05Remove unused dir_status_structVolker Lendecke1-10/+0
(This used to be commit 425ca59cce886daed0d6c63fe4382aee140c9518)
2008-05-05Remove "userdom_struct user" from "struct user_struct"Volker Lendecke1-2/+0
(This used to be commit 420de035237bb08bc470c9eb820f3da2edaa6805)
2008-05-05Remove "session_key" from "struct user_struct"Volker Lendecke1-2/+0
This one took a bit -- I hope I covered all data paths (This used to be commit 74c88a44422f88d6e2f2cdbfdfa0bafe0dbe06c4)
2008-05-05Remove "guest" from "struct user_struct"Volker Lendecke1-2/+0
(This used to be commit 570a6b80feb5b0dc23213ba936c721e766cd4818)
2008-05-05Remove the unix token info from "struct user_struct"Volker Lendecke1-7/+0
(This used to be commit aa2299d42adf4d27e707ac755e07be70d0af1bb4)
2008-05-05Remove "nt_user_token" from "struct user_struct"Volker Lendecke1-2/+0
(This used to be commit 51d5d512f28eadc74eced43e5e7f4e5bdff3ff69)
2008-05-05Remove "logon_script" from "struct user_struct"Volker Lendecke1-2/+1
(This used to be commit b36fd84186a656f86e4cfb9166fc0ecbffb422cb)
2008-05-05Remove unix_homedir from struct user_structVolker Lendecke1-1/+0
This makes pdb_get_unix_homedir unused. I wonder if that was ever really used... (This used to be commit 36bfd32f1ff878e827db91e9bf233719ecca5b01)
2008-05-05Remove "homedir" from "struct user_struct"Volker Lendecke1-1/+0
(This used to be commit 41f9afd62d8cc6067582d452f3d53a5c67253b69)
2008-05-05Remove connection_struct->mem_ctx, connection_struct is its own parentVolker Lendecke1-1/+0
(This used to be commit 559180f7d30606d1999399d954ceedc798c669a4)
2008-05-02Remove the "stat_open()" function, flag, and all associated code. It was onlyJeremy Allison1-1/+0
being (correctly) used in the can_read/can_write checks for hide unreadable/unwritable and this is more properly done using the functions in smbd/file_access.c. Preparing to do NT access checks on all file access. Jeremy. (This used to be commit 6bfb06ad95963ae2acb67c4694a98282d3b29faa)
2008-04-17IDL: build generated nbt code.Günther Deschner1-0/+1
Guenther (This used to be commit 554dcfdab03f9d06f319a3234d56cf44dc38c9da)
2008-04-07smbd: implement the strange write time update logicStefan Metzmacher1-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 (This used to be commit 2eab212ea2e1bfd8fa716c2c89b2c042f7ba12ea)
2008-04-07locking: store the write time in the locking.tdbStefan Metzmacher1-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 (This used to be commit 6aaa2ce0eeb46f6735ec984a2e7aadde7a7f456d)
2008-03-31Patch from Nicholas Brealey <nick@brealey.org> to distinguish between WinXP ↵Gerald W. Carter1-1/+1
and WinXP64. Defines a new value for the %a variable when detecting a Windows XP 64-bit client. (This used to be commit 0c94918fb52c5345ce30490046b79f81712c30bf)
2008-03-10Use a separate tdb for mutexesVolker Lendecke1-0/+1
Another preparation to convert secrets.c to dbwrap: The dbwrap API does not provide a sane tdb_lock_with_timeout abstraction. In the clustered case the DC mutex is needed per-node anyway, so it is perfectly fine to use a local mutex only. (This used to be commit f94a63cd8f94490780ad9331da229c0bcb2ca5d6)
2008-02-17Use pidl for NTSVCS.Günther Deschner1-0/+1
Guenther (This used to be commit 84a9bf0b7372bd7b7d4a1490c45e68b69889af8a)
2008-02-17Add krb5pac IDL from samba4.Günther Deschner1-0/+1
Guenther (This used to be commit dc2e563e1fe5a18dc799e195d89199a59e3e05a7)
2008-01-25Use generated DSSETUP client & server rpc functions and remove the ↵Günther Deschner1-1/+2
hand-written ones. Guenther (This used to be commit d5ebfccebb1f1b56b45673a506fcdb414103c43b)
2008-01-24Re-run make idl and use generated ndr based on samba4 security.idl (except ↵Günther Deschner1-4/+1
for DOM_SID). Guenther (This used to be commit 1781a57b18f681f1bc03873330147a813f10eba2)
2008-01-22Move samba_extended_info_version to smbd/trans2.cVolker Lendecke1-1/+0
This is right now only used there, and in version.c it gave linker errors because some binaries (e.g. smbmnt) don't link in time.o (This used to be commit 1f0eaaa5911f893c822465a26fe49ab65afb0730)
2008-01-22Get Samba version or capability information from WindowsCorinna Vinschen1-0/+12
On Jan 21 16:18, Danilo Almeida wrote: > Corina wrote: > > > + time_t samba_gitcommitdate; > > And: > > > + SIVAL(pdata,28,extended_info.samba_gitcommitdate); > > + memcpy(pdata+32,extended_info.samba_version_string,32); > > Note that you are dropping bits on a system w/64-bit time_t, and that this has the 2038 problem. Right. I changed samba_gitcommitdate from time_t to NTTIME and shortened samba_version_string to 28 bytes. New patch below. Thanks, Corinna (This used to be commit 28aa1c199d3a22cda34afcaab49c0561eeb0abcb)
2008-01-22Hide streams from the EA APIVolker Lendecke1-0/+2
(This used to be commit e9bb3d5067b74a29beb778f85687829778e42b5b)
2008-01-19Add streams supportVolker Lendecke1-0/+5
This is the core of the streams support. The main change is that in files_struct there is now a base_fsp pointer that holds the main file open while a stream is open. This is necessary to get the rather strange delete semantics right: You can't delete the main file while a stream is open without FILE_SHARE_DELETE, and while a stream is open a successful unlink of the main file leads to DELETE_PENDING for all further access on the main file or any stream. (This used to be commit 6022873cc155bdbbd3fb620689715f07a24d6ed1)
2008-01-18Add the "allinfo" command to smbclientVolker Lendecke1-0/+10
Modeled after the Samba4 allinfo command (This used to be commit 3fa0cf3fe5f819f6e76df6f7cef3bb4e1c307a52)
2008-01-17Finally enable pidl generated SAMR & NETLOGON headers and clients.Günther Deschner1-25/+2
Guenther (This used to be commit f7100156a7df7ac3ae84e45a47153b38d9375215)
2008-01-17Use pidl generated data from misc.idl.Günther Deschner1-10/+10
Guenther (This used to be commit 5d8e5cbc3b3ddd1c5788d66f252e4801739243bb)
2008-01-15Include libnet_join.h in the right places.Günther Deschner1-0/+2
Guenther (This used to be commit 586d6cef521cebfd6fe2d433fdef498d4a59cb1b)
2008-01-04Refactor the crypto code after a very helpful conversationJeremy Allison1-0/+4
with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy. (This used to be commit c4e5a505043965eec77b5bb9bc60957e8f3b97c8)
2008-01-02Happy new year !Günther Deschner1-1/+1
Guenther (This used to be commit 9a58cd57953d6aead14789daa47a3badef19496d)
2007-12-27Add the capability to set "smb encrypt = required"Jeremy Allison1-0/+1
on a share (or global) and have the server reply with ACCESS_DENIED for all non-encrypted traffic (except that used to query encryption requirements and set encryption state). Jeremy. (This used to be commit d241bfa57729bb934ada6beabf842a2ca7b4f8a2)
2007-12-26Add SMB encryption. Still fixing client decrypt butJeremy Allison1-1/+2
negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
2007-12-22Cache the underlying filesystem capabilities at connection time.James Peach1-0/+4
This change alters the Samba connection code to cache the filesystem capabilities when a new client connects. This can be used to enable filesystem specific optimisations is a general manner. (This used to be commit de3c5b808a941ac8e9ebe7169536d8290067eef5)
2007-12-17Add combined flag LOOKUP_NAME_LOCAL.Michael Adam1-0/+4
Presence of LOOKUP_NAME_ISOLATED as the only flag is not the sign for doing local lookups only but the sign for allowing lookups of unqualified names. The correct sign is absence of the flag LOOKUP_NAME_REMOTE. Michael (This used to be commit cd8c0057446a1311a860f6cc3876a113568f6c30)
2007-12-13Add flags for correctly implementing lsa_lookup_name levels.Michael Adam1-1/+9
(Prepare fix for Bug #4801.) Michael (This used to be commit 537b12647e25adcb7da3581f18d2e9feca1caf0c)
2007-12-10Don't need an fstring here, we can talloc.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3f6cc826378729c9157ea68e7cf5c7b584bbb585)
2007-12-07We don't need P_GSTRING or P_UGSTRING anymore.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 78dc75600099b5b3b5a8ecffec747a227ff51d70)