1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-30 20:23:49 +03:00
Commit Graph

1521 Commits

Author SHA1 Message Date
Stefan Metzmacher
ecf6be894f r1912: move popt_common.h
metze
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
1fc0100e44 r1911: merge a few popt parameters from 3.0 move some to better places
and deal with users DOMAIN and lp_workgroup() of the local workstation

metze
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
0164cac6df r1910: this should not be a local var in this block
metze
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
e9e5fb2cb0 r1909: nicer format
metze
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
c358f11406 r1907: init the configuration
and fix compiler warning

metze
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
11495a42b9 r1905: add -Werror-implicit-function-declaration with --enable-developer
metze
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
b3cae309ae r1904: catch the common gtk function prototypes with make proto
metze
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
64d61ef4a5 r1903: hmm a better solution is to include popt.h where it is needed
metze
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
edde7497e9 r1902: we need to include popt.h before popt_common.h
metze
2007-10-10 12:58:09 -05:00
Stefan Metzmacher
5e5681e283 r1901: add missing include of <fnmatch.h>
metze
2007-10-10 12:58:09 -05:00
Stefan Metzmacher
a60b528b34 r1900: fix function prototypes
metze
2007-10-10 12:58:09 -05:00
Simo Sorce
d721b122b5 r1898: Check the context we are going to return. 2007-10-10 12:58:09 -05:00
Andrew Tridgell
2ce4028842 r1897: added a choose_called_name() function that allows us to more sanely
handle connections using the IP as the server name, while not trying
for NBT name resolution on names like "192" and "192.168.1.2".

also removed the ip address argument to smbcli_socket_connect() as it
isn't used and doesn't really make sense.
2007-10-10 12:58:09 -05:00
Andrew Tridgell
30ab38559e r1896: stricter check on packet parsing for NBT session replies 2007-10-10 12:58:09 -05:00
Andrew Tridgell
e50fc00671 r1895: added a note about OPEN_BY_FILE_ID to the ntcreatex interface definition 2007-10-10 12:58:09 -05:00
Volker Lendecke
5dc793b2b4 r1894: Convert // to /* */ 2007-10-10 12:58:09 -05:00
Andrew Tridgell
cd8887293e r1893: add a commented out lump of code to implement the "by the SPEC"
ALL_INFO queryfileinfo level. It is useful having it here as many
non-Microsoft servers implement it this way, which breaks just about
all the torture tests, so when testing against these broken systems
just change this one #if line and recompile smbtorture.
2007-10-10 12:58:08 -05:00
Andrew Tridgell
01dc4ed9b4 r1892: this adds talloc_get_context(), which is something I discussed at the
team meeting at CIFS04. It allows you to find the talloc context given
any pointer allocated with talloc.
2007-10-10 12:58:08 -05:00
Volker Lendecke
7be7f25a57 r1886: Fix the build 2007-10-10 12:58:08 -05:00
Stefan Metzmacher
874d450609 r1884: remove empty header file
metze
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
d3123c2e73 r1883: I don't know why this was broken...
tridge: can you please check if this is correct,
        I have only compiled it, but haven'T run it.

metze
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
4c6c4d6bc8 r1881: empty structs are not allowed by all compilers
metze
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
6ad57a86c8 r1880: bugger, now I have used gcc 3.4.1 myself and have statements before declarations
Does any knows if there are flags to let gcc 3.4.1 fail with that?

