summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-05-18s3-rpc_client: move protos to cli_netlogon.hGünther Deschner13-49/+59
Guenther
2010-05-18s3-rpc_client: move protos to cli_samr.hGünther Deschner9-33/+40
Guenther
2010-05-18s3:split secrets.c to put machine account secrets in a new fileAndrew Bartlett4-374/+406
This helps the s3compat effort by allowing these functions to be replaced by functions that query the cli_credentials and secrets.ldb APIs. Also, this changes a couple of DOM_SID to struct dom_sid along the way. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3:winbind use no_srv_register to avoid needing rpc_srv_registerAndrew Bartlett2-11/+2
This pidl attribute avoids the need for this dummy function, which helps s3compat. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.Andreas Schneider1-0/+2
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-pidfile: set the close on exec flag for the created pidfiles.Günther Deschner1-0/+3
Guenther
2010-05-18s3-spoolss: Removed the Phantom DeviceMode.Simo Sorce3-555/+1
This was a hack that required a special client from HP. The client code has never been released and was discontinued, so this code was just dead weight. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-net: also dump security descriptors from ntprinters.tdb in "net printing ↵Günther Deschner1-0/+39
dump". Guenther
2010-05-18s3-spoolss: Use the spoolss_map_to_os2_driver to modify drivername.Andreas Schneider1-0/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Create a spoolss_map_to_os2_driver function.Andreas Schneider2-0/+105
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Use better names for set_last_from_to.Andreas Schneider1-23/+20
Use set_driver_mapping() and get_win_driver(), get_os2_driver(). Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-net: Added a rather trivial "net printing dump" command.Günther Deschner4-1/+218
Guenther
2010-05-18s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Sorted the builtin forms alphabetically.Andreas Schneider1-85/+85
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-secdesc: use SD_REVISION from security.idl.Günther Deschner8-14/+10
Guenther
2010-05-18s3-secdesc: move SEC_DESC_HEADER_SIZE to its only user.Günther Deschner2-2/+2
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner41-218/+220
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner23-64/+58
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner21-102/+97
Guenther
2010-05-18s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner8-38/+32
Guenther
2010-05-18s3-build: fix the build.Günther Deschner2-3/+3
Guenther
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij55-228/+189
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij3-13/+4
2010-05-18smbconf: only include smbconf headers where needed.Günther Deschner8-5/+17
Guenther
2010-05-17Plumb in krb5 to the SMB2 sessionsetup code. First cut of this code.Jeremy Allison3-11/+405
Jeremy.
2010-05-17Fix the build of bin/smbtorture in source3. Guenther please check !Jeremy Allison1-0/+2
Jeremy.
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner48-225/+270
Guenther
2010-05-18s3-tldap: only include tldap when actually needed.Günther Deschner4-2/+5
Guenther
2010-05-18s3-includes: remove completely unused util_getent.h header.Günther Deschner2-61/+0
Guenther
2010-05-18s3-crypto: only include crypto headers when crypto is done.Günther Deschner16-5/+21
Guenther
2010-05-18s3-samr: move samr helper prototypes outside of proto.hGünther Deschner4-40/+65
Guenther
2010-05-18s3-services: move services.h to where it is actually used.Günther Deschner8-1/+7
Guenther
2010-05-18security: merge builtin rid tables.Günther Deschner3-49/+20
Guenther
2010-05-18s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner21-65/+45
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
2010-05-17Refactor the sessionsetup SMB2 code to make it easy to addJeremy Allison1-140/+293
krb5. Fix a memory leak in returning security blobs. Jeremy
2010-05-17s3-libgpo: move group policy protos to where they belong.Günther Deschner11-82/+93
Guenther
2010-05-17s3-includes: remove some unused defines.Günther Deschner1-7/+0
Guenther
2010-05-17s3-kerberos: temporary fix for ipv6 in print_kdc_line().Günther Deschner1-5/+20
Currently no krb5 lib supports "kdc = ipv6 address" at all, so for now just fill in just the kdc_name if we have it and let the krb5 lib figure out the appropriate ipv6 address ipv6 gurus, please check. Guenther
2010-05-17s3-kerberos: pass down kdc_name to create_local_private_krb5_conf_for_domain().Günther Deschner4-12/+22
Guenther
2010-05-17s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.Günther Deschner1-5/+25
Note that this failure was hard to track, as winbind did only log a super helpful "cm_prepare_connection: Success" debug message. IPv6 gurus, please check Successfully tested in two independent IPv6 networks now. Guenther
2010-05-17s3:winbind:idmap_tdb: don't check ranges when an invalid entry was found.Michael Adam1-0/+1
There is no point in checking the ranges this if the record found had an invalid/unknown type: the mapping is not filled in. If it were initialized to some defaults before, the check just might replace the status NT_STATUS_INTERNAL_DB_ERROR with a NT_STATUS_NONE_MAPPED, which is not as precise.
2010-05-17added support for a -I flagMatthew McGillis1-2/+148
2010-05-17Consolidate all set SEC_DESC into single procedure set_secdescMatthew McGillis1-25/+32
2010-05-16s3-selftest: Allow overriding the subunit formatter.Jelmer Vernooij1-1/+3
(e.g. "make selftest SUBUNIT_FORMATTER=cat")
2010-05-14s3-printing: explicitly include "printing/pcap.h" as there is ↵Günther Deschner7-7/+7
/usr/include/pcap.h. Thanks metze for pointing this out. Simo, please check. Guenther
2010-05-14Make pcap headers privateSimo Sorce11-36/+60
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14Move standard printcap parsing to print_standard.cSimo Sorce4-93/+135
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14s3-libsmb: fix typo in remote_password_change().Günther Deschner1-1/+1
Guenther
2010-05-14s3-libndr: make sure ndr_pull_string_array() only inspects string ↵Günther Deschner1-1/+1
termination flags. Otherwise the NOTERM case is not reachable for ascii strings (only utf16). With this patch we now can have: [flag(STR_ASCII|STR_NOTERM|NDR_REMAINING)] string_array array_name; Guenther
2010-05-13Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.Jeremy Allison2-1/+15
The end_data argument to smbd_dirptr_lanman2_entry() must include the safety margin, as internally it's actually used to allow detection of string name pushes that were truncated. Ensure space_remaining can never go negative due to padding. Jeremy.