1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-01 21:18:10 +03:00
Commit Graph

7358 Commits

Author SHA1 Message Date
Jean-François Micouleau
1c95d1d16b decoded SAM_DELTA 0x0e and 0x12.
One is an entry for the trusted domains
The other is an entry for the trusting domains

They are pretty basic, I'll improve them.

	J.F.
(This used to be commit 8d359e6213)
2001-12-12 11:38:57 +00:00
Samba Release Account
0a97b2e457 preparing for release of 3.0-alpha6
(This used to be commit 6daac61894)
2001-12-12 10:22:34 +00:00
Jean-François Micouleau
c75d9409aa a ugly decoder for SAM_DELTA_DOM_INFO (0x0d)
a correct decoder for SAM_PRIVS_INFO (0x10)

this code is totally useless right now, it's just fun to decode those and
will save tpot some time.

	J.F.
(This used to be commit 314b675ed9)
2001-12-12 09:43:56 +00:00
Andrew Tridgell
60b53b3f6f added "net time zone" command to show the timezone on a computer
(This used to be commit 4e2691b1c1)
2001-12-12 09:37:17 +00:00
Andrew Tridgell
65cfe6a492 pam_smbpass updates from a.bokovoy@sam-solutions.net
(This used to be commit 016e203a2c)
2001-12-11 23:44:33 +00:00
Tim Potter
6526a42558 Oops, the -a option disappeared.
(This used to be commit 6194f874bb)
2001-12-11 23:27:45 +00:00
Andrew Tridgell
68b7b2c34d ads howto update
(This used to be commit 188e59ae96)
2001-12-11 22:53:21 +00:00
Herb Lewis
fb8b642a98 add PATH_FLAGS to .po32 objects so dynconfig builds with smbwrapper
(This used to be commit 5bf6f91937)
2001-12-11 20:41:31 +00:00
Herb Lewis
b9f2c47956 sync with 2.2
added multiple include protection
added IRIX defines
(This used to be commit b9dbb38bf2)
2001-12-11 20:20:30 +00:00
Jim McDonough
d9c3ef8450 Replace backslash with winbind separator before calling parse_domain_user(). Winbind separators other than backslash didn't work.
(This used to be commit 6688781331)
2001-12-11 19:27:40 +00:00
Herb Lewis
ee4d682115 fix for IRIX compilers
(This used to be commit b110f57e49)
2001-12-11 18:08:48 +00:00
Volker Lendecke
5f93b2dce4 Clarify a little
Volker
(This used to be commit 5b7a2a2441)
2001-12-11 17:45:51 +00:00
Andrew Tridgell
331fa95b7a allow join of already joined domain
(This used to be commit 784a3f2951)
2001-12-11 12:29:03 +00:00
Andrew Tridgell
3607b3ccab prevent double free
(This used to be commit 3628a978d1)
2001-12-11 10:37:00 +00:00
Jeremy Allison
9bb0a964bf Fix up warnings. Make tdb_openXX() names const.
Jeremy.
(This used to be commit 9e3581827d)
2001-12-11 08:31:58 +00:00
Jeremy Allison
dd324a5357 Tidyups to remove warnings on tdb standalone code.
Jeremy.
(This used to be commit b03aaddcf3)
2001-12-11 08:24:36 +00:00
Samba Release Account
b6f3d7108d preparing for release of 3.0-alpha5
(This used to be commit c5fafb7f79)
2001-12-11 06:35:00 +00:00
Andrew Tridgell
d86b7f9dc3 handle systems without setenv()
(This used to be commit 8709065246)
2001-12-11 06:17:01 +00:00
Andrew Tridgell
70095b09c3 handle a NULL hostname in cli_connect()
(This used to be commit a181f49b42)
2001-12-11 05:48:27 +00:00
Andrew Tridgell
6939dd050b better error handling
(This used to be commit 75621d5284)
2001-12-11 05:47:26 +00:00
Andrew Tridgell
e5dbe13b58 added a comment about /bin/date
(This used to be commit 2183c1f3b0)
2001-12-11 05:28:56 +00:00
Andrew Tridgell
32ba2c889f added a net time command. Allow display or set of system time based on
a SMB server

particularly useful for ADS is:

	net time set -S DOMAIN#1B

this makes kerberos clock skew problems go away :)
(This used to be commit b3ba2293d0)
2001-12-11 05:21:50 +00:00
Tim Potter
6cc5e2edc1 Modify winbindd to use authenticated user info from secrets.tdb when making
IPC$ connections to domain controllers.
(This used to be commit 1217ef28a6)
2001-12-11 05:19:15 +00:00
Tim Potter
f4dfa9b6b2 Converted wbinfo to use popt instead of getopt - popt is very nice!
Added a --set-auth-user function to set a username and password that can be
used by winbindd when making connections to domain controllers.  This is
necessary when restrictions have been placed on anonymous connections
either through the RestrictAnonymous registry setting, or the win2k Local
Security Policy -> Security Settings -> Local Policies -> Security Options
-> Additional restrictions for anonymous connections.  (phew)

Two new keys are set in secrets.tdb: SECRETS/AUTH_USER and
SECRETS/AUTH_PASSWORD which hold the username and plaintext password of the
user to connect as.

To reset these values, run wbinfo --set-auth-user ""
(This used to be commit 507003522b)
2001-12-11 05:18:36 +00:00
Andrew Tridgell
5ffe722a55 detect attempts to connect to names of the type NAME#xx and do a
netbios lookup for name NAME with node type xx.

