summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-03-15Fix Coverity ID 555Volker Lendecke1-0/+1
(This used to be commit 44122f06d02492a7a0a37413d6f975c3b1e3c283)
2008-03-15Fix Coverity ID 563Volker Lendecke1-5/+1
dirmask is always set here, we've dereferenced it before anyway (This used to be commit e6787aa133a1b241987319486c3bc46ac6ad41af)
2008-03-15Fix Coverity ID 564Volker Lendecke1-10/+0
finfo1==NULL just does not happen in current code (This used to be commit 9ea0078c3151984a901c9bba559ae2bd7959e077)
2008-03-15Allocate one 0-byte in asprintf replacement when len==0Volker Lendecke1-1/+1
Some S3 code depends on this. (This used to be commit dc3d5e16452bf30055638ba3cfe99097fb557156)
2008-03-15Fix typo.Günther Deschner1-1/+1
Guenther (This used to be commit e12721f73db72b99aa0e4be35c51aa8636eb3f59)
2008-03-14Fix bug 5317Volker Lendecke1-1/+1
Thanks to oster@cs.usask.ca (This used to be commit f18a80575921a241c7243c5af5a0101a2956ff17)
2008-03-14Fix bug 4901Volker Lendecke1-3/+8
(This used to be commit 1dd8fa9a521046f1de8173ac00224706c5249665)
2008-03-14libreplace: fix samba4 build (by not setting global LIBS).Michael Adam2-3/+3
This corrects the earlier fix of the standalone build, by setting LIBS to the desired value only in configure.ac but not in getifaddrs.m4. Not that this changes the standalone build in that it adds these libs undconditionally and not only if they are needed by the getifaddrs replacement functions. Michael (cherry picked from commit ff3af1703ddc9e5383f32156bc5be8351f795e76) (This used to be commit 2546da817f666914c1c220ec1fedc19aa41b25ad)
2008-03-14libreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.Michael Adam1-0/+4
This is needed, otherwise $libreplacedir/system/network.h does not find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.). Michael (cherry picked from commit 297c3bece094ddb5f268b02e61e33f512ccfe6f5) (This used to be commit ddd564e8bf2b115aa5dbcbebd4be30b749ad8752)
2008-03-14libreplace: add an inet_aton() function that calls inet_pton().Michael Adam6-0/+42
inet_aton() is even needed inside libreplace, in the implementation of rep_getaddrinfo(). Michael (cherry picked from commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919) (This used to be commit 83baff78ce752a9129554a456cc24d043d419cd1)
2008-03-13Allow parameter "include" in registry based configuration (again).Michael Adam1-1/+0
This is for instance important to allow includes with %I to setup individual logging (e.g.) for certain clients. Michael (This used to be commit 8dad80b4719691d66827ed46bebb963c0f8ba568)
2008-03-13Fix %I macro expansion for IPv4 mapped IPv6 addresses.Michael Adam1-2/+8
On some systems (linux e.g.), when listening on ipv6 and ipv4, addresses of ipv4 clients are printed as mapped ipv4 addresses by getnameinfo (e.g. ::ffff:127.0.0.1). This re-establishes the original behaviour of %I to expand to the plain ipv4 address for an ipv4 client. Michael (This used to be commit 0abc8863f87fe5d2473492797c010784cb086008)
2008-03-12Use existing srv_name_slash.Günther Deschner3-26/+5
Guenther (This used to be commit 5f2b3145fcaeee58f285b6527e9fac09c5337e8a)
2008-03-12For convenience reasons, always create cli->srv_name_slash in the rpc_client.Günther Deschner2-0/+2
Guenther (This used to be commit 6363c383d6989d2dfb2ee488ffa7aeb128c5385b)
2008-03-12Remove unused marshalling for SRV_NET_DISK_ENUM.Günther Deschner2-164/+0
Guenther (This used to be commit 4928f1efceb8cb0b0fda813e6f43f668084caa79)
2008-03-12init_srv_share_info_ctr: fix counting of services.Michael Adam1-1/+2
The number of services was recorded too early leading to registry shares not showing up in browse lists. Guenther - please check. Michael (This used to be commit 737e470e02d1233fda51e903f27955e45427e95a)
2008-03-12init_srv_share_info_ctr: Add debug messages.Michael Adam1-0/+3
Michael (This used to be commit 8b2cc36ffcb3bccb760ec7cb0a22558eab56070d)
2008-03-12Add a debug message.Michael Adam1-0/+1
Michael (This used to be commit a39807044879ad9df7614e010db6ea16b51000a0)
2008-03-12loadparm: add a debug message.Michael Adam1-0/+2
Michael (This used to be commit ce943aeb581027daf813528481b44177d391b61d)
2008-03-12loadparm: remove services read from smb.conf when starting over for config ↵Michael Adam1-0/+1
backend registry. Michael (This used to be commit b942ff6b7f0be4898e05525558b354533dea312b)
2008-03-12loadparm: add convenience wrapper lp_kill_all_services()Michael Adam2-1/+9
Michael (This used to be commit 32bfd131e33d06be9dfaef02b57f5401d2bc7639)
2008-03-12loadparm: add a commentMichael Adam1-0/+1
Michael (This used to be commit 05eda1252572f310499b28123d0f9e4211b7d54c)
2008-03-12loadparm: fix a comment typo.Michael Adam1-1/+1
Michael (This used to be commit 0a619d4dc476c945130fe47126d98cd47b39c34d)
2008-03-12loadparm: add utility function to check for config backend file.Michael Adam1-1/+9
Michael (This used to be commit 288495ec1a9b0c37bb3f98043f8f8dd946072bac)
2008-03-12loadparm: use a function to check for the registry config backend.Michael Adam1-3/+3
Michael (This used to be commit 4ac52a5a1dfe8f4f22e960db2e4ca99f9e262427)
2008-03-11Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-1/+1
v3-2-test (This used to be commit 1de05f1a87fcea598021ca485d3ed87005a3be68)
2008-03-11Using Metze's S4 nttrans rename test, the nttrans renameJeremy Allison1-1/+1
behaves the same as the trans2 one. Jeremy. (This used to be commit c4fa4917dad97c5047f7336c6675739b44da256b)
2008-03-11selftest: samba3 passes RAW-SEARCH nowStefan Metzmacher1-1/+1
As the resume key tests are skipped against samba3. metze (This used to be commit c765090871ed68a9ba650bca44f5f3b88997ea14)
2008-03-11Metze pointed out this we don't need FILE_ATTRIBUTE_READ here.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 923aa9f330cb370221af6b66cf0f237a9bd06f8e)
2008-03-11Allow us to pass RAW-RENAME by testing that the connection structJeremy Allison1-1/+1
connection paths are equal, not just the conn structs themselves. Jeremy. (This used to be commit 632f3fe66fbcbe3cc25d070c3885177264f5ad65)
2008-03-11Try and fix bug #5315, as well as S4 torture tests RAW-OPLOCK BATCH19,Jeremy Allison3-10/+13
BATCH20 and RAW-RENAME. Jeremy. (This used to be commit 9065792d4bc42522f12f9732de3c0ad82c72a2d3)
2008-03-11Fix S3 to pass the test_raw_oplock_exclusive3 test.Jeremy Allison2-3/+4
Jeremy. (This used to be commit 028302fac53083d66c969b876db1d831e53b8e35)
2008-03-11The attached patch removes some global variables, and make them local to main().Charles1-8/+9
(This used to be commit 50cab87d3ee6d701dd8847f4e0a058f5e2d80e0f)
2008-03-11Add some last init_srvsvc_X functions.Günther Deschner1-0/+60
Guenther (This used to be commit 41dc55f1de8590b1bb5572e4adbf9bf960c12a64)
2008-03-11Convert mapping_tdb.c to dbwrapVolker Lendecke2-292/+281
I know, this is not used anymore, but until ldb knows about ctdb which is blocked by the lack of transactions in ctdb, a tiny patch reactivating mapping_tdb.c might be needed for cluster setups. (This used to be commit 8e0fa453a3d0a2c997a935b6940796612c972708)
2008-03-11Clean up add_mapping_entry slightlyVolker Lendecke1-9/+11
(This used to be commit 38bb69cb316ba605a6d3a4454b986cb63ace3c21)
2008-03-11Cleanup after pstring removalVolker Lendecke1-1/+1
(This used to be commit 66d2a9c87411be88269bbb3a4d3c0a218a55be06)
2008-03-11Convert secrets.c to use dbwrapVolker Lendecke1-128/+93
(This used to be commit 9d30e5991c6fe77ef5fd505efb756554bbe77256)
2008-03-11Trying to fix resume_handling for srvsvc_NetShareEnumAll.Günther Deschner1-1/+5
Guenther (This used to be commit 874a0ffd7dbd993230c00c503ec6b27fbffb7745)
2008-03-11Allow to send no resume_handle in rpcclient's NetShareEnum* calls.Günther Deschner1-2/+4
Guenther (This used to be commit 7e178a3dc970f55ddb30b4fc467aaaa06ef35b0f)
2008-03-11registry shares: prevent creating regular share called "global".Michael Adam1-0/+4
This is a first quick fix. Registry shares should be rewritten to use libnet_conf. Michael (This used to be commit 71bd0bd0ea018e8c5033bbf904333c596330855a)
2008-03-11Fix return of reg values below HKLM/SOFTWARE/MICROSOFT/WINDOWSNT/CURRENTVERSION.Günther Deschner1-1/+1
Michael, please check. Guenther (This used to be commit 29ccc0e233bae160f7a6e1b0ff6b6cdda4d0f4ee)
2008-03-11Use pidl for _srvsvc_NetDiskEnum.Günther Deschner2-47/+26
Guenther (This used to be commit 933d546f86b48bfd9f84045ec21efc1c362b4d93)
2008-03-11Fix netdiskenum call in rpcclient.Günther Deschner1-1/+1
Guenther (This used to be commit dcbfdd1330cf1c7e8d1b4ebc051db139ed6a0053)
2008-03-10Use a separate tdb for mutexesVolker Lendecke7-82/+71
Another preparation to convert secrets.c to dbwrap: The dbwrap API does not provide a sane tdb_lock_with_timeout abstraction. In the clustered case the DC mutex is needed per-node anyway, so it is perfectly fine to use a local mutex only. (This used to be commit f94a63cd8f94490780ad9331da229c0bcb2ca5d6)
2008-03-10Convert secrets_lock_trust_account_password to tallocVolker Lendecke2-12/+31
This is preparing the conversion of secrets.c to ctdb (This used to be commit 1307f0130c47b8d740d2b7afe7a5d8d1a655e2a2)
2008-03-10Add dbwrap_trans_store and dbwrap_trans_deleteVolker Lendecke1-0/+79
(This used to be commit e66e502bee65fe44944d325ebeeaa3bf56169eb8)
2008-03-10Add transactions to the dbwrap APIVolker Lendecke4-0/+48
Only filled in for tdb so far, for rbt it's pointless, and ctdb itself needs to be extended (This used to be commit 0a55e018dd68af06d84332d54148bbfb0b510b22)
2008-03-10add dbwrap_change_int32_atomicVolker Lendecke1-0/+28
(This used to be commit 4ee21a98bc3d1c41a6d8868e98118c58372b2d1a)
2008-03-10Add netconnenum to rpcclient.Günther Deschner1-0/+67
Guenther (This used to be commit 627688c7bac4d3afcc846164c2fefebdbbc10d68)