summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-03-07argc == 0 is an impossible condition.Tim Potter1-1/+2
(This used to be commit 5b195f8bf14b11edca74db5fd9658916447b363d)
2002-03-07Change xcopy test to use defined constants rather than magic hexJeremy Allison2-10/+28
values so we can see what's going on. Jeremy. (This used to be commit 5ba4ba36339269b2059da7c103e63ecd948f7938)
2002-03-07Merge in the change to do per-handle access checks on setdata/setform etc.Jeremy Allison1-70/+138
Should allow the buggy spoolss code on NT to work against us. Jeremy. (This used to be commit 2b3609a7dd55d96f5aafe137fff1ac2da0434867)
2002-03-07Compile fixes for the pdb nisplus module.Tim Potter1-17/+27
(This used to be commit d4d2f3bd8922aa88f4940e5079f7157ea674b317)
2002-03-06Removed duplicate \n from debug message.Tim Potter1-21/+13
Small tidyups. (This used to be commit 252da94ebb279c47263dfae36fd016d0a29a6dbf)
2002-03-06fixed NBENCH test on IRIX (tridge)Herb Lewis1-1/+1
(This used to be commit d3c593b1208085f6c44e1707165ebee2b1cb4113)
2002-03-06fixed the upper/lower case table generation on big-endian machinesHerb Lewis1-9/+26
(tridge, using Herbs console) (This used to be commit e5d80779a384c9a806fc545032330f760d8c11cb)
2002-03-06nicer message for --sequence when the server is disconnectedAndrew Tridgell1-2/+7
(This used to be commit 233e8b7d447b7efb0227c6c7a6cd2f9e034719fa)
2002-03-06Fix SIGSEGV on error message when trying to add a user to smbpasswd file ↵Jim McDonough1-1/+1
without a unix account. (This used to be commit 2fdd601f2efaf3515f0e4c30fa176651eb4bb387)
2002-03-06make error codes match W2k advanced server sp2Herb Lewis1-5/+5
(This used to be commit c644ca6a663b615416cd809be4921688f85e84cf)
2002-03-06Reformat preparing for changes to come...Jeremy Allison1-155/+155
Jeremy. (This used to be commit b56df25d48a7adaa49b0bd44f8ff7be81b970da2)
2002-03-05Added Herb's fix to override log level from command line.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 439839be99e6e418eb5782a2fe0630d0ef5fb3c5)
2002-03-05accept the 0/0 lock but don't treat it in any sort of special wayAndrew Tridgell1-1/+0
(This used to be commit 8f7bf38de16a1f5316aa6a413fb697c43862c4c6)
2002-03-05show a progress bar during the deny testsAndrew Tridgell1-0/+11
(This used to be commit c2c8c4e713c362d0c6864c6359d90cf6b218e545)
2002-03-05added -M option for minimum lock sizeAndrew Tridgell1-4/+8
(This used to be commit 6acd98cbb92ec5c78686d23d2e05c1c98b5127fe)
2002-03-05fixed NBENCH code for NT4 server ntcreatex semanticsAndrew Tridgell1-4/+10
(This used to be commit b71a729e14e928fae288daeab4226d7e1f8b1dc5)
2002-03-05Found the mp3 problem - it's a generic class bug w.r.t. renaming.Jeremy Allison1-0/+72
Added a rename torture test to illustrate the problem. Jeremy. (This used to be commit 509ac24525a0d1aaecc819a99590425a164aaf44)
2002-03-05Fix error return.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3bec83cbe9b863176ca087fd45efa6d1457b502c)
2002-03-05Fix the NTSTATUS -> WERROR for srvsvc pipe.Jeremy Allison4-189/+184
Jeremy. (This used to be commit 2b85d3570c2b149049482c3878c50cf8f5bfca61)
2002-03-05Mask off the aDIR on setfileinfo.Jeremy Allison3-0/+10
Jeremy. (This used to be commit d9cb1bf20ac8a739102b03d9a70e34fe5cb2f0f7)
2002-03-05Spelling fixes.Tim Potter2-4/+4
(This used to be commit a7fa0733badad66ae610eac5e01569cf264976f3)
2002-03-05Removed unused static function.Tim Potter1-18/+0
(This used to be commit 472acd89b2bf5ec2a471957aaff42e560053f60e)
2002-03-05Fixed compiler warning about unused variables.Tim Potter1-5/+5
(This used to be commit 7bb0dda8ee1d61a0e8448070f1a71fcd13be5d40)
2002-03-04Canonicalise pathnames returned to Windows directory separators.Jeremy Allison1-0/+1
Found by Andrew at connectathon with some new tests Jeremy. (This used to be commit 4aaa4f52b8fc712f5f879ae5c47ba4601281b4e8)
2002-03-04dos2unix not used in HEAD anymore.Jeremy Allison1-2/+2
Jeremy. (This used to be commit d2af6382b4de232299529c30f2a7a39ea9b38507)
2002-03-04fix for IRIX compile errorHerb Lewis1-3/+4
(This used to be commit 2d620909f9def17dacf2af997a32d596f4dbd827)
2002-03-04allow setting of lock range and base in locktestAndrew Tridgell1-10/+14
(This used to be commit 97993630add4e8965f0395f92d34b0e8a6d9b875)
2002-03-04added -k options for kerberos to smbtorture and locktestAndrew Tridgell2-2/+28
(This used to be commit 46b89bc9979229abc6e9f2f8c585a22dd4f22902)
2002-03-03Fixed typo for winbind on solaris and hpux.Tim Potter1-2/+2
I have to say that having to link in winbind_nss_solaris.o for hpux is slightly dodgy... (This used to be commit fd172ec603de590dae6c3a91c7baf39c0afebea8)
2002-03-03make default unix charset UTF8Andrew Tridgell1-0/+3
this means that we at least support all unicode chars by default (This used to be commit 54a3f374496316ccc6d0e4aa2267963193690a23)
2002-03-03handle clock skew in getatr testAndrew Tridgell1-3/+3
(This used to be commit 64c0a5c4a0d879ce8f9517717a0cd54a75c20619)
2002-03-03fixed -c option to NBENCH testAndrew Tridgell1-1/+1
(This used to be commit f9e3b91f58df30440c8b90007997e012101235e3)
2002-03-03Some more fixes to enusre we execute the same code pathes as before thisAndrew Bartlett1-8/+8
change, just in different packets. (This used to be commit ffa6c61f0bb0c413d4bcc46da3bc879c40a40569)
2002-03-03Matching header files for the last netlogon cleanup.Andrew Bartlett1-0/+7
Andrew Bartlett (This used to be commit a9edcc1cb7c5f2692bc1931f0a2059a91891f178)
2002-03-03This patch allows NT4 domains to trust Samba.Andrew Bartlett1-84/+81
Simply add an account (smbpasswd -a -i REMOTEDOM) and join with 'user manager' on the remote domain. The only issue (at the auth level at least) that prevented NT4 domains from trusting Samba was that our netlogon code was based on what appear to be invalid assumptions. The netlogon code appears to assume that the 'client name' specified corrosponds to an account of the same form. This doesn't apply in trusted domains, becouse the account is in the form domain$ Now that we use the supplied account name, and no longer make our access control checks at the challange stage (where this info is unavailable) we match the Win2k behaviour for invalid machine logins, and don't need to know the names of PDCs/BDCs in trusting domains. We also kill off the 'you logged on with a machine account, use your user account' error message, becouse the previous NT_STATUS return was compleatly bogus. (The ACCESS_DENIED we now return matches Win2k, and gives snane error messages on the client). TNG doesn't use this and has to do magic password syncs between the various accounts for domain/pdc/bdc. This patch feels like the much more natural way of doing things, and has been mildly tested. Andrew Bartlett (This used to be commit 542673fcd6654a1d0966dddadde177a4c4ce135d)
2002-03-02compile fix from vanceSimo Sorce1-0/+2
(This used to be commit b6d62b8b2e0d72b0588fbe10b12c3877feb5ca71)
2002-03-02Move these inside the #ifdef to fix the compile on non-LDAPsam systems.Andrew Bartlett1-4/+5
(This used to be commit 75f72f0b6a698e462a0567674613319dde789084)
2002-03-02This is now unusedAndrew Bartlett1-1/+0
(This used to be commit 6c5052a1a9e47c2efe0d5e84bee05ae335d79e60)
2002-03-02This patch merges my private LDAP tree into HEAD.Andrew Bartlett9-290/+794
The main change here is to move ldap into the new pluggable passdb subsystem and to take the LDAP location as a 'location' paramter on the 'passdb backend' line in the smb.conf. This is an LDAP URL, parsed by OpenLDAP where supported, and by hand where it isn't. It also adds the ldap user suffix and ldap machine suffix smb.conf options, so that machines added to the LDAP dir don't get mixed in with people. Non-unix account support is also added. This means that machines don't need to be in /etc/passwd or in nss_ldap's scope. This code has stood up well under my production environment, so it relitivly well tested. I'm commiting this now becouse others have shown interest in using it, and there is no point 'hording' the code :-). Andrew Bartlett (This used to be commit cd5234d7dd7309d88944b83d807c1f1c2ca0460a)
2002-03-02more constAndrew Bartlett1-2/+2
(This used to be commit f0b16b7b515296d0e687e084564fe0718f189dc8)
2002-03-02Allow Samba to trust NT4 Domains.Andrew Bartlett7-27/+139
This commit builds on the auth subsystem to give Samba support for trusting NT4 domains. It is off by default, but is enabled by adding 'trustdomain' to the 'auth methods' smb.conf paramater. Tested against NT4 only - there are still some issues with the join code for Win2k servers (spnego stuff). The main work TODO involves enumerating the trusted domains (including the RPC calls to match), and getting winbind to run on the PDC correctly. Similarly, work remains on getting NT4 to trust Samba domains. Andrew Bartlett (This used to be commit ac8c24a9a888a3f916e8b40238b936e6ad743ef7)
2002-03-02Remove util_list.h, as its matching .c file has already gone, and nobody isAndrew Bartlett3-61/+3
using it anymore. This also removes an early #include of smb.h, making it slightly easier to track whats being included where. Andrew Bartlett (This used to be commit 9d25e3023272a55a39f80305f0f336c655833d55)
2002-03-02Missing include file update for the secrets.c trustdom changesAndrew Bartlett1-1/+1
(This used to be commit e3585e3c2ce2a09453fa1b59a947eccd67dfb88a)
2002-03-02Fix up the trusted domains secrets code so as to have a slight chance ofAndrew Bartlett1-12/+10
working. (This used to be commit 4ecc170dcb84522135ddefb5f424cc756051a6d3)
2002-03-02And a little more const.Andrew Bartlett1-3/+3
(This used to be commit 044391b5973f6070abf6ac185c74ffd713e933c5)
2002-03-02Add a dash of const here and there...Andrew Bartlett2-6/+6
(This used to be commit 413a46292b4e963343abce2428955305052e9cb4)
2002-03-02Fix lseek-on-pipe problem in VFS (where it belongs IMHO).Jeremy Allison2-18/+19
Jeremy. (This used to be commit ebef2e7bc87fcbae794426c39044a7d23f43722d)
2002-03-01SECURITY FIXES:Andrew Bartlett2-7/+11
Remove a stray 'unbecome_root()' in the ntdomain an auth failure case. Only allow trust accounts to request a challange in srv_netlogon_nt.c. Currently any user can be the 'machine' for the domain logon. MERGE for 2.2. Andrew Bartlett (This used to be commit 0242d0e17827b05d8cd270f675d2595fa67fd5b9)
2002-03-01Added requested cast for splint.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 04965086711e9f794f0a0bcbfa0fd230e20b0cbe)
2002-03-01Fixed EXTRA vs EXTGRA typo. Thanks Mike :-).Jeremy Allison2-2/+2
Jeremy. (This used to be commit 56b1252ebc89d2b4ac54c3ee7e3c4bc3c3ec5d0f)