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)
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)
Jelmer Vernooij [Wed, 21 Aug 2002 21:00:40 +0000 (21:00 +0000)]
Document -v option
(This used to be commit
a8936762967643a935ae45f468ad70e206406190)
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)
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)
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)
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)
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)
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)
Jelmer Vernooij [Wed, 21 Aug 2002 17:32:14 +0000 (17:32 +0000)]
document nisplus sam
(This used to be commit
debf77cd3a7a48ad833255c42917d7e7660d3d15)
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)
Volker Lendecke [Wed, 21 Aug 2002 17:07:10 +0000 (17:07 +0000)]
just comment typos
(This used to be commit
169e784f4829ef356ed6232ace950d43cac1d467)
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)
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)
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)
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)
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)
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)
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)
Simo Sorce [Tue, 20 Aug 2002 21:21:56 +0000 (21:21 +0000)]
fix typos
thanks Josef Zlomek
(This used to be commit
fb32fd99b9878db2bacf0588d30fd5f1f37dbfd7)
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)
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)
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)
Jelmer Vernooij [Tue, 20 Aug 2002 19:35:13 +0000 (19:35 +0000)]
Jelmer Vernooij [Tue, 20 Aug 2002 19:16:28 +0000 (19:16 +0000)]
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)
Jelmer Vernooij [Tue, 20 Aug 2002 17:58:09 +0000 (17:58 +0000)]
Remove unused variables
(This used to be commit
20f1765c32b2dd048e1572cd1b1e490459f7d5dc)
Jelmer Vernooij [Tue, 20 Aug 2002 17:57:07 +0000 (17:57 +0000)]
Don't report missing "-valid"
(This used to be commit
f9018f4560c205033d25e6294534be4b7a79f6c1)
Herb Lewis [Tue, 20 Aug 2002 17:38:54 +0000 (17:38 +0000)]
fix generating protos for smbwrapper
(This used to be commit
92408c822033c9d0e604d9696cf629d4665aa9ee)
Jelmer Vernooij [Tue, 20 Aug 2002 17:13:57 +0000 (17:13 +0000)]
Update generated version of manpages
(This used to be commit
724f368bbac97b7d47d5986408d8937f3e7ee15c)
Jelmer Vernooij [Tue, 20 Aug 2002 16:27:37 +0000 (16:27 +0000)]
New (simpler) documentation system.
(This used to be commit
d3b8ad67fc32c097d5aa783744192197cb3b3f26)
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)
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)
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)
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)
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)
Herb Lewis [Tue, 20 Aug 2002 00:20:23 +0000 (00:20 +0000)]
fix irix compiler error
(This used to be commit
4df7983487545a432cfa8832eae1afbdf7866060)
Jelmer Vernooij [Mon, 19 Aug 2002 23:32:12 +0000 (23:32 +0000)]
Fix syntax errors
(This used to be commit
2e6aa71c964a94c7b02fd61c14d9078c24ffb66d)
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)
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)
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)
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)
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)
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)
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)
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)
Andrew Tridgell [Mon, 19 Aug 2002 16:55:47 +0000 (16:55 +0000)]
make rpcclient use print_guid()
(This used to be commit
f2c48cadb22256564f2ddaa5169812c7c4383ec5)
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)
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)