summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some dead code warnings from SUN StudioVolker Lendecke2009-06-262-4/+4
|
* Fix a typo in a commentVolker Lendecke2009-06-261-1/+1
|
* Upgrade ntvfs_map_*info to ntvfs_map_async_setup/ntvfs_map_async_finishSam Liddicott2009-06-261-33/+80
| | | | | | | | | | | | | ntvfs_map_fsinfo, ntvfs_map_qpathinfo, ntvfs_map_qfileinfo used an old synchronous mapping technique, acceptable on the grounds that they were only used by the simple vfs which was synchronous. Other vfs may/do use these functions, and by upgrading them to use the ntvfs_map_async_setup/ntvfs_map_async_finish framework, they can now be used asynchronously. Signed-off-by: Sam Liddicott <sam@liddicott.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:passdb: fix bug #6509: use gid (not uid) cache in fetch_gid_from_cache().Michael Adam2009-06-261-1/+1
| | | | | | With the previous code, the cache can never have been hit at all. Michael
* s3-vlp: drastically shrink size and dependencies of the virtual line printer.Günther Deschner2009-06-262-22/+14
| | | | | | This gets vlp from 13M down to 214K on my box. Guenther
* s3: pass a valid stat into file_ntimes()Tim Prouty2009-06-253-4/+4
| | | | file_ntimes() calls can_write_to_file() which expects a valid stat struct
* s3 file_access: Convert some more functions over to use smb_filneameTim Prouty2009-06-256-43/+64
|
* s3: simplify some redundant logic in is_ntfs_default_stream_smb_fname()Tim Prouty2009-06-251-5/+1
|
* s3: Remove get_full_smb_filename() from open_directory()Tim Prouty2009-06-251-19/+9
| | | | | This is possible because open_directory() returns an error if the fname is a stream, so the base_name can be used.
* s3 onefs: Plumb smb_filename through onefs createfile pathTim Prouty2009-06-254-221/+322
|
* s3: Change set_ea() and its callers to use smb_filenameTim Prouty2009-06-253-15/+19
|
* Fix bug #6506 - SMBD server doesn't set EAs when a file is overwritten in ↵Jeremy Allison2009-06-251-1/+2
| | | | | | | NT_TRANSACT_CREATE. Reported and verified by Long Li <longli@microsoft.com> Jeremy.
* s4 auth_winbind: Internally, info3 has utf8 buffers, not utf16 buffers.Kai Blin2009-06-251-63/+16
| | | | Thanks to gd for the catch.
* s4 auth_winbind: Don't allocate the rids for the info3 structure within the loopKai Blin2009-06-251-4/+4
|
* s4: Add libwbclient backend to auth_winbindKai Blin2009-06-252-1/+216
|
* s3-netlogon: remove remaining netlogon init functions.Günther Deschner2009-06-253-148/+39
| | | | Guenther
* Add a \n to a debug message in smbacl4_nfs42winVolker Lendecke2009-06-251-1/+1
|
* mount.cifs: add support for sending IPv6 scope ID to kernelJeff Layton2009-06-251-0/+8
| | | | | | | | | When getaddrinfo returns an IPv6 address with a non-zero scope_id, send that to the kernel appended to the address with a '%' delimiter. This allows people to mount servers via their link-local IPv6 addresses (given a kernel that understands this address format, of course). Signed-off-by: Jeff Layton <jlayton@redhat.com>
* s3-netlogon: remove init_netr_SamInfo functions.Günther Deschner2009-06-253-194/+25
| | | | Guenther
* s3-netlogon: fix validation level 2 support in netr_SamLogon and friends.Günther Deschner2009-06-253-47/+116
| | | | Guenther
* s3-examples: make get_next_oid exectuable.Günther Deschner2009-06-251-0/+0
| | | | Guenther
* s3-samr: refactor _samr_SetDomainInfo().Günther Deschner2009-06-251-25/+72
| | | | Guenther
* s3-samr: refactor _samr_QueryDomainInfo().Günther Deschner2009-06-251-213/+322
| | | | Guenther
* s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTATTim Prouty2009-06-2438-666/+1150
| | | | | | | | | | | | | This patch introduces two new temporary helper functions vfs_stat_smb_fname and vfs_lstat_smb_fname. They basically allowed me to call the new smb_filename version of stat, while avoiding plumbing it through callers that are still too inconvenient. As the conversion moves along, I will be able to remove callers of this, with the goal being to remove all callers. There was also a bug in create_synthetic_smb_fname_split (also a temporary utility function) that caused it to incorrectly handle filenames with ':'s in them when in posix mode. This is now fixed.
* s3: Convert is_visible_file to use talloc_asprintf instead of mallocTim Prouty2009-06-241-14/+15
|
* s3:smbd: send SMB2 interim responses for async callsStefan Metzmacher2009-06-245-0/+25
| | | | metze
* s3:smbd: add support for async interim SMB2 responses and prepare SMB2 cancelStefan Metzmacher2009-06-242-1/+157
| | | | metze
* s3:smbd: keep a list of outstanding SMB2 requestsStefan Metzmacher2009-06-242-28/+69
| | | | metze
* s3:smbd: add smbd_smb2_send_oplock_break()Stefan Metzmacher2009-06-242-0/+93
| | | | metze
* s3:smbd: the SMB2-COMPOUND test shows that the related vs. unrelated flags ↵Stefan Metzmacher2009-06-241-0/+7
| | | | | | isn't checked first metze
* Reenable the LDAPI socket for the merged buildVolker Lendecke2009-06-241-2/+0
| | | | | | | | | | | It seems that the samba4 part of the merged build does not pick up the DEVELOPER flag from the s3 configure. Jelmer, can you fix that properly? Thanks, Volker
* Only set the password if there is oneVolker Lendecke2009-06-241-4/+8
|
* s4-smbtorture: more paranoid checks while testing group membership in RPC-SAMR.Günther Deschner2009-06-241-1/+27
| | | | Guenther
* s3-printing: eliminate another non sec_initial_uid using security check.Günther Deschner2009-06-241-1/+1
| | | | Guenther
* s3-spoolss: restructure _spoolss_EndDocPrinter().Günther Deschner2009-06-241-30/+32
| | | | Guenther
* s3-lsa: Fix error path in _lsa_EnumAccountRights.Günther Deschner2009-06-231-2/+11
| | | | | | | | This needs to return NT_STATUS_OBJECT_NAME_NOT_FOUND again as described in MS-LSAD 3.1.4.5.10 and tested with the RPC-SAMR-USER-PRIVILEGES test. Guenther
* s3-eventlog: implement _eventlog_ReportEventW().Günther Deschner2009-06-231-6/+77
| | | | Guenther
* s3: re-run make idl.Günther Deschner2009-06-235-42/+216
| | | | Guenther
* samr: add samr_UserInfoLevel and samr_DomainInfoClass enums based on MS-SAMR.Günther Deschner2009-06-231-7/+51
| | | | Guenther
* s3: forward MSG_DEBUG from smbd parent to all childrenAravind Srinivasan2009-06-225-15/+63
| | | | | | | | | | | | | | | | | | | Before 3.3, an smbcontrol debug message sent to the target "smbd" would actually be sent to all running processes including nmbd and winbindd. This behavior was changed in 3.3 so that the "smbd" target would only send a message to the process found in smbd.pid, while the "all" target would send a message to all processes. The ability to set the debug level of all processes within a single daemon, without specifying each pid is quite useful. This was implemented in winbindd in 065760ed. This patch does the same thing for smbd. Upon receiving a MSG_DEBUG the parent smbd will rebroadcast it to all of its children. The printing process has been added to the list of smbd child processes, and we now always track the number of smbd children regardless of the "max smbd processes" setting.
* s3-libnet: fix libnet_unjoin_remove_machine_acct() when called without ads ↵Günther Deschner2009-06-221-1/+7
| | | | | | struct. Guenther
* Add tldap paged searches, together with two helper routinesVolker Lendecke2009-06-204-0/+345
|
* Reorganize retrieving errors and server-sent controlsVolker Lendecke2009-06-203-93/+72
| | | | | | | This attaches the data to the tldap_message instead of the tevent_req. It adds tldap_ctx_lastmsg() to retrieve the last message for the users of the sync wrappers.
* Move asn1_load_nocopy() to lib/util/asn1.cVolker Lendecke2009-06-203-7/+11
|
* Move asn1_blob() to lib/util/asn1.cVolker Lendecke2009-06-203-13/+17
|
* Add tldap_supports_controlVolker Lendecke2009-06-202-0/+12
|
* Add tldap_entry_has_attrvalueVolker Lendecke2009-06-202-0/+22
|
* tldap control supportVolker Lendecke2009-06-202-9/+128
|
* Prepare control supportVolker Lendecke2009-06-204-58/+90
| | | | | | | | | We will have arrays of controls passed to tldap.c. Follow a mantra from the classic book "Thinking Forth" by Leo Brodie: Favor counts over terminators :-) This makes the parameter lists to tldap pretty long, but everyone will have wrapper routines anyway, see for example tldap_search_fmt. And the OpenLDAP manpages call the non-_ext routines deprecated, probably for a reason.
* Fix setting passwords in pdb_adsVolker Lendecke2009-06-201-6/+7
| | | | | | | | | | | | | | The samba4 password_hash module does not allow changing the password fields via the "delete oldval" -> "add newval" set of modify operations, it requires a single "replace with newval" operation. Andrew, Samba3 by default uses that delete/add pair to detect if between fetching the old value and storing the new one the old value has changed. This is lost by using the "replace" operation. Would it make sense to add this to the password_hash module? Volker