summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-05-30s3: set pthread cflags in a more portable fashionBjörn Jacke1-4/+33
this avoids one place of a GNU make dependency. Portable make sucks a bit as it has no way of defining variables for a limited set of targets only. Manual duplication of target rules is the only way to achieve what we need. If someone actually knows a trick how to do this without target duplication, let me know.
2010-05-30Revert "s3: Attempt to fix the non-gnumake build"Björn Jacke1-2/+1
This reverts commit 086c6c0e9a56f7e6dca6c1398e210b8c6225e4ed, it broke some builds. The following commit should also remove the gmake dependency.
2010-05-30s3: fix check for pie compiler flagsBjörn Jacke1-2/+2
some compilers (HP and Sun e.g.) output warning messages on stderr for unknown options and we ended up partly using some unwanted random compile flags we did't intend to use.
2010-05-30s3: add m4 macro to check if stderr is empty or notBjörn Jacke1-0/+13
2010-05-29s3:auth make it easier to trace auth modulesSimo Sorce8-0/+21
2010-05-29s3:auth fix info3 duplication functionSimo Sorce1-3/+8
2010-05-29s3:smbd Use the right num_sidsSimo Sorce1-1/+1
We use s_i->ptok->num_sids everywhere else in this call and then suddenly we reference s_i->num_sids
2010-05-29s3:passdb Fix memory leakSimo Sorce1-0/+1
We were allocating this passwd structure on sampass, but never freeing it nor assigning it to unix_pw where it could be reused.
2010-05-29s3:auth Fix segfault when the user cannot be found by getpwnam()Andrew Bartlett1-3/+10
Add comment to notify when getpwnam() fails. Reviewed-by: Simo Sorce <idra@samba.org>
2010-05-28s3:winbind Kill amusing but un-used winbindd_kill_all_clientsAndrew Bartlett2-18/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3:lib s3:lib move get_global_sam_name to util_names.cAndrew Bartlett3-14/+14
This doesn't really belong in util_sid.c, and has much more in common with the other functions in util_names.c Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3:lib split out global workgroup and netbios name functions.Andrew Bartlett4-47/+82
Having these in their own file allows easier selective inclusion. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3:smbd move messaging_context and memcache into globals.cAndrew Bartlett3-50/+27
This helps vfstest, which previously had duplicate copies of these functions. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3:smbd split reload services/printers functions from server.cAndrew Bartlett4-139/+111
This helps vfstest, as it previously had duplicate copies of these functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.cAndrew Bartlett3-147/+174
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3-waf: Support builds with utmp accountingKai Blin1-3/+34
2010-05-28s3-waf: Match the defines from the autotools build on PACKAGE_*Kai Blin1-5/+5
2010-05-28s3-auth: Added a function to get the server_info from the system user.Andreas Schneider3-0/+47
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28s3-samr: Fix crash bug in _samr_QueryUserInfo{2} level 18.Günther Deschner1-4/+13
Guenther
2010-05-28s3-waf: Fix the smbclient build with libcapKai Blin1-1/+1
2010-05-28s3-waf: Detect which version of krb5_enctype_to_string is usedKai Blin1-0/+24
Pair-Programmed-With: Günther Deschner <gd@samba.org>
2010-05-28s3-waf: Fix the build of swat with --enable-cupsKai Blin1-1/+1
2010-05-28waf Read VERSION file inside WAF to set package versionAndrew Bartlett1-7/+11
This replaces the call to mkversion.sh in both the Samba3 and Samba4 WAF builds. Andrew Bartlett
2010-05-28s3-lanman: Fix api_RNetUserGetInfo level 2 marshalling offset calculation.Günther Deschner1-16/+16
54 + 4 = 58 (and not 60). Found by torture test. Guenther
2010-05-28s3-auth: fix c++ buildwarnings.Günther Deschner1-2/+2
Guenther
2010-05-28s3-build: remove duplicate ndr_krb5pac.h inclusion.Günther Deschner1-1/+0
Guenther
2010-05-28s3-build: use ndr_misc.h where needed.Günther Deschner1-0/+1
Guenther
2010-05-28s3-build: only use ndr_samr.h where needed.Günther Deschner4-0/+4
Guenther
2010-05-28s3-idl: fix some missing dependencies to other IDL files.Günther Deschner4-2/+6
Guenther
2010-05-28s3-rpc_client: move protos to init_netlogon.hGünther Deschner4-19/+19
Guenther
2010-05-27s3:auth Add comment to clarify usage of session keys.Simo Sorce1-0/+10
Explain why we have what looks like a duplicate of session keys. It is in fact not a duplicate.
2010-05-27s3:auth remove login_server from server infoSimo Sorce2-5/+0
It is not used anymore, we have that information in info3->base.logon_server already
2010-05-27Fix Out of memory checksSimo Sorce1-37/+59
Günther pushed an older version of the patch "s3:auth add function to copy a netr_SamInfo3 structure" that was missing these fixes.
2010-05-28s3:auth add function to convert wbcAuthUserInfo to netr_SamInfo3Simo Sorce2-0/+137
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28s3:auth Free sampass as soon as we have server_infoSimo Sorce5-8/+8
We don't keep sampass in server_info anymore So it makes no sense to keep it around. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28s3:auth use info3 in auth_serversupplied_infoSimo Sorce18-605/+158
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28s3:auth add function to copy a netr_SamInfo3 structureSimo Sorce2-0/+63
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28s3:auth: add function to convert samu to netr_SamInfo3Simo Sorce2-0/+171
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-27s3-waf: Fix typoKai Blin1-1/+1
Sorry for the noise
2010-05-27s3-waf: Also set "developer" env when building in developer modeKai Blin1-0/+1
2010-05-27s3: Fix a bad memleak in the async echo responderVolker Lendecke1-1/+1
2010-05-27s3-waf: fix the build after tstream changes.Günther Deschner1-1/+3
Guenther
2010-05-27s3: Remove an unused variableVolker Lendecke1-1/+0
2010-05-27s3-lanman: use samr for api_RNetUserGetInfo.Günther Deschner1-27/+130
Following MS-RAP 3.2.5.13 NetUserGetInfo Command. Guenther
2010-05-27vfs_smb_traffic_analyzer.c: set the len variable when running protocol v1.Holger Hetterich1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-27s3:rpc_server: make use of the npa_tstream code to connect to named pipesStefan Metzmacher1-192/+152
This way we use the newest protocol, which is able to pass the local and remote address of the SMB connection. And we correctly support message mode named pipes without the hack that analyzes the content for DCERPC pdus. metze
2010-05-27s3:Makefile.in: add npa_tstream.o to the build of smbdStefan Metzmacher1-1/+3
metze
2010-05-27s3:rpc_server: pass down local and remote tsocket_address to np_open()Stefan Metzmacher3-3/+22
metze
2010-05-27s3:smbd: add PIPE_BUSY handling for SMBtrans calls on named pipesStefan Metzmacher1-0/+11
metze
2010-05-27s3:rpc_server: add np_read_in_progress() functionStefan Metzmacher2-0/+23
metze