summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* added a ASN.1 parser, so now I can properly parse the negTokenInitAndrew Tridgell2001-10-114-78/+324
| | | | | | | | | packet which means I can extract the service and realm, so we should now work with realms other than the local realm. it also means we now check the list of OIDs given by the server just in case it says that it doesn't support kerberos. In that case we should fall back to NTLMSSP but that isn't written yet.
* remove unused function in mangle.cSimo Sorce2001-10-113-17/+10
| | | | fix some alloc leaks spotted by andreas moroder.
* fixed some memory leaks, started adding asn1 decoder for server sideAndrew Tridgell2001-10-112-12/+42
|
* first step in converting the head branch to use lang_tdb.c insteadAndrew Tridgell2001-10-1112-2745/+803
| | | | of gettext for internationalisation support. There is more to do
* profile.h is now known as smbprofile.h due to a conflict with badlyAndrew Tridgell2001-10-111-461/+0
| | | | written MIT kerberos5 header files :(
* initial kerberos/ADS/SPNEGO support in libsmb and smbclient. ToAndrew Tridgell2001-10-1119-980/+2306
| | | | | | | | | | activate you need to: - install krb5 libraries - run configure - build smbclient - run kinit to get a TGT - run smbclient with the -k option to choose kerberos auth
* Fixed bug when status=no and max smbd processes > 0.Jeremy Allison2001-10-112-0/+11
| | | | Jeremy.
* Merge from 2.2Tim Potter2001-10-101-1/+1
|
* Got the rest of the group functions working. Did some reformatting (manTim Potter2001-10-103-68/+37
| | | | | | | | | | | | | | | what was I thinking with those 4 character tabs?) We now pass our winbindd test suite again! Still to do: - talloc_ctx on a per winbindd request basis not per connection - clean up old crap we don't use any more - test against multiple BDCs (I know this isn't going to work - group/user handles have to be made against the same DC the domain and basic handles are. - implement network and dc failure recovery
* Back-out the share acl fix. Not needed (Gerald has been telling porkiesJeremy Allison2001-10-101-16/+3
| | | | | again :-) :-). Jeremy.
* mega-merge from 2.2Gerald Carter2001-10-1094-6518/+12830
|
* merge from 2.2Gerald Carter2001-10-101-11/+32
|
* ops, remove my test code, sorry.Simo Sorce2001-10-101-9/+5
| | | | fix some return codes missed in previous commit.
* Fixed some compile warnings.Tim Potter2001-10-101-4/+2
|
* Implemented sam group handle stuff. getent group now works.Tim Potter2001-10-096-110/+208
|
* Fix bug where removing root from a share SD stops further edit access.Jeremy Allison2001-10-091-4/+17
| | | | Jeremy.
* Fixes from John Trostel (modified somewhat by me) to ensure that all lookup_XXJeremy Allison2001-10-093-16/+28
| | | | | | functions correctly deal with the SID_NAME_TYPE. One fix for connection user lookup in LSA. Jeremy.
* old fixes I forgot to commitSimo Sorce2001-10-091-5/+5
|
* initial support to error report in smbclient, useful when using smbclient -c ↵Simo Sorce2001-10-093-89/+178
| | | | | | in scripts. Thanks to Claudio Cicali aka FleXer for the initial patch
* Fixed WINS re-registration bug. Don't ask..... :-(. It was in my code :-).Jeremy Allison2001-10-082-2/+3
| | | | Jeremy.
* tim suggested to add a copyright note :)Simo Sorce2001-10-081-1/+21
|
* More work on winbindd connection rewrite:Tim Potter2001-10-085-179/+353
| | | | | | | | | - implemented some of the sam related connection manager routines - fill in group id and gecos fields for getpwnam/getpwuid routines - convert querydispinfo to cm - getent passwd now works Now for the group related routines...
* more fixing and testing.Simo Sorce2001-10-071-54/+83
| | | | | | added ucs2_to_dos83 function. the code should be ok now. further test with japanese and other languages is needed at this point.
* fixed lame valid tableAndrew Tridgell2001-10-071-2/+2
|
* merge from 2.2Gerald Carter2001-10-061-2/+84
|
* PPC spinlocks work again. Sorry, my bad.Anton Blanchard2001-10-061-1/+1
|
* Fix up indenting in out SAM password check code.Andrew Bartlett2001-10-062-92/+98
|
* move libsmb/domain_client_validate.o around in the makefile again, it really isAndrew Bartlett2001-10-061-3/+4
| | | | | | | | | | | an authenticaion object that happens to also be used by winbind. We need to fix this up at some stage. In the end it will probably be best if winbind does the login over its own internally managed connections, not a new one per authenticiaon. Then this would no longer be an issue, as it could call cli_nt_login_network() directly. Andrew Bartlett
* This is the start of a bit of a rewrite of winbindd's connection handling.Tim Potter2001-10-059-380/+588
| | | | | | | | | | | I've wrapped up all the decisions about managing, making and closing connections into a connection manager in nsswitch/winbindd_cm.c. It's rather incomplete at the moment - only querying basic user info works at the moment (i.e finger -m DOMAIN/user) and everything else is broken. Jeremy, please take a look and I'll start moving across the rest of winbindd to this new system.
* Add CLI_POLICY_HND as a valid return type.Tim Potter2001-10-051-1/+1
|
* Remove winbindd_glue.c dodgy hack and add winbindd_cm.c for managingTim Potter2001-10-051-3/+3
| | | | connections within winbindd.
* Move CLI_POLICY_HND to be internal to winbindd.Tim Potter2001-10-051-9/+0
|
* init only in test code.Simo Sorce2001-10-041-48/+55
| | | | | remove unused structure for tdb data. fixes.
* Added a comment about not changing the magic timestamp values withoutTim Potter2001-10-032-0/+7
| | | | knowing what you are doing!
* Ensure accessing NT member servers works with a Samba PDC. Don'tJeremy Allison2001-10-034-8/+9
| | | | | | change these timestamp settings without good reason. Remove CLEAR_IF_FIRST flag is tdb is read-only. Jeremy.
* fix some possible memleaks and not tested reallocs spotted by Andreas MoroderSimo Sorce2001-10-033-5/+14
|
* fixed basic ucs2 operation on big endian boxes. Still a bit more toAndrew Tridgell2001-10-031-5/+5
| | | | do, but at least you can connect now.
* set ACB_PWNOEXP by default on new accounts.Andrew Tridgell2001-10-031-2/+2
|
* removed old unused filesAndrew Tridgell2001-10-033-21347/+0
|
* switched over to a new method of handling uppercase/lowercase mappingsAndrew Tridgell2001-10-0312-79/+326
| | | | | | | | | | | | | | | | | | | | | | for unicode strings. The new method relies on 3 files that are mmap'd at startup to provide the mapping tables. The upcase.dat and lowcase.dat tables should be the same on all systems. The valid.dat table says what characters are valid in 8.3 names, and differs between systems. I'm committing the japanese valid.dat here, in future we need some way of automatically installing and choosing a appropriate table. This commit also adds my mini tdb based gettext replacement in intl/lang_tdb.c. I have not enabled this yet and have not removed the old gettext code as the new code is still being looked at by Monyo. Right now the code assumes that the upcase.dat, lowcase.dat and valid.dat files are installed in the Samba lib directory. That is not a good choice, but I'll leave them there until we work out the new install directory structure for Samba 3.0. simo - please look at the isvalid_w() function and think about using it in your new mangling code. That should be the final step to correctly passing the chargen test code from monyo.
* Fixup insure changes for rpcclient.Jeremy Allison2001-10-031-4/+3
| | | | Jeremy.
* Incorrect definition of debugf.Jeremy Allison2001-10-031-1/+1
| | | | Jeremy.
* Fixed up the change password bug when not using PAM.Jeremy Allison2001-10-024-24/+152
| | | | | | | | | | | | The problem is we were trying to use mask_match as a generic wildcard matcher for UNIX strings (like the password prompts). We can't do that - we need a unix_wild_match (re-added into lib/util.c) as the ms_fnmatch semantics for empty strings are completely wrong. This caused partial reads to be accepted as correct passwd change responses when they were not.... Also added paranioa test to stop passwd change being done as root with no %u in the passwd program string. Jeremy.
* better method of generating the case equivalence tableAndrew Tridgell2001-10-021-22/+37
| | | | | interestingly, this shows that w2kp-jp and w2kp have the *same* case equivalence table, but it is not the same as the Samba one.
* Fixed the bug with member servers in a Samba PDC hosted domain not allowingJeremy Allison2001-10-0210-593/+629
| | | | | | other access. Problem was max time was being set to 0xffffffff, instead of 0x7fffffff. Jeremy.
* the CASETABLE torture target now generates the complete unicodeAndrew Tridgell2001-10-022-0/+75
| | | | | | | | | equivalence table for a server. This was inspired by the chargen win32 code from monyo. This takes a *long* time to run against a Samba server due to the case insensitive comparisons in the filesystem. That makes it a N^2 operation, and N is 64k. It is linear on NT.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-02222-506/+3
|
* Added copyright (not sure who owns it though) and #include guards.Tim Potter2001-10-021-0/+25
|
* Added copyright and include guards.Tim Potter2001-10-021-1/+23
|
* honor the ACB_PWNOEXP flag in smbpasswdAndrew Tridgell2001-10-012-4/+2
|