summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
* r23223: Convert a leftover direct tdb access to sessionid.tdbVolker Lendecke2007-05-291-12/+13
|
* r23204: Add MSG_SMB_BRL_VALIDATE. Tridge, this is a bit different from your bzrVolker Lendecke2007-05-291-0/+30
| | | | | | | | | | branch, please check if it fulfils your needs. Two changes: The validation is not done inside the brlock.c traverse_fn, it's done as a separate routine. Secondly, this patch does not call the checker routines in smbcontrol directly but depends on a running smbd.
* r23198: cherry pick more patches from SAMBA_3_0Gerald Carter2007-05-293-11/+15
|
* r23195: Add void *private_data to brl_forallVolker Lendecke2007-05-291-2/+3
|
* r23183: Check in a change made by Tridge:Volker Lendecke2007-05-291-6/+23
| | | | | | | | | | | | | This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker
* r23171: Convert connections.tdb to dbwrapVolker Lendecke2007-05-283-6/+7
|
* r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'mVolker Lendecke2007-05-211-36/+28
| | | | | | | | | | | doing this because for the clustering the marshalling is needed in more than one place, so I wanted a decent routine to marshall a message_rec struct which was not there before. Tridge, this seems about the same speed as it used to be before, the librpc/ndr overhead in my tests was under the noise. Volker
* r23010: Make the output of "smbcontrol --help" match that of "smbcontrol help".James Peach2007-05-191-5/+30
| | | | Bug #3181.
* r23009: Both contains a strchr_m(server,'/') few lines after replacing all / ↵James Peach2007-05-192-10/+4
| | | | | | | | with \. This patch removes this dead code. Patch from Pascal Terjan <pterjan@mandriva.com> for bug #2313.
* r23005: If we're running on a system where time_t is 8 bytesJeremy Allison2007-05-181-2/+2
| | | | | | | | we have to take care to preserve the "special" values for Windows of 0x80000000 and 0x7FFFFFFF when casting between time_t and uint32. Add conversion functions (and use them). Jeremy.
* r22973: Apparently, 3.0.25 broke smb4k badly ;-)Alexander Bokovoy2007-05-171-2/+6
| | | | | | | | smb4k uses 'net rap server domain' to list servers in domain. Previously we just ignored all arguments in net_rap_server() but now we don't as 'net rap server name' has added an explicit check on arguments. Allow 'net rap server domain' to aid smb4k. Any other arguments will cause help message.
* r22954: More messaging_registerVolker Lendecke2007-05-161-6/+0
|
* r22945: merge 22009 from SAMBA_3_0 + some warning fixes for new code:Stefan Metzmacher2007-05-161-1/+1
| | | | | | | | change TDB_DATA from char * to unsigned char * and fix all compiler warnings in the users metze
* r22934: Change smbcontrol to use messaging_register instead of message_registerVolker Lendecke2007-05-161-23/+35
|
* r22932: Use the same symbol in sizeof and cast for talloc.Michael Adam2007-05-161-1/+1
|
* r22911: Pass a messaging_context to message_send_allVolker Lendecke2007-05-151-1/+1
|
* r22909: Change prototype of dump_data(), so that it takes unsigned char *Michael Adam2007-05-152-25/+25
| | | | | | | | | | instead of char *, which matches what samba4 has. Fix all the callers to prevent compiler warnings. This essentially ports r22001 from SAMBA_3_0 to SAMBA_3_0_26. There are a few additional type cast corrections.
* r22908: All callers of message_init now also call messaging_init. Unify those.Volker Lendecke2007-05-151-3/+0
|
* r22906: Some more message_send_pidVolker Lendecke2007-05-151-33/+46
|
* r22900: Convert profile/ to messaging_send_pid/messaging_registerVolker Lendecke2007-05-151-2/+2
|
* r22897: Fix c++ warnings (add explicit casts).Michael Adam2007-05-151-2/+2
|
* r22868: Replace some message_send_pid calls with messaging_send_pid calls. MoreVolker Lendecke2007-05-141-29/+65
| | | | tomorrow.
* r22867: With Samba4's IDL, we now have two new flags for share types: ↵Alexander Bokovoy2007-05-141-1/+1
| | | | | | | | | STYPE_TEMPORARY and STYPE_HIDDEN Strip them out when referencing share_type[] entries. Apparently, some Windows XP installs create shares set to STYPE_HIDDEN by default, found by Damir Shayhutdinov <damir@altlinux.org>. This also fixes smb4k crashes as it does call 'net share -l'.
* r22861: Janitor for James Peach for rev. 22828.Jeremy Allison2007-05-141-1/+1
| | | | | | "Fix typo. Bugzilla #4589." Please keep all branches in order. Jeremy.
* r22857: merge "net ads keytab list" from 3_0.Günther Deschner2007-05-141-1/+9
| | | | Guenther
* r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke2007-05-142-31/+31
| | | | replace all data_blob(NULL, 0) calls.
* r22787: More from Karolin: Make map_unix_group() static to net_sam.c, add "netVolker Lendecke2007-05-111-0/+118
| | | | sam unmapunixgroup"
* r22786: Some cleanup by Karolin Seeger: Remove unused pdb_find_alias, and changeVolker Lendecke2007-05-111-7/+8
| | | | | | return values of some alias-releated pdb functions from BOOL to NTSTATUS Thanks :-)
* r22768: Merge from 3_0:Volker Lendecke2007-05-091-0/+42
| | | | | | | | r22412 | obnox | 2007-04-20 14:23:36 +0200 (Fr, 20 Apr 2007) | 5 lines Add a "deletelocalgroup" subcommand to net sam. Thanks to Karolin Seeger <ks@sernet.de>.
* r22761: This introduces lib/conn_tdb.c with two main functions: ↵Volker Lendecke2007-05-083-116/+43
| | | | | | | | | connections_traverse and connections_forall. This centralizes all the routines that did individual tdb_open("connections.tdb") and direct tdb_traverse. Volker
* r22751: Next step for the cluster merge: sessionid.tdb should contain a 'structVolker Lendecke2007-05-072-16/+16
| | | | server_id' instead of a 'uint32 pid'
* r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke2007-05-074-38/+38
| | | | | | | | | patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker
* r22729: add help text for osver and osname options to 'net ads join' (patch ↵Gerald Carter2007-05-061-1/+6
| | | | from Dnailo A.)
* r22728: Patch from Danilo Almeida <dalmeida@centeris.com>:Gerald Carter2007-05-061-9/+31
| | | | | | When asked to create a machine account in an OU as part of "net ads join" and the account already exists in another OU, simply move the machine object to the requested OU.
* r22590: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison2007-04-301-4/+8
| | | | | That should be it.... Jeremy.
* r22588: Make all uses of TALLOC_MEMDUP consistent.Jeremy Allison2007-04-301-1/+5
| | | | Jeremy.
* r22282: Fix last few name -> servicename changes.Jeremy Allison2007-04-162-3/+3
| | | | Jeremy.
* r22169: Merge from 3.0Andrew Bartlett2007-04-111-1/+1
| | | | | | | | Print the correct variable (configfile), when complainig that it cannot be loaded. This makes it much more clear when the command line option is misused (like -c is create for the apache htpasswd utility). Andrew Bartlett
* r22003: Fix from Jiri.Sasek@Sun.COM to wrap our krb5_locate_kdcJeremy Allison2007-03-281-2/+2
| | | | | | call as smb_krb5_locate_kdc to prevent incorrect linking and crashes on Solaris. Jeremy.
* r21888: Add the osname and osver options to 'net ads join' as discussed Gerald Carter2007-03-201-1/+94
| | | | | | | | on the samba-technical ml. I'll add a 'net ads set attribute=value' utility later rather than the original 'net ads setmachineupn' patch that was also posted to the tech ml.
* r21856: Re-merge svn r16619 from trunk that was lost when adding PIDLGerald Carter2007-03-161-5/+4
| | | | | | | | | and then not merging PIDL to SAMBA_3_0_25. * Rework parsing for NetFileEnum() and NetSessionEnum() * Add server stub for NetFileClose() * Return correct information for sessions and open files including session duration, number of open files, and open pipes.
* r21780: let smbcontrol use POPT_COMMON_SAMBA options to allow setting debugHerb Lewis2007-03-091-20/+8
| | | | | level. Fix calculation of argc after options are stripped. I couldn't find a popt function that returned this.
* r21776: fix bugs #4438 #4440Simo Sorce2007-03-091-4/+10
|
* r21768: Fix the client dfs code such that smbclient canJeremy Allison2007-03-081-2/+10
| | | | | | | | | process deep dfs links (ie. links that go to non root parts of a share). Make the directory handling conanonical in POSIX and Windows pathname processing. dfs should not be fully working in client tools. Please bug me if not. Jeremy.
* r21755: Memory leak fixes from Zack Kirsch <zack.kirsch@isilon.com>.Jeremy Allison2007-03-072-0/+10
| | | | Jeremy.
* r21714: Change the VFS interface to use struct timespecJeremy Allison2007-03-053-6/+6
| | | | | | | | | | for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy.
* r21663: Fix from the Wine guys: Robert Shearman <rob@codeweavers.com>Jeremy Allison2007-03-021-1/+2
| | | | | | | | The background behind this patch is that we're using ntlm_auth with Wine. Windows allows us to pass in a NULL domain and a username of the form of "user@domain" and this is converted into an NTLMSSP_AUTH packet with a NULL domain name and a username of the same form. Jeremy.
* r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).Jeremy Allison2007-03-012-0/+31
| | | | | Patch from Zack Kirsch <zack.kirsch@isilon.com>. Jeremy.
* r21608: Fix a couple of memleaks in error code paths beforeJeremy Allison2007-03-011-1/+10
| | | | | Coverity finds them :-) Jeremy.
* r21607: While committing I saw I had not newline terminated this string ...Simo Sorce2007-03-011-1/+1
|