17 years agoAllow -c to specify the location of the config file, and fix up some handling
Andrew Bartlett [Fri, 10 May 2002 14:40:55 +0000 (14:40 +0000)]
Allow -c to specify the location of the config file, and fix up some handling
of non-existant passdb cases.
(This used to be commit e56de32f5ce5cb301137497451b0ccd633f09f54)

17 years agoAdded findsmb to .cvsignore list.
Tim Potter [Fri, 10 May 2002 03:17:44 +0000 (03:17 +0000)]
Added findsmb to .cvsignore list.
(This used to be commit 5b682b2e04d054a2843269373abddc764c4c0cdd)

17 years agoFix for Solaris nscd issue pointed out by Mike Gerdts
Tim Potter [Fri, 10 May 2002 03:02:22 +0000 (03:02 +0000)]
Fix for Solaris nscd issue pointed out by Mike Gerdts
<Michael.Gerdts@alcatel.com>.  The struct passwd in Solaris contains some
extra fields which must be initialised otherwise nscd crashes.
(This used to be commit a67323d07177ebc8e46dc14476efaf7e95944504)

17 years agoRemoved libtool.m4 includes.
Tim Potter [Fri, 10 May 2002 02:06:14 +0000 (02:06 +0000)]
Removed libtool.m4 includes.
(This used to be commit 9ebc5ce4c12f635047e5ba1ec46ce14653495a53)

17 years agoFix the bug that refused to allow IPC$ connection to be idled if a pipe
Jeremy Allison [Fri, 10 May 2002 01:15:36 +0000 (01:15 +0000)]
Fix the bug that refused to allow IPC$ connection to be idled if a pipe
was open - we now only refuse to allow IPC$ connection to be idled if a
handle is open on a pipe.
(This used to be commit fc043110bc42d56c8686b9b64c46af7be2fd236e)

17 years agoOk, ok, I was too impatient...
Jim McDonough [Fri, 10 May 2002 00:08:54 +0000 (00:08 +0000)]
Ok, ok, I was too impatient...
(This used to be commit af35c5a57ca5544441bd82b695d878f388cd5e73)

17 years agoFix build. Changed MSG_PRINTER_UPDATE to MSG_PRINTER_DRVUPGRADE.
Jim McDonough [Fri, 10 May 2002 00:07:37 +0000 (00:07 +0000)]

Jeremy, please verify that this was ok...
(This used to be commit f191563c7f1cfb7250327333a9470edc4dbedde1)

17 years agoOops. Broke the build be removing MSG_PRINTER_UPDATE. Re-added as next
Jeremy Allison [Fri, 10 May 2002 00:06:45 +0000 (00:06 +0000)]
Oops. Broke the build be removing MSG_PRINTER_UPDATE. Re-added as next
free printer msg id.
(This used to be commit 64c819b71e6b8831106847153fbbc3123602b397)

17 years agoConverged net group command.
Jim McDonough [Thu, 9 May 2002 23:49:40 +0000 (23:49 +0000)]
Converged net group command.
(This used to be commit 95cc3fa4d3e566f540090ed499e80d86eb55e895)

17 years agoAdd ads group add and delete, allowing converged net group command.
Jim McDonough [Thu, 9 May 2002 23:49:28 +0000 (23:49 +0000)]
Add ads group add and delete, allowing converged net group command.

Also update some of the help info.
(This used to be commit fde62de7a1735b2ef2d9593b38ffa5c7ea2e0d67)

17 years agoStart of net rpc group command. List only right now. Add and delete have
Jim McDonough [Thu, 9 May 2002 23:47:26 +0000 (23:47 +0000)]
Start of net rpc group command.  List only right now.  Add and delete have
not been implemented...is it worth the effort?
(This used to be commit 45ac4f4c29d0d8d1b0b1535b2ab500e38ac5b978)

17 years agoConverged help on net group command.
Jim McDonough [Thu, 9 May 2002 23:46:01 +0000 (23:46 +0000)]
Converged help on net group command.
(This used to be commit 9de5e0dc73f57e8c8b878da803452b86e6ce8fca)

