1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

29530 Commits

Author SHA1 Message Date
Jeremy Allison
a4932d6657 Use sys_getgrnam not getgrnam. Pointed out by Herb.
Jeremy.
(This used to be commit 43eec6517023e7865618791c231e54cc1b800ceb)
2008-07-24 11:56:49 -07:00
Steve French
890361db59 Merge branch 'v3-3-test' of git+ssh://sfrench@git.samba.org/data/git/samba into v33
(This used to be commit 22afe367fef35d4262d960973933023a0a5ce77d)
2008-07-24 09:35:20 -05:00
Steve French
0732750497 cifs.upcall was not recognizing the newer name "dns_resolver" key type
(as a synonym for the older "cifs.resolver" name) when resolving host
names to ip addresses for the kernel.

Acked-by: Jeff Layton
(This used to be commit 22c36b27c60193102b3153e073216865adb1b6c1)
2008-07-24 09:32:53 -05:00
Volker Lendecke
8ea3ce5342 Remove unused request_finished_cont()
(This used to be commit 865ea6fcbc089a03e453709fa54ff2a39c0c168e)
2008-07-24 15:01:04 +02:00
Volker Lendecke
d7b87cdce2 Make use of TALLOC_FREE when freeing the per-winbindrequest memory context
(This used to be commit 9e49d390f79c6afc8b0efd9664e60602aebaa4f2)
2008-07-24 14:50:22 +02:00
John H Terpstra
b39237d3b3 pdb_ldap: Raise level for debug message to avoid log file flooding.
(This used to be commit 9b863a10da8762f715c16f147d6cd1e79422d248)
2008-07-24 09:49:28 +02:00
Michael Adam
24d748cf34 re-run "make idl" after adding idl for idl for Primary:Kerberos-Newer-Keys
Michael
(This used to be commit d78667c88515aa4fffc49b44c00f470f7d25bd4d)
2008-07-23 23:10:34 +02:00
Stefan Metzmacher
ae7bae6147 drsblobs.idl: add idl for Primary:Kerberos-Newer-Keys blob in supplementalCredentials
metze
(cherry picked from commit 97b7901afbccc9647ad2958d4cf12300de2655d1)
(This used to be commit 5db983d1538453f0ba35d67a099396a18c7ab736)
2008-07-23 23:10:05 +02:00
Michael Adam
6b7134e2d3 re-run "make idl" after fixing unknowns in package_PrimaryKerberos (drsblobs.idl)
Michael
(This used to be commit a5de166833631dbc8450277d180c69086deacd4b)
2008-07-23 23:06:30 +02:00
Stefan Metzmacher
2951590a68 drsblobs.idl: fix unknowns in package_PrimaryKerberos idl
metze
(cherry picked from commit da9ceb2bf17f964334d9317829d40483e2c04b10)
(This used to be commit 5459745369092a4d48fee18fb1be53f195405370)
2008-07-23 23:05:56 +02:00
Michael Adam
4c3aa3056c re-run "make idl" after fixing idl for supplementalCredentialsSubBlob.
Michael
(This used to be commit e33af40ad41816531c3189ef146f192a902d3229)
2008-07-23 23:02:09 +02:00
Stefan Metzmacher
904d6528dc drsblobs.idl: fix idl for supplementalCredentialsSubBlob
metze
(cherry picked from commit 24c5b10136f6e640832193aaf9e6d7e865c288bc)
(This used to be commit 38aca9c11783daf30e19b4951451ec9a6b85cd30)
2008-07-23 23:01:07 +02:00
Michael Adam
66bb6ac2ea re-run "make idl" after changing unknown1->reserved in drsblobs.idl
Michael
(This used to be commit 398702a818a0c292ab5b4f76be95168de83ffa25)
2008-07-23 22:42:18 +02:00
Stefan Metzmacher
813048630e drsblobs.idl: rename unknown1 -> reserved
metze
(This used to be commit fb0379aede4665987679c2e1b5ae943f124804b6)
2008-07-23 22:38:17 +02:00
Steve French
224f9b839b cifs.upcall: fix compile warning
Steve French noticed these warnings when building cifs.upcall:

   Compiling client/cifs.upcall.c
   client/cifs.upcall.c: In function 'usage':
   client/cifs.upcall.c:204: warning: declaration of 'prog' shadows a global declaration
   client/cifs.upcall.c:33: warning: shadowed declaration is here

