tprouty/samba.git
21 years agouse the new IVAL_TO_SMB_OFF_T for file_info size member
Herb Lewis [Tue, 3 Dec 2002 20:00:31 +0000 (20:00 +0000)]
use the new IVAL_TO_SMB_OFF_T for file_info size member
dir now shows correct size on large files
(This used to be commit ce7d421ba9cfa65e3ed404f18e8b3b4cf4730593)

21 years agoSupport printer info 7, used for publishing
Jim McDonough [Tue, 3 Dec 2002 19:48:18 +0000 (19:48 +0000)]
Support printer info 7, used for publishing
(This used to be commit 3c9726454ea6beb8d5d308805caecb86395c7ad2)

21 years agoStop using hardcoded key/value strings, be more forgiving of dsspooler/dsdriver info...
Jim McDonough [Tue, 3 Dec 2002 19:41:43 +0000 (19:41 +0000)]
Stop using hardcoded key/value strings, be more forgiving of dsspooler/dsdriver info existence.
(This used to be commit ca8735532cb656a09c1586326cdce33984fe38b4)

21 years agoStop using hacks for dns host/domain names.
Jim McDonough [Tue, 3 Dec 2002 19:37:42 +0000 (19:37 +0000)]
Stop using hacks for dns host/domain names.
(This used to be commit 1d0086aadb4fa57b127e80e455835dd6eb387f71)

21 years agofns for retrieving dns host name and domain name (get rid of lp_realm hacks).
Jim McDonough [Tue, 3 Dec 2002 19:35:46 +0000 (19:35 +0000)]
fns for retrieving dns host name and domain name (get rid of lp_realm hacks).
(This used to be commit 456813308d8542211183f9655b7fe598144f7bfc)

21 years agoAdd defines for standard DsSpooler/DsDriver values that get published.
Jim McDonough [Tue, 3 Dec 2002 19:26:47 +0000 (19:26 +0000)]
Add defines for standard DsSpooler/DsDriver values that get published.
(This used to be commit 2b152addf49f0ede001b263174d2eaab2600e933)

21 years agoDon't segfault when trying to delete a key when none exist.
Jim McDonough [Tue, 3 Dec 2002 19:24:51 +0000 (19:24 +0000)]
Don't segfault when trying to delete a key when none exist.
(This used to be commit 1bf36d3fc69b8129fff08f5a735e27a94eb46d49)

21 years agoFixed nasty bug where file writes with start offsets in the range
Jeremy Allison [Tue, 3 Dec 2002 08:02:21 +0000 (08:02 +0000)]
Fixed nasty bug where file writes with start offsets in the range
0x80000000 -> 0xFFFFFFFF would fail as they were being cast
from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types).
The sign extension would cause the offset to be treated as negative.
Thanks to Herb for helping me track this one down (IRIX is good for large
file tests :-).
Jeremy.
PS. That horrid EXEXIST thing has broken configure.....
(This used to be commit fc7d3faed798e7496f2991ec7d795c3b1a3758f5)

21 years agoFixes for EXEEXT - must use \$ signs when you want an actual $ sign to
Tim Potter [Tue, 3 Dec 2002 05:44:36 +0000 (05:44 +0000)]
Fixes for EXEEXT - must use \$ signs when you want an actual $ sign to
be used.
(This used to be commit 8c306804c6f3f0523ff5347e4b9360474d696a50)

21 years agoAs per Jeremy's request back this out, so as to re-gain the implicit length
Andrew Bartlett [Sun, 1 Dec 2002 19:52:09 +0000 (19:52 +0000)]
As per Jeremy's request back this out, so as to re-gain the implicit length
check.

Andrew Bartlett
(This used to be commit 323088259f19f59008160d56fbcb9df6a6cd0d98)

21 years agoLink less with smbmnt and smbumount. Also change from a pstrcpy() to a
Andrew Bartlett [Sun, 1 Dec 2002 04:11:20 +0000 (04:11 +0000)]
Link less with smbmnt and smbumount.  Also change from a pstrcpy() to a
strncpy() to make it clear that we must operate on a PATH_MAX sized buffer.

Andrew Bartlett
(This used to be commit 49d9698ef08d66dc238b2e3469da8944b444dfa1)

21 years agoNo need for fstring manipulation here (Tcon&X), just use string pointers.
Andrew Bartlett [Sun, 1 Dec 2002 03:16:59 +0000 (03:16 +0000)]
No need for fstring manipulation here (Tcon&X), just use string pointers.

Andrew Bartlett
(This used to be commit b072bb9c8469799734507bcdffd4be29211e2610)

