kai/samba.git
20 years agoTry this again on the right machine. Adding files for PCP samba pmda
Herb Lewis [Wed, 11 Oct 2000 14:07:32 +0000 (14:07 +0000)]
Try this again on the right machine. Adding files for PCP samba pmda
(This used to be commit 8ad653f9ebc60c6807c1552425fa83218f6a15d4)

20 years agoRenamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS.
Tim Potter [Wed, 11 Oct 2000 05:45:06 +0000 (05:45 +0000)]
Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS.
(This used to be commit 5f3cf2eb78bfa6fb00890d449d38e9f13964712c)

20 years agosync with 2.2. tree
Herb Lewis [Wed, 11 Oct 2000 05:38:37 +0000 (05:38 +0000)]
sync with 2.2. tree
(This used to be commit 8586624815f70a4448c001f14e74eabc96dd4d04)

20 years agochanges to sync with 2.2. tree
Herb Lewis [Wed, 11 Oct 2000 05:31:39 +0000 (05:31 +0000)]
changes to sync with 2.2. tree

.cvsignore              remove config.h - not in this directory
include/profile.h       profile changes
lib/messages.c          added message to return debug level
libsmb/clierror.c       cast to get rid of compiler warning
libsmb/smbencrypt.c     cast to get rid of compiler warning
profile/profile.c       add flush profile stats changes for profile struct
rpc_parse/parse_samr.c  fix for compiler warning
rpc_server/srv_samr.c   cast to get rid of compiler warning
smbd/ipc.c              profile stats
message.c               profile stats
smbd/negprot.c          profile stats
smbd/nttrans.c          profile stats
smbd/trans2.c           profile stats
utils/smbcontrol.c      new flush stats command
(This used to be commit bbb24daa25dca4e4b6b1f8942cd84ee3aa1bed8e)

20 years agoModified initgroups to provide a get groups a user is a member of
Tim Potter [Wed, 11 Oct 2000 05:25:32 +0000 (05:25 +0000)]
Modified initgroups to provide a get groups a user is a member of
functionality.  This is much faster than inverting the group database.

Added client side command for this to wbinfo.
(This used to be commit e87b2d3d1fb84311d83d21a76900f994e4ff71dd)

20 years agoDon't initialise groups twice.
Tim Potter [Wed, 11 Oct 2000 04:54:37 +0000 (04:54 +0000)]
Don't initialise groups twice.
(This used to be commit 15d7f16bdc2ff4f2ae82871eb9f318ba45cf4d1c)

20 years agoRemove duplicate group initialisation function.
Tim Potter [Wed, 11 Oct 2000 04:54:01 +0000 (04:54 +0000)]
Remove duplicate group initialisation function.

Don't initialise groups twice.
(This used to be commit 5375261152b28a65de18e817c75cab79c2f556b8)

20 years agoFix to avoid calling getgrgid for no reason.
Jeremy Allison [Wed, 11 Oct 2000 03:46:14 +0000 (03:46 +0000)]
Fix to avoid calling getgrgid for no reason.
Jeremy.
(This used to be commit b057a7349b2d6420f96a6ebc31822da66b39fe6c)

20 years agoFix for growing printing.tdb by adding check on job creation.
Jeremy Allison [Wed, 11 Oct 2000 02:26:27 +0000 (02:26 +0000)]
Fix for growing printing.tdb by adding check on job creation.
This also updates the printing.tdb db version to 2.
Jeremy.
(This used to be commit 13395514c632341e7be36eb9589011bb0949b075)

20 years agoRemove lpq as root fix - do this in print_job_start instead
Jeremy Allison [Wed, 11 Oct 2000 02:04:46 +0000 (02:04 +0000)]
Remove lpq as root fix - do this in print_job_start instead
as part of print queue length processing.
Jeremy.
(This used to be commit e85a0fadd8dcf608822819f00f15569713518806)

20 years agoFixes to periodically scan printing.tdb in idle time and occasionally
Jeremy Allison [Tue, 10 Oct 2000 21:52:31 +0000 (21:52 +0000)]
Fixes to periodically scan printing.tdb in idle time and occasionally
on exit. Needed to fix printing.tdb from groving to 300Mb+ if being
driven by smbclient clients that never ask for status... (effective
DOS attack :-).
Jeremy.
(This used to be commit 6581066b93a674fadf6f9b92441428d2cc8b4a02)

20 years agoFix found by Andrew to stop local/remote printers being
Jeremy Allison [Tue, 10 Oct 2000 19:09:48 +0000 (19:09 +0000)]
Fix found by Andrew to stop local/remote printers being
confused. check_printer_ok was causing SETPRINTER calls to fail.
Jeremy.
(This used to be commit b41cc5fea7409d07529adad44f0cbba5c764591c)

