summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes for SAMBA3RPC torture testMatthias Dieter Wallnöfer2009-06-291-4/+11
| | | | | | On calls where both NT_STATUS and WERROR results are returned and consulted we have to make sure to form function results considering both. This errors have been found through a run against SAMBA 4.
* Small patch for SPOOLSS pipeMatthias Dieter Wallnöfer2009-06-291-5/+5
| | | | | Prevents a crash of the SAMBA 4 daemon on the torture SPOOLSS test due to not initialised structures.
* _lsa_QueryInfoPolicy: Use symbolic info level namesVolker Lendecke2009-06-281-4/+4
|
* Turn the pdb_rid_algorithm into a capabilities call that returns flagsVolker Lendecke2009-06-2810-30/+33
|
* Make pdb_ads survive a restart of Samba4Volker Lendecke2009-06-281-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.
* If the connection is down, don't try another write.Volker Lendecke2009-06-282-0/+18
|
* Add tldap_search_vaVolker Lendecke2009-06-282-8/+24
|
* tldap_msg_received: Properly free the asn1_struct in case of an errorVolker Lendecke2009-06-281-0/+1
|
* Move read_ldap_done after read_ldap_sendVolker Lendecke2009-06-272-26/+27
|
* Convert tldap to tstreamVolker Lendecke2009-06-272-12/+18
|
* Add tstream_read_packetVolker Lendecke2009-06-273-0/+150
|
* Properly free a downlevel readv request. Metze, please checkVolker Lendecke2009-06-271-0/+1
|
* tldap: Don't fire off more than one read_ldap request during searchesVolker Lendecke2009-06-271-10/+22
|
* Stop listening for inotify data when there's noneVolker Lendecke2009-06-271-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.
* Fix some nonempty blank linesVolker Lendecke2009-06-271-9/+9
|
* s3/lanman: Workaround for KB932762.Volker Lendecke2009-06-271-0/+1
| | | | This addresses bug #6498.
* The solaris linker seems to require an extra mention of dependent libsVolker Lendecke2009-06-261-3/+8
|
* Don't use ads realm name for non-ads case. #6481Jim McDonough2009-06-261-7/+9
| | | | Also check that the connection to ads worked.
* 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
|