summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-30libreplace: include sys/file.h only when availableBjörn Jacke3-2/+4
thanks to Joachim Schmitz <schmitz@hp.com>. This fixes #7460.
2010-05-30s3: define timespec before we use itJoachim Schmitz1-7/+8
this fixes #7464 Signed-off-by: Björn Jacke <bj@sernet.de>
2010-05-30s4:dsdb/samdb/ldb_modules/util.c - make sure to always free temporary dataMatthias Dieter Wallnöfer1-1/+6
2010-05-30s4:dsdb_module_search_dn - add code to handle NULL format stringMatthias Dieter Wallnöfer1-3/+13
2010-05-30s4:dsdb/common/util.c - fix a counter variableMatthias Dieter Wallnöfer1-1/+1
2010-05-30selftest: list.remove raises ValueError rather than KeyError.Jelmer Vernooij1-4/+4
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-30Revert "s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with ↵Matthias Dieter Wallnöfer1-12/+2
Windows 2000" This reverts commit 1cf5be39e30f9478606a5525eb7beeb21ee83c24. My fix approach isn't such appreciated therefore revert this.
2010-05-30s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with Windows 2000Matthias Dieter Wallnöfer1-2/+12
Windows 2000 does strictly request header signing on some requests also if the server doesn't provide it. But there is a small trick (don't reset the actual session info) to make these special RPC operations work without a full header signing implementation. This fixes for example the list of domain groups in local groups when displayed sing the local user/group management tool. And this should finally fix bug #7113. The patch was inspired by another one by tridge and abartlet: http://gitweb.samba.org/samba.git/?p=tridge/samba.git;a=commitdiff;h=2dc19e2878371264606575d3fc09176776be7729
2010-05-30s4:web_server/wsgi.c - free the "env" and "inputstream" objects on an ↵Matthias Dieter Wallnöfer1-0/+2
"asprintf" failure
2010-05-30s4:auth/credentials/credentials.c - initialise "password_last_changed_time"Matthias Dieter Wallnöfer1-0/+2
Otherwise it could remain uninitialised.
2010-05-30nss_wrapper/testsuite.c - make sure to test always the "NSS wrapper" callsMatthias Dieter Wallnöfer1-1/+5
This should fix bug #7319 and #7320.
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-29s3-selftest: fix chmod commands in provisioning.Günther Deschner1-3/+3
Guenther
2010-05-29s3-selftest: make sure provisioned s3 looks the same in make selftest as in ↵Günther Deschner1-3/+41
make test. This fixes some tests that were previously failing. Guenther
2010-05-28s4/test-libnet: Remove multiple test_samr_close() impelementationsKamen Mazdrashki2-45/+15
We now have a nice common test_samr_close_handle() function to use
2010-05-28s4/test-libnet-user: Remove test_createuser()Kamen Mazdrashki1-63/+3
We have same functionality already implemented by test_user_create() in libnet/utils.c
2010-05-28s4/test-libnet-utils: refactor test_user_create()Kamen Mazdrashki1-13/+39
- param names made more clear what they stand for - user RID out param is now optional, so that this function may be used in cases where we don't need user RID - SAMR connection handle is closed as it is not used further (we should play nice with servers)
2010-05-28s4/test: remove local impl for open_domain and use common oneKamen Mazdrashki2-57/+5
2010-05-28s4/test: remove torture/libnet/utils.h as we are using proto.h nowKamen Mazdrashki5-61/+4
2010-05-28s4/test: change prototype for test_opendomain()Kamen Mazdrashki6-13/+14
- name changed to test_domain_open to be more alike athore functions in utils.c file - output parameters moved to the end param list definition just after mem_ctx so it is somehow more clear those params are OUT
2010-05-28s4/test: Refactor test_opendomain to address followingKamen Mazdrashki1-16/+33
- param names made more clear what they stand for - dom_sid out param is now optional, so that this function may be used in cases where we don't need dom_sid - SAMR connection handle is closed as it is not used further
2010-05-28s4/test: make samr_close handle functio publicKamen Mazdrashki2-0/+26
It is to be used further for closing opened handles when testing using SAMR interface
2010-05-28s4/test: refactor NET-USERINFO test to be more 'torture' friendlyKamen Mazdrashki1-24/+6
Test may be further refactored to be converted as a test case (what it is actually)
2010-05-28s4/test: test_userinfo/_async tests should use passed user_name param valueKamen Mazdrashki1-2/+2
2010-05-28s4:web_server/wsgi.c - provide a better out-of-memory handling for an ↵Matthias Dieter Wallnöfer1-1/+2
"asprintf" call
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-28s4:build Don't automatically mark as 'not a git snapshot'.Andrew Bartlett1-2/+0
If we generate a tarball, it may well be a git snapshot - we will change the VERSION file if it really is a release. Andrew Bartlett
2010-05-28s4:build use autotools for mkrelease.shAndrew Bartlett1-1/+3
The mkrelease.sh script only works with the autotools build. However, it isn't recommended. Andrew Bartlett
2010-05-28waf Provide release signing capability in 'waf dist'Andrew Bartlett2-4/+40
This helps ensure the release is signed correctly - the .tar file, not the .tar.gz must be signed, and it's easy to forget this. Andrew Bartlett
2010-05-28s4:waf Exclude the autotools based build environment from a Samba4 releaseAndrew Bartlett1-1/+7
2010-05-28waf Add DIST_BLACKLIST to list files that we cannot include in a releaseAndrew Bartlett2-0/+25
This currently includes the source3 directory for Samba4 releases (per past practice in mkrelease.sh), but also could include things like DFSG-unfree RFC files in the future. Andrew Barltett
2010-05-28s4:kdc Remove special talloc_free of the ldb contextAndrew Bartlett2-11/+1
I can see no reason not to just let this go with the talloc tree that created it, and avoid a talloc_free with references. Andrew Bartlett
2010-05-28s3-waf: Fix the smbclient build with libcapKai Blin1-1/+1