20 years agoFixed Realloc memory fragmentation problems.
Jeremy Allison [Tue, 10 Oct 2000 18:40:03 +0000 (18:40 +0000)]
Fixed Realloc memory fragmentation problems.
Jeremy.
(This used to be commit 5518f59976ecac796a85db959cb9e8cc6c4d3504)

20 years agoFixed nasty size wrong bug spotted by the eagle eyes of
Jeremy Allison [Tue, 10 Oct 2000 18:34:44 +0000 (18:34 +0000)]
Fixed nasty size wrong bug spotted by the eagle eyes of
JF :-).
Jeremy.
(This used to be commit 443293a06530d0a5421b39d9a6a224d6ae316bd3)

20 years agoAdded debug so we can see how winbindd converts SIDS.
Jeremy Allison [Tue, 10 Oct 2000 18:22:50 +0000 (18:22 +0000)]
Added debug so we can see how winbindd converts SIDS.
Jeremy.
(This used to be commit 6696bf203c90dc20c00b47737f5ea1d9b8e23d75)

20 years agoJust in case anyone thinks that Win ME is not freally just a
Gerald Carter [Tue, 10 Oct 2000 13:30:02 +0000 (13:30 +0000)]
Just in case anyone thinks that Win ME is not freally just a
facelift for Win98/95

jerry
(This used to be commit fca30085cc8c84697927e7769251205e10fd31ed)

20 years agoa netlogon enum trust query doesn't have a function_code at end.
Jean-François Micouleau [Tue, 10 Oct 2000 13:08:55 +0000 (13:08 +0000)]
a netlogon enum trust query doesn't have a function_code at end.
a sam_user_info_24 doesn't have a uint16 at end
samr_create_user also creates the unix account now
samr_set_userinfo changes the password.

        J.F.
(This used to be commit 94f4024481fcd0cb6647af1bd4364033be020641)

20 years agogot rid of tdb_writelock() and instead lock a chain. tdb_writelock()
Andrew Tridgell [Tue, 10 Oct 2000 06:45:09 +0000 (06:45 +0000)]
got rid of tdb_writelock() and instead lock a chain. tdb_writelock()
is conceptually flawed
(This used to be commit 6e4a3585521b7e5928298bd0f1418ff9fbcacfb4)

20 years agoadded tdb_lock_bystring() and tdb_unlock_bystring()
Andrew Tridgell [Tue, 10 Oct 2000 06:43:26 +0000 (06:43 +0000)]
added tdb_lock_bystring() and tdb_unlock_bystring()
(This used to be commit ca443210c84575d39e60c38a7a12d037386d0e38)

20 years agodon't use gets() !
Andrew Tridgell [Tue, 10 Oct 2000 05:05:35 +0000 (05:05 +0000)]
don't use gets() !
(This used to be commit e4ea0a5975d3539803c78cac2229550a6e89c4b4)

20 years agoFixes to allow wins.c to compile to allow building of libnss_wins.so.
John Terpstra [Mon, 9 Oct 2000 21:44:00 +0000 (21:44 +0000)]
Fixes to allow wins.c to compile to allow building of libnss_wins.so.
(This used to be commit 3fb2e94c4430c570639c0e4d1caeed3a19bbd09b)

20 years agoI introduced a bug in my last commits. Hopefully nobody noticed :-)
Jean-François Micouleau [Mon, 9 Oct 2000 14:41:19 +0000 (14:41 +0000)]
I introduced a bug in my last commits. Hopefully nobody noticed :-)

J.F.
(This used to be commit 044246fe7e40d83673120dc14b5d6572e6c23142)

20 years agoMissing conn parameter missed in vfs rewrite.
Jeremy Allison [Mon, 9 Oct 2000 00:06:30 +0000 (00:06 +0000)]
Missing conn parameter missed in vfs rewrite.
Jeremy.
(This used to be commit 4eecc63be5bd11590972ee4f446b7a80d46a713b)

20 years agosys_popen got damaged when converted from FILE * to int fd I think.
Jeremy Allison [Sun, 8 Oct 2000 21:21:27 +0000 (21:21 +0000)]
sys_popen got damaged when converted from FILE * to int fd I think.
Patrick Powell kindly pointed out the bug.
Jeremy.
(This used to be commit 1f156b2420b7ecf1266e650efc3cee55362e29dd)

20 years agomore cleanup of samr
Jean-François Micouleau [Sat, 7 Oct 2000 17:32:40 +0000 (17:32 +0000)]
more cleanup of samr

J.F.
(This used to be commit c49cc884458d6efa0f7f4b1e40f7d98d84836e77)

