summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagsamba-misc-tags/tng/release-alpha-1-1cvs2svn Import User2000-03-1919-79121/+0
| | | 'release-alpha-1-1'.
* preparing for release of alpha.1.1Samba Release Account2000-03-1963-63/+63
|
* patch from greg dickie for Makefile issues - ordering of libraries.Luke Leighton2000-03-191-2/+2
|
* experimenting on getting GETDC responses right: there is a domain nameLuke Leighton2000-03-191-2/+7
| | | | | | | | | | | length+name (sometimes length = 0) plus 16 bytes of padding and i'm trying to work out the rules as to when this domain name is in there. so far: - if request is sent to DOMAIN<1b> or - DGRAM type is a DGRAM_GROUP (msg_type of 17)
* From Elrond@Wunder-Nett.org Sun Mar 19 06:35:04 2000Luke Leighton2000-03-1819-1141/+1121
| | | | | | | | | | | | | | | | | | | | Date: Sat, 18 Mar 2000 19:15:56 +0100 From: Elrond <Elrond@Wunder-Nett.org> To: Luke Kenneth Casson Leighton <lkcl@samba.org> Subject: more merge - re-indented some code by hand and later verified, that indent will not change it. (indent sometimes does crap: if (! some_function (arg1, arg2, arg3)) instead of: if (! some_function(arg1, arg2, arg3)) - merged a bit more of lib/time.c - replaced Realloc(NULL, ... and malloc() all over the place with nicer g_new(). Elrond
* unicode string alignments in NET_USER_INFO_x structures.Luke Leighton2000-03-181-1/+19
|
* need to return access denied on credential failure.Luke Leighton2000-03-181-11/+11
|
* returning zero entries is _not_ an error, in get_sampwd_entries()Luke Leighton2000-03-181-1/+1
|
* parameters were being passed across incorrectly in samr_chgpasswd_userLuke Leighton2000-03-184-29/+29
| | | | in the server-side dce/rpc code. password changes now work, again.
* Added rpcclient/display_dfs.c moduleShirish Kalele2000-03-171-0/+160
|
* Added rpcclient/display_dfs.c module.Shirish Kalele2000-03-177-123/+131
|
* adding net command (how did this get left out for so long)? which includesLuke Leighton2000-03-173-2/+8
| | | | | | | | shirish's new dfs commands. attempting to fix ntpass command, it doesn't send the domain name and i added code that _rejects_ non-domain-name encrypted dce/rpcs, and it worked! i got a bind nack from samrd! wow!
* Cleaned up compiler warnings.Shirish Kalele2000-03-173-22/+24
|
* jeremy spotted that some 2.5-year-old code, only now used in one place, aLuke Leighton2000-03-172-2/+1
| | | | | | function align4, was incorrect. fascinating :)
* Added Dfs commands to rpcclientShirish Kalele2000-03-1716-997/+2047
|
* preparing for release of alpha.1.0Samba Release Account2000-03-1763-64/+64
|
* ok, this one's weird. firstly, sam_set_userinfo doesn't align theLuke Leighton2000-03-171-3/+12
| | | | | | | | | | | | | | | | 2nd info level at the container, but sam_set_userinfo2 *does*. secondly, it _looks_ like there are two revisions for SAM database entries, where some unknown trash is _not_ placed in the structure (at the end: unknown_6 and padding4) if the revision number (unknown_5) is zero. have to keep an eye on this one over the next year or so, to make sure all cases are caught. third, it _looks_ like if you do a password set that the account disabled acb_info bit is automatically unset, but i cannot confirm that right now, i'll just have to wing-it (in the next commit)
* when a GETDC datagram is received, if the dgram type is UNIQUE instead ofLuke Leighton2000-03-172-214/+249
| | | | | | | | | | | GROUP, it is processed *differently*, there is a domain-name string in it, so i skip 22 bytes and _then_ read the version number etc. this must go in 2.0.x and cvs main (oh, and i'm not going to do it, i'm not "trusted" enough to do the job "correctly"). this will be the only notification that this is needed in 2.0.x and cvs main branches.
* From Elrond@Wunder-Nett.org Sat Mar 18 04:49:11 2000Luke Leighton2000-03-1713-78/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Fri, 17 Mar 2000 16:02:28 +0100 From: Elrond <Elrond@Wunder-Nett.org> To: Luke Kenneth Casson Leighton <lkcl@samba.org> Subject: Re: SVC_UNKNOWN_3 On Fri, Mar 17, 2000 at 08:27:49AM +1100, Luke Kenneth Casson Leighton wrote: > it's probably a delete service :-) :-) > > check your box!!! [...] Hi Luke, You pass in a Service-Control-Manager-Handle, not a service-handle, so it can't be service-delete. It could of course be scman-del... which would be quite crazy. (includind the fact, that this is done by srvmgr, which hasn't any means to add/del a service...) But it was all my fault. I copied cli_svc.c:svc_close() over to svc_unknown_3... and guess what... I changed everything except the Opcode... After that I was more successful: You pass in a scman_hnd, and get back some other handle...I don't know yet, what it is good for... I added an appropiate server-side implementation and srvmgr.exe got a bit further, but now it calls opcode 11 on a service-handle. Maybe more soon. (I'm pressing the "Startup"-button in Services in srvmgr) The patch contains: - complete server and client-side implementation of SVC_UNKNOWN_3 (yet no idea, what it is, but we have it) - --with-privatedir=... from HEAD is now completely in TNG - merged some things from HEAD into lib/time.c PLEASE DON'T run indent on lib/time.c ! [lkcl: okie] - dito for param/loadparm.c PLEASE DON'T run indent on param/loadparm.c ! [lkcl: okie] Elrond
* indent rules suggested by elrond. comments added into nmbd packet tracing.Luke Leighton2000-03-172-1517/+1734
|
* making sure that req chal would not be affected by having prs_align()Luke Leighton2000-03-171-4/+7
| | | | | added to *inside* smb_io_unistr2(). this is the _only_ place where alignment rules are broken.
* afsticket definesLuke Leighton2000-03-172-4/+13
|
* From Elrond@Wunder-Nett.org Fri Mar 17 08:34:21 2000Luke Leighton2000-03-1616-255/+415
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Thu, 16 Mar 2000 16:29:53 +0100 From: Elrond <Elrond@Wunder-Nett.org> To: Luke Kenneth Casson Leighton <lkcl@samba.org> Subject: SVC_UNKNOWN_3 Hi Luke, I played a bit with srvmgr around and it did a opnum=3 on svcctl, so I tried to decode the request. For me it looked lit it only consists of a sc_man_hnd. So I added some parsing code and an "svcunk3" to rpcclient, so I could ask the NT-box for the answer. The answer were 20 NUL-bytes. I guess, this is a closed handle and a status. Also the following svc_close(sc_man_hnd) seemed to fail somehow (I didn't realy see the fault-pdu or so... but I did not see an svc_io_r_close_hnd either.) [lkcl: i suspect that this is a "delete service" call, which is why the close fails because the handle is alread closed!] All this looks to me like opnum=3 is something like SVC_CLOSE2 or so. Could you apply the patch and verify that? I also did the following: - modified configure.in, so it is more like HEAD (still lot to do) - fixed some issues in groupdb/builtinunix.c: When I created aliases with domain alias map, all these aliases also existed in the Builtin domain, so usrmgr showed them all doubled. (might be interesting for HEAD...) - made global_sid_S_1_1_0 static, one should use global_sid_everyone instead. - continued my share_get_info-effort by writing *_free_* for all the fun. Yet have to use them. Elrond
* ran indent on afsticket.c because its format was confusing make proto.Luke Leighton2000-03-161-43/+47
|
* patch from johan hedin <johanh@fusion.kth.se> for AFS ticket support.Luke Leighton2000-03-1610-578/+950
|
* fixed word-order issue in password set and password change.Luke Leighton2000-03-152-389/+503
|
* preparing for release of alpha.0.16Samba Release Account2000-03-1563-63/+63
|
* gratuitous indent on files modified in the last two days.Luke Leighton2000-03-1513-2200/+2165
|
* 1) SAM_USER_INFO_12 what i thought was acb_info isn't. this may beLuke Leighton2000-03-1511-104/+156
| | | | | | | | | responsible for some of the password set failure problems: treating the wrong field as an acb_info would result in rejection of password sets. 2) in attempting to track down server-password-set problems i noticed that the "security = domain" mode sets the password incorrectly.
* sneaking suspicion that the ProductOptions key is being reported the wrongLuke Leighton2000-03-141-2/+2
| | | | way round (BDC instead of PDC, PDC instead of BDC).
* patch from michael breuer for irix.Luke Leighton2000-03-142-635/+687
|
* finally decided to increase debug log level for "socket connect failed"Luke Leighton2000-03-141-1/+1
| | | | message from level 0 to level 1.
* From Elrond@Wunder-Nett.org Wed Mar 15 06:14:36 2000Luke Leighton2000-03-1411-177/+159
| | | | | | | | | | | | | | | | | | | | | | Date: Tue, 14 Mar 2000 19:23:04 +0100 From: Elrond <Elrond@Wunder-Nett.org> To: Luke Kenneth Casson Leighton <lkcl@samba.org> Subject: Re: _lsa_lookup_names On Tue, Mar 14, 2000 at 08:20:26AM +1100, Luke Kenneth Casson Leighton wrote: > elrond, this function isn't used, yet. I did the conversion this morning and the diff is appended. [lkcl: thanks elrond] I also added some more handle-names. Hope someone else likes them. ;) [lkcl: me! me! :)] Elrond
* Another #ifndef #define #endif bug.Tim Potter2000-03-141-5/+1
|
* Spotted error in #ifndef _XXX #define _XXX #endif thing.Tim Potter2000-03-141-2/+1
|
* preparing for release of alpha.0.15Samba Release Account2000-03-1363-64/+64
|
* From Elrond@Wunder-Nett.org Tue Mar 14 06:07:16 2000Luke Leighton2000-03-1314-2650/+2881
| | | | | | | | | | | | | | | | | | | | | | | Date: Mon, 13 Mar 2000 18:26:00 +0100 From: Elrond <Elrond@Wunder-Nett.org> To: Luke Kenneth Casson Leighton <lkcl@samba.org> Subject: more cleanup - removed most of the old --with-lib*-stuff, we're using libtool for this - srv_samr_passdb.c: Added some handle-names for debugging (helped me somehow to track netlogond-probs) - made a whole bunch of functions in display_srv.c and display_sam.c - Added a bunch of error-checking in lsarpcd, it looks like it tries to check/change the trust-accoutn password as a normal user (or even guest) [lkcl: checks can't hurt: _lsa_open_secret is called, direct, not client-side marshalling wrapper, lsa_open_secret, etc] Elrond
* From Elrond@Wunder-Nett.org Tue Mar 14 06:01:05 2000Luke Leighton2000-03-131-14/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Mon, 13 Mar 2000 18:16:51 +0100 From: Elrond <Elrond@Wunder-Nett.org> To: Luke Kenneth Casson Leighton <lkcl@samba.org> Subject: netlogond: crash and ggroup membership Hi Luke, netlogond crashes, when my workstation tries to change its trust-account password. I tracked this to some point and fixed those points. Since my workstation only tries to change the pw every 15 minutes, testing is quite timeconsuming and I didn't yet test my last fix, that I did in this area. After some funny errors (most notable: root is in Domain Admins, but I couldn't change any thing in the network-settings), I noticed, that netlogond didn't transmit _any_ group memberships, when I logged into the workstation, I found this and fixed it. Could you please take a look at the following functions: - direct_samr_userinfo - _net_srv_pwset I modified both, but I'm not too sure, I did it the right way. [lkcl: looks good, elrond. explains why groups didn't get set up!]
* Added standard shell command thing using '!' as first character.Tim Potter2000-03-131-41/+49
|
* From Elrond@Wunder-Nett.org Mon Mar 13 10:35:03 2000Luke Leighton2000-03-1320-295/+217
| | | | | | | | | | | | | | | | | | | Date: Sat, 11 Mar 2000 17:57:54 +0100 From: Elrond <Elrond@Wunder-Nett.org> To: Luke Kenneth Casson Leighton <lkcl@samba.org> Subject: more cleanup, global_sid_builtin Hi Luke, - more cleanup on parse_samr.c - micro-merge from HEAD for Makefile - use smb_io_rpc_uuid-return-value in smb_io_pol_hnd - replaced nearly all &global_sid_S_1_5_20 by global_sid_builtin (inspired from a post by tim, he didn't apply this patch) - closing an lsa-handle in rpcclient->createuser only, if also opened
* preparing for release of alpha.0.14Samba Release Account2000-03-111-1/+1
|
* removed check_vuser_ok() as it restricts things too much, unexpectedly.Luke Leighton2000-03-111-0/+2
| | | | | "invalid users = root" will stop any msrpc daemons working, including being able to add users to the sam database (!!!! not good!)
* tim, become_xxx shouldn't be called in winbindd.Luke Leighton2000-03-111-1/+0
|
* preparing for release of alpha.0.13Samba Release Account2000-03-1063-63/+63
|
* always check that crypt may return NULLLuke Leighton2000-03-103-724/+959
|
* added debug reporting that tells you if "valid users" succeeds or fails,Luke Leighton2000-03-103-0/+7
| | | | on msrpc daemons.
* - spoolssd linked against shared libubiqx, not static.Luke Leighton2000-03-1012-1238/+1175
| | | | | | | | | | | | | | | | | | | - finaly fixed %U (at least for me), it was one line in passdb/sampass.c - started to merge some configure things from HEAD (not that we currently realy need it) - added some debugging to lsarpcd (policy-handles), so maybe we'll get those mysterious crashes with ldap; made some functions static - prs_set_offset() (from J.F.) didn't prs_grow enough. I don't know, if he needs prs_set_offset to actually grow any buffer (for marshalling), but maybe it helps - parse_samr.c cleanup: + rewrote most of the memory-things to use g_new + removed useless prs_align after smb_io_pol_hnd() + converted more memcpy(&q->pol, pol, sizeof()) to q->pol = *pol; this all made parse_samr.c about 100 lines smaller.
* patch from elrond for configure tests.Luke Leighton2000-03-106-229/+384
|
* initialiase USER_INFO_CTR to nullLuke Leighton2000-03-101-0/+3
|
* use write_socket() not a direct write()Luke Leighton2000-03-103-18/+13
|