summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-12-18We've finished with the old node once we've copied theJeremy Allison1-4/+4
keyval. Jeremy. (This used to be commit 39f3efbcc5fbdff1db1b12e5fc7368968f240993)
2007-12-18Fix valgrind error in dbwrap_rbt where rec_priv->node wasJeremy Allison1-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. (This used to be commit 12cce3be2a24fd72106d747890caf6c7f29db43d)
2007-12-18Fix an error when accessing unallocated sid in error path.Michael Adam1-3/+3
Michael (This used to be commit 2a0585d3093265a499c9fef60d500059f79b4112)
2007-12-18Add forgotten cache.hVolker Lendecke1-0/+51
(This used to be commit 0dc4d6a8de84c191e339ee08c7f06ca63f83e6f3)
2007-12-18Add a in-memory cacheVolker Lendecke10-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. (This used to be commit 7a911b35713538d82001a3c9f34152e293fe1943)
2007-12-18Fix a debug message: add missing space.Michael Adam1-2/+2
Michael (This used to be commit 6a7f2a59fc370e226ddacb195059155f28c6c157)
2007-12-17Add smbclient support for basic mDNS browsing.Rishi Srivatsavai4-2/+250
Patch from Rishi Srivatsavai (bugzilla #4150), with tallocification and minor syle changes by me. (This used to be commit db74b99d0ef1a60894c838b4c9d0d454db6cf620)
2007-12-17More static pstring elimination.Jeremy Allison1-26/+86
Jeremy. (This used to be commit 92acc0115d8d4111289c2ade1db7bb060ee908db)
2007-12-17More static fstring elimination.Jeremy Allison2-37/+39
Jeremy. (This used to be commit b4dfec09e89428cac9b21a94ce4d24e60d4a54f4)
2007-12-17Remove more static fstrings (yes this little cache should beJeremy Allison1-19/+49
in the rbtree....). Jeremy. (This used to be commit 97cfdae4052d46a35040d4c1a4ade8bf2c41dbc7)
2007-12-17Correctly define prototypes for accessor functions.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 299ea5d122e173adf6edb6399fc90798747b0c97)
2007-12-17Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2-4/+9
v3-2-test (This used to be commit 8223624fea7c1b61e9231168cb4d82771576cbc5)
2007-12-17More static fstring removal.Jeremy Allison1-33/+116
Jeremy. (This used to be commit dcf624aa02cf7415a4a55e6d45606e813ae6b91f)
2007-12-18Fix logic error in cm_connect_sam().Michael Adam1-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 (This used to be commit 7c9fa597d684a25822b4db6615f28336f2d64ef3)
2007-12-18Prevent another segfault.Michael Adam1-1/+3
Michael (This used to be commit 0a9874c1c76c0ccc71caba7ee85a0ee1a91808c5)
2007-12-17Use the %*s feature of snprintf to remove anothe static fstring.Jeremy Allison3-31/+26
Jeremy. (This used to be commit 4ae4b2358688bf289305a2db0ed01b653ac073b2)
2007-12-17Fix a segv in winbindd caused by trying to free an fstring.Gerald (Jerry) Carter1-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. (This used to be commit 194c4640b158457a6d0d5ea91e28d41d619c77de)
2007-12-17Do not close netlogon pipe in get_schannel_session_key_common().Michael Adam1-1/+0
This removes one forgotten call of cli_rpc_pipe_close(netlogon_pipe). Correction of e77c4022cfbb868e608edcb06b676658b0e201ad. Michael (This used to be commit 7f6593cddef048dd05140b05d306c708d8134f0e)
2007-12-17Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-simoSimo Sorce3-7/+12
(This used to be commit e940537d5be870ae622712a3b76dff891739df8c)
2007-12-17While 'data' is usually 0 terminated, nothing in the spec requires that. The ↵Simo Sorce1-1/+4
correct way is to copy only 'length' bytes. Simo. (This used to be commit 814c1b0e0034fb67c7718760dfcf913904f3e7fa)
2007-12-17Fix bug #5121 (unix passwd sync not working on a streams basedJeremy Allison3-7/+12
system). Jeremy. (This used to be commit 545cd2139cfc9484b733693814d4724d37125942)
2007-12-17Merge in J.Layton patch and resolve conflict.Simo Sorce1-26/+64
(This used to be commit 6b1a118eaaab405eeef0cf3c0488a2747af562ba)
2007-12-17Remove direct caller of secrets_fetch_trusted_domain_password().Michael Adam1-1/+1
This is a regession introduced by f7efc0eca9426e63b751c07a90265a12bb39cf95. This calls pdb_get_trusteddom_pw() instead, again. Michael (This used to be commit 91be824d2ba0b8dccf42ba2b8555a204aa1fa56c)
2007-12-17Reformat: Remove trailing spaces.Michael Adam1-47/+47
Michael (This used to be commit 5249b3d204bf5f9191c2a4a7e81d09227eb5ddea)
2007-12-17Make usage message for net sam rights list a little more precise.Michael Adam1-1/+1
Michael (This used to be commit d466a5136d5151e2a3cae7464cb346f0db650554)
2007-12-17Fix for bug #4801: Correctly implement lsa lookup levels for lookupnames.Michael Adam2-22/+60
This patch is still incomplete in that winbindd does not walk the the trusted domains to lookup unqualified names here. Apart from that this fix should be pretty much complete. Michael (This used to be commit f7efc0eca9426e63b751c07a90265a12bb39cf95)
2007-12-17Fix flags in caller of lookup_name() in create_builtin_administrators().Michael Adam1-1/+2
Michael (This used to be commit 46bfbf5c8af6c030e67219a29c49fd2d40003b18)
2007-12-17Fix flags in all callers of lookup_name() in net_sam.c.Michael Adam1-16/+16
Michael (This used to be commit 6d0db17a9e255235d40eabc63e91c9f5d4febcde)
2007-12-17Fix flags in call of lookup_name() in srv_samr_nt.c: can_create().Michael Adam1-2/+2
Use LOOKUP_NAME_LOCAL instead of LOOKUP_NAME_ISOLATED. Michael (This used to be commit 1d4e0ad1142c61de402c925306f02f5de2c872f6)
2007-12-17Fix flags in call of lookup_name() in pdb_default_create_alias().Michael Adam1-1/+1
Use new flag LOOKUP_NAME_LOCAL. Michael (This used to be commit 280d6cb6c8e834ce0a08769e9187b0f40321716f)