Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Fixed silly typo checking for signal_handler not signal. | Jeremy Allison | 2003-10-01 | 1 | -1/+1 | |
| | | | | | | | | Jeremy. | |||||
* | | Allow ^C to interrupt smbpasswd if using our getpass. | Jeremy Allison | 2003-10-01 | 1 | -62/+86 | |
| | | | | | | | | Jeremy. | |||||
* | | wrap internals of sys_setgroups() so the sys_XX() call can be done ↵ | Gerald Carter | 2003-10-01 | 2 | -4/+6 | |
| | | | | | | | | unconditionally; bug 550 | |||||
* | | iconv isn't const safe. Neither should smb_iconv be. | Jeremy Allison | 2003-09-27 | 1 | -1/+1 | |
| | | | | | | | | Jeremy. | |||||
* | | Fix for #480. Change the interface for init_unistr2 to not take a length | Jeremy Allison | 2003-09-25 | 1 | -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 Lendecke | 2003-09-23 | 1 | -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 needs | Volker Lendecke | 2003-09-23 | 1 | -0/+4 | |
| | | | | | | | | | | | | to be changed if we decide to set our real uid. Jeremy? Volker | |||||
* | | fix some warnings found by the Sun C compiler | Gerald Carter | 2003-09-22 | 1 | -1/+1 | |
| | | ||||||
* | | Ensure that dup_sec_desc copies the 'type' field correctly. This caused | Jeremy Allison | 2003-09-19 | 1 | -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 Allison | 2003-09-17 | 1 | -3/+6 | |
| | | | | | | | | Jeremy. | |||||
* | | Alias charset 646 internally as it is same as ASCII. Should solve Solaris ↵ | Alexander Bokovoy | 2003-09-15 | 1 | -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 rampage | Tim Potter | 2003-09-15 | 1 | -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 Potter | 2003-09-15 | 1 | -0/+2 | |
| | | ||||||
* | | For some reason testparm runs at debug level 2 which causes the module probe ↵ | Tim Potter | 2003-09-15 | 1 | -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 Allison | 2003-09-13 | 2 | -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>. Revered | Jeremy Allison | 2003-09-12 | 1 | -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 old | Jeremy Allison | 2003-09-10 | 1 | -15/+13 | |
| | | | | | | | | | | values. Jeremy. | |||||
* | | Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not converting | Jeremy Allison | 2003-09-10 | 1 | -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 Allison | 2003-09-10 | 1 | -0/+1 | |
| | | | | | | | | | | | | <ungermann@elzet80.de> Jeremy. | |||||
* | | Fix mb bug in fast path code. strlen_w() returns number of *characters* | Jeremy Allison | 2003-09-10 | 1 | -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 Allison | 2003-09-08 | 1 | -1/+1 | |
| | | | | | | | | Jeremy. | |||||
* | | Fix valgrind-found read of uninit variable (ensure length is right). | Jeremy Allison | 2003-09-08 | 1 | -3/+3 | |
| | | | | | | | | Jeremy. | |||||
* | | fix compile error on HP-UX 10.20 | Gerald Carter | 2003-09-08 | 1 | -0/+5 | |
| | | ||||||
* | | Reformat debug. | Tim Potter | 2003-09-08 | 1 | -4/+5 | |
| | | ||||||
* | | Nobody complained on the team-list, so commit it ... | Volker Lendecke | 2003-09-07 | 1 | -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 Allison | 2003-09-06 | 1 | -8/+7 | |
| | | | | | | | | Jeremy. | |||||
* | | More cachegrind tuning, plus fix an error message. | Jeremy Allison | 2003-09-05 | 1 | -11/+32 | |
| | | | | | | | | Jeremy. | |||||
* | | More tuning from cachegrind. Change most trim_string() calls to trim_char(0, | Jeremy Allison | 2003-09-05 | 4 | -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 Carter | 2003-09-05 | 1 | -0/+30 | |
| | | ||||||
* | | Hand optimisatinos for strrchr_m using the properties we know about MB | Jeremy Allison | 2003-09-05 | 1 | -11/+47 | |
| | | | | | | | | | | character sets and how we use this call. Jeremy. | |||||
* | | Fastpath strchr_m for ASCII. | Jeremy Allison | 2003-09-04 | 1 | -0/+13 | |
| | | | | | | | | Jeremy. | |||||
* | | More hand-tuning of the fastpath. Don't do strlen() when we're doing | Jeremy Allison | 2003-09-04 | 1 | -12/+27 | |
| | | | | | | | | | | to walk to the end anyway. Jeremy. | |||||
* | | Remove convert_string_internal completely from fast path when processing | Jeremy Allison | 2003-09-04 | 1 | -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 loud | Tim Potter | 2003-09-04 | 1 | -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 Allison | 2003-09-04 | 2 | -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 Allison | 2003-09-03 | 1 | -1/+3 | |
| | | | | | | | | Jeremy. | |||||
* | | Fix bug found by tridge in 2.2.x. Ensure that %U substitution is | Jeremy Allison | 2003-08-28 | 1 | -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 space | Gerald Carter | 2003-08-25 | 1 | -1/+2 | |
| | | ||||||
* | | Half-way though the big conversion of all nmbd access to wire elements being | Jeremy Allison | 2003-08-23 | 1 | -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 Allison | 2003-08-21 | 1 | -12/+24 | |
| | | | | | | | | Jeremy. | |||||
* | | Attempt to fix the charcnv issues causing nmbd to crash. If we get a failed | Jeremy Allison | 2003-08-20 | 1 | -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.h | Gerald Carter | 2003-08-20 | 4 | -4/+46 | |
| | | ||||||
* | | get rid of more compiler warnings | Herb Lewis | 2003-08-15 | 2 | -8/+8 | |
| | | ||||||
* | | get rid of compiler warnings | Herb Lewis | 2003-08-15 | 2 | -2/+2 | |
| | | ||||||
* | | get rid of const as these things really are not const | Herb Lewis | 2003-08-15 | 1 | -5/+5 | |
| | | ||||||
* | | get rid of some sompiler warnings on IRIX | Herb Lewis | 2003-08-15 | 1 | -2/+1 | |
| | | ||||||
* | | add IRIX EA support | Herb Lewis | 2003-08-15 | 1 | -1/+158 | |
| | | ||||||
* | | Change Samba to always use extended security for it's guest logins, (ie, | Andrew Bartlett | 2003-08-14 | 1 | -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 fixes | Gerald Carter | 2003-08-13 | 1 | -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 use | Jeremy Allison | 2003-08-12 | 2 | -39/+54 | |
| | | | | | | | | | | fixed buffer by me). Jeremy. |