1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

9234 Commits

Author SHA1 Message Date
Jelmer Vernooij
669a39fae3 Sync 3.0 branch with HEAD
(This used to be commit eac75549c3)
2002-08-17 16:31:24 +00:00
Jelmer Vernooij
ec85fa62f2 Sync 3.0 branch with head
(This used to be commit 57cf41a6da)
2002-08-17 16:16:51 +00:00
Jelmer Vernooij
1f7d18a99c Sync 3.0 branch with HEAD
(This used to be commit 3823a2ff5a)
2002-08-17 16:05:44 +00:00
Jelmer Vernooij
d13dec7010 Sync 3.0 branch with HEAD
(This used to be commit bcb7d928af)
2002-08-17 15:59:26 +00:00
Jelmer Vernooij
8c53b214da Sync 3.0 branch with HEAD
(This used to be commit e01596853e)
2002-08-17 15:34:15 +00:00
Jelmer Vernooij
64c53e819b sync 3.0 branch with HEAD
(This used to be commit 6497eb78e8)
2002-08-17 15:33:49 +00:00
Jelmer Vernooij
127e77e6e3 Sync 3.0 branch with head
(This used to be commit 42615b945e)
2002-08-17 15:27:10 +00:00
Jelmer Vernooij
287d49bb5d Sync 3.0 branch with HEAD
(This used to be commit d3599b446e)
2002-08-17 15:04:57 +00:00
Jelmer Vernooij
f0255b38bc sync 3.0 branch with HEAD
(This used to be commit 1b83b78e33)
2002-08-17 14:45:04 +00:00
Jelmer Vernooij
fcbb06414d sync 3.0 branch with HEAD
(This used to be commit d53d77cc8e)
2002-08-17 14:34:48 +00:00
Jelmer Vernooij
e51ed63864 sync 3.0 branch with head
(This used to be commit 18aeccd1b8)
2002-08-17 14:31:10 +00:00
Jelmer Vernooij
21d26afb2a sync 3_0 branch with HEAD
(This used to be commit 19ab776bf9)
2002-08-17 14:15:33 +00:00
cvs2svn Import User
592dd24957 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 6938b5b98a) 2002-08-17 07:09:23 +00:00
Andrew Bartlett
8690b271a6 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 a91018dd02)
2002-08-17 07:09:22 +00:00
Andrew Bartlett
717b27c005 Add const.
(This used to be commit fb28abd120)
2002-08-17 06:36:18 +00:00
Andrew Bartlett
c4ebde6b4b Add 'const'.
(This used to be commit 8955f3d63a)
2002-08-17 06:34:41 +00:00
Andrew Bartlett
22404245b4 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 fc0d6e53fc)
2002-08-17 05:26:58 +00:00
Andrew Bartlett
ba1d348265 The idea of this function is not to touch the argument, so make it const too...
(This used to be commit 8a63fe4505)
2002-08-17 04:56:38 +00:00
Andrew Bartlett
a27ec4a011 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 8718e5e7b2)
2002-08-17 04:51:27 +00:00
Gerald Carter
f56e06476f fix seg fault in _spoolss_enumprinterkey after changes...
add SPOOL_PNPDATA_KEY define
(This used to be commit cdaa3f55e1)
2002-08-17 00:38:20 +00:00
Tim Potter
3a226d149d Return access granted in create_user2.
(This used to be commit 8ebc295f4a)
2002-08-16 17:35:38 +00:00
Gerald Carter
31514f67ae fix small bug in enumprinterdataex due to my changes (still more lurking
though).
(This used to be commit 2feb89601f)
2002-08-16 16:46:50 +00:00
Gerald Carter
4ed429481c 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 7ba7c04c0e)
2002-08-16 15:36:37 +00:00
Andrew Bartlett
b84315e2d5 Return the error if get_group_domain_entries() fails.
(This used to be commit bc9e9e3e2e)
2002-08-16 08:47:10 +00:00
Andrew Bartlett
fbaf4d07ae Make the 'guest account' always have a RID of DOMAIN_USER_RID_GUEST.
Andrew Bartlett
(This used to be commit 4725d7d049)
2002-08-16 08:46:03 +00:00
Jim McDonough
51f62926b3 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 6eca417d1c)
2002-08-16 08:09:55 +00:00
Andrew Bartlett
b92cda9772 Add some const to the 'in' paramaters for these functions.
Andrew Bartlett
(This used to be commit 23f3321785)
2002-08-16 07:56:08 +00:00
Andrew Bartlett
54e964a0fb 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 81b675b54d)
2002-08-16 07:04:37 +00:00
Tim Potter
88d321becd Merge of 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 dad31483b3)
2002-08-16 00:25:48 +00:00
Tim Potter
298f956eaf 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 a8c4febdb7)
2002-08-15 22:03:22 +00:00
Tim Potter
9b38f76ab1 Rename unknown_0 field in create_user2 reply in the actual struct.
(This used to be commit 482d873c26)
2002-08-15 19:40:34 +00:00
Tim Potter
ef4ff1bc48 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 876e7b2bf4)
2002-08-15 19:37:34 +00:00
Tim Potter
14c7250ab4 Removed unused variable.
(This used to be commit 23f1b839e6)
2002-08-15 19:34:57 +00:00
Gerald Carter
3941058359 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 5f673b7883)
2002-08-15 13:56:33 +00:00
Simo Sorce
10712f9a22 *** empty log message ***
(This used to be commit cb72eead70)
2002-08-15 13:25:25 +00:00
Jim McDonough
ec7927a144 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 1f9b3d46c7)
2002-08-15 12:18:25 +00:00
Tim Potter
702687a3a4 The unknown_0 field in a CREATE_USER2 reply is the access granted.
(This used to be commit 8bca308583)
2002-08-15 02:26:37 +00:00
Gerald Carter
b28b28ee34 added comment about a new specversion seen from client.
Device mode size is still the same though.




