summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* source3/include/smb_ldap.h: fix licence/copyrightGünther Deschner2011-06-101-0/+22
| | | | Guenther
* source3/include/smb_krb5.h: fix licence/copyrightGünther Deschner2011-06-101-0/+22
| | | | Guenther
* source3/include/mangle.h: fix licence/copyrightGünther Deschner2011-06-101-0/+19
| | | | Guenther
* source3/include/krb5_protos.h: fix licence/copyrightGünther Deschner2011-06-101-2/+29
| | | | Guenther
* source3/include/krb5_env.h: fix licence/copyrightGünther Deschner2011-06-101-0/+24
| | | | Guenther
* bug in source3/winbindd/winbindd_sids_to_xids.cHerb Lewis2011-06-101-1/+4
| | | | | | | | | | | | | | | | I'm having trouble getting my system setup to do submits right now but I discovered a bug in the subject file that causes winbindd lookup sids command to assign incorrect unix ids. The change to sid_peek_rid fixes the case where you call lookup sids with sids s1 s2 s3 which cause them to be cached. then call with s1 s2 s4 and s4 will get the unix id of s1. The other change fixes the case where a sid that was not translated gets a value returned instead of being listed as unmapped. Could someone review this and push to master and 3.6 for me? Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jun 10 14:35:21 CEST 2011 on sn-devel-104
* Export init_stat_ex_from_stat for use in VFS modules.Richard Sharpe2011-06-102-6/+19
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jun 10 13:23:37 CEST 2011 on sn-devel-104
* s3-param Avoid strupper_m() where possible.Andrew Bartlett2011-06-101-5/+12
| | | | | | | Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 10 04:37:54 CEST 2011 on sn-devel-104
* s3:vfs cleanup unused code in vfs_recycleChristian Ambach2011-06-091-26/+0
| | | | | | | | connect/disconnect do not more than just logging that they were called. this seems pretty useless Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Jun 9 18:59:58 CEST 2011 on sn-devel-104
* s3:net fix a typoChristian Ambach2011-06-091-1/+1
| | | | | | | fix a typo in the german message file Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Jun 9 17:12:24 CEST 2011 on sn-devel-104
* s3:modules fix some non-empty blank linesChristian Ambach2011-06-091-6/+5
|
* s3:rpcclient: remove unused new_workgroup variableStefan Metzmacher2011-06-091-4/+0
| | | | | | | | | | new_workgroup was not initialized but used to overwrite the value of lp_workgroup(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jun 9 16:00:28 CEST 2011 on sn-devel-104
* s3:lib/util: use %llu consitently (instead of %d) in interpret_pid() to ↵Stefan Metzmacher2011-06-091-1/+1
| | | | | | parse the pid metze
* s3-selftest Add test for smbclient --authentication-fileAndrew Bartlett2011-06-092-13/+55
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Jun 9 13:49:59 CEST 2011 on sn-devel-104
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-0991-341/+264
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
* s3-lib Add myhostname_upper()Andrew Bartlett2011-06-092-0/+17
| | | | | | | This varient always upper cases the hostname, which is needed for the netbios name. Andrew Bartlett
* s3-selftest Add a test for 'message command'Andrew Bartlett2011-06-091-0/+48
| | | | | | | This also provides us a way to test that the -n option to smbclient works, as that becomes part of the filename. Andrew Bartlett
* server_id: Change format to vnn:pid.task_id, pid.task_id or pidAndrew Bartlett2011-06-091-4/+14
| | | | | | | | | | | This helps ensure the string cannot be ambiguous, while also ensuring that it remains simple in the non-cluster case. The asymmetry of reading get_my_vnn() but writing based on NONCLUSTER_VNN is acceptable because in the non-clustered case, they are equal, and in the clustered case we will print the full string. Andrew Bartlett
* s3-param Remove special case for global_scope()Andrew Bartlett2011-06-099-55/+17
| | | | | | | There is no reason this can't be a normal constant string in the loadparm system. (Past reasons were that we didn't have lp_set_cmdline()) Andrew Bartlett
* s3-param Remove special case for lp_workgroup()Andrew Bartlett2011-06-096-61/+8
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
* s3-libsmbclient Use workgroup from libsmbclient caller for domain in credentialsAndrew Bartlett2011-06-091-1/+1
| | | | | | | | | This previously set the workgroup, which is a different thing, but would have been the default if no domain was specified). This more clearly sets the information from the credentials file into the matching field in the credentials structure. Andrew Bartlett
* s3-lib Use domain in credentials file for domain in credentialsAndrew Bartlett2011-06-091-1/+1
| | | | | | | | | This previously set the workgroup, which is a different thing, but would have been the default if no domain was specified). This more clearly sets the information from the credentials file into the matching field in the credentials structure. Andrew Bartlett
* lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett2011-06-0911-48/+24
| | | | | | | This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
* s3-lib Read and write the full struct server_id (except the unique_id)Andrew Bartlett2011-06-091-19/+18
| | | | | | | This is in preperation for making this code the common, only reader and writer of this structure. Andrew Bartlett
* librpc/idr Use the Samba3 notify.idl in common.Andrew Bartlett2011-06-095-92/+2
| | | | | | | | | The extra fields in the structure that Samba4 does not use should not bother it. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* server_id.idl: Bring server_id.idl in commonAndrew Bartlett2011-06-094-34/+2
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-server_id change pid to hyperAndrew Bartlett2011-06-091-1/+1
| | | | | | This matches Samba4's server_id. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-server_id Add task_id to server_id to match Samba4Andrew Bartlett2011-06-093-0/+9
| | | | | | | | | | This will allow this structure to be shared, and allow us to create a common messaging system between all Samba processes. Samba4 uses the task_id to indicate the different tasks within a single unix process. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()Andrew Bartlett2011-06-0916-18/+17
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc.
* s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2011-06-0939-98/+97
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-09107-219/+218
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett2011-06-0947-82/+81
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-0979-169/+168
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett2011-06-0949-107/+106
| | | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
* s3-talloc Remove unused TALLOC zeronull functions and macro definitionsAndrew Bartlett2011-06-093-131/+0
| | | | | | These have been under #if 0 for a long time now. Andrew Bartlett
* s3:auth/auth_samba4.c - remove unused variableMatthias Dieter Wallnöfer2011-06-091-1/+0
| | | | Reviewed-by: Tridge
* s3:passdb/pdb_samba4.c - remove unused variableMatthias Dieter Wallnöfer2011-06-091-1/+0
| | | | Reviewed-by: Tridge
* s3:passdb/pdb_samba4.c - fix a format specifier warningMatthias Dieter Wallnöfer2011-06-091-1/+1
| | | | Reviewed-by: Tridge
* Ensure when creating a directory, if we make any changes due to inheritance ↵Jeremy Allison2011-06-091-0/+12
| | | | | | | parameters, we update the stat returned. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 9 00:46:39 CEST 2011 on sn-devel-104
* Part 4 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison2011-06-081-3/+2
| | | | | | | correctly with "inherit permissions = yes" and POSIX ACLs We don't need to check mode bits as well as dev/ino to ensure we're in the same place.
* s3:selftest: add a few more raw.* testsStefan Metzmacher2011-06-081-1/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 8 18:57:01 CEST 2011 on sn-devel-104
* s3:libsmb/cli_np_tstream: s/TSTREAM_CLI_NP_BUF_SIZE/TSTREAM_CLI_NP_MAX_BUF_SIZEStefan Metzmacher2011-06-081-6/+6
| | | | | | | This isn't the fixed buffer size anymore, as we use dynamic beffer it's just the maximum size. metze
* s3:libsmb:cli_np_tstream: use dynamic talloc buffersStefan Metzmacher2011-06-081-9/+30
| | | | | | | | Having 8192 bytes on an idle connection is a bit to much, so we better use dynamic buffers using talloc, which also avoids a memcpy in the common SMBtrans readv codepath. metze
* s3-winbind: always use samlogon cache for wbinfo -r, even when caching isGünther Deschner2011-06-081-4/+0
| | | | | | | | | disabled. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 8 17:45:56 CEST 2011 on sn-devel-104
* s3-winbindd: make sure we obey the -n switch also for samlogon cache access.Günther Deschner2011-06-085-3/+17
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 8 14:44:31 CEST 2011 on sn-devel-104
* s3-spoolss: fix -Wunused-but-set-variable build warning in ↵Günther Deschner2011-06-081-0/+4
| | | | | | | | _spoolss_EnumPrintProcDataTypes(). We were in fact ignoring the error code here. Guenther
* Part 3 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison2011-06-081-17/+43
| | | | | | | | | | | | correctly with "inherit permissions = yes" and POSIX ACLs When changing ownership on a new file make sure we must have a valid stat struct before making the inheritance calls (as they may look at it), and if we make changes we must have a valid stat struct after them. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 8 03:07:04 CEST 2011 on sn-devel-104
* Part 2 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison2011-06-071-0/+2
| | | | | | | correctly with "inherit permissions = yes" and POSIX ACLs When changing ownership on a new file make sure we also change the returned stat struct to have the correct uid.
* Part 1 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison2011-06-071-0/+2
| | | | | | | correctly with "inherit permissions = yes" and POSIX ACLs When changing ownership on a new directory make sure we also change the returned stat struct to have the correct uid.
* Fix re-opened bug 8083 - "inherit owner = yes" doesn't interact correctly ↵Jeremy Allison2011-06-071-4/+17
| | | | | | | | | | | | | | | with vfs_acl_xattr or vfs_acl_tdb module. Fix incorrect interaction when all of "inherit permissions = yes" "inherit acls = yes" "inherit owner = yes" are set. Found by Björn Jacke. Thanks Björn ! Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jun 7 22:32:18 CEST 2011 on sn-devel-104