summaryrefslogtreecommitdiff
path: root/source4/libnet
AgeCommit message (Collapse)AuthorFilesLines
2010-12-03s4:libnet/libnet_samsync_ldb,c - move away from "samdb_msg_add_string" when ↵Matthias Dieter Wallnöfer1-2/+10
possible Also here we can move to "ldb_msg_add_string" without any impact!
2010-12-03s4:libnet_JoinADSDomain - move away from "samdb_msg_add_string"Matthias Dieter Wallnöfer1-7/+7
These calls can be substituted by "ldb_msg_add_string" without any problems - only the allocation contexts of the SPNs and the DNS hostnames have to adapted.
2010-12-01s4-repl: Let dsdb_replicated_objects_convert() to accept schema from callerKamen Mazdrashki1-0/+9
This allows us to use schema that is different than the one set to 'ldb' to decode objects.
2010-11-27s4:param/secrets.h - fix "enum netr_SchannelType" include correctlyMatthias Dieter Wallnöfer1-1/+0
2010-11-27s4-libnet: use the full DNS domain for CLDAP lookups if possibleAndrew Tridgell1-1/+6
many of the internal libnet interfaces use the short domain name, which leads to unreliable NBT lookups. If we are trying to look for our workgroup, then look for our DNS domain instead Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Nov 27 03:47:52 CET 2010 on sn-devel-104
2010-11-11s4-repl: Propagate remote prefixMap in DRSUAPI data conversion functionsKamen Mazdrashki1-1/+10
2010-11-11s4-repl: dsdb_extended_replicated_objects_convert -> ↵Kamen Mazdrashki1-22/+22
dsdb_replicated_objects_convert/ It is part of dsdb_replicated_* family of functions
2010-11-11s4-repl: dsdb_extended_replicated_objects_commit -> ↵Kamen Mazdrashki1-3/+2
dsdb_replicated_objects_commit It is part of dsdb_replicated_* family of functions
2010-11-11s4:libnet/libnet_samsync_ldb.c - remove "userPassword" remove codeMatthias Dieter Wallnöfer1-6/+0
It could also be a normal attribute with a normal content, and if it's not like that then it's for sure empty.
2010-11-07credentials: Lowercase library name,Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
2010-10-31idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID valuesKamen Mazdrashki1-12/+12
Those values are actually ATTID values and such, they are used for ATTIDs for Attributes, Classes and Syntaxes.
2010-10-31s4:libnet_join.c - only write the really essential SPNsMatthias Dieter Wallnöfer1-8/+7
If we are a DC then the others are added by the "samba_spnupdate" script. This fixes bug #7614.
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-18/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-26waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij1-1/+1
2010-10-26waf: Remove lib prefix from libraries manually.Jelmer Vernooij1-1/+1
2010-10-26s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij1-2/+2
2010-10-24s4:dsdb - use the more safe "samdb_msg_add_(u)int*" calls always where possibleMatthias Dieter Wallnöfer1-3/+2
This should prevent all possible integer storage problems in future.
2010-10-24s4: Rename SMBPASSWD to smbpasswd.Jelmer Vernooij1-2/+2
Rename DSDB_MODULE to dsdb_module.
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij1-2/+2
2010-10-21s4-build: make LIBSAMBA-NET a private libraryAndrew Tridgell1-2/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-18s4:"util_ldb" - remove some really unused dependanciesMatthias Dieter Wallnöfer1-1/+0
2010-10-17Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer2-0/+2
in "dsdb/common/util.c"" This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0. Jelmer pointed out that these are also in use by other LDB databases - not only SAMDB ones. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104
2010-10-17s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer2-2/+0
"dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104
2010-10-16s4:dsdb - fix unsigned integer save problems using the "%u" specifierMatthias Dieter Wallnöfer2-4/+6
The issue here is that we have not yet first cast to int32_t explicitly, before we cast to an signed int to printf() into the %d or cast to a int64_t before we then cast to a long long to printf into a %lld. There are *no* unsigned integers in Active Directory LDAP, even the RID allocations and ms-DS-Secondary-KrbTgt-Number are *signed* quantities. (See the schema, and the syntax definitions in schema_syntax.c). The failure has been detected by Matthieu Patou on the buildfarm host "tridge" due to a malformed "groupType" attribute. The solution is to use the "%d" specifier. Either to use it directly - or better (when possible) use the call "samdb_msg_add_uint" (which encapsulates it). This patch changes such problematic situations.
2010-10-15s4:libnet_samsync_ldb.c - use LDB result constantsMatthias Dieter Wallnöfer1-15/+15
2010-10-15s4:dsdb - remove "samdb_result_uint", "samdb_result_int64", ↵Matthias Dieter Wallnöfer2-12/+12
"samdb_result_uint64" and "samdb_result_string" We have ldb_msg_find_attr_as_* calls which do exactly the same. Therefore this reduces only code redundancies. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-12libcli/security Use common security.hAndrew Bartlett1-1/+1
This includes dom_sid.h and security_token.h and will be moved to the top level shortly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 03:35:36 UTC 2010 on sn-devel-104
2010-10-10samdb: Add flags argument to samdb_connect().Jelmer Vernooij1-1/+2
2010-10-10s4-libnet_vampire: Remove unused self_corrected_schemaKamen Mazdrashki1-10/+0
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun Oct 10 10:40:38 UTC 2010 on sn-devel-104
2010-10-10s4-libnet_vampire use a linked list to handle schema objects pending conversionAndrew Bartlett1-26/+33
2010-10-10s4-vampire: Optimize Schema decoding conversionKamen Mazdrashki1-14/+10
memmove() is removed and I am using the beginning of the list for storage for failed objects
2010-10-10s4-vampire: Initial implementation for multi-pass schema decoding from DRS dataKamen Mazdrashki1-69/+92
We can't decode all schema object in just one (or even two) passes when Schema tree has more levels of inheritance.
2010-10-05s4-libnet_vampire: Reparent result.lp_ctx - we have already referenced itKamen Mazdrashki1-1/+1
which leads to warning that we are trying to steal a context with references
2010-10-05Add missing dependencies for com_err.Jelmer Vernooij1-1/+1
2010-10-01s4-rpc: added target_principal binding handle optionAndrew Tridgell2-2/+2
this allows you to specify a target SPN for a connection Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-30s4-libnet: wipe the old keytab when exportingAndrew Tridgell1-0/+2
this prevents confusion with old keytab entries Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-25s4-pynet: added server keyword to Net() initialisationAndrew Tridgell1-3/+7
this sets up server_address in the libnet context Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-25s4-libnet: added server_address option in libnet contextAndrew Tridgell3-1/+6
this is used by libnet_LookupDCs Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-24s4-libnet_join Use header constant for 'all encryption types' in ↵Andrew Bartlett1-4/+3
msDS-SupportedEncryptionTypes
2010-09-24s4-libnet Remove libnet_samdump_keytab() and net samdump keytabAndrew Bartlett3-133/+2
There is a beter implementation of this in Samba3, and this uses functions in the credentials code that I want to remove. The same functionality is available by running 'net samsync' and 'net export keytab'. This isn't a DRS-backed utility, it only used netlogon replication. Andrew Bartlett
2010-09-19s4-libnet: use the right domain name in libnet_lookupAndrew Tridgell1-4/+1
2010-09-16s4-pynet: return the full netlogon response from python finddcAndrew Tridgell1-7/+8
this gives the caller the other server parameters Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16s4-pyjoin: fill in the dns name in the python replication methodAndrew Tridgell2-0/+5
this is needed to get the repsFrom DNS entry right Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-libnet: force IDL printing for high debug levelsAndrew Tridgell1-0/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-finddc: use NBT lookup for a 1C name if joining a short domain nameAndrew Tridgell2-2/+5
once we get the 1C lookup reply, use a CLDAP query to find the details for the server Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-pynet: added finddc callAndrew Tridgell1-0/+45
this gives access to the CLDAP/DNS finddc code from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-libcli: change finddcs.h -> finddc.hAndrew Tridgell1-1/+1
this prevents conflicts with old generated files and we can only even return one DC with this interface. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-libnet: use finddcs_cldap() in libnet_lookupAndrew Tridgell1-11/+17
this may later be changed to do fallback to NBT as well, but for now cldap is sufficient Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-libnet: converted finddcs call to tevent_reqAndrew Tridgell2-25/+25
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09s4-rodc: s->schema need initialisationAndrew Tridgell1-0/+1
this fixes a segfault in net rodc preload