kai/samba.git
21 years agoUpdated in preparation for samba-3.0.0alpha20
John Terpstra [Tue, 24 Sep 2002 01:12:11 +0000 (01:12 +0000)]
Updated in preparation for samba-3.0.0alpha20
(This used to be commit 05f61b2dc4c120f5303e1a7c85ca8b1409d9a95e)

21 years agoDon't uppercase the username and domain in a session setup.
Tim Potter [Mon, 23 Sep 2002 21:24:31 +0000 (21:24 +0000)]
Don't uppercase the username and domain in a session setup.
(This used to be commit 0ad19825df318030b1772404570cd993fe49e40a)

21 years agoOk, what's this? Samba as a PDC wants to authenticate a user coming in
Volker Lendecke [Mon, 23 Sep 2002 17:50:04 +0000 (17:50 +0000)]
Ok, what's this? Samba as a PDC wants to authenticate a user coming in
to a native NT member server. If the logoff time in the samlogon reply
is set to something else but infinity, the tree connect to the member
server comes back with 'bad uid'. In my traces, NT PDC sends
0x7fff.. always. Weird, but true.

I would really like others to double-check this. If you have questions
regarding the setup, feel free to ask!

Thanks!

Volker
(This used to be commit 066b163bde9419d32fe8ffe00c1841107357c138)

21 years agoUpdate some help. People keep forgetting that!
Richard Sharpe [Mon, 23 Sep 2002 16:54:32 +0000 (16:54 +0000)]
Update some help. People keep forgetting that!
(This used to be commit b53547bf663ed1714326f9b0e74215e012e728af)

21 years agoAdd net getlocalsid [name]
Richard Sharpe [Mon, 23 Sep 2002 16:46:32 +0000 (16:46 +0000)]
Add net getlocalsid [name]
(This used to be commit 08c3e2b824cd2c93ca548fa18ea16a18f5b197e5)

21 years agoOk, getting a bit more ambitious. Stop me, if this is wrong. ;-)
Volker Lendecke [Mon, 23 Sep 2002 16:21:01 +0000 (16:21 +0000)]
Ok, getting a bit more ambitious. Stop me, if this is wrong. ;-)

When creating a group you have to take care of the fact that the
underlying unix might not like the group name. This change gets around
that problem by giving the add group script the chance to invent a
group name. It then must only return the newly created numerical gid.

Volker
(This used to be commit b959419ed38e66a12b63cad3e5fbfa849f952acc)

21 years agoCosmetic fix for debug message.
Volker Lendecke [Mon, 23 Sep 2002 15:36:02 +0000 (15:36 +0000)]
Cosmetic fix for debug message.
(This used to be commit 42774a7753eb8be1ec04bcb5dda089910a1b6d0b)

21 years agotdbdump also needs signal.h. Thanks to Guenther Deschner <gd@suse.de>
Volker Lendecke [Mon, 23 Sep 2002 15:00:09 +0000 (15:00 +0000)]
tdbdump also needs signal.h. Thanks to Guenther Deschner <gd@suse.de>

Volker
(This used to be commit a1bade0748fa46c6cb00e99d7022b21057679889)

21 years agoAdd the ability to view/set the current local domain SIDs.
Volker Lendecke [Mon, 23 Sep 2002 10:05:15 +0000 (10:05 +0000)]
Add the ability to view/set the current local domain SIDs.

Volker
(This used to be commit f6ed429838cc0140c0d033875012c7a999891549)

21 years ago* fix getpass check
Gerald Carter [Mon, 23 Sep 2002 04:01:28 +0000 (04:01 +0000)]
* fix getpass check
* merge in AIX fixes from SAMBA_2_2
(This used to be commit 50752f84f24b36332ec4f1ade92dc5a095ac077b)

21 years agoFix typo.
Andrew Bartlett [Mon, 23 Sep 2002 02:49:01 +0000 (02:49 +0000)]
Fix typo.
(This used to be commit 575b8674863341d3dbd04d8618a3a5f2ff5651ee)

21 years agoSmall, long overdue, fix for libsmbclient.
Richard Sharpe [Sun, 22 Sep 2002 16:22:48 +0000 (16:22 +0000)]
Small, long overdue, fix for libsmbclient.
(This used to be commit 40aea3fe94b68ce284e2f21e57f086212936c049)