jerry
(This used to be commit fb822e97cb)
2002-08-14 10:21:53 +00:00
Gerald Carter
093428852d unresolved symbols fix for pam_smbpass from Steve L.
(This used to be commit 27618a5ca2)
2002-08-14 10:20:51 +00:00
Jim McDonough
f3a15363d8 Use byteorder.h macros
(This used to be commit eb9004efc3)
2002-08-12 16:39:10 +00:00
Jeremy Allison
cebad9a48d 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 8403253f27)
2002-08-12 16:20:54 +00:00
Jim McDonough
3e5939ccd5 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 3543f92c39)
2002-08-12 13:55:31 +00:00
Jim McDonough
a40116204d Allow ADS PDC to exist
(This used to be commit e6ceb34823)
2002-08-12 13:54:42 +00:00
Jim McDonough
a9aa9bd7fe Add lib/util_uuid.c to build.
(This used to be commit ab0e863fcc)
2002-08-12 13:54:18 +00:00
Jim McDonough
d8d1d65958 Code to generate uuids for ADS setups. Uses our random generator but
conforms to standard OSF/DCE uuid format.
(This used to be commit 3b50c3b8cd)
2002-08-12 13:48:19 +00:00
Jim McDonough
28bf5e5f2d 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 f4ec2d52a7)
2002-08-12 13:41:52 +00:00
Jim McDonough
ae6cb0fb31 Add lsa 0x2e (queryinfo2) client side
(This used to be commit c3b05b21a0)
2002-08-12 13:40:59 +00:00
Shirish Kalele
341e3009a0 Add RESOLVE_DFSPATH to mkdir operations in HEAD.
(This used to be commit cbb6e2fbdb)
2002-08-12 13:35:17 +00:00
Jim McDonough
b3d49538fd Use samr connect4, then fall back to samr connect if it fails. This is
what 2k does.
(This used to be commit 99437db17a)
2002-08-12 08:26:28 +00:00
Jim McDonough
4a822be1d3 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 ed2370b91f)
2002-08-12 08:25:02 +00:00