This affects all our client progs. Very useful :)
(This used to be commit b4304c5231)
2001-12-11 05:16:48 +00:00
Andrew Tridgell
66d964c9fc allow overriding the local time in kerberos_kinit_password()
(This used to be commit cb9dbcef7c)
2001-12-11 05:15:52 +00:00
Tim Potter
4589265bb0 Removed unreferenced getopt() externals.
(This used to be commit c87d1ad321)
2001-12-11 04:25:21 +00:00
Tim Potter
6a60668fe2 SAMR query sec obj returns different results depending on which sam handle
it is passed.  Not sure what these different contexts are called or what
they are used for.

 - if a rid is specified to samquerysecobj then use the sam user policy
    handle for that rid
 - if -d is specified then use the sam domain policy handle
 - otherwise just use the sam connect policy handle

JF, any ideas about this?
(This used to be commit 4ef50ef9f7)
2001-12-11 03:03:45 +00:00
Tim Potter
44d423419a Grr - people who put const everywhere should fix up all the warnings they
generate.
(This used to be commit d1ebd259c8)
2001-12-11 02:23:14 +00:00
Tim Potter
31611dd2f4 Removed unused variable.
(This used to be commit 1dc0e9096d)
2001-12-11 02:22:42 +00:00
Tim Potter
b872787f01 Doing some research into ACLs on the LSA and SAM policy objects.
- added lsaquerysecobj to rpcclient
 - renamed querysecobj to samquerysecobj
 - removed duplicated display_sec_acl() code from cmd_spoolss.c and
   cmd_samr.c and moved it into display_sec.c
(This used to be commit 59b2e3f408)
2001-12-11 02:17:26 +00:00
Samba Release Account
ebefbda2f6 preparing for release of 3.0-alpha4
(This used to be commit f2f3183811)
2001-12-11 01:29:04 +00:00
Andrew Tridgell
d033e53300 removed the start_ndx parameter from group enumeration
I tried testing this by lowering the buffer size in
cli_samr_enum_dom_groups() but that didn't work - I think this needs
more looking into
(This used to be commit 34328e3031)
2001-12-11 01:04:13 +00:00
Tim Potter
d032059df9 Compile fix.
(This used to be commit 83caa883d7)
2001-12-11 00:11:11 +00:00
Andrew Tridgell
abeb0f50ea got rid of start_ndx from query_user_list()
(This used to be commit 1c909afe76)
2001-12-11 00:03:58 +00:00
Jean-François Micouleau
bf5a0e6717 NT_STATUS(0x80000005) maps to ERRDOS,234
J.F.
(This used to be commit 80e36549b6)
2001-12-10 23:34:32 +00:00
Jean-François Micouleau
ecf7017eca added enum alias groups to rpcclient
(This used to be commit d4bc8f02f7)
2001-12-10 22:30:31 +00:00
Andrew Tridgell
0c29881501 reinstated all the rap commands as top level commands until we get the
protocol switch mechanism in place
(This used to be commit d20c3717dd)
2001-12-10 22:25:21 +00:00
Andrew Tridgell
3d27d7b9f7 moved ccache location change into winbindd code
(This used to be commit be254eb13c)
2001-12-10 22:10:31 +00:00
Andrew Tridgell
273deacb32 robustness fixes and moved ccache location into winbindd_ads code
(This used to be commit 24aa09ff3d)
2001-12-10 22:10:16 +00:00
Jeremy Allison
a427fafc1f Treat RAP codes differently.
Jeremy.
(This used to be commit 919b11a787)
2001-12-10 19:48:43 +00:00
Jeremy Allison
775c3876db RAP error strings take precedence as they are not encoded in the SMB header
(ie. the call can succeed, but still be an encoded error).
Jeremy.
(This used to be commit 3c68b94199)
2001-12-10 19:18:56 +00:00
Jim McDonough
3bc9ef34b1 Delay gssapi header checking until after kerberos has been located. Wasn't working on RedHat systems because of /usr/kerberos install location.
(This used to be commit 55d55e311e)
2001-12-10 18:07:17 +00:00
Jean-François Micouleau
0ff1a9568b added info level 3 to samrgetgroupinfo. I don't know what the value is.
It's just to keep usermanager happy ;-)

clean up a bit samr_query_aliasinfo to return the group description

added: samr_del_aliasmem, samr_del_groupmem and samr_del_domuser

with the correct scripts, you can now entirely manage the users from
usermanager ! Closer to full PDC every day ;-)

        J.F.
(This used to be commit 0a727afc66)
2001-12-10 15:03:16 +00:00
Martin Pool
769a9dbb00 Make proto
(This used to be commit 83ab28a7e5)
2001-12-10 08:36:42 +00:00
Martin Pool
666a64ac56 Add a panic action that tries to call gdb noninteractively to get a
backtrace.   Will break on many machines, but we're already crashed in
this case.
(This used to be commit f0878f19eb)
2001-12-10 08:10:05 +00:00
Samba Release Account
895e973593 preparing for release of 3.0-alpha3
(This used to be commit 9c3f2ee906)
2001-12-10 07:33:16 +00:00
Martin Pool
6f151481da Doc.
(This used to be commit 6c684c89a4)
2001-12-10 07:29:34 +00:00
Martin Pool
ebc1f6fda3 Allow for internal databases which may have no name.
(This used to be commit caa08bb56e)
2001-12-10 07:27:20 +00:00
Samba Release Account
fa8cb08349 preparing for release of 3.0alpha2
(This used to be commit c5e45a4bc8)
2001-12-10 07:19:21 +00:00