summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagsamba-misc-tags/tng/release-alpha-1-0cvs2svn Import User2000-03-1719-79121/+0
| | | 'release-alpha-1-0'.
* 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
|
* patch from elrond: configure cleanupsLuke Leighton2000-03-093-99/+56
|
* login validation level 2 and 3 negotiated from netr_auth2 neg_flags.Luke Leighton2000-03-0913-144/+299
|
* preparing for release of alpha.0.12Samba Release Account2000-03-0863-63/+63
|
* james f. hranicky pointed out that a standalone workstation couldn'tLuke Leighton2000-03-081-8/+8
| | | | | | | | | | do a net use \\samba-tng\share /user:tnguser you had to do net use \\samba-tng\share /user:samba-tngdomainname\tnguser i solved this by putting "if domain name is unrecognised, use local SAM" where domain name, by default on standalone workstations, is the name of the workstation itself.
* indent defaultsLuke Leighton2000-03-081-0/+8
|
* ran indent.Luke Leighton2000-03-081-3252/+3704
|
* #include missing in srv_spoolss.cLuke Leighton2000-03-081-0/+1
|
* found two bugs in lsalookup* - sid_name_use type is uint16 - by bouncingLuke Leighton2000-03-087-12/+13
| | | | | | off sun's cascade box. HOORAY! good suggestion, elrond.
* attempting to get trust relationship setup going again.Luke Leighton2000-03-082-4/+37
|
* preparing for release of alpha.0.11Samba Release Account2000-03-081-1/+1
|
* - acb_info is a 32-bit field in samr stuff (oops!!) sun cascade withLuke Leighton2000-03-0811-876/+997
| | | | | | | | | | | | | a different byte order from nt is VERY useful, it can be used to identify the size of structure members because the byte order will be swapped, in comparative traces. - auth_resp in NETLOGON is a parameter to net_r_sam_logon, NOT part of the NET_USER_INFO struct. - domain_client_validate was grabbing the secret $MACHINE.ACC, then the unicode string needed to be byte-swapped before being passwd to nt_owf_genW.
* 1) logon hours _is_ a 32-bit not a 16-bit. oopsLuke Leighton2000-03-085-1440/+1943
| | | | | | 2) logon to local workstation when it is a member of a domain is also allowed, by making domain_client_validate accept our own localservername as the domain name (a la MYSERVERNAME\user)
* yet another stage in net user info level 2. server-side and client-sideLuke Leighton2000-03-085-145/+162
| | | | support but no neg_flags used, yet.
* next stage of having a NET_USER_INFO_CTRLuke Leighton2000-03-077-425/+529
|