20 years agoadded samr_set_user_info and info_2.
Jean-François Micouleau [Sat, 7 Oct 2000 15:56:36 +0000 (15:56 +0000)]
added samr_set_user_info and info_2.
cleanup of create_user
cleanup of rid/sid mix in samr. now we only have sid.

some prs_align() missing in parse_samr.c

a small debug change in srv_pipe.c

You still can't change a user's password in this commit.
Will be availble in the next one.

J.F.
(This used to be commit b655bc281fa183b1827a946ada1fcf500fb93aea)

20 years agoEnsure browse.dat is written and read in UNIX character set format.
Jeremy Allison [Sat, 7 Oct 2000 01:15:07 +0000 (01:15 +0000)]
Ensure browse.dat is written and read in UNIX character set format.
Jeremy.
(This used to be commit 279d0ec656b03f9266e38b013f16b69e7571c0d5)

20 years agoIntegrated support for NT and OS/2 lpq parsing. Code from
Jeremy Allison [Sat, 7 Oct 2000 00:48:27 +0000 (00:48 +0000)]
Integrated support for NT and OS/2 lpq parsing. Code from
Jim McDonough
Infoprint Manager Development
Linux Technology Center
IBM Boulder

Jeremy.
(This used to be commit d9eedd5db1728be8e23d73c954db13bbbcadf3fb)

20 years agoFix for yp_get_default_domain from Neil Hoggarth <neil.hoggarth@physiol.ox.ac.uk>
Jeremy Allison [Sat, 7 Oct 2000 00:26:04 +0000 (00:26 +0000)]
Fix for yp_get_default_domain from Neil Hoggarth <neil.hoggarth@physiol.ox.ac.uk>
Jeremy.
(This used to be commit 44ed8abb2a9f2197b18565dd23a2795faf8fe241)

20 years agoFix for printf attribute from Mattias Gronlund <Mattias.Gronlund@sa.erisoft.se>
Jeremy Allison [Fri, 6 Oct 2000 23:35:55 +0000 (23:35 +0000)]
Fix for printf attribute from Mattias Gronlund <Mattias.Gronlund@sa.erisoft.se>
Added "codepage directory" patch from Peter.Polkinghorne@brunel.ac.uk
Jeremy.
(This used to be commit e49566c2e21fcd16980e5110495645c5ae5a36da)

20 years agoAdded Herb's fixes to HEAD.
Jeremy Allison [Fri, 6 Oct 2000 23:01:47 +0000 (23:01 +0000)]
Added Herb's fixes to HEAD.
Jeremy.
(This used to be commit 4862d2ab1163310d844b929fb17239b4f4cb1a99)

20 years agoFix from RFritz@lbl.gov for Linux ECONREFUSED async errors on Linux.
Jeremy Allison [Fri, 6 Oct 2000 22:37:42 +0000 (22:37 +0000)]
Fix from RFritz@lbl.gov for Linux ECONREFUSED async errors on Linux.
Jeremy.
(This used to be commit dd804fdb96ff49645647787c197a61a6515a474d)

20 years agoPrint socket options - patch from Dave Collier-Brown @ Sun.
Jeremy Allison [Fri, 6 Oct 2000 21:12:25 +0000 (21:12 +0000)]
Print socket options - patch from Dave Collier-Brown @ Sun.
Jeremy.
(This used to be commit c18d6f8701c8e6ca03f9fff79cf28c842b3b5ff9)

20 years agoFixed error return messages needed for NTTrans CreateDirectory.
Jeremy Allison [Fri, 6 Oct 2000 20:34:14 +0000 (20:34 +0000)]
Fixed error return messages needed for NTTrans CreateDirectory.
This patch allows the standard W2k recursive mkdir to work against
Samba.
Jeremy.
(This used to be commit 947102784360c65d51441457bb54aa28d2b4452d)

20 years agoProto update. Also fix from John Reilly @ HP for not showing APW with W2K.
Jeremy Allison [Fri, 6 Oct 2000 20:03:17 +0000 (20:03 +0000)]
Proto update. Also fix from John Reilly @ HP for not showing APW with W2K.
Jeremy.
(This used to be commit 698288cb9de316527c0c2a271e18c920578f9930)

20 years agoHerb's warning fixes. Also the POSIX locking fix.
Jeremy Allison [Fri, 6 Oct 2000 18:13:52 +0000 (18:13 +0000)]
Herb's warning fixes. Also the POSIX locking fix.
We now use our own vfs layer to do get/set acl calls (hurrah!).
Jeremy.
(This used to be commit dfe77c7046cbd65ee52aea7439f21503c1eac41d)

20 years agoglobal_myname is actually a pstring.
Tim Potter [Fri, 6 Oct 2000 04:36:05 +0000 (04:36 +0000)]
global_myname is actually a pstring.
(This used to be commit e451fd346105d5d34354ff9141d445b5f1a82e0a)

