Günther Deschner
21d092f4f9
r22058: Add test_nss_modules to check NSS modules for unresolved symbols.
...
Guenther
2007-10-10 12:19:06 -05:00
Günther Deschner
04705aa190
r22056: Adding some missing proto_exists calls (for PAM and NSS modules)
...
Guenther
2007-10-10 12:19:06 -05:00
Jelmer Vernooij
ad98126187
r22055: Port the endpoint mapper (and functions it requires) to Samba 3.
2007-10-10 12:19:06 -05:00
Stefan Metzmacher
9b34cd8d89
r22054: merge from samba4:
...
remove broken samba3 specific stuff from tdbtool
metze
2007-10-10 12:19:06 -05:00
Stefan Metzmacher
1017ca3eaa
r22051: use libreplace headers
...
metze
2007-10-10 12:19:06 -05:00
Jeremy Allison
728a4cc713
r22050: Fix a couple of off-by-one errors in the rap
...
call patch. Jerry, this works now for displaying
shares on Win9x (and hopefully everything else
as well :-).
Jeremy.
2007-10-10 12:19:06 -05:00
Jeremy Allison
b70af25e85
r22049: HPUX build fixes from <don.mccall@hp.com>.
...
Jeremy.
2007-10-10 12:19:05 -05:00
Jeremy Allison
140881cfbb
r22045: As Volker noticed, skip_string's last argument is
...
redundent. Remove it.
Jeremy.
2007-10-10 12:19:05 -05:00
Volker Lendecke
08ea2b83b2
r22044: Remove the only skip_string(...,2) caller
2007-10-10 12:19:05 -05:00
Volker Lendecke
2878c1e93a
r22043: Comparing lanman.c with -r22013 is now MUCH easier, thanks! This looks much
...
easier to review! Damn close to what I had in my tree, just the fn names were
slightly different.
This removes one unnecessary dupe.
Next thing is to get rid of the parameter "n" of skip_string, there is only
one (!) caller that does not pass in 1....
Volker
2007-10-10 12:19:05 -05:00
Jeremy Allison
d47af7c926
r22042: Try and clean up my own mess using the API Volker
...
suggested. I now use :
BOOL is_offset_safe(const char *buf_base, size_t buf_len, char *ptr, size_t off)
char *get_safe_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off)
char *get_safe_str_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off)
int get_safe_SVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval)
int get_safe_IVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval)
Volker, please criticize and comment. Thanks,
Jeremy.
2007-10-10 12:19:04 -05:00
Stefan Metzmacher
91402d7a42
r22039: fix compiler warnings
...
metze
2007-10-10 12:19:04 -05:00
Stefan Metzmacher
cb6d90d796
r22033: remove useless line
...
metze
2007-10-10 12:19:04 -05:00
Andrew Bartlett
635b83a216
r22026: Missed in my last commit, another case where we need to copy, not reference.
...
Andrew Bartlett
2007-10-10 12:19:04 -05:00
Andrew Bartlett
46ff4e599e
r22024: Don't leak, actually use the provided memory context...
2007-10-10 12:19:03 -05:00
Andrew Bartlett
82667bc75e
r22023: I don't like this cache, but I think Jeremy is right, the consequences
...
of the talloc heirarchy created are too subtle, particularly with
callers picking out individual members.
This might fix the faults on the build farm.
Andrew Bartlett
2007-10-10 12:19:03 -05:00
Andrew Bartlett
5fe3328e66
r22022: - Clarify the comments
...
- make sure never to free an uninitialised variable
- ensure to free result on getpwnam_alloc failure
Andrew Bartlett
2007-10-10 12:19:03 -05:00
Andrew Bartlett
e3e0ec25e6
r22020: Make it more clear that both the vuser struct and it's contents are
...
talloc_free()'ed at the end of a session.
Rework the passwd cache code to use talloc_unlink and
talloc_reference, to more carefully manage the cache.
Andrew Bartlett
2007-10-10 12:19:03 -05:00
Volker Lendecke
6138be7e4a
r22019: Jeremy, this hopefully fixes the build farm currently. But I think we need
...
another get_safe_offset call that also includes the required buffer size.
Volker
2007-10-10 12:19:02 -05:00
Herb Lewis
a4c1c770a2
r22018: fix compile error
2007-10-10 12:19:02 -05:00
Jeremy Allison
99092e8841
r22017: After changing 2000 lines of this I think this is needed :-).
...
Jeremy.
2007-10-10 12:19:02 -05:00
Jeremy Allison
29933600cf
r22016: Try and fix the build - move things out of proto.h
...
Jeremy.
2007-10-10 12:19:02 -05:00
Jeremy Allison
61a1574f50
r22015: Fix for memory leak from Steven Danneman <steven.danneman@isilon.com>
...
Jeremy.
2007-10-10 12:19:02 -05:00
Jeremy Allison
c3a565081d
r22014: Make us pass RANDOMIPC test again :-(. This is an ugly check-in,
...
but I've no option.
Jeremy.
2007-10-10 12:19:01 -05:00
Jeremy Allison
22eaed76f0
r22013: Move to SSPI framing (sig first in NTLM).
...
Jeremy
2007-10-10 12:19:01 -05:00
Jeremy Allison
1fec4da6d6
r22012: Ensure we use the same technique to pull the share mode
...
data out that locking/locking.c does.
Jeremy.
2007-10-10 12:19:01 -05:00
Jeremy Allison
d8cd4fc91b
r22011: As Metze suggested, use 0xFF 'E' <enc ctx> instead
...
of 0xFF 'S' <enc ctx>.
Jeremy.
2007-10-10 12:19:01 -05:00
Jeremy Allison
8e15ef476c
r22010: Now I'm looking at mangling again, make sure
...
that we mangle any illegal names before doing
any wildcard matches. That way lies least
suprises. Don't merge this for 3.0.25, too
dangerous. Thanks.
Jeremy.
2007-10-10 12:19:01 -05:00
Stefan Metzmacher
3a28443079
r22009: change TDB_DATA from char * to unsigned char *
...
and fix all compiler warnings in the users
metze
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
1f047d7e31
r22008: use string_term_tdb_data()
...
metze
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
d030947083
r22007: make string_tdb_data(NULL) possible...
...
metze
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
136914502f
r22006: use string_term_tdb_data()...
...
metze
2007-10-10 12:18:59 -05:00
Jeremy Allison
7d30737c8d
r22003: Fix from Jiri.Sasek@Sun.COM to wrap our krb5_locate_kdc
...
call as smb_krb5_locate_kdc to prevent incorrect linking
and crashes on Solaris.
Jeremy.
2007-10-10 12:18:59 -05:00
Simo Sorce
1a3980f1fc
r22002: Fix bug #3974 , there are still open issues with -N behavior (doc fix next)
...
and -T argument parsing behavior (which is just insane but a separate bug)
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
fa322f0cc9
r22001: change prototype of dump_data(), so that it takes unsigned char * now,
...
which matches what samba4 has.
also fix all the callers to prevent compiler warnings
metze
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
8f55fe4e46
r22000: remove useless casts
...
metze
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
f948005ca6
r21999: remove useless casts
...
metze
2007-10-10 12:18:58 -05:00
Günther Deschner
78d13f1467
r21998: Fix tdb keynames in netsamlogon_clear_cached_user().
...
No point in deleting U/DOMAIN/RID and UG/DOMAIN/RID keys if we only store U/SID
and UG/SID keys :-)
Next we need to verify the need of calling netsamlogon_clear_cached_user() at all.
Guenther
2007-10-10 12:18:58 -05:00
Jeremy Allison
6b923acfee
r21997: Implement the server side of gss seal negotiate.
...
Jeremy.
2007-10-10 12:18:58 -05:00
Jeremy Allison
9785528ddf
r21994: Ignore keepalives in the correct buffer (out not in :-).
...
Jeremy.
2007-10-10 12:18:58 -05:00
Jeremy Allison
3e901389fe
r21993: Don't let keepalives interferece with sign or seal
...
in the client code.
Jeremy.
2007-10-10 12:18:58 -05:00
Jeremy Allison
8f113ad191
r21992: Fix keepalive processing when encryption turned on.
...
Jeremy.
2007-10-10 12:18:58 -05:00
Jeremy Allison
ae8f3649f7
r21991: I hate Steve French :-). Add support for encryption
...
contexts....
Jeremy.
2007-10-10 12:18:58 -05:00
Jeremy Allison
ffa3a5c508
r21990: Stop messing with the signing engine just because
...
we're encrypted. This will make further changes and
spec much more clear.
Jeremy.
2007-10-10 12:18:57 -05:00
Stefan Metzmacher
1897da9efc
r21989: make use of tdb_*_bystring() and string_term_tdb_data()
...
to avoid creating the TDB_DATA struct from strings "by hand"
metze
2007-10-10 12:18:57 -05:00
Stefan Metzmacher
2f52df7103
r21988: make use of string_tdb_data()
...
to avoid creating the TDB_DATA struct from strings "by hand"
metze
2007-10-10 12:18:57 -05:00
Stefan Metzmacher
724c6fa337
r21987: split tdb_prs_*() functions in version which take a keystr and a TDB_DATA key
...
metze
2007-10-10 12:18:56 -05:00
Stefan Metzmacher
08d23a1c4f
r21986: make use of tdb_*_bystring() and string_term_tdb_data()
...
to avoid creating the TDB_DATA struct from strings "by hand"
metze
2007-10-10 12:18:56 -05:00
Stefan Metzmacher
a8bc20d67f
r21985: make use of string_tdb_data()
...
to avoid creating the TDB_DATA struct from strings "by hand"
metze
2007-10-10 12:18:56 -05:00
Stefan Metzmacher
91301f7347
r21984: make use of tdb_*_bystring() and string_term_tdb_data()
...
to avoid creating the TDB_DATA struct from strings "by hand"
metze
2007-10-10 12:18:56 -05:00