kai/samba.git
21 years agoRemove unused variables
Jelmer Vernooij [Tue, 20 Aug 2002 17:58:09 +0000 (17:58 +0000)]
Remove unused variables
(This used to be commit 20f1765c32b2dd048e1572cd1b1e490459f7d5dc)

21 years agoDon't report missing "-valid"
Jelmer Vernooij [Tue, 20 Aug 2002 17:57:07 +0000 (17:57 +0000)]
Don't report missing "-valid"
(This used to be commit f9018f4560c205033d25e6294534be4b7a79f6c1)

21 years agofix generating protos for smbwrapper
Herb Lewis [Tue, 20 Aug 2002 17:38:54 +0000 (17:38 +0000)]
fix generating protos for smbwrapper
(This used to be commit 92408c822033c9d0e604d9696cf629d4665aa9ee)

21 years agoUpdate generated version of manpages
Jelmer Vernooij [Tue, 20 Aug 2002 17:13:57 +0000 (17:13 +0000)]
Update generated version of manpages
(This used to be commit 724f368bbac97b7d47d5986408d8937f3e7ee15c)

21 years agoNew (simpler) documentation system.
Jelmer Vernooij [Tue, 20 Aug 2002 16:27:37 +0000 (16:27 +0000)]
New (simpler) documentation system.
(This used to be commit d3b8ad67fc32c097d5aa783744192197cb3b3f26)

21 years agoStrip URL stuff, not only ending in .html
Jelmer Vernooij [Tue, 20 Aug 2002 16:11:58 +0000 (16:11 +0000)]
Strip URL stuff, not only ending in .html
(This used to be commit 8bb4843f20c58bcf423bade3342beea61f2b35f7)

21 years agoRemove (broken) index
Jelmer Vernooij [Tue, 20 Aug 2002 16:06:40 +0000 (16:06 +0000)]
Remove (broken) index
don't use underscores in chaptor names (invalid sgml syntax)
(This used to be commit 7864aeb9694a72090425f15e1512f56e32b20588)

21 years agocannot use casts in the DLIST_xxx macros
Herb Lewis [Tue, 20 Aug 2002 12:38:43 +0000 (12:38 +0000)]
cannot use casts in the DLIST_xxx macros
(This used to be commit c9ffc416aeee2610fdc896a9d41dac182039a5f9)

21 years agosegfault fixes merged from APP_HEAD
Gerald Carter [Tue, 20 Aug 2002 03:01:37 +0000 (03:01 +0000)]
segfault fixes merged from APP_HEAD
(This used to be commit cd9ee27d89a5cd489efac2029c22797ec9c383ca)

21 years agoBased orginally by work by Kai, this patch moves our NT_TOKEN generation into
Andrew Bartlett [Tue, 20 Aug 2002 01:54:28 +0000 (01:54 +0000)]
Based orginally by work by Kai, this patch moves our NT_TOKEN generation into
our authenticaion code - removing some of the duplication from the current
code.

This also gets us *much* closer to supporting a real SAM backend, becouse the
SAM can give us the right info then.

This also changes our service.c code, so that we do a VUID (rather than uid)
cache on the connection struct, and do full NT ACL/NT_TOKEN checks (or cached
equivilant) on every packet, for the same r or rw mode the whole share was open
for.

Andrew Bartlett
(This used to be commit d8122cee059fc7098bfa7e42e638a9958b3ac902)

21 years agofix irix compiler error
Herb Lewis [Tue, 20 Aug 2002 00:20:23 +0000 (00:20 +0000)]
fix irix compiler error
(This used to be commit 4df7983487545a432cfa8832eae1afbdf7866060)

21 years agoFix syntax errors
Jelmer Vernooij [Mon, 19 Aug 2002 23:32:12 +0000 (23:32 +0000)]
Fix syntax errors
(This used to be commit 2e6aa71c964a94c7b02fd61c14d9078c24ffb66d)