20 years agoInlined many of the vfs_XXX calls as macros for speed.
Jeremy Allison [Fri, 6 Oct 2000 03:41:48 +0000 (03:41 +0000)]
Inlined many of the vfs_XXX calls as macros for speed.
Jeremy.
(This used to be commit 0811d080abd374f47c7c3c8a1ef007e443e5b79c)

20 years agoRestructuring of vfs layer to include a "this" pointer - can be an fsp or
Jeremy Allison [Fri, 6 Oct 2000 03:21:49 +0000 (03:21 +0000)]
Restructuring of vfs layer to include a "this" pointer - can be an fsp or
a conn struct depending on the call.
We need this to have a clean NT ACL call interface.
This will break any existing VFS libraries (that's why this is pre-release
code).
Andrew gets credit for this one :-) :-).

In addition - added Herb's WITH_PROFILE changes - Herb - please examine
the changes I've made to the smbd/reply.c code you added. The original
code was very ugly and I have replaced it with a
START_PROFILE(x)/END_PROFILE(x) pair using the preprocessor.
Please check this compiles ok with the --with-profile switch.
Jeremy.
(This used to be commit b07611f8159b0b3f42e7e02611be9f4d56de96f5)

20 years agoFix for null passwords being allowed bug.
Jeremy Allison [Thu, 5 Oct 2000 22:51:57 +0000 (22:51 +0000)]
Fix for null passwords being allowed bug.
Jeremy.
(This used to be commit d4d55488397832df35b558564c263a307b0bb629)

20 years agoFixes from Damian at Cisco to tidy up some tdbtool issues.
Jeremy Allison [Thu, 5 Oct 2000 22:19:34 +0000 (22:19 +0000)]
Fixes from Damian at Cisco to tidy up some tdbtool issues.
Jeremy.
(This used to be commit 623bfa6c935e2e3acb3145bfbd490758b34d2c70)

20 years agoVector get_nt_acl/set_nt_acl via vfs. POSIX ACL support should be added
Jeremy Allison [Thu, 5 Oct 2000 19:04:41 +0000 (19:04 +0000)]
Vector get_nt_acl/set_nt_acl via vfs. POSIX ACL support should be added
above this layer.
Jeremy.
(This used to be commit b90af886a951b7b049ed7a42e6d99c332e43897b)

20 years agoHerb's fixes for profiling & compiler warnings.
Jeremy Allison [Thu, 5 Oct 2000 18:50:18 +0000 (18:50 +0000)]
Herb's fixes for profiling & compiler warnings.
Jeremy.
(This used to be commit 7914e9351abb5271ebb4990c3b1fe495d15a4eda)

20 years agosomeone forgot to update proto.h :-)
Jean-François Micouleau [Thu, 5 Oct 2000 12:43:37 +0000 (12:43 +0000)]
someone forgot to update proto.h :-)

J.F.
(This used to be commit 3664e80fcd292ee8ba20861b01945d7db59858a9)

20 years agofixing prs_unistr2(). For the special case of an empty (but existing)
Jean-François Micouleau [Thu, 5 Oct 2000 12:41:31 +0000 (12:41 +0000)]
fixing prs_unistr2(). For the special case of an empty (but existing)
string.

J.F.
(This used to be commit 83bfe94771e0afbffbb4a1a741cd9983ef612362)

