summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-10-14s4:torture - fix up "ldap_basic" testMatthias Dieter Wallnöfer1-5/+6
2009-10-14s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where neededMatthias Dieter Wallnöfer15-49/+43
For KERBEROS applications the realm should be upcase (function "lp_realm") but for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch implements the use of both in the right way.
2009-10-14s4:loadparm - adapt "realm" handlingMatthias Dieter Wallnöfer2-3/+24
Change "lp_realm" behaviour to return the realm always upcased and add a function "lp_dnsdomain" which returns it always lowcased.
2009-10-15s3: Fix reference to freed memory in pam_winbind.Bo Yang1-2/+3
Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-14Revert "s4:hdb-samba4 - Don't double-free "db""Andrew Bartlett1-0/+1
This reverts commit 11a8a54c825a52d7dd6ab78bc7aeff2d719327d2. The actual fix for bug 6801 is in hdb_end_seq_get() - this attempt leaks 'db' instead. Andrew Bartlett
2009-10-14s4:heimdal A real fix for bug 6801Andrew Bartlett1-3/+3
The issue was that we would free the entry after the database, not knowing that the entry was a talloc child of the database. Andrew Bartlett
2009-10-14s3:net: simplify padding to single printf callBjörn Jacke1-9/+1
2009-10-14s3:net simplify padding to single printf callBjörn Jacke1-8/+2
2009-10-13s3:net: Fix a segfault in "net rpc trustdom list" for overlong domain namesVolker Lendecke1-8/+2
That was a complicated way to say "%-20.s"... But that code was from 2002 ...
2009-10-13Remove use of "int ret" when we already have errcode.Jeremy Allison1-13/+8
Jeremy.
2009-10-13Catch one more erroneous use of errno.Jeremy Allison1-1/+1
Jeremy.
2009-10-13correctly handle aio_error() and errnoOlaf Flebbe1-29/+24
2009-10-13s3:torture: Add a notify-bench testVolker Lendecke2-0/+407
This is a test that creates and deletes files in a directory as fast as the network allows it. At the same time, it opens a filechangenotify. This test is done to just torture handling a single directory together with the notify infrastructure.
2009-10-13s3:libsmb: Add cli_notifyVolker Lendecke2-0/+148
2009-10-13s3:rpc: Fix is_known_pipename for dynamically loaded pipesVolker Lendecke1-1/+22
2009-10-13s3: Fix some nonempty blank linesVolker Lendecke2-8/+8
2009-10-13s3: Fix vfs_shadow_copy2 to allow in-path @GMT-xxxAndrew Tridgell1-21/+126
2009-10-13s3/loadparm: Fix severe HPUX compiler issue.Olaf Flebbe1-0/+5
Members of struct should be initialized explictly. Fixes bug #6804.
2009-10-13s4:hdb-samba4 - Don't double-free "db"Matthias Dieter Wallnöfer1-1/+0
"db" is freed anyway after the destructor terminates so this does really make no sense here (rather it makes code crash). Should fix bug #6801.
2009-10-13s4:dcesrv_samr - add another constantMatthias Dieter Wallnöfer1-1/+1
2009-10-13s4:dcesrv_samr - prevent "ldb_modify" on a possibly empty messageMatthias Dieter Wallnöfer1-8/+10
In this code part under certain circumstances we can end up with an empty message. Since our new behaviour denies them (like the real AD) we need to bypass them on LDB modify calls.
2009-10-13s4:dcesrv_samr - Add additional "talloc_free"sMatthias Dieter Wallnöfer1-0/+4
2009-10-13s4:dcesrv_samr - CosmeticsMatthias Dieter Wallnöfer1-23/+31
Make more use of constants and add some braces around "if" blocks
2009-10-12s4:ldb_tdb - Revert some introduced "trivial gotos"Matthias Dieter Wallnöfer1-21/+11
I hope that this makes abartlet & simo happy again (consider mailing list).
2009-10-12Enhance ".gitignore" file for s4Matthias Dieter Wallnöfer1-0/+2
2009-10-13s3-winbindd: add wbint_ChangeMachineAccount implementation.Günther Deschner14-6/+471
Guenther
2009-10-13docs: document wbinfo -c.Günther Deschner1-0/+9
Guenther
2009-10-13nsswitch: add wbinfo -c (change trust account passwords).Günther Deschner1-0/+39
Guenther
2009-10-13libwbclient: add wbcChangeTrustCredentials.Günther Deschner3-0/+50
Guenther
2009-10-13docs: document wbinfo -t --domain DOMAIN behavior.Günther Deschner1-1/+3
Guenther
2009-10-13netlogon: add NL_PASSWORD_VERSION to IDL.Günther Deschner2-0/+19
Guenther
2009-10-13s3: use enum netr_SchannelType all over the place.Günther Deschner16-29/+32
Guenther
2009-10-13s3-netlogon: allow to change any type of trust account password in ↵Günther Deschner1-6/+39
trust_pw_find_change_and_store_it(). Guenther
2009-10-13s4-repl: check that a DsGetNCChanges is a continuation, and fix sortingAndrew Tridgell2-4/+17
When we indicate that a getncchanges request is not complete, we set the more_data flag to true in the response. The client usually then asks for the next block of data. If the client decides it wants to skip that replication and do a different replication then we need to make sure that the next call is in fact a continuation of the existing call, and not a new call. This relies on returning the results sorted by uSNChanged, as the client uses the tmp_highest_usn in each result to see if progress is being made.
2009-10-13Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell29-247/+450
2009-10-13pidl: don't warn for compatible scalar types in unionsAndrew Tridgell1-3/+3
When we have an enum that is used as a union discriminator, what matters is that the scalar mappings are the same, not if the types are the same (otherwise we get warnings about uint1632). Thanks to gd for noticing this.
2009-10-13s3-netlogon: pass down account name to remote password set functions.Günther Deschner5-1/+9
Guenther
2009-10-12ѕ3: fix domain trust documentation confusionBjörn Jacke2-13/+21
fix some trusted/trusting mixups, make documentation more precise and man page more verbose.
2009-10-12s4:provision.py - simplify the "realm" variable handling a bitMatthias Dieter Wallnöfer1-6/+5
(Remove unneeded "upper"s)
2009-10-12s4:objectclass ldb module - Check for empty messagesMatthias Dieter Wallnöfer1-1/+8
I think the check for empty messages fits best here.
2009-10-12s4:wbclient.h - add compatibility constantsMatthias Dieter Wallnöfer1-0/+6
This is the result of a discussion on samba-technical on how to deal best with existing programs which don't support my changes in the interface yet. Metze pointed out this "defines" as a possibility and simo and I agreed.
2009-10-12Revert "s4:ldb - add a check which has to be done on beginning of a "modify" ↵Matthias Dieter Wallnöfer1-8/+0
operation" This reverts commit f9990e9b391f330a8e6c5c158ee4e4eaa50f6176. abartlet claims that this behaviour is too AD specific to put here. Btw I had also some doubts if this is clean enough. I put it only here to make "ldap.py" pass. I'll try to find a new solution soon.
2009-10-12s3-docs: remove xml artefact from net.8.xml.Günther Deschner1-1/+1
Guenther
2009-10-12s4:ldb Allow a NULL module listAndrew Bartlett1-1/+1
2009-10-12s3/proto.h: Add lp_ldap_ref_follow prototype.Karolin Seeger1-0/+1
Fix build of smbldap. Karolin
2009-10-12s3/smbldap: add option to disable following LDAP refsJan Engelhardt3-2/+42
Fix bug #6717.
2009-10-12Allow (and ignore) distinguishedName on special recordsAndrew Bartlett1-0/+2
They are not stored, so we can ignore them (makes copying records much easier) Andrew Bartlett
2009-10-12s4:schema Add some error checking to the schema loadAndrew Bartlett2-7/+25
2009-10-12s4:dsdb Make dsdb_read_prefixes_from_ldb staticAndrew Bartlett1-1/+3
2009-10-12s4:ldb Reload the 'ltdb_cache' when @OPTIONS changesAndrew Bartlett1-0/+7
(Otherwise setting the check base on search option is not applied until after a reload). Andrew Bartlett