Günther Deschner
f1ab10b2ec
r22058: Add test_nss_modules to check NSS modules for unresolved symbols.
...
Guenther
(This used to be commit 21d092f4f9
)
2007-10-10 12:19:06 -05:00
Günther Deschner
21024aa589
r22056: Adding some missing proto_exists calls (for PAM and NSS modules)
...
Guenther
(This used to be commit 04705aa190
)
2007-10-10 12:19:06 -05:00
Jelmer Vernooij
0389cad7c4
r22055: Port the endpoint mapper (and functions it requires) to Samba 3.
...
(This used to be commit ad98126187
)
2007-10-10 12:19:06 -05:00
Stefan Metzmacher
4432df38ee
r22054: merge from samba4:
...
remove broken samba3 specific stuff from tdbtool
metze
(This used to be commit 9b34cd8d89
)
2007-10-10 12:19:06 -05:00
Stefan Metzmacher
c1ecf3bda3
r22051: use libreplace headers
...
metze
(This used to be commit 1017ca3eaa
)
2007-10-10 12:19:06 -05:00
Jeremy Allison
afd637e926
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.
(This used to be commit 728a4cc713
)
2007-10-10 12:19:06 -05:00
Jeremy Allison
d2a57b6393
r22049: HPUX build fixes from <don.mccall@hp.com>.
...
Jeremy.
(This used to be commit b70af25e85
)
2007-10-10 12:19:05 -05:00
Jeremy Allison
0a2cc569a1
r22045: As Volker noticed, skip_string's last argument is
...
redundent. Remove it.
Jeremy.
(This used to be commit 140881cfbb
)
2007-10-10 12:19:05 -05:00
Volker Lendecke
8990b13d2f
r22044: Remove the only skip_string(...,2) caller
...
(This used to be commit 08ea2b83b2
)
2007-10-10 12:19:05 -05:00
Volker Lendecke
7371762dae
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
(This used to be commit 2878c1e93a
)
2007-10-10 12:19:05 -05:00
Jeremy Allison
e5358d6c55
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.
(This used to be commit d47af7c926
)
2007-10-10 12:19:04 -05:00
Stefan Metzmacher
6013b59b44
r22039: fix compiler warnings
...
metze
(This used to be commit 91402d7a42
)
2007-10-10 12:19:04 -05:00
Stefan Metzmacher
d9741cde33
r22033: remove useless line
...
metze
(This used to be commit cb6d90d796
)
2007-10-10 12:19:04 -05:00
Andrew Bartlett
ec497bf02c
r22026: Missed in my last commit, another case where we need to copy, not reference.
...
Andrew Bartlett
(This used to be commit 635b83a216
)
2007-10-10 12:19:04 -05:00
Andrew Bartlett
fd2e5b90a4
r22024: Don't leak, actually use the provided memory context...
...
(This used to be commit 46ff4e599e
)
2007-10-10 12:19:03 -05:00
Andrew Bartlett
ddf759c533
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
(This used to be commit 82667bc75e
)
2007-10-10 12:19:03 -05:00
Andrew Bartlett
ccc06f8441
r22022: - Clarify the comments
...
- make sure never to free an uninitialised variable
- ensure to free result on getpwnam_alloc failure
Andrew Bartlett
(This used to be commit 5fe3328e66
)
2007-10-10 12:19:03 -05:00
Andrew Bartlett
fb3835846e
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
(This used to be commit e3e0ec25e6
)
2007-10-10 12:19:03 -05:00
Volker Lendecke
074c1eb0ea
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
(This used to be commit 6138be7e4a
)
2007-10-10 12:19:02 -05:00
Herb Lewis
01efa3d403
r22018: fix compile error
...
(This used to be commit a4c1c770a2
)
2007-10-10 12:19:02 -05:00
Jeremy Allison
730bfd9ced
r22017: After changing 2000 lines of this I think this is needed :-).
...
Jeremy.
(This used to be commit 99092e8841
)
2007-10-10 12:19:02 -05:00
Jeremy Allison
44ca85a506
r22016: Try and fix the build - move things out of proto.h
...
Jeremy.
(This used to be commit 29933600cf
)
2007-10-10 12:19:02 -05:00
Jeremy Allison
ce3c830f15
r22015: Fix for memory leak from Steven Danneman <steven.danneman@isilon.com>
...
Jeremy.
(This used to be commit 61a1574f50
)
2007-10-10 12:19:02 -05:00
Jeremy Allison
261c004d7b
r22014: Make us pass RANDOMIPC test again :-(. This is an ugly check-in,
...
but I've no option.
Jeremy.
(This used to be commit c3a565081d
)
2007-10-10 12:19:01 -05:00
Jeremy Allison
b0bcb48369
r22013: Move to SSPI framing (sig first in NTLM).
...
Jeremy
(This used to be commit 22eaed76f0
)
2007-10-10 12:19:01 -05:00
Jeremy Allison
1ff60ed7bc
r22012: Ensure we use the same technique to pull the share mode
...
data out that locking/locking.c does.
Jeremy.
(This used to be commit 1fec4da6d6
)
2007-10-10 12:19:01 -05:00
Jeremy Allison
0eefab112f
r22011: As Metze suggested, use 0xFF 'E' <enc ctx> instead
...
of 0xFF 'S' <enc ctx>.
Jeremy.
(This used to be commit d8cd4fc91b
)
2007-10-10 12:19:01 -05:00
Jeremy Allison
75b4e24067
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.
(This used to be commit 8e15ef476c
)
2007-10-10 12:19:01 -05:00
Stefan Metzmacher
bc2b6436d0
r22009: change TDB_DATA from char * to unsigned char *
...
and fix all compiler warnings in the users
metze
(This used to be commit 3a28443079
)
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
b9461058d5
r22008: use string_term_tdb_data()
...
metze
(This used to be commit 1f047d7e31
)
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
7bdd7ecafa
r22007: make string_tdb_data(NULL) possible...
...
metze
(This used to be commit d030947083
)
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
e8265c6515
r22006: use string_term_tdb_data()...
...
metze
(This used to be commit 136914502f
)
2007-10-10 12:18:59 -05:00
Jeremy Allison
71b8fdff85
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.
(This used to be commit 7d30737c8d
)
2007-10-10 12:18:59 -05:00
Simo Sorce
73c8eee9b2
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)
(This used to be commit 1a3980f1fc
)
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
56ba447668
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
(This used to be commit fa322f0cc9
)
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
9bb40d7c61
r22000: remove useless casts
...
metze
(This used to be commit 8f55fe4e46
)
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
5b7c813104
r21999: remove useless casts
...
metze
(This used to be commit f948005ca6
)
2007-10-10 12:18:58 -05:00
Günther Deschner
cece5a62ae
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
(This used to be commit 78d13f1467
)
2007-10-10 12:18:58 -05:00
Jeremy Allison
e9157961d6
r21997: Implement the server side of gss seal negotiate.
...
Jeremy.
(This used to be commit 6b923acfee
)
2007-10-10 12:18:58 -05:00
Jeremy Allison
3215c09a81
r21994: Ignore keepalives in the correct buffer (out not in :-).
...
Jeremy.
(This used to be commit 9785528ddf
)
2007-10-10 12:18:58 -05:00
Jeremy Allison
208367f4d1
r21993: Don't let keepalives interferece with sign or seal
...
in the client code.
Jeremy.
(This used to be commit 3e901389fe
)
2007-10-10 12:18:58 -05:00
Jeremy Allison
0eab431194
r21992: Fix keepalive processing when encryption turned on.
...
Jeremy.
(This used to be commit 8f113ad191
)
2007-10-10 12:18:58 -05:00
Jeremy Allison
4a66d0e232
r21991: I hate Steve French :-). Add support for encryption
...
contexts....
Jeremy.
(This used to be commit ae8f3649f7
)
2007-10-10 12:18:58 -05:00
Jeremy Allison
34dac35e48
r21990: Stop messing with the signing engine just because
...
we're encrypted. This will make further changes and
spec much more clear.
Jeremy.
(This used to be commit ffa3a5c508
)
2007-10-10 12:18:57 -05:00
Stefan Metzmacher
110980d771
r21989: make use of tdb_*_bystring() and string_term_tdb_data()
...
to avoid creating the TDB_DATA struct from strings "by hand"
metze
(This used to be commit 1897da9efc
)
2007-10-10 12:18:57 -05:00
Stefan Metzmacher
2d118cef3f
r21988: make use of string_tdb_data()
...
to avoid creating the TDB_DATA struct from strings "by hand"
metze
(This used to be commit 2f52df7103
)
2007-10-10 12:18:57 -05:00
Stefan Metzmacher
a806037b87
r21987: split tdb_prs_*() functions in version which take a keystr and a TDB_DATA key
...
metze
(This used to be commit 724c6fa337
)
2007-10-10 12:18:56 -05:00
Stefan Metzmacher
4b0c9a0084
r21986: make use of tdb_*_bystring() and string_term_tdb_data()
...
to avoid creating the TDB_DATA struct from strings "by hand"
metze
(This used to be commit 08d23a1c4f
)
2007-10-10 12:18:56 -05:00
Stefan Metzmacher
5060393272
r21985: make use of string_tdb_data()
...
to avoid creating the TDB_DATA struct from strings "by hand"
metze
(This used to be commit a8bc20d67f
)
2007-10-10 12:18:56 -05:00
Stefan Metzmacher
ef0a0f9b2b
r21984: make use of tdb_*_bystring() and string_term_tdb_data()
...
to avoid creating the TDB_DATA struct from strings "by hand"
metze
(This used to be commit 91301f7347
)
2007-10-10 12:18:56 -05:00