17 years agoAdd ads group account add function.
Jim McDonough [Thu, 9 May 2002 23:44:46 +0000 (23:44 +0000)]
Add ads group account add function.
(This used to be commit 180311a48cfa808ea9edc9f32558554b243b10eb)

17 years agoMerged in printing fixes... There were many missing !
Jeremy Allison [Thu, 9 May 2002 19:54:47 +0000 (19:54 +0000)]
Merged in printing fixes... There were many missing !
(This used to be commit 32fa089adead6ff3279172fd36560f4f9e2aeef0)

17 years agoAllowing %S in dfs root paths. Other variables in standard_sub_advanced won't
Shirish Kalele [Thu, 9 May 2002 18:58:03 +0000 (18:58 +0000)]
Allowing %S in dfs root paths. Other variables in standard_sub_advanced won't
resolve correctly in dfs referrals which are done over anonymous IPC$.
Also allowing dfs roots to be default services.
(This used to be commit 53e91c7a027877184740baf36a6562b57150c1cc)

Jeremy Allison [Thu, 9 May 2002 17:44:42 +0000 (17:44 +0000)]
(This used to be commit 2b49d727b061f87d5022e7ee75b66dc851265fd5)

17 years agoWe were mapping the open of name1/name2 where name1 wasn't a directory
Jeremy Allison [Thu, 9 May 2002 17:38:23 +0000 (17:38 +0000)]
We were mapping the open of name1/name2 where name1 wasn't a directory
(ie. ENOTDIR) to the NT status code NT_STATUS_NOT_A_DIRECTORY. NT seems
to use NT_STATUS_OBJECT_PATH_NOT_FOUND. I'm hoping this will fix the
access binaries served from a Samba share bug...
(This used to be commit 6f2b76c2394e305e5a282f459b84f94f8ed2082a)

17 years agomerge from SAMBA_2_2
Gerald Carter [Thu, 9 May 2002 17:35:42 +0000 (17:35 +0000)]
merge from SAMBA_2_2
(This used to be commit c26ce496e88a9a1f93a51fa626f222c98892746f)

17 years agomerge freom SAMBA_2_2
Gerald Carter [Thu, 9 May 2002 14:20:05 +0000 (14:20 +0000)]
merge freom SAMBA_2_2
(This used to be commit 833fea47106444a4bcc0547c8bbb7d6d148fa1e7)

17 years agomerge from SAMBA_2_2
Gerald Carter [Thu, 9 May 2002 13:52:06 +0000 (13:52 +0000)]
merge from SAMBA_2_2
(This used to be commit 7382c3013d7b630ba7229a1d12104b8f7edfd9ca)

17 years agomerge from SAMBA_2_2: remove -symbolic from pam_smbpass linker flags
Gerald Carter [Thu, 9 May 2002 04:44:00 +0000 (04:44 +0000)]
merge from SAMBA_2_2: remove -symbolic from pam_smbpass linker flags
(This used to be commit 090b94250bcfeb3e867493f8e372760aa8503fe6)

17 years agoSync'ing SAMBA_2_2 with HEAD.
Shirish Kalele [Thu, 9 May 2002 04:43:05 +0000 (04:43 +0000)]
Sync'ing SAMBA_2_2 with HEAD.
(This used to be commit d926cc989690684ec4799ebb3a3a01e8d4173de6)

17 years agomerge from SAMBA_2_2
Gerald Carter [Thu, 9 May 2002 04:12:15 +0000 (04:12 +0000)]
merge from SAMBA_2_2
(This used to be commit cc241cb240db6956baf3d5c6b6d01a0a165a6ef5)

17 years agocouple of PIDDIR merges I missed
Gerald Carter [Thu, 9 May 2002 04:11:58 +0000 (04:11 +0000)]
couple of PIDDIR merges I missed
(This used to be commit 6aa31435388fdd1569884479e7e0b80714658fb6)

17 years agoHP-UX 10.20 compiles fixes from SAMBA_2_2
Gerald Carter [Thu, 9 May 2002 04:11:18 +0000 (04:11 +0000)]
HP-UX 10.20 compiles fixes from SAMBA_2_2
(This used to be commit ddc0f556305fc12fc27ce89e01e00f98feb7d6c8)

