Andrew Bartlett [Wed, 2 Jan 2002 07:41:54 +0000 (07:41 +0000)]
Actually enforce the passdb API.
Thou shalt not reference SAM_ACCOUNT members directly - always use
pdb_get/pdb_set.
This is achived by making the whole of SAM_ACCOUNT have a .private member,
where the real members live. This caught a pile of examples, and these have
beeen fixed.
The pdb_get..() functions are 'const' (have been for some time) and this
required a few small changes to constify other functions.
I've also added some debugs to the pdb get and set, they can be removed if
requested.
I've rewritten the copy_id2x_to_sam_pass() functions to use the new passdb
interface, but I need the flags info to do it properly.
The pdb_free_sam() funciton now blanks out the LM and NT hashes, and as such
I have removed many extra 'samr_clear_sam_passwd(smbpass)' calls as a result.
Finally, any and all testing is always appriciated - but the basics seem to
work.
Andrew Bartlett
(This used to be commit
d3dd28f6c443187b8d820d5a39c7c5b3be2fa95c)
Jeremy Allison [Wed, 2 Jan 2002 07:27:33 +0000 (07:27 +0000)]
Make user enumeration work for w2k and win9x.
This means different return sizes depending on client bugs. This sucks :-(.
Jeremy.
(This used to be commit
f6592628eb526c487069bb3fcd809aca930e668e)
Andrew Bartlett [Wed, 2 Jan 2002 06:55:21 +0000 (06:55 +0000)]
Another touch of 'const'
(This used to be commit
3d812aacff98eec62c748cb89109a2e58806d92d)
Martin Pool [Wed, 2 Jan 2002 06:29:56 +0000 (06:29 +0000)]
Martin Pool [Wed, 2 Jan 2002 06:08:02 +0000 (06:08 +0000)]
Also capture received data
(This used to be commit
93fadcd1118b390605d2504bee63a1e8b6373ac5)
Martin Pool [Wed, 2 Jan 2002 05:39:49 +0000 (05:39 +0000)]
struct cli_state remembers the pipe name that it's talking to, if any,
so that we can print it in later debug messages.
Call prs_dump to dump out requests sent by the client at sufficiently
high debug levels.
(This used to be commit
9973b22b34dc2a88a20b821d4e69f39d2a6aa6a3)
Martin Pool [Wed, 2 Jan 2002 05:38:09 +0000 (05:38 +0000)]
struct cli_state remembers the pipe name that it's talking to, if any,
so that we can print it in later debug messages.
(This used to be commit
37ae84f782e1de6fcea92acb2189683cdf8e7e92)
Andrew Bartlett [Wed, 2 Jan 2002 03:54:40 +0000 (03:54 +0000)]
Minor update to make the output 'real C'. (The output is intended to be a C
format table for inclusion back into Samba).
Andrew Bartlett
(This used to be commit
95abb2473bb4f93df163a0e8af79d5292e1389b3)
Tim Potter [Wed, 2 Jan 2002 00:52:30 +0000 (00:52 +0000)]
Removed reference to rpc_client/cli_netlogon.o from dependencies for
samsync. The libsmb version should do fine.
(This used to be commit
001fe3481f26e27964b3d60c067524b45f085304)
Simo Sorce [Wed, 2 Jan 2002 00:40:47 +0000 (00:40 +0000)]
the pdbedit tool manpage
(This used to be commit
4aecb650e1ece234fb7359270deb74fe1c1a4a16)
Andrew Tridgell [Tue, 1 Jan 2002 06:55:33 +0000 (06:55 +0000)]
try to handle broken const in headers on cray unicos
(This used to be commit
8143052e6917d4ae774192ed463ea7359cf0a5fb)
Andrew Bartlett [Tue, 1 Jan 2002 06:16:43 +0000 (06:16 +0000)]
This brings the NT->DOS error mapping into better line with what NT does.
I'll post the changes to the actual map to the list for comment, but this fixes
the 'unknown' case.
Andrew Bartlett
(This used to be commit
024843a2cedb0b9f06a3351c5838caea372b6c5c)
Andrew Bartlett [Tue, 1 Jan 2002 05:52:02 +0000 (05:52 +0000)]
Add a function to convert 'NT_STATUS...' strings back into their actual error
code.
Andrew Bartlett
(This used to be commit
f0089b089b319009576bb39a076397bb44aff628)
Andrew Bartlett [Tue, 1 Jan 2002 05:51:03 +0000 (05:51 +0000)]
Allow usernames in the form of 'NT_STATUS_....' to map to that as the error
when using the 'name_to_ntstatus' auth module.
This could be useful in testing.
Andrew Bartlett
(This used to be commit
5cdc67d0bda8ef41305cae9c5be70d11593ffdd8)
Andrew Bartlett [Tue, 1 Jan 2002 05:49:27 +0000 (05:49 +0000)]
Now that winbind doesn't rely on this, we may as well remove it...
Andrew Bartlett
(This used to be commit
6673fdda3cb6b90189d8f82274fdffa89f68101b)
Andrew Bartlett [Tue, 1 Jan 2002 04:50:45 +0000 (04:50 +0000)]
Further rpc_client removal, this time from winbindd.
Also removed the dependency on auth_util.o, which makes things nicer.
Finally, this kills off the NECESSARY_BECAUSE_SAMBA_DEPENDENCIES_ARE_SO_BROKEN_OBJ
makefile variable - becouse Samba dependencies are starting to be sane again!
Andrew Bartlett
(This used to be commit
4609edcac3b70c11025f0c5aa0ddbeed93369c84)
Andrew Tridgell [Tue, 1 Jan 2002 04:05:10 +0000 (04:05 +0000)]
renamed ans1.h to asn_1.h to prevent conflict caused by krb5 headers
on some platforms using "" instead of <> in include statements
(This used to be commit
d0ba307032340a22d77cb1d8fc78b4234e1a963c)
Andrew Bartlett [Tue, 1 Jan 2002 03:10:32 +0000 (03:10 +0000)]
A farily large commit:
- Move rpc_client/cli_trust.c to smbd/change_trust_pw.c
- It hasn't been used by anything else since smbpasswd lost its -j
- Add a TALLOC_CTX to the auth subsytem. These are only valid for the length
of the calls to the individual modules, if you want a longer context hide it
in your private data.
Similarly, all returns (like the server_info) should still be malloced.
- Move the 'ntdomain' module (security=domain in oldspeak) over to use the new
libsmb domain logon code. Also rework much of the code to use some better
helper functions for the connection - getting us much better error returns
(the new code is NTSTATUS).
The only remaining thing to do is to figure out if tpot's 0xdead 0xbeef for
the LUID feilds is sufficient, or if we should do random LUIDs as per the old
code.
Similarly, I'll move winbind over to this when I get a chance.
This leaves the SPOOLSS code and some cli_pipe code as the only stuff still in
rpc_client, at least as far as smbd is concerned.
While I've given this a basic rundown, any testing is as always appriciated.
Andrew Bartlett
(This used to be commit
d870edce76ecca259230fbdbdacd0c86793b4837)
Andrew Bartlett [Tue, 1 Jan 2002 02:34:29 +0000 (02:34 +0000)]
Add a specialised version of tpot's libsmb samlogon code for use with
presupplied challange-response pairs, and only using the 'network' version.
This will be used to move the auth subsystem over to a libsmb (rather than
rpc_client) base.
Andrew Bartlett
(This used to be commit
fe9d77791583737320f8c7560861168df7388c2f)
Andrew Bartlett [Tue, 1 Jan 2002 02:31:32 +0000 (02:31 +0000)]
Fix up C99 comment.
// -> /* */
(This used to be commit
a308abbab717df56b982adf1717da96603d2045f)
Andrew Bartlett [Tue, 1 Jan 2002 00:18:47 +0000 (00:18 +0000)]
Named constants are always much better than magic numbers...
(I defined the constants when I put in 'net rpc shutdown')
Andrew Bartlett
(This used to be commit
4d90cc1d991f3894b9f39b2a75078148834701bb)
Jeremy Allison [Mon, 31 Dec 2001 23:24:48 +0000 (23:24 +0000)]
last_enum not used.
Jeremy.
(This used to be commit
efbec935fe727d5d5bd852c7bae9baf92df18686)
Jeremy Allison [Mon, 31 Dec 2001 22:37:51 +0000 (22:37 +0000)]
Fixed enumeration of a large (<1500) users from a Samba PDC to a W2k
member server. Firstly, use the same max enumeration size (0x400) as W2K
uses, otherwise W2K won't ask for any more. Secondly, if a enumeration
request with a non-zero offset comes in on a handle that hasn't started
an enumeration, don't bitch about it (return NT_STATUS_UNSUCCESSFUL),
just load the db on that handle and return at that offset.
Jeremy.
(This used to be commit
0b7da4a50ea02e28ab23e71de1e5f8b9194a9af3)
Andrew Tridgell [Mon, 31 Dec 2001 22:10:24 +0000 (22:10 +0000)]
added a simple test to see whether building shared libraries actually
works
(This used to be commit
3aeefbca4f272f57e83e753177ee6e8157b2dbd5)
Simo Sorce [Mon, 31 Dec 2001 16:01:04 +0000 (16:01 +0000)]
ops, froget to set the values.
jerry, can you look at theis where we use standard_sub_advanced() fns?
I think this structure should be backported to 2.2 because we do not know if the SAM_ACCOUNT strings have enough space to contain the "substituted" string.
(Yes, just now we know they are pstrings, but we may change them into alloced one, I'm a strong suported of alloced strings as 1024 bytes are not always enough and are often too much)
(This used to be commit
29b3b5e9292805aa65e887755567abd50f74e5cb)
Simo Sorce [Mon, 31 Dec 2001 15:48:32 +0000 (15:48 +0000)]
const religion
(This used to be commit
c0904d96170a9166b8cd405b75ce4a9bbc32ad1b)
Simo Sorce [Mon, 31 Dec 2001 15:48:03 +0000 (15:48 +0000)]
port mods from 2.2
(This used to be commit
f796f18a83cd2fc0988612aa38c794f005efbfaf)
Gerald Carter [Mon, 31 Dec 2001 14:39:26 +0000 (14:39 +0000)]
reverted to 1.24 and manually merged in changes from 2.2
(This used to be commit
466f515240aaeca7b0fe2b7b3474ab23cab687cc)
Andrew Tridgell [Mon, 31 Dec 2001 14:31:13 +0000 (14:31 +0000)]
cope with systems that don't have full gssapi libs
(This used to be commit
c4d928e55fe99a3a1c4e53508a44949f92d74219)
Andrew Tridgell [Mon, 31 Dec 2001 14:05:22 +0000 (14:05 +0000)]
more irix -64 portability fixes
(This used to be commit
65e857b36e170e3ecd78bf6695ae73342e9c04cd)
Andrew Tridgell [Mon, 31 Dec 2001 13:46:26 +0000 (13:46 +0000)]
- portablitity fixes for cc -64 on irix
- fixed gid* bug in rpc_server
(This used to be commit
48aa90c48c5f0e3054c4acdc49668e222e7c0d36)
Andrew Bartlett [Mon, 31 Dec 2001 13:06:10 +0000 (13:06 +0000)]
Ensure the output cli can't have spurious values if the connection fails...
(This used to be commit
2d1612dd3560bb5ef35fa1eeee00e3d7976bcd62)
Andrew Bartlett [Mon, 31 Dec 2001 13:00:59 +0000 (13:00 +0000)]
Add 'net rpc shutdown' and 'net rpc abortshutdown'.
These two little features are very useful, but the passing of options about
needs some serious work. The popt stuff in the shutdown code is #ifdef'ed out
until the main popt loop can be convinced not to chew on the options :-(
Andrew Bartlett
(This used to be commit
51c985be7fbfe5627c5b2590e7610653e7be98e3)
Andrew Bartlett [Mon, 31 Dec 2001 12:50:44 +0000 (12:50 +0000)]
Fix up the comment in the copyright header
(This used to be commit
45042bef7cdede6f991572677654903bbf7d9144)
Andrew Bartlett [Mon, 31 Dec 2001 12:41:24 +0000 (12:41 +0000)]
Give the main loop talloc context a name (using mbp's new talloc naming
system).
Andrew Bartlett
(This used to be commit
f0c301a12eb142add488a2da55591269dfc15f77)
Andrew Bartlett [Mon, 31 Dec 2001 11:25:48 +0000 (11:25 +0000)]
Make --with-tdbsam compile again, given the new 'am I setting a default' flags.
Andrew Bartlett
(This used to be commit
20d7c5d9b9bc0a426897f21b3350933602abdbf1)
Andrew Bartlett [Mon, 31 Dec 2001 11:14:38 +0000 (11:14 +0000)]
Allow this to build without LDAP, as per the example below it.
Andrew Bartlett
(This used to be commit
f60e4450018fc06c9f8ce18e62c29fd968d55daa)
Gerald Carter [Mon, 31 Dec 2001 02:04:08 +0000 (02:04 +0000)]
fix compile error
(This used to be commit
c946c6bbc8192f5f0f3706d1b4a6cca0a994f36b)
Gerald Carter [Mon, 31 Dec 2001 01:56:05 +0000 (01:56 +0000)]
removed extern samlogon_user
(This used to be commit
a7dc0febe4285b70d3ff5b27505b2681731bfba1)
Gerald Carter [Mon, 31 Dec 2001 00:09:15 +0000 (00:09 +0000)]
remove samlogon_user
(This used to be commit
a5f4559b2aade54f1c0f717eea21881f482faff2)
Gerald Carter [Mon, 31 Dec 2001 00:06:51 +0000 (00:06 +0000)]
some merges from 2.2. Still need to merge in changes from pdb_tdb.c
but it will take more time as I don't want to loose any fixes that
are only in HEAD.
(This used to be commit
efcde5d9d8ce44c0613764504d797be54ba21473)
Simo Sorce [Sun, 30 Dec 2001 22:55:04 +0000 (22:55 +0000)]
freeing the wrong pointer, sorry my mistake.
(This used to be commit
ce7e89949ae1755f9faa008784a5b1a9b137945e)
Tim Potter [Sun, 30 Dec 2001 21:25:46 +0000 (21:25 +0000)]
Unicode byte ording fix from Benjamin Kuit <bj@it.uts.edu.au>
(This used to be commit
6b7e9d03cf6093f1108642deddb0f8cc42e59067)
Simo Sorce [Sun, 30 Dec 2001 19:21:25 +0000 (19:21 +0000)]
util_sid.c - respect a const variabile (addedd strdup)
cli_reg.c - indentation
pdb_ldap.c - some checks on init fns parameters
pdb_tdb.c - some checks on init fns parameters + make sure we close the db on failure
(This used to be commit
49f5cb7a3df6d673f86e6769319aa657e30d8380)
Andrew Bartlett [Sun, 30 Dec 2001 10:54:58 +0000 (10:54 +0000)]
Add a pile of doxygen style comments to various parts of Samba. Many of these
probably will never actually be genearted, but I like the style in any case.
Also fix a segfault in 'net rpc' when the login failed and a small memory leak
on failure in the auth_info.c code.
Andrew Bartlett
(This used to be commit
2efae7cc522651c22fb120835bc800645559b63e)
Andrew Bartlett [Sun, 30 Dec 2001 10:50:46 +0000 (10:50 +0000)]
Finally remove these files, which moved (by cvs backend magic) to source/auth
at the start of the month.
(This used to be commit
30ef625897cd025e1895c932b55dee027f060413)
Andrew Bartlett [Sun, 30 Dec 2001 10:19:56 +0000 (10:19 +0000)]
Finish idra's cleanup of the RPC remote shutdown code.
(This used to be commit
79031b68ce6bdf882d9c9bd4f3310f597e0c1fda)
Simo Sorce [Sun, 30 Dec 2001 08:37:34 +0000 (08:37 +0000)]
remove unneaded memory leaking code.
(This used to be commit
d2c663185e13974f953a60adf1b191b56bfa08f4)
Andrew Bartlett [Sun, 30 Dec 2001 06:20:23 +0000 (06:20 +0000)]
Fix the compile on systems without a full kerberos kit.
Andrew Bartlett
(This used to be commit
33ae29028bffccf5a9cdd8d44b08c27b9d8fd982)
Andrew Bartlett [Sun, 30 Dec 2001 05:59:43 +0000 (05:59 +0000)]
Make Samba compile on RH 6.2 again.
We now include the libber.h file if required, but currently we just don't use
ldap. (I'll chase this up).
In the meantime, I've moved the ads_status code about, its now in its own file,
and has a couple of #ifdefs to allow smbd to link - becouse the lack of LDAP
caused HAVE_ADS to be undefined. (I hope its not too ugly).
Andrew Bartlett
(This used to be commit
14407c87e2dcccae1784290e3eb7a2d611516aff)
Jeremy Allison [Sun, 30 Dec 2001 01:46:38 +0000 (01:46 +0000)]
When running interactive we want to set our own process group for
signal management.
Jeremy.
(This used to be commit
fffae94dd5699f44c0b1c8081587deafd89b3fc0)
Gerald Carter [Sun, 30 Dec 2001 00:03:47 +0000 (00:03 +0000)]
pdb_getsampwnuid() merge from 2.2
(This used to be commit
54cbfc7ebcdf1bd2094407b689b0050f0abfa46f)
Jeremy Allison [Sat, 29 Dec 2001 21:15:40 +0000 (21:15 +0000)]
Documented -i modes for nmbd/smbd.
Jeremy.
(This used to be commit
a076e2e4c512cd2ef2f9c38447c44d93e4b6ac57)
Jeremy Allison [Sat, 29 Dec 2001 21:13:53 +0000 (21:13 +0000)]
Fixup -i interactive modes.
Jeremy.
(This used to be commit
9343b613d3778b0330bc4d610d3befd363797360)
Jeremy Allison [Sat, 29 Dec 2001 20:29:43 +0000 (20:29 +0000)]
Removed extra lp_adduser() call.
Fixed up error returns in get_correct_cversion().
Jeremy.
(This used to be commit
7ce2d1fe37d2be26c407f3dc9427851d00ca216a)
Gerald Carter [Sat, 29 Dec 2001 16:20:49 +0000 (16:20 +0000)]
file Samba-LDAP-HOWTO.sgml was initially added on branch SAMBA_2_2.
(This used to be commit
d57c43fd05d8759f09c8c460baeb513a8ed41479)
Simo Sorce [Sat, 29 Dec 2001 09:52:24 +0000 (09:52 +0000)]
passing NULL to print_queue_status()'s status parameter could end in a segfault
(This used to be commit
79254d2b0490ba400832ef6d460895d45cc4273f)
Gerald Carter [Fri, 28 Dec 2001 02:28:39 +0000 (02:28 +0000)]
removed unused files
(This used to be commit
c6d867b55273167a0adaeb979062752edeb09549)
Gerald Carter [Fri, 28 Dec 2001 02:03:36 +0000 (02:03 +0000)]
merge from 2.2
(This used to be commit
241b5218ea5ad83ecb02a0f838e84abee0672371)
Gerald Carter [Thu, 27 Dec 2001 06:38:04 +0000 (06:38 +0000)]
moving SAM_ACCOUNT to include a bit field for initialized
members (such as uid and gid). This way we will be able to
keep ourselves from writing out default smb.conf settings when
the admin doesn't want to, That part is not done yet.
Tested compiles with ldap/tdb/smbpasswd. Tested connection with smbpasswd
backend.
oh...and smbpasswd doesn'y automatically expire accounts after 21 days
from the last password change either now. Just ifdef'd out that code
in build_sam_account().
Will merge updates into 2.2 as they are necessary.
jerry
(This used to be commit
f0d43791157d8f04a13a07d029f203ad4384d317)
Gerald Carter [Wed, 26 Dec 2001 05:35:40 +0000 (05:35 +0000)]
Herb Lewis [Sat, 22 Dec 2001 01:15:58 +0000 (01:15 +0000)]
merge Jeremy's gcc3 warning fix from 2.2
(This used to be commit
52e9d2c383371e64e498bbdb4a3f0e8583ca77a0)
Herb Lewis [Sat, 22 Dec 2001 00:54:10 +0000 (00:54 +0000)]
sync up packaging scripts
(This used to be commit
3999e13ef89acd51df4cf215959eccd6217c86e3)
Herb Lewis [Sat, 22 Dec 2001 00:51:32 +0000 (00:51 +0000)]
merge IRIX winbind support from Samba 2.2 branch
(This used to be commit
20c5f042e3bb79ff96a993c70b843908dcfafb65)
Jeremy Allison [Fri, 21 Dec 2001 23:28:04 +0000 (23:28 +0000)]
Removed unused variables.
Jeremy.
(This used to be commit
621fa227bdf6af15daa13f62287978dc2310c04c)
Jeremy Allison [Fri, 21 Dec 2001 23:25:32 +0000 (23:25 +0000)]
The jf_get_sampasswd_entries() is not used anymore.
Jeremy.
(This used to be commit
bf1816099707b816c9b62ad5ab794dc49b833181)
Jean-François Micouleau [Fri, 21 Dec 2001 22:54:53 +0000 (22:54 +0000)]
added a copyright notice.
J.F.
(This used to be commit
87928c4d91940447191af4fe83a2be7ac3477361)
Jean-François Micouleau [Fri, 21 Dec 2001 22:34:49 +0000 (22:34 +0000)]
doesn't keep track of the struct's size we enumerate. W2K doesn't
calculate them and always reply a size of 32 bytes whereas NT4 did the
maths. Anyway, it looks like the clients don't complain.
in query_dom_info() at level 2, return the real number of users and
groups. That's the fix to the W95/98 userlist bug !
as W95/98 does a query_dom_info(2) followed by a query_disp_info(4) on
the SAME context handle (err we call it an lsa policy handle ! plain
wrong name), I was tempted to keep the snapshoot in memory, to prevent
2 full user db enumerations in a row and just have one shared. But if some
client does the 2 calls on two different handles, we would have 2 copies
in memory not free'ed before the samr_close().
We still have too many fixed constant and too many magic values in that
code. And btw, I really hates how the sequence number is generated !
J.F.
(This used to be commit
c0178e1a03f8225e5b350feb8fcbfb02f43327b4)
Jeremy Allison [Fri, 21 Dec 2001 22:27:20 +0000 (22:27 +0000)]
Fixup some DEBUG statements (0 -> 10).
Jeremy.
(This used to be commit
bf65331cb49299189d35ad5834167ec24b3a1ecb)
Jean-François Micouleau [Fri, 21 Dec 2001 22:18:06 +0000 (22:18 +0000)]
close some handles. not really necessary but doesn't hurt.
J.F.
(This used to be commit
55b9cd7af611e5f76896e1849529629e5e7caaf8)
Gerald Carter [Fri, 21 Dec 2001 20:04:22 +0000 (20:04 +0000)]
merge from 2.2
(This used to be commit
6697e46183719c894ec115c0fd8a18ad4191b347)
Jeremy Allison [Fri, 21 Dec 2001 19:34:32 +0000 (19:34 +0000)]
Use pdb_free_sam() to free a SAM_ACCOUNT struct, not safe_free(). There
are pointers withing the SAM_ACCOUNT struct that also need freeing.
Jeremy.
(This used to be commit
a7d099cc75f813b4010a5f313c3fa6e6e8284b6d)
Jean-François Micouleau [Fri, 21 Dec 2001 13:38:07 +0000 (13:38 +0000)]
added all level to samr_query_disp_info rpcclient side.
J.F.
(This used to be commit
d5f2e645e43224b966c17c593fff33b64d6c0a8b)
Volker Lendecke [Fri, 21 Dec 2001 13:37:39 +0000 (13:37 +0000)]
Large expansion of my german book project.
Volker
(This used to be commit
768f90a6ca8538ffda5b46491281eea7673ae730)
Jean-François Micouleau [Fri, 21 Dec 2001 13:36:14 +0000 (13:36 +0000)]
re-done all of samr_query_disp_info()
instead of enumerating the whole user db or group db every time, we store
a in memory copy linked to the handle.
that's much faster for large enumeration where the db can't fit in a
single rpc packet. And as it's a copy, it's constant between enumeration.
still some stuff to clean. But now I can fix the W95 userlist bug, as I've
finally found it.
J.F.
(This used to be commit
3ab45215369e8e93d750f4687e9c1f7d47782590)
Jean-François Micouleau [Fri, 21 Dec 2001 13:30:55 +0000 (13:30 +0000)]
put back the -l option to rpcclient.
that's the most useful option in this tool !
I love rpcclient ;-)
J.F.
(This used to be commit
18dc4cd57a53480684ea9e2bc6a6442535f89119)
Andrew Tridgell [Fri, 21 Dec 2001 12:29:51 +0000 (12:29 +0000)]
- handle kerberos session setup reply with broken null termination
- don't display Domain=[] for auth protocols that don't give us a domain
(This used to be commit
20368455ea59e6e9b85632848bbe92069e7b0f38)
Andrew Tridgell [Fri, 21 Dec 2001 11:58:30 +0000 (11:58 +0000)]
try to handle end of packet for not null terminated domain strings
(This used to be commit
1da988456dbd885820093ae43c74e0ac66f72802)
Andrew Tridgell [Fri, 21 Dec 2001 11:20:59 +0000 (11:20 +0000)]
updated ldap test to test for less common function
(This used to be commit
831f25a9a7ef3f5481c531b3a5ff514fa8b6d81e)
Andrew Tridgell [Fri, 21 Dec 2001 11:04:14 +0000 (11:04 +0000)]
fixed a typo in vsyslog()
(This used to be commit
da353bc539db6e2f8d834275abdd9b5fb47b9db8)
Herb Lewis [Fri, 21 Dec 2001 05:13:36 +0000 (05:13 +0000)]
remove duplicate lines
(This used to be commit
b60d6f11972892a17bf6df5e7ee3dd2e498bc4c0)
Martin Pool [Fri, 21 Dec 2001 04:33:28 +0000 (04:33 +0000)]
smbcontrol in non-interactive mode was returning True for success --
need to invert this to give the shell 0.
(This used to be commit
ecc624067c54314834aacbf21d0f2ee54fce37e9)
Martin Pool [Fri, 21 Dec 2001 04:30:58 +0000 (04:30 +0000)]
Add option to pass NULL max_replies to wait_for_replies in case you
don't know how many to expect.
(This used to be commit
53f1c0298b526dcacae956453a4b95fff226d0b8)
Martin Pool [Fri, 21 Dec 2001 04:28:03 +0000 (04:28 +0000)]
Add code to send MSG_REQ_POOL_USAGE. (smbd doesn't respond yet.)
Factor out common code to wait until replies are received or timeout
expires.
Show debug message when messages are sent.
(This used to be commit
17bb0f60af13c5d0561c0ba50b0a6331bde52e8f)
Tim Potter [Fri, 21 Dec 2001 02:23:38 +0000 (02:23 +0000)]
Append to log.winbindd instead of overwriting it so we are consistent with
smbd/nmbd behaviour.
(This used to be commit
54d276561524213302e7bb2d759d7d4082fd6e8a)
Tim Potter [Fri, 21 Dec 2001 01:16:37 +0000 (01:16 +0000)]
Fix for null command description in rpcclient help. From Benjamin Kuit
<bj@it.uts.edu.au>.
(This used to be commit
60d1d0bfa93bfb8264b117147b651b521dbf28ce)
Martin Pool [Fri, 21 Dec 2001 00:37:49 +0000 (00:37 +0000)]
Add an output parameter to message_send_all that says how many
messages were sent, so you know how many replies to expect.
Const and doc religion.
(This used to be commit
22e510ea0d69356be4fd2fa5ad9e9f4e84f62337)
Martin Pool [Fri, 21 Dec 2001 00:37:09 +0000 (00:37 +0000)]
Factor out a broadcast_printer_notify() routine.
(This used to be commit
d32598c953e7a500f707a02608c44203bc5941ec)
Martin Pool [Fri, 21 Dec 2001 00:34:26 +0000 (00:34 +0000)]
Add MSG_REQ_POOL_USAGE to get memory usage info.
(This used to be commit
b28dbbf56987fcea24941b8c46c4d5b52551a815)
Samba Release Account [Thu, 20 Dec 2001 23:51:57 +0000 (23:51 +0000)]
preparing for release of 3.0-alpha12
(This used to be commit
9542b0a42cf0c51c171d50e825665245584ac87d)
Andrew Tridgell [Thu, 20 Dec 2001 23:46:05 +0000 (23:46 +0000)]
lp_setup_logfile() doesn't exist any more
(This used to be commit
aa52ae7354ae5ab803da4686f344cfc4ca134c46)
Andrew Tridgell [Thu, 20 Dec 2001 23:36:39 +0000 (23:36 +0000)]
check for a winbindd username when doing a kerberos auth
(This used to be commit
39f2e2e1623a011e2c99ecca64e0643b1e450657)
Andrew Tridgell [Thu, 20 Dec 2001 23:35:53 +0000 (23:35 +0000)]
make sure we store the domain sid when joining a ADS domain
(This used to be commit
dfbe442c668480d88cb8b385c6b89f8e198ca500)
Andrew Tridgell [Thu, 20 Dec 2001 23:35:14 +0000 (23:35 +0000)]
added ads_domain_sid() function
(This used to be commit
ff002a458afa6ca378f0c6d2ec9fb74233c839a7)
Jeremy Allison [Thu, 20 Dec 2001 22:27:05 +0000 (22:27 +0000)]
Removed global debugf. Replaced with lp_set_logfile(name).
Fixed winbindd to finally stop leaving log. file droppings :-).
Jeremy.
(This used to be commit
0bea6cf79a44f79fa3a4f2c8381e898e79c66509)
Gerald Carter [Thu, 20 Dec 2001 21:58:50 +0000 (21:58 +0000)]
update from Vance
(This used to be commit
fe7ad3761233f7adb13756d611a11dbf0594b77f)
Gerald Carter [Thu, 20 Dec 2001 21:25:20 +0000 (21:25 +0000)]
couple of updates mentioned on samba@samba.org
(This used to be commit
95308453b256fc51cbf1a2b2726ba8db7da1e80b)
Jeremy Allison [Thu, 20 Dec 2001 18:37:43 +0000 (18:37 +0000)]
Setup global_myworkgroup. Needed for secrets fetch code.
Jeremy.
(This used to be commit
057e91c1c3833516d03b492f3ebe489d8216a0ba)
Gerald Carter [Thu, 20 Dec 2001 15:09:23 +0000 (15:09 +0000)]
merge from 2.2
(This used to be commit
72d3b160229ce9ab8497579ee79668738a70a81f)
Samba Release Account [Thu, 20 Dec 2001 10:21:56 +0000 (10:21 +0000)]
preparing for release of 3.0-alpha11
(This used to be commit
5ed31faeb1f3cddc0e61acc63f96119e26f2b529)