21 years agoRemove extra headers, and ensure that we correctly bail out of winbindd if we
Andrew Bartlett [Sun, 1 Dec 2002 03:14:30 +0000 (03:14 +0000)]
Remove extra headers, and ensure that we correctly bail out of winbindd if we
can't create the socket.

Andrew Bartlett
(This used to be commit 13b9af53bff8e42126a38f93c3bdd5b4d9b20aba)

21 years agoDereference the correct thing here, so we don't segfault
Andrew Bartlett [Sun, 1 Dec 2002 03:12:50 +0000 (03:12 +0000)]
Dereference the correct thing here, so we don't segfault
(This used to be commit ea18d02036b4e0502e5ecb057c9fe381709a07d8)

21 years agoMake it clear that we might not be talking to a PDC here.
Andrew Bartlett [Sun, 1 Dec 2002 03:11:53 +0000 (03:11 +0000)]
Make it clear that we might not be talking to a PDC here.
(This used to be commit 7d099e9a5b7164e8cdbdb93d8c4527f02c8bdefd)

21 years agoPOSIX indicates that this is always in network byte order, so we don't need the
Andrew Bartlett [Sun, 1 Dec 2002 03:02:50 +0000 (03:02 +0000)]
POSIX indicates that this is always in network byte order, so we don't need the
little-endian case (tested on Intel-linux).

Andrew Bartlett
(This used to be commit 281b713b12ece63d499652df193509c57312b749)

21 years agoPatch from Paul Green to detect exe extensions, needed for Stratus VOS.
Andrew Bartlett [Sun, 1 Dec 2002 01:35:40 +0000 (01:35 +0000)]
Patch from Paul Green to detect exe extensions, needed for Stratus VOS.

Andrew Bartlett
(This used to be commit 3f5608c7e0175184fa599176178d391d54087b3d)

21 years agoFixup of ordered cleanup of get_dc_list - bug found by Dominik 'Aeneas' Schnitzer...
Jeremy Allison [Sun, 1 Dec 2002 00:46:50 +0000 (00:46 +0000)]
Fixup of ordered cleanup of get_dc_list - bug found by Dominik 'Aeneas' Schnitzer <dominik@schnitzer.at>
Jeremy.
(This used to be commit 7ba051a830a7dc96e3860a87643a3ac99cdf5836)

21 years agoIgnore ntlm_auth binary.
Tim Potter [Fri, 29 Nov 2002 02:46:33 +0000 (02:46 +0000)]
Ignore ntlm_auth binary.
(This used to be commit 25bbd0d1f90f819fcc7d9446f4f7e75e2434a639)

21 years agoFixed silly bug.
Tim Potter [Fri, 29 Nov 2002 02:44:09 +0000 (02:44 +0000)]
Fixed silly bug.
(This used to be commit 191c1596f5e939e733c9262c3beaf956328c7be6)

21 years agoRerun autoconf.
Tim Potter [Fri, 29 Nov 2002 01:21:14 +0000 (01:21 +0000)]
Rerun autoconf.
(This used to be commit d9644ea3edb085c5eb72593cef8f167fce6464c9)

21 years agoFix up smbwrapper target.
Tim Potter [Fri, 29 Nov 2002 01:19:27 +0000 (01:19 +0000)]
Fix up smbwrapper target.
(This used to be commit f5fa4801ceb56b21facccb382db09165936df319)

21 years agomerge in some changes from metze's patches (rest follows later, after
Jelmer Vernooij [Thu, 28 Nov 2002 18:45:11 +0000 (18:45 +0000)]
merge in some changes from metze's patches (rest follows later, after
some issues in the new module system have been resolved)
(This used to be commit 5b4d03fc8549696baebc0b4417582203ad7ba88e)

21 years agoAdd PDBLIBDIR, just like VFSLIBDIR
Jelmer Vernooij [Thu, 28 Nov 2002 14:26:32 +0000 (14:26 +0000)]
Add PDBLIBDIR, just like VFSLIBDIR
(This used to be commit 3d0735e6b03ae77af42135a7f1aebb4206ae6655)

21 years agoFix comment - 850 -> iso8859-1
Jeremy Allison [Wed, 27 Nov 2002 21:00:55 +0000 (21:00 +0000)]
Fix comment - 850 -> iso8859-1
Jeremy.
(This used to be commit 6639693746ba4c8f6622325ac143f8b1b3bd7538)

