summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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)
2007-12-15Cope with valgrind > 3.2.x.Jeremy Allison1-0/+4
Jeremy. (This used to be commit e799eb8da6f5e7a2173ba6b8fb040430fd1c6f34)
2007-12-15More work on bug #5082, use LC_ALL as this takesJeremy Allison1-2/+2
precedence. Jeremy. (This used to be commit 446ebae76d6796b30e4c71ff7190337c28637be6)
2007-12-15s/sid_to_string/sid_to_fstring/Volker Lendecke38-126/+135
least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-15Use dom_sid_string for sid_string_tallocVolker Lendecke2-29/+17
Remove some code duplication, but introduce one more dependency on librpc/ndr. Easily turned around so that librpc/ndr depends on lib/util_sid if necessary (This used to be commit 3a0b1b2060facd5f1ac1461b23dd86c75cdd9458)
2007-12-15sid_string_static is no more :-)Volker Lendecke1-11/+8
We now have four ways to do sid_to_string: sid_to_string: Convert it into an existing fstring, when you have one sid_string_talloc: The obvious thing sid_string_tos: For the lazy, use only with care sid_string_dbg: The one to use in DEBUG statements (This used to be commit 7b8276aaa48852270c6b70b081c3f28e316a7a2c)
2007-12-15Replace sid_string_static with sid_to_stringVolker Lendecke13-37/+71
This adds 28 fstrings on the stack, but I think an fstring on the stack is still far better than a static one. (This used to be commit c7c885078be8fd3024c186044ac28275d7609679)
2007-12-15Use sid_to_string directlyVolker Lendecke5-12/+9
It seems a bit pointless to do a fstrcpy(dst, sid_string_static(src)) (This used to be commit c221c246b10e2dbbd54a9af2dc45de2eae237380)
2007-12-15Replace sid_string_static with sid_string_tosVolker Lendecke12-41/+44
In utils/ I was a bit lazy... (This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
2007-12-15Use sid_string_talloc where we have a tmp talloc ctxVolker Lendecke4-34/+41
(This used to be commit 0a911d38b8f4be382a9df60f9c6de0c500464b3a)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke54-349/+330
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-12-15Add sid_string_dbgVolker Lendecke1-0/+5
This makes use of the just added debug_ctx and will kill many sid_string_static() calls (This used to be commit 3e4148c280efe154c3f8d552731c8b29d6977507)
2007-12-15Add debug_ctx according to an idea by TridgeVolker Lendecke1-0/+14
Sorry, Jeremy, I think for debug messages this is just the right way to do it. (This used to be commit 6312016e2727c2b5b1a4964a98cfb9585d77cc8c)
2007-12-15Use sid_string_talloc where we have a tmp talloc ctxVolker Lendecke3-19/+22
(This used to be commit f00ab810d2540679bec109498ac89e1eafe18f03)
2007-12-15add sid_string_tallocVolker Lendecke1-2/+10
(This used to be commit 9e3ef0923d71cc06b8445be2625ebd8dfed1b42d)
2007-12-15Fix a segfaultVolker Lendecke1-2/+2
sid_to_string still expects a fstring (This used to be commit 1f352cdd1976ad36484e146165df585b88ec5527)
2007-12-14Fix for bug #5082 from Mathias Gug <mathiaz@ubuntu.com>, Steve Langasek ↵Jeremy Allison1-1/+9
<vorlon@debian.org>. Recent versions of Linux-PAM support localization of user prompts, so Samba must use the C locale when invoking PAM (directly or via /usr/bin/passwd) to ensure that password chat values match the prompts in a locale-invariant fashion. Jeremy. (This used to be commit bc13e939546a5bcb78925a6b117e89fde20f6451)
2007-12-14selftest: reenable wbinfo tests and pass --configfile instead of -sStefan Metzmacher3-3/+3
metze (This used to be commit 56251f78524416435299e26fca405e77d0f42043)
2007-12-14wbinfo: use POPT_COMMON_CONFIGFILEStefan Metzmacher1-10/+12
We can't use POPT_COMMON_SAMBA as the -s option is already used by -s, --sid-to-name=SID. Also load the config file after processing the cmdline options metze (This used to be commit 33cbd6903e8b468a782fb5d6913eb82824d3b347)
2007-12-14add POPT_COMMON_CONFIGFILE which only provides --configfile (not -s)Stefan Metzmacher2-0/+8
metze (This used to be commit af3392cc20942158ac9e0a533799c5904ff23347)
2007-12-14selftest: disable wbinfo testsStefan Metzmacher1-1/+1
wbinfo needs to take --config-file to work... metze (This used to be commit a8a74fc88cb6f4be1efdc1afab9b91defcd015ae)
2007-12-14selftest: add a bunch of wbinfo based tests for winbinddStefan Metzmacher2-0/+49
metze (This used to be commit 88b6d2c0e83f515e2f83e5b4edc0728c434c7294)
2007-12-14selftest: move workgroup name into WORKGROUP envvarStefan Metzmacher1-2/+3
metze (This used to be commit 8ace8fa82c2ccd6fdb9ca076fb2d6fed203c8126)
2007-12-14Revert smbclient changes.Karolin Seeger1-5/+0
Patch broke option -p. Sorry for breaking the build! Karolin (This used to be commit 81dab4145ffaf21d5d2176b16b5989f4035dd791)
2007-12-14Make smbclient to display error message and usage in the case of invalid ↵Karolin Seeger1-0/+5
options. (This used to be commit 04131b26de08b3cea948ef89921c56561d69dd1d)