summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-10lib/util/time.h: fix licence/copyrightGünther Deschner1-1/+6
Guenther
2011-06-10lib/util/data_blob.h: fix licence/copyrightGünther Deschner1-1/+4
Guenther
2011-06-10auth/auth_sam_reply.h: fix licence/copyrightGünther Deschner1-0/+22
Guenther
2011-06-10bug in source3/winbindd/winbindd_sids_to_xids.cHerb Lewis1-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
2011-06-10Export init_stat_ex_from_stat for use in VFS modules.Richard Sharpe2-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
2011-06-10s4-samba-tool: added dbcheck commmandAndrew Tridgell2-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
2011-06-10waf-symbols: don't look for symbol lists in GENERATOR targetsAndrew Tridgell1-1/+1
generated header files are not object files Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-10waf: fixed 'make bin/XXX' for the remaining binariesAndrew Tridgell3-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
2011-06-10s3-param Avoid strupper_m() where possible.Andrew Bartlett1-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
2011-06-10s4-librpc Remove unsued server_id4.idlAndrew Bartlett1-13/+0
2011-06-10s4-drs: added debug lines for missing linked attribute fieldsAndrew Tridgell1-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
2011-06-10s4-drs: ensure we add a RMD_ADDTIME when upgrading a linked attributeAndrew Tridgell1-1/+2
if the link was a w2k style, and we are upgrading it, then set the RMD_ADDTIME to the current time
2011-06-10s4-drs: cope with missing RMD_ADDTIME in linked attributesAndrew Tridgell2-5/+7
upgraded links can be missing the RMD_ADDTIME field
2011-06-09s3:vfs cleanup unused code in vfs_recycleChristian Ambach1-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
2011-06-09s3:net fix a typoChristian Ambach1-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
2011-06-09s3:modules fix some non-empty blank linesChristian Ambach1-6/+5
2011-06-09s3:rpcclient: remove unused new_workgroup variableStefan Metzmacher1-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
2011-06-09s3:lib/util: use %llu consitently (instead of %d) in interpret_pid() to ↵Stefan Metzmacher1-1/+1
parse the pid metze
2011-06-09server_id.idl: change unique_id to hyperStefan Metzmacher1-1/+1
This makes it consistent to pid. metze
2011-06-09s3-selftest Add test for smbclient --authentication-fileAndrew Bartlett2-13/+55
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Jun 9 13:49:59 CEST 2011 on sn-devel-104
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett92-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
2011-06-09s3-lib Add myhostname_upper()Andrew Bartlett2-0/+17
This varient always upper cases the hostname, which is needed for the netbios name. Andrew Bartlett
2011-06-09s3-selftest Add a test for 'message command'Andrew Bartlett2-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
2011-06-09server_id: Change format to vnn:pid.task_id, pid.task_id or pidAndrew Bartlett2-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
2011-06-09s3-param Remove special case for global_scope()Andrew Bartlett9-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
2011-06-09s3-param Remove special case for lp_workgroup()Andrew Bartlett6-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
2011-06-09s3-libsmbclient Use workgroup from libsmbclient caller for domain in credentialsAndrew Bartlett1-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
2011-06-09s3-lib Use domain in credentials file for domain in credentialsAndrew Bartlett1-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
2011-06-09s4-param add const to loadparm_init_s3 s3_fnsAndrew Bartlett1-2/+2
2011-06-09lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett22-80/+77
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
2011-06-09s3-lib Read and write the full struct server_id (except the unique_id)Andrew Bartlett1-19/+18
This is in preperation for making this code the common, only reader and writer of this structure. Andrew Bartlett
2011-06-09librpc/idr Use the Samba3 notify.idl in common.Andrew Bartlett13-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>
2011-06-09server_id.idl: Bring server_id.idl in commonAndrew Bartlett19-29/+23
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09s3-server_id change pid to hyperAndrew Bartlett1-1/+1
This matches Samba4's server_id. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09s3-server_id Add task_id to server_id to match Samba4Andrew Bartlett3-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>
2011-06-09s4-cluster Use task_id instead of id2 to clarify server_id structureAndrew Bartlett5-14/+14
This seems a clearer and more acceptable name. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()Andrew Bartlett17-19/+18
Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett40-99/+98
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett114-229/+228
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett47-82/+81
Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett84-183/+182
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett51-109/+108
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-06-09s3-talloc Remove unused TALLOC zeronull functions and macro definitionsAndrew Bartlett3-131/+0
These have been under #if 0 for a long time now. Andrew Bartlett
2011-06-09s4:rpc_server/dcesrv_samr.c - quiet enum warningsMatthias Dieter Wallnöfer1-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
2011-06-09s4:ntvfs subsystem - quiet enum warningsMatthias Dieter Wallnöfer4-27/+11
Simply return "NT_STATUS_INVALID_LEVEL" for unknown types of requests. Reviewed-by: Tridge
2011-06-09s4:libnet/libnet_rpc.c - quiet an enum warningMatthias Dieter Wallnöfer1-0/+4
Other enum types have been checked before. Reviewed-by: Tridge
2011-06-09s4:winbind/wb_samba3_protocol.c - quiet enum warningMatthias Dieter Wallnöfer1-22/+3
Don't enumerate all unimplemented types of call which simply leads to incompleteness. Reviewed-by: Tridge
2011-06-09s4:schema_convert_to_ol.c - fix memory contextsMatthias Dieter Wallnöfer1-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
2011-06-09s4:dsdb/schema_convert_to_ol.c - quiet enum warningMatthias Dieter Wallnöfer1-0/+9
Introduce a error message when choosing wrong targets. Reviewed-by: Tridge
2011-06-09s4:auth/ntlm/auth.c - fix incompatible pointer type warningMatthias Dieter Wallnöfer1-2/+2
Reviewed-by: Tridge