21 years agoRemove use of 'F' - make 'f' and 'p' do unix (iso8859-1) encoding.
Jeremy Allison [Wed, 27 Nov 2002 20:58:45 +0000 (20:58 +0000)]
Remove use of 'F' - make 'f' and 'p' do unix (iso8859-1) encoding.
Jeremy.
(This used to be commit e88bbec2a06bd92b8cfa33efdf166c4fa72cb656)

21 years agoTest was reversed for ERRmoredata in cli_read.
Jeremy Allison [Wed, 27 Nov 2002 19:09:48 +0000 (19:09 +0000)]
Test was reversed for ERRmoredata in cli_read.
Jeremy.
(This used to be commit 1a36ac60bef8de5368860478c268ba1671bb4825)

21 years agomerging changes from SAMBA_3_0 relating to RPM packaging
Gerald Carter [Wed, 27 Nov 2002 16:59:31 +0000 (16:59 +0000)]
merging changes from SAMBA_3_0 relating to RPM packaging
(This used to be commit 1cf0cfa1b7f00946c439b2b1a30ab3981df4a459)

21 years agosyncing packaging files with SAMBA_3_0
Gerald Carter [Wed, 27 Nov 2002 16:11:13 +0000 (16:11 +0000)]
syncing packaging files with SAMBA_3_0
(This used to be commit cdeb6281f75fe8422015a1af52bf515ff8288ba8)

21 years agoremoving inet_aton()
Gerald Carter [Wed, 27 Nov 2002 04:45:12 +0000 (04:45 +0000)]
removing inet_aton()
(This used to be commit 08ac3610f9ef7e1c37541729441acfa13b48d34c)

21 years agosync docs with SAMBA_3_0 and regenerate
Gerald Carter [Wed, 27 Nov 2002 02:47:56 +0000 (02:47 +0000)]
sync docs with SAMBA_3_0 and regenerate
(This used to be commit 20e6d8c036a4c4ecfa2afb1dd29342c81ce00f8b)

21 years agofix cli_ds_getprimarydominfo(); merge from SAMBA_3_0
Gerald Carter [Wed, 27 Nov 2002 02:23:25 +0000 (02:23 +0000)]
fix cli_ds_getprimarydominfo(); merge from SAMBA_3_0
(This used to be commit 481a8a8aa9dff336929cb168302f3faa3f046aa8)

21 years agoAfter consultation with tpot, remove the 'winbind_domain' environment
Andrew Bartlett [Tue, 26 Nov 2002 12:04:16 +0000 (12:04 +0000)]
After consultation with tpot, remove the 'winbind_domain' environment
variable hack, the feild on the pipe, and the server-side.

It only controlled some enum operations in any case.

This is to try and have less 'magic' environment variables.

Andrew Bartlett
(This used to be commit e4be82e4e2c7cdf15f3e20f73fe9f281f6384423)

21 years agoHaving waited for *way* too long, this is mimir's namecache and trusted domain
Andrew Bartlett [Tue, 26 Nov 2002 11:57:30 +0000 (11:57 +0000)]
Having waited for *way* too long, this is mimir's namecache and trusted domain
cache code.

This uses gencache, mimir's new caching code that stores at text-based cache
of various data.

Mimir has done a *lot* of work on this patch, and it is finally time to
get it in CVS.

Andrew Bartlett
(This used to be commit 47f3bfe9564e7f3aff60cefaefd599e0abb30a31)

21 years ago[print notify fixes from APP_HEAD]
Gerald Carter [Tue, 26 Nov 2002 00:01:56 +0000 (00:01 +0000)]
[print notify fixes from APP_HEAD]

 * fixing change notify on print server handle
 * adding change notify support into smbcontrol for sending comment
   changes, etc...

All part of CR 1159/1160
(This used to be commit 256d8c27cdc6f802f3bfba44593b07014f6ae10a)

21 years agoRegenerate with newer autoconf
Jelmer Vernooij [Mon, 25 Nov 2002 15:15:56 +0000 (15:15 +0000)]
Regenerate with newer autoconf
(This used to be commit 9084002709a6f50d8d92a37e8181e4a7bf20c577)

21 years agoInstead of walking the entire group database, grabbing all members of each
Andrew Bartlett [Mon, 25 Nov 2002 06:54:22 +0000 (06:54 +0000)]
Instead of walking the entire group database, grabbing all members of each
group, testing for membership etc, use the already calculated NT_USER_TOKEN.

(which is initgroups() based)

So far we only fill out the 'domain' groups - we need to fill out the
'other sids' as well, and we possibly need to filter the list for 'domain
groups' only (the old code did that), but Win2k doesn't seem to mind
this for now.

