summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-10-10Merge from 2.2Tim Potter1-1/+1
(This used to be commit c6a01f0a67148a234175439bdfe439ae011d397d)
2001-10-10Got the rest of the group functions working. Did some reformatting (manTim Potter3-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 (This used to be commit dc4ca0e0bd779b9157ea3b2a8f17eb455abf0f26)
2001-10-10Back-out the share acl fix. Not needed (Gerald has been telling porkiesJeremy Allison1-16/+3
again :-) :-). Jeremy. (This used to be commit 3b56239c51da3bb24d9ac1ee1442717f597c682a)
2001-10-10mega-merge from 2.2Gerald Carter94-6518/+12830
(This used to be commit c76bf8ed3275e217d1b691879153fe9137bcbe38)
2001-10-10merge from 2.2Gerald Carter1-11/+32
(This used to be commit 96c9df577bcffeec1b7d516a5431e54e679bd6b4)
2001-10-10ops, remove my test code, sorry.Simo Sorce1-9/+5
fix some return codes missed in previous commit. (This used to be commit de70a56e04d68dd3d4f8074118c141bafe201686)
2001-10-10Fixed some compile warnings.Tim Potter1-4/+2
(This used to be commit c9b3e6c71401efe754c10f7077671f0c1cebdafb)
2001-10-09Implemented sam group handle stuff. getent group now works.Tim Potter6-110/+208
(This used to be commit 63731d4a00e7a70b48d0c25677c76ec6b2e04ce1)
2001-10-09Fix bug where removing root from a share SD stops further edit access.Jeremy Allison1-4/+17
Jeremy. (This used to be commit 4d57c7520fa106ef6c29c0678584e1726ded961f)
2001-10-09Fixes from John Trostel (modified somewhat by me) to ensure that all lookup_XXJeremy Allison3-16/+28
functions correctly deal with the SID_NAME_TYPE. One fix for connection user lookup in LSA. Jeremy. (This used to be commit 29730027d8118ec7d207c89d0fd7fb24ac173fde)
2001-10-09old fixes I forgot to commitSimo Sorce1-5/+5
(This used to be commit 7895593929f443c6a256d2a13035aee11bed3dbf)
2001-10-09initial support to error report in smbclient, useful when using smbclient -c ↵Simo Sorce3-89/+178
in scripts. Thanks to Claudio Cicali aka FleXer for the initial patch (This used to be commit 53b95b3c0fd087b1cade95fd8de849547ac3bfcb)
2001-10-08Fixed WINS re-registration bug. Don't ask..... :-(. It was in my code :-).Jeremy Allison2-2/+3
Jeremy. (This used to be commit 129c640810bdf9ce2942e682d3d6fcca01a13488)
2001-10-08tim suggested to add a copyright note :)Simo Sorce1-1/+21
(This used to be commit c0bb484e0fcdfece62d361aaaebd90cf15548992)
2001-10-08More work on winbindd connection rewrite:Tim Potter5-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... (This used to be commit 4f8ea877876e91d4762f22e78aeb1bce4c65f011)
2001-10-07more fixing and testing.Simo Sorce1-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. (This used to be commit 74f746fee2e528e4f23192e21e1d74739dc1072e)
2001-10-07fixed lame valid tableAndrew Tridgell1-2/+2
(This used to be commit 67017619afed8fe10abd65d54538348d3ea92b9f)
2001-10-06merge from 2.2Gerald Carter1-2/+84
(This used to be commit 831530d93d606d13a792be1d3d4ac561697504d8)
2001-10-06PPC spinlocks work again. Sorry, my bad.Anton Blanchard1-1/+1
(This used to be commit 6612abf8270c9c697fdb528aba3af07ea5be7f33)
2001-10-06Fix up indenting in out SAM password check code.Andrew Bartlett2-92/+98
(This used to be commit ac11a23125270dd136290370b1cf0124e943a101)
2001-10-06move libsmb/domain_client_validate.o around in the makefile again, it really isAndrew Bartlett1-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 used to be commit 154d0ea4df684944c6bc58cb3f5dc64ee972cf97)
2001-10-05This is the start of a bit of a rewrite of winbindd's connection handling.Tim Potter9-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. (This used to be commit c369cf5af787ed9c642778d21f162716fbf0620e)
2001-10-05Add CLI_POLICY_HND as a valid return type.Tim Potter1-1/+1
(This used to be commit 880201b52b92a430d3f593adf3d55893f7c1c4c4)
2001-10-05Remove winbindd_glue.c dodgy hack and add winbindd_cm.c for managingTim Potter1-3/+3
connections within winbindd. (This used to be commit 4ea67aeede7f17846d2976241fffca1af44b1784)
2001-10-05Move CLI_POLICY_HND to be internal to winbindd.Tim Potter1-9/+0
(This used to be commit e7b84aee0832c9fa6509e55eba914c1515620e8a)
2001-10-04init only in test code.Simo Sorce1-48/+55
remove unused structure for tdb data. fixes. (This used to be commit c82cf58ae2ae9790b8575328b419dbc8a089b60f)
2001-10-03Added a comment about not changing the magic timestamp values withoutTim Potter2-0/+7
knowing what you are doing! (This used to be commit 5805cfef78a72ae6166206a2996423f89baf7580)
2001-10-03Ensure accessing NT member servers works with a Samba PDC. Don'tJeremy Allison4-8/+9
change these timestamp settings without good reason. Remove CLEAR_IF_FIRST flag is tdb is read-only. Jeremy. (This used to be commit a71d9d98b013a6c30fd85524b7cdc929bdbd9bcb)
2001-10-03fix some possible memleaks and not tested reallocs spotted by Andreas MoroderSimo Sorce3-5/+14
(This used to be commit d30939a091b48f4d77f7618c75668ae151a5592e)
2001-10-03fixed basic ucs2 operation on big endian boxes. Still a bit more toAndrew Tridgell1-5/+5
do, but at least you can connect now. (This used to be commit 211aeffa1a770716f798fd6ba12ab29a95555526)
2001-10-03set ACB_PWNOEXP by default on new accounts.Andrew Tridgell1-2/+2
(This used to be commit ead3d41f1a8293bcd2062af918b58022f4d9b10e)
2001-10-03removed old unused filesAndrew Tridgell3-21347/+0
(This used to be commit f597cf047cd0b88ba11cbe0cfbb883bd7ba262a7)
2001-10-03switched over to a new method of handling uppercase/lowercase mappingsAndrew Tridgell12-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. (This used to be commit 1c221994f118dd542a158b2db51e07d04d0e9314)
2001-10-03Fixup insure changes for rpcclient.Jeremy Allison1-4/+3
Jeremy. (This used to be commit 4fdd45f3ccde89e2ed022f7bfd91c225af6f161b)
2001-10-03Incorrect definition of debugf.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 9f5405d425b2391ccddd919835c9c07cf4b9bf16)
2001-10-02Fixed up the change password bug when not using PAM.Jeremy Allison4-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. (This used to be commit 9333bbeb7627c8b21a3eaeae1683c34e17d14bf0)
2001-10-02better method of generating the case equivalence tableAndrew Tridgell1-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. (This used to be commit b97fbfcd7cfbafc40b4be558fb8d6e86ad656cb0)
2001-10-02Fixed the bug with member servers in a Samba PDC hosted domain not allowingJeremy Allison10-593/+629
other access. Problem was max time was being set to 0xffffffff, instead of 0x7fffffff. Jeremy. (This used to be commit 94403d841710391ec26539e4b4157439d5778ff7)
2001-10-02the CASETABLE torture target now generates the complete unicodeAndrew Tridgell2-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. (This used to be commit 441f9415b365787854fb0d3e04d1ea4938d7af73)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter222-506/+3
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-10-02Added copyright (not sure who owns it though) and #include guards.Tim Potter1-0/+25
(This used to be commit f9eb370806002eea0658f072988d96fca71bf18f)
2001-10-02Added copyright and include guards.Tim Potter1-1/+23
(This used to be commit 9efa93556e3ed444b075a06d2706111b89a0e099)
2001-10-01honor the ACB_PWNOEXP flag in smbpasswdAndrew Tridgell2-4/+2
(This used to be commit 70b7c900c907c4620faa7d82845296298b3820ff)
2001-10-01- fix handling of 0 last_change_time and must_change_timeAndrew Tridgell6-74/+77
- move the arbitrary 21 day timeout to local.h (This used to be commit 11075f543470c3283accce0246d0b2983420695a)
2001-09-30Don't try to write the LM password in the NT password feild.Andrew Bartlett1-1/+0
(This used to be commit 90dcbe16be065e2113fba1d3cee28f40be1bb86c)
2001-09-30make strupper() and strlower() not modify the string if it doesn'tAndrew Tridgell2-6/+16
need modifying that makes constant strings OK (This used to be commit 57196635d9b7edfcbfe1708dd22308ab30c02240)
2001-09-30I told Jeremy at the CIFS conference that I would sort the command listChristopher R. Hertel1-30/+33
in smbclient. Done. I had a little trouble because the "!" command is a special case and must be listed last. Awkward. Chris -)----- (This used to be commit 14bfd9107a9c875c54e281262f8061c20a5e9398)
2001-09-30Small changes to register_vuid ahead of a larger restructure.Andrew Bartlett1-3/+3
(This used to be commit 7802bc94e78932d24eb6658edc14d0d051246208)
2001-09-30Make header comment clearer, these are RIDs, not UIDs.Andrew Bartlett1-2/+3
(This used to be commit 663c1c91bdd020e2e8266d25909db12b28fbb7d8)
2001-09-30Finally kill off the SMBENCRYPT() macro.Andrew Bartlett1-2/+0
(This used to be commit 05910483351e9ef6375e4c49403ebe21b56315a9)