samba.git
21 years agopatch from metze
Simo Sorce [Tue, 27 Aug 2002 09:45:26 +0000 (09:45 +0000)]
patch from metze
(This used to be commit cc8e6ebc0ec840d882211c8327cafdcafbcafbd7)

21 years agoadd the netatalk module
Simo Sorce [Tue, 27 Aug 2002 09:30:17 +0000 (09:30 +0000)]
add the netatalk module
(This used to be commit 2a156995329699c776772fe01672cfe763b3f988)

21 years agoavoid using libtool for VFS modules
Simo Sorce [Tue, 27 Aug 2002 09:14:21 +0000 (09:14 +0000)]
avoid using libtool for VFS modules
change a name in block.c it was hiding a function name
add a comment in configure
(This used to be commit 05038f44717ff07ed7d4a3afbdd8f072a3c058cc)

21 years agoadd a trivial seeking function to xfile (tseek) that does not do SEEK_CUR
Simo Sorce [Tue, 27 Aug 2002 09:07:08 +0000 (09:07 +0000)]
add a trivial seeking function to xfile (tseek) that does not do SEEK_CUR
and add commands reget and reput to smbclient that continues a transfer that has been onterrupted.

thanks to josef Zlomek that did the original patch.
(This used to be commit b275547c9ecc13bede5bd21a392fa1d695a3926d)

21 years agoslprintf() takes a size argument
Andrew Tridgell [Tue, 27 Aug 2002 05:04:16 +0000 (05:04 +0000)]
slprintf() takes a size argument
(This used to be commit 4e142ba3749d2eb45687425ff87c153fb6147056)

21 years agoImplemented enum_domain_groups function.
Tim Potter [Tue, 27 Aug 2002 01:49:51 +0000 (01:49 +0000)]
Implemented enum_domain_groups function.
(This used to be commit 9e36824d47f7d1aac14bb5aeded8da54962c90a8)

21 years agoDon't try to convert enumprinters name to a unc name.
Tim Potter [Tue, 27 Aug 2002 01:48:00 +0000 (01:48 +0000)]
Don't try to convert enumprinters name to a unc name.
(This used to be commit e09007dd5d17d5f84aea3c2fed16ce79ba7be1f2)

21 years agoNew arguments to cli_spoolss_enum_printers()
Tim Potter [Tue, 27 Aug 2002 00:41:06 +0000 (00:41 +0000)]
New arguments to cli_spoolss_enum_printers()
(This used to be commit 55f891016c005c1552f1c1d95dd067bbf9de8869)

21 years agoPass the object name down to the enum_printers rpc. By default this is the
Tim Potter [Tue, 27 Aug 2002 00:38:55 +0000 (00:38 +0000)]
Pass the object name down to the enum_printers rpc.  By default this is the
server name and everything works as advertised.  See the MSDN doco for details.
(This used to be commit d6b10fe9691bfc96d5933c029990c60fd292bdc9)

21 years agoCorrect fix for nc problem.
Jeremy Allison [Mon, 26 Aug 2002 20:29:10 +0000 (20:29 +0000)]
Correct fix for nc problem.
Jeremy.
(This used to be commit 1f81b177182aee7fe24e50ae3cd72d417e81b45a)

21 years agoReformatting only before real change.
Jeremy Allison [Mon, 26 Aug 2002 20:26:25 +0000 (20:26 +0000)]
Reformatting only before real change.
Jeremy.
(This used to be commit ac21f280d5030a9c49330be37bd754a1540a238a)

21 years agomerge from APP_HEAD
Gerald Carter [Mon, 26 Aug 2002 16:57:35 +0000 (16:57 +0000)]
merge from APP_HEAD
(This used to be commit ebe89453b63467c87263c24f4380544fef1124a6)

21 years agomerge from APP_HEAD
Gerald Carter [Mon, 26 Aug 2002 16:43:29 +0000 (16:43 +0000)]
merge from APP_HEAD
(This used to be commit 4689e7ea5e55e22e1e4293c91ba69fee53436143)