I also need to find out what the magic '7' is about.  Fortunetly JF is in town,
so I'll grill him tomorrow :-).

Andrew Bartlett
(This used to be commit 7e846e7387247f8bc2b07a1a1006014c6978143b)

21 years agoMake lp_winbind_separator a const string.
Tim Potter [Mon, 25 Nov 2002 03:05:59 +0000 (03:05 +0000)]
Make lp_winbind_separator a const string.
(This used to be commit be90650674ce5ebc292fc804e6168c5cc4ed25dd)

21 years agoFix some argument checking bugs found by testsuite.
Tim Potter [Mon, 25 Nov 2002 00:25:31 +0000 (00:25 +0000)]
Fix some argument checking bugs found by testsuite.
(This used to be commit 93306f581e3fa37d1aea67e93dc83d5a6d2fcb3f)

21 years agoAdd support to switch between Squid 2.4 and 2.5 protocols - squid doesn't
Andrew Bartlett [Sun, 24 Nov 2002 21:08:36 +0000 (21:08 +0000)]
Add support to switch between Squid 2.4 and 2.5 protocols - squid doesn't
encode the username, so don't decode it (users could play HTTP escaping games
on usernames).

Andrew Bartlett
(This used to be commit 71e24d0200e71ffcf52eaa77edc89175f31a45cd)

21 years agoMove from NT_STATUS_UNSUCCESSFUL to NT_STATUS_NO_SUCH_USER, and other slightly
Andrew Bartlett [Sun, 24 Nov 2002 08:46:34 +0000 (08:46 +0000)]
Move from NT_STATUS_UNSUCCESSFUL to NT_STATUS_NO_SUCH_USER, and other slightly
more useful error codes.
(This used to be commit 5b1185b4e8592e6bc1abe581950571e249c03a78)

21 years agoTry to twiddle with the makefile to avoid having a trailing \ when we
Andrew Bartlett [Sun, 24 Nov 2002 08:42:10 +0000 (08:42 +0000)]
Try to twiddle with the makefile to avoid having a trailing \ when we
don't build any extra programs.
(This used to be commit 9bac0b72774fe0c05956065a34ef48c05a7acaad)

21 years agoRemove silly ideas about taking the LM or NT hash as a password in pam_smbpass.
Andrew Bartlett [Sun, 24 Nov 2002 08:38:53 +0000 (08:38 +0000)]
Remove silly ideas about taking the LM or NT hash as a password in pam_smbpass.

Andrew Bartlett
(This used to be commit ce1464fb1c4c00de22b0e65c3199bc2eacea4d65)

21 years agoNo need to #include smb.h, when we already #include include.h
Andrew Bartlett [Sun, 24 Nov 2002 08:37:02 +0000 (08:37 +0000)]
No need to #include smb.h, when we already #include include.h
(This used to be commit b3049bb0d0ff97142940e2b33e9603d1c231ccfe)

21 years agoAdd ntlm_auth, a new program to provide a stable interface to winbind's
Andrew Bartlett [Sun, 24 Nov 2002 08:32:03 +0000 (08:32 +0000)]
Add ntlm_auth, a new program to provide a stable interface to winbind's
authentication code.

In particular, ntlm_auth is designed to replace the winbind authentication
'helpers' currently supplied by Squid.  I have added support for the current
plaintext password protocol used by Squid, and will add the real guts (NTLMSSP
support) shortly.

I'll merge this into 3.0 when I've got the interface more stable (error message
format etc) and got the important NTLMSSP support added.

Also move SWAT's URL decoding code into util_str.c, for use in both utilities.

Andrew Bartlett
(This used to be commit 82dbf838879e8a2d2d3f9dd5be6eda50b780b787)

21 years ago[merge from APP_HEAD]
Gerald Carter [Sat, 23 Nov 2002 14:27:56 +0000 (14:27 +0000)]
[merge from APP_HEAD]

90% fix for CR 1076.  The password server parameter will no take things
like

        password server = DC1 *

which means to contact DC1 first and the go to auto lookup if it
fails.

jerry
(This used to be commit c31a17889e3e4daf7c1e807038efc2c0fba78be3)

21 years agoa working timegm() function for systems that don't have it
Andrew Tridgell [Sat, 23 Nov 2002 06:39:04 +0000 (06:39 +0000)]
a working timegm() function for systems that don't have it
(This used to be commit 6efdd54d063043cac2fe151231ac1999ade25704)

