1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

4163 Commits

Author SHA1 Message Date
Rafal Szczesniak
d40a6703f5 r6390: A couple of changes in useradd function regarding pointers.
rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
7539397240 r6389: Incomplete test of composite useradd function.
rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
ebf151ca6e r6384: Formatting fixes.
rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
c40e754700 r6383: Add user management file to build.
rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
3752122550 r6382: New structure for useradd call.
rafal
2007-10-10 13:11:34 -05:00
Rafal Szczesniak
7f3aafca07 r6381: Started working on user account management functions.
rafal
2007-10-10 13:11:34 -05:00
Tim Potter
e2f127b4d8 r6361: Update howto and provisioning script with the moves made in r6207. 2007-10-10 13:11:34 -05:00
Tim Potter
5a598f5da1 r6360: Quieten unused variable warning. 2007-10-10 13:11:34 -05:00
Tim Potter
1738761d89 r6359: Fix compiler warning with struct sockaddr. I'm sure I fixed this a few
weeks ago - weird.
2007-10-10 13:11:34 -05:00
Stefan Metzmacher
ccedfc9fe7 r6353: we need the english output from the svn commands
metze
2007-10-10 13:11:34 -05:00
Alexander Bokovoy
441cff62ac r6352: Two new composite calls:
- qfsinfo (query file system information)
- appendacl (append an ACL to existing file's security descriptor and get new
full ACL)

The second one also includes an improvement to security descriptor handling
which allows to copy security descriptor. Written by Peter Novodvorsky
<peter.novodvorsky@ru.ibm.com>

Both functions have corresponding torture tests added. Tested under valgrind and
work against Samba 4 and Windows XP.

ToDo: document composite call creation process in prog_guide.txt
2007-10-10 13:11:34 -05:00
Tim Potter
0e6be68daf r6350: Add a newline to make things look prettier. 2007-10-10 13:11:33 -05:00
Andrew Tridgell
2acc069185 r6342: fixed a bad union assumption that caused ACLs to fail on 64 bit machines
Thanks to lars and agruen for finding this
2007-10-10 13:11:33 -05:00
Andrew Tridgell
2873c0e917 r6341: fixed the schannel idl to handle dotted names correctly 2007-10-10 13:11:33 -05:00
Andrew Tridgell
e6376b2430 r6340: - added an easy to use function to initialise a temporary ldb with some ldif
- init the schannel.ldb with some CASE_INSENSITIVE attributes
2007-10-10 13:11:33 -05:00
Andrew Tridgell
4c2207c946 r6339: set the NBT_SERVER_LDAP and NBT_SERVER_KDC bits based on config
(andrew, please fix the method of sseeing if we do krb5, if you can
think of a better one)
2007-10-10 13:11:33 -05:00
Andrew Tridgell
f4d07d7d3b r6338: ADS style GETDC response now works well enough that WinXP can join
Samba4 without Samba3 nmbd
2007-10-10 13:11:33 -05:00
Andrew Tridgell
c29279355c r6335: at debug level 10, save netlogon and ntlogon packets that fail to parse 2007-10-10 13:11:33 -05:00
Andrew Tridgell
61d65d100d r6333: removed an extraneous line (pointed out by metze) 2007-10-10 13:11:32 -05:00
Andrew Tridgell
1ea4ed4ad1 r6331: added IDL and test suite for the ADS style response to a datagram netlogon query.
Note that this response is almost identical to the CLDAP netlogon
response, so adding that will now be quite easy.
2007-10-10 13:11:32 -05:00
Tim Potter
30d0c9fb2e r6329: Write tests for newly implemented alias functions. 2007-10-10 13:11:32 -05:00
Tim Potter
25ed39651b r6328: Fix bug in OpenAlias.
Implement DeleteDomAlias, QueryAliasInfo, SetAliasInfo,
AddAliasMember, and AddMultipleMembersToAlias.

Fix one of those annoying large integer warnings.
2007-10-10 13:11:32 -05:00
Tim Potter
b6e883a613 r6327: Add LSA objects to dcerpc swig library. 2007-10-10 13:11:32 -05:00
Tim Potter
fd884ec433 r6326: Add %array_functions for struct lsa_SidPtr.
Pull in the auto-generated interface file for the lsa pipe
(whaddayaknow it compiled first go!)
2007-10-10 13:11:32 -05:00
Tim Potter
63dfa9b806 r6325: Rename aliasname -> alias_name in CreateDomAlias function. 2007-10-10 13:11:32 -05:00
Tim Potter
162d3609a1 r6324: Pass server name instead of binding string on command line (always use
ncacn_np for the moment).