21 years agoChange parsing of policy and privs delta to what Ethereal says.
Volker Lendecke [Sun, 22 Sep 2002 10:30:00 +0000 (10:30 +0000)]
Change parsing of policy and privs delta to what Ethereal says.

Volker
(This used to be commit 8c41b5cd1b8b0c2639def9552bd20b8aca39785c)

21 years agoSorry for the new parameter, but I think to really reflect what's coming
Volker Lendecke [Sat, 21 Sep 2002 14:14:40 +0000 (14:14 +0000)]
Sorry for the new parameter, but I think to really reflect what's coming
in via deltas, we need a way to set a user's primary group.

Volker
(This used to be commit 9f7a16acf1b1f3b100b85339aad8268254512e68)

21 years agoMerge back Richard's FreeBSD sendfile fixes.
Jeremy Allison [Sat, 21 Sep 2002 08:53:05 +0000 (08:53 +0000)]
Merge back Richard's FreeBSD sendfile fixes.
Jeremy.
(This used to be commit f4845b0213aec58e0f489eba5653aa7b3855610f)

21 years agoenable 'map hidden' and 'create mask' to allow the new OPEN test to
Andrew Tridgell [Sat, 21 Sep 2002 01:30:08 +0000 (01:30 +0000)]
enable 'map hidden' and 'create mask' to allow the new OPEN test to
succeed
(This used to be commit f1058012b9662f0f9ce62ea05833e78a411f80b9)

21 years ago"@" is valid in NetBIOS domain names.
Jeremy Allison [Fri, 20 Sep 2002 19:09:28 +0000 (19:09 +0000)]
"@" is valid in NetBIOS domain names.
Jeremy.
(This used to be commit 5c4857d8e00162fc43a0f2e3a335b441bad743bd)

21 years agoAdd framework for samtest commands
Jelmer Vernooij [Fri, 20 Sep 2002 16:59:48 +0000 (16:59 +0000)]
Add framework for samtest commands
(This used to be commit f1021cbc557bfa0078e932a8268c5c9adcae0ae8)

21 years agoreran autoconf
Gerald Carter [Fri, 20 Sep 2002 16:09:59 +0000 (16:09 +0000)]
reran autoconf
(This used to be commit 29be94110415c87c7030f0d2d87b612220397eae)

21 years agoCUPS merge from SAMBA_2_2
Gerald Carter [Fri, 20 Sep 2002 15:11:31 +0000 (15:11 +0000)]
CUPS merge from SAMBA_2_2
(This used to be commit cbb16eac0e79649f4383763439c7e745f27fd0cb)

21 years agochange ADS negprot to match more closely the options used by w2k. This
Andrew Tridgell [Fri, 20 Sep 2002 09:37:02 +0000 (09:37 +0000)]
change ADS negprot to match more closely the options used by w2k. This
affects the principal used and the order of SPNEGO OIDs
(This used to be commit e8ff1c0819e02a1fc7234ad0a07d5415936dfbd2)

21 years agoallow --with-krb5 to override the location of the kerberos libs on
Andrew Tridgell [Fri, 20 Sep 2002 09:34:35 +0000 (09:34 +0000)]
allow --with-krb5 to override the location of the kerberos libs on
redhat
(This used to be commit 56b194e83538bcb6006a5ab1e00cdb493dd9ad7f)

21 years agoremove proto headers on realclean
Tim Potter [Thu, 19 Sep 2002 23:32:38 +0000 (23:32 +0000)]
remove proto headers on realclean
(This used to be commit 1bd2c6e1441ea8e54284c72dc07de741f88dbe90)

21 years agoUse sendfile in readbraw.
Jeremy Allison [Thu, 19 Sep 2002 18:20:38 +0000 (18:20 +0000)]
Use sendfile in readbraw.
Jeremy.
(This used to be commit a77966645a976d6ae08581c2e92465c48a8e961d)

21 years agoMove functionality to check whether entries for lp_workgroup() and "BUILTIN"
Jelmer Vernooij [Thu, 19 Sep 2002 17:40:55 +0000 (17:40 +0000)]
Move functionality to check whether entries for lp_workgroup() and "BUILTIN"
exist and add them if necessary from check_correct_backend_entries into
sam_context_check_default_backends. The reason for this is that we don't
always want to have BUILTIN and lp_workgroup() in a sam_context, for example
when doing sam2sam. check_correct_backend_entries has been renamed to
'check_duplicate_backend_entries' since that's what it currently does.