21 years agoReverted and tidied up the "special" files patch. Adds "hide special files"
Jeremy Allison [Mon, 26 Aug 2002 16:38:08 +0000 (16:38 +0000)]
Reverted and tidied up the "special" files patch. Adds "hide special files"
option (set to false by default). Made checking for hide unreadable/writable
more efficient (less stat calls, less allocating printf calls).
Jeremy.
(This used to be commit 15ff5a48f94fdc6ed61fb10f063c4fbf8bb5bb2d)

21 years agoA small type and addition of an example add printer command script.
Richard Sharpe [Mon, 26 Aug 2002 13:04:26 +0000 (13:04 +0000)]
A small type and addition of an example add printer command script.
(This used to be commit 7c5f94e73746fcb97e440a29e5abc7bbb0a6c250)

21 years agoFix some small spelling etc problems in the SGML.
Richard Sharpe [Mon, 26 Aug 2002 11:24:30 +0000 (11:24 +0000)]
Fix some small spelling etc problems in the SGML.

Must also add a small tute on adding print queues dynamically with the addprinter command.
(This used to be commit 5ea345f464800fa4ce70108c0285791c745243c9)

21 years agoSome fixes for SMB signing. I can now get Win2k to correctly respond with a
Andrew Bartlett [Mon, 26 Aug 2002 03:59:01 +0000 (03:59 +0000)]
Some fixes for SMB signing.  I can now get Win2k to correctly respond with a
security signiture, but I can't get it to accept ours.

Andrew Bartlett
(This used to be commit 7746de6a3c5798e321ed8300f763588fa3807964)

21 years agoHeader file change from last commit.
Andrew Bartlett [Mon, 26 Aug 2002 03:16:10 +0000 (03:16 +0000)]
Header file change from last commit.
(This used to be commit a760bca56a55b119cf399c5ac6f8b0db418be2e0)

21 years agoUpdates!
Andrew Bartlett [Mon, 26 Aug 2002 03:08:37 +0000 (03:08 +0000)]
Updates!

- Don't print an uninitialised buffer in service.c
- Change some charcnv.c functions to take smb_ucs2_t ** instead of void **
- Update NTLMv2 code to use dynamic buffers
- Update experimental SMB signing code - still more work to do
- Move sys_getgrouplist() to SAFE_FREE() and do a DEBUG() on initgroups()
  failure.

Andrew Bartlett
(This used to be commit de1964f7fa855022258a84556b266100b917444b)

21 years agoOur 'guest' login still requires an entry in the SAM - and build farm machines
Andrew Bartlett [Mon, 26 Aug 2002 02:01:05 +0000 (02:01 +0000)]
Our 'guest' login still requires an entry in the SAM - and build farm machines
do not run 'unixsam', so add it to smbpasswd.

Andrew Bartlett
(This used to be commit 2ff6d53db550c1f4472b735b1bc87c9705716241)

21 years agoTry to support non-root-mode systems without getgrouplist().
Andrew Bartlett [Mon, 26 Aug 2002 00:43:06 +0000 (00:43 +0000)]
Try to support non-root-mode systems without getgrouplist().

Andrew Bartlett
(This used to be commit 17096315a0f30f946ddecb79708604a111c37011)

21 years agoClarify function comments
Andrew Bartlett [Sun, 25 Aug 2002 23:33:22 +0000 (23:33 +0000)]
Clarify function comments
(This used to be commit a613dde7edab62c4439d256932b9f9b4ae2ec4e0)

21 years agoSteve Langasek <vorlon@netexpress.net> has again attempted to simplify Samba's
Andrew Bartlett [Sun, 25 Aug 2002 22:43:20 +0000 (22:43 +0000)]
Steve Langasek <vorlon@netexpress.net> has again attempted to simplify Samba's
external lib dependencies - let's hope this patch stays around for longer than
the previous attempt.

Andrew Bartlett
(This used to be commit d0c0e9f427400c24f5cc38c67b7a927f9d937375)

21 years agoUse a function that actually exists for the keepalive send.
Andrew Bartlett [Sun, 25 Aug 2002 22:23:46 +0000 (22:23 +0000)]
Use a function that actually exists for the keepalive send.

Andrew Bartlett
(This used to be commit 82e7212bbbeefce873291c2fdb3b04ae1e6c26d6)