metze
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
939da063cd r1879: - add a user sub struct in net_context
- add 'net password change' command
  (it doesn'T work yet because libnet_rpc_connect() isn't implemented yet,
   and we don't fill in the net_context user substruct yet)

metze
2007-10-10 12:58:07 -05:00
Stefan Metzmacher
d48050ae90 r1878: implemet libnet_context_{init,destroy}
and implement libnet_Change_Password_generic()

metze
2007-10-10 12:58:07 -05:00
Stefan Metzmacher
97fe38183b r1877: since make proto catches all functions
the inlcude has to move to includes.h

metze
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
14b9858800 r1876: rewrite net command completely
and add it to the build

metze
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
8b2d5ec973 r1875: - move 'net' code into a subdir
- and remove all unneeded files

we'll reimplement the stuff step by step using the functions from
libnet/ which will do the hard work for us

metze
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
964748389b r1874: add dcerpc_errstr() function to display a fault code by name,
this should be used in the torture  tests when we got NT_STATU_NET_WRITE_FAULT

metze
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
084845c1ab r1872: revert -r 1845 because the caling function should look at the fault_code
when it gets NT_STATUS_NET_WRITE_FAULT

metze
2007-10-10 12:58:06 -05:00
Jelmer Vernooij
189ed09840 r1867: Add README file in build/pidl/ 2007-10-10 12:58:04 -05:00
Stefan Metzmacher
11c866d602 r1862: add invalid_creds ldap error
metze
2007-10-10 12:58:04 -05:00
Stefan Metzmacher
267edf1c0b r1856: - move asn1 functions to asn1.c
- merge some stuff from trunk

metze
2007-10-10 12:58:02 -05:00
Stefan Metzmacher
59f3d41744 r1855: fix compiler warning and output fromatting
metze
2007-10-10 12:58:02 -05:00
Stefan Metzmacher
01626ed381 r1851: if we try to peek a subtag, check if the parent tag has remaining data
metze
2007-10-10 12:58:02 -05:00
Stefan Metzmacher
6b42923496 r1850: when we have a username and use sign or seal on a dcerpc over np
use dcerpc auth instead off smb auth

metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
6e6bfd6dd2 r1849: use LIBNDR_STRING_BYTESIZE here
metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
7f1fceeb7f r1848: fix LIBNDR_STRING_FLAGS to include LIBNDR_STRING_BYTESIZE
metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
6d094d60d3 r1847: add STR_BYTESIZE flag, to handle cases where
the size is in bytes not in unicode chars

metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
b1c8611d73 r1846: add helpstring
metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
0cf0c36460 r1845: map DCERPC_FAULT_LOGON_FAILURE to NT_STATUS_LOGON_FAILURE
metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
2d4b806156 r1844: fix the build,
jelmer: you forgot lookupsid.c

metze
2007-10-10 12:58:00 -05:00
Stefan Metzmacher
a6ce6ee878 r1843: return DCERPC_FAULT_LOGON_FAILURE when the auth fails
metze
2007-10-10 12:58:00 -05:00
Stefan Metzmacher
6ed2ce4edc r1842: add fault code that happens with wrong password
or when signing or sealing fails

DCERPC_FAULT_LOGON_FAILURE      = 0x00000005;

metze
2007-10-10 12:58:00 -05:00
Jelmer Vernooij
ef0fc269f0 r1838: Updates from the airplane:
- IDL fixes + adding comments
 - Start working on dcom infrastructure
2007-10-10 12:58:00 -05:00
Stefan Metzmacher
05c40dca8a r1836: - as abartlet said to me, we need to contact the users domain pdcfor doing a
password change
- add start of libnet_SetPassword
- use KRB5 and LDAP instead of ADS as ADS isn't a protocol
- add start of lib_rpc_connect()

metze
2007-10-10 12:58:00 -05:00
Tim Potter
197fb3a264 r1826: Implement some stub functions: ndr_pull_{save,restore,set_offset}()
Implement ndr_pull_relative()

Call ndr_pull_uintX() for ndr_pull_intX()

Generate warnings for unimplemented functions pulling NTTIME and HYPER_T.

Implement ndr_pull_dom_sid2()

We now dissect a lot more of the samr torture test without errors.
2007-10-10 12:58:00 -05:00
Andrew Tridgell
cef94978f4 r1824: nicer handling of NBT session replies, and handling of bad packets
with the async SMB code
2007-10-10 12:58:00 -05:00
Volker Lendecke
ea73426e65 r1823: No real changes, I just did not like the ^M's an the line ends :-)
Volker
2007-10-10 12:57:59 -05:00
Andrew Tridgell
bdf7d66d29 r1821: fixed reference to "status" that should be "result" 2007-10-10 12:57:59 -05:00