summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-07-28rpcclient: Set the pid filed of the outgoing DsBindInfo to 0.Michael Adam1-1/+1
This is for debugging and informational purposes only. The assignment is implementation specific. (WSPP docs, sec. 5.35). Michael (This used to be commit 18ea033909a5363c92530ed2a06a2b89be5e7c79)
2008-07-27Fix a debug messageVolker Lendecke1-1/+1
(This used to be commit 1970eed1b79a5d9dc45eb96098d653ad62a20871)
2008-07-27Remove a pointless CONST_DISCARDVolker Lendecke1-1/+1
(This used to be commit c63cb78b4c8a283c0eebe37ff2f60ddbfbfaac4a)
2008-07-27Fix srvsvc_Net[Get|Set]FileSecurityVolker Lendecke1-155/+87
There were two bugs in those routines: They did not send INTERNAL_OPEN_ONLY to open_file_ntcreate() and they did not chdir, so the file could never be found. While there I decided to remove the become_root() calls and call create_file() instead of the lower-level routines. (This used to be commit 669771738422776f8c81086ffea4924b62d72957)
2008-07-27Make create_conn_struct() publicVolker Lendecke2-1/+6
(This used to be commit e115e2582256c34e6905afc8c2929efd6ea61088)
2008-07-27Remove unused extern struct current_user from substitute.cVolker Lendecke1-2/+0
A bit hard to believe, but substitute.c does not use current_user anymore. (This used to be commit de5d27d70abcad996af91b4e93879fc415f2b38d)
2008-07-26Save 128 byte (32-bit platform) or 256 byte (64-bit) per connection_structVolker Lendecke1-1/+1
This was just too easy not to use :-) (This used to be commit a9922a2a3661a6cff7351ea6b3558f091bb45feb)
2008-07-26make read/write to internal pipes available externallyVolker Lendecke3-16/+12
(This used to be commit e11b5cb1e061caf4c3793fb402ca6bee95a8f26c)
2008-07-26Refactoring: Make close_internal_rpc_pipe_hnd a talloc destructorVolker Lendecke2-14/+5
(This used to be commit 10b47a0c2cfd62489428518112da82f73a52b7bc)
2008-07-26Refactor make_internal_rpc_pipe_p: connection_struct is not neededVolker Lendecke3-23/+20
(This used to be commit defcf0eecfb8eb035d9ca80530720b9e6873f6c7)
2008-07-26Create doxygen comments for async_req.[ch]Volker Lendecke2-45/+162
(This used to be commit 1dab45b16a23b1126fbf29890747a2b256f08968)
2008-07-26Make api_rpcTNP static to srv_pipe.cVolker Lendecke2-4/+5
(This used to be commit 256c93a8b3d4d9a4e52a656c91b89a043a087066)
2008-07-25Fix an incompatible pointer warningVolker Lendecke1-2/+2
(cherry picked from commit 3282f7289b7b33beeaa1ca649651cca6537a69af) (This used to be commit fc8641443951dc852dc9cf1e73626df452b815f7)
2008-07-25Fix bug creating files using DOS clients with mixedJeremy Allison1-1/+1
case files. Reported by Daniel Johnson <Progman2000@usa.net>. The smb_set_file_time() call to set the filetimes is failing because it's using the unmodified name passed in by the client, not the modified name (matching case on the disk) that comes out from create_file(). Jeremy. (This used to be commit 1706a33e78347d14a8b09fd21b87d57bad543bcd)
2008-07-25Fix a race condition in winbind leading to a crashVolker Lendecke1-4/+3
When SIGCHLD handling is delayed for some reason, sending a request to a child can fail early because the child has died already. In this case async_main_request_sent() directly called the continuation function without properly removing the malfunctioning child process and the requests in the queue. The next request would then crash in the DLIST_ADD_END() in async_request() because the request pending for the child had been talloc_free()'ed and yet still was referenced in the list. This one is *old*... Volker (cherry picked from commit 8691709626b0d461de91b8fc9d10c730d1f183dd) (This used to be commit c70e2b6476d2d99c79624e15a4a3cfcdc850fc7c)
2008-07-25talloc_string_sub2: Don't return NULL if src is empty.Karolin Seeger1-1/+1
This fixes BUG #5635. Finished print jobs were not removed from the $PRINTER.tdb file if "printing=cups". In print_queue_update, talloc_string_sub2 is used to assemble the "lprm command". In the case of using "printing=cups", the default "lprm command" is an empty string. talloc_string_sub2 is called with this empty string and returns NULL which leads to exiting print_queue_update without doing the actual print queue update. Signed-off by Michael Adam <obnox@samba.org> (This used to be commit 03d66554d1bbd9d6c72a3dd5203e5305343c76b8)
2008-07-24If we're not allowing streams on this conn ptr,Jeremy Allison1-0/+5
then don't allow create_file() to call down to create_file_unixpath() with a stream name. Jeremy. (This used to be commit 167d611b525db6d103a7f83fd5a19792be4e7745)
2008-07-24Remove trailing withespace from wbinfo -m which breaks gdm auth.Andreas Schneider1-4/+5
Signed-off-by: Andreas Schneider <anschneider@suse.de> (This used to be commit 12848e8eb91bf60551ada78e3430ee25142e366b)
2008-07-24Add casts to uint32_t to match prototype for sid_append_rid().Jeremy Allison1-4/+4
Jeremy. (This used to be commit 15004019676a5d860f9d5fbfbecbd31fcec8bf5b)
2008-07-24Use sys_getgrnam not getgrnam. Pointed out by Herb.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 43eec6517023e7865618791c231e54cc1b800ceb)
2008-07-24Merge branch 'v3-3-test' of git+ssh://sfrench@git.samba.org/data/git/samba ↵Steve French7-115/+609
into v33 (This used to be commit 22afe367fef35d4262d960973933023a0a5ce77d)
2008-07-24cifs.upcall was not recognizing the newer name "dns_resolver" key typeSteve French1-1/+2
(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-24Remove unused request_finished_cont()Volker Lendecke2-13/+0
(This used to be commit 865ea6fcbc089a03e453709fa54ff2a39c0c168e)
2008-07-24Make use of TALLOC_FREE when freeing the per-winbindrequest memory contextVolker Lendecke1-12/+3
(This used to be commit 9e49d390f79c6afc8b0efd9664e60602aebaa4f2)
2008-07-24pdb_ldap: Raise level for debug message to avoid log file flooding.John H Terpstra1-1/+1
(This used to be commit 9b863a10da8762f715c16f147d6cd1e79422d248)
2008-07-23re-run "make idl" after adding idl for idl for Primary:Kerberos-Newer-KeysMichael Adam3-6/+457
Michael (This used to be commit d78667c88515aa4fffc49b44c00f470f7d25bd4d)
2008-07-23drsblobs.idl: add idl for Primary:Kerberos-Newer-Keys blob in ↵Stefan Metzmacher1-0/+37
supplementalCredentials metze (cherry picked from commit 97b7901afbccc9647ad2958d4cf12300de2655d1) (This used to be commit 5db983d1538453f0ba35d67a099396a18c7ab736)
2008-07-23re-run "make idl" after fixing unknowns in package_PrimaryKerberos ↵Michael Adam2-66/+32
(drsblobs.idl) Michael (This used to be commit a5de166833631dbc8450277d180c69086deacd4b)
2008-07-23drsblobs.idl: fix unknowns in package_PrimaryKerberos idlStefan Metzmacher1-6/+8
metze (cherry picked from commit da9ceb2bf17f964334d9317829d40483e2c04b10) (This used to be commit 5459745369092a4d48fee18fb1be53f195405370)
2008-07-23re-run "make idl" after fixing idl for supplementalCredentialsSubBlob.Michael Adam3-3/+58
Michael (This used to be commit e33af40ad41816531c3189ef146f192a902d3229)
2008-07-23drsblobs.idl: fix idl for supplementalCredentialsSubBlobStefan Metzmacher1-3/+8
metze (cherry picked from commit 24c5b10136f6e640832193aaf9e6d7e865c288bc) (This used to be commit 38aca9c11783daf30e19b4951451ec9a6b85cd30)
2008-07-23re-run "make idl" after changing unknown1->reserved in drsblobs.idlMichael Adam2-4/+4
Michael (This used to be commit 398702a818a0c292ab5b4f76be95168de83ffa25)
2008-07-23drsblobs.idl: rename unknown1 -> reservedStefan Metzmacher1-1/+1
metze (This used to be commit fb0379aede4665987679c2e1b5ae943f124804b6)
2008-07-23cifs.upcall: fix compile warningSteve French1-3/+3
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-22rpc_parse: Unify spoolss debug messages.Karolin Seeger1-2/+2
Karolin (This used to be commit 5ab391d466ce9ddea31f6f6bf467aa6c5f3a7efb)
2008-07-22Change occurrences of the u1 member of DsBindInfo* to pid after idl change.Michael Adam2-2/+2
Michael (This used to be commit 42f3d681cac4a443347d1ed253848d45f8746f89)
2008-07-22re-run "make idl" after changing u1 member to pid in DsBindInfo*.Michael Adam2-12/+12
Michael (This used to be commit d08e8c4738cfd7785d3b9a2c828c27cc8bc0c6f7)
2008-07-22drsuapi.idl: change the u1 field in DsBindInfo* to "pid".Michael Adam1-4/+4
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-22Check for f_frsize when using statvfsZach Loafman2-1/+17
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-22Make DSO_EXPORTS_CMD regexp more POSIX compliantZach Loafman1-1/+1
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-22Fix warnings on FreeBSD-based platformsZach Loafman14-65/+65
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-22Fix various build warningsZach Loafman7-29/+23
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-22Add --enable-picky-developerZach Loafman3-3/+15
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-22rpcclient: make DsGetNCChanges work against w2k8 (add knowledge of DsBindInfo48)Michael Adam1-0/+2
Michael (This used to be commit 27ce662f5d4e1185cedc59c52f94458fb6425f5c)
2008-07-22re-run make idl after adding drsuapi_DsBindInfo48 to drsuapi.idlMichael Adam3-0/+112
Michael (This used to be commit ac5d8ede8a94e8411d38b684e943d0b489ba8b70)
2008-07-22drsuapi.idl: add drsuapi_SupportedExtensionsExt bitfield.Michael Adam1-1/+6
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-22drsuapi.idl: the last 16 bytes in DsBindInfo48 ar the GUID of the config dn.Michael Adam1-1/+2
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-22drsuapi.idl: add drsuapi_DsBindInfo48.Michael Adam1-0/+10
This is necessary to make DsGetNcChanges work with win2008. Michael (cherry picked from commit dd278b069b8683a0e3721ebb7d0de06d2bc1c86f) (This used to be commit 23742a369123722185297151fd743cb20812d3dd)
2008-07-22re-run make idl after Jelmer's "poperly cast array lengths" pidl change.Michael Adam20-181/+181
(f321240fa91fa19c1131f119c42f64897d220682) Michael (This used to be commit 962c2670b10addf81a242d8cb381cc010e036b8e)
2008-07-21YESS -- remove the PI_* pipe constantsVolker Lendecke1-18/+0
(This used to be commit 26a40f708a44fa460459a43014a101a383586e54)