21 years agoPlease compile with :
Jeremy Allison [Sat, 23 Nov 2002 02:58:29 +0000 (02:58 +0000)]
Please compile with :
-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
if you're using gcc. It really does help !
Jeremy.
(This used to be commit 41b56d975bc37434a4bff9188970346010dc6e1c)

21 years agoLots of fixes for error paths where tdb_fetch() data need freeing.
Jeremy Allison [Sat, 23 Nov 2002 02:52:38 +0000 (02:52 +0000)]
Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
(This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)

21 years agojcmd really should run with a higher compiler warning level more often :-).
Jeremy Allison [Sat, 23 Nov 2002 02:51:31 +0000 (02:51 +0000)]
jcmd really should run with a higher compiler warning level more often :-).
Jeremy.
(This used to be commit 0ac3af1a27b8f1b9935bbcb6f3ec0b11d01bfcbd)

21 years agoRerun autoconf.
Tim Potter [Fri, 22 Nov 2002 06:56:28 +0000 (06:56 +0000)]
Rerun autoconf.
(This used to be commit 7b982ad962dfaa140b4602e56aae772e01772a56)

21 years agoHere's a bit of a cleanup of the {configure,Makefile}.in files. I've
Tim Potter [Fri, 22 Nov 2002 06:54:12 +0000 (06:54 +0000)]
Here's a bit of a cleanup of the {configure,Makefile}.in files.  I've
now combined all the ad-hoc AC_SUBST variables into three generalised
ones:

  EXTRA_BIN_PROGS  Additional programs to install in ${prefix}/sbin
  EXTRA_SBIN_PROGS  Additional programs to install in ${prefix}/bin
  EXTRA_ALL_TARGETS     Additional targets to build by default
  SHLIB_PROGS           Shared library objects (pam, winbind) to build

We also build some extra stuff by default: the python extensions (if
--with-python specified), smbmount related binaries (if
--with-smbmount specified), and the samba torture suite.

The idea behind this is to have everything that is configured built by
default to detect breakage as soon as possible when people make low
level changes.
(This used to be commit d6dfe3ea69d4672339559389c6fb16e78a9152b0)

21 years agoAdded some extra code to test absence/presence of LM and NT passwords.
Tim Potter [Fri, 22 Nov 2002 06:51:14 +0000 (06:51 +0000)]
Added some extra code to test absence/presence of LM and NT passwords.
(This used to be commit 6f1d48555f53ea3b32a7b8a6cf0fc2e148c311b7)

21 years agoFixed some compiler warnings.
Tim Potter [Fri, 22 Nov 2002 06:18:03 +0000 (06:18 +0000)]
Fixed some compiler warnings.
(This used to be commit 9e871cc256a70bc64e59630bd31c890cc231368e)

21 years agoFixed some globals that escaped the recent globalcide.
Tim Potter [Fri, 22 Nov 2002 06:15:43 +0000 (06:15 +0000)]
Fixed some globals that escaped the recent globalcide.
(This used to be commit 4580e16908fe06a2c2b6738683b7cb840467e61c)

21 years agoAdd support for 'restrict anonymous=2' and make the doco give a slight hint
Andrew Bartlett [Fri, 22 Nov 2002 02:40:21 +0000 (02:40 +0000)]
Add support for 'restrict anonymous=2' and make the doco give a slight hint
as to what it now does in 3.0.  Needs more work, but better than documenting
the old functionality :-).

As the security benifits of this are nullified by a setting of 'guest ok' on
any share, we might want to put some documentation there too.

Andrew Bartlett
(This used to be commit ab812ada56b740ac986de8e1f4ca36641ec61c01)

21 years agoAdd support for new 'F' format, which is a string in the default
Martin Pool [Fri, 22 Nov 2002 01:12:23 +0000 (01:12 +0000)]
Add support for new 'F' format, which is a string in the default
codepage.
(This used to be commit ff1244c457d0525343bcc7e89a899d8c7d14b8b6)

21 years agoIf you don't specify --with-python, we assume "python" anyhow, because
Martin Pool [Thu, 21 Nov 2002 01:33:42 +0000 (01:33 +0000)]
If you don't specify --with-python, we assume "python" anyhow, because
the extensions are not built until you specifically "make python_ext".
(This used to be commit 47c5c2209e3999b8f58204c978b30a9dd646497a)

21 years agoget_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This should fix...
Jim McDonough [Thu, 21 Nov 2002 00:58:50 +0000 (00:58 +0000)]
get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD.  This should fix the build.
(This used to be commit 929874d2744509bba743d99b9c707e7626845fa0)

