summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* Set SIGRTMIN to NSIGTimur I. Bakeyev2009-06-082-4/+1
| | | | | | | | | | | | | | In the includes we define SIGRTMIN to 32 if it's not defined already. This value could be fairly low and it's better to use NSIG(number of defined signals) as the lower mark for the available signals. We have similar defenition in the source3/smbd/aio.c, which can be safely removed, as it comes from includes.h then. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Check for dmalloc at the end of the configureTimur I. Bakeyev2009-06-081-10/+10
| | | | | | | | | | | | | | | | Enabling dmalloc in Samba3 build leads to the wrong detection of the strndup() function - there isn't one in FreeBSD prior to 7.2, but dmalloc defines it, so, farther tests with -ldmalloc added wrongly find it. the cheapest fix is to move dmalloc detection and inclusion to the bottom of configure, so it can't affect detection of the system capabilities. Here is the patch. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-test: finally enable RPC-SAMR against samba3.Günther Deschner2009-06-081-1/+1
| | | | | | We now pass it :-) Guenther
* s3-winbindd: workaround alias enumeration in expand_groups().Günther Deschner2009-06-081-3/+16
| | | | | | alias enumeration in NSS is not done properly done atm and needs to be fixed. Guenther
* test: add NSS_WRAPPER_WINBIND_SO_PATH to make test.Günther Deschner2009-06-081-1/+2
| | | | Guenther
* s3-samr: support _samr_SetGroupInfo level 2.Günther Deschner2009-06-081-2/+2
| | | | Guenther
* s3-charcnv: always talloc_free in convert_string_talloc() error path.Günther Deschner2009-06-081-2/+1
| | | | Guenther
* s3-charcnv: remove remaining malloc references in convert_string_talloc().Günther Deschner2009-06-081-2/+2
| | | | Guenther
* Further fix for 6449Volker Lendecke2009-06-081-1/+1
| | | | Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
* Fix a valgrind error in "net rap user add"Volker Lendecke2009-06-081-0/+1
|
* Fix bug 6449Volker Lendecke2009-06-081-1/+1
| | | | Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
* Add "net sam createdomaingroup"Volker Lendecke2009-06-071-0/+36
|
* More pdb_ads stuffVolker Lendecke2009-06-071-6/+108
|
* Add tldap_pull_uint32Volker Lendecke2009-06-072-0/+14
|
* Make "net sam list" work for groups, aliases and builtinsVolker Lendecke2009-06-071-7/+58
|
* Return full info in pdb_ads_search_users()Volker Lendecke2009-06-071-5/+17
|
* Fix syntax of sending a delete requestVolker Lendecke2009-06-071-1/+1
|
* req_del and req_abandon are ASN1_APPLICATION_SIMPLEVolker Lendecke2009-06-071-2/+4
| | | | Ok, ASN1_APPLICATION everywhere was too easy :-)
* Fix after making tldap independent of ldap.hVolker Lendecke2009-06-071-21/+24
|
* s3-groupdb: fix enum_aliasmem in ldb branch.Günther Deschner2009-06-071-1/+1
| | | | | | | | | | It is totally valid to have an alias with no members. Tridge, please check. Found by RPC-SAMR torture test. Guenther
* s3-samr: fix return code of _samr_LookupRids when run with pdb_ldap.Günther Deschner2009-06-071-0/+5
| | | | | | | | | 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
* s3-samr: SetGroupInfo level 1 should not return NT_STATUS_INVALID_INFO_CLASS.Günther Deschner2009-06-071-3/+0
| | | | | | Found by RPC-SAMR torture test. Guenther
* s3-samr: fix _QueryDisplayInformation r->out.returned_size.Günther Deschner2009-06-071-1/+1
| | | | | | | | *r->out.returned_size needs to be 0 if nothing was enumerated. Found by RPC-SAMR torture test. Guenther
* s3-samr: remove total_data_size variable in _samr_QueryDisplayInfo.Günther Deschner2009-06-071-5/+2
| | | | Guenther
* s3-samr: let _samr_SetGroupInfo level 3 just pass with success.Günther Deschner2009-06-071-0/+2
| | | | Guenther
* s3-samr: _samr_EnumDomain{Users,Groups} need to return an emtpy array even ↵Günther Deschner2009-06-071-12/+12
| | | | | | | | for builtin domain. Found by RPC-SAMR torture test. Guenther
* s3-samr: cosmetic fixes for _samr_QueryDisplayInfo.Günther Deschner2009-06-071-20/+18
| | | | | | | use the variables of the struct samr_QueryDisplayInfo directly to make it easier to track where variables are defined from. Guenther
* Attempt to fix the build without system-ldap.Volker Lendecke2009-06-061-1/+1
| | | | I really tried, but I knew I would miss something... :-)
* s3/passdb: Fix debug message: 'net setmaxrid' does not exist.Karolin Seeger2009-06-061-2/+2
| | | | | | This is aiming bug #6351. Karolin
* Add an early prototyp of pdb_ads.c.Volker Lendecke2009-06-063-1/+1290
| | | | | | | | | 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...
* Add some samba-style tldap utility functionsVolker Lendecke2009-06-064-1/+406
|
* Add the early start of an async ldap libraryVolker Lendecke2009-06-064-0/+2075
| | | | | | | 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.
* s3:smbd: FSCTL_PIPE_TRANSCEIVE on a none IPC$ share should give NOT_SUPPORTEDStefan Metzmacher2009-06-061-1/+1
| | | | metze
* s3:smbd: return the same things as Windows 7 for SMB2 Ioctl responsesStefan Metzmacher2009-06-061-7/+23
| | | | metze
* Allow AF_UNIX for open_socket_outVolker Lendecke2009-06-061-0/+4
|
* s3-winbindd: add some debug statements while tracking down a bug.Günther Deschner2009-06-062-2/+20
| | | | Guenther
* Make cli_ftruncate async. Also add a simple test.Jeremy Allison2009-06-054-74/+148
| | | | Jeremy.
* s3:smbd: split smbd_smb2_flush() into a tevent_req based _send()/_recv() pairStefan Metzmacher2009-06-051-25/+97
| | | | metze
* s3:smbd: split smbd_smb2_create() into a tevent_req based _send()/_recv() pairStefan Metzmacher2009-06-051-99/+199
| | | | metze
* s3:smbd: fix the build in smb2_ioctl.cStefan Metzmacher2009-06-051-1/+1
| | | | metze
* s3:smbd: add support for SMB2 Ioctl FSCTL_DFS_GET_REFERRALSStefan Metzmacher2009-06-051-0/+74
| | | | metze
* s3:smbd: add support for STATUS_BUFFER_OVERFLOW to SMB2 IoctlStefan Metzmacher2009-06-051-5/+10
| | | | metze
* s3:smbd: keep the chain_fsp for SMB2 requestsStefan Metzmacher2009-06-053-0/+5
| | | | metze
* s3:smbd: fix the logic for compounded requestsStefan Metzmacher2009-06-051-1/+1
| | | | metze
* s3:smbd: only setup the dyn iovec if a a dyn blob is givenStefan Metzmacher2009-06-051-2/+1
| | | | | | | Otherwise leave the default in there, which takes care of padding for compounded requests. metze
* s3:smbd: add support for SMB2 Ioctl FSCTL_PIPE_TRANSCEIVE on IPC$Stefan Metzmacher2009-06-051-0/+92
| | | | metze
* s3:smbd: add support for SMB2 Read on IPC$Stefan Metzmacher2009-06-051-6/+52
| | | | metze
* s3:smbd: add support for SMB2 Write on IPC$Stefan Metzmacher2009-06-051-5/+49
| | | | metze
* s3:smbd: add support for SMB2 Create on IPC$Stefan Metzmacher2009-06-051-1/+17
| | | | metze
* s3:smbd: add support for SMB2 IoctlStefan Metzmacher2009-06-054-4/+281
| | | | | | We don't implement any level yet. metze