17 years agopidfile merge from SAMBA_2_2 (including --with-fhs) and a few other minor things...
Gerald Carter [Thu, 9 May 2002 04:08:00 +0000 (04:08 +0000)]
pidfile merge from SAMBA_2_2 (including --with-fhs) and a few other minor things; compiles and shouldnt break, but needs testing
(This used to be commit 19b9b50d9039afe614284aaf379f9f1078e2e307)

17 years agocompile fixes; needs testing
Gerald Carter [Thu, 9 May 2002 04:05:37 +0000 (04:05 +0000)]
compile fixes; needs testing
(This used to be commit a3f68a963c0dc5ba5e8601633e9b532fa32145cd)

17 years agoMerge in Jerry's called name fix.
Jeremy Allison [Wed, 8 May 2002 23:15:42 +0000 (23:15 +0000)]
Merge in Jerry's called name fix.
(This used to be commit 6d957924579d64407bdd94d7e78088fb1ea5c9ce)

17 years agomerging some changes from SAMBA_2_2
Gerald Carter [Wed, 8 May 2002 15:37:14 +0000 (15:37 +0000)]
merging some changes from SAMBA_2_2
(This used to be commit e8ede079b5af4187573f1b8ed0d94b6f03cbbd22)

17 years agoAdded commands for startpageprinter, endpageprinter, setjob and getjob.
Tim Potter [Wed, 8 May 2002 05:50:12 +0000 (05:50 +0000)]
Added commands for startpageprinter, endpageprinter, setjob and getjob.
(This used to be commit 3da89aa8e45d08444bfcddb145264bfcd6f6d768)

17 years agoAdded client side spoolss rpc commands for startpageprinter,
Tim Potter [Wed, 8 May 2002 05:48:32 +0000 (05:48 +0000)]
Added client side spoolss rpc commands for startpageprinter,
endpageprinter, setjob and getjob.
(This used to be commit d091a9d300c70b708218067d355c8282a6f14ab6)

17 years agoAdded setjob() command.
Tim Potter [Wed, 8 May 2002 04:26:22 +0000 (04:26 +0000)]
Added setjob() command.
(This used to be commit 02c63de9e58f9806e58d3862391e05e9b9cdb8fc)

