summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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)
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-17Remove t_doschar.cVolker Lendecke2-46/+0
(This used to be commit b89f87242b9c949401f3fa9b352211906cb76895)
2007-12-16Remove another static string and static passwd.Jeremy Allison1-19/+22
Jeremy. (This used to be commit 2a700c5a57a417add3b1975b2c396d20c8a5f301)
2007-12-16Remove a static fstring.Jeremy Allison1-20/+30
Jeremy. (This used to be commit 898c56c0ead6331721de9645ce55608cbe7cf34d)
2007-12-16get rid of doschar_table[]Volker Lendecke1-54/+4
If I'm not completely blind, then check_dos_char is *only* used in the case when we can't mmap() valid.dat. To me this looks as if we initialize the 65536 bits in doschar_table[] with check_dos_char_slowly, use it once to initialize valid_table[] and *never* use them again. I think there's no point in keeping these 8k of modified memory around for an unlikely case (no "valid.dat") and even that only to use it exactly once. (This used to be commit 0bfea7259e4091c6d914528a0e65fc10d8a56fb8)
2007-12-16Tiny fixes to init_valid_table()Volker Lendecke1-2/+2
(This used to be commit a8948e0727b100945ab730d4d144ccbe219bbc94)
2007-12-16Make init_doschar_table() staticVolker Lendecke2-2/+3
It's only called directly before init_valid_table() anyway, so move it there. (This used to be commit b6d1d2428866712a550a354732e2386b4f87b67b)
2007-12-16Make check_dos_char staticVolker Lendecke1-1/+1
It's only called in t_doschar, a pretty bogus test program that is not compiled by default (This used to be commit 99c59e809ef3c5abcdfb796d50be7c40f7033787)
2007-12-16make use of unmarshall_sec_descVolker Lendecke1-19/+12
(This used to be commit ced0c42f055a672f6b4ab6ba809b0f63c83b431e)
2007-12-16make use of [un]marshall_sec_desc, allow for fd==-1 in get/set_secdescVolker Lendecke1-87/+46
(This used to be commit 585f5f8831f13260808a82611656fc6ca5caee81)
2007-12-16Cut down memory usage of registry initializationVolker Lendecke2-28/+39
(This used to be commit 264d5dfe9fe97db0b69d7cd04086ad8ed9f78e74)
2007-12-16Remove a static fstringVolker Lendecke1-12/+20
(This used to be commit a9c62c57db9e580640d0265b08b3178496de76a8)
2007-12-16Make smb_np_struct talloc'edVolker Lendecke2-9/+12
Convert "name" from string to a talloc'ed char * (This used to be commit e82069f921b3a22295db91e092c22c459ccd7215)
2007-12-16Remove unused codeVolker Lendecke1-14/+0
(This used to be commit fcd45ad6fb8d89bf6106fbed101060dbe422661a)
2007-12-15Doh, fix typo in error exit.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 44918f39c0598eec681eb9e5c65452f04809c375)
2007-12-15Added patch originally by Andreas Schneider <anschneider@suse.de>Jeremy Allison3-8/+118
to cause us to behave like Vista when looking for remote machine principal. Modified by me. Jeremy. (This used to be commit d0e33840fb4cfc85990d3ee327428b0854a22722)