summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* r13521: Implement LOOKUPNAME3 and 4.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r13494: Merge the stuff I've done in head the last days.Volker Lendecke2007-10-103-914/+10
| | | | Volker
* r13460: by popular demand....Gerald Carter2007-10-101-3/+24
| | | | | | | | | * remove pdb_context data structure * set default group for DOMAIN_RID_GUEST user as RID 513 (just like Windows) * Allow RID 513 to resolve to always resolve to a name * Remove auto mapping of guest account primary group given the previous 2 changes
* r13427: Fix ctime -> st_ctime.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r13423: Write wrapper functions (and configure tests) so we canJeremy Allison2007-10-101-0/+102
| | | | | | | always assume we can get a struct timespec out of a stat struct. This will allow us to portably move to nsec timestamps on files and directories in the file server code in future. Jeremy.
* r13409: No functional changes, just some DEBUG cleanup.Günther Deschner2007-10-101-2/+2
| | | | Guenther
* r13393: Do not initialize the lp_svcctl_list() value since it is handledGerald Carter2007-10-101-0/+3
| | | | | | internally in services_db.c now. This prevents internal services from being listed twice (one internal and one external) when no 'svcctl list' parameter is explcitly set in smb.conf
* r13374: new revision of the snprintf replace codeSimo Sorce2007-10-101-176/+580
| | | | | | still missing a configure test to make us substitute our snprintf to system one when the system one does not have positional parameters support
* r13350: Implement rpccli_samr_set_domain_info. Weird that it was not around :-)Volker Lendecke2007-10-101-7/+21
| | | | | | | | | | Implement 'net rpc shell account' -- An editor for account policies nt_time_to_unix_abs changed its argument which to me seems wrong, and I could not find a caller that depends on this. So I changed it. Applied some more const in time.c. Volker
* r13316: Let the carnage begin....Gerald Carter2007-10-1019-328/+920
| | | | Sync with trunk as off r13315
* r13310: first round of server affinity patches for winbindd & net ads joinGerald Carter2007-10-101-11/+9
|
* r13293: Rather a big patch I'm afraid, but this should fix bug #3347Jeremy Allison2007-10-102-8/+8
| | | | | | | | by saving the UNIX token used to set a delete on close flag, and using it when doing the delete. libsmbsharemodes.so still needs updating to cope with this change. Samba4 torture tests to follow. Jeremy.
* r13231: apparently strncat() is converted to strcat() on RH7.3 and similar ↵Gerald Carter2007-10-101-2/+4
| | | | systems. Fix the build on those boxes
* r13093: adding vendor patch level string as announced on samba-technical mlGerald Carter2007-10-101-0/+6
|
* r13058: Add %w macro for the winbind seperator which allows us for exampleLars Müller2007-10-101-0/+6
| | | | valid users = %S, %D%w%S
* r13024: Add is_null_sid.Günther Deschner2007-10-101-0/+6
| | | | GUenther
* r12953: Support the TCP_FASTACK socket option if it is available. Note that ↵James Peach2007-10-101-0/+3
| | | | | | this will not acutally help, but it is good to be complete.
* r12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix ↵Gerald Carter2007-10-101-1/+4
| | | | bad access to gencache.tdb after fork() in smbmount
* r12855: Remove erroneous commenting out of valgrind fix.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r12714: Fix segfault in pdb_nds.c.Günther Deschner2007-10-101-4/+4
| | | | Guenther
* r12522: Try and fix bug #2926 by removing setlocale(LC_ALL, "C")Jeremy Allison2007-10-105-21/+68
| | | | | | and replace calls to isupper/islower/toupper/tolower with ASCII equivalents (mapping into _w variants). Jeremy.
* r12398: adding Guenther's account policy migration fixGerald Carter2007-10-101-12/+73
|
* r12387: Make string_to_sid a little more silent.Jeremy Allison2007-10-101-2/+2
| | | | Jeremy.
* r12313: Introduce yet another copy of the string_sub function:Volker Lendecke2007-10-101-1/+73
| | | | | | | | | | talloc_string_sub. Someone with time on his hands could convert all the callers of all_string_sub to this. realloc_string_sub is *only* called from within substitute.c, it could be moved there I think. Volker
* r12306: ReformattingVolker Lendecke2007-10-101-38/+69
|
* r12303: Move split_domain_and_name to util_getent.c and make it static there.Volker Lendecke2007-10-102-28/+31
| | | | Volker
* r12291: Make getgroups_user static.Volker Lendecke2007-10-101-2/+2
| | | | | | | Jeremy, there's a #ifdef'ed 0 call to this in your usershare code. We need to talk about what exactly what you intend to do here and in what scenarios. Volker
* r12279: unix_mask_match has been broken for *ever*... (How).Jeremy Allison2007-10-101-1/+2
| | | | | | | | Ensure it returns a BOOL. Jerry (and anyone else) please check this, I think all uses are now correct but could do with another set of eyes. Essential for 3.0.21 release. Jeremy.
* r12169: Remove an unused functionVolker Lendecke2007-10-101-35/+0
|
* r12051: Merge across the lookup_name and lookup_sid work. Lets see how the ↵Volker Lendecke2007-10-101-42/+3
| | | | | | | | build farm reacts :-) Volker
* r12043: It's amazing the warnings you find when compiling on a 64-bitJeremy Allison2007-10-104-4/+4
| | | | | | | | | | | box with gcc4 and -O6... Fix a bunch of C99 dereferencing type-punned pointer will break strict-aliasing rules errors. Also added prs_int32 (not uint32...) as it's needed in one place. Find places where prs_uint32 was being used to marshall/unmarshall a time_t (a big no no on 64-bits). More warning fixes to come. Thanks to Volker for nudging me to compile like this. Jeremy.
* r12038: This file is no longer used, and no one noticed....Jeremy Allison2007-10-101-86/+0
| | | | Jeremy.
* r11985: Move to LGPL as per tridge's Samba4 change.Jeremy Allison2007-10-101-14/+18
| | | | Jeremy.
* r11962: Bring talloc up to date with Samba4, re-add theJeremy Allison2007-10-102-52/+226
| | | | | | | | | talloc_describe_all() function. Fix smbcontrol <pid> pool-usage as we desparately need it working in the field to track down memory leaks. Seriously, when new functionality like the Samba4 talloc is added, don't just disable working functionality like "pool-usage", fix the damn thing first ! Jeremy.
* r11876: When we are using START_TLS to secure the LDAP connection, we *have* toGünther Deschner2007-10-101-3/+12
| | | | | | | call START_TLS again after rebinding to another LDAP server. (ldaps:// uri's are handled at by recent versions of OpenLDAP). Guenther
* r11874: Merge LDAP connection setup in lib/smbldap.c and pdb_nds.c.Günther Deschner2007-10-101-50/+137
| | | | | | | Also allow to use START_TLS in the pdb_nds_update_login_attempts function when doing simple binds to eDir. Guenther
* r11845: Removed error code list as it isn't correct for Linux.Jeremy Allison2007-10-101-8/+0
| | | | Jeremy.
* r11841: Fix #3262 from Timur Bakeyev to improve reporting on FreeBSD DOSJeremy Allison2007-10-101-33/+41
| | | | | attribute errors. Jeremy.
* r11799: Added OpenSSH fix for "%.*s" format crash. From Darren TuckerJeremy Allison2007-10-101-1/+22
| | | | | <dtucker@zip.com.au> Jeremy.
* r11764: Doesn't need to be exported from here.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r11732: Remember to return early if -1 returned from *BSD EA call.Jeremy Allison2007-10-101-0/+12
| | | | | Pointed out by timur@com.bat.ru. Jeremy.
* r11706: Implement dsr_getdcname client code. It's handy: It not only gives ↵Volker Lendecke2007-10-101-0/+28
| | | | | | | | you the IP address but also the fqdn of the remote dc and site info. Volker
* r11655: Two small fixesGerald Carter2007-10-101-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().
* r11614: Replace old crc32 code with one from the FreeBSD tree.Jeremy Allison2007-10-101-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.
* r11560: Fix core dump if setmntent returns NULL.Jeremy Allison2007-10-101-0/+3
| | | | | Pointed out by Jay Fanlason @ Red Hat. Jeremy.
* r11530: Add the "time offset" parameter back in for people whoJeremy Allison2007-10-101-1/+1
| | | | | might use it. Jeremy.
* r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2007-10-102-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.
* r11446: Remove unused fn. Remove unneeded strncpy use.Jeremy Allison2007-10-101-7/+2
| | | | Jeremy.
* r11383: Patch from Alex Masterov <alex@infobit.ru> to fixJeremy Allison2007-10-101-3/+83
| | | | | XATTR calls on *BSD systems (bug #3218). Jeremy.
* r11230: Remove the '//' i was using to test something...oopsJim McDonough2007-10-101-1/+1
|