summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fixed silly typo checking for signal_handler not signal.Jeremy Allison2003-10-011-1/+1
| | | | | | | | Jeremy.
* | Allow ^C to interrupt smbpasswd if using our getpass.Jeremy Allison2003-10-011-62/+86
| | | | | | | | Jeremy.
* | wrap internals of sys_setgroups() so the sys_XX() call can be done ↵Gerald Carter2003-10-012-4/+6
| | | | | | | | unconditionally; bug 550
* | iconv isn't const safe. Neither should smb_iconv be.Jeremy Allison2003-09-271-1/+1
| | | | | | | | Jeremy.
* | Fix for #480. Change the interface for init_unistr2 to not take a lengthJeremy Allison2003-09-251-5/+7
| | | | | | | | | | | | but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string. This is not the case. Count it after conversion. Jeremy.
* | This only touches the fake kaserver support. It adds two parameters:Volker Lendecke2003-09-231-24/+36
| | | | | | | | | | | | | | | | | | afs share -- this is an AFS share, do AFS magic things afs username map -- We need a way to specify the cell and possibly weird username codings for several windows domains in the afs cell Volker
* | Add a descriptive comment to our usage of setresuid. lib/afs.c needsVolker Lendecke2003-09-231-0/+4
| | | | | | | | | | | | to be changed if we decide to set our real uid. Jeremy? Volker
* | fix some warnings found by the Sun C compilerGerald Carter2003-09-221-1/+1
| |
* | Ensure that dup_sec_desc copies the 'type' field correctly. This causedJeremy Allison2003-09-191-2/+2
| | | | | | | | | | | | | | me to expose a type arguement to make_sec_desc(). We weren't copying the SE_DESC_DACL_AUTO_INHERITED flag which could cause errors on auto inherited checks. Jeremy.
* | Unregister event fix from metze.Jeremy Allison2003-09-171-3/+6
| | | | | | | | Jeremy.
* | Alias charset 646 internally as it is same as ASCII. Should solve Solaris ↵Alexander Bokovoy2003-09-151-0/+1
| | | | | | | | problems where ASCII was not detected and 646.so were requested through dynamic loading
* | This ldap_value_free() looks like it was part of Jeremy's recent rampageTim Potter2003-09-151-2/+0
| | | | | | | | so I'm putting it back in.
* | I think this is a bugfix that somehow was dropped from the 3.0 tree.Tim Potter2003-09-151-0/+2
| |
* | For some reason testparm runs at debug level 2 which causes the module probe ↵Tim Potter2003-09-151-1/+1
| | | | | | | | | | | | functions to display verbose debugs. Increase the probe debugs to level 3.
* | Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !Jeremy Allison2003-09-132-27/+63
| | | | | | | | | | | | | | (rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Also add MacOSX/Darwin configure fixes. Jerry - can we put this in 3.0 release ? :-). Jeremy.
* | Fix from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. ReveredJeremy Allison2003-09-121-1/+1
| | | | | | | | | | condition meant fast-path in strchr_m was not being used. Doh ! Jeremy.
* | Still on my mb rampage. Ensure smbldap_make_mod() correctly detects oldJeremy Allison2003-09-101-15/+13
| | | | | | | | | | values. Jeremy.
* | Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not convertingJeremy Allison2003-09-101-0/+20
| | | | | | | | | | | | to/from utf8 for some calls. The libads code gets this right. Wonder why the passdb code doesn't use it ? Jeremy.
* | Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann ↵Jeremy Allison2003-09-101-0/+1
| | | | | | | | | | | | <ungermann@elzet80.de> Jeremy.
* | Fix mb bug in fast path code. strlen_w() returns number of *characters*Jeremy Allison2003-09-101-3/+3
| | | | | | | | | | | | | | not number of bytes. Reproduce this by trying to rename the file named : sibréseau -> sibréseaU from Windows 2000 explorer. Jeremy.
* | Don't double-increment p in hash calculation. Found by valgrind.Jeremy Allison2003-09-081-1/+1
| | | | | | | | Jeremy.
* | Fix valgrind-found read of uninit variable (ensure length is right).Jeremy Allison2003-09-081-3/+3
| | | | | | | | Jeremy.
* | fix compile error on HP-UX 10.20Gerald Carter2003-09-081-0/+5
| |
* | Reformat debug.Tim Potter2003-09-081-4/+5
| |
* | Nobody complained on the team-list, so commit it ...Volker Lendecke2003-09-071-0/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | This implements some kind of improved AFS support for Samba on Linux with OpenAFS 1.2.10. ./configure --with-fake-kaserver assumes that you have OpenAFS on your machine. To use this, you have to put the AFS server's KeyFile into secrets.tdb with 'net afskey'. If this is done, on each tree connect smbd creates a Kerberos V4 ticket suitable for use by the AFS client and gives it to the kernel via the AFS syscall. This is meant to be very light-weight, so I did not link in a whole lot of libraries to be more platform-independent using the ka_SetToken function call. Volker
* | Use djb-algorithm string hash - faster than the tdb one we used to use.Jeremy Allison2003-09-061-8/+7
| | | | | | | | Jeremy.
* | More cachegrind tuning, plus fix an error message.Jeremy Allison2003-09-051-11/+32
| | | | | | | | Jeremy.
* | More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison2003-09-054-74/+81
| | | | | | | | | | as that's what they do. Fix string_replace() to fast-path ascii. Jeremy.
* | fix bug 397: use a variant of alloc_sub_basic() for string lists.Gerald Carter2003-09-051-0/+30
| |
* | Hand optimisatinos for strrchr_m using the properties we know about MBJeremy Allison2003-09-051-11/+47
| | | | | | | | | | character sets and how we use this call. Jeremy.
* | Fastpath strchr_m for ASCII.Jeremy Allison2003-09-041-0/+13
| | | | | | | | Jeremy.
* | More hand-tuning of the fastpath. Don't do strlen() when we're doingJeremy Allison2003-09-041-12/+27
| | | | | | | | | | to walk to the end anyway. Jeremy.
* | Remove convert_string_internal completely from fast path when processingJeremy Allison2003-09-041-10/+18
| | | | | | | | | | NBENCH calls. Requires fixed buffer size for strdup_upper(). Jeremy.
* | Quieten level 0 debug when probing for modules. We shouldn't display so loudTim Potter2003-09-041-6/+22
| | | | | | | | | | | | an error when a smb_probe_module() fails. Also tidy up debugs a bit. Bug 375.
* | Used cachegrind to track down some bottlenecks.Jeremy Allison2003-09-042-12/+104
| | | | | | | | | | | | | | | | | | | | Removed calls to clobber_region when not compiling with developer as they were hiding speed problems. Added fast path to convert_string() when dealing with ascii -> ascii, ucs2-le to ascii and ascii to ucs2-le with values <= 0x7F. This gives a speedup of 22% on my nbench tests. Next I will do this on convert_string_allocate. Jeremy.
* | Fix up overlapping memcpy -> memmove found by valgrind.Jeremy Allison2003-09-031-1/+3
| | | | | | | | Jeremy.
* | Fix bug found by tridge in 2.2.x. Ensure that %U substitution isJeremy Allison2003-08-281-4/+17
| | | | | | | | | | | | restored on next valid packet if a logon fails. This has relevence if people are using su.exe within logon scripts ! Jeremy.
* | fix bug 289; make sure to reset the offset into a string when reallocating spaceGerald Carter2003-08-251-1/+2
| |
* | Half-way though the big conversion of all nmbd access to wire elements beingJeremy Allison2003-08-231-0/+10
| | | | | | | | | | | | | | converted to pull/push_ascii. This will not work right at the moment for non English codepages, but compiles - I will finish the work over the weekend. Then nmbd should be completely codepage correct. Jeremy.
* | Shut conversion errors up when initialising tables.Jeremy Allison2003-08-211-12/+24
| | | | | | | | Jeremy.
* | Attempt to fix the charcnv issues causing nmbd to crash. If we get a failedJeremy Allison2003-08-201-34/+92
| | | | | | | | | | | | conversion simply copy as is. Also fixed the horrid malloc-twice-copy code in the convert alloc path. Jeremy.
* | metze's autogenerate patch for version.hGerald Carter2003-08-204-4/+46
| |
* | get rid of more compiler warningsHerb Lewis2003-08-152-8/+8
| |
* | get rid of compiler warningsHerb Lewis2003-08-152-2/+2
| |
* | get rid of const as these things really are not constHerb Lewis2003-08-151-5/+5
| |
* | get rid of some sompiler warnings on IRIXHerb Lewis2003-08-151-2/+1
| |
* | add IRIX EA supportHerb Lewis2003-08-151-1/+158
| |
* | Change Samba to always use extended security for it's guest logins, (ie,Andrew Bartlett2003-08-141-0/+30
| | | | | | | | | | | | | | | | | | | | | | NTLMSSP with "" username, NULL password), and add --machine-pass (-P) to all of Samba's clients. When connecting to an Active Directory DC, you must initiate the CIFS level session setup with Kerberos, not a guest login. If you don't, your machine account is demoted to NT4. Andrew Bartlett
* | 2 fixesGerald Carter2003-08-131-0/+27
| | | | | | | | | | | | | | | | | | * bug #280 (my fault) - initialize sambaNextUserRid and sambaNextGroupRid * Unix users shared vis LDAP or NIS between a samba domain member of a Samba domain are not seen as domain users on the member servers. not as local users.
* | Fix for bugid #205 - work by Andrew Bartlet (modified to useJeremy Allison2003-08-122-39/+54
| | | | | | | | | | fixed buffer by me). Jeremy.