Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r12107: Move to a tdb-based wins database. At the moment we still | Jeremy Allison | 2007-10-10 | 10 | -374/+882 | |
| | | | | | | use it as though it were an in-memory db and dump out to a flat file every 2 mins, but that can now change. Jeremy. | |||||
* | r12043: It's amazing the warnings you find when compiling on a 64-bit | Jeremy Allison | 2007-10-10 | 1 | -1/+1 | |
| | | | | | | | | | | | 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. | |||||
* | r11566: From metze. Use "interpret_addr(lp_socket_address())" for port 138. | Jeremy Allison | 2007-10-10 | 1 | -1/+3 | |
| | | | | Jeremy. | |||||
* | r11511: A classic "friday night check-in" :-). This moves much | Jeremy Allison | 2007-10-10 | 3 | -3/+5 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | r10822: updating copyright info | Gerald Carter | 2007-10-10 | 1 | -1/+1 | |
| | ||||||
* | r10656: BIG merge from trunk. Features not copied over | Gerald Carter | 2007-10-10 | 6 | -14/+21 | |
| | | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) | |||||
* | r9790: remove 'set but not used' variables (reported by Jason Mader) | Gerald Carter | 2007-10-10 | 1 | -2/+1 | |
| | ||||||
* | r8946: Some casts to fix warnings when time_t is an unsigned type. Fixes | Tim Potter | 2007-10-10 | 1 | -1/+1 | |
| | | | | bugzilla #1888 and #1894. | |||||
* | r7440: * merge registry server changes from trunk (so far) for more | Gerald Carter | 2007-10-10 | 1 | -2/+2 | |
| | | | | | | printmig.exe work * merge the sys_select_signal(char c) change from trunk in order to keeo the winbind code in sync | |||||
* | r7415: * big change -- volker's new async winbindd from trunk | Gerald Carter | 2007-10-10 | 1 | -0/+51 | |
| | ||||||
* | r6225: get rid of warnings from my compiler about nested externs | Herb Lewis | 2007-10-10 | 3 | -4/+5 | |
| | ||||||
* | r5717: BUG 2215: horrible code in nmbd_winsproxy.c; gcc folks at redhat ↵ | Gerald Carter | 2007-10-10 | 1 | -4/+7 | |
| | | | | claim its in violation of the C spec. It's so horrible I believe them | |||||
* | r5082: Don't blindly copy question rr_type and class, set correctly as required | Jeremy Allison | 2007-10-10 | 1 | -10/+7 | |
| | | | | | by rfc1002. Jeremy. | |||||
* | r5077: Use correct type for rr record on negative name query reply. | Jeremy Allison | 2007-10-10 | 1 | -0/+3 | |
| | | | | Jeremy. | |||||
* | r5076: Ensure that WINS negative name query responses and WACK packets | Jeremy Allison | 2007-10-10 | 1 | -1/+10 | |
| | | | | | | | use the correct RR type of 0xA instead of reflecting back what the query RR type was (0x20). See rfc1002 sections 4.2.14 and 4.2.16. Jeremy. | |||||
* | r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵ | Jeremy Allison | 2007-10-10 | 15 | -30/+29 | |
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. | |||||
* | r3877: Final (I hope :-) fix for #2050 from Lars Müller for select maxfd's. | Jeremy Allison | 2007-10-10 | 1 | -16/+6 | |
| | | | | Jeremy. | |||||
* | r3864: Fix from Lars Müller <lmuelle@suse.de> for bug #2050. | Jeremy Allison | 2007-10-10 | 1 | -3/+19 | |
| | | | | | Make nmbd use maxfd+1 in select also. Jeremy. | |||||
* | r2470: Fix bug 1797: winbind and nmbd ignored "-l" option. | Volker Lendecke | 2007-10-10 | 1 | -2/+6 | |
| | | | | | | Thanks to Igor Zhbanov bsg@uniyar.ac.ru. Volker | |||||
* | r2363: Fix to make find_workgroup use the same truncation as | Jeremy Allison | 2007-10-10 | 1 | -15/+28 | |
| | | | | | | create_workgroup (refactor to a common function). Patch from Paul Szabo - psz@maths.usyd.edu.au. Jeremy. | |||||
* | r2261: fix getdc mailslot checks; testing with Windows 98se, WinME, WinNT ↵ | Gerald Carter | 2007-10-10 | 1 | -3/+3 | |
| | | | | 4.0/200x/XP | |||||
* | r2224: Make nmbd more robust against bad netbios packets. | Jeremy Allison | 2007-10-10 | 2 | -7/+141 | |
| | | | | Jeremy. | |||||
* | r1299: Don't "break" - "continue" ! Otherwise we only expire the first name ! | Jeremy Allison | 2007-10-10 | 1 | -1/+1 | |
| | | | | | Doh ! Jeremy. | |||||
* | r1290: Ensure we remove DNS and DNSFAIL records immediately on timeout. | Jeremy Allison | 2007-10-10 | 1 | -1/+6 | |
| | | | | | Fix for #607. Jeremy. | |||||
* | r928: Ensure we're calling send_mailslot() with a UNIX charset | Jeremy Allison | 2007-10-10 | 1 | -1/+4 | |
| | | | | | target name. Jeremy. | |||||
* | r196: merging struct uuid from trunk | Gerald Carter | 2007-10-10 | 2 | -40/+83 | |
| | ||||||
* | r39: * importing .cvsignore files | Gerald Carter | 2007-10-10 | 1 | -0/+0 | |
| | | | | * updateing WHATSNEW with vl's change | |||||
* | Avoid mb conversion overflow when sending an announcement. | Jeremy Allison | 2004-03-16 | 1 | -1/+4 | |
| | | | | Jeremy. | |||||
* | Use "unix netbios name" type unstring - 64 bytes long to manipulate netbios | Jeremy Allison | 2004-03-15 | 19 | -90/+89 | |
| | | | | | | names in nmbd. Allows conversion from dos codepage mb strings (ie. SJIS) to expand to utf8 size on read. Jeremy. | |||||
* | Ensure we don't truncate strcmps to nstring anymore... | Jeremy Allison | 2004-03-13 | 4 | -10/+10 | |
| | | | | Jeremy. | |||||
* | Modified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com ↵ | Jeremy Allison | 2004-03-13 | 18 | -151/+160 | |
| | | | | | | | | | | (MORIYAMA Masayuki). Don't use nstrings to hold workgroup and netbios names. The problem with them is that MB netbios and workgroup names in unix charset (particularly utf8) may be up to 3x bigger than the name when represented in dos charset (ie. cp932). So go back to using fstrings for these but translate into nstrings (ie. 16 byte length values) for transport on the wire. Jeremy. | |||||
* | Fix up name canonicalization (needed for krb5 keytab support later). | Jeremy Allison | 2004-01-30 | 1 | -1/+1 | |
| | | | | | Remove source_env handler (no longer used in any codepath). Jeremy. | |||||
* | A Samba DC is nothing special these days - so every domain controller | Andrew Bartlett | 2004-01-24 | 1 | -8/+8 | |
| | | | | | | | | location packet from the client is not a DEBUG(1) event anymore... (Yes, we printed this for each of these UDP packets...) Andrew Bartlett | |||||
* | update copyright to -2004 | Stefan Metzmacher | 2004-01-11 | 1 | -1/+1 | |
| | | | | metze | |||||
* | Final round of printf warnings fixes for the moment. | Tim Potter | 2003-11-06 | 1 | -1/+1 | |
| | ||||||
* | Fix for bug #771. Fix packet length for browse list reply. | Jeremy Allison | 2003-11-05 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | This binds the nmbd sending socket to the 'socket address'. | Volker Lendecke | 2003-11-01 | 1 | -2/+2 | |
| | | | | | | | Hmmm. This is correct in 2.2. Obviously I did not test my 3.0 checkin at that time. Now it hit me at a customer's site... Volker | |||||
* | Fixes to check for wraps which could cause coredumps. | Jeremy Allison | 2003-10-29 | 1 | -0/+3 | |
| | | | | Jeremy. | |||||
* | Put strcasecmp/strncasecmp on the banned list (except for needed calls | Jeremy Allison | 2003-10-22 | 1 | -1/+1 | |
| | | | | | | in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy. | |||||
* | Apply some NULL pointer paranoia to previous wins hook fix. | Tim Potter | 2003-09-29 | 1 | -2/+2 | |
| | ||||||
* | Fix broken wins hook functionality. A i18n fixe caused the name type | Tim Potter | 2003-09-29 | 1 | -2/+8 | |
| | | | | | to be appended to the netbios name between angle brackets. This interfered the 'sh -c' used to implement smbrun(). Closes bug #528. | |||||
* | More tuning from cachegrind. Change most trim_string() calls to trim_char(0, | Jeremy Allison | 2003-09-05 | 2 | -3/+3 | |
| | | | | | as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. | |||||
* | Fix comment strings to 43 bytes as per spec. | Jeremy Allison | 2003-09-01 | 1 | -3/+2 | |
| | | | | Jeremy. | |||||
* | Add length warning on register name. | Jeremy Allison | 2003-08-28 | 1 | -2/+12 | |
| | | | | Jeremy. | |||||
* | Fixed off-by-one bugs in workgroup name comparisons. Complain when a | Jeremy Allison | 2003-08-28 | 3 | -9/+16 | |
| | | | | | workgroup name is >15 characters. Jeremy. | |||||
* | Ensure we use correct length nstrings for workgroup and browser names. | Jeremy Allison | 2003-08-27 | 7 | -21/+20 | |
| | | | | Jeremy. | |||||
* | fix segfault on empty wins server name registration reply | Gerald Carter | 2003-08-27 | 1 | -2/+4 | |
| | ||||||
* | Fix the character set handling properly in nmbd. Also fix bug where | Jeremy Allison | 2003-08-27 | 21 | -5739/+5325 | |
| | | | | | | | iconv wasn't re-initialised on reading of "charset" parameters. This caused workgroup name to be set incorrectly if it contained an extended character. Jeremy. | |||||
* | Half-way though the big conversion of all nmbd access to wire elements being | Jeremy Allison | 2003-08-23 | 8 | -1985/+1895 | |
| | | | | | | | 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. | |||||
* | Use correct size (17 not 16) when doing a push_ascii(). Ensure that | Jeremy Allison | 2003-08-22 | 1 | -1/+1 | |
| | | | | | wins hook is called with unix charset. Jeremy. |