21 years agoadd support for the "value,OID" format described in MSDN.
Gerald Carter [Mon, 19 Aug 2002 21:17:22 +0000 (21:17 +0000)]
add support for the "value,OID" format described in MSDN.
I've not seen this on a real network, but we support it now :-)
(This used to be commit 1ed6f68f6f29e1a62b12764ec5e84de8351efbd3)

21 years agoa new icon for the upcoming wizard
Simo Sorce [Mon, 19 Aug 2002 19:50:54 +0000 (19:50 +0000)]
a new icon for the upcoming wizard
(This used to be commit 2d1c7797ffd413bf64e469356cd88bf550134f42)

21 years agoAdded comment about our implementation of the trans2
Tim Potter [Mon, 19 Aug 2002 19:12:26 +0000 (19:12 +0000)]
Added comment about our implementation of the trans2
SMB_FILE_INTERNAL_INFORMATION possibly causing the failure of one of the
IFSKIT tests.
(This used to be commit ca73d24307fcf60e4b7bfe574287b2a84c5d86c8)

21 years agofix typo auth/auth_server.c
Jelmer Vernooij [Mon, 19 Aug 2002 18:06:07 +0000 (18:06 +0000)]
fix typo auth/auth_server.c
remove unused 'max packet' and 'packet size' options
(This used to be commit 6a787a695db65688916464a9b0e2a9024b131eee)

21 years agoMore smb.conf manpage updates:
Jelmer Vernooij [Mon, 19 Aug 2002 18:05:06 +0000 (18:05 +0000)]
More smb.conf manpage updates:

add printer command -> addprinter command
delete printer command -> deleteprinter command
display charset
dos charset
hide unwriteable -> hide unwriteable files
hostname lookups
name cache timeout
ntlm auth
paranoid server security
realm
smb ports
unicode
unix charset
wtmp directory
wins partners
block size
vfspath
(This used to be commit 80a25fe365ac83b7331fa95b3287dd275a229fdc)

21 years agofixed memory corruption in cli_full_connection()
Andrew Tridgell [Mon, 19 Aug 2002 17:49:37 +0000 (17:49 +0000)]
fixed memory corruption in cli_full_connection()
(This used to be commit 7c2167182becbf72ba062230e911d55d337a4709)

21 years agothe SMBD_SELECT_TIMEOUT_WITH_PENDING_LOCKS macro isn't needed any more
Andrew Tridgell [Mon, 19 Aug 2002 17:26:00 +0000 (17:26 +0000)]
the SMBD_SELECT_TIMEOUT_WITH_PENDING_LOCKS macro isn't needed any more
(This used to be commit 341bb9fb78a2e750f05a902e020ba352e26ca030)

21 years agoprint out the GUID in the CLDAP reply
Andrew Tridgell [Mon, 19 Aug 2002 16:56:09 +0000 (16:56 +0000)]
print out the GUID in the CLDAP reply
(This used to be commit 8aae10bcdc05fca4e0281ac91a7679c60b791534)

21 years agomake rpcclient use print_guid()
Andrew Tridgell [Mon, 19 Aug 2002 16:55:47 +0000 (16:55 +0000)]
make rpcclient use print_guid()
(This used to be commit f2c48cadb22256564f2ddaa5169812c7c4383ec5)

21 years agoadded a generic print_guid utility, and get the byte order handing
Andrew Tridgell [Mon, 19 Aug 2002 16:55:29 +0000 (16:55 +0000)]
added a generic print_guid utility, and get the byte order handing
right
(This used to be commit ec2c17c56f06e122868b2a55bc7c292106ad3911)

21 years agomake IRIX happy
Simo Sorce [Mon, 19 Aug 2002 16:54:06 +0000 (16:54 +0000)]
make IRIX happy
(This used to be commit bac73fa972c24503f12968810059745c81fa57a9)

21 years agoIFS kit test - don't allow TEMP attribute on directory open.
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)

