summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11706: Implement dsr_getdcname client code. It's handy: It not only gives ↵Volker Lendecke1-0/+28
you the IP address but also the fqdn of the remote dc and site info. Volker (This used to be commit 62d01ce7e6c14971084c208ab61f379cb172cb22)
2007-10-10r11655: Two small fixesGerald Carter1-4/+26
* remove redundant call to sub_set_smb_name() in session setup code. * Fix lockup when running 'wbinfo -t' on a Samba PDC. Cause was new authenticated session setup from winbindd which resulted in a mangled username (machine_) that was not found in the local files and so was queiued up to nss_winbindd. Deadlock.... So now make sure to keep the trailing '$' for machine account names when calling sub_set_smb_name(). (This used to be commit b0a2d43b603c2e230da6ada73587696605102e8f)
2007-10-10r11614: Replace old crc32 code with one from the FreeBSD tree.Jeremy Allison1-56/+92
* COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or * code or tables extracted from it, as desired without restriction. Jeremy. (This used to be commit 11c6b8ecd601ff2f6eaf184efeed8e39f54fdcf1)
2007-10-10r11560: Fix core dump if setmntent returns NULL.Jeremy Allison1-0/+3
Pointed out by Jay Fanlason @ Red Hat. Jeremy. (This used to be commit e8136ae746b5be51b252d900aa732c8106fefcaf)
2007-10-10r11530: Add the "time offset" parameter back in for people whoJeremy Allison1-1/+1
might use it. Jeremy. (This used to be commit b745114423a482ea8cd1ea4f80ec3fc2a9caa971)
2007-10-10r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2-244/+234
of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy. (This used to be commit 414303bc0272f207046b471a0364fa296b67c1f8)
2007-10-10r11446: Remove unused fn. Remove unneeded strncpy use.Jeremy Allison1-7/+2
Jeremy. (This used to be commit d202aae3c821f3d78ff063d867bac1f84dca3548)
2007-10-10r11383: Patch from Alex Masterov <alex@infobit.ru> to fixJeremy Allison1-3/+83
XATTR calls on *BSD systems (bug #3218). Jeremy. (This used to be commit 3d8faf42e854a720aca5c2e0a4682c85a3dfd365)
2007-10-10r11230: Remove the '//' i was using to test something...oopsJim McDonough1-1/+1
(This used to be commit cda5a81bbe52308a81a79eb0354aea63027a9701)
2007-10-10r11229: an even bigger speedup spotted by Volker. string_to_sid() is now ↵Jim McDonough1-2/+2
taking 1/5th the time it used to. Replace strcasecmp with invididual char checks for "S-" sid prefix. (This used to be commit de3d0094b78cb20da7ed958e8d3a428583694309)
2007-10-10r11228: Speed up string_to_sid by removing next_token calls, thus eliminatingJim McDonough1-34/+27
the need for allocating memory to duplicate the string. (This used to be commit e5cc94f13ff2dacb219c8a56fa13853d620ecda6)
2007-10-10r11159: Added some const to fix warnings.Jeremy Allison2-4/+4
Jeremy. (This used to be commit de27b0eef2eb021f28e8bf300c4dd524e30fc7ed)
2007-10-10r11156: Remove valgrind disabling ifdef that got added by mistake.Jeremy Allison1-2/+0
Jeremy. (This used to be commit fc9eca51e02022ccffbad2a4f2450f85e558e151)
2007-10-10r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison7-94/+101
x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
2007-10-10r10976: Fix the build with openssl-0.9.8a.Günther Deschner2-0/+4
Guenther (This used to be commit 081409a724fce1f6e6f29bfcc824fd3f5ec6d9ff)
2007-10-10r10962: fix setting of quotas on linux kernel with theStefan Metzmacher1-0/+1
struct if_dqblk interface metze (This used to be commit 1eafe33c887194d828d685ac8677469917b6c419)
2007-10-10r10730: Janitor for tridge on the "fix to talloc_parent() from Michael O'Brien".Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2f3750d95b75b186771cab13b842c91bd7926df1)
2007-10-10r10674: We no do define timeval_currentVolker Lendecke1-7/+0
(This used to be commit c80e5ce1103a4c8f17120ecf715d962cfa532f22)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter17-281/+720
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r10606: pdb_*sql patches fromGerald Carter1-4/+1
Uli Meis <a.sporto@gmail.com> Peter Rindfuss <rindfuss@wz-berlin.de> (This used to be commit 8bf124adaf4d6cacc18ebca82d96eabe47088151)
2007-10-10r10454: * prevent privilege code from storing an empty SIDGerald Carter1-7/+31
(and filter it out if one is already there) * Fix LUID value match in privilege_set_to_se_priv() (fix jmcd's bug report). (This used to be commit 356334264f5cd3a2480c3288ec40e0ee63264e1b)
2007-10-10r10234: Add new auth module "auth_script" to allow valid users toJeremy Allison1-2/+2
be provisioned on demand - calls script with domain, username, challenge and LM and NT responses - passing the info through a pipe. Jeremy. (This used to be commit 67be4ee41cd244bcc0445cac7c9e1e2d40e93c9b)
2007-10-10r10163: try to fix the build on fedora 4, when --with-quota is not usedStefan Metzmacher2-0/+12
(to actually fix the quotas, more work is needed) metze (This used to be commit ff82c247c5bf4093723e4ce702a4afe38257a31b)
2007-10-10r9998: starting content for maintainers fileGerald Carter1-54/+7
(This used to be commit 554c22faeefe6932a01aa7bd6e2861c5abd37510)
2007-10-10r9953: get rid of compiler warning.Günther Deschner1-1/+1
Guenther (This used to be commit d4698acd5039dec0a375bb2841d02a2e305ded74)
2007-10-10r9952: Adapt better to the Windows way of taking and assigning ownership:Günther Deschner1-0/+1
* Users with SeRestorePrivilege may chown files to anyone (be it as a backup software or directly using the ownership-tab in the security acl editor on xp), while * Users with SeTakeOwnershipPrivilege only can chown to themselves. Simo, Jeremy. I think this is correct now. Guenther (This used to be commit 1ef7a192eed457d302a08c692bb54a73a1af4afd)
2007-10-10r9780: Clean up a bunch of compiler warnings.James Peach1-2/+3
(This used to be commit 623d2e69319ffead31a780a4d6156dae45f386d7)
2007-10-10r9619: Fix messages_pending_for_pid actually do what it's meant to do. This ↵Volker Lendecke1-1/+1
might be a big relief on messages.tdb contention as ignoring processes with >1000 messages in printing/notify.c should work correctly now. Jeremy, Jerry told me to ask you about printer scalability torture tests, this might be a reason why you implemented the message_send_pid_with_timeout using the signal (shudder) in the first place. :-) While looking at that... Wouldn't it be better to not use the signal but have an overall timeout for print_notify_send_messages using GetTimeOfDay & friends and not use the alarm signal deep inside tdb.c? Volker (This used to be commit b5e82bb512d3425839e061e78f4d6fe0bd05b708)
2007-10-10r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.Jeremy Allison1-2/+2
Jeremy. (This used to be commit b242f278601e1a23c9116009482e802326d418f7)
2007-10-10r9536: Fix one more DIR -> SMB_STRUCT_DIR typo.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c5b79a6709a1333d1d69d9216620b1f06fdfd5d3)
2007-10-10r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a ↵Jeremy Allison1-6/+6
UNIX vendor not understanding abstract data types :-(. Jeremy. (This used to be commit be5b4e2fa3ed30b0ff01b47d2354e5f782a12e25)
2007-10-10r9353: Updating troublshooting error message.John Terpstra1-1/+2
(This used to be commit 7744de8ead6aef67278368e407dd1db8b9437348)
2007-10-10r9325: Remember to ignore FILE_SHARE_DELETE when mapping to old shareJeremy Allison1-2/+1
modes for display. Jeremy. (This used to be commit f00d41a9dcd03033c59a399090058c76b5ce14c1)
2007-10-10r9282: Whitespace.Jeremy Allison1-10/+10
Jeremy. (This used to be commit 183a4705114da7c3662b71405457123ce35b5358)
2007-10-10r9271: Fix problems with german umlauts - strcmp_w was broken (needs to ↵Jeremy Allison2-9/+9
always re-call macro on termination). Fix all other cases where this was also occurring. Jeremy. (This used to be commit 816e2fbb39b544b7f62d5351f3a8e0af63717227)
2007-10-10r9203: Bugzilla bug #2314. Cast away the const of the dev argument to ↵James Peach1-14/+14
quotactl to remove the compiler warning. This is safe since quotactl doesn't modify the dev argument. (This used to be commit ec4ea17ce603a22db11d658512f125948e604a02)
2007-10-10r9201: Ouch.... :-(Volker Lendecke1-1/+1
(This used to be commit c78760d71ec6a364a912ba35e8a90f8005fdc018)
2007-10-10r9198: Convert hex_encode and strhex_to_data_blob to take a talloc context.Volker Lendecke1-5/+11
Volker (This used to be commit c7d10e2c834d8d5136e2d01dea1ad286757deddb)
2007-10-10r9029: Another crash bug when enumerating privileges.Günther Deschner1-1/+1
Thanks Volker! Guenther (This used to be commit e59c7c76d7ce52c7e16c4978c017636383ec57a5)
2007-10-10r8961: Merge IRIX fix for socket wrapperJelmer Vernooij1-4/+17
(This used to be commit bd49c3133988300969e64a20c6c85fff768b985b)
2007-10-10r8946: Some casts to fix warnings when time_t is an unsigned type. FixesTim Potter1-3/+3
bugzilla #1888 and #1894. (This used to be commit dcc74371388d280d8ee5130a04e1594ae88d19b3)
2007-10-10r8928: Fix mangle method = hash - bugid #2946. Incorrect strcmp_wa andJeremy Allison1-2/+2
strncmp_wa. Jeremy. (This used to be commit 604c1b239bca316f7afaf76b1a586c638f3a2562)
2007-10-10r8899: various compiler warning fixes reported by Jason Mader ↵Gerald Carter1-1/+1
<jason@ncac.gwu.edu> (This used to be commit d8ae9f2b3e5387ef2c4e84cd9c33f4a7c795b0d3)
2007-10-10r8892: Fix #2942 - missing value in debug ! Doh !Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8bb12c66d37a1cfbd3069cdba408cc051e84112a)
2007-10-10r8795: fix our perpetual motion maching in strncpy_w()Gerald Carter1-1/+1
(This used to be commit 3228e93ef2beda6f3551b2630e48db18bafd2e20)
2007-10-10r8762: Attempt to fix the winbindd crashing bug on Solaris (can't rememberJeremy Allison1-113/+253
the bugid). Make the functions in lib/util_unistr.c odd-alignment safe using some evil macros. Needs testing on bigendian. Jeremy. (This used to be commit 871c647bc3ee465e613cba260d9cd7e66e47b68a)
2007-10-10r8757: Add debug messages so we can see what attributes and values are beingJeremy Allison1-0/+3
set/deleted/modified in an ldap query. Jeremy. (This used to be commit 813207205436ba4ebd2148285f937c05be8ffd22)
2007-10-10r8716: adding 'username map script' which if defined takes precendence overGerald Carter1-15/+54
the username map file. (This used to be commit 46f2897fdc1f9308f2cc15834c8b039c17c34707)
2007-10-10r8704: Patch from Timur Bakeyev <timur@com.bat.ru> to fix typoJeremy Allison1-1/+1
calling wrong aio_fsync function. Bugid #2909. Jeremy. (This used to be commit 6ea3aadd6630a62d52a9a6e09995b57f55e60d41)
2007-10-10r8686: Revert %LOGONSERVER%-substitution. The substition is done on the client,Günther Deschner2-11/+20
not on the server. We now preserve this windows variable (important for vampired setups) and correctly substitute only the "%L"s in strings like: "%LOGONSERVER% %L %lOgOnSeRvEr% %L". Guenther (This used to be commit dccf777f42ce1d3f788548842fb8a606bed5708c)