1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

1644 Commits

Author SHA1 Message Date
Stefan Metzmacher
124e00068f r1915: use popt's cmdline_auth_info to fill the net_context
and print the user domain when prompting for a new password

metze
(This used to be commit aedb2e9e1c418a7ac3cc18299707ae9146e4047a)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
5c9c6b4741 r1914: use common popt stuff in net
metze
(This used to be commit 52b866c40332ab408c57a0eab415e0755e4b5081)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
927e8242c1 r1913: add --version back
metze
(This used to be commit a1bb734009571c7a052a15507a70137ac31911ba)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
d139dc808a r1912: move popt_common.h
metze
(This used to be commit ecf6be894fc47f9e00f46531e06ef20e11115c0f)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
bca24a19eb 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
(This used to be commit 1fc0100e44a8640cfc15effb99f5824cb7817da8)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
f42f061236 r1910: this should not be a local var in this block
metze
(This used to be commit 0164cac6df46ca5996aae30b8c48a602999f7e0b)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
f547d2c4c3 r1909: nicer format
metze
(This used to be commit e9e5fb2cb0b428de11d8e91da8b44394b6221a43)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
e60139b81f r1907: init the configuration
and fix compiler warning

metze
(This used to be commit c358f11406e8aca68325a40c6bbed78c53ac024f)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
8dfd1daf30 r1905: add -Werror-implicit-function-declaration with --enable-developer
metze
(This used to be commit 11495a42b97b62b1f54cfb98909e937d370fdd4a)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
75e967bd0e r1904: catch the common gtk function prototypes with make proto
metze
(This used to be commit b3cae309ae3afddfded7ef224d2c67ebbcd90d8a)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
a154ed7291 r1903: hmm a better solution is to include popt.h where it is needed
metze
(This used to be commit 64d61ef4a5b44e76c90914ebaeaafac58228d78c)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
045bdb356f r1902: we need to include popt.h before popt_common.h
metze
(This used to be commit edde7497e9e06be0e51e886981725271a85bd9e5)
2007-10-10 12:58:09 -05:00
Stefan Metzmacher
838c208ab1 r1901: add missing include of <fnmatch.h>
metze
(This used to be commit 5e5681e2830bfd487d7e783249fe069b41be1f37)
2007-10-10 12:58:09 -05:00
Stefan Metzmacher
6674c834df r1900: fix function prototypes
metze
(This used to be commit a60b528b344132083a25f0a8d8718a4d4701198c)
2007-10-10 12:58:09 -05:00
Simo Sorce
debce401eb r1898: Check the context we are going to return.
(This used to be commit d721b122b5c443363b8f8ec2e1ef4b798378b658)
2007-10-10 12:58:09 -05:00
Andrew Tridgell
1129c78083 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.
(This used to be commit 2ce4028842556328da4da0de9bee942bed02cc62)
2007-10-10 12:58:09 -05:00
Andrew Tridgell
5f1f1e5e5c r1896: stricter check on packet parsing for NBT session replies
(This used to be commit 30ab38559e8c52ecdaf7ca9b124875ade82c5c66)
2007-10-10 12:58:09 -05:00
Andrew Tridgell
70f630d375 r1895: added a note about OPEN_BY_FILE_ID to the ntcreatex interface definition
(This used to be commit e50fc00671ace0085632f35ec99ad1125cd4d546)
2007-10-10 12:58:09 -05:00
Volker Lendecke
664f50e81c r1894: Convert // to /* */
(This used to be commit 5dc793b2b4b5c54df4aa3b0c98c248bdd671bbb1)
2007-10-10 12:58:09 -05:00
Andrew Tridgell
acc885855a 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.
(This used to be commit cd8887293e7735d8ee1cc2daebda233673801775)
2007-10-10 12:58:08 -05:00
Andrew Tridgell
c3a2584bb4 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.
(This used to be commit 01dc4ed9b4f9390930d3c235cf2ccf9a9028392d)
2007-10-10 12:58:08 -05:00
Volker Lendecke
6e5a9a6fe4 r1886: Fix the build
(This used to be commit 7be7f25a57422fea3e763479629e18dc9a204aba)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
1a89c76c93 r1884: remove empty header file
metze
(This used to be commit 874d4506094123a1f42c32c3ad37f6374f5958e8)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
7d032a9992 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
(This used to be commit d3123c2e7357d8db4dce9e0253ac405318d05c48)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
46003a56a8 r1881: empty structs are not allowed by all compilers
metze
(This used to be commit 4c6c4d6bc8927b93f29beecf44aef5c228533a43)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
770fb6d22d 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
(This used to be commit 6ad57a86c8583df90a93fdf36b7184010d2054bc)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
bc3a20e9d8 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
(This used to be commit 939da063cdf18a5ab7e7f0490ac58d1f138cf0f0)
2007-10-10 12:58:07 -05:00
Stefan Metzmacher
226478521b r1878: implemet libnet_context_{init,destroy}
and implement libnet_Change_Password_generic()

