Simo Sorce [Mon, 19 Aug 2002 16:54:06 +0000 (16:54 +0000)]
make IRIX happy
(This used to be commit
bac73fa972c24503f12968810059745c81fa57a9)
Jeremy Allison [Mon, 19 Aug 2002 16:10:27 +0000 (16:10 +0000)]
IFS kit test - don't allow TEMP attribute on directory open.
Jeremy.
(This used to be commit
81eacd926bd1f7054522351e1bd24a2192dcbbc1)
Andrew Tridgell [Mon, 19 Aug 2002 15:59:14 +0000 (15:59 +0000)]
we now parse the cldap reply and print its contents. There are a
couple of unknown fields we still need to work out.
(This used to be commit
67b4dbd5c9f2665d5e6157b8cd522ebff4b8a4ea)
Jelmer Vernooij [Mon, 19 Aug 2002 15:33:54 +0000 (15:33 +0000)]
remove 'admin log' parameter (discussed with Jeremy)
remove 'alternate permissions' parameter (deprecated and not used since 2.0) (discussed with tridge)
(This used to be commit
6e34651591d1de3293b239195078778ba1d0e565)
Andrew Tridgell [Mon, 19 Aug 2002 15:30:26 +0000 (15:30 +0000)]
we now receive and parse the main cldap netlogon reply.
we still need to parse the core of the structure
(This used to be commit
6780ae25bf7ca291f612682dec7ee7ff44c24bef)
Jelmer Vernooij [Mon, 19 Aug 2002 15:29:40 +0000 (15:29 +0000)]
Adding documentation for options:
add user to group script
delete group script
ads server
delete user from group script
disable netbios
block size
hide unwriteable
mangling method
(This used to be commit
6cb00e444f3acd7b3339c46813830fbdc3d7d027)
Jelmer Vernooij [Mon, 19 Aug 2002 14:55:06 +0000 (14:55 +0000)]
Add script to find undocumented smb.conf options
(This used to be commit
77152b4033f13abcdb86c7835f3112fa422a420d)
Andrew Tridgell [Mon, 19 Aug 2002 03:17:03 +0000 (03:17 +0000)]
added a 'net ads lookup' command that does a CLDAP NetLogon query to a
win2000 server. It does seem to work, and win200 sends us a valid
reply, but we don't parse it yet. Maybe tomorrow :)
(This used to be commit
6352508c54cee333ed7c0e3ebc372be7cd60ed62)
Gerald Carter [Mon, 19 Aug 2002 02:18:48 +0000 (02:18 +0000)]
added wrapper for delete_printer_data() that write the printer out to disk.
(This used to be commit
113d960d77fc9e3671a448d093237ced25c2e18c)
Jelmer Vernooij [Mon, 19 Aug 2002 02:03:02 +0000 (02:03 +0000)]
Update manpage to match to Simo's latest pdbedit changes
(This used to be commit
ff8a80b873e38db7755f40b409fbc2d73693f40f)
Gerald Carter [Mon, 19 Aug 2002 01:56:15 +0000 (01:56 +0000)]
change notify fix left out of merge by APP_HEAD by accident
(This used to be commit
a413ff8b494e63b42fab213f12b44df6a5f0c34c)
Jelmer Vernooij [Mon, 19 Aug 2002 01:11:00 +0000 (01:11 +0000)]
Add vfstest manpage + fix typo in configure
(This used to be commit
477e8bb1a9b1895a4987ef2377b48ecc31999ab5)
Simo Sorce [Mon, 19 Aug 2002 01:02:41 +0000 (01:02 +0000)]
should make all platforms happy with popt
(This used to be commit
778985527ccf0f29f74b53d65c909de0d08a96f6)
Jelmer Vernooij [Mon, 19 Aug 2002 00:19:44 +0000 (00:19 +0000)]
Add 'conf' command to load different smb.conf files
(This used to be commit
9b4deb1e0f36968bf9b83120b12e6692b20df9d4)
Simo Sorce [Sun, 18 Aug 2002 20:28:16 +0000 (20:28 +0000)]
O_NOFOLLOW does not exist on solaris 8 ??
(This used to be commit
4280300d80d831b78ca50a0a4325b9e239a8bb63)
Andrew Tridgell [Sun, 18 Aug 2002 20:13:09 +0000 (20:13 +0000)]
round lock timeouts in lockingX upwards to multiples of 1 second, so a
half second timout rounds to 1 not 0
(This used to be commit
282a64b085162a58560175d14e7ceaef3d6cc9cc)
Jelmer Vernooij [Sun, 18 Aug 2002 20:12:43 +0000 (20:12 +0000)]
Add entry about block.so
(This used to be commit
6973344fb5207341e98576b1ddbe58a745225e10)
Andrew Tridgell [Sun, 18 Aug 2002 20:09:02 +0000 (20:09 +0000)]
added exact timing semantics on blocking locks
(This used to be commit
aed32eb412cab7f6d0959f9faaaebdb320b2b6a8)
Andrew Tridgell [Sun, 18 Aug 2002 20:06:41 +0000 (20:06 +0000)]
nicer locking timeout test
(This used to be commit
2307869798c99f75d2624bb3c144e780e358a3c9)
Simo Sorce [Sun, 18 Aug 2002 19:22:10 +0000 (19:22 +0000)]
improvements and bugfix
open calls now understands flags and mode
bug on read
(This used to be commit
751d057713a3fa8a5a141eaed4e8401e7802cfc9)
Simo Sorce [Sun, 18 Aug 2002 18:04:00 +0000 (18:04 +0000)]
A new utility to test VFS system and modules
Just now it is acommandline tool like smbclient and rpcclient that is able to
perform operations on the file system passing through the vfs layer
It is not complete yet, some functions have simply faked up data, but module
loading works yet and basic operations too.
Thanks to Eric Lorimer for helping out with the initial setup.
Simo.
(This used to be commit
42ae5eb82657d4905bdaf247286f95599380afbb)
Gerald Carter [Sun, 18 Aug 2002 16:52:51 +0000 (16:52 +0000)]
* Fix DeletePrinterDataEx() to work with arbitrary registry keys
* Fix delete_all_printer_data() to accept a key name for partial tree
deletions
* Fix EnumPrinterKey() to work with subkeys
* Fix DeletePrinterKey() to work with ful or partial registry
trees
* Fix get_printer_subkeys() to return a list of unique keynames
( some were getting added twice due to subkeys names )
* fix a couple of typos for good measure
(This used to be commit
b6ceb8c2e50b7fcdc614a3b6782db05b60689a85)
Andrew Tridgell [Sun, 18 Aug 2002 15:46:41 +0000 (15:46 +0000)]
make the LOCK1 test randomise the time for the blocking lock test
(This used to be commit
28d325227c9b7ab48a47df006204319b21f7e7f7)
Andrew Tridgell [Sun, 18 Aug 2002 15:46:03 +0000 (15:46 +0000)]
be a bit more paranoid about not getting duplicate domain names (can
happen when the LDAP call to get the flatname for the primary domain
fails)
(This used to be commit
8d40f34e2f5188f15f414e807d023bfea7bd8c8e)
Gerald Carter [Sun, 18 Aug 2002 12:33:41 +0000 (12:33 +0000)]
fix GetPrinterDataEx() to work with registry subkeys using a depth > 1
(This used to be commit
8799d4f7ccf3b3767c155d29f15cecd142d0db99)
Gerald Carter [Sun, 18 Aug 2002 11:11:48 +0000 (11:11 +0000)]
fix to allow EnumPrinterKey() to enumerate multiple levels of subkeys.
Works on the top level. Needs more testing for levels > 1.
(This used to be commit
32a7083843f2bf9a3f32027189dbb0ff92927cd4)
Gerald Carter [Sun, 18 Aug 2002 02:10:07 +0000 (02:10 +0000)]
* small formatting fixes
* Fix EnumPrinterKey() to enumerate all printer keys
( this will break if we have more than one level deep of printer keys )
(This used to be commit
e72184ce13a5645dc1e1a137468207270ed20ed6)
Gerald Carter [Sun, 18 Aug 2002 01:02:32 +0000 (01:02 +0000)]
fixed up a few comments
removed now unused getprinterdata)printer() function
(This used to be commit
2d5e4cdc3a4128c6747350d8f66b783218045ce2)
Gerald Carter [Sun, 18 Aug 2002 00:59:47 +0000 (00:59 +0000)]
* fix Get/SetPrinterDataEx() to work with printer key other
than SPOOL_PRINTERDATA_KEY
* created an internal set/get_printer_dataex() call for reuse in
Set/GetPrinterData()
(This used to be commit
4eb8ffba032971cf83a0fcec7ca3730b4ded0bf0)
Andrew Tridgell [Sat, 17 Aug 2002 23:57:48 +0000 (23:57 +0000)]
get the error code right in case of a blocking lock timeout.
(This used to be commit
01d35694ae0497ee11a7677eecc597336e6b59ca)
Andrew Tridgell [Sat, 17 Aug 2002 23:30:18 +0000 (23:30 +0000)]
amazing! we've had a reversed comparison in our blocking lock code
since 1998 and nobody noticed. It means that sometimes smbd would sit
there forever, and smbd would never get the timing part of blocking
locks right.
(This used to be commit
5d4df58b6d4de548d8aa0a49ec307dce7cd1515a)
Samba Release Account [Sat, 17 Aug 2002 21:11:13 +0000 (21:11 +0000)]
preparing for release of 3.0-alpha19
(This used to be commit
227472286f479bddfac7ea958b779fc4459a9e1e)
Samba Release Account [Sat, 17 Aug 2002 20:59:17 +0000 (20:59 +0000)]
preparing for release of 19
(This used to be commit
be5a649ed4c06aa1ffb709f1d3ff8ed26919bf1c)
Jelmer Vernooij [Sat, 17 Aug 2002 20:54:11 +0000 (20:54 +0000)]
Update whatsnew for 3.0alpha19
(This used to be commit
9617b8f0081adb68230870db2311a7b83b84a13e)
Jelmer Vernooij [Sat, 17 Aug 2002 16:27:27 +0000 (16:27 +0000)]
Better coding style
(This used to be commit
09cb706dd1347ff29893ef33214332990be86b43)
Jelmer Vernooij [Sat, 17 Aug 2002 16:25:39 +0000 (16:25 +0000)]
Better coding style
Move out last Makefile.pdb dependencies
(This used to be commit
2dc8b48632b0f14834db79f851a06469d2c0c00b)
Jelmer Vernooij [Sat, 17 Aug 2002 16:15:20 +0000 (16:15 +0000)]
Update indent arguments, they're now correct.
(This used to be commit
7f2d506bab0b649f707a25dec856639b18eee625)
Jelmer Vernooij [Sat, 17 Aug 2002 13:52:02 +0000 (13:52 +0000)]
paramater -> parameter
(This used to be commit
0db310d82c9d8f403c41e158662be1260c609542)
Gerald Carter [Sat, 17 Aug 2002 13:17:41 +0000 (13:17 +0000)]
* the printing code should now be back to the working state it was
before the swap from NT_PRINTER_PARAM to REGISTRY_VALUE.
* XxxPrinterDataEx() functions have not been expanded to support
keys other than SPOOL_PRINTERDATA_KEY yet
* fixed apparent long standing bug regarding the dependentfiles
list in the DRIVER_INFO struct
(This used to be commit
d59b0eb1236cf5bb9371030a94eb60d4131c15fb)
Andrew Bartlett [Sat, 17 Aug 2002 07:31:54 +0000 (07:31 +0000)]
Change which session key we negotiate. This uses the NT-based session key that
we previously expected, rather than the LM based key.
A Win2k SPNEGO enabled join goes a *lot* further with this option on.
Andrew Bartlett
(This used to be commit
b224938e4e843288630cdc7c3c3931b241bd0e1a)
Andrew Bartlett [Sat, 17 Aug 2002 07:21:01 +0000 (07:21 +0000)]
Quick hack to get around the inadequacy of pdb_smbpasswd. This should make the
build farm happy again, and allow the 'guest account' to be added to smbpasswd.
Andrew Bartlett
(This used to be commit
5e5cd2874527dd9a213c4bfcf98a425c39f3f2e2)
Andrew Bartlett [Sat, 17 Aug 2002 07:09:22 +0000 (07:09 +0000)]
Move tridge's getgrouplist() replacement function from replace.c to a new
'system_smbd.c' file, where it can link with become_root() and unbecome_root(),
and therefore avoiding some nasty 'it workes on linux' bugs.
(The replacement function is implemented in terms of initgroups(), which is
naturally only avaliable to root).
Andrew Bartlett
(This used to be commit
a91018dd026be3db473bb1cf1f4981295f9758e4)
Andrew Bartlett [Sat, 17 Aug 2002 06:36:18 +0000 (06:36 +0000)]
Andrew Bartlett [Sat, 17 Aug 2002 06:34:41 +0000 (06:34 +0000)]
Andrew Bartlett [Sat, 17 Aug 2002 05:26:58 +0000 (05:26 +0000)]
Becouse of changes to the meaning of this feild over time, this doesn't
actually work. Also, the idea of 'loopback winbind' isn't that bad an idea
anyway (potential PDC/BDC applications).
Given all that, remove it...
Andrew Bartlett
(This used to be commit
fc0d6e53fce1d05b16ec58c0bdc38aa8da4422c0)
Andrew Bartlett [Sat, 17 Aug 2002 04:56:38 +0000 (04:56 +0000)]
The idea of this function is not to touch the argument, so make it const too...
(This used to be commit
8a63fe45058b15c15d79e15387e908564cfe5c2d)
Andrew Bartlett [Sat, 17 Aug 2002 04:51:27 +0000 (04:51 +0000)]
Rework the 'guest account get's RID 501' code again...
This moves it right into the passdb subsystem, where we can do this in
just one (or 2) places. Due to the fact that this code can be in a tight loop,
I've had to make 'guest account' a 'const' paramater, where % macros cannot be
used. In any case, if the 'guest account' varies, we are in for some nasty
cases in the other code, so it's useful anyway.
Andrew Bartlett
(This used to be commit
8718e5e7b2651edad15f52a4262dc745df7ad70f)
Gerald Carter [Sat, 17 Aug 2002 00:38:20 +0000 (00:38 +0000)]
fix seg fault in _spoolss_enumprinterkey after changes...
add SPOOL_PNPDATA_KEY define
(This used to be commit
cdaa3f55e1fcc38b1d7a63d502a9fea3b92bf193)
Tim Potter [Fri, 16 Aug 2002 17:35:38 +0000 (17:35 +0000)]
Return access granted in create_user2.
(This used to be commit
8ebc295f4a487993474390e0686d2aa9313be8d1)
Gerald Carter [Fri, 16 Aug 2002 16:46:50 +0000 (16:46 +0000)]
fix small bug in enumprinterdataex due to my changes (still more lurking
though).
(This used to be commit
2feb89601fc45dea13fe45a55a9c058726a5de84)
Gerald Carter [Fri, 16 Aug 2002 15:36:37 +0000 (15:36 +0000)]
Fairly large change to printing code.
* removed support for PHANTOM_DEVMODE printer data
* s/NT_PRINTER_PARAM/REGISTRY_VALUE/g - This was a good bit
of work. Everything seems stable, but is not complete.
* support for printer data keys other than PrinterDriverData
in the store and fetch routines. Still needs to be plugged
into the XxxPrinterDataEx() calls.
Tested against NT4.0 & 2k. Like I said, it's not done, but doesn't
crash so it shouldn't upset anyone (unless you're trying to build
a Samba printer server off of HEAD). More work to come. Should
settle by Monday.
jerry
(This used to be commit
7ba7c04c0e961618c82c2112b9627af114c6cc42)
Andrew Bartlett [Fri, 16 Aug 2002 08:47:10 +0000 (08:47 +0000)]
Return the error if get_group_domain_entries() fails.
(This used to be commit
bc9e9e3e2e0d861f34de26a9ef8b627a86c9954d)
Andrew Bartlett [Fri, 16 Aug 2002 08:46:03 +0000 (08:46 +0000)]
Make the 'guest account' always have a RID of DOMAIN_USER_RID_GUEST.
Andrew Bartlett
(This used to be commit
4725d7d04936335cbd85bd6ac5096c50fed93671)
Jim McDonough [Fri, 16 Aug 2002 08:09:55 +0000 (08:09 +0000)]
Re-add the last empty item to the NTLMSSP info list, but this time do it
with an empty string, not a NULL pointer...
Also, check for security=ads before giving a kerberos spnego response.
(This used to be commit
6eca417d1c29c7c18455f8290cad86fb1444e615)
Andrew Bartlett [Fri, 16 Aug 2002 07:56:08 +0000 (07:56 +0000)]
Add some const to the 'in' paramaters for these functions.
Andrew Bartlett
(This used to be commit
23f332178526877e9670515eb7c614b81fca21a9)
Andrew Bartlett [Fri, 16 Aug 2002 07:04:37 +0000 (07:04 +0000)]
Fix segfault in the new NTLMSSP code. jmcd: can you look at this - what
exactly were you trying to do here?
Andrew Bartlett
(This used to be commit
81b675b54d86d196fb2035dc5d22781160518beb)
Tim Potter [Fri, 16 Aug 2002 00:25:48 +0000 (00:25 +0000)]
Merge ... netbios namecache code from APPLIANCE_HEAD.
Tridge suggested a generic caching mechanism for Samba to avoid the
proliferation of little cache files hanging around limpet like in the
locks directory. Someone should probably implement this at some
stage.
(This used to be commit
dad31483b3bd1790356ef1e40ac62624a403bce8)
Tim Potter [Thu, 15 Aug 2002 22:03:22 +0000 (22:03 +0000)]
The unused variable was actually needed. The correct fix is to move
it inside an #ifdef HAVE_ADS to avoid the warning and breaking the
build. (-:
(This used to be commit
a8c4febdb760beb669048c2bf2bb0a0b1c5ed472)
Tim Potter [Thu, 15 Aug 2002 19:40:34 +0000 (19:40 +0000)]
Rename unknown_0 field in create_user2 reply in the actual struct.
(This used to be commit
482d873c26bf02e27ffcd92042b476eda765a5ff)
Tim Potter [Thu, 15 Aug 2002 19:37:34 +0000 (19:37 +0000)]
Rename unknown_0 field in create_user2 reply in the actual struct.
Remove 9th place leading zero from some constants.
(This used to be commit
876e7b2bf45aad40282fd0ccddadf01df23d8d41)
Tim Potter [Thu, 15 Aug 2002 19:34:57 +0000 (19:34 +0000)]
Removed unused variable.
(This used to be commit
23f1b839e6287089511cd51ceed298d6a6d65a89)
Gerald Carter [Thu, 15 Aug 2002 13:56:33 +0000 (13:56 +0000)]
large set of updates converting some of the textdocs to SGML/DocBook.
I think these were originally from Jelmer, but I've lost
the original message.
Also had some syntax errors in the manpages (does no one regenerate
after making changes to the SGML source?)
Still have some developer specific docs to add from Jelmer in the next
go around....
(This used to be commit
5f673b788314325699a64377d514dda435e6c478)
Simo Sorce [Thu, 15 Aug 2002 13:25:25 +0000 (13:25 +0000)]
*** empty log message ***
(This used to be commit
cb72eead70509eddaa051571f3eed3c46304b5f8)
Jim McDonough [Thu, 15 Aug 2002 12:18:25 +0000 (12:18 +0000)]
Fix NTLMSSP challenge command and auth response. We can now service joins
from win2k AND still use SPNEGO (provided you don't build with kerberos...I
still have to fix that, as we are not properly falling back).
(This used to be commit
1f9b3d46c7c99e84b2983220f79613b7420c5ced)
Tim Potter [Thu, 15 Aug 2002 02:26:37 +0000 (02:26 +0000)]
The unknown_0 field in a CREATE_USER2 reply is the access granted.
(This used to be commit
8bca3085836255536794444248e7ff3a2460c045)
Gerald Carter [Wed, 14 Aug 2002 10:21:53 +0000 (10:21 +0000)]
added comment about a new specversion seen from client.
Device mode size is still the same though.
jerry
(This used to be commit
fb822e97cb832361062fbb2aa239d949cc83efed)
Gerald Carter [Wed, 14 Aug 2002 10:20:51 +0000 (10:20 +0000)]
unresolved symbols fix for pam_smbpass from Steve L.
(This used to be commit
27618a5ca271aef4d5f2f9180729c7d09a46d587)
Jim McDonough [Mon, 12 Aug 2002 16:39:10 +0000 (16:39 +0000)]
Use byteorder.h macros
(This used to be commit
eb9004efc3580799063009a8298c35cbc420626f)
Jeremy Allison [Mon, 12 Aug 2002 16:20:54 +0000 (16:20 +0000)]
Bugfix for problem pointed out by Sean Trace <Sean.Trace@aveva.com>. We can't
check for POSIX errors in the blocking lock code as we may have never made
a POSIX call (could have denied lock before POSIX checked).
Jeremy.
(This used to be commit
8403253f277299f566f2931fdec53b6e4ece376e)
Jim McDonough [Mon, 12 Aug 2002 13:55:31 +0000 (13:55 +0000)]
Update secrets_fetch_domain_guid to generate and store it if it doesn't exist.
Only does it for PDCs.
(This used to be commit
3543f92c39a80c8b6eb7ca3188b87f0f15896f33)
Jim McDonough [Mon, 12 Aug 2002 13:54:42 +0000 (13:54 +0000)]
Allow ADS PDC to exist
(This used to be commit
e6ceb3482340e06d8a0a0963c6df6cf54090e5c3)
Jim McDonough [Mon, 12 Aug 2002 13:54:18 +0000 (13:54 +0000)]
Add lib/util_uuid.c to build.
(This used to be commit
ab0e863fcc4d8fc18291f04bedfd0dd52730d833)
Jim McDonough [Mon, 12 Aug 2002 13:48:19 +0000 (13:48 +0000)]
Code to generate uuids for ADS setups. Uses our random generator but
conforms to standard OSF/DCE uuid format.
(This used to be commit
3b50c3b8cd86ff9a12a6e22ca3b3e904671be547)
Jim McDonough [Mon, 12 Aug 2002 13:41:52 +0000 (13:41 +0000)]
Add lsaqueryinfo2, but keep under "lsaquery" command. It will autoselect
which lsaqueryinfo to do based in infoclass. Currently 12 is the only one
that causes a queryinfo2.
(This used to be commit
f4ec2d52a7b093da701d68906cce6de197f182be)
Jim McDonough [Mon, 12 Aug 2002 13:40:59 +0000 (13:40 +0000)]
Add lsa 0x2e (queryinfo2) client side
(This used to be commit
c3b05b21a0340d8ff02a79401399e3d43d9e759a)
Shirish Kalele [Mon, 12 Aug 2002 13:35:17 +0000 (13:35 +0000)]
Add RESOLVE_DFSPATH to mkdir operations in HEAD.
(This used to be commit
cbb6e2fbdb42964107cf033c787a32cedd46e5d8)
Jim McDonough [Mon, 12 Aug 2002 08:26:28 +0000 (08:26 +0000)]
Use samr connect4, then fall back to samr connect if it fails. This is
what 2k does.
(This used to be commit
99437db17aa7c2e3448f28f627e993e8ab762d31)
Jim McDonough [Mon, 12 Aug 2002 08:25:02 +0000 (08:25 +0000)]
Add client side support for samr connect4 (0x3e). Seems to have one
additional parm compared to samr connect, but I've only seen 0x00000002
in that field...
(This used to be commit
ed2370b91f7f6a36efdf6b65340a5b29a26e7e7a)
Tim Potter [Sun, 11 Aug 2002 19:52:47 +0000 (19:52 +0000)]
Updated smbcontrol manpage for new printnotify commands.
Jerry, what's the latest on rebuilding doco from source? I've no idea
whether this actually compiles or not.
(This used to be commit
6a4202a105d36f7d368e6a1d524314ea348be2a9)
Tim Potter [Sun, 11 Aug 2002 19:23:09 +0000 (19:23 +0000)]
Merge some usage info from APPLIANCE_HEAD.
(This used to be commit
aa93db5abed75b5c9a032a080c07473fafa53a43)
Tim Potter [Sun, 11 Aug 2002 18:19:03 +0000 (18:19 +0000)]
Merge of case fixes from APPLIANCE_HEAD.
(This used to be commit
f8072d964f527dcb9b520ec06c3522524d47644f)
Jelmer Vernooij [Sun, 11 Aug 2002 08:15:49 +0000 (08:15 +0000)]
Add indent argument to put function name and type on same line -
for satisfying the autoprototyper and abartlet
(This used to be commit
c03d8bc24dd45ac615481a82b7ad9ad7fb8b5ed1)
Jelmer Vernooij [Sun, 11 Aug 2002 08:06:14 +0000 (08:06 +0000)]
Update CodingSuggestions to include 'indent' arguments for the samba coding
style
(This used to be commit
5f2c2a114b9d3739381e4ad683413a7db0187999)
Andrew Bartlett [Sun, 11 Aug 2002 02:30:35 +0000 (02:30 +0000)]
Make 'remote_machine' private to lib/substitute.c, and fix all the user to use
the new accessor functions.
Andrew Bartlett
(This used to be commit
f393de2310e997d05674eb7f1268655373e03647)
Andrew Bartlett [Sat, 10 Aug 2002 23:20:04 +0000 (23:20 +0000)]
Fix the %m security bug again - and try to make it harder to reintroduce in
future.
This moves us from fstrcpy() and global variables to 'get' and 'set' functions.
In particular, the 'set' function sainity-checks the input, in the same way as
we always have.
Andrew Bartlett
(This used to be commit
e57a896f06b16fe7e336e1ae63a0c9e4cc75fd36)
Jelmer Vernooij [Sat, 10 Aug 2002 20:14:32 +0000 (20:14 +0000)]
Adding pdb_xml and pdb_mysql passdb modules.
Added some consts to pdb_test to follow pdb_methods struct more strictly
(This used to be commit
bb1c4501992650a5e26b4bc743aeae551852becc)
Gerald Carter [Thu, 8 Aug 2002 22:17:42 +0000 (22:17 +0000)]
one line merge from APP_HEAD
(This used to be commit
b6b64d06a630f741c7ffbec99b71d34496159fa7)
Gerald Carter [Thu, 8 Aug 2002 22:14:42 +0000 (22:14 +0000)]
delete printer driver fix from APP_HEAD
(This used to be commit
9c6b930068d1e762fad78c9e36792764c280b85c)
Gerald Carter [Thu, 8 Aug 2002 20:54:37 +0000 (20:54 +0000)]
printing change notification merge from APPLIANCE_HEAD
(This used to be commit
11ddfd9cfa550dcd3186c8aaf0cc038ce7f1791f)
Andrew Bartlett [Thu, 8 Aug 2002 06:44:03 +0000 (06:44 +0000)]
Samba dependency hell claim's another victim...
Back out last night's patch to to reduce -l dependencies until we can ensure
that *all* configurations/platforms work...
Andrew Bartlett
(This used to be commit
35eefe7a19b2b684d3ca05a665e9c13e9d17acc3)
Tim Potter [Thu, 8 Aug 2002 04:58:19 +0000 (04:58 +0000)]
Merge ... incomplete rffpcnex testing code from APPLIANCE_HEAD.
(This used to be commit
fe43c2ac2d2e1dd3b3a25c807d4dd379c5ac4960)
Jim McDonough [Wed, 7 Aug 2002 12:17:35 +0000 (12:17 +0000)]
Hmm, had too many objects added last time in the nmbd changes. Don't
need all of them. Hopefully this will fix a few builds.
(This used to be commit
521eed1277956b0ebc47c3312edf57d386e026e6)
Andrew Bartlett [Wed, 7 Aug 2002 09:51:59 +0000 (09:51 +0000)]
Patch from Steve Langasek <vorlon@netexpress.net> to split up our -l
dependencies. This benifits packagers (like debian) becouse then our client
code won't have references to 'server only' libraries.
(In particular, it removes the client dependency on CUPS, which was raised in
a debian bug report).
Andrew Bartlett
(This used to be commit
d5f2e33b34fe0e67153894b6bf582b7eaca40e7f)
Andrew Bartlett [Wed, 7 Aug 2002 07:46:01 +0000 (07:46 +0000)]
Add 'const' to the function prototypes to match the recent commit.
(This used to be commit
0118e459b603a991f23d48cfd7f5e68c4374f950)
Andrew Bartlett [Wed, 7 Aug 2002 07:28:24 +0000 (07:28 +0000)]
Add some more const :-)
This also makes it a easier to see which paramaters are 'in', and which are
'out'.
Andrew Bartlett
(This used to be commit
122cf648d7f364c68ecb7a576a42e94a954e9e56)
Andrew Bartlett [Wed, 7 Aug 2002 07:22:43 +0000 (07:22 +0000)]
Add const to a pile of const to *DOM_SID paramaters.
Andrew Bartlett
(This used to be commit
fd0ebf976eb6e5fc25bc75ff471c69c3f3761e32)
Jim McDonough [Tue, 6 Aug 2002 19:52:43 +0000 (19:52 +0000)]
Ooops...forgot to put this in with the new nmbd samlogon response code.
THis should fix the build.
(This used to be commit
ef984b99614c07ef5934849a9ad85190b636d421)
Jim McDonough [Tue, 6 Aug 2002 18:16:28 +0000 (18:16 +0000)]
Add AD version of samlogon replies for getdc. ATM it will only function
if you have an ADS DC.
(This used to be commit
059a352ebb7c7286d205bc86a92f5fd26ab1ff8e)
Jim McDonough [Tue, 6 Aug 2002 18:02:56 +0000 (18:02 +0000)]
Add SAMR 0x3e, which is samr_connect4. Seems to be the same as our
existing connect (which I've been told is really connect2), with one
extra dword. We've only seen 0x00000002 there...
(This used to be commit
266344634944dff30f56453f9d86c490e7ac7a55)
Andrew Bartlett [Tue, 6 Aug 2002 11:48:17 +0000 (11:48 +0000)]
Try to bind with LDAPv3 if possible.
Andrew Bartlett
(This used to be commit
0e420878f26bdd19b5defb78a5fe4c31662ec941)