20 years agoSpelling flames. (-:
Tim Potter [Thu, 5 Oct 2000 03:35:37 +0000 (03:35 +0000)]
Spelling flames.  (-:
(This used to be commit 178e6971005505d2debd74b761ecfaa982336a53)

20 years agoAdded uid and gid to push_sec_ctx() debug.
Tim Potter [Thu, 5 Oct 2000 03:28:58 +0000 (03:28 +0000)]
Added uid and gid to push_sec_ctx() debug.
(This used to be commit 2817b6cc8af3edbaa63b5db67689ab94cb240d4f)

20 years agoFixed compiler warnings.
Tim Potter [Thu, 5 Oct 2000 03:14:28 +0000 (03:14 +0000)]
Fixed compiler warnings.
(This used to be commit ec7f7e350dc1dfa757436cb0efe777c3e0719877)

20 years agoMade re-init of stat cache explicit rather than being hidden.
Jeremy Allison [Wed, 4 Oct 2000 22:37:33 +0000 (22:37 +0000)]
Made re-init of stat cache explicit rather than being hidden.
Jeremy.
(This used to be commit b0c40236bb4381fec0e812c20e5f8c09ebf005f9)

20 years agoAdding Herb's compile warning fixes to HEAD.
Jeremy Allison [Wed, 4 Oct 2000 01:03:23 +0000 (01:03 +0000)]
Adding Herb's compile warning fixes to HEAD.
Jeremy.
(This used to be commit d131ad1ce3f6e72e295f865a463f8dcbfa6f8d42)

20 years agoFixes for the fact that UNICODE sizes are no always 2*no of chars when
Jeremy Allison [Tue, 3 Oct 2000 19:15:05 +0000 (19:15 +0000)]
Fixes for the fact that UNICODE sizes are no always 2*no of chars when
in multibyte codepages. Fix from Hiroshi MIURA, Samba User Group Japan staff.
Jeremy.
(This used to be commit f2f373df67a3c6b0bd431c19e3494d45ef0a263c)

20 years agoFixes from Herb - compiler warnings.
Jeremy Allison [Tue, 3 Oct 2000 18:29:12 +0000 (18:29 +0000)]
Fixes from Herb - compiler warnings.
Jeremy.
(This used to be commit d9d3668fa322cbed36ca3393d8268bf0e5255e8d)

20 years agoutf-8 and EUC3 patch from Hiroshi Miura Samba User Group Japan staff.
Jeremy Allison [Tue, 3 Oct 2000 02:12:14 +0000 (02:12 +0000)]
utf-8 and EUC3 patch from Hiroshi Miura Samba User Group Japan staff.
mkdir high bits patch from Robert Dahlem" <Robert.Dahlem@gmx.net>.
jeremy.
(This used to be commit b40191d27180ab1e59935086073c4d312552f717)

20 years agoMemleak fix for cache code.
Jeremy Allison [Mon, 2 Oct 2000 21:03:46 +0000 (21:03 +0000)]
Memleak fix for cache code.
Jeremy.
(This used to be commit 1ebe54666b0fc6f224f17036063dfe0ef7ec9147)

20 years agoAdded debug so if zero length messages get sent we successfully remove
Jeremy Allison [Mon, 2 Oct 2000 19:28:26 +0000 (19:28 +0000)]
Added debug so if zero length messages get sent we successfully remove
them (this can happen if smbd processes are shut down at the wrong time).
Jeremy.
(This used to be commit c1de97f96b8c5ad8e5f01a0d17c6387733769442)

20 years agoMissing null termination on printer changenotify message caused insure
Jeremy Allison [Fri, 29 Sep 2000 21:15:45 +0000 (21:15 +0000)]
Missing null termination on printer changenotify message caused insure
error.
Jeremy.
(This used to be commit 3733d29ce678c71ef2ee8b600e547765d8d8ea9e)

20 years agoutils/smbcontrol.c: Fixes from Herb for interactive use.
Jeremy Allison [Fri, 29 Sep 2000 20:08:00 +0000 (20:08 +0000)]
utils/smbcontrol.c: Fixes from Herb for interactive use.
printing/nt_printing.c: No C++ comments please :-).
Jeremy.
(This used to be commit dd9f668108215f18240458fc33bf872a6fc9e6be)

20 years agonew man pages
Herb Lewis [Fri, 29 Sep 2000 19:50:57 +0000 (19:50 +0000)]
new man pages
(This used to be commit 8a7d6c8e91ecd57f2693be7d697d8231c8d339a4)

20 years agonew prototypes
Andrew Tridgell [Fri, 29 Sep 2000 04:47:18 +0000 (04:47 +0000)]
new prototypes
(This used to be commit 3e77bf2117c43d3202774df24debc91f61d88733)

20 years agoadded a hack to get 64 bit locking working with the broken fcntl()
Andrew Tridgell [Fri, 29 Sep 2000 04:45:00 +0000 (04:45 +0000)]
added a hack to get 64 bit locking working with the broken fcntl()
call in glibc 2.1.95. This hack only gets enabled if you define
GLIBC_HACK_FCNTL64
(This used to be commit d8b9ec741cc57b5f3dd1b3ef782a7baed402beaa)

20 years agouse the 64 bit locking interface in locktest
Andrew Tridgell [Fri, 29 Sep 2000 04:43:07 +0000 (04:43 +0000)]
use the 64 bit locking interface in locktest
(This used to be commit 1ece7f1ffd7d0b61d6acea03819fb857ea556b4b)

20 years agofixed a harmess mixup of bitops and a boolean
Andrew Tridgell [Fri, 29 Sep 2000 04:42:29 +0000 (04:42 +0000)]
fixed a harmess mixup of bitops and a boolean
(This used to be commit 0e0f3dc577ceab540be6505a86697b14a2136b9f)

20 years agoadded cli_lock64() and cli_unlock64()
Andrew Tridgell [Fri, 29 Sep 2000 04:41:52 +0000 (04:41 +0000)]
added cli_lock64() and cli_unlock64()
(This used to be commit 91f0a3cc2f59a49f6ce8550e7d07b9b01e0b285f)

20 years agoMissing from HEAD and 2.2 - terminal server reg config.
Jeremy Allison [Thu, 28 Sep 2000 22:17:41 +0000 (22:17 +0000)]
Missing from HEAD and 2.2 - terminal server reg config.
Jeremy.
(This used to be commit f5b5b9f287de343d9eb61817ef99499408f1a019)

20 years agoFix from John Reilly for forms ordering problems.
Jeremy Allison [Thu, 28 Sep 2000 21:33:08 +0000 (21:33 +0000)]
Fix from John Reilly for forms ordering problems.
Jeremy.
(This used to be commit 837839eb3d0fae7fef5d61593862a2c1b00d6a07)

20 years agoRemoved a line by mistake...
Jeremy Allison [Thu, 28 Sep 2000 20:58:15 +0000 (20:58 +0000)]
Removed a line by mistake...
Jeremy.
(This used to be commit dcbdff7a4d6442ca8f9e1aa6fcf65c196c2f22bf)

20 years agoAdded comment on JF's new code. Removed ifdef in passdb/smbpass.c as this
Jeremy Allison [Thu, 28 Sep 2000 20:36:28 +0000 (20:36 +0000)]
Added comment on JF's new code. Removed ifdef in passdb/smbpass.c as this
was not correct.
Jeremy.
(This used to be commit 1a3f7ecde2ca031b2f93a079f75822354fe241a0)

20 years agofixed samr_create_user(). we now correctly parse the query and the reply.
Jean-François Micouleau [Thu, 28 Sep 2000 17:35:03 +0000 (17:35 +0000)]
fixed samr_create_user(). we now correctly parse the query and the reply.
And we create the disabled account. That means we can create user and
trust accounts remotely !

ifdef out a return in passdb/smbpass.c. I think I didn't break any
security. Jeremy could you check if I didn't make any mistakes ???

J.F.
(This used to be commit 416be1b64f366c8b859f25856fce2467ec0446d9)

20 years agoRemoved annoying unecessary debug message.
Tim Potter [Thu, 28 Sep 2000 00:07:19 +0000 (00:07 +0000)]
Removed annoying unecessary debug message.
(This used to be commit b1a893b74114ee4ab6a295ac0cb0e8fdccda3f53)

20 years agoFixed stupid introduced bug found by "Jim McDonough/Boulder/IBM" <jmcd@us.ibm.com>.
Jeremy Allison [Wed, 27 Sep 2000 21:57:38 +0000 (21:57 +0000)]
Fixed stupid introduced bug found by "Jim McDonough/Boulder/IBM" <jmcd@us.ibm.com>.
Jeremy.
(This used to be commit 563f8b09a810446c658bf58303b5fe998d27bec9)

20 years agoRestructuring of the code to remove dos_ChDir/dos_GetWd and re-vector them
Jeremy Allison [Wed, 27 Sep 2000 19:09:59 +0000 (19:09 +0000)]
Restructuring of the code to remove dos_ChDir/dos_GetWd and re-vector them
through the VFS. All file access/directory access code in smbd should now
go via the vfs. Added vfs_chown/vfs_chmod calls. Still looking at vfs_get_nt_acl()
vfs_set_nt_acl() call API design.
Jeremy.
(This used to be commit f96625ec124adb6e110dc54632e006b3620a962b)

20 years agosamr unknown 0x32 is in fact samr create user.
Jean-François Micouleau [Wed, 27 Sep 2000 13:02:57 +0000 (13:02 +0000)]
samr unknown 0x32 is in fact samr create user.
so renamed and tidy up of the server function.

J.F.
(This used to be commit 0f707ac1fb5685b800d6599b9074ec1d4e65b1c1)

20 years agoignore smbcontrol in bin directory
Jean-François Micouleau [Wed, 27 Sep 2000 11:25:16 +0000 (11:25 +0000)]
ignore smbcontrol in bin directory

J.F.
(This used to be commit d56cc6ebe7fe546c1fe28f6f75d1cc0702694972)

21 years agofix for IRIX 6.2 compiler error
Herb Lewis [Tue, 26 Sep 2000 23:28:04 +0000 (23:28 +0000)]
fix for IRIX 6.2 compiler error
(This used to be commit eecee22bf1ab6e22e5e989b51d522fcf587aa48c)

21 years agofix for IRIX compiler error messages
Herb Lewis [Tue, 26 Sep 2000 18:48:13 +0000 (18:48 +0000)]
fix for IRIX compiler error messages
(This used to be commit f2549db1ce6527c3e378e9f9210c70be5de93762)

21 years agofixed IRIX compiller error message
Herb Lewis [Tue, 26 Sep 2000 14:48:52 +0000 (14:48 +0000)]
fixed IRIX compiller error message
(This used to be commit 908da12d5f24ea076db6627ef0d4407e1cdcd014)

21 years agobroadcast printer notify message to all clients. We now have printer
Jean-François Micouleau [Tue, 26 Sep 2000 10:15:12 +0000 (10:15 +0000)]
broadcast printer notify message to all clients. We now have printer
notification as on NT.

Andrew, your message passing code is cool :-)