Fix rpcclient to work with struct cli_credentials.
2007-10-10 13:11:31 -05:00
Andrew Tridgell
df146d64eb r6323: added server side support for dgram NTLOGON requests. NT4 workstations can now login
to a Samba4 domain.
2007-10-10 13:11:31 -05:00
Tim Potter
9c45f8d7bc r6322: Fix compile warning for struct sockaddr. 2007-10-10 13:11:31 -05:00
Andrew Tridgell
08ded62156 r6321: added IDL and test suite for NBT dgram 'sam logon' request (sent by
clients when a user tries to login)
2007-10-10 13:11:31 -05:00
Andrew Tridgell
4507bdc339 r6320: some minor netlogon datagram fixes - NT4 can now join a Samba4 domain without
Samba3 nmbd
2007-10-10 13:11:31 -05:00
Andrew Bartlett
6e2327ee9b r6315: Allow sane session setup behaviour on SPNEGO regarding VUIDs.
Andrew Bartlett
2007-10-10 13:11:31 -05:00
Andrew Bartlett
d8d63e8c79 r6314: A more complete RAW-CONTEXT test. This Samba4 currently fails, but it
now tests areas in extended security handling (SPNEGO) that are just
plain odd...

Andrew Bartlett
2007-10-10 13:11:31 -05:00
Andrew Bartlett
c2c8b6abf3 r6313: Much better handling of LogoffAndX when the vuid is invalid (ie, don't
segfault).  This should fix another of the issues that Richard came up
with last week.

Andrew Bartlett
2007-10-10 13:11:30 -05:00
Andrew Bartlett
c67a9370c4 r6312: Metze reminds me this header is no longer required.
Andrew Bartlett
2007-10-10 13:11:30 -05:00
Andrew Bartlett
0cbd11a0f2 r6310: Rename password.c to session.c, and remove the linked list of all
outstanding sessions, as we don't use it.

Andrew Bartlett
2007-10-10 13:11:30 -05:00
Andrew Bartlett
0bba8da460 r6309: Remove this file it is empty and unreferenced. (In preperation for
renaming password.c over the top, as it deals with sessions, not
passwords).

Andrew Bartlett
2007-10-10 13:11:30 -05:00
Jelmer Vernooij
690a7d71d8 r6306: Add simple WMI client test script 2007-10-10 13:11:30 -05:00
Stefan Metzmacher
4632b37d0c r6295: - add idl for EcDoRpc from the exchange_emsmdb interface
this one uses a obfuscation(0xA5) subcontext

this is taken from the openchange.org project

metze
2007-10-10 13:11:30 -05:00
Stefan Metzmacher
27ccdd6182 r6294: - add obfuscate support, which is used in MAPI rpc's, (the ^= 0xA5 stuff),
based on a patch from j.kerihuel@openchange.org

- remove unused $ndr_flags argument for the ParseCompression*Start() function's

metze
2007-10-10 13:11:30 -05:00
Stefan Metzmacher
f5424d2dad r6293: fix formating
metze
2007-10-10 13:11:29 -05:00
Andrew Tridgell
406217262d r6288: the nbt dgram server now responds to GETDC requests. It works with our
test suite, but doesn't yet seem to satisfy a nt4 client. I'm
investigating.
2007-10-10 13:11:29 -05:00
Andrew Tridgell
f8e77fcdea r6287: sorted out a small but surprisingly tricky dependency problem with the
ndr code for handling sids and security descriptors now that we have a
sid in the nbt IDL
2007-10-10 13:11:29 -05:00
Andrew Bartlett
057a81d81e r6286: Add back metze's test of setting a trust password to ''. I removed
this because I don't want our torture suite to leave behind accounts
with known passwords if it is stopped in the wrong place.  It is now
run behind the -X (dangerous) wrapper.

Andrew Bartlett
2007-10-10 13:11:29 -05:00
Andrew Bartlett
838925761d r6272: For 'programmed' use of an anonymous account, we should use
cli_credentials_set_conf(), not cli_credentials_guess().

Also, clarify why for particular flags, we don't do a DCERPC-level
authentication.

Andrew Bartlett
2007-10-10 13:11:29 -05:00
Andrew Bartlett
83c2eb806d r6271: Don't zero the cli_credentials structure - instead allow valgrind to
track the use of un-initialised values.

This change will require a recompile from clean, as the enum
describing the status of each element now has a default of
CRED_UNINITIALISED.

Andrew Bartlett
2007-10-10 13:11:29 -05:00
Andrew Bartlett
3e5775146d r6270: Move the VUID handling to a IDR tree. This should avoid O(n)
behaviour on session setups, and because we no longer need do deal
with the linked list as much, the code is much simpiler too.

We may be able to compleatly remove the tid and vuid linked lists, but
I need to check.

This patch also tries to clean up the VUID handling and session setups
in general.  To avoid security issues, we now have a distinction
between VUIDs allocated for the session setup (to tie togeather the
multiple round trips) and those used after authentication.

Andrew Bartlett
2007-10-10 13:11:29 -05:00
Andrew Tridgell
d7e6e395ce r6248: added parsing of type 10 UAS announce netlogon packets 2007-10-10 13:11:28 -05:00
Andrew Tridgell
3b34df6a67 r6247: added the server side code for receiving mailslot requests, and
parsing incoming netlogon requests. No replies are sent yet.
2007-10-10 13:11:28 -05:00
Andrew Tridgell
8b9a5d8336 r6246: stop waiting when we get a reply 2007-10-10 13:11:28 -05:00
Andrew Tridgell
52ccdb79bc r6245: receive and parse the GETDC response in the NBT-DGRAM test. The test
now tries to bind to port 138 if possible, so if you run it as root
and smbd/nmbd is not running then it works against windows servers
2007-10-10 13:11:28 -05:00