The sam_context_check_default_backends() function is only called
by sam_get_static_context(BOOL reload) currently currently.
(This used to be commit 2fe72652ee468bf5e1f8f151215f45b10f4c8a28)

21 years agotdb tools need #include <signal.h>
Jeremy Allison [Thu, 19 Sep 2002 17:36:29 +0000 (17:36 +0000)]
tdb tools need #include <signal.h>
Jeremy.
(This used to be commit 7e19a6b7ade1e70aafa9be8a86665a49f592b6f4)

21 years agoMerge in first command for 'samtest'
Jelmer Vernooij [Thu, 19 Sep 2002 15:39:00 +0000 (15:39 +0000)]
Merge in first command for 'samtest'
Fix small bug in sam/interface.c
Make sam backend to default to a define
(This used to be commit 60ab55fedf03a0b505b0b73527e031124a46304e)

21 years agotrivial comment fix
Volker Lendecke [Thu, 19 Sep 2002 12:34:39 +0000 (12:34 +0000)]
trivial comment fix
(This used to be commit 9d6331524089d76c5832b9ba001fb0e8a05f39d7)

21 years agoRemove hardcoded -I stuff. Hooray!
Tim Potter [Thu, 19 Sep 2002 05:49:14 +0000 (05:49 +0000)]
Remove hardcoded -I stuff.  Hooray!
(This used to be commit 105ff7c5400a6b79613b6a3b72808124b17ddc60)

21 years agoClean up python extensions in clean target.
Tim Potter [Thu, 19 Sep 2002 05:47:50 +0000 (05:47 +0000)]
Clean up python extensions in clean target.

Pass more flags down to setup.py so we don't have to hard code any
-I directives.
(This used to be commit a36882175ae546859fa4a5ba02a22d711a04cedf)

21 years agoBong! The devmode could be NULL. Don't crash if this is the case.
Tim Potter [Thu, 19 Sep 2002 05:39:03 +0000 (05:39 +0000)]
Bong!  The devmode could be NULL.  Don't crash if this is the case.
(This used to be commit 3ce8f8c50c0adcedc38bf2812b7e9fae78942458)

21 years agoFixed bug in keyword args for enumprinterdataex
Tim Potter [Thu, 19 Sep 2002 05:29:14 +0000 (05:29 +0000)]
Fixed bug in keyword args for enumprinterdataex
(This used to be commit c7845b3c43f7167f2c695722bc9923ff666ade76)

21 years agoMoving to subdirectory.
Tim Potter [Thu, 19 Sep 2002 00:26:07 +0000 (00:26 +0000)]
Moving to subdirectory.
(This used to be commit 154c59c8f92b9f735f4e1e7c8c42692c959996f1)

21 years agoImplement printerdata_ex as Python dictionary. Read only at the moment.
Tim Potter [Thu, 19 Sep 2002 00:14:01 +0000 (00:14 +0000)]
Implement printerdata_ex as Python dictionary.  Read only at the moment.
(This used to be commit 739ea89eb3ab49e5dccddfa767812811b413e67d)

21 years agoAdded "use sendfile" per share option.
Jeremy Allison [Wed, 18 Sep 2002 20:36:50 +0000 (20:36 +0000)]
Added "use sendfile" per share option.
Jeremy.
(This used to be commit 28466ff42c3328e49d46f7cddfc4bb2fe462d871)

21 years agoHPUX sendfile is now detected correctly.
Jeremy Allison [Wed, 18 Sep 2002 20:07:56 +0000 (20:07 +0000)]
HPUX sendfile is now detected correctly.
Jeremy.
(This used to be commit 91e41ebe97c143f413e2a5614b20f3db4642490f)

21 years agoprintjob merge from APP_HEAD regarding device modes
Gerald Carter [Wed, 18 Sep 2002 19:06:58 +0000 (19:06 +0000)]
printjob merge from APP_HEAD regarding device modes
(This used to be commit aa52351384abace54a89c9fbfa5e4c31a8464c91)

