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

7171 Commits

Author SHA1 Message Date
Samba Release Account
f0f03aed5a preparing for release of 3.0-alpha7 0001-01-01 00:00:00 +00:00
Andrew Tridgell
b107ecef70 added "net ads info" to fetch basic ADS info without any auth 0001-01-01 00:00:00 +00:00
Andrew Tridgell
7db718d44a make sure we find NSS_STATUS struct 0001-01-01 00:00:00 +00:00
Andrew Tridgell
ed6279481b better error handling 0001-01-01 00:00:00 +00:00
Andrew Tridgell
fc9fd2ca19 try the PDC for our workgroup if we can't find the ldap server 0001-01-01 00:00:00 +00:00
Andrew Tridgell
4405a87fb7 improved error message from failed connect 0001-01-01 00:00:00 +00:00
Jeremy Allison
1d2504b5c7 Must check against -1 for fcntl error check.
Jeremy
0001-01-01 00:00:00 +00:00
Tim Potter
216dff4380 Fix some compiler warnings. 0001-01-01 00:00:00 +00:00
Jeremy Allison
d3ac2265b1 Always use ASCII strings when changing passwords with RAP.
Jeremy.
0001-01-01 00:00:00 +00:00
Herb Lewis
f881a8f197 ran autoconf 0001-01-01 00:00:00 +00:00
Herb Lewis
564bfd7728 allow IRIX to build nsswitch/libnss_wins.so 0001-01-01 00:00:00 +00:00
Herb Lewis
fe0db4c55f add *.po32 to ignore list 0001-01-01 00:00:00 +00:00
Jean-François Micouleau
d49c8e4d3d added a -V[erbose] option to samsync. Decode a lot of information
I'm looking at chaining the credentials

	J.F.
0001-01-01 00:00:00 +00:00
Jean-François Micouleau
8d359e6213 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.
0001-01-01 00:00:00 +00:00
Samba Release Account
6daac61894 preparing for release of 3.0-alpha6 0001-01-01 00:00:00 +00:00
Jean-François Micouleau
314b675ed9 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.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
4e2691b1c1 added "net time zone" command to show the timezone on a computer 0001-01-01 00:00:00 +00:00
Andrew Tridgell
016e203a2c pam_smbpass updates from a.bokovoy@sam-solutions.net 0001-01-01 00:00:00 +00:00
Tim Potter
6194f874bb Oops, the -a option disappeared. 0001-01-01 00:00:00 +00:00
Andrew Tridgell
188e59ae96 ads howto update 0001-01-01 00:00:00 +00:00
Herb Lewis
5bf6f91937 add PATH_FLAGS to .po32 objects so dynconfig builds with smbwrapper 0001-01-01 00:00:00 +00:00
Herb Lewis
b9dbb38bf2 sync with 2.2
added multiple include protection
added IRIX defines
0001-01-01 00:00:00 +00:00
Jim McDonough
6688781331 Replace backslash with winbind separator before calling parse_domain_user(). Winbind separators other than backslash didn't work. 0001-01-01 00:00:00 +00:00
Herb Lewis
b110f57e49 fix for IRIX compilers 0001-01-01 00:00:00 +00:00
Volker Lendecke
5b7a2a2441 Clarify a little
Volker
0001-01-01 00:00:00 +00:00
Andrew Tridgell
784a3f2951 allow join of already joined domain 0001-01-01 00:00:00 +00:00
Andrew Tridgell
3628a978d1 prevent double free 0001-01-01 00:00:00 +00:00
Jeremy Allison
9e3581827d Fix up warnings. Make tdb_openXX() names const.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
b03aaddcf3 Tidyups to remove warnings on tdb standalone code.
Jeremy.
0001-01-01 00:00:00 +00:00
Samba Release Account
c5fafb7f79 preparing for release of 3.0-alpha5 0001-01-01 00:00:00 +00:00
Andrew Tridgell
8709065246 handle systems without setenv() 0001-01-01 00:00:00 +00:00
Andrew Tridgell
a181f49b42 handle a NULL hostname in cli_connect() 0001-01-01 00:00:00 +00:00
Andrew Tridgell
75621d5284 better error handling 0001-01-01 00:00:00 +00:00
Andrew Tridgell
2183c1f3b0 added a comment about /bin/date 0001-01-01 00:00:00 +00:00
Andrew Tridgell
b3ba2293d0 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 :)
0001-01-01 00:00:00 +00:00
Tim Potter
1217ef28a6 Modify winbindd to use authenticated user info from secrets.tdb when making
IPC$ connections to domain controllers.
0001-01-01 00:00:00 +00:00
Tim Potter
507003522b 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 ""
0001-01-01 00:00:00 +00:00
Andrew Tridgell
b4304c5231 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 :)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
cb9dbcef7c allow overriding the local time in kerberos_kinit_password() 0001-01-01 00:00:00 +00:00
Tim Potter
c87d1ad321 Removed unreferenced getopt() externals. 0001-01-01 00:00:00 +00:00
Tim Potter
4ef50ef9f7 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?
0001-01-01 00:00:00 +00:00
Tim Potter
d1ebd259c8 Grr - people who put const everywhere should fix up all the warnings they
generate.
0001-01-01 00:00:00 +00:00
Tim Potter
1dc0e9096d Removed unused variable. 0001-01-01 00:00:00 +00:00
Tim Potter
59b2e3f408 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
0001-01-01 00:00:00 +00:00
Samba Release Account
f2f3183811 preparing for release of 3.0-alpha4 0001-01-01 00:00:00 +00:00
Andrew Tridgell
34328e3031 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
0001-01-01 00:00:00 +00:00
Tim Potter
83caa883d7 Compile fix. 0001-01-01 00:00:00 +00:00
Andrew Tridgell
1c909afe76 got rid of start_ndx from query_user_list() 0001-01-01 00:00:00 +00:00
Jean-François Micouleau
80e36549b6 NT_STATUS(0x80000005) maps to ERRDOS,234
J.F.
0001-01-01 00:00:00 +00:00
Jean-François Micouleau
d4bc8f02f7 added enum alias groups to rpcclient 0001-01-01 00:00:00 +00:00