17 years agoChanged some error returns to return a werror tuple (status code and text
Tim Potter [Wed, 8 May 2002 04:22:17 +0000 (04:22 +0000)]
Changed some error returns to return a werror tuple (status code and text
message) instead of just the status code.
(This used to be commit 39f58333fa84dc05cac8d13cabb1f203c5cf2c62)

17 years agoRemove unused variable.
Tim Potter [Wed, 8 May 2002 04:19:52 +0000 (04:19 +0000)]
Remove unused variable.

#ifdef out code for new (uncommitted) version of make_sec_desc()
(This used to be commit 07d11f5e0938c0e4f895391f6c8e2501069a0ef7)

17 years agoAdded enumjobs command.
Tim Potter [Tue, 7 May 2002 07:06:10 +0000 (07:06 +0000)]
Added enumjobs command.
(This used to be commit bc9dd9b45866d269f576a640286a578da921c3fb)

17 years agorpcstr_pull() src_len fix.
Tim Potter [Tue, 7 May 2002 07:00:14 +0000 (07:00 +0000)]
rpcstr_pull() src_len fix.
(This used to be commit 7da054d814d16deeea954e2559fdeb97dc323bbb)

17 years agoAdded cmd_spoolss_enumjobs() function to rpcclient.
Tim Potter [Tue, 7 May 2002 06:30:10 +0000 (06:30 +0000)]
Added cmd_spoolss_enumjobs() function to rpcclient.

The semantics of the src_len argument to rpcstr_pull() seem to have changed
breaking most of the spoolss commands in rpcclient.  Changed a bunch of
0's to -1's to fix it.
(This used to be commit f32e3f2087c44f27bcfc8a8b1c76ee2b29f01dea)

17 years agoAdded cli_spoolss_enumjobs() function.
Tim Potter [Tue, 7 May 2002 06:28:27 +0000 (06:28 +0000)]
Added cli_spoolss_enumjobs() function.
(This used to be commit aaa996355287fcd86873697f51a069ccb5a908b9)

17 years agoDOS error 1307 is returned when an invalid owner for a security descriptor
Tim Potter [Tue, 7 May 2002 06:16:44 +0000 (06:16 +0000)]
DOS error 1307 is returned when an invalid owner for a security descriptor
is detected.
(This used to be commit 0377448b8c3e2bd8d5bc9f49a585292dc5c5b5a1)

17 years agoGrr - the removal of the nnecessary prs_align() from relative unicode
Tim Potter [Tue, 7 May 2002 05:57:34 +0000 (05:57 +0000)]
Grr - the removal of the nnecessary prs_align() from relative unicode
strings didn't make it across into HEAD.
(This used to be commit 4d715cb6829795b0fc0fe035ccb70ce0d1920c31)

17 years agoFixed more compiler warnings.
Tim Potter [Tue, 7 May 2002 04:38:33 +0000 (04:38 +0000)]
Fixed more compiler warnings.
(This used to be commit fa5c1ba12b4cae0c03f1adbc38e7ad5eeca0e895)

17 years agoFixed compile warning.
Tim Potter [Tue, 7 May 2002 04:31:56 +0000 (04:31 +0000)]
Fixed compile warning.
(This used to be commit 671607a3eefc58673bdd4cb8fc8d3a3f65542f03)

17 years agoAllow lookup_sids() and lookup_names() to take either a list of strings or
Tim Potter [Mon, 6 May 2002 04:53:44 +0000 (04:53 +0000)]
Allow lookup_sids() and lookup_names() to take either a list of strings or
just a single string.
(This used to be commit 775549b70e1d2770619c2fe1ed39418a8788dbfe)

17 years agoRemoved unused arg to deleteform.
Tim Potter [Mon, 6 May 2002 04:52:45 +0000 (04:52 +0000)]
Removed unused arg to deleteform.
(This used to be commit 5071fd8fe0ad219f813b490a78c01bb249a3cad6)

17 years agoRe-order args for enumprinterdrivers function.
Tim Potter [Fri, 3 May 2002 06:21:59 +0000 (06:21 +0000)]
Re-order args for enumprinterdrivers function.
(This used to be commit 5f9f32021300d47dcc068192428ee48b8aa246ea)

17 years agoSome examples using the spoolss python module.
Tim Potter [Thu, 2 May 2002 05:23:38 +0000 (05:23 +0000)]
Some examples using the spoolss python module.
(This used to be commit 68b952561429e1d08a974e633bb9c2870c819c69)

17 years agoHad some environment problem to test the fix, so it would be really appreciated if...
Simo Sorce [Wed, 1 May 2002 10:05:52 +0000 (10:05 +0000)]
Had some environment problem to test the fix, so it would be really appreciated if packagers would be able to test their findsmb utility.

This fix is to make findsmb aware that the space a valid NetBIOS name character and to not get only the first part of the name as the NetBIOS name if it contains spaces.

(This used to be commit 58cf23f4da2b36f173fcb6a695ff6798be5c589b)

17 years agoGot setprinter level 3 working!
Tim Potter [Wed, 1 May 2002 04:25:46 +0000 (04:25 +0000)]
Got setprinter level 3 working!

Replaced some DEBUG's with PyErr_SetString() calls.
(This used to be commit 0f464fc79118161a97f45f428e4da1069a0be23d)

17 years agomake proto
Tim Potter [Wed, 1 May 2002 04:24:01 +0000 (04:24 +0000)]
make proto
(This used to be commit 99dee7b1018f9abc5374bcf877fea1a5cbde6cae)

17 years agoImplemented py_to_PRINTER_INFO_3() helper function.
Tim Potter [Wed, 1 May 2002 04:22:20 +0000 (04:22 +0000)]
Implemented py_to_PRINTER_INFO_3() helper function.
(This used to be commit d125f9f7dff357bf9eeffc430b5876080f3debeb)

17 years agoImplemented routines to convert from a Python dictionary to a SEC_DESC
Tim Potter [Wed, 1 May 2002 04:19:22 +0000 (04:19 +0000)]
Implemented routines to convert from a Python dictionary to a SEC_DESC

Cleaned up debugging stuff.
(This used to be commit f3f4f0d3978f90c589894234bbcc63728940a246)

17 years agoRemoved unused variable.
Tim Potter [Wed, 1 May 2002 02:40:15 +0000 (02:40 +0000)]
Removed unused variable.
(This used to be commit e603235850db19b23a8cbdc8426b97a508bbd561)

17 years agofixed tdbtool from core dumping. But the braces to make Chris happy !
Jean-François Micouleau [Tue, 30 Apr 2002 16:54:14 +0000 (16:54 +0000)]
fixed tdbtool from core dumping. But the braces to make Chris happy !

(This used to be commit d0eae50874ff6ddbf9fca24864e7638efb0936b1)

17 years agochanged more DEBUG level from 0 to higher.
Jean-François Micouleau [Tue, 30 Apr 2002 09:11:23 +0000 (09:11 +0000)]
changed more DEBUG level from 0 to higher.

(This used to be commit 7955a7b0c92bdb175978d42d3eeb05f8923a8e5a)

17 years agosome debug log changes, and fixed wrepld crashing when there is no wins
Jean-François Micouleau [Tue, 30 Apr 2002 09:03:04 +0000 (09:03 +0000)]
some debug log changes, and fixed wrepld crashing when there is no wins
partners parameter in smb.conf

(This used to be commit 0689180bb5fd3aa97c7989258d10cc0dfee8b97c)

17 years agoFix $MAKE
Martin Pool [Tue, 30 Apr 2002 05:44:25 +0000 (05:44 +0000)]
(This used to be commit e5544de99872803843e8f35bb79a8bae0cfa95ff)

17 years agoTwo small fixes for "make proto": wbrepld was never getting rebuilt
Martin Pool [Tue, 30 Apr 2002 05:11:52 +0000 (05:11 +0000)]
Two small fixes for "make proto": wbrepld was never getting rebuilt
because it wasn't killed by delheaders; and there was a race in
delheaders with make -j.
(This used to be commit a615811f57f2827dd1b9cd23ad3e34e5a9fb22da)

17 years agoFix build farm bug.
Jeremy Allison [Mon, 29 Apr 2002 23:14:01 +0000 (23:14 +0000)]
Fix build farm bug.
(This used to be commit 459f8634c1ced78abda30f1d5b7888f428aade6b)

17 years agodon't set the owner and group sid offset is there are no owner or group
Jean-François Micouleau [Mon, 29 Apr 2002 21:34:02 +0000 (21:34 +0000)]
don't set the owner and group sid offset is there are no owner or group

(This used to be commit 68e9211f5df0480cb88d7d21140c4954da47e7ae)

17 years agoAdded 2.2.x mangle fix to old mangle code in HEAD.
Jeremy Allison [Mon, 29 Apr 2002 21:32:55 +0000 (21:32 +0000)]
Added 2.2.x mangle fix to old mangle code in HEAD.
(This used to be commit a7768b9b6fa7522d6afebc43f41a495b8d8ab961)

17 years agoMerge Herb's idmap endian fix.
Jeremy Allison [Sat, 27 Apr 2002 18:56:47 +0000 (18:56 +0000)]
Merge Herb's idmap endian fix.
(This used to be commit 7ddad4061a1b7ed25e4d6471c7a1f8f97a98ed37)

17 years agothis code has been sitting on one of my box for 3 months.
Jean-François Micouleau [Sat, 27 Apr 2002 16:58:05 +0000 (16:58 +0000)]
this code has been sitting on one of my box for 3 months.
add wins push replication, better handling of partners, rewrote half of

I know some parser code need to be changed to better cope with multihomed
machine and groups.

(This used to be commit a2d07bc6eb269c8048165947928b8b5643dc9a64)

17 years agoAnother attempt at fixing the endian problem when upgrading from 2.2.3a.
Jeremy Allison [Sat, 27 Apr 2002 01:18:31 +0000 (01:18 +0000)]
Another attempt at fixing the endian problem when upgrading from 2.2.3a.
Herb please check.
(This used to be commit a312b5b2de117797ddfdc79316378aac93034718)

17 years agoAttempt to fix big-endian upgrade problem (Herb, Jerry, please check).
Jeremy Allison [Fri, 26 Apr 2002 23:11:26 +0000 (23:11 +0000)]
Attempt to fix big-endian upgrade problem (Herb, Jerry, please check).
(This used to be commit 54261460b35cc531e033a99596d5596e94bebe24)

17 years agofix compile error
Herb Lewis [Fri, 26 Apr 2002 16:16:14 +0000 (16:16 +0000)]
fix compile error
(This used to be commit c64a57a6106bfd766679ac89837881ed9592409b)

17 years ago* merge from SAMBA_2_2
Gerald Carter [Thu, 25 Apr 2002 02:15:18 +0000 (02:15 +0000)]
* merge from SAMBA_2_2
* fix typos
* regenerate pages
(This used to be commit edfafa1d40649101d599859951f7289c1d057cfa)

17 years agoFix from Herb for upgrading from big-endian earlier databases.
Jeremy Allison [Thu, 25 Apr 2002 00:56:43 +0000 (00:56 +0000)]
Fix from Herb for upgrading from big-endian earlier databases.
(This used to be commit e65563fc9eb454988c11c12e3e979dd07e3032a3)

17 years agosmbd/fileio.c: debug changes so read/write/seek calls can be logged for name, pos...
Jeremy Allison [Wed, 24 Apr 2002 19:11:34 +0000 (19:11 +0000)]
smbd/fileio.c: debug changes so read/write/seek calls can be logged for name, pos, size easily.
Might help with access problem.
(This used to be commit e08d72b3271ae1b155a59ae82acf9d619c22c81f)

17 years agomove to the FNV1 hash alghorithm seem good
Simo Sorce [Wed, 24 Apr 2002 11:57:00 +0000 (11:57 +0000)]
move to the FNV1 hash alghorithm seem good
the test revealed 15 collision with 1 Million long file names :-)