21 years agoUpdate introduction somewhat
Jelmer Vernooij [Wed, 18 Sep 2002 13:34:47 +0000 (13:34 +0000)]
Update introduction somewhat
(This used to be commit 060c0bda078923b11c34539323f9def176c006bc)

21 years agosamtest and vfstest binaries shouldn't go into CVS...
Jelmer Vernooij [Wed, 18 Sep 2002 13:16:07 +0000 (13:16 +0000)]
samtest and vfstest binaries shouldn't go into CVS...
(This used to be commit 53f7af9c41633877757c85182660c0826275ff2d)

21 years agoDisplay the repr() of non-string dictionary values.
Tim Potter [Wed, 18 Sep 2002 08:16:22 +0000 (08:16 +0000)]
Display the repr() of non-string dictionary values.
(This used to be commit 3c6975c711d87755f0532147f9aaecb224159f43)

21 years agoFirst code for 'net rpc vampire'. We should probably find a more
Volker Lendecke [Wed, 18 Sep 2002 06:34:10 +0000 (06:34 +0000)]
First code for 'net rpc vampire'. We should probably find a more
positive name for this. It creates users and global groups. More to come.

Volker
(This used to be commit 0c1fadd9e024ef886542d362a7f119968552852d)

21 years agoAdd a synonym for samdump ...
Richard Sharpe [Wed, 18 Sep 2002 06:11:13 +0000 (06:11 +0000)]
Add a synonym for samdump ...
(This used to be commit a8dc1464ea2d05eb2a26afdd433cdb6b69002259)

21 years agoFixed compiler error when HAVE_KRB5 not defined.
Tim Potter [Wed, 18 Sep 2002 01:40:13 +0000 (01:40 +0000)]
Fixed compiler error when HAVE_KRB5 not defined.
(This used to be commit 66c2e25079b348188abd48868300771b1e49fff3)

21 years agoWe had a race condition when changing a machine acount password as we
Jeremy Allison [Wed, 18 Sep 2002 00:30:00 +0000 (00:30 +0000)]
We had a race condition when changing a machine acount password as we
were no longer locking the secrets entry. I saw this on a live system.
Jeremy.
(This used to be commit 660dafcbb2d1029831212a32d995891626a0344c)

21 years agoNever, *ever* hold a mutex lock in the message database where there may
Jeremy Allison [Tue, 17 Sep 2002 23:45:21 +0000 (23:45 +0000)]
Never, *ever* hold a mutex lock in the message database where there may
be traversals being attempted. Yes, this was from bitter experience (and
an out of control server :-). Also allow callers to break out of a tdb_chainlock
with sigalarm if desired.
Jeremy.
(This used to be commit a7781f91d8c1177210bffc199cd2f3b7ff993eaf)

21 years agoReverted my earlier change. It was incorrect. We must be protected by
Jeremy Allison [Tue, 17 Sep 2002 20:53:21 +0000 (20:53 +0000)]
Reverted my earlier change. It was incorrect. We must be protected by
pidfile before doing secrets_init().
Jeremy.
(This used to be commit f8a0e6ad8b25d405ff2bcb492974d2f0bef81036)

21 years agoOnly create the pidfile once we're ready to receive requests.
Jeremy Allison [Tue, 17 Sep 2002 20:47:59 +0000 (20:47 +0000)]
Only create the pidfile once we're ready to receive requests.
This allows external programs to correctly synchronise with us.
Jeremy.
(This used to be commit ffb7632d05191342ecfc5f78fbfd7beacfe257ad)

21 years agoActually use sendfile if selected.
Jeremy Allison [Tue, 17 Sep 2002 19:48:19 +0000 (19:48 +0000)]
Actually use sendfile if selected.
Jeremy.
(This used to be commit 5881f0a22633ed9fb73e6cd788d0751c4db6cd32)

21 years agoAdd clock skew handling to our kerberos code. This allows us to cope with
Andrew Tridgell [Tue, 17 Sep 2002 12:12:50 +0000 (12:12 +0000)]
Add clock skew handling to our kerberos code. This allows us to cope with
the DC being out of sync with the local machine.
(This used to be commit 0d28d769472ea3b98ae4c8757093dfd4499f6dd1)

21 years agodisable stat cache when case sensitive
Andrew Tridgell [Tue, 17 Sep 2002 12:09:46 +0000 (12:09 +0000)]
disable stat cache when case sensitive
(This used to be commit 3401c3616b3dcb99053f89d88f8e351c986c9096)