21 years agoPatch from mimir to back out idra's attempted DOS mitigation patch.
Andrew Bartlett [Sun, 25 Aug 2002 21:46:49 +0000 (21:46 +0000)]
Patch from mimir to back out idra's attempted DOS mitigation patch.
(It broke port 139 name exchange)

I've been thinking about this, and doing is properly is actually rather
difficult - but I'll try and get somthing in there.  (My worry is what
smb_read_error should be set to, and how that interacts with the rest of
samba).

Andrew Bartlett
(This used to be commit 3e682867bbb13dae265cb9a8acea8b7cc87d82a6)

21 years agoFix from kai to correctly decode ntlmssp flags.
Andrew Bartlett [Sun, 25 Aug 2002 21:36:45 +0000 (21:36 +0000)]
Fix from kai to correctly decode ntlmssp flags.

Andrew Bartlett
(This used to be commit 2e74473551f0fce0384eacd31bc1a53ff3967464)

21 years agoAnother speling fix
Richard Sharpe [Sat, 24 Aug 2002 17:26:08 +0000 (17:26 +0000)]
Another speling fix
(This used to be commit c904fa4abd7b79057ef9369aacaa368cdc177c32)

21 years agoSome more minor doco fixes ...
Richard Sharpe [Sat, 24 Aug 2002 17:24:03 +0000 (17:24 +0000)]
Some more minor doco fixes ...
(This used to be commit b02e8aa4cb302689fa54cc6de9d2f1e5e23bb560)

21 years agoYour car depreciates in value, while obsolete parameters are deprecated.
Richard Sharpe [Sat, 24 Aug 2002 17:06:07 +0000 (17:06 +0000)]
Your car depreciates in value, while obsolete parameters are deprecated.
(This used to be commit c95e53a1dda579cabbe2fb5059f2a1bde33ccf0c)

21 years agoif muhammad does not go to the mountain ...
Simo Sorce [Sat, 24 Aug 2002 02:06:17 +0000 (02:06 +0000)]
if muhammad does not go to the mountain ...
(This used to be commit 5246d3693c463e581a7cd40f86878e40456237c3)

