1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

7360 Commits

Author SHA1 Message Date
Herb Lewis
e4553718bb add *.po32 to ignore list
(This used to be commit fe0db4c55f8bfc70004edd60a29359337fa40723)
2001-12-12 16:04:37 +00:00
Jean-François Micouleau
a5ba214479 added a -V[erbose] option to samsync. Decode a lot of information
I'm looking at chaining the credentials

	J.F.
(This used to be commit d49c8e4d3d64b48e243d0f517b9e7f037103af13)
2001-12-12 15:25:22 +00:00
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 8d359e62138aa327cb00875dc446234ce4be6f02)
2001-12-12 11:38:57 +00:00
Samba Release Account
0a97b2e457 preparing for release of 3.0-alpha6
(This used to be commit 6daac6189477eed08d9896ab4977b98bb0696a3d)
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 314b675ed9ebacba9db25938c43cfa304462ebe2)
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 4e2691b1c13a7db4770effa6eddeb19adb47f8ae)
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 016e203a2c5286d8b48ab3eff0226affc203deaf)
2001-12-11 23:44:33 +00:00
Tim Potter
6526a42558 Oops, the -a option disappeared.
(This used to be commit 6194f874bbc50cb40228b29fb783a7716104b824)
2001-12-11 23:27:45 +00:00
Andrew Tridgell
68b7b2c34d ads howto update
(This used to be commit 188e59ae965e959e286eb650a90e62204a978fc2)
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 5bf6f9193774bcb6abb955efb346d2eb966a03d0)
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 b9dbb38bf2d1fbe1ca5d0aa53b89f76844d6209c)
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 6688781331e046adc77783792fc009cda7c8b5b8)
2001-12-11 19:27:40 +00:00
Herb Lewis
ee4d682115 fix for IRIX compilers
(This used to be commit b110f57e49bcb4e3c648020850ee18d1888b9152)
2001-12-11 18:08:48 +00:00
Volker Lendecke
5f93b2dce4 Clarify a little
Volker
(This used to be commit 5b7a2a2441a238896cc3da0459e37536ac1906bf)
2001-12-11 17:45:51 +00:00
Andrew Tridgell
331fa95b7a allow join of already joined domain
(This used to be commit 784a3f295176dc87c8befd76d5f2dc9ef1e9e383)
2001-12-11 12:29:03 +00:00
Andrew Tridgell
3607b3ccab prevent double free
(This used to be commit 3628a978d1881aa2a0939594b1c752475468965e)
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 9e3581827d91f5fd33fabd5ad4c9a79d63355731)
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 b03aaddcf35dee93556013eaac9d99bc0f22256a)
2001-12-11 08:24:36 +00:00
Samba Release Account
b6f3d7108d preparing for release of 3.0-alpha5
(This used to be commit c5fafb7f79cb3bb47d144f6799cdb521ec6fa872)
2001-12-11 06:35:00 +00:00
Andrew Tridgell
d86b7f9dc3 handle systems without setenv()
(This used to be commit 87090652460e57703b40f21e9ed08c18770b61c3)
2001-12-11 06:17:01 +00:00
Andrew Tridgell
70095b09c3 handle a NULL hostname in cli_connect()
(This used to be commit a181f49b4269baa1752ce6ed4f9093e38d2d3ce5)
2001-12-11 05:48:27 +00:00
Andrew Tridgell
6939dd050b better error handling
(This used to be commit 75621d528433a9c1af3eada0b748dfbcfdb8ad62)
2001-12-11 05:47:26 +00:00
Andrew Tridgell
e5dbe13b58 added a comment about /bin/date
(This used to be commit 2183c1f3b09db5c078327050279130ac825c71f8)
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 b3ba2293d0e4eac3b6408c3abc3dcacfa3f67fe4)
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 1217ef28a6c18c085fcb2eac3bf04866c166d959)
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 507003522b70443f79b8b69a836dcd38d309cfca)
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 b4304c5231159fc6295c445f2eb4470c179b8d5e)
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 cb9dbcef7cba9eb42f7b30b81c35142dc945d84f)
2001-12-11 05:15:52 +00:00
Tim Potter
4589265bb0 Removed unreferenced getopt() externals.
(This used to be commit c87d1ad32114200d3e678f8de88874c737f8e571)
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 4ef50ef9f76219ea8acc29a1d740b31a1d7a1e04)
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 d1ebd259c8c06d467eb5ee305b21e9046f16e05b)
2001-12-11 02:23:14 +00:00
Tim Potter
31611dd2f4 Removed unused variable.
(This used to be commit 1dc0e9096db11bf9c8fa7ba0424ab1e96bb177dc)
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 59b2e3f408a5ff22f2d81a927d010a7df5f19f7f)
2001-12-11 02:17:26 +00:00
Samba Release Account
ebefbda2f6 preparing for release of 3.0-alpha4
(This used to be commit f2f3183811891fefaabee938e2c2f6e26480d88a)
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 34328e30315e4b42087d0ee11ed0c3fb715bc250)
2001-12-11 01:04:13 +00:00
Tim Potter
d032059df9 Compile fix.
(This used to be commit 83caa883d79c2d954749d21fced808bda970ec56)
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 1c909afe76566807fb576c965eb869f98e72f2bd)
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 80e36549b61cc2bb5148f6abb175d31a0c7782a1)
2001-12-10 23:34:32 +00:00
Jean-François Micouleau
ecf7017eca added enum alias groups to rpcclient
(This used to be commit d4bc8f02f7dc856ffb29e95a81ffcc3a9d4b1695)
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 d20c3717dd58745da082d1b4df7698c6d6c38e6c)
2001-12-10 22:25:21 +00:00
Andrew Tridgell
3d27d7b9f7 moved ccache location change into winbindd code
(This used to be commit be254eb13c4bf316823ed43db3ef9407f45ca23b)
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 24aa09ff3dd128c6f12b4cb072943ff668a29a67)
2001-12-10 22:10:16 +00:00
Jeremy Allison
a427fafc1f Treat RAP codes differently.
Jeremy.
(This used to be commit 919b11a787145139e6255674179b2ff7e587475d)
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 3c68b94199ff08b205d1eb14da56804936b900a8)
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 55d55e311e67ea75e13c4a81fe3033b43bed38ca)
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 0a727afc669704cda9b44d44dbac9e989e906ae3)
2001-12-10 15:03:16 +00:00
Martin Pool
769a9dbb00 Make proto
(This used to be commit 83ab28a7e5cc75d3cdf35c083b057a1c7e50192d)
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 f0878f19eb729d70cc96f450b4b0d2c180498a35)
2001-12-10 08:10:05 +00:00
Samba Release Account
895e973593 preparing for release of 3.0-alpha3
(This used to be commit 9c3f2ee90667615357c2bf97594230c39d35b3a0)
2001-12-10 07:33:16 +00:00
Martin Pool
6f151481da Doc.
(This used to be commit 6c684c89a4e6e212476335ee57c3b616015598f8)
2001-12-10 07:29:34 +00:00