1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

3009 Commits

Author SHA1 Message Date
Luke Leighton
63fa96e216 added prs_struct "error" member, set and checked when prs_struct
data is handled.
(This used to be commit b4ba49c5c114764247802bd8b0a6dbc0a7f5c2a1)
1999-10-15 20:10:46 +00:00
Luke Leighton
003f7364fd adding error checking in parsing code
(This used to be commit 4c98d71ebd3f1cdaef664d46c998c864af34632a)
1999-10-15 20:00:30 +00:00
Luke Leighton
65df690dcd renamed "class" local variable to avoid global clash
(This used to be commit 134cb4cdff43192a3039a6cce23f331c80fd1990)
1999-10-15 19:23:48 +00:00
Luke Leighton
c941cb581b oops! srvinfo 2 command caught bug where strings in containers assumed
to exist.  not good!
(This used to be commit 2af635f8b7f346d49d778dd39acb6563156e77f1)
1999-10-15 19:21:18 +00:00
Luke Leighton
df71b9eda7 renamed args due to global "class" variable
(This used to be commit 7b3666f01c743ddf599d432a5bcae4408ca73865)
1999-10-15 19:20:30 +00:00
Luke Leighton
896ecb48ca return results on prs_xxxxx() and all xxx_io_xxx() routines.
the whole task is not complete, yet.  xxx_io_xxx() routines that
_call_ xxx_io_xxx() routines not done.

prs_xxxx() covered by macros.  considering doing xxx_io_xxxx in the same way.
(This used to be commit 3b583f7be51434af98bc52b48dfa42c4602a3094)
1999-10-15 18:46:22 +00:00
Luke Leighton
415f84112e removed unused static wait_keyboard()
(This used to be commit 8cb6163b068812340a6360241d0ee9372c3dbec2)
1999-10-15 18:44:33 +00:00
Tim Potter
8f7898d547 According to params/loadparm.c, the "case sensitive", "casesignames",
and "short preserve case" name mangling parameters are local options
but the documentation says they are globals.
(This used to be commit 61d540715936be1c3cb17920023b0f35b228d329)
1999-10-15 00:12:39 +00:00
Luke Leighton
81711b9c5a const issues
(This used to be commit 858f79b362dce8aa06013533209bc982cb99d33d)
1999-10-14 19:45:52 +00:00
Luke Leighton
dcea4bfd0f stop over-runs in reading / writing data stream.
(This used to be commit 144fd01f37bde420234ca474014b0f378d9f8975)
1999-10-14 19:21:23 +00:00
Luke Leighton
09e6f6eb9c adding CAP_EXTENDED_SECURITY support in a hurry last week. forgot to
deal with linking issues in other binaries
(This used to be commit 57f95a01988fb4035b2e4448f4fd3ef0d652c106)
1999-10-14 18:49:24 +00:00
Luke Leighton
cba7662da1 - added rudimentary CAP_UNICODE support because i thought it was part of
a problem i was having.

- added rudimentary CAP_STATUS32 support for same reason.

- added hard-coded, copy-the-same-data-from-over-the-wire version of
CAP_EXTENDED_SECURITY, which is a security-blob to encapsulate
GSSAPI which encodes
SPNEGO which is used to negotiate
Kerberos or NTLMSSP.  i have implemented
NTLMSSP which negotiates
NTLMv1 or NTLMv2 and 40-bit or 128-bit etc.  i have implemented
NTLMv1 / 40-bit.

*whew*.
(This used to be commit e5b80bd2f76fda70e41e4a9007eb035dab92ed8e)
1999-10-07 22:10:29 +00:00
Luke Leighton
eb9268550f David van Geyn spotted that ulong is not defined on FREEBSD, not supposed
to use ulong use uint32 instead.
(This used to be commit 16dd94db1fd2ed8ed7d240c5aac5a481b64cd26d)
1999-10-05 21:35:17 +00:00
Luke Leighton
65ce93d549 splitting dom info into sam_query_dominfo function
(This used to be commit 39c367b8e9932f64fa774b807e14416f97254312)
1999-10-01 18:44:33 +00:00
Luke Leighton
5b38ad78b8 permissions on SamrConnect changed to 0x02000000 (maximum allowed)
(This used to be commit cbc646b1d8ce73d1d8167887cbfdab3cad4f11a4)
1999-10-01 18:27:29 +00:00
Luke Leighton
860688f6e7 error-code checking in lsa_lookup_sids. anonymous connections for
domain info.  adjusting net_srv_get_info function.
(This used to be commit 42eb916fae0d377f8908dfc42b332e6a53c4e2d9)
1999-10-01 18:11:57 +00:00
Luke Leighton
0db243bacb memory problems associated with when lsalookupsids returns
NT_STATUS_NONE_MAPPED.
(This used to be commit 9a43a2551186de02b6cf06a5b84c9591a66c1817)
1999-09-28 20:54:58 +00:00
Herb Lewis
748cccec66 add description of -P option
(This used to be commit d3dd8cdc1210fa4523eeed3c1034b4da93410ee1)
1999-09-28 15:10:38 +00:00
Jean-François Micouleau
ed5fbd743b don't leak printer handles,
don't coredump when adding forms,
and a small non obvious memory leak in the rpc buffers

	J.F.