21 years agomerge get_friendly_nt_err_msg() from app_head
Gerald Carter [Thu, 21 Nov 2002 00:10:28 +0000 (00:10 +0000)]
merge get_friendly_nt_err_msg() from app_head
(This used to be commit 3ea73f158ebfca0561d7928e5d6c0939c0734585)

21 years agofixed a number of places where we can try to free a wild pointer or
Andrew Tridgell [Wed, 20 Nov 2002 11:30:19 +0000 (11:30 +0000)]
fixed a number of places where we can try to free a wild pointer or
look for the record count after an invalid search. This fixes a segv
in ldapsam
(This used to be commit d076823c73731a4c83f49a21f13360a38d54406e)

21 years agoIgnore automatically generated Makefile.
Tim Potter [Wed, 20 Nov 2002 03:01:55 +0000 (03:01 +0000)]
Ignore automatically generated Makefile.
(This used to be commit 152c530089191d1867ad018a54bba02a1a85c31e)

21 years agoSpelling fix.
Tim Potter [Wed, 20 Nov 2002 03:00:32 +0000 (03:00 +0000)]
Spelling fix.
(This used to be commit 43cd6e5a702bb1004b36a5845e0765851395ebf2)

21 years agomore %U fixes for head
Andrew Tridgell [Wed, 20 Nov 2002 00:39:57 +0000 (00:39 +0000)]
more %U fixes for head
(This used to be commit ea3787d819df14f8b451780a55d2bf76dc4030ef)

21 years agoa better for for using %U in smb.conf
Andrew Tridgell [Tue, 19 Nov 2002 23:44:24 +0000 (23:44 +0000)]
a better for for using %U in smb.conf
this follows the method used for remote_machine and also fixes the
problem of anonymous connections clobbering the string
(This used to be commit 9ead4fc3c3f8b83f03c762a4dab77a64aabccbf9)

21 years agoFixed two very, very minor typos (that sort of just annoyed me).
Christopher R. Hertel [Tue, 19 Nov 2002 22:05:00 +0000 (22:05 +0000)]
Fixed two very, very minor typos (that sort of just annoyed me).
(This used to be commit b24e0e9e6d77604ca23fe55734457d8a3d74d585)

21 years agoVery curious. It turns out attribute matching on truncate only matters
Jeremy Allison [Tue, 19 Nov 2002 01:45:55 +0000 (01:45 +0000)]
Very curious. It turns out attribute matching on truncate only matters
when opening truncate with current SYSTEM|HIDDEN -> NONE. It's fine to
truncate on open with current NONE -> SYSTEM | HIDDEN.
Jeremy.
(This used to be commit 801b87e0f7c92553dc52b44d669a1795e2b9429f)

21 years agoMerge from appliance:
Tim Potter [Tue, 19 Nov 2002 01:14:00 +0000 (01:14 +0000)]
Merge from appliance:

>Fix memory leak in cli_ds_getprimarydominfo()
(This used to be commit e643003dd4666d532604d86050d77f8b4212877e)

21 years agoFix typo in docstring.
Tim Potter [Tue, 19 Nov 2002 01:02:43 +0000 (01:02 +0000)]
Fix typo in docstring.
(This used to be commit 9f9347bc03448f8b93d536f9cd2df8fb496a4c22)

21 years agoAdded HIDDEN/NORMAL attribute test.
Jeremy Allison [Mon, 18 Nov 2002 23:12:45 +0000 (23:12 +0000)]
Added HIDDEN/NORMAL attribute test.
Jeremy.
(This used to be commit 657aa857a5615d953a3f68dd0ded6d4a95e5545e)

21 years agoBug fix from appliance - we must initialise the winbindd server state
Tim Potter [Mon, 18 Nov 2002 22:46:45 +0000 (22:46 +0000)]
Bug fix from appliance - we must initialise the winbindd server state
before reading smb.conf parameters, not after.
(This used to be commit 2beebe252f8fc76366d38024b0578f83d8542d1d)

21 years agoDon't pass a function to ADS_ERR_OK().
Jim McDonough [Mon, 18 Nov 2002 20:46:20 +0000 (20:46 +0000)]
Don't pass a function to ADS_ERR_OK().
(This used to be commit a148e4c290820a48c8b51e0e0459b2171b32c258)

21 years agoRevert ADS_ERR_OK change. Some compilers didn't like it.
Jim McDonough [Mon, 18 Nov 2002 20:40:44 +0000 (20:40 +0000)]
Revert ADS_ERR_OK change.  Some compilers didn't like it.