21 years agomore const cleanups
Andrew Tridgell [Tue, 17 Sep 2002 12:08:55 +0000 (12:08 +0000)]
more const cleanups
(This used to be commit dfa85f9c48aa3c8d93775df6b6ad2dec9a1692d7)

21 years agoanother const cleanup
Andrew Tridgell [Tue, 17 Sep 2002 12:07:47 +0000 (12:07 +0000)]
another const cleanup
(This used to be commit 443d5ebafad46a9a62527642628aff8e5d9dc10c)

21 years agoAdded --with-ldap (default=yes) option. We should now be able to
Tim Potter [Tue, 17 Sep 2002 06:11:51 +0000 (06:11 +0000)]
Added --with-ldap (default=yes) option.  We should now be able to
compile a non-ADS, non-LDAP version of Samba on a machine with
Kerberos and LDAP libraries installed.

This shouldn't break anything - let's keep an eye on the build
farm just in case.
(This used to be commit b9460e79a13ab74a5fc05a9db1b5cf4d402fb197)

21 years agoRerun configure.
Tim Potter [Tue, 17 Sep 2002 05:38:44 +0000 (05:38 +0000)]
Rerun configure.
(This used to be commit c7d4bfde737c5aeda14b72e48197bb2a9a02bbd8)

21 years agoAdded --with-ads option, defaults to yes. If you run ./configure
Tim Potter [Tue, 17 Sep 2002 05:38:12 +0000 (05:38 +0000)]
Added --with-ads option, defaults to yes.  If you run ./configure
--with-ads=no or ./configure --without-ads Samba will build without
linking to the various kerberos libraries.
(This used to be commit edb6172abf0f07fead8ed3aaaebe0411d757aa64)

21 years agoRerun autoconf.
Tim Potter [Tue, 17 Sep 2002 01:19:04 +0000 (01:19 +0000)]
Rerun autoconf.
(This used to be commit 041f47230b865294e657f47e6aba2fa83a15bf31)

21 years agoDefault to "python" for --with-python option. This saves having to run
Tim Potter [Tue, 17 Sep 2002 01:14:54 +0000 (01:14 +0000)]
Default to "python" for --with-python option.  This saves having to run
--with-python=python which looks a bit silly.
(This used to be commit 130e05de073268cbabed0e2f80f0011e5f72dc02)

21 years agoAdded FreeBSD sendfile configure tests. Richard please test...
Jeremy Allison [Tue, 17 Sep 2002 01:10:47 +0000 (01:10 +0000)]
Added FreeBSD sendfile configure tests. Richard please test...
Jeremy.
(This used to be commit 6425f169779ce65509b77cf6d5634de24894a965)

21 years agoAttempt to make broken Linux sendfile work.... Still in progress.
Jeremy Allison [Tue, 17 Sep 2002 01:00:03 +0000 (01:00 +0000)]
Attempt to make broken Linux sendfile work.... Still in progress.
Jeremy.
(This used to be commit f956a4d29d0d88cd92fac0f0c9f636fc152afe0a)

21 years agoAdded autoconf detection for sendfile for Linux. lib/sendfile.c code
Jeremy Allison [Tue, 17 Sep 2002 00:45:39 +0000 (00:45 +0000)]
Added autoconf detection for sendfile for Linux. lib/sendfile.c code
still needs more work. Don't add --with-sendfile-support yet...
Jeremy.
(This used to be commit c6ece53ac2a7a6115ca1160cf02247d7cc0bbb95)

21 years agoUpdate to add DEVELOPER option to more parameters.
John Terpstra [Mon, 16 Sep 2002 12:53:11 +0000 (12:53 +0000)]
Update to add DEVELOPER option to more parameters.
(This used to be commit bd9dbf5c79bf2bfecdf008fe93eba87ea9993a3c)

21 years agoCommitting changes before I lose them. Work still in progress.
John Terpstra [Mon, 16 Sep 2002 11:50:28 +0000 (11:50 +0000)]
Committing changes before I lose them. Work still in progress.
(This used to be commit 89842d94bb2b2bb386716c7db96cc0acda80b76e)