(This used to be commit 77dc498b6f0c435f082eb2d934920d3f3bef0b65)

17 years agopatch from Alexander Bokovoy needed for dlopen on bsd systems
Andrew Tridgell [Wed, 24 Apr 2002 11:43:02 +0000 (11:43 +0000)]
patch from Alexander Bokovoy needed for dlopen on bsd systems
(This used to be commit 38fd99e84176106ed700f637e9292d2a4c1385b4)

17 years agoadd collision/total indication to every collision report
Simo Sorce [Wed, 24 Apr 2002 11:24:58 +0000 (11:24 +0000)]
add collision/total indication to every collision report
(This used to be commit c4d6a49779e0e2bff86256b8b353e6c803e31ba9)

17 years agodamn! I forgot to commit winbindd_dual.c
Andrew Tridgell [Wed, 24 Apr 2002 09:59:48 +0000 (09:59 +0000)]
damn! I forgot to commit winbindd_dual.c
(This used to be commit f3764ab2c602d6af9dce15f0d525a9f11c1723f1)

17 years agomain() needs to be indented to make sure it doesn't generate a
Andrew Tridgell [Wed, 24 Apr 2002 09:51:14 +0000 (09:51 +0000)]
main() needs to be indented to make sure it doesn't generate a
(This used to be commit fdfde9b84cf825d84316344fea5af43a9b8ebcc9)