The problem is that ADS_ERR_OK() run on a function that returns an ADS_STATUS
causes the function to be run mulitple times...so you have to return a status,
then check it with the macro.
(This used to be commit c03d6198f28ab37ba0c3224bd50779357270486d)

21 years agoBack out some goofs that accidentally checked in with printer publishing.
Jim McDonough [Mon, 18 Nov 2002 19:56:55 +0000 (19:56 +0000)]
Back out some goofs that accidentally checked in with printer publishing.
(This used to be commit 6b51934616d8dd4280ce3013378f7ddd5569f267)

21 years agoNext step of printer publishing.
Jim McDonough [Mon, 18 Nov 2002 19:50:36 +0000 (19:50 +0000)]
Next step of printer publishing.
net ads printer publish <printername> [servername]
Will retreive the DsSpooler and DsDriver info by rpc for a remote server
then publish it.

Next comes doing it within smbd
(This used to be commit 64951938cc5666a757683cbe9bee3a2c20a05323)

21 years agobad date string in specfile
Gerald Carter [Mon, 18 Nov 2002 16:00:12 +0000 (16:00 +0000)]
bad date string in specfile
(This used to be commit c702f95e258c826b72efeb04342aaf821f251bc2)

21 years agosync packaging changes with SAMBA_3_0
Gerald Carter [Mon, 18 Nov 2002 15:59:04 +0000 (15:59 +0000)]
sync packaging changes with SAMBA_3_0
(This used to be commit 45adf8c0fffe52731cd2da0d461b7292d0f6c817)

21 years agouse ${RPM} for rpm v4.1
Gerald Carter [Mon, 18 Nov 2002 15:47:48 +0000 (15:47 +0000)]
use ${RPM} for rpm v4.1
(This used to be commit 95b26474a237f4073828b2001d21b6111ace3098)

21 years agoformatting fix
Gerald Carter [Mon, 18 Nov 2002 15:45:06 +0000 (15:45 +0000)]
formatting fix
(This used to be commit 6ce20a61a85f129d42c06844d51f4b2b35b41869)

21 years agothe change in the way %U is handled to use current_user has broken
Andrew Tridgell [Mon, 18 Nov 2002 03:11:59 +0000 (03:11 +0000)]
the change in the way %U is handled to use current_user has broken
some basic usages like 'include = smb.conf.%U'

This changes fixes things again, by checking for reload after we setup
current_user in tconx.
(This used to be commit d664e6b4d20d545b31910666d9cea7384fd40a73)

21 years agoRenamed uuid_to_string() to guid_to_string() to avoid conflict with OSF DEC
Tim Potter [Sun, 17 Nov 2002 01:14:30 +0000 (01:14 +0000)]
Renamed uuid_to_string() to guid_to_string() to avoid conflict with OSF DEC
headers.
(This used to be commit d813997c5a66f786b191459de0dd030f4a1c539e)

21 years agoAdded for the people who want to use Windows XP with plaintext
Tim Potter [Sat, 16 Nov 2002 23:59:57 +0000 (23:59 +0000)]
Added for the people who want to use Windows XP with plaintext
passwords.  From dcb.
(This used to be commit 1ebc6d04e198267377e0293d9cf369010a3ea92e)

21 years agoUpdate docs status document
Jelmer Vernooij [Sat, 16 Nov 2002 02:23:34 +0000 (02:23 +0000)]
Update docs status document
(This used to be commit ffe1626d879d95f8bef42e9bd331a17d524e620b)

21 years agoUpdate for 3.0
Jelmer Vernooij [Sat, 16 Nov 2002 02:17:23 +0000 (02:17 +0000)]
Update for 3.0
(This used to be commit 6430bef92c416692e7b2a9c550d8cf17c26aaa81)

21 years agoUpdate for 3.0
Jelmer Vernooij [Sat, 16 Nov 2002 01:55:01 +0000 (01:55 +0000)]
Update for 3.0
(This used to be commit ca3bfea8e79dc7bf04840b58c2fd79b1e1dc2c9f)

21 years ago/bin/sh on solaris swallows the failure code, so exec this directly.
Andrew Bartlett [Fri, 15 Nov 2002 23:48:39 +0000 (23:48 +0000)]
/bin/sh on solaris swallows the failure code, so exec this directly.

Andrew Bartlett
(This used to be commit 35b73aa0a139721d8560e81ba1caf26ebdf7d0b6)

21 years agoOne more small fix in tree.c
Richard Sharpe [Fri, 15 Nov 2002 22:55:15 +0000 (22:55 +0000)]
One more small fix in tree.c
(This used to be commit 0674d5a2b0f7ee621940c93b3b58960efd91a763)