(This used to be commit bee11f8889378b9f1cc6e2818fd0f8dd7ddcf10d)
1999-09-27 13:12:55 +00:00
Jean-François Micouleau
0490365b04 Don't duplicate forms anymore, just update the definition.
Many memory leaks fixed.

	J.F.
(This used to be commit f328ae8024584599324ae4263bb9fb89a358279f)
1999-09-25 14:18:48 +00:00
Jean-François Micouleau
7b88001235 Correctly handle the dependent files in the printer_driver_info_3 struct
It means complex printer drivers should now download fine.

	J.F.
(This used to be commit a893df5c00189d7e81efd619a4a4ee2bd8ead61f)
1999-09-24 14:45:21 +00:00
Jean-François Micouleau
13266d5115 Alan (alanh@pinacl.co.uk) found a nasty bug
J.F.
(This used to be commit 7dc7801c20d53caef09519231a65403e007344e6)
1999-09-24 10:13:38 +00:00
Jean-François Micouleau
4952c11dad Whoops ! Being over-paranoid is not good.
J.F.
(This used to be commit 706acb17cffd8d6a84209dadb97916f0346cd174)
1999-09-24 07:28:46 +00:00
Jean-François Micouleau
31160de2b8 use gecos field to fill the full_name
don't overwrite backend values with defaults values.

	J.F.
(This used to be commit a204a9adb84c41658def08cb75670995aec02baa)
1999-09-23 15:59:20 +00:00
Matthew Chapman
1e3490dda9 Fixed an annoying bug in the LDAP code. Attributes not present in the
LDAP database were being initialised using unix_to_nt_time on -1, rather
than -1 as an NTTIME (which is very different).

Problems solved (hopefully):
* "Access Denied" when accessing an NT share in a Samba controlled domain.
* "Your password has expired" sometimes when logging in.
(This used to be commit 740d8388cb6dfebb26681a45fd1b293383d08a6d)
1999-09-22 04:32:19 +00:00
Luke Leighton
f1c2fdb270 split matthew's sync command (only currently called from smbpasswd)
into a separate module
(This used to be commit d99eca020a255022dbc71f3671127343d75db59e)
1999-09-21 21:28:27 +00:00
Luke Leighton
0a6eac0b79 testing for attempts to get more info levels into samr_query_userinfo
(This used to be commit cc19d5cc5c20665beb3b7c5fcf7787d54e37ea71)
1999-09-21 21:04:03 +00:00
Luke Leighton
701f9ed2c9 reading in smb server domain name from SMBnegprot response
(This used to be commit 25025f450531c66c0fd9f7eed886cb288d76d025)
1999-09-16 22:46:45 +00:00
Luke Leighton
b9b4c1d563 #defines for port 445 to SMB_PORT2
(This used to be commit a8d4560e0064a67a234eae89a564b79d2426d9a9)
1999-09-15 17:30:02 +00:00
Luke Leighton
6875b37baa use DEBUGLEVEL not DEBUGLVL()
(This used to be commit f9f8aa72a502f075615402ea7d58a8c0e2ff0638)
1999-09-15 17:12:55 +00:00
Luke Leighton
29ba13f6ea wow!!!! this one's been here for two years!!!! alignment issues
in smb_io_dom_query() where the string name could mis-align!
added a call to prs_align() after the domain string name.
(This used to be commit 1d05d2c959f41fffb9a85d161b9b64c957ee90e7)
1999-09-14 21:42:49 +00:00
Luke Leighton
7e1e6de11a oops.
(This used to be commit 5c551e63f22e341e1d7be547f7d14d24234ecf27)
1999-09-14 21:15:39 +00:00
Luke Leighton
6bf6b0ad44 added rpcclient SamrQueryDisplayInfo command "dispinfo"
(This used to be commit 6c98d6c9aae64016bfe7727cfe12762967eb5a84)
1999-09-14 21:04:02 +00:00
Luke Leighton
827599cbb2 restructuring
(This used to be commit 9d74161a9204da90d3024c2a86d59fefd516ff07)
1999-09-12 23:59:09 +00:00
Luke Leighton
85f0d0bff3 using #define report
(This used to be commit 7fc2ee2f96b79e77039e141c2d2be9598465e5e6)
1999-09-12 23:39:57 +00:00
Luke Leighton
ddf33698b5 - initialising mach_passwd_file locks to zero (prev. uninit.)
- cleanup