21 years agowe now parse the cldap reply and print its contents. There are a
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)

21 years agoremove 'admin log' parameter (discussed with Jeremy)
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)

21 years agowe now receive and parse the main cldap netlogon reply.
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)

21 years agoAdding documentation for options:
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)

21 years agoAdd script to find undocumented smb.conf options
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)

21 years agoadded a 'net ads lookup' command that does a CLDAP NetLogon query to a
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)

21 years agoadded wrapper for delete_printer_data() that write the printer out to disk.
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)

21 years agoUpdate manpage to match to Simo's latest pdbedit changes
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)

21 years agochange notify fix left out of merge by APP_HEAD by accident
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)

21 years agoAdd vfstest manpage + fix typo in configure
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)

21 years agoshould make all platforms happy with popt
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)

21 years agoAdd 'conf' command to load different smb.conf files
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)

21 years agoO_NOFOLLOW does not exist on solaris 8 ??
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)

21 years agoround lock timeouts in lockingX upwards to multiples of 1 second, so a
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)

21 years agoAdd entry about block.so
Jelmer Vernooij [Sun, 18 Aug 2002 20:12:43 +0000 (20:12 +0000)]
Add entry about block.so
(This used to be commit 6973344fb5207341e98576b1ddbe58a745225e10)

21 years agoadded exact timing semantics on blocking locks
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)

21 years agonicer locking timeout test
Andrew Tridgell [Sun, 18 Aug 2002 20:06:41 +0000 (20:06 +0000)]
nicer locking timeout test
(This used to be commit 2307869798c99f75d2624bb3c144e780e358a3c9)

21 years agoimprovements and bugfix
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)

21 years agoA new utility to test VFS system and modules
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)

21 years ago* Fix DeletePrinterDataEx() to work with arbitrary registry keys
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)

21 years agomake the LOCK1 test randomise the time for the blocking lock test
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)

21 years agobe a bit more paranoid about not getting duplicate domain names (can
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)

21 years agofix GetPrinterDataEx() to work with registry subkeys using a depth > 1
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)

21 years agofix to allow EnumPrinterKey() to enumerate multiple levels of subkeys.
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)

21 years ago* small formatting fixes
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)

21 years agofixed up a few comments
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)

21 years ago* fix Get/SetPrinterDataEx() to work with printer key other
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)

21 years agoget the error code right in case of a blocking lock timeout.
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)

21 years agoamazing! we've had a reversed comparison in our blocking lock code
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)

21 years agopreparing for release of 3.0-alpha19
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)

21 years agopreparing for release of 19
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)

21 years agoUpdate whatsnew for 3.0alpha19
Jelmer Vernooij [Sat, 17 Aug 2002 20:54:11 +0000 (20:54 +0000)]
Update whatsnew for 3.0alpha19
(This used to be commit 9617b8f0081adb68230870db2311a7b83b84a13e)

21 years agoBetter coding style
Jelmer Vernooij [Sat, 17 Aug 2002 16:27:27 +0000 (16:27 +0000)]
Better coding style
(This used to be commit 09cb706dd1347ff29893ef33214332990be86b43)

21 years agoBetter coding style
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)

21 years agoUpdate indent arguments, they're now correct.
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)

21 years agoparamater -> parameter
Jelmer Vernooij [Sat, 17 Aug 2002 13:52:02 +0000 (13:52 +0000)]
paramater -> parameter
(This used to be commit 0db310d82c9d8f403c41e158662be1260c609542)

21 years ago* the printing code should now be back to the working state it was
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)

21 years agoChange which session key we negotiate. This uses the NT-based session key that
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)

21 years agoQuick hack to get around the inadequacy of pdb_smbpasswd. This should make the
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)

21 years agoMove tridge's getgrouplist() replacement function from replace.c to a new
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)