17 years agomade a couple of variables static
Andrew Tridgell [Wed, 24 Apr 2002 09:00:29 +0000 (09:00 +0000)]
made a couple of variables static
(This used to be commit fb6ce175d479e5bddc239595320f5dc245ac2ec6)

17 years agoAdded constant and message for invalid security descriptor dos error.
Tim Potter [Wed, 24 Apr 2002 05:36:40 +0000 (05:36 +0000)]
Added constant and message for invalid security descriptor dos error.
(This used to be commit 0827bd4184256a87d6cf6c58bc314309503da7be)

17 years agoa new "dual daemon" operating mode for winbindd
Andrew Tridgell [Wed, 24 Apr 2002 04:11:27 +0000 (04:11 +0000)]
a new "dual daemon" operating mode for winbindd

this mode improves the response time of winbindd by having a
background process update the cache while the forground process
responds to queries from cache.

You can enable this mode using the -B command line option. It is quite
experimental, which is why it is not the default.
(This used to be commit c0feff97eefdf5a70e5973e247b395dbdf5d2ef2)

17 years agoprototypes for some systems that don't have them
Andrew Tridgell [Wed, 24 Apr 2002 04:09:37 +0000 (04:09 +0000)]
prototypes for some systems that don't have them
(This used to be commit 2dde9f711979c04cd02107447395a55307f7a30a)

