summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-04-01Fix SRVSVC ShareInfo max_users handling server side.Günther Deschner2-8/+8
Guenther (This used to be commit b4d944e724f7ae2a97ba788b185aba7b7308b475)
2008-04-01Re-run make idl.Günther Deschner2-8/+8
Guenther (This used to be commit 1b6083449fbc2a252c046a0757c411be64e6b6c0)
2008-04-01Use uint32 in max_users field in SRVSVC ShareInfo levels consistently.Günther Deschner1-2/+2
Guenther (This used to be commit 29c42792567870f3dc23363f4357fecbec862937)
2008-04-01Fix _srvsvc_NetShareSetInfo.Günther Deschner1-3/+5
Guenther (This used to be commit 2fd90b62d7e61fa0c23f8f41e9f12fc16f29a8b1)
2008-04-01test: add test script for testing "net registry".Michael Adam2-0/+385
Michael (This used to be commit fa5968a26b552d7f13574a826e506ed2d6630feb)
2008-03-31mount.cifs: fix several problems when mounting subdirectories of shares (try 2)Jeff Layton1-24/+66
This patch is the second patch to attempt to fix up some of the problems with mounting subdirectories of shares. The earlier patch didn't handle this correctly when POSIX extensions were enabled. This one does. This is a bit of a confusing area since the different components of a service string have different rules: 1) hostname: no '/' (slash) or '\' (backslash) is allowed to be embedded within the string 2) sharename: same rules as hostname 3) prefixpath: '\' *is* allowed to be embedded in a path component, iff POSIX extensions are enabled. Otherwise, neither character is allowed. The idea here is to allow either character to act as a delimiter when we know that the character can't be anything but a delimiter (namely everywhere up to the start of the prefixpath). The patch will convert any '\' unconditionally to '/' in the UNC portion of the string. However, inside the prefixpath, we can't make assumptions about what constitutes a delimiter because POSIX allows for embedded '\' characters. So there we don't attempt to do any conversion, and pass the prefixpath to the kernel as is. Once the kernel determines whether POSIX extensions are enabled, it can then convert the path if needed and it's able to do so. A patch to handle this has already been committed to the cifs-2.6 git tree. This patch also fixes an annoyance. When you mount a subdir of a share, mount.cifs munges the device string so that you can't tell what the prefixpath is. So if I mount: //server/share/p1/p2/p3 ..then /proc/mounts and mtab will show only: //server/share Finally, it also tries to apply some consistent rules to the uppercasing of strings. Signed-off-by: Jeff Layton <jlayton@redhat.com> (This used to be commit e03d1dfdb80333c071b600245eb749ef5664aa22)
2008-03-31Patch from Nicholas Brealey <nick@brealey.org> to distinguish between WinXP ↵Gerald W. Carter2-2/+5
and WinXP64. Defines a new value for the %a variable when detecting a Windows XP 64-bit client. (This used to be commit 0c94918fb52c5345ce30490046b79f81712c30bf)
2008-03-31Re-add support for the samr parameters string.Günther Deschner4-44/+50
(dialin settings, terminal server settings, etc.) Guenther (This used to be commit c4f248df8e34c6a028bf8d789fe9763b0ea063fe)
2008-03-31Re-run make idl.Günther Deschner2-12/+12
Guenther (This used to be commit 35a70c65beed1c4a1fab4113af7a5b232f23063b)
2008-03-31The parameters string (aka munged dial string) in samr is not a normal ↵Günther Deschner1-2/+2
lsa_String. Guenther (This used to be commit 98606c667a425113d87b2756ee7df34f67445539)
2008-03-31Add init_samr_parameters_string().Günther Deschner1-0/+35
Guenther (This used to be commit 8f6f0d1601cb93af51f8d493382cd707c3eb0cdf)
2008-03-31Fix enumeration of forest trusts from our root domain.Gerald W. Carter1-1/+1
Do not overwrite the domain->domain_flags when setting infomation in set_dc_type_and_flags_connect(). (This used to be commit 3414eac439b731ad7204b821ddc4fec54fe4435d)
2008-03-31DIsplay the short domain name in "wbinfo -m " by default.Gerald W. Carter1-10/+16
This fixes wbinfo -m to make preexisting behavior. Also adds the dns domain to the --verbose output. (This used to be commit b68caaa81bd75bb882c9363612d11d49dd73cb6f)
2008-03-31Augmented "wbinfo -m" to list additional information about the type, ↵Steven Danneman2-28/+169
direction, and transitivty of trusts. * added several helper functions to convert the trust_flags field in the winbindd_tdc_domain to more useful administrator ideas of trust type, trust direction, and trust transitivity. * converted winbindd_list_trusted_domains() to enumerate the trusted domain cache, instead of the domain list, and return additional trust information to the calling process * modified wbinfo to pretty print this additional trust information when a new --verbose switch is given with -m. Thus "wbinfo -m" and "wbinfo -all-domains" output as before, but "wbinfo --verbose -m" prints extra trust info. * updated some comments and fixed typos (This used to be commit e7827bb6afa264c12ecdc0858f49707ca3d6104f)
2008-03-31Forest root trust flags won't overwrite child trust flagsSteven Danneman2-33/+54
* changed the behavior of winbind_ads.c:trusted_domains() to not overwrite existing trust information if we're joined to a child domain, and querying the forest root domain. Previously if we were joined to a child domain, we'd request all known trust information from this child domain (our primary domain) and store it in the tdc. We'd then request all trust information from our tree root (to get the forests we transitively trust) and overwrite the existing trust information we already had from the perspective of the tree root. * updated several comments and fixed typos (This used to be commit 6aac972d790ad5ca65096cb2e85e6819b60a5413)
2008-03-31test: add (and unify) sectioning output of subtests in tests_all.shMichael Adam1-2/+8
Michael (This used to be commit d775194e9c7b75182c485fba427b20ec2bfcf16c)
2008-03-31test: add possibility to select tests to run via tests_all.sh (make test)Michael Adam1-8/+14
This allows to select the tests to run with tests_all.sh by setting the environment variable "RUNTESTS". Example: RUNTESTS="smbclient_s3_encrypted wbinfo_s3" make test Michael (This used to be commit bf4af79f050cceb6611a8aa3d893b59b816a41ce)
2008-03-31test: in tests_all.sh, wrap calls to test scripts into shell functions.Michael Adam1-20/+63
This is in preparation for enabling running only selected test scripts through "make test". Michael (This used to be commit ad1fbadf81c915425301ec495744c11f3103169f)
2008-03-31registry: reg_deletevalue should return error, when the value does not exist.Michael Adam1-0/+18
Michael (This used to be commit 04b48984bbf84c55bb41a74a11cbcc7358377fed)
2008-03-31wbinfo: use wbcAllocateGid()Stefan Metzmacher1-1/+8
metze (This used to be commit 960c069a2354e0803e2cbf22c26e1a9d0b657b79)
2008-03-31wbinfo: use wbcAllocateUid()Stefan Metzmacher1-1/+8
metze (This used to be commit a7d735df292cee7dd6e23c7d2328481d57162904)
2008-03-31wbinfo: use wbcSidToGid()Stefan Metzmacher1-10/+12
metze (This used to be commit 43df48bdca1a71fa44b24bb3917869f886555d9c)
2008-03-31wbinfo: use wbcSidToUid()Stefan Metzmacher1-10/+12
metze (This used to be commit a25b39cac1716323154dd30acb30180d3273587b)
2008-03-31wbinfo: use wbcGitToSid()Stefan Metzmacher1-9/+13
metze (This used to be commit 9936d861a1c1163ce6fd079211b50fd9b52bc05d)
2008-03-31wbinfo: use wbcUidToSid()Stefan Metzmacher1-9/+13
metze (This used to be commit 4766ebf7ac8d33f9cd0f983ecdc54ef44959648b)
2008-03-31wbinfo: use wbcPing()Stefan Metzmacher1-7/+5
metze (This used to be commit 9a2f0b21925e630fa9b268cedbc19cf814686b42)
2008-03-31build: fix configure option --with-static-libs=libXYZMichael Adam1-1/+1
This should not prevent building but linking of shared lib for subsystem XYZ (example --with-static-libs=libtdb). m4 quotation is tricky... Michael (This used to be commit 4d0a5d5c93ddab444a0097e1c56e4363574cb2b6)
2008-03-30Revert "regdb: use dbwrap->fetch() instead of fetch_locked() for readonly ↵Michael Adam1-11/+10
access" This reverts commit 4e2be189e97f653b75bd88135a631ce0f42db267. Metze, this broke the registry (reg_api layer), but I don't yet know exactly how and why. By the way, the locks there had the purpose of fetching the seqnum that really matches the data. This needs some more thought / debugging. But I wanted to have the tree in a working state again. Michael (This used to be commit 5c28c74aa06a82559f498373b3d6e9892d5c2cbe)
2008-03-29Fix a segfault (an uninitialized variable)Volker Lendecke1-3/+3
(This used to be commit 75eb30884a83266fd7331d8f1e3905a0245bb3d8)
2008-03-29winbindd_cache: add missing validation function for pwinfo cache entryMichael Adam1-0/+24
Michael (This used to be commit 6d3fc63bfab06346fa57719e8747397873a3c46d)
2008-03-28Fix missing '&&'.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 251df53811e4272b629575a4b50c29a99715ccf9)
2008-03-28Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison7-28/+145
v3-2-test (This used to be commit 985bd1e642b6e54f1bc95cd4cfcceb96107e383d)
2008-03-28Only allow sendfile on non-stream fsp's. Should fix make test for streamsJeremy Allison1-2/+2
as sendfile isn't implemented in the streams vfs modules yet. Jeremy. (This used to be commit eef53e9603d4f3d892ffe00b061def5d717ca481)
2008-03-29Zero initial return_authenticator in net rpc samdump.Günther Deschner1-0/+2
Guenther (This used to be commit 73ead752c5ec7104ea0eed7d963dc36467c81981)
2008-03-29Don't let winbind getgroups crash when we have no gids in the token.Günther Deschner1-3/+5
Guenther (This used to be commit 6a576cfe9b87e69af6acbe9abc04124b8b743fd3)
2008-03-28Re-run make idl.Günther Deschner3-15/+84
Guenther (This used to be commit 58018ad7f65409d971e5db7165f1b32b572cc275)
2008-03-28Fill in netr_NegotiateFlags.Günther Deschner1-8/+32
Guenther (This used to be commit 1cd1c27a0e5aa87682820c8dd81188b7bcc6551a)
2008-03-28Add some paranoia fixes for _wkssvc_NetrJoinDomain2/UnjoinDomain2.Günther Deschner1-2/+22
Guenther (This used to be commit 72101a7d0868b19a413b17f8142637f92c6cdad5)
2008-03-28mapping_ldb: fix memory leak in group enumerationStefan Metzmacher1-1/+2
metze (This used to be commit 235c056a0ecbb70b21a2572d42c32067dd699988)
2008-03-28Fix bug #5326 - OS/2 servers give strange "high word" replies for print jobs.Jeremy Allison1-1/+3
Jeremy. (This used to be commit d090d25cb702965b3d5e4635a26a06f2b62d235d)
2008-03-28Support "net ads join" format while joining to a specific ou.Günther Deschner1-0/+5
libnetjoin now supports Computers/Servers/Unix as well as ou=Computers,ou=Servers,ou=Unix,dc=ber,dc=realm,dc=com. Guenther (This used to be commit c0be84c96d8133c6b77d1f0efe41f5f2373febb3)
2008-03-28Add ads_check_ou_dn().Günther Deschner1-0/+47
Guenther (This used to be commit 380e9d26db5341d10807ccbfb413d0f53d3ffc71)
2008-03-28Add a talloc context parameter to current_timestring() to fix memleaks.Michael Adam7-22/+38
current_timestring used to return a string talloced to talloc_tos(). When called by DEBUG from a TALLOC_FREE, this produced messages "no talloc stackframe around, leaking memory". For example when used from net conf. This also adds a temporary talloc context to alloc_sub_basic(). For this purpose, the exit strategy is slightly altered: a common exit point is used for success and failure. Michael (This used to be commit 16b5800d4e3a8b88bac67b2550d14e0aaaa302a9)
2008-03-28srv_winreg: add a debug message to _winreg_CreateKey().Michael Adam1-0/+3
Michael (This used to be commit 971f6749ed23523f6eafe5136f6d4c920c20aec4)
2008-03-28net: add a "net registry" subcommand to locally access the registry.Michael Adam3-1/+534
The interface is like that of net rpc registry. Access is direct local access to the registry tdb through reg_api. Michael (This used to be commit 3250068eb980bd0489f814f702401cdc9c925a8d)
2008-03-28More ssize_t->SMB_OFF_TVolker Lendecke2-6/+6
(This used to be commit 8dd6458049d1b9d6849730ac19c39b049a68f302)
2008-03-28libreplace(samba4): let LIBREPLACE depend on LIBREPLACE_NETWORK for nowStefan Metzmacher1-1/+1
This should fix the build on solaris. Later this needs better fixing... metze (cherry picked from commit 89b7955733c34e9699a3b43ee54de92cb9469b90) (This used to be commit fcb497951a86551ce9c4be7b352335dad3be127a)
2008-03-28wbinfo: use wbcDomainInfo()Stefan Metzmacher1-18/+25
metze (This used to be commit 7714f9232110b2ee50e6ba8371f0bc23b83717a6)
2008-03-28wbinfo: use wbcGetgrnam()Stefan Metzmacher1-19/+12
metze (This used to be commit 8945dce4a18874bdf1a57f1ff8116a66a6f699a0)
2008-03-28wbinfo: use wbcListUsers() and wbcListGroups()Stefan Metzmacher1-54/+29
metze (This used to be commit 5a0ae1ad0c36e5ef97008a2c6bc2a921ca6538bd)