| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Guenther
|
|
|
|
| |
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
|
| |
strequal() is now implemented in terms of strcasecmp_m() which is
tested in smbtorture and which does not talloc() for ASCII or
non-ASCII comparions, and has an ASCII fast-path.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
| |
The only caller of push_string() (not to be confused with
push_string_check()) in the common code was encode_pw_buffer(), and it
didn't use the alignment or STR_UPPER flags.
The talloc_strupper() and talloc_strlower() functions are tested in
smbtorture, and are next_codepoint() based.
Andrew Bartlett
|
| |
|
|
|
|
|
|
|
|
|
| |
This function is problematic because a string may expand in size when
changed into upper or lower case. This will then push characters off
the end of the string in the s3 implementation, or panic in the former
s4 implementation.
Andrew Bartlett
|
| |
|
|
|
|
|
|
| |
This will help with the merge of the interfaces layer.
Andrew Bartlett
|
|
|
|
|
|
|
| |
This avoids a conflicts with the Samba4 packet.c, as these is only
used in CTDB
Andrew Bartlett
|
|
|
|
| |
Guenther
|
|
|
|
|
| |
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Apr 30 05:58:35 CEST 2011 on sn-devel-104
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
| |
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
|
|
|
|
| |
Guenther
|
|
|
|
| |
Andrew Bartlett
|
| |
|
| |
|
|
|
|
|
|
| |
This ensures the caller knows where the memory was allocated.
Andrew Bartlett
|
|
|
|
|
|
| |
This means we use just one constant for this file attribute.
Andrew Bartlett
|
|
|
|
|
|
| |
This means we use just one constant for this file attribute.
Andrew Bartlett
|
|
|
|
|
|
| |
This means we use just one constant for this file attribute.
Andrew Bartlett
|
|
|
|
|
|
| |
This means we use just one constant for this file attribute.
Andrew Bartlett
|
|
|
|
|
|
| |
This means we use just one constant for this file attribute.
Andrew Bartlett
|
|
|
|
|
|
| |
This means we use just one constant for this file attribute.
Andrew Bartlett
|
|
|
|
|
|
| |
These were copied from source3/lib/charcnv.c
Andrew Bartlett
|
|
|
|
|
| |
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Apr 27 23:57:19 CEST 2011 on sn-devel-104
|
|
|
|
|
|
|
|
|
| |
Volker, please check.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Apr 27 17:57:32 CEST 2011 on sn-devel-104
|
|
|
|
| |
Guenther
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This avoids getting IPv4 addresses as mapped IPv6 addresses
(e.g. ::ffff:192.168.0.1).
Before the bahavior was inconsistent between operating system
and distributions. Some system have IPV6_ONLY as default.
Now we consistently get AF_INET for IPv4 addresses and AF_INET6
for IPv6 addresses.
It also makes it possible to listen only on IPv6 now
as "::" doesn't imply "0.0.0.0" anymore. Which also
avoids confusing log messages that we were not able to
bind to "0.0.0.0".
metze
|
|
|
|
|
|
| |
#7383)
metze
|
| |
|
| |
|
|
|
|
| |
In particular, this makes it fork-safe
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most fault codes have a NTSTATUS representation, so use that.
This brings the fault handling in common with the source4/librpc/rpc code,
which make it possible to share more highlevel code, between source3 and
source4 as the error checking can be the same now.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104
|
|
|
|
|
| |
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Apr 23 14:11:22 CEST 2011 on sn-devel-104
|
|
|
|
|
|
| |
We rely on uint64_t for a long time now...
metze
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is now API compatible with the existing code in lib/util/charset
lazy_initialize_conv() is no longer called as init_iconv() is called
when the smb.conf is processed, and get_conv_handle() will auto-init
with defaults if required.
load_case_tables_library() is no longer requried as all binaries and
libraries already load these in their entry points, as otherwise all
the other string functions would fail.
Andrew Bartlett
|
|
|
|
|
| |
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Apr 17 12:26:15 CEST 2011 on sn-devel-104
|
| |
|
|
|
|
|
|
|
| |
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
|
|
|
|
|
| |
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 09:21:59 CEST 2011 on sn-devel-104
|
|
|
|
|
| |
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 06:27:31 CEST 2011 on sn-devel-104
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Guenther
|