- #defined report to sprintf as it's #defined to another function in
  other uses of cmd_lsarpc.c
(This used to be commit 8fb2ff247a2fe0ec5ce0c232d8a3da9774f7e6ae)
1999-09-12 22:40:27 +00:00
Luke Leighton
856a3e2740 oops, port 455 instead of 445
(This used to be commit 4e5eac18d0d9325c8e524fb53b4e049f0893fae7)
1999-09-10 16:27:14 +00:00
Luke Leighton
178ad937ec allan hourihane sent log 100 in which showed that some really old code
for lsa_close response was messing up.  fixed by calling lsa_io_r_close()
which i've been meaning to do for over eighteen months.
(This used to be commit f9a0ea09486b18a130ce1a1e5381ca61e0293c75)
1999-09-09 18:15:08 +00:00
Luke Leighton
7f8f5e15bd bertl <bs@niggard.org> patch for making samba listen on port 445, just like
nt 5 does.  cool!
(This used to be commit 727e1421b2c0f8c72c428776593498103304082b)
1999-09-08 19:37:45 +00:00
Luke Leighton
58f8159566 matthew chapman identified 4 previously unknown samr functions.
(This used to be commit 001b53866c819045bc52330cad5746e1a2f7a4b1)
1999-08-31 13:19:55 +00:00
Luke Leighton
736c507722 debugged enumgroups -g option
(This used to be commit 1cde47ba6a6409e0ae178ca9f44be2123bef0f9d)
1999-08-30 17:15:59 +00:00
Luke Leighton
501acbba23 added call to samr_query_groupinfo in enumgroups command (-m option)
(This used to be commit e2a72e2c64d6aad37d0c0f94d36f4fdadd3bd6cc)
1999-08-30 17:07:53 +00:00
Luke Leighton
42fdd41b1d improved "dominfo" rpcclient command
(This used to be commit 65a54b6e16c40ec40727547593154b341d98fc83)
1999-08-29 16:36:21 +00:00
Luke Leighton
53b4095d2c added experimental del_groupmem and del_aliasmem commands that were not
being called from rpcclient.c

improved add_groupmem command, but cannot test it against nt non-pdc!
(This used to be commit 7a383a2a021be1f0297e177b2c89130f1b37d440)
1999-08-29 13:18:10 +00:00
Matthew Chapman
49b7c8cac3 Removing a stray return, probably inserted during debugging, which broke
NetrShareEnum. Be careful what you commit Luke...
(This used to be commit cc27dba003d2f2ebcf05d01a750d3ee9350b0eb7)
1999-08-23 08:54:07 +00:00
Tim Potter
48324fa61b Don't print out a message in svcenum command for the ERRmoredata
error.
(This used to be commit 92ebd8f12ce4997e77eee22c3bb0c599daa44500)
1999-08-18 23:51:02 +00:00
Luke Leighton
b3f59299a0 patch from michael glauche to add session enum code into smbd.
(This used to be commit e90e38c66d51dc1808f716c016299b1604636ce9)
1999-08-18 21:18:42 +00:00
Luke Leighton
f4e98283cd display of session enum info
(This used to be commit e0713cf9332e562d1b41a794b8044e05aeb2b937)
1999-08-18 21:13:15 +00:00
Luke Leighton
d2d6144253 event log update, netsessenum, netconnenum update.
(This used to be commit 819af560745b0bec7bfb9067dd9d9d6cfabb1555)
1999-08-18 20:33:49 +00:00
Luke Leighton
3d4b2c8b5e event log update
(This used to be commit bcc1212b07c71256fad93d82a996fa86b27db250)
1999-08-18 20:11:29 +00:00