21 years agoAdd const.
Andrew Bartlett [Sat, 17 Aug 2002 06:36:18 +0000 (06:36 +0000)]
Add const.
(This used to be commit fb28abd120310a591bdf5fa1afc5521443c3d34c)

21 years agoAdd 'const'.
Andrew Bartlett [Sat, 17 Aug 2002 06:34:41 +0000 (06:34 +0000)]
Add 'const'.
(This used to be commit 8955f3d63a9d9e5da76331996fba42dc105737da)

21 years agoBecouse of changes to the meaning of this feild over time, this doesn't
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)

21 years agoThe idea of this function is not to touch the argument, so make it const too...
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)

21 years agoRework the 'guest account get's RID 501' code again...
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)

21 years agofix seg fault in _spoolss_enumprinterkey after changes...
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)

21 years agoReturn access granted in create_user2.
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)

21 years agofix small bug in enumprinterdataex due to my changes (still more lurking
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)

21 years agoFairly large change to printing code.
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)

21 years agoReturn the error if get_group_domain_entries() fails.
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)

21 years agoMake the 'guest account' always have a RID of DOMAIN_USER_RID_GUEST.
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)

21 years agoRe-add the last empty item to the NTLMSSP info list, but this time do it
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)

21 years agoAdd some const to the 'in' paramaters for these functions.
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)

21 years agoFix segfault in the new NTLMSSP code. jmcd: can you look at this - what
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)

21 years agoMerge of netbios namecache code from APPLIANCE_HEAD.
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)

21 years agoThe unused variable was actually needed. The correct fix is to move
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)

21 years agoRename unknown_0 field in create_user2 reply in the actual struct.
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)

21 years agoRename unknown_0 field in create_user2 reply in the actual struct.
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)

21 years agoRemoved unused variable.
Tim Potter [Thu, 15 Aug 2002 19:34:57 +0000 (19:34 +0000)]
Removed unused variable.
(This used to be commit 23f1b839e6287089511cd51ceed298d6a6d65a89)

21 years agolarge set of updates converting some of the textdocs to SGML/DocBook.
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)

21 years ago*** empty log message ***
Simo Sorce [Thu, 15 Aug 2002 13:25:25 +0000 (13:25 +0000)]
*** empty log message ***
(This used to be commit cb72eead70509eddaa051571f3eed3c46304b5f8)

21 years agoFix NTLMSSP challenge command and auth response. We can now service joins
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)

21 years agoThe unknown_0 field in a CREATE_USER2 reply is the access granted.
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)

21 years agoadded comment about a new specversion seen from client.
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)

21 years agounresolved symbols fix for pam_smbpass from Steve L.
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)

21 years agoUse byteorder.h macros
Jim McDonough [Mon, 12 Aug 2002 16:39:10 +0000 (16:39 +0000)]
Use byteorder.h macros
(This used to be commit eb9004efc3580799063009a8298c35cbc420626f)

21 years agoBugfix for problem pointed out by Sean Trace <Sean.Trace@aveva.com>. We can't
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)

21 years agoUpdate secrets_fetch_domain_guid to generate and store it if it doesn't exist.
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)

21 years agoAllow ADS PDC to exist
Jim McDonough [Mon, 12 Aug 2002 13:54:42 +0000 (13:54 +0000)]
Allow ADS PDC to exist
(This used to be commit e6ceb3482340e06d8a0a0963c6df6cf54090e5c3)

21 years agoAdd lib/util_uuid.c to build.
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)

21 years agoCode to generate uuids for ADS setups. Uses our random generator but
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)

21 years agoAdd lsaqueryinfo2, but keep under "lsaquery" command. It will autoselect
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)

21 years agoAdd lsa 0x2e (queryinfo2) client side
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)

21 years agoAdd RESOLVE_DFSPATH to mkdir operations in HEAD.
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)

21 years agoUse samr connect4, then fall back to samr connect if it fails. This is
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)

21 years agoAdd client side support for samr connect4 (0x3e). Seems to have one
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)