21 years agodo not expose special files, only files, directories and links (and we
Simo Sorce [Sat, 24 Aug 2002 01:33:25 +0000 (01:33 +0000)]
do not expose special files, only files, directories and links (and we
should really check if a link points to a special file and deny access
imho), expose no fifo, socket, devices ...
(This used to be commit 59954113348cfb2061fa6bd7dfe7545f614e2891)

21 years agoRemoved samsync
John Terpstra [Fri, 23 Aug 2002 17:01:02 +0000 (17:01 +0000)]
Removed samsync
(This used to be commit 644a45d493712c12e6318d13f7dd6ef1be5e6b1a)

21 years agoMerged initial allocation code for IFSTEST fix.
Jeremy Allison [Fri, 23 Aug 2002 15:51:28 +0000 (15:51 +0000)]
Merged initial allocation code for IFSTEST fix.
Jeremy.
(This used to be commit 095e2bf9469a4c26814fb049f2870983c090ed81)

21 years agoTest for non-POSIX st_blksize field.
Jeremy Allison [Fri, 23 Aug 2002 15:29:44 +0000 (15:29 +0000)]
Test for non-POSIX st_blksize field.
Jeremy.
(This used to be commit d406d08e3e1aa2266a472f98cff7dd0ff311a33c)

21 years agoCope with negative cache dns entries better.
Tim Potter [Fri, 23 Aug 2002 15:01:08 +0000 (15:01 +0000)]
Cope with negative cache dns entries better.
(This used to be commit 3404023260a5d6fed5523eb378d4a1ad418302a0)

21 years agoWe never checked if the smb packet len is != 0
Simo Sorce [Fri, 23 Aug 2002 15:01:07 +0000 (15:01 +0000)]
We never checked if the smb packet len is != 0
Should fix a supposed DoS too.
(This used to be commit f76e5b2677beb161c2f9c0d3dd78e707655e942f)

21 years agoMoved calculation of secure channel type into a new function.
Tim Potter [Fri, 23 Aug 2002 13:38:00 +0000 (13:38 +0000)]
Moved calculation of secure channel type into a new function.
(This used to be commit b8dba26978c281259e02b9d6ebacaa7cba4f7787)

21 years agoDon't take the sizeof(struct in_addr) * -1
Tim Potter [Fri, 23 Aug 2002 13:23:49 +0000 (13:23 +0000)]
Don't take the sizeof(struct in_addr) * -1
(This used to be commit e13016bb42dbba675d6e7ee7e163543aad2e62c2)

21 years agoremove samsync and spamsync
Herb Lewis [Fri, 23 Aug 2002 12:43:46 +0000 (12:43 +0000)]
remove samsync and spamsync
(This used to be commit 34a7efd1f8fc5d5fda7cafe50cb6fd7c4aac32ab)

21 years agoWe need to return the value here...
Andrew Bartlett [Fri, 23 Aug 2002 12:31:36 +0000 (12:31 +0000)]
We need to return the value here...

Andrew Bartlett
(This used to be commit 8fbc964f2f40de80851cf89f7bed0ddc5d01b074)

21 years agosync with 2.2 branch
Herb Lewis [Fri, 23 Aug 2002 10:58:44 +0000 (10:58 +0000)]
sync with 2.2 branch
(This used to be commit 52924c064dc649032619c52e5cc915ca74e3aa10)

21 years agosome cleanup while working on the NETLOGON pipe.
Jean-François Micouleau [Fri, 23 Aug 2002 05:12:06 +0000 (05:12 +0000)]
some cleanup while working on the NETLOGON pipe.

smb_io_chal() did a prs_align() but a challenge is an array of bytes.
and all code calling smb_io_chal() played with the alignment to not align !

I'm confident in my change, but I would *really* like if jeremy could look
at that.

J.F.
(This used to be commit 23501ea971f8cc0799515e0d51ad8619221a31e1)

21 years agoFix for change in cli_netlogon_sam_sync()
Tim Potter [Thu, 22 Aug 2002 23:44:36 +0000 (23:44 +0000)]
Fix for change in cli_netlogon_sam_sync()
(This used to be commit 6ec267618a7ba2c4a7170b78ccfe95120c5430c4)

21 years agoAdded some new delta types discovered by Ronnie from ethereal"
Tim Potter [Thu, 22 Aug 2002 23:39:26 +0000 (23:39 +0000)]
Added some new delta types discovered by Ronnie from ethereal"

 - SAM_DELTA_RENAME{USER,GROUP,ALIAS}
 - SAM_DELTA_DELETE{USER,GROUP}

Renamed some of the unknown delta types and their unmarshalling functions:

 - SAM_DELTA_TRUST_DOMS
 - SAM_DELTA_SECRET_INFO
(This used to be commit 1f29276c2ff450c4ca3705c27fb0be71ddcda4ad)

21 years agomove where got_sig_term and reload_after_sighup are defined.
Herb Lewis [Thu, 22 Aug 2002 23:34:27 +0000 (23:34 +0000)]
move where got_sig_term and reload_after_sighup are defined.
populate cli structure with called name and calling name even for port
445 connects.
(This used to be commit 123eee6206d9afb28c169540dc63824957b505f4)

21 years agoadded smb_xstrndup()
Andrew Tridgell [Thu, 22 Aug 2002 22:53:33 +0000 (22:53 +0000)]
added smb_xstrndup()
(This used to be commit 26fc20187d405702c50d1e7a38d3a94c84932bed)

21 years agoa ASN.1 fix from anthony
Andrew Tridgell [Thu, 22 Aug 2002 22:53:00 +0000 (22:53 +0000)]
a ASN.1 fix from anthony
(This used to be commit 5ff687a839f805af56ae77cba94c466a0ff87ccc)

21 years agodon't use spnego in the client unless enabled in smb.conf
Andrew Tridgell [Thu, 22 Aug 2002 22:52:16 +0000 (22:52 +0000)]
don't use spnego in the client unless enabled in smb.conf
(This used to be commit c00388de6cf5d0527505bfe4edfe2f0269c5a4c8)

21 years agomade the CAP_UNIX test a bit cleaner
Andrew Tridgell [Thu, 22 Aug 2002 22:51:28 +0000 (22:51 +0000)]
made the CAP_UNIX test a bit cleaner
(This used to be commit 8c8b0dd381f357bdd204fd6b5d50b78765e93090)

21 years agoa few minor cleanups in the cldap request
Andrew Tridgell [Thu, 22 Aug 2002 22:50:57 +0000 (22:50 +0000)]
a few minor cleanups in the cldap request
(This used to be commit 228fc518da0404fe770175d5277fe5f5b08f9c67)

21 years agoadded a 'net rpc samdump' command for dumping the whole sam via
Andrew Tridgell [Thu, 22 Aug 2002 22:48:54 +0000 (22:48 +0000)]
added a 'net rpc samdump' command for dumping the whole sam via
samsync operations (as a BDC)
(This used to be commit e4cb106d2e3e6a41529369545a7a6ce5fe6d8986)

21 years agoadded a useful unistr2 display function
Andrew Tridgell [Thu, 22 Aug 2002 22:44:06 +0000 (22:44 +0000)]
added a useful unistr2 display function
(This used to be commit f4581133649b5208d8f91c4995ef60579e04b6f6)

21 years agotypos typos :)
Simo Sorce [Thu, 22 Aug 2002 21:42:59 +0000 (21:42 +0000)]
typos typos :)
(This used to be commit 78cfbebc69fb15326d8f6dbbce1090c301a1f270)

