summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21Some C++ warningsVolker Lendecke9-13/+13
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
2007-12-21Fix a C++ warningVolker Lendecke1-1/+1
(This used to be commit c31c7e3e24875ce75bc18f0ad7529320eab8e50a)
2007-12-21Fix a C++ warningVolker Lendecke1-1/+1
(This used to be commit 7e1d9b561f6df233b8c7eaec83d1e4207b5a2fb0)
2007-12-21Fix a missing prototype warningVolker Lendecke1-0/+1
(This used to be commit 93e5de23e7109432f554745b18c6d630a39f9c2b)
2007-12-21Remove some statics from md4.cVolker Lendecke1-7/+13
(This used to be commit 7e193c68b2a7eb16afc12379a4ceed41053d1eeb)
2007-12-21Add a singleton cacheVolker Lendecke2-3/+20
First user is yp_default_domain (This used to be commit c19363eb77fcc3e1bf3341e6373d38f1e91fc08f)
2007-12-21Make data_blob_string_const return null terminated stringsVolker Lendecke1-1/+1
... nobody was using it, so we're free to change it now :-) (This used to be commit 4b06c68482247d859ec30b8b1920706e43358989)
2007-12-21Remove next_token_nr_talloc and its associated globalVolker Lendecke3-152/+124
Only client.c and clitar.c used this, I think they should carry the static themselves. Also move the a bit funny routine toktocliplist to clitar.c, the only place where it is used. (This used to be commit 86d9412611fd99c21e15c71d30a3f95e35d8535b)
2007-12-21Convert the pwnam cache to memcacheVolker Lendecke1-53/+15
(This used to be commit 032c5589fe7f9f2fcb0f336e72517a81a720b6ce)
2007-12-21Add memcache_add_tallocVolker Lendecke2-1/+59
The first memcache API only had blobs, but we have quite a few objects that are more complex talloc'ed structues. The current one I'm looking at is the getpwnam cache, but there are others around. (This used to be commit ea0e5ad9a15c848904dee8cb2d3e392b6a894705)
2007-12-21Add a global cacheVolker Lendecke3-0/+44
It hurts, but I think this global variable is necessary for transition, and it has the potential to remove quite a few other global variables without messing with APIs too much. (This used to be commit c131d0dc52ec09c9227eff3d68877369c37aaed5)
2007-12-20fix dump printout when byte >= 0x80Herb Lewis1-1/+1
(This used to be commit e18fab269c7370a6670c56eeab60fd90feecf0b2)
2007-12-20Fix typo in filesystem capabilities bits.James Peach1-3/+1
(This used to be commit 08fee0d28a20648d74c6b03d120eaf628f4de70c)
2007-12-20Attempt to fix the buildVolker Lendecke1-0/+2
James, at least on my Linux system neither FILE_CASE_SENSITIVE_SEARCH nor FILE_CASE_PRESERVING_NAMES seem to be defined anywhere. Is it possible that this is a MacOS/X specific thing? If so, could you add configure tests for this? Thanks, Volker (This used to be commit 465fd4385013c95f9778d710d70796feae4eb858)
2007-12-19Remove unused variable 'didmsg'.James Peach1-4/+0
(This used to be commit 5de89dd6e0a8a56a5a0f998e3b1d3538367db7d6)
2007-12-19Fix a couple of warnings in mDNS registration. One of these is anJames Peach1-2/+1
actual bug where we pass a pointer instead of a pointer to a pointer. (This used to be commit 36db6755103f01cb74bf4194fc81ca6d4b5320e4)
2007-12-19Add filesystem capabilities bitmask to statfs info.James Peach2-0/+87
This patch adds Darwin support for the Samba statfs VFS call. It also adds a filesystem capabilities bitmask to the information returned by the call. (This used to be commit 555173eb3f6511e88798d6ef3d1fed0c219a9921)
2007-12-19Expose per-fsp extension talloc context.James Peach2-2/+23
This patch supplements the fsp extension API with an operation to retrieve the malloc zone pointer for that fsp. (This used to be commit d5d9e4084cfb3db3bebff0334b93f376022ef5d3)
2007-12-19Release per-fsp data on file closure.James Peach1-0/+5
(This used to be commit 9fead46b54519b3df78a869dbc99207046587d6a)
2007-12-20Only retrieve password policies in pam_auth when WBFLAG_PAM_GET_PWD_POLICY ↵Michael Adam3-7/+11
is set. This essentially re-establishes r14496 (2155bb0535656f294bd054d6a0a7d16a9a71c31b) which was undone in r17723 (43bd8c00abb38eb23a1497a255d194fb1bbffffb) for reasons that are unclear to me. Maybe I am being too naive. Now we do again only retrieve the password policy when called from the pam_winbind module. This fixes logons delegated to AD trusted domain controllers: We need to connect to the sam to retrieve the password policy. But auhtenticated session setup is not possible when contacting the trusted domain dc and afterwards, SamrConnect also fails with whatever credentials and method used. Michael (This used to be commit 6d765e0de523211a2d0b43a2c4c4117f5f0c662f)
2007-12-19Change the prototype of the vfs function get_nt_acl().Michael Adam12-102/+19
Up to now, get_nt_acl() took a files_struct pointer (fsp) and a file name. All the underlying functions should need and now do need (after the previous preparatory work), is a connection_struct and a file name. The connection_struct is already there in the vfs_handle passed to the vfs functions. So the files_struct argument can be eliminated. This eliminates the need of calling open_file_stat in a couple of places to produce the fsp needed. Michael (This used to be commit b5f600fab53c9d159a958c59795db3ba4a8acc63)
2007-12-19Prepare the afs acl module for the api change in get_nt_acl().Michael Adam1-43/+77
This makes both of afsacl_[f]get_nt_acl() more specific, eliminating the need for afs_get_nt_acl(). Instead, split afs_to_nt_acl. Michael (This used to be commit 15caf58c81ce6b68eefa03c8f8510c2ecb5fdeb3)
2007-12-19Prepare the aix2 acl module for the api change in get_nt_acl().Michael Adam1-11/+21
This makes both of aixjfs2_[f]get_nt_acl() more specific, eliminating the need for aixjfs2_get_nt_acl_common(). Michael (This used to be commit 36e2a814ba50feefa34c76353c0f5dec1d7cfff4)
2007-12-19Change aixjfs2_get_nfs4_acl() to take file name instead of fsp.Michael Adam1-5/+5
In preparation of the api change in api change in get_nt_acl(). Michael (This used to be commit 40a1438e17c462990e6b71b544c39f093236d5be)
2007-12-19Fix two debug statements: Add missing printf parameter.Michael Adam1-2/+2
Michael (This used to be commit 1c4f74551f48429ee3af2022101a97679e25cdea)
2007-12-19Reformatting: wrap long lines and remove trailing spaces.Michael Adam1-3/+7
Michael (This used to be commit f6db5a0d0571130f765d8a0fb4e20e61cc8b2487)
2007-12-19Prepare the zfs acl module for the api change in get_nt_acl().Michael Adam1-9/+28
Michael (This used to be commit 04258231dc654df077638edb7cb08542e39b7547)
2007-12-19Prepare the gpfs acl module for the api change in get_nt_acl().Michael Adam1-12/+21
This moves functionality from gpfsacl_get_nt_acl_common() back to gpfsacl_get_nt_acl() and gpfsacl_fget_nt_acl(), making both these functions more specific (calling the corresponding fsp- and non-fsp functions). gpfsacl_get_nt_acl_common(). is removed. Michael (This used to be commit d6043c1066322d2c567aedc5eae1a9d46c8fc396)
2007-12-19Split smb_get_nt_acl_nfs4 into two (f- and non-f-variant).Michael Adam5-13/+44
This is the next step in preparation of a get_nt_acl prototype change. Michael (This used to be commit 7afeb1c6cb1bdb58d1e61c54ae215d947d8dc3ea)
2007-12-19Split smbacl4_GetFileOwner into two (f- and non-f-variant).Michael Adam1-19/+29
This is in preparation of a get_nt_acl prototype change. (This used to be commit e0672a46a2e5e655da32499ca7f52a9156e9b7f0)
2007-12-19Split get_nt_acl() into two functions: fsp- and non-fsp variant.Michael Adam4-67/+152
Replace smbd/posix_acls.c:get_nt_acl() by two funcions: posix_get_nt_acl() and posix_fget_nt_acl(). The first takes a connection struct and a file name instead of a files_struct pointer. This is in preparation of changing the vfs api for SMB_VFS_GET_NT_ACL. Michael (This used to be commit 50c82cc1456736fa634fb656e63555319742f725)
2007-12-19Remove the "is_directory" parameter from canonicalise_acl():Michael Adam1-7/+9
It can be retrieved from the stat buffer. Michael (This used to be commit b0ae830bf57dcaec00b2a2eabfec7221a3b7f791)
2007-12-19Change canonicalise_acl() to not take an fsp.Michael Adam1-8/+15
Convert canonicalise_acl() to take connection_struct, is_directory and file name instead of files_struct pointer. Michael (This used to be commit d579a7f84fd47a3f00215725cecd65b21a5ff2e0)
2007-12-19Change ensure_canon_entry_valid() to not take and fsp.Michael Adam1-10/+11
Convert ensure_canon_entry_valid() to take share_params and an is_directory flag instead of an files_struct pointer. Michael (This used to be commit bdb208124bd703edee03ac4d2a4ec45ecdfc135e)
2007-12-19Change apply_default_perms() to not take an fsp.Michael Adam1-14/+15
This is a first change in a series: Pass what is needed instead of files_struct pointers to some functions. This is in preparation of introducing two variants of get_nt_acl - one for fname (which does not need an fsp), one for file descriptor. This changes apply_default_perms to take share_params (rather thatn snum) and an is_directory flag instead of an fsp. Michael (This used to be commit d7e2e93758f6598a0459db3255300558618f066e)
2007-12-19Remove Get_Pwnam and its associated static variableVolker Lendecke12-66/+67
All callers are replaced by Get_Pwnam_alloc (This used to be commit 735f59315497113aebadcf9ad387e3dbfffa284a)
2007-12-19Fix a "no prototype" warningVolker Lendecke1-0/+1
(This used to be commit e5bd32812dd1e864e51c2199fd90d71813517f68)
2007-12-19Fix debug messagesVolker Lendecke1-8/+9
When warning that "client plaintext auth" is not enabled where the server requested them we should not talk about "client use plaintext auth" (This used to be commit 7799e18994354b2705ee8c64ae8c75e062ace460)
2007-12-19Samba Shared Repository - branch v3-2-test updated - ↵Volker Lendecke1-10/+8
initial-v3-2-unstable-716-g12cce3b On Tue, Dec 18, 2007 at 06:04:32PM -0600, Jeremy Allison wrote: > Fix valgrind error in dbwrap_rbt where rec_priv->node was > being accessed after free. VALOKER PLEASE CHECK THIS VERY > CAREFULLY !!!! This is a correct fix in that it fixes the > valgrind error, but it looks inelegant to me. I think if > I understood this code better I could craft a more subtle > fix. Still looking at it.... Thanks a lot. Fully correct. What about the attached little simplification? Volker (This used to be commit 5b72828600fb057a7aeb5f1a6fb6c23c23f28cd8)
2007-12-19packet_struct is used in several places as raw memoryVolker Lendecke1-0/+2
-> Fix more uninitialized variable warnings (This used to be commit 0af02db6f2f84a8ce5d614e5baec27f20b413c26)
2007-12-19Some paranoia checksVolker Lendecke1-0/+8
(This used to be commit ff644cfa1b123e9d0f8f4817504e5b209b85dedd)
2007-12-19Zero the tdb key, there might be paddingVolker Lendecke1-0/+2
This leads to uninitialized variable warnings if nmbd is run under valgrind. (This used to be commit 9ec4f91f35696e5a00e24fe9ae2dd06119482c80)
2007-12-19Today is not my day...Volker Lendecke1-1/+1
dmapi.c certainly did compile now... (This used to be commit 93f3a1172af2f1a20f0c4c26ec8be999546d95f8)
2007-12-19Rename cache.[ch] to memcache.[ch]Volker Lendecke3-4/+4
cache.h conflicts with an XFS DMAPI include on "opi" :-( (This used to be commit b8db804e07cc19d406ba3892d6eecbe16132a89a)
2007-12-19Merge WERR_NO_SUCH_LOGON_SESSION from Samba4.Günther Deschner2-0/+2
Guenther (This used to be commit 7b528647879bb55c9c85243a3e2906c09490edc9)
2007-12-19Add and use some keystr functions using talloc_tos() in secrets api.Günther Deschner1-44/+123
Guenther (This used to be commit 6ccbf67a0c6f117978df55d4e2565d34fddf9317)
2007-12-19Add cmd_wkssvc_enumeratecomputernames to rpcclient.Günther Deschner1-0/+37
Guenther (This used to be commit 289151393a43c7f0c2baafdd79d1163fc80aad6a)
2007-12-18Two more static fstrings gone.Jeremy Allison1-12/+43
Jeremy. (This used to be commit 4056bb8645821fba95d6e9ca4d82e2d5084c1e5c)
2007-12-18Remove last_message completely as it's no longer used.Jeremy Allison2-9/+0
Jeremy. (This used to be commit c378c3edc1197d46c5d6eb2bcabbf9e774c03ffc)
2007-12-18Remove another static fstring.Jeremy Allison1-3/+8
Jeremy. (This used to be commit f9182bbe628cb5f5395a08b2e09d4a282a99d7dc)