J.F.
(This used to be commit 0374bc4b5f56d0fab3f7310e13cb71b5a71f9112)

21 years agoadded NEGNOWAIT. sent to secure@microsoft.com
Luke Leighton [Tue, 26 Sep 2000 05:44:42 +0000 (05:44 +0000)]
added NEGNOWAIT.  sent to secure@microsoft.com
(This used to be commit b21179331802aace566671dcff6db22cdf4b3e81)

21 years agoChanges from John Reilly to add a parameter "show add printer wizard" that
Jeremy Allison [Tue, 26 Sep 2000 00:54:18 +0000 (00:54 +0000)]
Changes from John Reilly to add a parameter "show add printer wizard" that
allows Samba to turn off the display of APW (hmmm. This should probably
be a share specific parameter, I'll fix that in another commit).
Also a few small changes to JF's code to fix compiler warnings about
missing return statements and also change '//' comments (C++) to /* .. */
comments (C).
Jeremy.
(This used to be commit 0a9ccc99b335650d235eb747d803d059f7828fd7)

21 years agoprinter notify code.
Jean-François Micouleau [Mon, 25 Sep 2000 21:05:18 +0000 (21:05 +0000)]
printer notify code.

It only sends notifies to one client. The broadcasting notify code will
code soon.

J.F.
(This used to be commit 4c63c9185887c64e57d901e82a4a16a83522c898)

21 years agoOptimization (noticed by bloody Andrew :-) to stop directory scan ever
Jeremy Allison [Thu, 21 Sep 2000 23:39:19 +0000 (23:39 +0000)]
Optimization (noticed by bloody Andrew :-) to stop directory scan ever
being done if any of the directory timestamps were changed.
Jeremy.
(This used to be commit 915152ed981e8e537d15fd4b80b3c3d10ee86bff)

21 years agoAdding fix from Jim Vopni <jimv@metrics.com> to ensure jobs are
Jeremy Allison [Thu, 21 Sep 2000 21:44:15 +0000 (21:44 +0000)]
Adding fix from Jim Vopni <jimv@metrics.com> to ensure jobs are
closed before a printer is closed/deleted.
Jeremy.
(This used to be commit f0c16f7228d6923b11ac521aef986960a1d0c0b4)

21 years agoSome code moved back from TNG - updates to LSA stuff. Not yet used but
Jeremy Allison [Wed, 20 Sep 2000 22:07:56 +0000 (22:07 +0000)]
Some code moved back from TNG - updates to LSA stuff. Not yet used but
will be needed soon.
Jeremy.
(This used to be commit f0aa8f9314c837fe39b6d1b0c41d5cfae2e4098f)

21 years agoFix to allow a timestamp of zero to cause an instantaneous changenotify
Jeremy Allison [Wed, 20 Sep 2000 19:00:21 +0000 (19:00 +0000)]
Fix to allow a timestamp of zero to cause an instantaneous changenotify
scan - then call this from renames. This allows instantaneous update for
W2k renames.
Jeremy.
(This used to be commit 07dffc4ee931cbc61197e2da277df9c404a77469)

21 years agoparam/loadparm.c: Fix based on Damian's code to stop printer scripts getting overwritten.
Jeremy Allison [Tue, 19 Sep 2000 22:32:56 +0000 (22:32 +0000)]
param/loadparm.c: Fix based on Damian's code to stop printer scripts getting overwritten.
rpc_parse/parse_spoolss.c: Tidyup to call function for relstring arrays.
Win2000 now does "Add Printer" successfully !!!!!

Jeremy.
(This used to be commit d666b958bc335c7fceebeb7a6333d78bc421c30f)

21 years agoModified test.h generator to return error if structure passed to vluke
Tim Potter [Mon, 18 Sep 2000 01:14:21 +0000 (01:14 +0000)]
Modified test.h generator to return error if structure passed to vluke
doesn't match any known structure names.
(This used to be commit ce70fb5800a875ea755c96bc214033c5e9d81081)

21 years agoRemoved emacs backup file from repository.
Tim Potter [Mon, 18 Sep 2000 01:09:25 +0000 (01:09 +0000)]
Removed emacs backup file from repository.
(This used to be commit 807f22412e2738bb6323e43a2da6c942017621ac)

21 years agoin a printer_info_6, driver version is 64 bits long and there is a 32 bit
Jean-François Micouleau [Sat, 16 Sep 2000 10:07:46 +0000 (10:07 +0000)]
in a printer_info_6, driver version is 64 bits long and there is a 32 bit
padding before.

J.F.
(This used to be commit cd41d7a35477accec1a82b86f9fa3477e5a49d6e)

21 years agoFixes from JF as I didn't understand the string array sizing code correctly.
Jeremy Allison [Fri, 15 Sep 2000 21:20:49 +0000 (21:20 +0000)]
Fixes from JF as I didn't understand the string array sizing code correctly.
Jeremy.
(This used to be commit 63a7d0fc359ab7cb2ece74dff0ee25f6bb9fbe36)

21 years agoMove towards getting W2k p&p to upload NT4.x drivers. Still doesn't work -
Jeremy Allison [Fri, 15 Sep 2000 00:15:10 +0000 (00:15 +0000)]
Move towards getting W2k p&p to upload NT4.x drivers. Still doesn't work -
not sure why (JF - a glance at this would be appreciated). Removed code
that JF objected to with enumprinterdata. Added translations to/from
level 6 - but Win2k still not happy... hmmm...
Jeremy.
(This used to be commit e5d98ba9e97eb16337ff6c49f799e130844ae72e)

21 years agoPlaceholder for some forthcoming documentation
Gerald Carter [Thu, 14 Sep 2000 16:49:50 +0000 (16:49 +0000)]
Placeholder for some forthcoming documentation

jerry
(This used to be commit d4a60f22331b3ead4dd428f3dbe699f56a3a30b3)

21 years agofixed typo
Gerald Carter [Thu, 14 Sep 2000 16:47:49 +0000 (16:47 +0000)]
fixed typo

jerry
(This used to be commit d2949468dccd79eb281769cd0da74e4b37d936b8)

21 years agoAdded a gew more mods by Patrick Powell (lprng guy)
Gerald Carter [Thu, 14 Sep 2000 16:44:44 +0000 (16:44 +0000)]
Added a gew more mods by Patrick Powell (lprng guy)

jerry
(This used to be commit d675a6bd147e974c7970310ba8af9032f8bba1c7)

21 years agoFirst draft of new printing doc describing the SPOOLSS support in the
Gerald Carter [Thu, 14 Sep 2000 16:40:51 +0000 (16:40 +0000)]
First draft of new printing doc describing the SPOOLSS support in the
upcoming 2.2.0 release.

Needs some other eyes to review it.  :-)