21 years agofix registry editor API for printing backend after I changed
Gerald Carter [Thu, 22 Aug 2002 21:16:11 +0000 (21:16 +0000)]
fix registry editor API for printing backend after I changed
the NT_PRINTER_PARAM to a REGISTRY_VALUE
(This used to be commit 8d510abe125e15a8d71c58a13d170dc3d6371368)

21 years agoreload_after_sighup and got_sig_term are defined in server.c
Herb Lewis [Thu, 22 Aug 2002 21:15:17 +0000 (21:15 +0000)]
reload_after_sighup and got_sig_term are defined in server.c
(This used to be commit 667e2fe32f111ce840fe3be028c61497d54d6b3d)

21 years agoSpelling fixes.
Tim Potter [Thu, 22 Aug 2002 20:19:49 +0000 (20:19 +0000)]
Spelling fixes.
(This used to be commit 9b49d97b94a7e3842cdcbfa4ebfa961586857aea)

21 years agoRemember to check for UNIX extensions before saying we support them.
Jeremy Allison [Thu, 22 Aug 2002 20:02:33 +0000 (20:02 +0000)]
Remember to check for UNIX extensions before saying we support them.
Jeremy.
(This used to be commit 2c7ad907eb5e1838b6430940cb5289489fad4bb0)

21 years agoPut back in BDC support in set_server_role(). Tidied up debugs.
Tim Potter [Thu, 22 Aug 2002 19:57:53 +0000 (19:57 +0000)]
Put back in BDC support in set_server_role().  Tidied up debugs.
(This used to be commit 08d7d6ffa65568209e953a2834d263cf3537064e)

21 years agoWe were returning incorrect flags in smb_action....
Jeremy Allison [Thu, 22 Aug 2002 19:56:16 +0000 (19:56 +0000)]
We were returning incorrect flags in smb_action....
IFSTEST strikes again :-).
Jeremy.
(This used to be commit 4e0a2564302bdb18087e395576208fa0f0c5c32e)

21 years agoMore compile warnings.
Tim Potter [Thu, 22 Aug 2002 17:46:25 +0000 (17:46 +0000)]
More compile warnings.
(This used to be commit 8303ff62609bd57af457bc1f1527c58657225fdf)

21 years agoFix compile warnings.
Tim Potter [Thu, 22 Aug 2002 17:43:27 +0000 (17:43 +0000)]
Fix compile warnings.
(This used to be commit e84f47a234d31e98b0dc28c51f3ec337458e48d1)

21 years agoEnsure we don't change to a user that we can't get an NT_TOKEN for.
Andrew Bartlett [Thu, 22 Aug 2002 17:05:35 +0000 (17:05 +0000)]
Ensure we don't change to a user that we can't get an NT_TOKEN for.
(This used to be commit 9416289b571b1c838239e5342bb6148041ab681b)

