summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prepare the aix2 acl module for the api change in get_nt_acl().Michael Adam2007-12-191-11/+21
| | | | | | | This makes both of aixjfs2_[f]get_nt_acl() more specific, eliminating the need for aixjfs2_get_nt_acl_common(). Michael
* Change aixjfs2_get_nfs4_acl() to take file name instead of fsp.Michael Adam2007-12-191-5/+5
| | | | | | In preparation of the api change in api change in get_nt_acl(). Michael
* Fix two debug statements: Add missing printf parameter.Michael Adam2007-12-191-2/+2
| | | | Michael
* Reformatting: wrap long lines and remove trailing spaces.Michael Adam2007-12-191-3/+7
| | | | Michael
* Prepare the zfs acl module for the api change in get_nt_acl().Michael Adam2007-12-191-9/+28
| | | | Michael
* Prepare the gpfs acl module for the api change in get_nt_acl().Michael Adam2007-12-191-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
* Split smb_get_nt_acl_nfs4 into two (f- and non-f-variant).Michael Adam2007-12-195-13/+44
| | | | | | This is the next step in preparation of a get_nt_acl prototype change. Michael
* Split smbacl4_GetFileOwner into two (f- and non-f-variant).Michael Adam2007-12-191-19/+29
| | | | This is in preparation of a get_nt_acl prototype change.
* Split get_nt_acl() into two functions: fsp- and non-fsp variant.Michael Adam2007-12-194-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
* Remove the "is_directory" parameter from canonicalise_acl():Michael Adam2007-12-191-7/+9
| | | | | | It can be retrieved from the stat buffer. Michael
* Change canonicalise_acl() to not take an fsp.Michael Adam2007-12-191-8/+15
| | | | | | | Convert canonicalise_acl() to take connection_struct, is_directory and file name instead of files_struct pointer. Michael
* Change ensure_canon_entry_valid() to not take and fsp.Michael Adam2007-12-191-10/+11
| | | | | | | Convert ensure_canon_entry_valid() to take share_params and an is_directory flag instead of an files_struct pointer. Michael
* Change apply_default_perms() to not take an fsp.Michael Adam2007-12-191-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
* Remove Get_Pwnam and its associated static variableVolker Lendecke2007-12-1912-66/+67
| | | | All callers are replaced by Get_Pwnam_alloc
* Fix a "no prototype" warningVolker Lendecke2007-12-191-0/+1
|
* Fix debug messagesVolker Lendecke2007-12-191-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"
* Samba Shared Repository - branch v3-2-test updated - ↵Volker Lendecke2007-12-191-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
* packet_struct is used in several places as raw memoryVolker Lendecke2007-12-191-0/+2
| | | | -> Fix more uninitialized variable warnings
* Some paranoia checksVolker Lendecke2007-12-191-0/+8
|
* Zero the tdb key, there might be paddingVolker Lendecke2007-12-191-0/+2
| | | | This leads to uninitialized variable warnings if nmbd is run under valgrind.
* Today is not my day...Volker Lendecke2007-12-191-1/+1
| | | | dmapi.c certainly did compile now...
* Rename cache.[ch] to memcache.[ch]Volker Lendecke2007-12-193-4/+4
| | | | cache.h conflicts with an XFS DMAPI include on "opi" :-(
* Merge WERR_NO_SUCH_LOGON_SESSION from Samba4.Günther Deschner2007-12-192-0/+2
| | | | Guenther
* Add and use some keystr functions using talloc_tos() in secrets api.Günther Deschner2007-12-191-44/+123
| | | | Guenther
* Add cmd_wkssvc_enumeratecomputernames to rpcclient.Günther Deschner2007-12-191-0/+37
| | | | Guenther
* Two more static fstrings gone.Jeremy Allison2007-12-181-12/+43
| | | | Jeremy.
* Remove last_message completely as it's no longer used.Jeremy Allison2007-12-182-9/+0
| | | | Jeremy.
* Remove another static fstring.Jeremy Allison2007-12-181-3/+8
| | | | Jeremy.
* We've finished with the old node once we've copied theJeremy Allison2007-12-181-4/+4
| | | | | keyval. Jeremy.
* Fix valgrind error in dbwrap_rbt where rec_priv->node wasJeremy Allison2007-12-181-1/+10
| | | | | | | | | 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.... Jeremy.
* Fix an error when accessing unallocated sid in error path.Michael Adam2007-12-181-3/+3
| | | | Michael
* Add forgotten cache.hVolker Lendecke2007-12-181-0/+51
|
* Add a in-memory cacheVolker Lendecke2007-12-1810-204/+505
| | | | | | | | | | | This is a more general API that caches data with a LRU scheme. See include/cache.h. No comments yet, I'm still working on it. But Jeremy has given me a hint in one of his checkins that he would like to make use of this now. The idea is that we get rid of all our silly little caches and merge them all into one cache that we can then very easily trim, for example even with a smbcontrol message if someone decides memory is tight. The main user is the stat cache, this patch also converts the getwd cache. More caches to come.
* Fix a debug message: add missing space.Michael Adam2007-12-181-2/+2
| | | | Michael
* Add smbclient support for basic mDNS browsing.Rishi Srivatsavai2007-12-174-2/+250
| | | | | Patch from Rishi Srivatsavai (bugzilla #4150), with tallocification and minor syle changes by me.
* More static pstring elimination.Jeremy Allison2007-12-171-26/+86
| | | | Jeremy.
* More static fstring elimination.Jeremy Allison2007-12-172-37/+39
| | | | Jeremy.
* Remove more static fstrings (yes this little cache should beJeremy Allison2007-12-171-19/+49
| | | | | in the rbtree....). Jeremy.
* Correctly define prototypes for accessor functions.Jeremy Allison2007-12-171-3/+3
| | | | Jeremy.
* Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2007-12-172-4/+9
|\ | | | | | | v3-2-test
| * Fix logic error in cm_connect_sam().Michael Adam2007-12-181-1/+0
| | | | | | | | | | | | | | Don't fall back to schannel when trust creds could be obtained. This is still not complete, but I am getting closer. Michael
| * Prevent another segfault.Michael Adam2007-12-181-1/+3
| | | | | | | | Michael
| * Fix a segv in winbindd caused by trying to free an fstring.Gerald (Jerry) Carter2007-12-171-2/+6
| | | | | | | | | | Make a copy of the machine_password and machine_account strings in all conditional paths so that SAFE_FREE() will always be valid.
* | More static fstring removal.Jeremy Allison2007-12-171-33/+116
| | | | | | | | Jeremy.
* | Use the %*s feature of snprintf to remove anothe static fstring.Jeremy Allison2007-12-173-31/+26
|/ | | | Jeremy.
* Do not close netlogon pipe in get_schannel_session_key_common().Michael Adam2007-12-171-1/+0
| | | | | | | This removes one forgotten call of cli_rpc_pipe_close(netlogon_pipe). Correction of e77c4022cfbb868e608edcb06b676658b0e201ad. Michael
* Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-simoSimo Sorce2007-12-173-7/+12
|\
| * Fix bug #5121 (unix passwd sync not working on a streams basedJeremy Allison2007-12-173-7/+12
| | | | | | | | | | system). Jeremy.
* | While 'data' is usually 0 terminated, nothing in the spec requires that. The ↵Simo Sorce2007-12-171-1/+4
|/ | | | | | correct way is to copy only 'length' bytes. Simo.
* Merge in J.Layton patch and resolve conflict.Simo Sorce2007-12-171-26/+64
|