jerry
(This used to be commit c9a76a2e10fd14fc1c63184afcda986163912b06)

21 years agoEnsure old DACL and SACL are preserved if the new SD is a 'set' only.
Jeremy Allison [Wed, 13 Sep 2000 22:01:15 +0000 (22:01 +0000)]
Ensure old DACL and SACL are preserved if the new SD is a 'set' only.
Jeremy.
(This used to be commit 29f41d0d95661fbc31ae1d9669fd7fb439169f90)

21 years agoAdded SIGHUP when printer deleted as well as added.
Jeremy Allison [Wed, 13 Sep 2000 18:50:38 +0000 (18:50 +0000)]
Added SIGHUP when printer deleted as well as added.
Jeremy.
(This used to be commit 79c94f37d0434150d84858e67c8677650106d76c)

21 years agodon't show equivalent enum options in swat
Andrew Tridgell [Wed, 13 Sep 2000 07:08:09 +0000 (07:08 +0000)]
don't show equivalent enum options in swat
(This used to be commit 52074960971995580a03647ac5c638043eb8f5e1)

21 years agofirst cut at smbcontrol program. It currently allows syntax like:
Andrew Tridgell [Wed, 13 Sep 2000 07:07:17 +0000 (07:07 +0000)]
first cut at smbcontrol program. It currently allows syntax like:

  smbcontrol nmbd debug 7
  smbcontrol smbd debug 9
  smbcontrol 3278 debug 1
  smbcontrol nmbd force-election
(This used to be commit 5f91c24636f5d82486f22c10bc55e060f9c518bf)

21 years agoWhen creating a print job entry for the printing backend, use the Windows
Tim Potter [Wed, 13 Sep 2000 04:42:06 +0000 (04:42 +0000)]
When creating a print job entry for the printing backend, use the Windows
username rather than the Unix username.  The Windows username will then be
shown in the port monitor regardless of the Unix username used to spool the
job.
(This used to be commit a15e610bb34636448cb30e590277c53e7f9efe1a)

21 years agoAdded time check test before allowing print job.
Jeremy Allison [Wed, 13 Sep 2000 02:24:35 +0000 (02:24 +0000)]
Added time check test before allowing print job.
Jeremy.
(This used to be commit 0249de4cd91d72efb344e9fb05e2be2cb3f03945)