1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

458 Commits

Author SHA1 Message Date
Rafal Szczesniak
9a02cc10e1 r24680: fix a couple of stupid typos from previous commit.
rafal
(This used to be commit b21b322e4ce593dafb5331dc4d65fa2d69b61cb8)
2007-10-10 15:02:40 -05:00
Rafal Szczesniak
e104b1fedf r24679: Add (raw and untested) implementation of libnet_GroupInfo function.
rafal
(This used to be commit 80479eee256ab549b28cbd086a1343ce2a3c4948)
2007-10-10 15:02:39 -05:00
Stefan Metzmacher
f14bd1a90a r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
(This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10 15:02:15 -05:00
Rafal Szczesniak
91657bfd51 r24554: Add internal implementation (before api function) of group
info call.

rafal
(This used to be commit 75f81f862ef06e86f9dcfcf4709221ed9c4e22ed)
2007-10-10 15:02:13 -05:00
Stefan Metzmacher
b8cdadced4 r24551: rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list  -> ndr_interface_list

and move them to libndr.h

metze
(This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10 15:02:12 -05:00
Andrew Bartlett
e0779e2d3b r24127: Set the Domain SID into the libnet context, and have libnet_UserInfo
return full SIDs for the user SID and primary group sid.

This should help kai with his getpwnam work in winbind.

Andrew Bartlett
(This used to be commit 078671d5015c63e4bcd96815e150dae918763b83)
2007-10-10 15:01:27 -05:00
Rafal Szczesniak
a47313851f r24051: more monitor function calls and monitor msg names
convention change.

rafal
(This used to be commit 6ab10b2ed256fa3c55d1af8ddcc9dfdaf4598a1e)
2007-10-10 15:01:18 -05:00
Andrew Bartlett
4a517b1433 r24011: Keep the connect handle around in libnet, in case we want it.
Andrew Bartlett
(This used to be commit e6ccdb6cea267b992d1b586757f0b84afbc5e45f)
2007-10-10 15:01:17 -05:00
Rafal Szczesniak
0d80514173 r23959: add more monitor messages support that's been sitting around on my
laptop for a while.

rafal
(This used to be commit c257363adbc2e8ab577bb86a5b4dbef3caf802ef)
2007-10-10 15:01:11 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Rafal Szczesniak
62b3aaa2e0 r23292: check for errors returned in a call result.
rafal
(This used to be commit 18c5341fad967d5115b9ea5257e499ded5861a65)
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
40cd2d7780 r22944: fix bug #4618:
rename private -> private_data

metze
(This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10 14:52:30 -05:00
Rafal Szczesniak
7e14a25dc6 r22811: two more memory allocation checks.
rafal
(This used to be commit d66b13f6facdba407604f33211574f43163b186c)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
945cb016a4 r22809: use buffer size specified in libnet context.
rafal
(This used to be commit c78dfd356777f133427fb8d9013f38f19d43ecbd)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
7c636fd2fe r22808: store default buffer size for samr operations in libnet context.
This allows not requiring it as an argument in some function calls
and still enables specifying any size if it's necessary via libnet
context.

rafal
(This used to be commit 3e4b0c5b3b6d6bd155c8ce11b2342f4af08342f6)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
6bf83794e5 r22804: convert libnet_rpc_userinfo function to use "continue" functions
instead of a single handler.

rafal
(This used to be commit c27c0523ac695ef71df9b3176a69c6fb25b02ac0)
2007-10-10 14:52:18 -05:00
Rafal Szczesniak
665065a1df r22764: - replace talloc_zero with composite_create
- use event context provided with libnet context instead of creating
  a new one

rafal
(This used to be commit ce8414b3daad335eac356a393f1653e2e10e2640)
2007-10-10 14:52:16 -05:00
Rafal Szczesniak
da7f449a07 r22763: replace talloc_zero calls with composite_create and add more
allocation checks.

rafal
(This used to be commit 621f3e567478fc8067f08f3589b54bf58ca9e1f1)
2007-10-10 14:52:16 -05:00
Rafal Szczesniak
0ad4c05508 r22735: correct some comments
rafal
(This used to be commit 6d4268bcd3c28ed2928e68aea567517a671e314a)
2007-10-10 14:52:07 -05:00
Rafal Szczesniak
fbe82f1375 r22734: - use samr pipe if it is already opened
- close connection handle after domains enumeration
- collect domain names in subsequent rounds of enumeration
  (if there are more than one)

rafal
(This used to be commit 5ab76ce515c9b0524529e8e3607e991aff0fd7be)
2007-10-10 14:52:07 -05:00
Rafal Szczesniak
d02dc1b674 r22672: use composite_create calls instead of talloc_zero.
rafal
(This used to be commit 969b175c739ca29b04c15a26a05f317703eed656)
2007-10-10 14:52:00 -05:00
Stefan Metzmacher
aa95279b81 r22669: fix uninitialized element which was causing a crash with 'net password set'
metze
(This used to be commit 9bbe4733562a8fc6fe49377a47e482a14a6efc61)
2007-10-10 14:51:59 -05:00
Rafal Szczesniak
c66fae011f r22565: add libnet_DomainList function.
rafal
(This used to be commit b17da3b7da40de6a1fbe45a56b614b352f007508)
2007-10-10 14:51:44 -05:00
Stefan Metzmacher
aad487ac94 r22536: resolve name before passing to cldap
metze
(This used to be commit 2d282584065e668befea120b2baa2988cfe8998d)
2007-10-10 14:51:39 -05:00
Rafal Szczesniak
29c2744f96 r22519: convert libnet_DomainOpenSamr function from state-handling routine
to composite_continue.

rafal
(This used to be commit 4a2839d95d18fe05152abbd88676c4fef4d59ace)
2007-10-10 14:51:36 -05:00
Stefan Metzmacher
2acf0d6537 r22437: fix dependencies
metze
(This used to be commit ca6594eb6bea52caaf504eba7dd7c7d6a37075a2)
2007-10-10 14:51:19 -05:00
Stefan Metzmacher
41c5453507 r21839: add my email address
metze
(This used to be commit e3be33c1d9f9e44ef37e6ef72a23576474f6e725)
2007-10-10 14:49:35 -05:00
Stefan Metzmacher
37f2d53528 r21827: move comments to the place where the functionality is implemented
metze
(This used to be commit 5d49d8b9e149d320cb08c5c2a4fc4cb8bfd74129)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
63fd883e54 r21826: reorder functions
metze
(This used to be commit 3d0a810ccd5d7490d46f91ca6aef6052ca0c56c3)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
31c674bffc r21821: move comment about the becoming a dc to the code which implements it
and extent the comments a bit

metze
(This used to be commit 16c958600ea6d4481f32081262bf8bae4b56a247)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
952a90814f r21820: move function, so that all are in top-down order as they get called
metze
(This used to be commit 38bb7f5445cf1d1a52a9edb21475ed2d5ed20ce4)
2007-10-10 14:49:32 -05:00
Jelmer Vernooij
fd2d095048 r21541: Export mgmt, samr and atsvc for use in samba-gtk.
(This used to be commit 7f451cbb8da26cfe27861c402e06b3f34f7ac647)
2007-10-10 14:48:55 -05:00
Stefan Metzmacher
815d3f2e68 r21538: this looks better...
metze
(This used to be commit 8ddfbbcb93f7c94ab040984d460d6122f0ff6520)
2007-10-10 14:48:54 -05:00
Stefan Metzmacher
d92bc6db36 r21516: - use the same assoc_group_id, for all 3 drsuapi connection
- use the PFC_CONC_MPX flag for the 3rd connection
- to DsGetNCChanges requests on the 3rd connection with the bind handle
  from the 2nd connection to match w2k3

metze
(This used to be commit 5071af332c2c079fd94c577e58ee6e8ccf157ffa)
2007-10-10 14:48:48 -05:00
Stefan Metzmacher
3b14713f6d r21362: rename:
"ntPwdHash" => "unicodePwd"
"lmPwdHash" => "dBCSPwd"
"sambaLMPwdHistory" => "lmPwdHistory"
"sambaNTPwdHistory" => "ntPwdHistory"

Note: you need to reprovision after this change!

metze
(This used to be commit dc4242c09c0402cbfdba912f82892df3153456ad)
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
eee140d7da r21300: let the caller decide if it wants rid decrypted hashes or not
metze
(This used to be commit 8711d01ffd080c43512b88b995daf2d6b7c06ba1)
2007-10-10 14:48:05 -05:00
Stefan Metzmacher
5a61821e7e r21295: pass down the gensec session key to the store_chunk hook
metze
(This used to be commit 91de9591732aab822f2a44c4a6698edce48f723b)
2007-10-10 14:48:03 -05:00
Stefan Metzmacher
c672e06cd5 r21293: store the gensec session key for each drsuapi connection
metze
(This used to be commit d399739820650bcbe486956374af84c436d3ec16)
2007-10-10 14:48:02 -05:00
Stefan Metzmacher
78eb31a8f0 r21292: add become_dc:print = yes option to dump out the drsuapi traffic
metze
(This used to be commit 5065a9b5ffe4dc9a77f4e5955dc0d8d86feb8c5e)
2007-10-10 14:48:02 -05:00
Andrew Bartlett
728ff99fe3 r21255: Add a debugging option to avoid rid decryption in the samsync output.
Andrew Bartlett
(This used to be commit 9e15a51579157405b2013b9b948d279fefd0eda6)
2007-10-10 14:44:55 -05:00
Andrew Bartlett
e473050052 r21175: Fix the kerberos keytab update code to handle deletes.
Fix the join code to know that the ldb layer handles the keytab update.

Andrew Bartlett
(This used to be commit d3fbc089f4161ae71b21077d50130fdabd8b2d77)
2007-10-10 14:44:42 -05:00
Volker Lendecke
c2c8650825 r21141: Attempt to fix the build
(This used to be commit 3f41a4b014a47b3c751066f5d1bef7f76f4be831)
2007-10-10 14:44:33 -05:00
Andrew Bartlett
d2bfa66119 r20964: Show the domain name we figured out, rather than a null pointer (in
some error cases)

Andrew Bartlett
(This used to be commit 4195839d1a6102d7c6ae17c1b1db0418c99c9241)
2007-10-10 14:44:04 -05:00
Stefan Metzmacher
e0efa2c97a r20714: we can use talloc_asprintf_append() again, because strupper_talloc()
creates string with the correct memory size without padding zero bytes
at the end

metze
(This used to be commit df8e97014bf67e59ab9a88ce225819d6057dfb08)
2007-10-10 14:40:30 -05:00
Stefan Metzmacher
faf57b1dc5 r20708: fix crash bug! we can't use stack memory for async requests...
jelmer: please take more care when you fix pidl warnings:-)

metze
(This used to be commit 05da114ea8db637febe88ac1ce5c92640de7754a)
2007-10-10 14:40:29 -05:00
Jelmer Vernooij
e8d2437cd5 r20676: Add ref pointer to fix warning.
(This used to be commit 1afcf850679b6752935455a8f9198679649922b8)
2007-10-10 14:40:19 -05:00
Stefan Metzmacher
927e163670 r20570: use talloc_asprintf() instead of talloc_asprintf_append()
because talloc_asprintf_append() doesn't work like talloc_append_string()
which uses strlen() on the old string instead of (tc->size - 1)

This matter in this case because strlower_talloc() over allocates

tridge: how should we fix this in lib/talloc/?

metze
(This used to be commit 1748af20b1f7b325048619a1e66a1c8b69474c5f)
2007-10-10 14:37:03 -05:00
Stefan Metzmacher
536ca21c55 r20504: we handle the attribute values always as DATA_BLOB's and
don't need the union with the attribute id as switch anymore

metze
(This used to be commit d47c81923d0731edd314215c6f0b2eb3d1ee252d)
2007-10-10 14:36:01 -05:00
Stefan Metzmacher
16d6d8d4c5 r20484: get rid of the special case for DN strings
metze
(This used to be commit 4c2addf2dd5b74fa0026249ce373ff4becaaef40)
2007-10-10 14:35:59 -05:00
Stefan Metzmacher
d70852659b r20476: get rid of extra case for uint32 values
metze
(This used to be commit 13ccd405b5dbb595e5ab67879260462e5a767a8b)
2007-10-10 14:35:57 -05:00