summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:dsdb_module_search_dn - add code to handle NULL format stringMatthias Dieter Wallnöfer2010-05-301-3/+13
|
* s4:dsdb/common/util.c - fix a counter variableMatthias Dieter Wallnöfer2010-05-301-1/+1
|
* selftest: list.remove raises ValueError rather than KeyError.Jelmer Vernooij2010-05-301-4/+4
|
* s3: set pthread cflags in a more portable fashionBjörn Jacke2010-05-301-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.
* Revert "s3: Attempt to fix the non-gnumake build"Björn Jacke2010-05-301-2/+1
| | | | | This reverts commit 086c6c0e9a56f7e6dca6c1398e210b8c6225e4ed, it broke some builds. The following commit should also remove the gmake dependency.
* s3: fix check for pie compiler flagsBjörn Jacke2010-05-301-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.
* s3: add m4 macro to check if stderr is empty or notBjörn Jacke2010-05-301-0/+13
|
* Revert "s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with ↵Matthias Dieter Wallnöfer2010-05-301-12/+2
| | | | | | | | Windows 2000" This reverts commit 1cf5be39e30f9478606a5525eb7beeb21ee83c24. My fix approach isn't such appreciated therefore revert this.
* s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with Windows 2000Matthias Dieter Wallnöfer2010-05-301-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
* s4:web_server/wsgi.c - free the "env" and "inputstream" objects on an ↵Matthias Dieter Wallnöfer2010-05-301-0/+2
| | | | "asprintf" failure
* s4:auth/credentials/credentials.c - initialise "password_last_changed_time"Matthias Dieter Wallnöfer2010-05-301-0/+2
| | | | Otherwise it could remain uninitialised.
* nss_wrapper/testsuite.c - make sure to test always the "NSS wrapper" callsMatthias Dieter Wallnöfer2010-05-301-1/+5
| | | | This should fix bug #7319 and #7320.
* s3:auth make it easier to trace auth modulesSimo Sorce2010-05-298-0/+21
|
* s3:auth fix info3 duplication functionSimo Sorce2010-05-291-3/+8
|
* s3:smbd Use the right num_sidsSimo Sorce2010-05-291-1/+1
| | | | | We use s_i->ptok->num_sids everywhere else in this call and then suddenly we reference s_i->num_sids
* s3:passdb Fix memory leakSimo Sorce2010-05-291-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.
* s3:auth Fix segfault when the user cannot be found by getpwnam()Andrew Bartlett2010-05-291-3/+10
| | | | | | Add comment to notify when getpwnam() fails. Reviewed-by: Simo Sorce <idra@samba.org>
* s3-selftest: fix chmod commands in provisioning.Günther Deschner2010-05-291-3/+3
| | | | Guenther
* s3-selftest: make sure provisioned s3 looks the same in make selftest as in ↵Günther Deschner2010-05-291-3/+41
| | | | | | | | make test. This fixes some tests that were previously failing. Guenther
* s4/test-libnet: Remove multiple test_samr_close() impelementationsKamen Mazdrashki2010-05-282-45/+15
| | | | We now have a nice common test_samr_close_handle() function to use
* s4/test-libnet-user: Remove test_createuser()Kamen Mazdrashki2010-05-281-63/+3
| | | | | We have same functionality already implemented by test_user_create() in libnet/utils.c
* s4/test-libnet-utils: refactor test_user_create()Kamen Mazdrashki2010-05-281-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)
* s4/test: remove local impl for open_domain and use common oneKamen Mazdrashki2010-05-282-57/+5
|
* s4/test: remove torture/libnet/utils.h as we are using proto.h nowKamen Mazdrashki2010-05-285-61/+4
|
* s4/test: change prototype for test_opendomain()Kamen Mazdrashki2010-05-286-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
* s4/test: Refactor test_opendomain to address followingKamen Mazdrashki2010-05-281-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
* s4/test: make samr_close handle functio publicKamen Mazdrashki2010-05-282-0/+26
| | | | | It is to be used further for closing opened handles when testing using SAMR interface
* s4/test: refactor NET-USERINFO test to be more 'torture' friendlyKamen Mazdrashki2010-05-281-24/+6
| | | | | Test may be further refactored to be converted as a test case (what it is actually)
* s4/test: test_userinfo/_async tests should use passed user_name param valueKamen Mazdrashki2010-05-281-2/+2
|
* s4:web_server/wsgi.c - provide a better out-of-memory handling for an ↵Matthias Dieter Wallnöfer2010-05-281-1/+2
| | | | "asprintf" call
* s3:winbind Kill amusing but un-used winbindd_kill_all_clientsAndrew Bartlett2010-05-282-18/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:lib s3:lib move get_global_sam_name to util_names.cAndrew Bartlett2010-05-283-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>
* s3:lib split out global workgroup and netbios name functions.Andrew Bartlett2010-05-284-47/+82
| | | | | | | | Having these in their own file allows easier selective inclusion. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd move messaging_context and memcache into globals.cAndrew Bartlett2010-05-283-50/+27
| | | | | | This helps vfstest, which previously had duplicate copies of these functions. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd split reload services/printers functions from server.cAndrew Bartlett2010-05-284-139/+111
| | | | | | | | | This helps vfstest, as it previously had duplicate copies of these functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.cAndrew Bartlett2010-05-283-147/+174
| | | | | | Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-waf: Support builds with utmp accountingKai Blin2010-05-281-3/+34
|
* s3-waf: Match the defines from the autotools build on PACKAGE_*Kai Blin2010-05-281-5/+5
|
* s3-auth: Added a function to get the server_info from the system user.Andreas Schneider2010-05-283-0/+47
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-samr: Fix crash bug in _samr_QueryUserInfo{2} level 18.Günther Deschner2010-05-281-4/+13
| | | | Guenther
* s4:build Don't automatically mark as 'not a git snapshot'.Andrew Bartlett2010-05-281-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
* s4:build use autotools for mkrelease.shAndrew Bartlett2010-05-281-1/+3
| | | | | | | The mkrelease.sh script only works with the autotools build. However, it isn't recommended. Andrew Bartlett
* waf Provide release signing capability in 'waf dist'Andrew Bartlett2010-05-282-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
* s4:waf Exclude the autotools based build environment from a Samba4 releaseAndrew Bartlett2010-05-281-1/+7
|
* waf Add DIST_BLACKLIST to list files that we cannot include in a releaseAndrew Bartlett2010-05-282-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
* s4:kdc Remove special talloc_free of the ldb contextAndrew Bartlett2010-05-282-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
* s3-waf: Fix the smbclient build with libcapKai Blin2010-05-281-1/+1
|
* s3-waf: Detect which version of krb5_enctype_to_string is usedKai Blin2010-05-281-0/+24
| | | | Pair-Programmed-With: Günther Deschner <gd@samba.org>
* s3-waf: Fix the build of swat with --enable-cupsKai Blin2010-05-281-1/+1
|
* s4:client/client.c - we don't need "&ctx" for talloc callsMatthias Dieter Wallnöfer2010-05-281-1/+1
| | | | Simply use "ctx".