17 years agoWhen doing a non-io open the stat failing is no cause for a debug zero
Jeremy Allison [Tue, 23 Apr 2002 18:50:10 +0000 (18:50 +0000)]
When doing a non-io open the stat failing is no cause for a debug zero
to be printed, it just means file not found.
(This used to be commit 25dea499b82da5e84412bf10781adbd240aa46f0)

17 years agoFix my stupid compile bug in num_files_open.
Jeremy Allison [Tue, 23 Apr 2002 18:34:52 +0000 (18:34 +0000)]
Fix my stupid compile bug in num_files_open.
(This used to be commit 7c02db7c4f0d04b7c45a9c580f3e85f52fa505d5)

17 years agoSpelling fixes from vance
Andrew Bartlett [Tue, 23 Apr 2002 04:43:44 +0000 (04:43 +0000)]
Spelling fixes from vance
(This used to be commit 70c6f5fc6d3ec3121b29d1e46e7fd3933fbcce6b)

17 years agoFix for a bug Jerry found with printing where a smbd connection may
Jeremy Allison [Tue, 23 Apr 2002 02:16:48 +0000 (02:16 +0000)]
Fix for a bug Jerry found with printing where a smbd connection may
be idled even with an open pipe.
(This used to be commit 3a93c5daeca3edd4f319199c8a6068d25cb6750e)

17 years agoEnsure auth requests from the same machine are completely serialized.
Jeremy Allison [Mon, 22 Apr 2002 22:44:44 +0000 (22:44 +0000)]
Ensure auth requests from the same machine are completely serialized.
NT4.x DC's require this.
(This used to be commit d162b6285d549370a24a926ab1c46cef7e7f630a)

17 years agomerge from SAMBA_2_2
Gerald Carter [Mon, 22 Apr 2002 18:47:36 +0000 (18:47 +0000)]
merge from SAMBA_2_2
(This used to be commit 5e381abbbfaa15f3ebd89cba3cd9bb6de8e4ff4e)

17 years agoMy seven-year-old daughter calls me 'Captain Pedantic'. I don't know which
Christopher R. Hertel [Mon, 22 Apr 2002 03:08:33 +0000 (03:08 +0000)]
My seven-year-old daughter calls me 'Captain Pedantic'.  I don't know which
is freakier... the name or the fact that a seven-year-old knows what it

Small change to correct the value we place in the DGM_LENGTH field of
NBT Datagram messages.  We have been counting the full datagram, but it's
fairly clear in the RFCs that we should only count the source name,
destination name, and payload.  We've been overcharging by 14 bytes
(the size of the NBT DGM header).

This fix brings us in line with what Windows does, and what the RFCs
say should be done.  I'm a little surprised that this didn't cause any
bugs or error messages.  I guess no one actually checks this field.
(This used to be commit 3156c020e5b6f12a448d58669977ad4449789460)

17 years agotry to cope better with the take ownership operation for foreign SIDs
Andrew Tridgell [Sat, 20 Apr 2002 07:28:46 +0000 (07:28 +0000)]
try to cope better with the take ownership operation for foreign SIDs
what we do is map to the authenticated user when the sid is unmappable
and dos filemodes are enabled
(This used to be commit b6c2ef4f54e7b42125f8c89ee5a62b0ba6b52f59)

17 years agoReturn exception text if getprinter level not [0..3]
Tim Potter [Sat, 20 Apr 2002 07:17:36 +0000 (07:17 +0000)]
Return exception text if getprinter level not [0..3]
(This used to be commit c02a7a71d6ddae711c84094e410d1117efc031f0)

17 years agoWe cannot set errno=0 in any of the wrapper calls as this breaks UNIX error
Jeremy Allison [Fri, 19 Apr 2002 21:45:02 +0000 (21:45 +0000)]
We cannot set errno=0 in any of the wrapper calls as this breaks UNIX error
returns to the client.
(This used to be commit 1d66e53a64ec2878293e6d74a852b736ddab8f21)