metze
(This used to be commit d48050ae906ecf8d4f78c224042f8f9fe584ad39)
2007-10-10 12:58:07 -05:00
Stefan Metzmacher
f7c842707a r1877: since make proto catches all functions
the inlcude has to move to includes.h

metze
(This used to be commit 97fe38183b6a03c01f6ac2d28a958d632eb4ff8a)
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
9373c046f1 r1876: rewrite net command completely
and add it to the build

metze
(This used to be commit 14b9858800f6944bf78bee34338242cd3292b297)
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
8de0c24a08 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
(This used to be commit 8b2d5ec973fde980389bfe03cbcd70274b98b2dc)
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
2aa976aeb0 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
(This used to be commit 964748389bb7560ba141d71bb9256a8552c7db92)
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
70f457bd1a r1872: revert -r 1845 because the caling function should look at the fault_code
when it gets NT_STATUS_NET_WRITE_FAULT

metze
(This used to be commit 084845c1ab5e8acdb91f1d93b87d3f58e5de1bfd)
2007-10-10 12:58:06 -05:00
Jelmer Vernooij
84da00004b r1867: Add README file in build/pidl/
(This used to be commit 189ed098408b52965ccdf652d78ec678bbe0462e)
2007-10-10 12:58:04 -05:00
Stefan Metzmacher
ebd696bd8c r1862: add invalid_creds ldap error
metze
(This used to be commit 11c866d602fb4daefc1dced349606bd8ccd38ef2)
2007-10-10 12:58:04 -05:00
Stefan Metzmacher
c074e30e2e r1856: - move asn1 functions to asn1.c
- merge some stuff from trunk

metze
(This used to be commit 267edf1c0bb1ed73f1ba19148e6412b9a1c41979)
2007-10-10 12:58:02 -05:00
Stefan Metzmacher
a4b2f077e0 r1855: fix compiler warning and output fromatting
metze
(This used to be commit 59f3d417449f55d247604966b6e9fa2fa97c5124)
2007-10-10 12:58:02 -05:00
Stefan Metzmacher
69d6435358 r1851: if we try to peek a subtag, check if the parent tag has remaining data
metze
(This used to be commit 01626ed381bdc9cab3e94e80220c916bb61acf30)
2007-10-10 12:58:02 -05:00
Stefan Metzmacher
0320233d15 r1850: when we have a username and use sign or seal on a dcerpc over np
use dcerpc auth instead off smb auth

metze
(This used to be commit 6b429234968da7e51de95b6ede2afe3c1605debb)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
b47f9985ce r1849: use LIBNDR_STRING_BYTESIZE here
metze
(This used to be commit 6e6bfd6dd290b5e1cd3e90ebf20cd2207f94342e)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
10126065d4 r1848: fix LIBNDR_STRING_FLAGS to include LIBNDR_STRING_BYTESIZE
metze
(This used to be commit 7f1fceeb7f7e2e51fb67f48b1513a32564b7cdff)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
07eab50180 r1847: add STR_BYTESIZE flag, to handle cases where
the size is in bytes not in unicode chars

metze
(This used to be commit 6d094d60d377479de28790bad8ceb4c083c902cd)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
bd30f32d4e r1846: add helpstring
metze
(This used to be commit b1c8611d730c8fd3927576faaa4b8fed8ad5b1fe)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
6311e8955e r1845: map DCERPC_FAULT_LOGON_FAILURE to NT_STATUS_LOGON_FAILURE
metze
(This used to be commit 0cf0c3646038574e73c77a0b7adbdf6d04fe7207)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
85f12a0ee0 r1844: fix the build,
jelmer: you forgot lookupsid.c

metze
(This used to be commit 2d4b806156842af84dd6de217a8652f4c9b0e090)
2007-10-10 12:58:00 -05:00
Stefan Metzmacher
b1be11a13b r1843: return DCERPC_FAULT_LOGON_FAILURE when the auth fails
metze
(This used to be commit a6ce6ee878c896cfc256989894fd2b35707e3da0)
2007-10-10 12:58:00 -05:00
Stefan Metzmacher
c7088e5e3c r1842: add fault code that happens with wrong password
or when signing or sealing fails

DCERPC_FAULT_LOGON_FAILURE      = 0x00000005;

metze
(This used to be commit 6ed2ce4edca9dbdb30e52e83d62227656d671a29)
2007-10-10 12:58:00 -05:00
Jelmer Vernooij
d3e8a74551 r1838: Updates from the airplane:
- IDL fixes + adding comments
 - Start working on dcom infrastructure
(This used to be commit ef0fc269f06c82594c34ad8673c76c5ea099250e)
2007-10-10 12:58:00 -05:00
Stefan Metzmacher
d3e7a22630 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
(This used to be commit 05c40dca8ad1ab020aa75282da046f1dbce2a52a)
2007-10-10 12:58:00 -05:00
Tim Potter
644200235a 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.
(This used to be commit 197fb3a264536ee84d4b02a8a349c6b21e91b1f5)
2007-10-10 12:58:00 -05:00