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

1615 Commits

Author SHA1 Message Date
Andrew Tridgell
43afd3fda8 r1973: for systems that don't have strtoull() try strtouq(). This should fix
the build for some BSD varients.
(This used to be commit 73e9ee791472bb212efe0eb4744daa91678263ad)
2007-10-10 12:58:14 -05:00
Andrew Tridgell
e205ffd83c r1972: cmdline_auth_info does not need to be declared global
(This used to be commit d07dbdb22acc4c9cafb7141486fbf162d9f8164e)
2007-10-10 12:58:14 -05:00
Stefan Metzmacher
6766809ba8 r1961: print out the dcerpc fault code, when we got NT_STATUS_NET_WRITE_FAULT
(this need to be done more generic for all dcerpc calls,
 but for now I just need it in this 2 places)

metze
(This used to be commit d965f84f69ada2a10e9159aa1743c0bee7790488)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
8115bf6e2c r1957: add cmdline_set_* functions
and let smbclient use the cmdline _* functions

metze
(This used to be commit ffb87ebc33e728bf8506383f95b80605adec3c68)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
cc5b454aa7 r1952: change the _RPC levels into _SAMR
because we may have other rpc levels in future

add more comments about what's going on

check the rsult of samr_OpenUser

metze
(This used to be commit 741f95909b42eb55a251e5de991e5b3185714e3e)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
32ec317c90 r1951: add 'net password set' call
use it like:
net password set user
net password set DOM\\user
net password set user pass
net password set DOM\\user pass
net password set -U DOM\\Administrator%admpass DOM\\user pass

metze
(This used to be commit b660e5b9e6236c996550973e9bde1e80a8eed775)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
a5ca84508c r1950: implement libnet_SetPassword_rpc()
this currently tries only SetUserInfo26
the fallback is not yet done

metze
(This used to be commit af6b5673b05e7fc1c876a248f99bc71faeec9538)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
c2e2921bad r1949: provide functions to access the username, userdomain and userpassword
now you're prompted when cmdline_get_userpassword() is called
and the password is not yet known

metze
(This used to be commit d14a01533c5d465ff3709c48576b798b3be807e0)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
5a8f826653 r1947: fix cup & paste errors
metze
(This used to be commit 1c72f30650655b03fb04a34188a959dfe917b5ec)
2007-10-10 12:58:13 -05:00
Simo Sorce
333aaf01e8 r1944: put ldif functions in a separate file
(This used to be commit 8be31e5c854e4462163b97b897ff41de95f181c4)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
5a5f9c8aa7 r1943: don't use the with --enable-*developer selected flags for
the configure tests.

and test if the compiler really understand the options,
and clear them when not

this means we can maybe use --enable-developer on the build farm now

metze
(This used to be commit 35624842c7b25c404e6203564005e3098e4249b4)
2007-10-10 12:58:12 -05:00
Andrew Tridgell
8d6e233f66 r1941: - fixed an allocation error with querying security descriptors remotely
- print the received security_descriptor in the smbclient "acl" command

- make sure we zero the alignment data in nttrans packet sends
(This used to be commit 8925b8b2193905d084e1bfaaa3235ed7f9d1eb55)
2007-10-10 12:58:12 -05:00
Jelmer Vernooij
454e76dec2 r1929: CHeck if cpp on AIX likes /* */ better then //
(This used to be commit 8bf6841a8e9c7fa6d12c6631c9c845edbe52a455)
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
011ff131f8 r1928: give up on NT_STATUS_PASSWORD_RESTRICTION
(NOTE: this code pass isn't called yet,
       because pidl mixes the NTSTATUS of transport and request layer,
       and will be fixed soon)

metze
(This used to be commit 84c06d9ab0366772f71be088c53da9618e2555fe)
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
b2f39d19e3 r1927: allow the domain to be a ip address
metze
(This used to be commit d0e518e7d0edcf64a3d7173ff8d38f221db1ce6e)
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
618368ead6 r1926: fallback to other SAMR ChangePasswordUser levels
1. ChangePasswordUser3
2. ChangePasswordUser2
3. OemChangePasswordUser2
4. ChangePasswordUser (not implemented complete)

metze
(This used to be commit eb93d38de0dab0d0ad5adf8cfb69623bc35e942a)
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
bd225f8c28 r1925: now we lookup the domain controller
and fallback to a workstation name

metze
(This used to be commit 2012d90f268f69a3a4e5890a0f3615237853bd0b)
2007-10-10 12:58:11 -05:00
Volker Lendecke
3ccba74549 r1920: This needs more inspection by the IDL experts. Reverting my last change.
Volker
(This used to be commit 5d9b5a2e58cb271ea38de96e2b4b252ded2b1cdf)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
9d62046b0e r1919: paasword change basicly works now:-)
but we need to find the real pdc for the users domain
and fallback to other levels

metze
(This used to be commit f1b9c1f3dd0fb927c065541da900ae43e0018a62)
2007-10-10 12:58:11 -05:00
Volker Lendecke
c3ec4582ba r1917: Attempt to push the AIX machine a bit further in the compile. I'm not sure,
but pidl there says "syntax error".

Volker
(This used to be commit c26dc367e4ef2619016d8063a9dfcc7a94be865b)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
ad5acba254 r1916: return a more clear error, we are miss configure in this case
metze
(This used to be commit a908f831cb9dd265f9b183512053f9e608feec3d)
2007-10-10 12:58:11 -05:00
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