17 years agoAdded Martin's lpq parse fixes from 2.2.
Jeremy Allison [Fri, 19 Apr 2002 17:59:13 +0000 (17:59 +0000)]
Added Martin's lpq parse fixes from 2.2.
(This used to be commit 3853234c2649c501e9876f940f802be86cb6383d)

17 years agoFix different args to sys_fcntl without going varargs....
Jeremy Allison [Fri, 19 Apr 2002 17:30:27 +0000 (17:30 +0000)]
Fix different args to sys_fcntl without going varargs....
(This used to be commit 65742067e07195048edcee46dae95a58a4a50950)

17 years agoFixed one more sendto.
Jeremy Allison [Fri, 19 Apr 2002 17:22:32 +0000 (17:22 +0000)]
Fixed one more sendto.
(This used to be commit 7adcc930ca56bf879b5e73b74bca19ac2353f1c0)

17 years agoWhen opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!).
Jeremy Allison [Fri, 19 Apr 2002 17:10:56 +0000 (17:10 +0000)]
When opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!).
(This used to be commit 9209d8e718e860e6a58937376cbb437b6b7adbbb)

17 years agoadd NetUserEnum and NetGroupEnum lanmap API calls, untested. I don't have
Jean-François Micouleau [Fri, 19 Apr 2002 13:41:43 +0000 (13:41 +0000)]
add NetUserEnum and NetGroupEnum lanmap API calls, untested. I don't have
anymore a SNAP/DELL NAS to test.
from Kevin Stefanik.

(This used to be commit d0ce52230b456108ad91361b51e30d9a9cb25dff)

17 years agoDEBUG cleanup.
Jean-François Micouleau [Fri, 19 Apr 2002 13:39:52 +0000 (13:39 +0000)]
DEBUG cleanup.

(This used to be commit 1ece80a6b70ab26eb1a8484134b536efa007f6f9)

17 years agoAdded sys_fcntl (not to be used everywhere). Added sys_read/sys_write
Jeremy Allison [Fri, 19 Apr 2002 03:05:38 +0000 (03:05 +0000)]
Added sys_fcntl (not to be used everywhere). Added sys_read/sys_write
for transfer_file.
(This used to be commit c7ff521bab838c070931f2b0ece4be3371fbcdbf)

17 years agofixed trust relationships in ADS winbindd after breaking them with my BDC changes ...
Andrew Tridgell [Fri, 19 Apr 2002 03:00:29 +0000 (03:00 +0000)]
fixed trust relationships in ADS winbindd after breaking them with my BDC changes ...
(This used to be commit 8096032663690eafb6bb8b4f405d6231389d4f80)

17 years agoFixed sendto in oplock code.
Jeremy Allison [Fri, 19 Apr 2002 02:20:04 +0000 (02:20 +0000)]
Fixed sendto in oplock code.
(This used to be commit 64974fa334fd757ff5cfd1bd32d7300bf8a6208c)

17 years agoFix oplock recvfrom.
Jeremy Allison [Fri, 19 Apr 2002 02:16:54 +0000 (02:16 +0000)]
Fix oplock recvfrom.
(This used to be commit 68c0eb5ca7bc96cfdc8df07bd84f3e49de024b81)

17 years agoFix send and recvfrom.
Jeremy Allison [Fri, 19 Apr 2002 02:15:10 +0000 (02:15 +0000)]
Fix send and recvfrom.
(This used to be commit 8cbc24c3bd0e2d2349625c3b5d2e12ac092ec5a8)

17 years agoFirst cut at fix for the EINTR problem... More needs to be done I think.
Jeremy Allison [Fri, 19 Apr 2002 02:08:52 +0000 (02:08 +0000)]
First cut at fix for the EINTR problem... More needs to be done I think.
(This used to be commit 48475a7a697242b9fd7b1aec24389afb112569c4)

17 years agofixed a namequery bug caused by my recent string length patches
Andrew Tridgell [Fri, 19 Apr 2002 00:16:18 +0000 (00:16 +0000)]
fixed a namequery bug caused by my recent string length patches
(This used to be commit b2329039d255928faf53474ee7ab06b6353b9fbe)