summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lib/util/time.h: fix licence/copyrightGünther Deschner2011-06-101-1/+6
| | | | Guenther
* lib/util/data_blob.h: fix licence/copyrightGünther Deschner2011-06-101-1/+4
| | | | Guenther
* auth/auth_sam_reply.h: fix licence/copyrightGünther Deschner2011-06-101-0/+22
| | | | 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
* s4-samba-tool: added dbcheck commmandAndrew Tridgell2011-06-102-0/+125
| | | | | | | | | this will be used as a consistency checker and repair tool for sam.ldb. This initial checkin just checks for empty attributes and offers to fix them Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 10 10:31:56 CEST 2011 on sn-devel-104
* waf-symbols: don't look for symbol lists in GENERATOR targetsAndrew Tridgell2011-06-101-1/+1
| | | | | | generated header files are not object files Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: fixed 'make bin/XXX' for the remaining binariesAndrew Tridgell2011-06-103-6/+33
| | | | | | | | | this fixes 'make bin/smbd' to work correctly with the waf build. It didn't work before as smbd is actually 'smbd/smbd' internally and we tried to use the target name 'smbd'. The new approach reads the symlink to get the right target. This also speeds up the null build by quite a lot
* 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
* s4-librpc Remove unsued server_id4.idlAndrew Bartlett2011-06-101-13/+0
|
* s4-drs: added debug lines for missing linked attribute fieldsAndrew Tridgell2011-06-101-0/+8
| | | | | | | | this improved the logging of bugs related to linked attribute replication Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 10 03:26:21 CEST 2011 on sn-devel-104
* s4-drs: ensure we add a RMD_ADDTIME when upgrading a linked attributeAndrew Tridgell2011-06-101-1/+2
| | | | | if the link was a w2k style, and we are upgrading it, then set the RMD_ADDTIME to the current time
* s4-drs: cope with missing RMD_ADDTIME in linked attributesAndrew Tridgell2011-06-102-5/+7
| | | | upgraded links can be missing the RMD_ADDTIME field
* 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
* server_id.idl: change unique_id to hyperStefan Metzmacher2011-06-091-1/+1
| | | | | | This makes it consistent to 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-0992-342/+265
| | | | | | | | 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-092-0/+50
| | | | | | | 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-092-5/+20
| | | | | | | | | | | 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
* s4-param add const to loadparm_init_s3 s3_fnsAndrew Bartlett2011-06-091-2/+2
|
* lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett2011-06-0922-80/+77
| | | | | | | 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-0913-79/+16
| | | | | | | | | 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-0919-29/+23
| | | | | | 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>
* s4-cluster Use task_id instead of id2 to clarify server_id structureAndrew Bartlett2011-06-095-14/+14
| | | | | | | | This seems a clearer and more acceptable name. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()Andrew Bartlett2011-06-0917-19/+18
| | | | | 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-0940-99/+98
| | | | | 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-09114-229/+228
| | | | | 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-0984-183/+182
| | | | | 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-0951-109/+108
| | | | | | | 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
* s4:rpc_server/dcesrv_samr.c - quiet enum warningsMatthias Dieter Wallnöfer2011-06-091-0/+6
| | | | | | | | | When we are acting in the role of a PDC then please return it as status information. Reviewed-by: Tridge Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Jun 9 12:06:36 CEST 2011 on sn-devel-104
* s4:ntvfs subsystem - quiet enum warningsMatthias Dieter Wallnöfer2011-06-094-27/+11
| | | | | | Simply return "NT_STATUS_INVALID_LEVEL" for unknown types of requests. Reviewed-by: Tridge
* s4:libnet/libnet_rpc.c - quiet an enum warningMatthias Dieter Wallnöfer2011-06-091-0/+4
| | | | | | Other enum types have been checked before. Reviewed-by: Tridge
* s4:winbind/wb_samba3_protocol.c - quiet enum warningMatthias Dieter Wallnöfer2011-06-091-22/+3
| | | | | | | Don't enumerate all unimplemented types of call which simply leads to incompleteness. Reviewed-by: Tridge
* s4:schema_convert_to_ol.c - fix memory contextsMatthias Dieter Wallnöfer2011-06-091-3/+13
| | | | | | | | - Add more "mem_ctx" free functions on error cases - Steal the "out" string directly onto the LDB context to be able to free the local "mem_ctx" Reviewed-by: Tridge
* s4:dsdb/schema_convert_to_ol.c - quiet enum warningMatthias Dieter Wallnöfer2011-06-091-0/+9
| | | | | | Introduce a error message when choosing wrong targets. Reviewed-by: Tridge
* s4:auth/ntlm/auth.c - fix incompatible pointer type warningMatthias Dieter Wallnöfer2011-06-091-2/+2
| | | | Reviewed-by: Tridge