21 years agoFix some problems with tree.c reported by users.
Richard Sharpe [Fri, 15 Nov 2002 22:51:03 +0000 (22:51 +0000)]
Fix some problems with tree.c reported by users.
(This used to be commit b0772a1a0531896d5b343863434622d4d0ff437f)

21 years agoRemove the assumption that all Solaris has -lsendfile.
Andrew Bartlett [Fri, 15 Nov 2002 21:56:14 +0000 (21:56 +0000)]
Remove the assumption that all Solaris has -lsendfile.

Andrew Bartlett
(This used to be commit efa639c5cef51f2ca903c08d2ad19db70ab7206c)

21 years agoAdd samdump and vampire to 'net rpc help'
Andrew Bartlett [Fri, 15 Nov 2002 21:28:33 +0000 (21:28 +0000)]
Add samdump and vampire to 'net rpc help'

Andrew Bartlett
(This used to be commit cc7566ca508f8705a95cdd546553a018731d5f5f)

21 years agoAdd const to PACKS()
Andrew Bartlett [Fri, 15 Nov 2002 21:27:55 +0000 (21:27 +0000)]
Add const to PACKS()
(This used to be commit 0e87408eb0e2786589e23cf4435a0d3223cf55cc)

21 years agoInclude the hostname we are trying to match with $@, to allow easier debugging.
Andrew Bartlett [Fri, 15 Nov 2002 21:25:40 +0000 (21:25 +0000)]
Include the hostname we are trying to match with $@, to allow easier debugging.
(This used to be commit f5d8afc626b8f7792aa7dd7fa7082f55725b539c)

21 years agoSmall auth updates:
Andrew Bartlett [Fri, 15 Nov 2002 21:23:55 +0000 (21:23 +0000)]
Small auth updates:

 - add static remove unnneded prototype
 - move become_root() to just around pdb calls, so as to make it easier to
remove when we kill off this silly idea
 - Change auth_sam to do 'account before password' rather than 'password before
account'.  This means that we match Win2k in giving 'account disabled' instead
of 'wrong password' if the wrong password to a disabled account is used.

Andrew Bartlett
(This used to be commit e6d2debaf6064c3229f41c06545a1ccb83695a77)

21 years agopatch from aedil@alchar.org to correctly detect solaris workshop CC's ability
Andrew Bartlett [Fri, 15 Nov 2002 21:15:51 +0000 (21:15 +0000)]
patch from aedil@alchar.org to correctly detect solaris workshop CC's ability
to build shared libs (but not with .po suffix).

Andrew Bartlett
(This used to be commit 2fd47d0c25bdf1d5351f79164c6cb35b83a9cc5f)

21 years agoFix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c group
Jeremy Allison [Fri, 15 Nov 2002 18:55:30 +0000 (18:55 +0000)]
Fix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c group
release.
Jeremy.
(This used to be commit 507ff510e7e7d63e02be5b11d974fc05839e6eaf)

21 years agofix segfault
Gerald Carter [Fri, 15 Nov 2002 17:56:46 +0000 (17:56 +0000)]
fix segfault
(This used to be commit 32ca3afa5486b1b04118e9f144bfdf4b3702d118)

21 years agoenable enumeration of domain local groups using LDAP (and in a native mode domain)
Gerald Carter [Fri, 15 Nov 2002 17:56:21 +0000 (17:56 +0000)]
enable enumeration of domain local groups using LDAP (and in a native mode domain)
(This used to be commit 3ac98b59632fd771b8819f88a479ef4c0daade68)

21 years agoUpdate to use smb_register_passdb()
Jelmer Vernooij [Fri, 15 Nov 2002 17:49:47 +0000 (17:49 +0000)]
Update to use smb_register_passdb()
(This used to be commit b10541b71ba288783976e8c124b6667b7df3b12d)

21 years agoRename pdb_mysql and pdb_xml to 'mysql' and 'xml'
Jelmer Vernooij [Fri, 15 Nov 2002 17:03:58 +0000 (17:03 +0000)]
Rename pdb_mysql and pdb_xml to 'mysql' and 'xml'
(This used to be commit 7b860414b11ec3b2ecb34c515536c598322f06ee)

21 years agoUse smb_register_passdb() - plus some small fixes
Jelmer Vernooij [Fri, 15 Nov 2002 17:01:24 +0000 (17:01 +0000)]
Use smb_register_passdb() - plus some small fixes
(This used to be commit 2addbaff358993923a58ad3845c63168678c2c21)