21 years agofix for difference in strsep and strtok semantics
Herb Lewis [Thu, 22 Aug 2002 10:33:21 +0000 (10:33 +0000)]
fix for difference in strsep and strtok semantics
(This used to be commit 51e0a4adc7c6cc09e53003726b31201a091e9f35)

21 years agoSpelling fixes.
Tim Potter [Thu, 22 Aug 2002 09:48:06 +0000 (09:48 +0000)]
Spelling fixes.
(This used to be commit 24fa84bda49a3a77fbc092652a0b6b132f06ff7c)

21 years agoget the access check in addform() correct this time.
Gerald Carter [Thu, 22 Aug 2002 03:12:10 +0000 (03:12 +0000)]
get the access check in addform() correct this time.
Needed to modify OpenPrinter() to store the access granted to
on the print server handle as well.
(This used to be commit 08b3f9688c6c3c83ad8949e6346d8fab5e563df4)

21 years agofix a few segfaults
Gerald Carter [Thu, 22 Aug 2002 02:51:32 +0000 (02:51 +0000)]
fix a few segfaults
(This used to be commit ccb02f7cfcec4a555cf7304816c739f4bf7b46f0)

21 years agoMake samsync use popt
Andrew Bartlett [Thu, 22 Aug 2002 01:25:10 +0000 (01:25 +0000)]
Make samsync use popt
(This used to be commit 6aa7aa00f32c2d6512029eb603f9087ce6c98bf9)

21 years agoA few fixes towards libsmbclient and rpcclient - get pointer types right and
Andrew Bartlett [Thu, 22 Aug 2002 00:51:00 +0000 (00:51 +0000)]
A few fixes towards libsmbclient and rpcclient - get pointer types right and
try to keep to functions inside libsmbclient.

Andrew Bartlett
(This used to be commit 340bc31fdb031d79fa87de27c2c46215dd8113a3)

21 years agoMove comment
Andrew Bartlett [Thu, 22 Aug 2002 00:16:21 +0000 (00:16 +0000)]
Move comment
(This used to be commit 009b331182b1338e07968388004f5d44b835e7f5)

21 years agoFixed IFSTEST errors with OpenParams... more to go.
Jeremy Allison [Thu, 22 Aug 2002 00:10:02 +0000 (00:10 +0000)]
Fixed IFSTEST errors with OpenParams... more to go.
Jeremy.
(This used to be commit 31a0c4ac33e89be4a27ff697dd3850fe6578e75f)

21 years agoAdded README written by Jelmer - thanks!
Tim Potter [Wed, 21 Aug 2002 23:28:41 +0000 (23:28 +0000)]
Added README written by Jelmer - thanks!
(This used to be commit f639eb3817b9edf421dc103394428d607857a0bb)

21 years agofix segfault
Gerald Carter [Wed, 21 Aug 2002 23:27:38 +0000 (23:27 +0000)]
fix segfault
(This used to be commit 982eadf73bb3932ec3ac89c6112a8bf79dbec127)

21 years agoNETLOGON NetServerAuthenticate3 include and parser file
Jean-François Micouleau [Wed, 21 Aug 2002 23:08:28 +0000 (23:08 +0000)]
NETLOGON NetServerAuthenticate3 include and parser file

J.F.
(This used to be commit 2f68d6f5ec925f07a387f784db6de0cfbaa53278)

21 years agoMore hacks for 'guest account' to get it to show up with the right rid...
Andrew Bartlett [Wed, 21 Aug 2002 22:13:45 +0000 (22:13 +0000)]
More hacks for 'guest account' to get it to show up with the right rid...

Andrew Bartlett
(This used to be commit 2795d92268d23063faf5a661279a91f7703d8aac)

21 years agoAdd tridge's backtrace script - it should at least work for systems with
Andrew Bartlett [Wed, 21 Aug 2002 21:42:05 +0000 (21:42 +0000)]
Add tridge's backtrace script - it should at least work for systems with
gdb....

Andrew Bartlett
(This used to be commit 7cb080559eaf39fb0afd6d846bf56715f1303801)

