Günther Deschner
bb6cb7ea12
test: add NSS_WRAPPER_WINBIND_SO_PATH to make test.
...
Guenther
2009-06-08 11:02:59 +02:00
Günther Deschner
89616420d8
s3-samr: support _samr_SetGroupInfo level 2.
...
Guenther
2009-06-08 10:45:20 +02:00
Günther Deschner
fb6e835543
s3-charcnv: always talloc_free in convert_string_talloc() error path.
...
Guenther
2009-06-08 10:44:50 +02:00
Günther Deschner
2775c52baa
s3-charcnv: remove remaining malloc references in convert_string_talloc().
...
Guenther
2009-06-08 10:26:40 +02:00
Volker Lendecke
b5ac1068d1
Further fix for 6449
...
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
2009-06-08 10:08:33 +02:00
Volker Lendecke
054ef88b03
Fix a valgrind error in "net rap user add"
2009-06-08 09:53:20 +02:00
Volker Lendecke
bb4cffbd97
Fix bug 6449
...
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
2009-06-08 09:53:20 +02:00
Volker Lendecke
4de4c0318d
Add "net sam createdomaingroup"
2009-06-07 23:14:40 +02:00
Volker Lendecke
e2611e2b12
More pdb_ads stuff
2009-06-07 23:14:40 +02:00
Volker Lendecke
bee9fda243
Add tldap_pull_uint32
2009-06-07 23:14:40 +02:00
Volker Lendecke
14a2974092
Make "net sam list" work for groups, aliases and builtins
2009-06-07 12:32:29 +02:00
Volker Lendecke
f3b227c0d2
Return full info in pdb_ads_search_users()
2009-06-07 12:32:25 +02:00
Volker Lendecke
83dee900bc
Fix syntax of sending a delete request
2009-06-07 11:50:50 +02:00
Volker Lendecke
d8f331778f
req_del and req_abandon are ASN1_APPLICATION_SIMPLE
...
Ok, ASN1_APPLICATION everywhere was too easy :-)
2009-06-07 11:50:48 +02:00
Volker Lendecke
35492ada90
Fix after making tldap independent of ldap.h
2009-06-07 11:29:44 +02:00
Günther Deschner
f5e9e1954c
s3-groupdb: fix enum_aliasmem in ldb branch.
...
It is totally valid to have an alias with no members.
Tridge, please check.
Found by RPC-SAMR torture test.
Guenther
2009-06-07 11:25:21 +02:00
Günther Deschner
fbb1e990ab
s3-samr: fix return code of _samr_LookupRids when run with pdb_ldap.
...
when _samr_LookupRids is called with no rids, it needs to return
NT_STATUS_NONE_MAPPED (not NT_STATUS_NO_MEMORY).
Found by RPC-SAMR torture test.
Guenther
2009-06-07 02:24:21 +02:00
Günther Deschner
a783b1e4da
s3-samr: SetGroupInfo level 1 should not return NT_STATUS_INVALID_INFO_CLASS.
...
Found by RPC-SAMR torture test.
Guenther
2009-06-07 02:24:21 +02:00
Günther Deschner
93e7970647
s3-samr: fix _QueryDisplayInformation r->out.returned_size.
...
*r->out.returned_size needs to be 0 if nothing was enumerated.
Found by RPC-SAMR torture test.
Guenther
2009-06-07 00:56:04 +02:00
Günther Deschner
c3f1f6cac9
s3-samr: remove total_data_size variable in _samr_QueryDisplayInfo.
...
Guenther
2009-06-07 00:55:45 +02:00
Günther Deschner
ee059e33d5
s3-samr: let _samr_SetGroupInfo level 3 just pass with success.
...
Guenther
2009-06-07 00:55:16 +02:00
Günther Deschner
6544264ac1
s3-samr: _samr_EnumDomain{Users,Groups} need to return an emtpy array even for builtin domain.
...
Found by RPC-SAMR torture test.
Guenther
2009-06-07 00:55:06 +02:00
Günther Deschner
447fe57584
s3-samr: cosmetic fixes for _samr_QueryDisplayInfo.
...
use the variables of the struct samr_QueryDisplayInfo directly to make
it easier to track where variables are defined from.
Guenther
2009-06-07 00:53:28 +02:00
Volker Lendecke
afbe383c40
Attempt to fix the build without system-ldap.
...
I really tried, but I knew I would miss something... :-)
2009-06-06 15:32:30 +02:00
Karolin Seeger
c94d1cd7b1
s3/passdb: Fix debug message: 'net setmaxrid' does not exist.
...
This is aiming bug #6351 .
Karolin
2009-06-06 15:11:16 +02:00
Volker Lendecke
23b501e02a
Add an early prototyp of pdb_ads.c.
...
The purpose of this module is to connect to a locally running samba4 ldap
server for an alternative "Franky" setup. Right now it contains a couple of
gross hacks: For example it just takes the s4-chosed RID directly as uid/gid...
Checking in tldap and pdb_ads now, I think 3777 insertions are enough for a
start...
2009-06-06 13:10:30 +02:00
Volker Lendecke
1769c8d81b
Add some samba-style tldap utility functions
2009-06-06 13:10:30 +02:00
Volker Lendecke
7194937eea
Add the early start of an async ldap library
...
There's a lot of things this does not do yet: For example it does not parse the
reply blob in the sasl bind, it does not do anything with controls yet, a lot
of the ldap requests are not covered yet. But it provides a basis for me to
play with a pdb_ads passdb module.
2009-06-06 13:10:30 +02:00
Stefan Metzmacher
0e261d0e9c
s3:smbd: FSCTL_PIPE_TRANSCEIVE on a none IPC$ share should give NOT_SUPPORTED
...
metze
2009-06-06 11:01:44 +02:00
Stefan Metzmacher
21ac549e96
s3:smbd: return the same things as Windows 7 for SMB2 Ioctl responses
...
metze
2009-06-06 11:01:43 +02:00
Volker Lendecke
3cd03b229b
Allow AF_UNIX for open_socket_out
2009-06-06 10:42:54 +02:00
Günther Deschner
f19c9147a5
s3-winbindd: add some debug statements while tracking down a bug.
...
Guenther
2009-06-06 02:00:36 +02:00
Jeremy Allison
64a1f17aff
Make cli_ftruncate async. Also add a simple test.
...
Jeremy.
2009-06-05 16:06:05 -07:00
Stefan Metzmacher
4f56d87cc8
s3:smbd: split smbd_smb2_flush() into a tevent_req based _send()/_recv() pair
...
metze
2009-06-05 21:38:36 +02:00
Stefan Metzmacher
d5e4463266
s3:smbd: split smbd_smb2_create() into a tevent_req based _send()/_recv() pair
...
metze
2009-06-05 21:09:05 +02:00
Stefan Metzmacher
b25227a177
s3:smbd: fix the build in smb2_ioctl.c
...
metze
2009-06-05 21:05:40 +02:00
Stefan Metzmacher
140fe782a9
s3:smbd: add support for SMB2 Ioctl FSCTL_DFS_GET_REFERRALS
...
metze
2009-06-05 20:17:45 +02:00
Stefan Metzmacher
d1db140a73
s3:smbd: add support for STATUS_BUFFER_OVERFLOW to SMB2 Ioctl
...
metze
2009-06-05 20:17:44 +02:00
Stefan Metzmacher
76acd7bfad
s3:smbd: keep the chain_fsp for SMB2 requests
...
metze
2009-06-05 20:17:43 +02:00
Stefan Metzmacher
ee83d1aead
s3:smbd: fix the logic for compounded requests
...
metze
2009-06-05 20:17:43 +02:00
Stefan Metzmacher
014ee5d0c2
s3:smbd: only setup the dyn iovec if a a dyn blob is given
...
Otherwise leave the default in there, which takes care of
padding for compounded requests.
metze
2009-06-05 20:17:42 +02:00
Stefan Metzmacher
a3e328859b
s3:smbd: add support for SMB2 Ioctl FSCTL_PIPE_TRANSCEIVE on IPC$
...
metze
2009-06-05 17:53:49 +02:00
Stefan Metzmacher
4a64df164a
s3:smbd: add support for SMB2 Read on IPC$
...
metze
2009-06-05 17:53:23 +02:00
Stefan Metzmacher
fb750d8bcb
s3:smbd: add support for SMB2 Write on IPC$
...
metze
2009-06-05 17:53:23 +02:00
Stefan Metzmacher
f6cc5db0f2
s3:smbd: add support for SMB2 Create on IPC$
...
metze
2009-06-05 17:53:23 +02:00
Stefan Metzmacher
fabdebdcf4
s3:smbd: add support for SMB2 Ioctl
...
We don't implement any level yet.
metze
2009-06-05 17:50:48 +02:00
Stefan Metzmacher
d960057312
s3:smbd: add missing return statements to the SMB2 write error cases
...
metze
2009-06-05 14:32:50 +02:00
Stefan Metzmacher
f40b9ed8e9
s3:smbd: add missing return statements to the SMB2 read error cases
...
metze
2009-06-05 14:32:49 +02:00
Stefan Metzmacher
360c3c4a80
s3:smbd: split smbd_smb2_write() into tevent_req based *_send()/_recv() functions
...
metze
2009-06-05 13:02:05 +02:00
Stefan Metzmacher
7a0895b8e8
s3:smbd: split smbd_smb2_read() into tevent_req based *_send()/_recv() functions
...
metze
2009-06-05 13:00:33 +02:00