Change the usage function to not take and arg and have it just use the global
"prog" variable. Fix a typo in the log message generated when an unknown
option is specified. Also getopt() always returns '?' when it sees an unknown
option so there's no point in printing it out.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit 4b8362f9777debd21c47154e786b7017fbf847f7)
2008-07-23 14:25:17 -05:00
Karolin Seeger
7014c97aab rpc_parse: Unify spoolss debug messages.
Karolin
(This used to be commit 5ab391d466ce9ddea31f6f6bf467aa6c5f3a7efb)
2008-07-22 21:46:14 +02:00
Michael Adam
2bd58bf383 Change occurrences of the u1 member of DsBindInfo* to pid after idl change.
Michael
(This used to be commit 42f3d681cac4a443347d1ed253848d45f8746f89)
2008-07-22 16:28:13 +02:00
Michael Adam
bb1c03f1c6 re-run "make idl" after changing u1 member to pid in DsBindInfo*.
Michael
(This used to be commit d08e8c4738cfd7785d3b9a2c828c27cc8bc0c6f7)
2008-07-22 16:28:13 +02:00
Michael Adam
1f54cc7953 drsuapi.idl: change the u1 field in DsBindInfo* to "pid".
According to the WSPP docs, section 5.35,
this is the "process identifyer" of the client.
It is meant for informational and debugging purposes
only and its assignment is implementation specific.

Michael
(This used to be commit 5c2119ba63a5a119e1b8f055779e5c398333f177)
2008-07-22 16:28:13 +02:00
Zach Loafman
472519eb69 Check for f_frsize when using statvfs
Add a configure test for the availability of f_frsize in struct statvfs
(for broken platforms that define statvfs but still have
f_bsize/f_iosize). Also add sys/types.h to the other struct statvfs test
(again, some platforms need it).
(This used to be commit 591bf1d15ff3b93db908cc3a4b6e10d09e5b74b6)
2008-07-22 15:00:48 +02:00
Zach Loafman
abaa69b32b Make DSO_EXPORTS_CMD regexp more POSIX compliant
The FreeBSD sed command doesn't understand \? without passing -E to turn
on extended regexps. This patch changes the DSO_EXPORTS_CMD regexp to a
POSIX compliant RE by switching the \+ to a \{1,\} bound and the \? to a
\{0,1\} bound.
(This used to be commit 0acc888ca91a7401c5e54388c58272e263f73069)
2008-07-22 15:00:48 +02:00
Zach Loafman
863a6aa07e Fix warnings on FreeBSD-based platforms
Fix two shadowed declaration warnings on FreeBSD-based platform:
'reboot' is a 4.0BSD syscall in unistd.h and 'tcp_seq' is a typedef in
netinet/tcp.h.
(This used to be commit 14d2a4da1da38d6f69c63505d35990322f253e5d)
2008-07-22 15:00:48 +02:00
Zach Loafman
06d0790c07 Fix various build warnings
This fixes various build warnings on our platform. I'm sure I haven't
caught them all, but it's a start.
(This used to be commit 6b73f259cb67d9dda9127907d706f9244a871fa3)
2008-07-22 15:00:48 +02:00
Zach Loafman
45bbad9ca0 Add --enable-picky-developer
This adds an --enable-picky-developer option that will halt compilation
on warnings. Yes, this could be handled by a direct Makefile change, but
people should be encourage to do it!
(This used to be commit 10a2ab40771b7d0222f339a87a45630a23ce4788)
2008-07-22 15:00:48 +02:00
Michael Adam
2d7660dcc3 rpcclient: make DsGetNCChanges work against w2k8 (add knowledge of DsBindInfo48)
Michael
(This used to be commit 27ce662f5d4e1185cedc59c52f94458fb6425f5c)
2008-07-22 14:47:11 +02:00
Michael Adam
a42aca1576 re-run make idl after adding drsuapi_DsBindInfo48 to drsuapi.idl
Michael
(This used to be commit ac5d8ede8a94e8411d38b684e943d0b489ba8b70)
2008-07-22 13:23:18 +02:00
Michael Adam
b80a167db3 drsuapi.idl: add drsuapi_SupportedExtensionsExt bitfield.
This knowledge is obtained from the wspp-docs (section 5.35).

Michael
(cherry picked from commit f5afb695045b1a2f3b8c00a4d82d40e8e50726c9)
(This used to be commit 7a3a2b916d5c1116d2536bc87a4f21cd38861668)
2008-07-22 13:21:22 +02:00
Michael Adam
7864be2bf6 drsuapi.idl: the last 16 bytes in DsBindInfo48 ar the GUID of the config dn.
This bit seems not to be documented in the WSPP docs.

Michael
(cherry picked from commit 705f79bd0a5e93daa0cb11b5dcca36e75c75df93)
(This used to be commit 995b0eda0ca46db5f7e6fdbbf92ce86584cb6126)
2008-07-22 13:21:17 +02:00
Michael Adam
79c2426dbc drsuapi.idl: add drsuapi_DsBindInfo48.
This is necessary to make DsGetNcChanges work with win2008.