21 years agoApplied new display mode FLAGS for SWAT.
John Terpstra [Mon, 16 Sep 2002 07:49:42 +0000 (07:49 +0000)]
Applied new display mode FLAGS for SWAT.
(This used to be commit 8a1c136494de47bae74627b07edea6f72eab37cf)

21 years agoChanged Major/Minor version info reported to Server Manager to 4.9.
John Terpstra [Mon, 16 Sep 2002 07:48:39 +0000 (07:48 +0000)]
Changed Major/Minor version info reported to Server Manager to 4.9.
Added new SWAT Flags for Advanced and Developer modes.
(This used to be commit 0250e2c52c7d7aa25308b6c20b8e2a51184cb598)

21 years agoDon't display debugs of the nt user token twice.
Tim Potter [Sun, 15 Sep 2002 23:42:59 +0000 (23:42 +0000)]
Don't display debugs of the nt user token twice.
(This used to be commit 2011a38f3bd1e51aa1ca0219a9e46da12426cbc3)

21 years agoMerge of 'other_sids' patch from appliance.
Tim Potter [Sun, 15 Sep 2002 23:40:55 +0000 (23:40 +0000)]
Merge of 'other_sids' patch from appliance.
(This used to be commit 7decd4b3a9e6900ab35f7bf5b266361f308aa58d)

21 years agoPut unixsocket calls between #ifdef HAVE_UNIXSOCKET's - required for Stratus VOS
Jelmer Vernooij [Sun, 15 Sep 2002 17:49:53 +0000 (17:49 +0000)]
Put unixsocket calls between #ifdef HAVE_UNIXSOCKET's - required for Stratus VOS
(Double checked)
(This used to be commit dc3c14fc2b661a62a1876149e96af6de07a2c4a6)

21 years agoMake current_sam_methods a const - Patch by Kai Krüger
Jelmer Vernooij [Sun, 15 Sep 2002 16:35:44 +0000 (16:35 +0000)]
Make current_sam_methods a const - Patch by Kai Krüger
(This used to be commit bd7245dc6fcff805fcb69f6bd1f4852dadf5aa84)

21 years agoAdd document on tracing system calls
Jelmer Vernooij [Sun, 15 Sep 2002 13:26:16 +0000 (13:26 +0000)]
Add document on tracing system calls
(This used to be commit 1e14815f4cd9e8a9ca5c0d41de902f9c0dd6410c)

21 years agoAdd reference to CUPS documentation about how to use unix -> windows
Jelmer Vernooij [Sun, 15 Sep 2002 13:23:56 +0000 (13:23 +0000)]
Add reference to CUPS documentation about how to use unix -> windows
clients using samba
(This used to be commit 898f30fffb4e613e4a7efa0463c54fbc3b1f3cca)

21 years agoUse HAVE_SENDFILE64, not SENDFILE64.
Jeremy Allison [Sat, 14 Sep 2002 01:38:55 +0000 (01:38 +0000)]
Use HAVE_SENDFILE64, not SENDFILE64.
Jeremy.
(This used to be commit 7e2f9769c9a7ee5d11267a8a8864371fc0aa8f50)

21 years agoAdded fix for broken Linux (no sendfile64). When offset + count > 2GB
Jeremy Allison [Sat, 14 Sep 2002 00:34:46 +0000 (00:34 +0000)]
Added fix for broken Linux (no sendfile64). When offset + count > 2GB
then return ENOSYS and let the upper layer handle it.
Jeremy
(This used to be commit 872dfd87cda585c33c3823b06580cb301567a9b9)

21 years agowrong alignment size calculation
Simo Sorce [Fri, 13 Sep 2002 08:53:53 +0000 (08:53 +0000)]
wrong alignment size calculation
spot by Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
(This used to be commit eda0e7589f2591edc29e6c1eef44aa21628977be)

21 years agoUpdated some comments in the NET_USER_INFO_3 structure for the other_sids
Tim Potter [Fri, 13 Sep 2002 08:17:02 +0000 (08:17 +0000)]
Updated some comments in the NET_USER_INFO_3 structure for the other_sids
field.
(This used to be commit d153d692a0f8499e1d6dac791a4d119cd9c15e45)

