summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3:util: let parent_dirname() correctly return toplevel filenamesStefan Metzmacher2009-07-011-1/+1
| | | | metze
* s3:onefs_open: remove unused variable passed to parent_dirname()Stefan Metzmacher2009-07-011-2/+1
| | | | metze
* s3:smbd: remove unused variables passed to parent_dirname()Stefan Metzmacher2009-07-012-5/+3
| | | | metze
* s3:build: remove the libgpo objects upon "make clean"Michael Adam2009-07-011-1/+2
| | | | Michael
* s3:build: remove ../libcli/nbt/tools/nmblookup.o and friends in make cleanMichael Adam2009-07-011-1/+1
| | | | Michael
* lib/util: fix order of includes in tevent_ntstatus.cMichael Adam2009-07-011-1/+1
| | | | | | replace.h needs to be included first. Michael
* fixed the talloc testsuite for the recent changesAndrew Tridgell2009-07-011-6/+10
|
* a talloc_realloc() to zero size needs to use an unambiguous freeAndrew Tridgell2009-07-011-1/+1
|
* s3/docs: Fix typo.Matt Kraai2009-07-011-1/+1
| | | | This fixes bug #6519.
* removed a generated fileAndrew Tridgell2009-07-011-74/+0
|
* use a talloc_reparent in a very ugly wayAndrew Tridgell2009-07-011-2/+11
| | | | this works around some terrible use of talloc in the libnet code
* use the new talloc_reparent in two placesAndrew Tridgell2009-07-012-2/+2
|
* changes to remove the ambiguity in talloc_free() and talloc_steal() Andrew Tridgell2009-07-012-26/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes follow from the discussions on samba-technical. The changes are in several parts, and stem from the inherent ambiguity that was in talloc_free() and talloc_steal() when the pointer that is being changes has more than one parent, via references. The changes are: 1) when you call talloc_free() on a pointer with more than one parent the free will fail, and talloc will log an error to stderr like this: ERROR: talloc_free with references at some/foo.c:123 reference at other/bar.c:201 reference at other/foobar.c:641 2) Similarly, when you call talloc_steal() on a pointer with more than one parent, the steal will fail and talloc will log an error to stderr like this: ERROR: talloc_steal with references at some/foo.c:123 reference at other/bar.c:201 3) A new function talloc_reparent() has been added to change a parent in a controlled fashion. You need to supply both the old parent and the new parent. It handles the case whether either the old parent was a normal parent or a reference The use of stderr in the logging is ugly (and potentially dangerous), and will be removed in a future patch. We'll need to add a debug registration function to talloc.
* gensec_start now steals the auth_contextAndrew Tridgell2009-07-011-1/+3
|
* A rather strange varient of talloc_unlinkAndrew Tridgell2009-07-011-1/+1
| | | | | | A dcerpc request may have a reference from a still completing async callback, but we now consider the request to be complete. We want to lose the main parent, leaving just the reference, if any.
* another case that should use py_talloc_referenceAndrew Tridgell2009-07-011-1/+1
|
* use py_talloc_reference instead of py_talloc_importAndrew Tridgell2009-07-011-1/+1
| | | | | This is one of the few cases where we want the object to be owned by both the python object and C code
* py_talloc_import now uses a steal, so this free is incorrectAndrew Tridgell2009-07-011-1/+0
|
* fixed use of reference in pytallocAndrew Tridgell2009-07-012-3/+24
| | | | | | | | | | | | The previous code caused memory leaks, and also caused situations where talloc_free could be called on pointers with multiple parents The new approach is to have two functions: py_talloc_import : steals the pointer, so it becomes wholly owned by the python object py_talloc_reference: uses a reference, so it is owned by both python and C
* use a talloc_unlink() as ops may have a referenceAndrew Tridgell2009-07-011-1/+1
|
* fixed the reference to the global_schemaAndrew Tridgell2009-07-011-2/+3
|
* removed a redundent talloc_stealAndrew Tridgell2009-07-011-2/+0
|
* fixed the use of talloc_steal in ntlmssp_server Andrew Tridgell2009-07-011-3/+2
| | | | | The previous use of talloc_steal could cause a steal of a pointer that had references. This ensures that doesn't happen
* fixed rpc smb code to not reply on talloc_free being a function pointerAndrew Tridgell2009-07-012-2/+13
| | | | | | The upcoming talloc_free/talloc_reference changes change talloc_free to be a macro. These two bits of code relied on it being a function pointer
* [SAMBA 4 directory] Corrects the "systemFlags" attributesMatthias Dieter Wallnöfer2009-07-017-32/+39
| | | | Set the values like Windows Server 2003 R2.
* [SAMBA 4 directory] Adds the complete "objectclass path" to our self-created ↵Matthias Dieter Wallnöfer2009-07-011-0/+4
| | | | | | DC object Found after some comparisons against Windows Server 2003 R2.
* [SAMBA 4 directory] Adds the object version and "systemFlags" attribute to ↵Matthias Dieter Wallnöfer2009-07-011-0/+2
| | | | | | | the display specifiers The object version showed up in the Windows 2003 Server R2 AD. The "systemFlags" attribute has been set to the right value.
* s3 docs: Add documentation for 'kerberos method' and 'dedicated keytab file' ↵Tim Prouty2009-06-302-0/+54
| | | | parameters
* Fix bug #6496 - MS-DFS: cannot follow multibyte char link name.SATOH Fumiyasu2009-06-302-15/+39
| | | | | | | | | consumed_ucs is the number of bytes of the UCS2 path consumed not counting any terminating null. We need to convert back to unix charset and count again to get the number of bytes consumed from the incoming path.
* s3-netlogon: remove unneeded fstrings from netlogon server.Günther Deschner2009-06-301-22/+12
| | | | Guenther
* umount.cifs: don't build it by defaultJeff Layton2009-06-302-9/+47
| | | | | | | | | | | | | | Now that the sanity checks for mount.cifs default to matching the behavior of /bin/mount, then there is virtually no need for umount.cifs. The only exception is when someone enables the loose setuid behavior in mount.cifs. If an unprivileged user mounts a share that isn't in /etc/fstab, then /bin/mount won't allow that user to unmount it. In that situation, umount.cifs will be necessary to allow unmounting the share. Signed-off-by: Jeff Layton <jlayton@samba.org> Acked-by: Steve French <smfrench@us.ibm.com>
* Fix bug #6431 - local groups from 3.0 setups no longer found.Volker Lendecke2009-06-301-8/+8
| | | | Search for groups without group suffix, group suffix is only used for new entries.
* s3-spoolss: Bug #6512. Fix support for enumerating user forms.Günther Deschner2009-06-301-5/+5
| | | | | | | Found while testing Xerox WorkCentre 133 PCL driver, now also tested with torture test. Guenther
* s4-smbtorture: Test for newly added form with enum call in RPC-SPOOLSS.Günther Deschner2009-06-301-0/+45
| | | | Guenther
* s4-smbtorture: remove trailing whitespace from RPC-SPOOLSS.Günther Deschner2009-06-301-98/+98
| | | | Guenther
* Rework the kerberos-notes.txt in order and formatDon Davis2009-06-301-0/+803
| | | | | | | | This reworks the notes file to be less stream-of-consciousness and more task for porting, with a very particular focus on a potential port of Samba4 to use MIT Kerberos. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:ldb Allow rootdse module to build without ldb_private.hAndrew Bartlett2009-06-303-2/+4
| | | | | | | It seems quite reasonable to allow modules to re-initialise the set of cached DNs on the ldb context. Andrew Bartlett
* s4: dsdb Avoid using the internal ldb_private.h headerAndrew Bartlett2009-06-305-118/+122
| | | | | | | This job is not complete (the partition module remains a unfinished task), but now we do use the private ldb headers much less. Andrew Bartlett
* s4:heimdal Allow KRB5_NT_ENTERPRISE names in all DB lookupsAndrew Bartlett2009-06-305-24/+35
| | | | | | | | | | | | | | The previous code only allowed an KRB5_NT_ENTERPRISE name (an e-mail list user principal name) in an AS-REQ. Evidence from the wild (Win2k8 reportadely) indicates that this is instead valid for all types of requests. While this is now handled in heimdal/kdc/misc.c, a flag is now defined in Heimdal's hdb so that we can take over this handling in future (once we start using a system Heimdal, and if we find out there is more to be done here). Andrew Bartlett
* s4:kdc Only get the lp_ctx once for a LDB_fetch()Andrew Bartlett2009-06-301-11/+18
|
* Rework hdb-samba4 to remove useless abstractions.Andrew Bartlett2009-06-301-84/+44
| | | | | | | | | | | The function LDB_lookup_principal() has been eliminated, and it's contents spread back to it's callers. Removing the abstraction makes the code clearer. Also ensure we never pass unescaped user input to a LDB search function. Andrew Bartlett
* s4:dsdb Explain the parsing steps for userPrincipalName cracknames callsAndrew Bartlett2009-06-301-0/+4
|
* s4-smbtorture: use torture_comment & torture_warning in RPC samr tests.Günther Deschner2009-06-291-205/+206
| | | | Guenther
* s3:build: check for external liblua, link lua statically if using internal libMichael Adam2009-06-292-14/+42
| | | | | | So liblua is treated the same way as libtalloc and libtdb. Michael
* s4-smbtorture: correctly test comment behaviour in RPC-SAMR-USERS against s3.Günther Deschner2009-06-291-7/+4
| | | | Guenther
* s3-pdb_tdb: give 'unknown_str' the proper name 'comment' and set comment in ↵Günther Deschner2009-06-291-10/+15
| | | | | | | | passdb. pdb_{get,set}_comment were already existing in the API but were never used. Guenther
* s3:pdb_ads: we need to make the fd for tldap/tsocket non-blockingStefan Metzmacher2009-06-291-0/+2
| | | | metze
* s3:fix build of old linux quota system and other unixes' quota implementationMichael Adam2009-06-291-14/+14
| | | | | | By fixing the use of struct stat_ex. Michael
* s3:lib/sysquotas: fix usage of SMB_STRUCT_STAT (struct stat_ex).Michael Adam2009-06-291-3/+3
| | | | | | | This fixes the build with quotas / configure time detection of sys_quota interface. Michael
* lib/util: fix building tevent_ntstatus without config.hMichael Adam2009-06-291-1/+0
| | | | | | (when called from places with "#define NO_CONFIG_H" set, such as configure) Michael