summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * s4:libcli/smb2: remove old dialect revision constantsStefan Metzmacher2009-05-261-4/+0
| | | | | | | | metze
| * s4:smb2srv: We only support SMB 2.002.Stefan Metzmacher2009-05-262-6/+12
| | | | | | | | | | | | | | We need to loop over all given dialects and check if we can find SMB2_DIALECT_REVISION_202. metze
| * s4:libcli/smb2: use new SMB2_DIVELECT_REVISION constantsStefan Metzmacher2009-05-261-2/+5
| | | | | | | | | | | | | | Also send them in the order a windows client would send them (the lowest first). metze
| * s4:libcli/smb2: add some more SMB2 constantsStefan Metzmacher2009-05-261-4/+14
| | | | | | | | metze
| * s3 WHATSNEW: Mention the changes to netKai Blin2009-05-261-0/+35
| |
* | a useful debugging toolAndrew Tridgell2009-05-281-0/+7
| | | | | | | | | | | | When looking at performance problems with ldb it can be useful to see which searches causes unindexed full searches. This makes it easy to enable that.
* | fixed one-level indexingAndrew Tridgell2009-05-281-6/+2
| | | | | | | | | | | | | | | | one-level indexing was not always effective due to some broken logic in the indexing code. This change means that if normal indexing fails, we can still fall back on one-level indexing. This reduces the number of full unindexed searches in s4 quite a lot
* | enable one-level indexing in sam.ldbAndrew Tridgell2009-05-281-0/+5
| |
* | make TDB_NOSYNC affect all the fsync/msync calls in transactionsAndrew Tridgell2009-05-281-5/+7
| | | | | | | | | | | | During a transaction commit tdb normally uses fsync/msync calls to make it crash safe. This can be disabled using the TDB_NOSYNC flag, but it wasn't disabling all the code paths that caused a fsync/msync.
* | use domain_dn not ncnameAndrew Tridgell2009-05-261-3/+2
|/ | | | fixed up from previous patch that removed the use of crossref records
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-05-2618-615/+330
|\
| * Don't use crossRef records to find our own domainAndrew Bartlett2009-05-2616-615/+253
| | | | | | | | | | | | | | | | A single AD server can only host a single domain, so don't stuff about with looking up our crossRef record in the cn=Partitions container. We instead trust that lp_realm() and lp_workgroup() works correctly. Andrew Bartlett
| * Add support for sendmsg() in socket_wrapperAndrew Bartlett2009-05-262-0/+77
| | | | | | | | | | | | | | | | This is required because the deferred connect code skips the connect() until sending the packet, but unless we catch this call, the connect() never happens. Andrew Bartlett
* | s4:provision: Added ComPartitionSets entry.Andrew Kroeger2009-05-261-0/+5
| | | | | | | | | | | | | | Without this entry, opening the COM+ tab under the properties of an OU within ADUC results in the following error: "Unable to retrieve all user properties, 0x80072030"
* | s4:Added Extended-Rights and subentries.Andrew Kroeger2009-05-261-0/+881
| | | | | | | | | | | | | | | | Without these entries, using the 'Delegate Control' option in ADUC results in the following error message in the Delegation of Control Wizard: "The templates could not be applied. One or more of the templates is not applicable. Click Back and select different templates, and then try again."
* | s4:provision: Update DisplaySpecifiers (#5139).Andrew Kroeger2009-05-261-0/+369
| | | | | | | | | | | | | | | | | | | | | | | | The classDisplayName attribute controls the actual text displayed to the user for the top-level menus, so added it to the existing entries. The attributeDisplayNames attribute contains both the text displayed to the user and a mapping to the internal directory attribute name for the particular field, so added these to the existing entries as well. Added new entries as appropriate to properly complete all menus and labels within ADUC.
* | Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-05-2631-339/+775
|\|
| * s3:dbwrap_tool: add listkeys operationMichael Adam2009-05-261-2/+45
| | | | | | | | Michael
| * s3:dbwrap_tool: remove superfluous command mappingMichael Adam2009-05-261-1/+0
| | | | | | | | Michael
| * s3:dbwrap_tool: add "erase" opearationMichael Adam2009-05-261-6/+42
| | | | | | | | Michael
| * net: Use samba default command line arguments.Kai Blin2009-05-2511-209/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attention: The meaning of the -N flag changed. To get the old meaning for net groupmap set, use the long option --ntname The long option for using kerberos changed from --kerberos to --use-kerberos net rpc commands will now prompt for a password if none is given. As a benefit, net will now accept an authentication file like other samba command line tools. So no need to specify the password on the command line in scripts anymore. This should fix bug #6357 Signed-off-by: Kai Blin <kai@samba.org>
| * s3 ctags: ignore all proto.h files for tag generationKai Blin2009-05-251-1/+1
| |
| * s3:winbind_util: remove trailing spacesMichael Adam2009-05-251-56/+56
| | | | | | | | Michael
| * s3:dbwrap_ctdb: fix some function header commentsMichael Adam2009-05-251-3/+12
| | | | | | | | Michael
| * source3/utils/log2pcaphex.c(main): fixed file descriptors leak.Slava Semushin2009-05-251-0/+8
| | | | | | | | | | One of leaks found by cppcheck: [./source3/utils/log2pcaphex.c:367]: (error) Resource leak: out
| * source{3,4}/torture/smbiconv.c(main): fixed file descriptor leak.Slava Semushin2009-05-252-0/+2
| | | | | | | | | | | | | | | | File descriptor leaks only when we use file instead of stdout. Found by cppcheck: [./source3/torture/smbiconv.c:219]: (error) Resource leak: out [./source4/torture/smbiconv.c:211]: (error) Resource leak: out
| * nsswitch/winbind_nss_aix.c(fill_grent): fixed memory leak.Slava Semushin2009-05-251-0/+3
| | | | | | | | | | Found by cppcheck: [./nsswitch/winbind_nss_aix.c:241]: (error) Memory leak: result
| * s3-selftest: fix typo.Günther Deschner2009-05-251-2/+2
| | | | | | | | Guenther
| * s3:winbind:idmap_ldap: warn about duplicate SID->XID mappings (bug #6387)Michael Adam2009-05-251-2/+11
| | | | | | | | | | | | | | | | With the current infrastructure, we should not return error on duplicate mappings but just warn instead (because an error would trigger the attempt to create yet another mapping). Michael
| * s3:winbind:idmap_ldap: warn about duplicate XID->SID mappings (bug #6387)Michael Adam2009-05-251-0/+8
| | | | | | | | | | | | | | | | With the current infrastructure, we should not return error on duplicate mappings but just warn instead (because an error would trigger the attempt to create yet another mapping). Michael
| * s3-samr: Fix Bug #6372, usermanager only displaying 1024 groups and aliases.Günther Deschner2009-05-251-0/+12
| | | | | | | | | | | | This is now also verified with the RPC-SAMR-LARGE-DC test. Guenther
| * s3-selftest: enable RPC-SAMR-LARGE-DC against Samba3.Günther Deschner2009-05-251-1/+1
| | | | | | | | | | | | | | This will fail for alias creation as nss_wrapper does not yet wrap around libnss_winbind. Guenther
| * s4-smbtorture: add RPC-SAMR-LARGE-DC test.Günther Deschner2009-05-252-1/+332
| | | | | | | | | | | | | | This rather simple test creates 4500 objects on a domain controller and checks the enum calls for the correct number of results. Guenther
| * s4-smbtorture: rename test_EnumDomain{Users,Groups,Aliases} in RPC-SAMR.Günther Deschner2009-05-251-11/+12
| | | | | | | | Guenther
| * s4-smbtorture: re-work test_Create{User,Group,Alias} a little.Günther Deschner2009-05-251-14/+38
| | | | | | | | Guenther
| * s3-pamsmbpass: copy _pam_get_item and _pam_get_data from pam_winbind.Günther Deschner2009-05-254-15/+42
| | | | | | | | Guenther
| * s3-rpcclient: use get_domain_handle() fn in enum domain users & groups.Günther Deschner2009-05-251-12/+10
| | | | | | | | Guenther
| * Attempt to fix a debian build problemVolker Lendecke2009-05-251-1/+1
| |
| * s3/docs: Fix typos.Karolin Seeger2009-05-251-4/+4
| | | | | | | | | | | | Thanks to Oota Toshiya <t-oota at dh.jp.nec.com> for reporting! Karolin
* | added some more speed tests to tdbtoolAndrew Tridgell2009-05-261-6/+59
|/ | | | | | | This adds 3 simple speed tests to tdbtool, for transaction store, store and fetch. On my laptop this shows transactions costing about 10ms
* fixed interpretation of ACB_PWNOTREQAndrew Tridgell2009-05-252-15/+6
| | | | | | This bit actually means that we should ignore the minimum password length field for this user. It doesn't mean that the password should be seen as empty
* fixed the client side password change codeAndrew Tridgell2009-05-251-61/+25
| | | | | | The client side code was not falling back to older routines correctly as it didn't check for the operation range error appropriately. It also used the old rpc semantics.
* cope with lanman auth being disabled in old password change codeAndrew Tridgell2009-05-251-8/+15
| | | | | When lanman auth is disabled and a user calls a password change method that requires it we should give NT_STATUS_NOT_SUPPORTED
* TALLOC_FREE happily lives with a NULL ptr. Tim, please check!Volker Lendecke2009-05-243-48/+16
| | | | | | Thanks, Volker
* Fix a race condition in winbind leading to a panicVolker Lendecke2009-05-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | In winbind, we do multiple events in one select round. This needs fixing, but as long as we're still using it, for efficiency reasons we need to do that. What can happen is the following: We have outgoing data pending for a client, thus state->fd_event.flags == EVENT_FD_WRITE Now a new client comes in, we go through the list of clients to find an idle one. The detection for idle clients in remove_idle_client does not take the pending data into account. We close the socket that has pending outgoing data, the accept(2) one syscall later gives us the same socket. In new_connection(), we do a setup_async_read, setting up a read fde. The select from before however had found the socket (that we had already closed!!) to be writable. In rw_callback we only want to see a readable flag, and we panic in the SMB_ASSERT(flags == EVENT_FD_READ). Found using bin/smbtorture //127.0.0.1/tmp -U% -N 500 -o 2 local-wbclient Volker
* use epoll for local-wbclient testVolker Lendecke2009-05-241-1/+1
|
* Don't limit the number of retries in wb_trans.Volker Lendecke2009-05-241-8/+0
| | | | This is better done with a tevent_req_set_endtime the caller should issue.
* Don't set a timeout deep inside wb_connectVolker Lendecke2009-05-241-5/+0
|
* Change async_connect to use connect instead of getsockopt to get the errorVolker Lendecke2009-05-241-14/+24
| | | | | On my Linux box, this is definitely the more reliable strategy with unix domain sockets, and according to my tests it also works correctly with TCP sockets.
* Do queueing in wbclient.cVolker Lendecke2009-05-242-46/+59
| | | | | The _trigger fn must know about wbc_context, while we were waiting in the queue the fd might have changed