summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3:test: try to find why creating BUILTIN\Administrators doesn't work in the ↵Stefan Metzmacher2009-02-031-3/+5
| | | | | | build-farm metze
* s3: Fix 'net rpc join' for users with the SeMachineAccountPrivilege.Volker Lendecke2009-02-032-4/+10
|
* Fix Coverity ID 870Volker Lendecke2009-02-031-0/+4
|
* Fix bug #6082 - smbd_gpfs_getacl failed: Windows client can´t rename or ↵Jeremy Allison2009-02-024-20/+54
| | | | | | | | | delete file This fixes the generic rename/delete problem for 3.3.0 and above. Fixed slightly differently to discussions, user viewable modified ACLs are not a good idea :-). Jeremy.
* s3:selftest: run test_posix_s3.sh testsStefan Metzmacher2009-02-032-1/+42
| | | | metze
* s3:build: pass the path to smbtorture4 down to make with and without '-t' prefixStefan Metzmacher2009-02-033-3/+7
| | | | metze
* s3-wbclient: Use new tevent data typesKai Blin2009-02-023-16/+16
|
* Next step disentangling async_req from NTSTATUSVolker Lendecke2009-02-026-31/+31
| | | | Now I need to document this :-)
* fix for commit d96248a9b46 which broke Heimdal buildsBjörn Jacke2009-02-021-0/+6
|
* s3:selftest: pass correct arguments to $SCRIPTDIR/test_smbtorture_s3.shStefan Metzmacher2009-02-021-2/+2
| | | | metze
* s3:build: fix typo introduced in "fix build without shared libs"Michael Adam2009-02-021-1/+1
| | | | Michael
* s3:build: fix linking of bin/net when shared libs have been disabledMichael Adam2009-02-021-1/+1
| | | | Michael
* s3 build: Fix "assignment discards qualifiers from pointer target type" warningsTim Prouty2009-02-022-13/+6
|
* Add two new parameters to control how we verify kerberos tickets. Removes ↵Dan Sledz2009-02-0110-34/+170
| | | | | | | | | | | | | | | | | | | | | | | lp_use_kerberos_keytab parameter. The first is "kerberos method" and replaces the "use kerberos keytab" with an enum. Valid options are: secrets only - use only the secrets for ticket verification (default) system keytab - use only the system keytab for ticket verification dedicated keytab - use a dedicated keytab for ticket verification. secrets and keytab - use the secrets.tdb first, then the system keytab For existing installs: "use kerberos keytab = yes" corresponds to secrets and keytab "use kerberos keytab = no" corresponds to secrets only The major difference between "system keytab" and "dedicated keytab" is that the latter method relies on kerberos to find the correct keytab entry instead of filtering based on expected principals. The second parameter is "dedicated keytab file", which is the keytab to use when in "dedicated keytab" mode. This keytab is only used in ads_verify_ticket.
* s3:winbind_group: fix "getent group" to allocate new gids.Michael Adam2009-02-021-2/+8
| | | | | | | | | | | | | | | | | | "getent group" used to fill the idmap cache with negative cache entries for unmapped group sids. Don't pass domain name unconditionally to idmap_sid_to_gid(). idmap_sid_to_gid() only creates new mappings (allocating idmap backends tdb, tdb2, ldap...) when the domain name passed in is "". Note that it is _wrong_ to directly call the idmap_sid_to_gid() functions here, in the main winbindd. The correct fix would be to send a sid_to_gid request to winbindd itself, but this needs more work to prepare the async mechanisms, and we nee a quick fix for getent passwd now. Michael
* s3:winbind_user: fix "getent passwd" to allocate new uids.Michael Adam2009-02-021-2/+7
| | | | | | | | | | | | | | | | | | "getent passwd" used to fill the idmap cache with negative cache entries for unmapped user sids. Don't pass domain name unconditionally to idmap_sid_to_[ug]id(). idmap_sid_to_[ug]id() only creates new mappings (allocating idmap backends tdb, tdb2, ldap...) when the domain name passed in is "". Note that it is _wrong_ to directly call the idmap_sid_to_[ug]id() functions here, in the main winbindd. The correct fix would be to send a sid_to_[ug]id request to winbindd itself, but this needs more work to prepare the async mechanisms, and we nee a quick fix for getent passwd now. Michael
* s3:winbind_user: move initialization of domain up in winbindd_fill_pwent()Michael Adam2009-02-021-11/+9
| | | | | | and streamline logic some Michael
* shared: Move dom_sid_* utility functions to top levelKai Blin2009-02-012-2/+3
|
* Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke2009-02-0115-185/+185
|
* Convert api_RNetUserEnum to use the srv_samr_nt.c directlyVolker Lendecke2009-02-011-26/+77
| | | | | | | This is a sample for other accesses to pdb to go via samr. The goal is to access passdb only via srv_samr_nt.c. If that is done, then we can easily swap in another samr implementation like for example samba4's via a unix domain socket.
* Move rpc_pipe_open_internal to srv_pipe_hnd.cVolker Lendecke2009-02-012-37/+37
| | | | This is a smbd-only function
* Replace pipe names in pipes_struct by ndr_syntax_idVolker Lendecke2009-02-015-72/+117
| | | | This was mainly used for debugging output
* Fix some type-punned warningsVolker Lendecke2009-02-011-3/+3
|
* cli_get_pipe_name_from_interface does not really need a talloc_ctxVolker Lendecke2009-02-016-32/+28
|
* Fix nonempty blank linesVolker Lendecke2009-02-012-119/+117
|
* Just for fun: Move some bytes from bss to textVolker Lendecke2009-02-012-2/+2
|
* fix build with external dns_sd librariesBjörn Jacke2009-02-011-1/+1
|
* Fix the build on Solaris CCVolker Lendecke2009-02-011-1/+1
|
* Remove unused np_read sync wrapperVolker Lendecke2009-01-312-32/+0
|
* Make reply_pipe_read_andx asyncVolker Lendecke2009-01-311-13/+57
|
* Remove unused np_write sync wrapperVolker Lendecke2009-01-312-32/+0
|
* Make reply_pipe_write asyncVolker Lendecke2009-01-311-13/+48
|
* Make reply_pipe_write_and_X asyncVolker Lendecke2009-01-311-20/+52
|
* Make-np_write-handle-0-byte-writes-as-NT_STATUS_OKVolker Lendecke2009-01-312-43/+33
|
* Convert api_rpc_trans_reply to async np_*Volker Lendecke2009-01-312-29/+135
|
* Add an async np_read wrapperVolker Lendecke2009-01-312-22/+107
|
* Add an async np_write wrapperVolker Lendecke2009-01-312-15/+106
|
* make send_file_readbraw staticVolker Lendecke2009-01-312-12/+6
|
* Remove the global variable "chain_size"Volker Lendecke2009-01-318-24/+34
|
* Make is_andx_req non-staticVolker Lendecke2009-01-313-26/+26
|
* s4:build: require ldb 0.9.3 when building against an external libraryStefan Metzmacher2009-01-311-1/+1
| | | | metze
* s3 onefs: Fix onefs ACLs to work with updated ACL syscallTim Prouty2009-01-301-1/+1
|
* s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warningsTim Prouty2009-01-301-1/+1
|
* Fix memleaksVolker Lendecke2009-01-301-0/+7
|
* pass NULL to prs_give_memory, that is a pointerVolker Lendecke2009-01-301-1/+1
|
* s3:selftest: run the same tests as 'make test'Stefan Metzmacher2009-01-301-29/+73
| | | | | | Only the tests with samba4's smbtorture are missing. metze
* s3:tests: add a guard arround . $incdir/test_functions.shStefan Metzmacher2009-01-3011-0/+21
| | | | | | So that caller can overwrite the functions. metze
* s3:smbconftort: don't use reserved words ('test:', 'failure:', 'success:')Stefan Metzmacher2009-01-301-31/+29
| | | | | | Temporary results printfs should not contain reserved subunit words. metze
* selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATHStefan Metzmacher2009-01-301-1/+1
| | | | metze
* Add the "SMBD" rpc transportVolker Lendecke2009-01-305-1/+785
| | | | | | | | | | | | | | | | | | | | The idea of this is that all client utils like smbpasswd and also for example "net join" do not access our internal databases like passdb and secrets.tdb directly anymore but pass everything throught the well-established RPC interfaces. The way you use this is the following: With rpc_cli_smbd_conn_init() or its async variant you initialize a "struct rpc_cli_smbd_conn". This structure is the link to a freshly forked smbd, ready to be used for RPC services. You should only ever have one such structure in your program. More don't hurt, but are plainly unnecessary. If you want to use the SAMR pipe to change a passwort, you connect to that pipe with rpc_pipe_open_local. Do you normal rpccli_samr calls on that and your locally forked smbd will connect to passdb for you. GD, this might make the distinction between the _l and _r calls in libnetapi mostly unnecessary. At least it is intended to do so... :-)