Jim McDonough [Mon, 11 Nov 2002 15:43:09 +0000 (15:43 +0000)]
Add getdata and getdataex commands
Jim McDonough [Mon, 11 Nov 2002 15:41:04 +0000 (15:41 +0000)]
Add getdata and getdataex commands
Jelmer Vernooij [Mon, 11 Nov 2002 13:49:39 +0000 (13:49 +0000)]
Fix typo
Jelmer Vernooij [Mon, 11 Nov 2002 13:49:25 +0000 (13:49 +0000)]
Fix typo
Jelmer Vernooij [Mon, 11 Nov 2002 13:29:46 +0000 (13:29 +0000)]
Add note about error that happens when the loopback device doesn't work
Simo Sorce [Mon, 11 Nov 2002 09:01:24 +0000 (09:01 +0000)]
union is better to avoid problems with pointers
Tim Potter [Mon, 11 Nov 2002 05:48:12 +0000 (05:48 +0000)]
Sync with HEAD.
Jeremy Allison [Sun, 10 Nov 2002 22:24:10 +0000 (22:24 +0000)]
First cut of fix for changenotify on a print server handle. Use the connections tdb
with an snum of -1 and a special printername.
Jeremy.
Jeremy Allison [Sun, 10 Nov 2002 22:24:00 +0000 (22:24 +0000)]
First cut of fix for changenotify on a print server handle. Use the connections tdb
with an snum of -1 and a special printername.
Jeremy.
Jelmer Vernooij [Sun, 10 Nov 2002 16:30:23 +0000 (16:30 +0000)]
Print the number of returned rows, not the number of fields
Jelmer Vernooij [Sun, 10 Nov 2002 16:29:50 +0000 (16:29 +0000)]
Print the number of returned rows, not the number of fields
Jelmer Vernooij [Sun, 10 Nov 2002 16:01:04 +0000 (16:01 +0000)]
Add $(POPT_LIB_OBJ) to PROTO_OBJ
Jelmer Vernooij [Sun, 10 Nov 2002 12:10:39 +0000 (12:10 +0000)]
Sync with HEAD
cvs2svn Import User [Sun, 10 Nov 2002 12:07:55 +0000 (12:07 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Jelmer Vernooij [Sun, 10 Nov 2002 12:07:54 +0000 (12:07 +0000)]
Add example for MySQL
Jelmer Vernooij [Sun, 10 Nov 2002 11:42:51 +0000 (11:42 +0000)]
Remove testsmbc.c from source/ in 3.0 as well. It's already in examples/
Simo Sorce [Sun, 10 Nov 2002 04:34:03 +0000 (04:34 +0000)]
sync with head
was:
consolidate alla error mapping functions in one file
Simo Sorce [Sun, 10 Nov 2002 04:16:59 +0000 (04:16 +0000)]
consolidate error mapping functions into a single file
Jeremy Allison [Sun, 10 Nov 2002 03:07:19 +0000 (03:07 +0000)]
After the lord mayors parade......
Janitor for tridge :-).
Jeremy.
Jeremy Allison [Sun, 10 Nov 2002 03:00:43 +0000 (03:00 +0000)]
Fix for scalable printing noticed by tpot. Don't loop infinately
when holding a mutex.... :-).
Jeremy.
Jeremy Allison [Sun, 10 Nov 2002 03:00:28 +0000 (03:00 +0000)]
Fix for scalable printing noticed by tpot. Don't loop infinately
when holding a mutex.... :-).
Jeremy.
Andrew Tridgell [Sun, 10 Nov 2002 02:16:43 +0000 (02:16 +0000)]
make sure we don't try to decode any null password buffers during a
SAM sync. This copes with both unset passwords from NT4 DCs and the
null passwords you get from w2k domains.
Andrew Tridgell [Sun, 10 Nov 2002 00:35:04 +0000 (00:35 +0000)]
make sure that if kerberos fails we can fall back on NTLMSSP for SASL
Jelmer Vernooij [Sat, 9 Nov 2002 23:28:40 +0000 (23:28 +0000)]
Back out some of my sync changes
Andrew Bartlett [Sat, 9 Nov 2002 23:18:25 +0000 (23:18 +0000)]
Merge append_log fix from HEAD
Andrew Bartlett [Sat, 9 Nov 2002 23:17:01 +0000 (23:17 +0000)]
Kill append_log from smbmount (thanks vance for reminding me).
Andrew Bartlett
Jim McDonough [Sat, 9 Nov 2002 18:01:27 +0000 (18:01 +0000)]
Add net help join text, from Steve Langasek.
Also update the other commands to his correct example of [<method>], since
it is optional.
Thanks, Steve.
Jim McDonough [Sat, 9 Nov 2002 17:59:24 +0000 (17:59 +0000)]
Add net help join text, from Steve Langasek.
Also update the other commands to his correct example of [<method>], since
it is optional.
Thanks, Steve.
Jelmer Vernooij [Sat, 9 Nov 2002 17:08:58 +0000 (17:08 +0000)]
Last sync with HEAD
Jelmer Vernooij [Sat, 9 Nov 2002 16:57:45 +0000 (16:57 +0000)]
Sync with HEAD
Jelmer Vernooij [Sat, 9 Nov 2002 16:12:35 +0000 (16:12 +0000)]
Start sync with HEAD
Gerald Carter [Sat, 9 Nov 2002 14:49:26 +0000 (14:49 +0000)]
deldriver fix
Gerald Carter [Sat, 9 Nov 2002 14:48:27 +0000 (14:48 +0000)]
deldriver fix
Gerald Carter [Sat, 9 Nov 2002 05:42:37 +0000 (05:42 +0000)]
re-enable ffpcn on print server handle
Gerald Carter [Sat, 9 Nov 2002 05:41:27 +0000 (05:41 +0000)]
re-enable ffpcn on print server handle
Gerald Carter [Sat, 9 Nov 2002 04:37:07 +0000 (04:37 +0000)]
remove accidental debug code..
Gerald Carter [Sat, 9 Nov 2002 04:36:43 +0000 (04:36 +0000)]
remove accidental debug code.
Jeremy Allison [Sat, 9 Nov 2002 03:57:28 +0000 (03:57 +0000)]
Fix bug found by tpot with given password server.
Jeremy.
Jeremy Allison [Sat, 9 Nov 2002 03:48:39 +0000 (03:48 +0000)]
Fix bug found by tpot with given password server.
Jeremy.
Jeremy Allison [Sat, 9 Nov 2002 03:37:01 +0000 (03:37 +0000)]
Add chainlock_read functions to get a read lock. Used in *massively*
contended tdb's (and I've got one :-).
Jeremy.
Jeremy Allison [Sat, 9 Nov 2002 03:36:47 +0000 (03:36 +0000)]
Add chainlock_read functions to get a read lock. Used in *massively*
contended tdb's (and I've got one :-).
Jeremy.
Andrew Bartlett [Sat, 9 Nov 2002 03:27:42 +0000 (03:27 +0000)]
Merge fix for uninitialised IP variable from HEAD
Andrew Bartlett [Sat, 9 Nov 2002 02:36:47 +0000 (02:36 +0000)]
Fix bug where not specifying '-S PDC' in 'net join' would cause it to attempt
to contact a random IP address.
Andrew Bartlett
Martin Pool [Sat, 9 Nov 2002 01:47:54 +0000 (01:47 +0000)]
Rewrite all the packing stuff so that it converts 'f' strings to CP850
on encoding. (Tough luck if your Samba codepage is not 850.) It's
much cleaner and possibly more efficient now too: just build one big
list of strings, then zip it up at the end.
Still need to do this for unpacking.
Gerald Carter [Fri, 8 Nov 2002 23:47:51 +0000 (23:47 +0000)]
fix for defunct winbindd from APP_HEAD
Gerald Carter [Fri, 8 Nov 2002 23:46:45 +0000 (23:46 +0000)]
defunct winbindd fix from APP_HEAD
Andrew Bartlett [Fri, 8 Nov 2002 23:08:59 +0000 (23:08 +0000)]
Merge from HEAD:
- change auth_sam to use the initialisation flags to determine if
the password attributes are set
- add const to secrets.c, cliconnect.c
- passdb: fix spelling in pdb_ldap, add group mapping back to smbpasswd
- SAMR: add debugs to show what fails for group enum.
Andrew Bartlett
Andrew Bartlett [Fri, 8 Nov 2002 23:05:34 +0000 (23:05 +0000)]
Compleatly remove support for logfile truncation. All logs are opened for
append writes.
(blessed by jra)
Andrew Bartlett
Andrew Bartlett [Fri, 8 Nov 2002 22:15:34 +0000 (22:15 +0000)]
Make smbpasswd use the group mapping, and fix spelling in ldapsam.
This gets user mangler for doamins working again.
Andrew Bartlett
Andrew Bartlett [Fri, 8 Nov 2002 22:14:31 +0000 (22:14 +0000)]
Make it easier to track things down here - add some debugs on failure.
Andrew Bartlett [Fri, 8 Nov 2002 22:13:34 +0000 (22:13 +0000)]
Make smbpasswd tell people to use 'net join', not 'net rpc join' now we have
the automagic detection.
Jim McDonough [Fri, 8 Nov 2002 21:40:31 +0000 (21:40 +0000)]
Add enumdataex command
Jim McDonough [Fri, 8 Nov 2002 21:39:53 +0000 (21:39 +0000)]
Add enumdataex command
John Terpstra [Fri, 8 Nov 2002 20:53:02 +0000 (20:53 +0000)]
Remove Faxing.txt no longer exits.
Jim McDonough [Fri, 8 Nov 2002 20:51:04 +0000 (20:51 +0000)]
Implement enumdata command
Jim McDonough [Fri, 8 Nov 2002 20:50:06 +0000 (20:50 +0000)]
Implement enumdata command
Jim McDonough [Fri, 8 Nov 2002 20:36:31 +0000 (20:36 +0000)]
Sync with HEAD to get enumprinterkey api.
Jim McDonough [Fri, 8 Nov 2002 19:07:36 +0000 (19:07 +0000)]
Add enumkey command (EnumPrinterKey api)
Jim McDonough [Fri, 8 Nov 2002 19:06:34 +0000 (19:06 +0000)]
Add enumkey command (EnumPrinterKey api)
Gerald Carter [Fri, 8 Nov 2002 18:45:38 +0000 (18:45 +0000)]
patches from Urban
Gerald Carter [Fri, 8 Nov 2002 18:44:57 +0000 (18:44 +0000)]
patches from Urban
Tim Potter [Fri, 8 Nov 2002 01:38:45 +0000 (01:38 +0000)]
Don't set global_machine_password_needs_changing if
lp_machine_password_timeout() is set to zero.
Tim Potter [Fri, 8 Nov 2002 01:34:58 +0000 (01:34 +0000)]
Don't set global_machine_password_needs_changing if
lp_machine_password_timeout() is set to zero.
Jeremy Allison [Thu, 7 Nov 2002 22:45:11 +0000 (22:45 +0000)]
Fix crash bug with overwriting memory.
Jeremy.
Jeremy Allison [Thu, 7 Nov 2002 22:43:54 +0000 (22:43 +0000)]
Fix crash bug with overwriting malloced memory.
Jeremy.
Jelmer Vernooij [Thu, 7 Nov 2002 21:39:51 +0000 (21:39 +0000)]
Make append_log work again
Jelmer Vernooij [Thu, 7 Nov 2002 20:17:46 +0000 (20:17 +0000)]
Back out lp_modules() check - this one got in by accident when I added poptSetOtherOptions
cvs2svn Import User [Thu, 7 Nov 2002 19:45:56 +0000 (19:45 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Jelmer Vernooij [Thu, 7 Nov 2002 19:45:55 +0000 (19:45 +0000)]
Fix small typo
Jeremy Allison [Thu, 7 Nov 2002 18:54:02 +0000 (18:54 +0000)]
Merge Jim's new rpc client code to 3.0.
Jeremy.
Jim McDonough [Thu, 7 Nov 2002 15:43:04 +0000 (15:43 +0000)]
What is wrong with you, Jim? Check in the final version, not an interim one...
Jim McDonough [Thu, 7 Nov 2002 15:32:48 +0000 (15:32 +0000)]
Fix the build.
Build farm! Build farm! Please check the build farm!
...or at least run make torture.
Jim McDonough [Thu, 7 Nov 2002 15:29:09 +0000 (15:29 +0000)]
Fix the build.
Build farm! Build farm! Please check the build farm!
...or at least run make torture.
Jim McDonough [Thu, 7 Nov 2002 14:46:24 +0000 (14:46 +0000)]
Stop using hardcoded smbtrans subcommands
Jim McDonough [Thu, 7 Nov 2002 14:45:46 +0000 (14:45 +0000)]
Define smbtrans subcommands so we can stop hardcoding them
Jim McDonough [Thu, 7 Nov 2002 14:40:25 +0000 (14:40 +0000)]
Allow multiple fragment RPC's to be sent.
Jim McDonough [Thu, 7 Nov 2002 14:39:49 +0000 (14:39 +0000)]
Stop using hardcoded transact commands
Jim McDonough [Thu, 7 Nov 2002 14:38:53 +0000 (14:38 +0000)]
Add smbtrans subcommands so we can stop hardcoding them
Tim Potter [Thu, 7 Nov 2002 07:24:10 +0000 (07:24 +0000)]
Perform my janitorial duties.
Tim Potter [Thu, 7 Nov 2002 07:23:37 +0000 (07:23 +0000)]
Remove lp_security() checks for winbindd as this is how we act as a PDC.
Keep the rest of the cleanups though.
Jeremy Allison [Thu, 7 Nov 2002 07:20:33 +0000 (07:20 +0000)]
Keeping 3.0 in sync....
Jeremy.
Jeremy Allison [Thu, 7 Nov 2002 07:19:10 +0000 (07:19 +0000)]
Jeremy the janitor again... keeping 3.0 in sync with tridge's changes this
time.
Jeremy.
Jeremy Allison [Thu, 7 Nov 2002 07:17:09 +0000 (07:17 +0000)]
Keep branches in sync.....
Jeremy.
Jeremy Allison [Thu, 7 Nov 2002 07:14:14 +0000 (07:14 +0000)]
Keeping branches in sync....
Jeremy.
Jeremy Allison [Thu, 7 Nov 2002 07:13:29 +0000 (07:13 +0000)]
Keeping branches in sync....
Jeremy.
Jeremy Allison [Thu, 7 Nov 2002 07:08:04 +0000 (07:08 +0000)]
Being tpot's janitor again.... checking in things only checked into HEAD.
We are meant to be keeping 3.0 up to date...
Jeremy.
Andrew Tridgell [Thu, 7 Nov 2002 04:53:18 +0000 (04:53 +0000)]
fixed some formatting errors and improved some debug statements in
'net rpc vampire'
Andrew Tridgell [Thu, 7 Nov 2002 04:52:04 +0000 (04:52 +0000)]
when doing a 'net rpc vampire' a pdb_init_sam_pw() is used to create a
sam account object, then pdb_update_sam_account() can be used to
update an account. This code path could lead to the methods element of
the account being used when uninitialised (leading to a segv)
Easiest fix is to always make that that when creating a sam_account
object we initialise the methods to null, so that the passdb code
knows that it needs to be filled in.
Jeremy Allison [Thu, 7 Nov 2002 02:38:42 +0000 (02:38 +0000)]
Merge ... scalable printing code fix... Needs testing.
Also tidied up some of Richard's code (I don't think he uses the compiler
flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like
I do :-) :-).
Jeremy.
Jeremy Allison [Thu, 7 Nov 2002 02:15:35 +0000 (02:15 +0000)]
Merge ... scalable printing code fix... Needs testing.
Jeremy.
Tim Potter [Thu, 7 Nov 2002 01:12:24 +0000 (01:12 +0000)]
Sync up python stuff from HEAD.
Tim Potter [Thu, 7 Nov 2002 01:06:38 +0000 (01:06 +0000)]
Call winbindd_param_init() earlier on in the piece so we don't get stuck in
the holding pattern when started up when security = user or security = ads.
Clean up return value of winbindd_common_init() - what a mess!
Tim Potter [Wed, 6 Nov 2002 23:43:21 +0000 (23:43 +0000)]
For a BUFFER5, don't parse the buffer if the buffer length is zero.
Tim Potter [Wed, 6 Nov 2002 23:38:39 +0000 (23:38 +0000)]
Client side functions for enumprinterkey.
Tim Potter [Wed, 6 Nov 2002 23:36:07 +0000 (23:36 +0000)]
Added enumprinterkey function.
Stub for deleteprinterkey.
Tim Potter [Wed, 6 Nov 2002 23:34:12 +0000 (23:34 +0000)]
Moved function to parse a list of unicode strings into util file.
It's now used in parsing printer driver structures and the response
from the enumprinterkey rpc.
Jelmer Vernooij [Wed, 6 Nov 2002 22:10:16 +0000 (22:10 +0000)]
Add group management support (patch from metze)
Tim Potter [Wed, 6 Nov 2002 20:13:02 +0000 (20:13 +0000)]
Fix compiler warnings.
Jelmer Vernooij [Wed, 6 Nov 2002 12:26:21 +0000 (12:26 +0000)]
Adapt to latest pdb API changes - only thing left is group support
Jelmer Vernooij [Wed, 6 Nov 2002 11:21:47 +0000 (11:21 +0000)]
pdb_get_unknown? -> pdb_get_unknown_?