1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

21844 Commits

Author SHA1 Message Date
Gerald Carter
06ec19e2fb r22069: BUG 4447: Fix compile failure on AIX 5.2 (patch from William Jojo <jojowil@hvcc.edu>)
(This used to be commit c1cb6d059b2a8539bc8a05ea4467d136bbb2ff38)
2007-10-10 12:19:09 -05:00
Stefan Metzmacher
f5d3d29f72 r22067: - fix --with-fhs, where confdir is set to \${sysconfdir}
but sysconfdir wasn't defined in our Makefile
- add localstatedir for completeness

metze
(This used to be commit a70af6d457fede7f6bec822d4118abe658613d67)
2007-10-10 12:19:09 -05:00
Gerald Carter
3bdd0e3650 r22066: Ensure that winbind can resolve SIDs in the S-1-22-{1,2}
domain to a uid.gid using the idmap_passdb backend.
(This used to be commit fc1aeee52d8cb6c8d5d306dbbec18127bd2674bc)
2007-10-10 12:19:09 -05:00
Jeremy Allison
97e3cb896f r22065: First logic change I've found :-(. We were being too
restrictive about strings being NULL. If an info level
doesn't use a subformat the subformat string may be
missing (null). Add debug statements to help track
this.
Jeremy
(This used to be commit 70875f92a22985539dc41e26a084218a45e1a13f)
2007-10-10 12:19:08 -05:00
Jeremy Allison
cab91684e5 r22064: Fix the DFS code to work better with Vista clients. Allow
"host msdfs = true" to be set in the [global] section
and allow Vista to see shares with "msdfs root = yes"
and "msdfs root = no" off the same server. Down
to an error message really :-).
Jeremy.
(This used to be commit 1a0f69bb21fd03a18514dfc93c84568708144e28)
2007-10-10 12:19:08 -05:00
Jeremy Allison
7f8d89bc54 r22062: Fix the parsing of info level 3. Flags is not a flags
field, but an offset. Fixed 64-bit display of ACLs on
printers.
Jeremy.
(This used to be commit 0c8949ff5d742dbe59f2af0f57a289f238e3592c)
2007-10-10 12:19:07 -05:00
Gerald Carter
01c8809f76 r22061: Fix the krb5 user ticket refresh event timeout in winbindd
(This used to be commit 4a99b89618948f5518b9c685d1cdcfaad69bfc80)
2007-10-10 12:19:07 -05:00
Jeremy Allison
9b807d4f87 r22060: Fix for AIX quotas from Heinrich Mislik <Heinrich.Mislik@univie.ac.at>.
Jeremy.
(This used to be commit 8d95cdf8c0a46abc6b5cbcec3fd8bf246d49ee4b)
2007-10-10 12:19:07 -05:00
Volker Lendecke
2498a973ac r22059: Over-allocate and NULL out 100 bytes for lanman.c.
Volker
(This used to be commit 0eea6b84cec7e2a3fc1f784d5a9b162f71cc8a02)
2007-10-10 12:19:06 -05:00
Günther Deschner
f1ab10b2ec r22058: Add test_nss_modules to check NSS modules for unresolved symbols.
Guenther
(This used to be commit 21d092f4f9aca1371f2cf97a39da6f30ddc62eba)
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 04705aa190936510fc672ee92a4dbe540e18cf45)
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 ad981261877e6a2dce0c4f4e71fd9127aa31538a)
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 9b34cd8d8917bc640c861783e56a1c121c7c47f9)
2007-10-10 12:19:06 -05:00
Stefan Metzmacher
c1ecf3bda3 r22051: use libreplace headers
metze
(This used to be commit 1017ca3eaa5cb8f4537886df5a1ee62439fff2f0)
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 728a4cc71376f9cfff2578d21a47602f8b7c6531)
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 b70af25e851b2695e552b10f1befb16e336fb36f)
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 140881cfbb59ce4a699b5900efe02bf315be7bd5)
2007-10-10 12:19:05 -05:00
Volker Lendecke
8990b13d2f r22044: Remove the only skip_string(...,2) caller
(This used to be commit 08ea2b83b26968990fce191cdafe26d3183518a6)
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 2878c1e93a8d71288fa3144cff57bce66c592e22)
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 d47af7c9263f519e7307859b6a696d854c5dfca3)
2007-10-10 12:19:04 -05:00
Stefan Metzmacher
6013b59b44 r22039: fix compiler warnings
metze
(This used to be commit 91402d7a42d9930e8e67bc67423b8b79db27f12d)
2007-10-10 12:19:04 -05:00
Stefan Metzmacher
d9741cde33 r22033: remove useless line
metze
(This used to be commit cb6d90d7963d8fc650b46355d7e6590d1e0654ad)
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 635b83a21683068eb3908506d5ee1191e55381d1)
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 46ff4e599e79f47254e05c7e4db75db9a19934bc)
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 82667bc75e63292c61f73c1f7cde809cc3dd55b0)
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 5fe3328e66661371182cc1c3b6e239797c3b4f93)
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 e3e0ec25e67308de314aa61852905ee42aa2c8fe)
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 6138be7e4a5eb57af4a024d749cb68168b8589fb)
2007-10-10 12:19:02 -05:00
Herb Lewis
01efa3d403 r22018: fix compile error
(This used to be commit a4c1c770a227390f745c9db07efe468bdcd31339)
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 99092e8841edea468fa1e59a8c725f3467b58966)
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 29933600cff458f6599e4604f9e861cd20fc8e38)
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 61a1574f50d35435a55de62fa6f1d281eed90a25)
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 c3a565081d70b209a4f9e6e8f1859bf7194a5f74)
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 22eaed76f01ea9d0184dcaf57adca23abc6330b9)
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 1fec4da6d6267289bf93f930de4cb5e21c450e15)
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 d8cd4fc91b324c9ab8d2f66ee264093763018f76)
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 8e15ef476cada7a900ff17c7ba70c729d56718bd)
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 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
b9461058d5 r22008: use string_term_tdb_data()
metze
(This used to be commit 1f047d7e31252481c4ed905e0dfdb791c704adca)
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
7bdd7ecafa r22007: make string_tdb_data(NULL) possible...
metze
(This used to be commit d03094708378bde088bf6e90efe54deb83d3952e)
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
e8265c6515 r22006: use string_term_tdb_data()...
metze
(This used to be commit 136914502ff129b90f10794ed6474dca558c75a0)
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 7d30737c8d851505e81a60443baf9a8c7e523472)
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 1a3980f1fcb6431aa6bce83f7c34338436b4e962)
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 fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
9bb40d7c61 r22000: remove useless casts
metze
(This used to be commit 8f55fe4e4614d73c2534ca87745972f7550875ee)
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
5b7c813104 r21999: remove useless casts
metze
(This used to be commit f948005ca69c50b07fdbcf7801975676d19d1486)
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 78d13f14672b65c2d4798ce94322e945334eea62)
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 6b923acfee59e39eea69e9e9a00f1f6118ed4270)
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 9785528ddf26c4943e8bdfcf7694314a52218520)
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 3e901389feedadd64c6ba712ab09cdfb497a9e0a)
2007-10-10 12:18:58 -05:00