summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-06-29Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.confDavid Markey1-1/+1
2009-06-28_lsa_QueryInfoPolicy: Use symbolic info level namesVolker Lendecke1-4/+4
2009-06-28Turn the pdb_rid_algorithm into a capabilities call that returns flagsVolker Lendecke10-30/+33
2009-06-28Make pdb_ads survive a restart of Samba4Volker Lendecke1-106/+225
The search function retries once, the modifying call that hits a dead smbd returns an error. The next try will reconnect. This was simple to implement and provides a good compromise against Samba4 idling our connection. Most of the modifying calls are quickly after a search (like OpenUser) anyway.
2009-06-28If the connection is down, don't try another write.Volker Lendecke2-0/+18
2009-06-28Add tldap_search_vaVolker Lendecke2-8/+24
2009-06-28tldap_msg_received: Properly free the asn1_struct in case of an errorVolker Lendecke1-0/+1
2009-06-27Move read_ldap_done after read_ldap_sendVolker Lendecke2-26/+27
2009-06-27Convert tldap to tstreamVolker Lendecke2-12/+18
2009-06-27Add tstream_read_packetVolker Lendecke3-0/+150
2009-06-27tldap: Don't fire off more than one read_ldap request during searchesVolker Lendecke1-10/+22
2009-06-27Stop listening for inotify data when there's noneVolker Lendecke1-0/+1
There have been some reports that we're flooding syslog with "No data on inotify fd?!". I haven't been able to reproduce this yet. Until then, it is better to just list this message once.
2009-06-27Fix some nonempty blank linesVolker Lendecke1-9/+9
2009-06-27s3/lanman: Workaround for KB932762.Volker Lendecke1-0/+1
This addresses bug #6498.
2009-06-26The solaris linker seems to require an extra mention of dependent libsVolker Lendecke1-3/+8
2009-06-26Don't use ads realm name for non-ads case. #6481Jim McDonough1-7/+9
Also check that the connection to ads worked.
2009-06-26Fix some dead code warnings from SUN StudioVolker Lendecke2-4/+4
2009-06-26Fix a typo in a commentVolker Lendecke1-1/+1
2009-06-26s3:passdb: fix bug #6509: use gid (not uid) cache in fetch_gid_from_cache().Michael Adam1-1/+1
With the previous code, the cache can never have been hit at all. Michael
2009-06-26s3-vlp: drastically shrink size and dependencies of the virtual line printer.Günther Deschner2-22/+14
This gets vlp from 13M down to 214K on my box. Guenther
2009-06-25s3: pass a valid stat into file_ntimes()Tim Prouty3-4/+4
file_ntimes() calls can_write_to_file() which expects a valid stat struct
2009-06-25s3 file_access: Convert some more functions over to use smb_filneameTim Prouty6-43/+64
2009-06-25s3: simplify some redundant logic in is_ntfs_default_stream_smb_fname()Tim Prouty1-5/+1
2009-06-25s3: Remove get_full_smb_filename() from open_directory()Tim Prouty1-19/+9
This is possible because open_directory() returns an error if the fname is a stream, so the base_name can be used.
2009-06-25s3 onefs: Plumb smb_filename through onefs createfile pathTim Prouty4-221/+322
2009-06-25s3: Change set_ea() and its callers to use smb_filenameTim Prouty3-15/+19
2009-06-25Fix bug #6506 - SMBD server doesn't set EAs when a file is overwritten in ↵Jeremy Allison1-1/+2
NT_TRANSACT_CREATE. Reported and verified by Long Li <longli@microsoft.com> Jeremy.
2009-06-25s3-netlogon: remove remaining netlogon init functions.Günther Deschner3-148/+39
Guenther
2009-06-25Add a \n to a debug message in smbacl4_nfs42winVolker Lendecke1-1/+1
2009-06-25s3-netlogon: remove init_netr_SamInfo functions.Günther Deschner3-194/+25
Guenther
2009-06-25s3-netlogon: fix validation level 2 support in netr_SamLogon and friends.Günther Deschner3-47/+116
Guenther
2009-06-25s3-samr: refactor _samr_SetDomainInfo().Günther Deschner1-25/+72
Guenther
2009-06-25s3-samr: refactor _samr_QueryDomainInfo().Günther Deschner1-213/+322
Guenther
2009-06-24s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTATTim Prouty36-658/+1142
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.
2009-06-24s3: Convert is_visible_file to use talloc_asprintf instead of mallocTim Prouty1-14/+15
2009-06-24s3:smbd: send SMB2 interim responses for async callsStefan Metzmacher5-0/+25
metze
2009-06-24s3:smbd: add support for async interim SMB2 responses and prepare SMB2 cancelStefan Metzmacher2-1/+157
metze
2009-06-24s3:smbd: keep a list of outstanding SMB2 requestsStefan Metzmacher2-28/+69
metze
2009-06-24s3:smbd: add smbd_smb2_send_oplock_break()Stefan Metzmacher2-0/+93
metze
2009-06-24s3:smbd: the SMB2-COMPOUND test shows that the related vs. unrelated flags ↵Stefan Metzmacher1-0/+7
isn't checked first metze
2009-06-24Only set the password if there is oneVolker Lendecke1-4/+8
2009-06-24s3-printing: eliminate another non sec_initial_uid using security check.Günther Deschner1-1/+1
Guenther
2009-06-24s3-spoolss: restructure _spoolss_EndDocPrinter().Günther Deschner1-30/+32
Guenther
2009-06-23s3-lsa: Fix error path in _lsa_EnumAccountRights.Günther Deschner1-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
2009-06-23s3-eventlog: implement _eventlog_ReportEventW().Günther Deschner1-6/+77
Guenther
2009-06-22s3: forward MSG_DEBUG from smbd parent to all childrenAravind Srinivasan4-14/+59
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.
2009-06-22s3-libnet: fix libnet_unjoin_remove_machine_acct() when called without ads ↵Günther Deschner1-1/+7
struct. Guenther
2009-06-20Add tldap paged searches, together with two helper routinesVolker Lendecke4-0/+345
2009-06-20Reorganize retrieving errors and server-sent controlsVolker Lendecke3-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.
2009-06-20Move asn1_load_nocopy() to lib/util/asn1.cVolker Lendecke1-7/+0