21 years agoFix longstanding bug in Win2k clients by clearing the shortname
Jeremy Allison [Wed, 21 Aug 2002 21:07:27 +0000 (21:07 +0000)]
Fix longstanding bug in Win2k clients by clearing the shortname
buffer before returning ascii short name.
Jeremy.
(This used to be commit d01bbd42ff043d9fb0dc40dc4e207da8df0c9c14)

21 years agoDocument -v option
Jelmer Vernooij [Wed, 21 Aug 2002 21:00:40 +0000 (21:00 +0000)]
Document -v option
(This used to be commit a8936762967643a935ae45f468ad70e206406190)

21 years agoReplaced reference to global_myworkgroup by calls to lp_workgroup().
Volker Lendecke [Wed, 21 Aug 2002 20:50:42 +0000 (20:50 +0000)]
Replaced reference to global_myworkgroup by calls to lp_workgroup().

pdbedit failed to initialize global_myworkgroup, wo we could end up
having a SID for SECRETS/SID/  in secrets.tdb.

Volker
(This used to be commit 8c96ab4bc05e55e119c1b44779fe14d3ab6c5f35)

21 years agoThis is like jht's (abortive) patch for showing only non-default testparm
Andrew Bartlett [Wed, 21 Aug 2002 20:29:11 +0000 (20:29 +0000)]
This is like jht's (abortive) patch for showing only non-default testparm
options.

Andrew Bartlett
(This used to be commit 4cd822d9e4e5f35a47b0837bfa73c8a457e6cc85)

21 years agoPatch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatible
Jelmer Vernooij [Wed, 21 Aug 2002 19:59:23 +0000 (19:59 +0000)]
Patch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatible
(This used to be commit addf29e6765393b25c35bd833d29e29e4581c233)

21 years agopdbedit needs global_myname to be set in order to display the
Volker Lendecke [Wed, 21 Aug 2002 19:48:56 +0000 (19:48 +0000)]
pdbedit needs global_myname to be set in order to display the
user SIDs correctly.

Volker
(This used to be commit 287b7bda11100c42f2cdea36a20a81f6ea397f43)

21 years agoglobal_myname is a pstring, not an fstring
Volker Lendecke [Wed, 21 Aug 2002 19:39:38 +0000 (19:39 +0000)]
global_myname is a pstring, not an fstring
(This used to be commit 2df34c9bfc76ee832e5005a2ad0ff0b6abb98034)

21 years agoAdd changes suggested by abartlet:
Jelmer Vernooij [Wed, 21 Aug 2002 18:58:04 +0000 (18:58 +0000)]
Add changes suggested by abartlet:
- don't use lp_passwd_file() to retrieve NIS domain name, but use location
  instead
- some cleanups
(This used to be commit 16f4568f35c753ec0ab0a0dda2b264668f5ac5ab)

21 years agodocument nisplus sam
Jelmer Vernooij [Wed, 21 Aug 2002 17:32:14 +0000 (17:32 +0000)]
document nisplus sam
(This used to be commit debf77cd3a7a48ad833255c42917d7e7660d3d15)

21 years agoAdd 'net rpc getsid' to fetch the PDC's SID into the local secrets.tdb
Volker Lendecke [Wed, 21 Aug 2002 17:23:34 +0000 (17:23 +0000)]
Add 'net rpc getsid' to fetch the PDC's SID into the local secrets.tdb

Print domain SID on 'net rpc info'

Volker
(This used to be commit 12fd889a3f0e3eeeb27a51cdd7f648a59083f2ba)

21 years agojust comment typos
Volker Lendecke [Wed, 21 Aug 2002 17:07:10 +0000 (17:07 +0000)]
just comment typos
(This used to be commit 169e784f4829ef356ed6232ace950d43cac1d467)

21 years agoFix debug level initialization for net.c
Volker Lendecke [Wed, 21 Aug 2002 11:48:05 +0000 (11:48 +0000)]
Fix debug level initialization for net.c

Volker
(This used to be commit 5af5326f1311a49d3c8316e1dcc27037b831065a)

21 years agoCope with non-unix accounts - we just won't get the groups for those users.
Andrew Bartlett [Wed, 21 Aug 2002 11:34:05 +0000 (11:34 +0000)]
Cope with non-unix accounts - we just won't get the groups for those users.

Andrew Bartlett
(This used to be commit 7cad7814555645aa3bee95fb48fbd694e6a9e313)