21 years agoFixed up FreeBSD sendfile code - only Solaris left then I can add the
Jeremy Allison [Thu, 12 Sep 2002 18:18:35 +0000 (18:18 +0000)]
Fixed up FreeBSD sendfile code - only Solaris left then I can add the
configure tests...
Jeremy.
(This used to be commit 9dad88e1d4d09f61da87dab2633c6e989a9dd77f)

21 years agoChanged profile version number to 7 - added sendfile statistics.
Jeremy Allison [Thu, 12 Sep 2002 06:28:13 +0000 (06:28 +0000)]
Changed profile version number to 7 - added sendfile statistics.
Jeremy.
(This used to be commit 2d080d7579c0a59bcb03608600c6b28243bbe353)

21 years agoHPUX takes offset, not pointer to offset.
Jeremy Allison [Thu, 12 Sep 2002 06:26:06 +0000 (06:26 +0000)]
HPUX takes offset, not pointer to offset.
Jeremy.
(This used to be commit d7024e8cb94a20cba789deb2c5b70221f6cca4fd)

21 years agoFixup sendfile to match HPUX semantics with signal interrups. This was
Jeremy Allison [Thu, 12 Sep 2002 06:24:41 +0000 (06:24 +0000)]
Fixup sendfile to match HPUX semantics with signal interrups. This was
fiddly.... :-(.
Jeremy.
(This used to be commit 2b33a500a8ad13acdd7e4f593aba65229dc8dd96)

21 years agoMerge undone cleanups.
Tim Potter [Thu, 12 Sep 2002 05:39:55 +0000 (05:39 +0000)]
Merge undone cleanups.
(This used to be commit d87c1f507d38444e627bce59b6c765d9c9479ac6)

21 years agoMerge of winbind auth cleanups from appliance.
Tim Potter [Thu, 12 Sep 2002 04:30:23 +0000 (04:30 +0000)]
Merge of winbind auth cleanups from appliance.
(This used to be commit 26d486aa740e283f546efc1f2ca40af3452a4f52)

21 years agoFirst cut at portable sendfile code. Only used in readX at the moment
Jeremy Allison [Thu, 12 Sep 2002 02:12:52 +0000 (02:12 +0000)]
First cut at portable sendfile code. Only used in readX at the moment
and doesn't actually call sendfile. Needs to be vectored through the
VFS and tested on all supported platforms (Solaris/HPUX/FreeBSD/Linux).
Linux doesn't actually work (2.4.19 kernel) at the moment because it
doesn't have a 64-bit clean sendfile.
Jeremy.
(This used to be commit fd772ca7b16cd86e0d50c7ed8d537c202976a6d2)

21 years agoMerge of cut&paste fix from appliance.
Tim Potter [Thu, 12 Sep 2002 01:44:53 +0000 (01:44 +0000)]
Merge of cut&paste fix from appliance.
(This used to be commit f75d61b03a3377f3a791b56fc307dc7e56e4707a)

21 years agoSpelling fix.
Tim Potter [Thu, 12 Sep 2002 01:25:50 +0000 (01:25 +0000)]
Spelling fix.
(This used to be commit d9fa865e5ce8ba0b7539f9a218fc7dd132eb3d38)

21 years agomerge from APP_HEAD for GetJob()
Gerald Carter [Wed, 11 Sep 2002 19:29:02 +0000 (19:29 +0000)]
merge from APP_HEAD for GetJob()
(This used to be commit 3524a4a348686ae5144a744696606123e4a66622)

21 years agoDelPrinterDrvEx() fix from APP_HEAD
Gerald Carter [Wed, 11 Sep 2002 17:35:12 +0000 (17:35 +0000)]
DelPrinterDrvEx() fix from APP_HEAD
(This used to be commit 7841753a03f7fdbd2f7f22e1b184dc1891118283)

21 years agoMerge the cli_shutdown change from 2_2. All except one call to
Volker Lendecke [Wed, 11 Sep 2002 15:18:53 +0000 (15:18 +0000)]
Merge the cli_shutdown change from 2_2. All except one call to
attempt_netbios_... assumed that cli_shutdown was _not_ called on
error anyway...

Volker
(This used to be commit f0c741594f0dad2da16b1d5692dd56a48b4157f1)

21 years agoadded gencache implementation from mimir - thanks!
Andrew Tridgell [Wed, 11 Sep 2002 14:07:21 +0000 (14:07 +0000)]
added gencache implementation from mimir - thanks!
(This used to be commit 05a202c287f5daeb1ccbaf9479aa93e7928e93db)

21 years agoImplemented getpw{nam,uid} functions.
Tim Potter [Wed, 11 Sep 2002 04:55:45 +0000 (04:55 +0000)]
Implemented getpw{nam,uid} functions.
(This used to be commit 19adbf1faed3d076207ec55e398f15f87d48c9f7)

21 years agoAdded char *, uid_t and gid_t types to generic conversion routines.
Tim Potter [Wed, 11 Sep 2002 04:54:20 +0000 (04:54 +0000)]
Added char *, uid_t and gid_t types to generic conversion routines.
(This used to be commit a938863914cbfec247586c92fd06203fec7febde)

21 years agoFix some dodgy stuff that accidentally was committed.
Tim Potter [Wed, 11 Sep 2002 04:53:16 +0000 (04:53 +0000)]
Fix some dodgy stuff that accidentally was committed.
(This used to be commit d6d0f121d95b79d4acc68354b35fb0fb3e42e1c0)

21 years agoFix imports for printerdata browser.
Tim Potter [Wed, 11 Sep 2002 04:50:18 +0000 (04:50 +0000)]
Fix imports for printerdata browser.
(This used to be commit d36fd6651726ffee059f4b39211da66b5b6d7ec1)

21 years agoPut pid number in invalid request size debug.
Tim Potter [Wed, 11 Sep 2002 03:57:19 +0000 (03:57 +0000)]
Put pid number in invalid request size debug.
(This used to be commit e63afabf98350353fac79ffc2ae2ddf88d61260f)

21 years agoBugfix merge:
Tim Potter [Wed, 11 Sep 2002 03:53:41 +0000 (03:53 +0000)]
Bugfix merge:

>Initialise user_rid value in WINBIND_USERINFO structure returned by
>the rpc version of query_user().  This fixes a caching bug found by
>Gavrie Philipson from disksite.
(This used to be commit 77bde1fa33cc387accda8f38bf654377310f5dbe)

21 years agoIgnore *.pyc
Tim Potter [Wed, 11 Sep 2002 02:26:47 +0000 (02:26 +0000)]
Ignore *.pyc
(This used to be commit 9d639cd4156e6b8fcb84e20e0b8adaa3fc5dc5ba)

21 years agoFormatting tidyups before I look at implementing the sendfile in READX.
Jeremy Allison [Wed, 11 Sep 2002 01:44:32 +0000 (01:44 +0000)]
Formatting tidyups before I look at implementing the sendfile in READX.
Jeremy.
(This used to be commit 640f061ab2c0fa772c0b181a5492aaf94b21fd3e)

21 years agoChange 'import spoolss' to 'from samba import spoolss'.
Tim Potter [Wed, 11 Sep 2002 01:20:49 +0000 (01:20 +0000)]
Change 'import spoolss' to 'from samba import spoolss'.
(This used to be commit 06f6e7110029d5d60c4f34123f470bfb4c96364a)

21 years agoEnsure we've failed a lock with a lock denied message before automatically
Jeremy Allison [Wed, 11 Sep 2002 01:05:22 +0000 (01:05 +0000)]
Ensure we've failed a lock with a lock denied message before automatically
pushing it onto the blocking queue.
Jeremy.
(This used to be commit 237e36124cedf0485deaff81f34688fa862c3317)

21 years agoFix missing braces around push lock call.
Jeremy Allison [Wed, 11 Sep 2002 00:50:13 +0000 (00:50 +0000)]
Fix missing braces around push lock call.
Jeremy.
(This used to be commit c93b40f43d5f5027f26c9b6bb906011a9075db2d)

21 years agoremoving compiler warnings about shadowed globals
Gerald Carter [Tue, 10 Sep 2002 21:48:07 +0000 (21:48 +0000)]
removing compiler warnings about shadowed globals
(This used to be commit 6f0561acadd139e37f86e30a2bbf10f428178eaf)

21 years agoremoved warning about shadowed globals
Gerald Carter [Tue, 10 Sep 2002 21:41:25 +0000 (21:41 +0000)]
removed warning about shadowed globals
(This used to be commit 8021bbbd0c5fad6db45a4c862848ea667cad0b79)