Michael
(cherry picked from commit dd278b069b8683a0e3721ebb7d0de06d2bc1c86f)
(This used to be commit 23742a369123722185297151fd743cb20812d3dd)
2008-07-22 13:21:10 +02:00
Michael Adam
16a9020029 re-run make idl after Jelmer's "poperly cast array lengths" pidl change.
(f321240fa91fa19c1131f119c42f64897d220682)

Michael
(This used to be commit 962c2670b10addf81a242d8cb381cc010e036b8e)
2008-07-22 11:54:54 +02:00
Karolin Seeger
d616e6418d man pages: "printcap name" is a global parameter, not a share specific one.
Karolin
(This used to be commit 9cde2525560536e16e2dbf991dbeb446260dd0df)
2008-07-22 11:28:04 +02:00
Volker Lendecke
ad4774787f Update Roadmap
(cherry picked from commit d1c3b57085b493b47398daf71ce18f16ece57da0)
(This used to be commit 3d8336966cb2439f5727b6c99c40a89bc0fb5d84)
2008-07-21 16:20:16 +02:00
Volker Lendecke
20675473b9 YESS -- remove the PI_* pipe constants
(This used to be commit 26a40f708a44fa460459a43014a101a383586e54)
2008-07-21 14:36:32 +02:00
Volker Lendecke
da6e4248ee Make idl: cli_do_rpc_ndr does not use pipe_idx anymore
(This used to be commit ffd2ff5325ef24f08dcb63e4561f5f62bffef6d3)
2008-07-21 14:36:31 +02:00
Volker Lendecke
a20c498310 Remove unused function rpccli_is_pipe_idx
(This used to be commit 287ffc17a072d5e1a5b0e1ecae089faf67b814b7)
2008-07-21 14:36:31 +02:00
Volker Lendecke
86bb746406 Refactoring: CLI_DO_RPC_* uses interface instead of pipe_idx
(This used to be commit 6d2209ba5da0937ce17e71951a1628ff1f5deacb)
2008-07-21 14:36:31 +02:00
Volker Lendecke
bd479ced46 Remove a reference to pipe_idx
(This used to be commit e949b9d11f439c32c85a3cd9ae4c1a859a4c284a)
2008-07-21 14:36:31 +02:00
Volker Lendecke
abce3cdf56 Remove some unused code
(This used to be commit b60a681dd09349426aa522d697abacf62ebfdaf2)
2008-07-21 14:36:31 +02:00
Volker Lendecke
d460ead468 Remove one reference to PI_NETLOGON
(This used to be commit e89bbab1b875a0b55b70913dcc1e3e73137c8b90)
2008-07-21 14:36:31 +02:00
Volker Lendecke
45934af498 Remove one reference to PI_LSARPC
(This used to be commit 40247e8d3d53502fa8d7cc6b3eb9ed43f51142f3)
2008-07-21 14:36:30 +02:00
Volker Lendecke
41525152f5 Remove some fully outdated sample code
(This used to be commit 0df0e81784362c36a79954c6b9e3b341ea59fb6d)
2008-07-21 14:36:30 +02:00
Volker Lendecke
303f98af2f Remove now unused cli_get_pipe_name
(This used to be commit ed4a447103cd9ada59222d79f5784818fe033209)
2008-07-21 14:36:30 +02:00
Volker Lendecke
346a8d1bdc Remove now unused cli_get_pipe_idx
(This used to be commit e02a550527307f7b300d3fe13631e2d29dbc5e06)
2008-07-21 14:36:29 +02:00
Volker Lendecke
9664f24ecf Remove now unused cli_get_iface
(This used to be commit 2e60701e8d41132f90e64a86bccd99cc188d38c9)
2008-07-21 14:36:28 +02:00
Volker Lendecke
05cc3fda05 Refactoring: connect_dst_pipe uses ndr_syntax_id instead of pipe_idx
(This used to be commit 0f77746f36b98acc5171727fa3fc236af9fd2000)
2008-07-21 14:36:28 +02:00
Volker Lendecke
d86ff59989 Refactoring: net_sh_run uses ndr_syntax_id instead of pipe_idx
(This used to be commit 85c8363d5179e7053adc05e8abce2fb26cf9b968)
2008-07-21 14:36:28 +02:00
Volker Lendecke
f23567fcb9 Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idx
(This used to be commit 850166ec0d17eb85a0c921dc3b966fac0677af4a)
2008-07-21 14:36:28 +02:00
Volker Lendecke
82b5f54f96 Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idx
(This used to be commit 85db87c451dacf80e9575c04e9e08c625b3f1199)
2008-07-21 14:36:27 +02:00
Volker Lendecke
798b56edae Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idx
(This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
2008-07-21 14:36:27 +02:00
Michael Adam
739e9cfbe0 testsuite: fix expr error on Tru64, triggered by uninitialized failed variable.
Michael
(This used to be commit 25cd227aaecf91dfa3114ae0fd2b47c783434aad)
2008-07-21 11:23:55 +02:00