21 years agoUse the 'init' flag to determine if the UID is set, rather than testing the
Andrew Bartlett [Wed, 21 Aug 2002 11:18:25 +0000 (11:18 +0000)]
Use the 'init' flag to determine if the UID is set, rather than testing the
uid for -1.

Andrew Bartlett
(This used to be commit 2fc12864ae78ea08d8cb4e3b1c7e341ca4a854e6)

21 years agoFix pam_smbpass to always check the return value of pdb_getsampwnam() to
Andrew Bartlett [Wed, 21 Aug 2002 11:15:10 +0000 (11:15 +0000)]
Fix pam_smbpass to always check the return value of pdb_getsampwnam() to
determine if the user exists.

(from post on samba-technical)

Andrew Bartlett
(This used to be commit b43304c2aa406267ef157dd0ac59319d6c494ce4)

21 years agoHandle wrap-around on this number by making it unsigned.
Andrew Bartlett [Wed, 21 Aug 2002 11:12:14 +0000 (11:12 +0000)]
Handle wrap-around on this number by making it unsigned.

(Wrapping to zero does not create problems in this cache)

Andrew Bartlett
(This used to be commit c58e3d5c7d78dd02584b1490a27f7007e11b8712)

21 years agoimplemented lock and mknod
Simo Sorce [Wed, 21 Aug 2002 02:34:49 +0000 (02:34 +0000)]
implemented lock and mknod
addedd to vfstest the possibility to read a file to imput a stream of commands
(This used to be commit 233b14f447994db8fdb4448d19eff0c38c17254d)

21 years agoaddform fix from SAMBA_2_2
Gerald Carter [Wed, 21 Aug 2002 01:47:29 +0000 (01:47 +0000)]
addform fix from SAMBA_2_2
(This used to be commit db286e66ec4788b40e279fd230b2013f311e44ec)

21 years agofix typos
Simo Sorce [Tue, 20 Aug 2002 21:21:56 +0000 (21:21 +0000)]
fix typos
thanks Josef Zlomek
(This used to be commit fb32fd99b9878db2bacf0588d30fd5f1f37dbfd7)

21 years agopdb_nisplus converted to the new passdb system API's
Jelmer Vernooij [Tue, 20 Aug 2002 20:56:10 +0000 (20:56 +0000)]
pdb_nisplus converted to the new passdb system API's
(This used to be commit 72e9a5cd340d6a912e274dc0d6f2a22a922d4b03)

21 years agoIFSTEST fixes for open fid, nametoolong.
Jeremy Allison [Tue, 20 Aug 2002 20:54:32 +0000 (20:54 +0000)]
IFSTEST fixes for open fid, nametoolong.
Jeremy.
(This used to be commit e53a81261ed189881c0f07e1b46f97aa6770cab7)

21 years agoThe "max data count" value in SMB transacts indicates how much the other end can
Shirish Kalele [Tue, 20 Aug 2002 19:58:23 +0000 (19:58 +0000)]
The "max data count" value in SMB transacts indicates how much the other end can
send us. As it stands, we incorrectly set it to the number of bytes we are
sending. Correcting this by setting a static value of 1024 (This could even be
something larger). Improves RPC client performance.
(This used to be commit b0bd42c9466f41dc87a11fd6065620f93c8ebc40)

21 years agosome fixes
Jelmer Vernooij [Tue, 20 Aug 2002 19:35:13 +0000 (19:35 +0000)]
some fixes
(This used to be commit e0c61b31050a3e3fdec2c47c80ef34de3ec73e04)

21 years agofix typo
Jelmer Vernooij [Tue, 20 Aug 2002 19:16:28 +0000 (19:16 +0000)]
fix typo
(This used to be commit 71e2b41c77cc3128c6cb6e68b7ddbe2213274805)

21 years agofix irix compile errors - cannot initialize array in declaration statement
Herb Lewis [Tue, 20 Aug 2002 18:43:59 +0000 (18:43 +0000)]
fix irix compile errors - cannot initialize array in declaration statement
with non-const values - strsep not defined
(This used to be commit a5c59b2cd10016ecbd931531602ad1cb3660bbf9)