summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell81-124/+124
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10s4-krb5: authkrb5 should depend on ldbAndrew Tridgell1-1/+1
this fixes the include path to add ldb Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10s3-auth Remove unused pam_handleAndrew Bartlett2-3/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10s3-auth Rename cryptic 'ptok' to security_tokenAndrew Bartlett25-130/+130
This will allow the auth_serversupplied_info struct to be migrated to auth_session_info easier. Adnrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10libcli/named_pipe_auth Change from 'info3' to auth_session_info_transportAndrew Bartlett11-301/+323
This changes the structure being used to convey the current user state from the netlogon-derived 'netr_SamInfo3' structure to a purpose-built structure that matches the internals of the Samba auth subsystem and contains the final group list, as well as the final privilege set and session key. These previously had to be re-created on the server side of the pipe each time. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10auth.idl fix size_is() reference in IDLAndrew Bartlett1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10libcli/named_pipe_auth Remove support for unused levels 0-2.Andrew Bartlett2-184/+83
The only client and server for this code uses level 3 exclusively. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10auth Move auth_sam_reply into the top level.Andrew Bartlett5-20/+57
These functions provide conversions between some netlogon.idl and auth.idl structures Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10ldb: added ldb 1.0.0 ABI signaturesAndrew Tridgell1-0/+248
2011-02-10ldb: change version number to 1.0.0Andrew Tridgell1-1/+1
Simo pointed out that the module loading change should have been combined with a major version number. That seems like a good excuse for a 1.0 release Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10ldb: fixed two warnings in the ldb_ldap backendAndrew Tridgell1-2/+2
2011-02-10ldb: added a include/ldb_version.hAndrew Tridgell2-2/+10
this fixes a problem with the installed ldb_modules.h header, which depended on LDB_VERSION being defined. Thanks to Simo for noticing this! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10Put OpenDir() back the way it was - don't overload with an fsp arg. Create ↵Jeremy Allison5-21/+64
OpenDir_fsp for new usage. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 10 02:43:31 CET 2011 on sn-devel-104
2011-02-10Make it clear we're using the open file pathname.Jeremy Allison1-6/+4
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 10 01:06:29 CET 2011 on sn-devel-104
2011-02-09Allow SMB2_FIND to actually use the open fd handle if we support fdopendir. ↵Jeremy Allison7-17/+55
Fallback to pathname opendir if not.
2011-02-09Correctly plumb in VFS_FDOPENDIR.Jeremy Allison2-2/+3
2011-02-09s3-waf: make ads support detection a little more robust.Günther Deschner1-5/+44
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 9 23:38:50 CET 2011 on sn-devel-104
2011-02-09s3: move some stuff out of smb.h to better locations.Günther Deschner4-6/+7
Guenther
2011-02-09s3: remove unused struct uuid_flat.Günther Deschner1-7/+0
Guenther
2011-02-09s3-waf: make sure we dont activate dnsupdate support w/o gssapi.Günther Deschner1-1/+4
Guenther
2011-02-09Oops. Need to test for if(!NT_STATUS_IS_OK(..)) for error.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 9 22:06:05 CET 2011 on sn-devel-104
2011-02-09Fix up some buildfarm warnings.Jeremy Allison4-4/+4
2011-02-09Don't use asprintf in this library - breaks the build on many systems. Fake ↵Jeremy Allison1-3/+8
with malloc/memcpy.
2011-02-09Move to opening an fd on directory opens. Get more careful about symlink races.Jeremy Allison1-1/+37
2011-02-09Remove unneeded stat call.Jeremy Allison1-9/+4
2011-02-09s4:WAF build - remove "source4/configure.developer"Matthias Dieter Wallnöfer1-6/+0
This isn't needed anymore - discussed with abartlet. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Feb 9 19:44:05 CET 2011 on sn-devel-104
2011-02-09ldb:tools - return LDB_ERR_OPERATIONS_ERROR on generic errorsMatthias Dieter Wallnöfer8-19/+20
Use "return" when located in "main" for consistency ("exit" would do the same). The patchset has been discussed with Jelmer Vernooij and afterwards LDB maintainer Simo Sorce.
2011-02-09ldb:tools - always check if ldb connection has been estabilishedMatthias Dieter Wallnöfer7-1/+19
Otherwise return "LDB_ERR_OPERATIONS_ERROR".
2011-02-09ldb:ldbsearch tool - use LDB result constants where possibleMatthias Dieter Wallnöfer1-7/+7
2011-02-09ldb:ldbsearch tool - simplify error code returnMatthias Dieter Wallnöfer1-3/+1
2011-02-09ldb:ldbsearch tool - use "%u" for printing unsigned integersMatthias Dieter Wallnöfer1-1/+1
2011-02-09ldb:ldbedit tool - don't forget about the "do_edit" result codeMatthias Dieter Wallnöfer1-11/+4
Use it for computing the program exit code. The "result" has not to be free'd explicitly since it's a child by "ldb" which itself is child by "mem_ctx".
2011-02-09ldb:ldbedit tool - fix bug #7914Matthias Dieter Wallnöfer1-4/+7
"modify_record" returns "-1" when failing, otherwise the number of modifies performed as an "unsigned int" converted to "int". When we get "-1" we immediately need to stop (the error message has already been generated by the function itself).
2011-02-09ldb:ldbedit tool - use unsigned counters for consistency with other LDB toolsMatthias Dieter Wallnöfer1-2/+2
2011-02-09ldb:ldbedit tool - use "%u" for printing out unsigned integersMatthias Dieter Wallnöfer1-2/+2
2011-02-09ldb:ldbedit tool - use LDB result constants where neededMatthias Dieter Wallnöfer1-5/+5
2011-02-09ldb:ldbrename tool - use LDB result constant where neededMatthias Dieter Wallnöfer1-1/+1
2011-02-09ldb:ldbmodify tool - use unsigned counters for consistency with other LDB toolsMatthias Dieter Wallnöfer1-5/+5
2011-02-09ldb:ldbdel tool - use LDB result constants for consistencyMatthias Dieter Wallnöfer1-7/+7
2011-02-09ldb:ldbadd tool - use LDB return codes where possibleMatthias Dieter Wallnöfer1-4/+6
2011-02-09ldb:ldbadd tool - use "%u" for printing out unsigned integersMatthias Dieter Wallnöfer1-1/+1
2011-02-09ldb:ldbadd tool - use LDB result constants for consistencyMatthias Dieter Wallnöfer1-4/+4
2011-02-09s3-waf: we check for attr in ../lib/util/script already, so we cannot set to ↵Günther Deschner1-2/+0
EMPTY here. Hopefully fixes the irix build. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 9 18:58:15 CET 2011 on sn-devel-104
2011-02-09s3-waf: as long as we dont have --with-featureX=yes|no|auto handling, avoid ↵Günther Deschner1-4/+0
exiting. Guenther
2011-02-09s3-waf: check k5crypto in some more locations.Günther Deschner1-2/+2
Guenther
2011-02-09s3-waf: support non-default krb5-config and cups-config locations.Günther Deschner1-7/+9
Guenther
2011-02-09tevent: Fix typosVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 9 18:13:18 CET 2011 on sn-devel-104
2011-02-09s3-rpc_server: We need a messaging context for rpc.Andreas Schneider1-0/+3
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Feb 9 17:26:00 CET 2011 on sn-devel-104
2011-02-09s3-rpc_server: Fixed possible segfault with client_id.Andreas Schneider1-0/+6
2011-02-09s3:utils enable sharesec for registry sharesChristian Ambach1-1/+2
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Feb 9 16:41:31 CET 2011 on sn-devel-104