Stefan Metzmacher
c005bbddb7
s4:libnet/: s/private/private_data
...
metze
2009-02-02 13:08:29 +01:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01:00
Kai Blin
855d2a927e
s4 libnet: Add support for groupinfo by sid lookup
2008-12-29 12:52:27 +01:00
Kai Blin
181d4fd31a
s4 libnet: Add group_name member to struct libnet_GroupInfo's out struct.
2008-12-29 12:52:26 +01:00
Stefan Metzmacher
37b6950961
s4:libnet_samdump_keytab: pass down event_context explicit
...
metze
2008-12-29 09:46:38 +01:00
Jelmer Vernooij
ff26cb4b1c
Fix compiler warnings in libnet.
2008-12-23 22:11:21 +01:00
Günther Deschner
4bcf8edcf8
s4-samr: fix samr callers after SAMR_FIELD_PASSWORD change.
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
296fae7561
s4-samr: fix samr passwdord_expired callers.
...
Guenther
2008-11-28 13:55:49 +01:00
Günther Deschner
09998ab89d
s4-samr: merge samr_QueryUserInfo{2} from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:31 +01:00
Günther Deschner
15e011564a
s4-samr: merge samr_QueryGroupInfo from s3 idl. (fixme python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
99c2fac6b2
s4-samr: merge samr_EnumDomainGroups from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
1ea97d76ed
s4-samr: merge samr_EnumDomainUsers from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
d4d9a73ad1
s4-samr: merge samr_EnumDomains from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
bb1d7684d2
s4-samr: merge samr_LookupDomain from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
61391d0ade
s4-samr: merge samr_LookupNames from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
f42f1ae5a8
s4-samr: merge samr_GetUserPwInfo from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:27 +01:00
Günther Deschner
e0a6e3b23b
s4-samr: merge samr_ChangePasswordUser3 from s3 idl.
...
Guenther
2008-11-10 21:46:26 +01:00
Günther Deschner
e004307000
s4-netlogon: change parameters string to lsa_BinaryString.
...
Guenther
2008-11-10 21:46:25 +01:00
Jelmer Vernooij
cb77fca1cd
Remove use of global loadparm in python modules.
2008-11-02 16:50:11 +01:00
Günther Deschner
7204deac82
s4-srvsvc: merge srvsvc_NetShareEnumAll from s3 idl.
...
Guenther
2008-10-31 02:44:34 +01:00
Günther Deschner
3206f35527
s4-srvsvc: merge srvsvc_NetShareAdd from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
9fd82703d1
s4-srvsvc: merge srvsvc_NetRemoteTOD from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
Günther Deschner
cbc0b63a77
s4-netlogon: merge netr_DatabaseSync from s3 idl.
...
Guenther
2008-10-29 08:57:51 +01:00
Günther Deschner
a4ad265850
s4-libnet: fix user and group enumeration functions after lsa changes.
...
Guenther
2008-10-27 21:46:50 +01:00
Günther Deschner
95231eae39
s4-lsa: merge lsa_QueryInfoPolicy/{2} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
92f1c0d156
s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Jelmer Vernooij
0b0b11e3d9
Fix the build.
2008-10-24 16:52:25 +02:00
Jelmer Vernooij
23302413b3
Remove unused include param/param.h.
2008-10-24 16:37:56 +02:00
Jelmer Vernooij
37d885c51a
Remove iconv_convenience argument from convert_string{,talloc}() but
...
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24 14:26:46 +02:00
Jelmer Vernooij
7ec58471df
Split up codepoints code, use consistent _m suffix.
2008-10-24 02:51:03 +02:00
Jelmer Vernooij
87ec1d2532
Make sure prototypes are always included, make some functions static and
...
remove some unused functions.
2008-10-20 18:59:51 +02:00
Günther Deschner
dd49f7483b
s4-drsuapi: merge drsuapi_DsGetNCChanges from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:39 +02:00
Günther Deschner
6ddaf5f160
s4-drsuapi: merge drsuapi_DsCrackNames from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:31 +02:00
Günther Deschner
b684efacf5
s4-drsuapi: merge drsuapi_DsRemoveDSServer from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:07 +02:00
Günther Deschner
bc1d39483c
s4-drsuapi: merge drsuapi_DsAddEntry from s3 drsuapi idl.
...
Guenther
2008-10-18 23:05:59 +02:00
Jelmer Vernooij
218f482fbf
Use common strlist implementation in Samba 3 and Samba 4.
2008-10-12 00:56:56 +02:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Stefan Metzmacher
3c9f3c32d1
s4:drsuapi.idl: fix some fields in drsuapi_DsRemoveDSServer()
...
metze
2008-10-02 12:20:59 +02:00
Volker Lendecke
af1c802791
The IRIX compiler does not like embedded unnamed unions
2008-10-02 08:09:25 +02:00
Jelmer Vernooij
cef80957c4
Remove global_loadparm instance, discard_const_p.
2008-09-30 02:19:15 +02:00
Jelmer Vernooij
43d944e6d6
Remove global_loadparm instance.
2008-09-30 01:59:10 +02:00
Jelmer Vernooij
6925202bde
Move source4/lib/crypto to lib/crypto.
2008-09-24 15:30:23 +02:00
Simo Sorce
508527890a
Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.
...
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
2008-09-23 18:17:46 -04:00
Stefan Metzmacher
75f594b285
drsuapi: fix samba4 callers after drsuapi.idl changes
...
metze
(This used to be commit 4b054cee51c39c5430bcadd5c06a94dc3e6b0d8f)
2008-08-20 15:22:05 +02:00
Stefan Metzmacher
8275d511bc
drsuapi: fix callers after idl change
...
metze
(This used to be commit 7dee6fb62d5adbd2eaaaf4d8ba9e87a72ef9f94b)
2008-08-07 19:15:58 +02:00
Michael Adam
db36f37b8f
libnet_become_dc: send msDS_Behavior_Version == 3 (win2k8) in DsAddEntry
...
instead of version 2 (win2k3).
This makes the NET-API-BECOME-DC test work against windows 2003 and 2008.
Michael
(This used to be commit a7bfa1fb1bc6fb8e412990b7ff4c3ce9bc55099d)
2008-07-23 18:02:44 +02:00
Michael Adam
c71030bd04
libnet_become_cd: add boolean option "become_dc:force krb5" to control krb5 auth.
...
This allows controlling whether krb5 auth is forced for the rpc bind in
libnet_become_dc. It defaults to "yes". For Windows 2000, DsGetNCChanges
only krb5 auth works due to a bug in Windows (it returns garbage - a
positive object count is returned along with first object == NULL).
For Windows 2008, on the other hand, krb5 auth does not work currently
due to the lack of support for AES keys. (Metze is working on that.)
Michael
(This used to be commit af85aad8147b85a0b9ea2ccc66b8f04efdfe5cf3)
2008-07-23 18:01:02 +02:00
Michael Adam
1f20ca14cc
drsuapi: always set the pid field of the outgoing DsBindInfo to 0.
...
This is for debugging and informational purposes only.
The assignment is implementation specific.
(WSPP docs, sec. 5.35).
Michael
(This used to be commit 1f5704e2dee5900e8d1d87699b76f67c0e12854e)
2008-07-23 15:36:13 +02:00
Michael Adam
e269804b04
libnet_unbecome_dc: teach unbecomeDC_drsuapi_bind_recv() DsBindInfo48.
...
..to work agains w2k8.
Michael
(This used to be commit 97e8d5813df19cae294b6de2a880606f0f8c2c59)
2008-07-23 15:36:13 +02:00
Michael Adam
46bb8aa357
libnet_become_cd: teach becomeDC_drsuapi_bind_recv() DsBindInfo48.
...
To work with w2k8.
Michael
(This used to be commit 7d80fab912576923c7474d77b8ed960b01296914)
2008-07-23 15:36:13 +02:00