1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-01 21:18:10 +03:00
Commit Graph

11025 Commits

Author SHA1 Message Date
Herb Lewis
9f49bff0e3 cannot assign to const
(This used to be commit 01757e8b51)
2003-01-08 02:18:49 +00:00
Jeremy Allison
7f4177aa9e Fix open problem with changing attributes on an existing file - based
on work by  <steve@griffin.sio2.nl>.
Jeremy.
(This used to be commit 1cff725e37)
2003-01-08 02:09:18 +00:00
Jeremy Allison
f420f75508 Fix open problem with changing attributes on an existing file - based
on work by  <steve@griffin.sio2.nl>.
Jeremy.
(This used to be commit 465d86d95f)
2003-01-08 02:09:14 +00:00
Volker Lendecke
d034ba5ce1 Fix memory leak. Thanks, Herb!
Volker
(This used to be commit 434e496289)
2003-01-07 20:55:43 +00:00
Volker Lendecke
173856a77d Fix memory leak. Thanks, Herb!
Volker
(This used to be commit 8915d59a59)
2003-01-07 20:54:31 +00:00
Herb Lewis
3cbb089782 this makes it compile, but I'm not sure if it is correct. Are we really
testing a pointer value to be equal to 0x19 ???
(This used to be commit 15b2b91f4b)
2003-01-07 17:55:14 +00:00
Herb Lewis
3981c303a3 cannot make assignments to const values.
(This used to be commit e3b1e64d9f)
2003-01-07 17:43:37 +00:00
Herb Lewis
26c01d3f7b add and escape before $( in regex string so it is not interpreted as the
perl variable for "real gid of this process"
(This used to be commit cfe2d01b7d)
2003-01-07 17:33:30 +00:00
Volker Lendecke
b59dc9ee58 Merge from HEAD.
Volker
(This used to be commit 7977a025ae)
2003-01-07 10:39:23 +00:00
Volker Lendecke
7b4bf92955 Create a machine account correctly if the unix account exists.
With this, my test for W2kSP3 join after pdbedit -a -m works fine.

Volker
(This used to be commit c9d0c5254c)
2003-01-07 10:38:33 +00:00
Christopher R. Hertel
6693cade73 Added code to the handling of the -M option to ensure that we default to
port 139 for that option.  The NetBIOS Messenger Service doesn't run on
a non-NBT port.
(This used to be commit 02986f3e3a)
2003-01-07 04:33:43 +00:00
Christopher R. Hertel
e8a70338d9 Added code to the handling of the -M option to ensure that we default to
port 139 for that option.  The NetBIOS Messenger Service doesn't run on
a non-NBT port.
(This used to be commit a10195b711)
2003-01-07 04:26:37 +00:00
Tim Potter
6d5724f93b Rename a local variable to avoid a warning.
(This used to be commit 232116d2db)
2003-01-07 03:39:22 +00:00
Tim Potter
186bb579f5 'index' is the name of a libc function. Rename to 'ndx' to avoid compiler
warnings.
(This used to be commit 431ac28b5b)
2003-01-07 03:36:39 +00:00
Tim Potter
33e019a0c5 Remove unused variable.
(This used to be commit 4bc82624f6)
2003-01-07 03:31:52 +00:00
Jeremy Allison
ebf35917bc Fix memory leaks in pdb_ code.
Jeremy.
(This used to be commit 44ab8dc55e)
2003-01-06 21:48:46 +00:00
Jeremy Allison
be0ff9d809 Fix memory leaks in pdb_ code.
Jeremy.
(This used to be commit ddf741c717)
2003-01-06 21:48:43 +00:00
Gerald Carter
641b30dd35 add $(LDFLAGS) to libsmbclient
(This used to be commit 0f8ba688d4)
2003-01-06 18:00:18 +00:00
Gerald Carter
52457e1093 removed idpool from schema file (experimental) to remove the dependency
on nis.schema.

add $(LDFLAGS) to libsmbclient build
(This used to be commit cd16064784)
2003-01-06 17:57:52 +00:00
Andrew Bartlett
0ba7c143b3 Merge from HEAD - handle VFS module load failures, change some error returns to
avoid sending NT_STATUS_UNSUCCESSFUL.

Andrew Bartlett
(This used to be commit 7b95151ddc)
2003-01-06 07:40:39 +00:00
Jeremy Allison
64452be9ba Fix from "Ken Cross" <kcross@nssolutions.com> for enumerating
groups.
Jeremy.
(This used to be commit c3a779fc0d)
2003-01-06 07:29:38 +00:00
Jeremy Allison
cd02d53f0d Fix from "Ken Cross" <kcross@nssolutions.com> for enumerating
groups.
Jeremy.
(This used to be commit cde517cedf)
2003-01-06 07:29:34 +00:00
Andrew Bartlett
cfe7718e9a Fix a segfault when we don't correctly load a VFS module (don't keep it in
the loaded list on error).  Also change some of the error returns, becouse
NT_STATUS_UNSUCCESSFUL gives a most useless error message on the client.

As for which error, my logic is that a share without a valid VFS module is
not a valid share, and therefore should return the same error as a non-existant
share.

Andrew Bartlett
(This used to be commit 41178afdbd)
2003-01-06 06:15:34 +00:00
Tim Potter
5df19f71d1 Some more profiles merges from HEAD (cvsignore and a stray const).
(This used to be commit 71b09408ef)
2003-01-06 05:47:18 +00:00
Richard Sharpe
5482809962 Add profiles utility support to Samba 3.0.x
(This used to be commit 2636b2231c)
2003-01-06 05:34:18 +00:00
Andrew Bartlett
2d727ea503 Merge from HEAD - updates to correctly recognise LMv2, and NT# in LM feild.
Andrew Bartlett
(This used to be commit 32a1802a99)
2003-01-05 08:09:16 +00:00
Andrew Bartlett
9bc442abeb Clear up the auth_sam password checking code (the core of our password checking
routines).  In particular, we now better support the NT# in LM feild, and the
LMv2 password scheme.  (LMv2 is basicly NTLMv2 capped at 24 bytes, slightly
more secure, and in the LM feild for compatiblity).

Thanks to the Samba-TNG team and Luke Leighton for various descriptions of this
algorithm, and to MS for a solution that seems to actually make sense for once
:-).

Andrew Bartlett
(This used to be commit 5c2e34b5b6)
2003-01-05 07:32:08 +00:00
Andrew Bartlett
6233651ca1 Merge from HEAD - get the test the right way around, so that we can change
passwords over RAP again.

(found by the build farm)

Andrew Bartlett
(This used to be commit 4b1a316e79)
2003-01-05 05:11:02 +00:00
Andrew Bartlett
ef553ab814 Even when I can't manage to do QA, at least the build farm will catch some of
the silly stuff.

(fixes password changes from RAP based clients like smbpasswd)

Andrew Bartlett
(This used to be commit 066e4f9a4b)
2003-01-05 04:59:42 +00:00
Andrew Bartlett
4eb59f56f1 The last of the merge of idra's shutdown changes from head...
Andrew Bartlett
(This used to be commit 3b24da8f99)
2003-01-04 14:00:17 +00:00
Andrew Bartlett
aff13f53af Merge from HEAD - whitespace :-)
(This used to be commit 5fc90b6cf4)
2003-01-04 09:08:47 +00:00
Andrew Bartlett
48dc324cd1 Merge from HEAD - vl's fix to my const patch. Also update the 'not have_krb5'
case.

Andrew Bartlett
(This used to be commit 8129529c4f)
2003-01-04 09:06:46 +00:00
Andrew Bartlett
1f67168a54 The winbind in Samba 3.0 doesn't use the 'proof' for ntlm_auth_crap, so don't
include it in the struct.  (Important becouse it currently has the same version
number as the one in HEAD, which also doesn't have this).

Andrew Bartlett
(This used to be commit 0d2da98590)
2003-01-04 09:04:06 +00:00
Andrew Bartlett
9de96c6f24 Merge from HEAD - do an nt_errstr(nt_status) *after* assiging nt_status with
the actual error value :-)

Andrew Bartlett
(This used to be commit 123ae99c7d)
2003-01-04 09:01:19 +00:00
Andrew Bartlett
db972ebb93 Make it clear that the credentials are being setup on the NETLOGON channel, and
may not be to our PDC (might be BDC, or trusted DC).

Andrew Bartlett
(This used to be commit 610be8d483)
2003-01-04 08:59:34 +00:00
Andrew Bartlett
302bffc08f Merge from HEAD - we already have one function for converting a unistr2 to a
static 'unix' string, so we don't need a second pdb specific version.

Andrew Bartlett
(This used to be commit 91ca4771c6)
2003-01-04 08:57:51 +00:00
Andrew Bartlett
3bc3fabee2 Merge from HEAD - extract user's list of SIDs from their NT_TOKEN and return
this as thier list of groups, rather than do a seperate lookup.  This NT_TOKEN
is originally initgroups() (or equiv) based.

We currently send all sids in our domain, perhaps this should be further
restricted, but this works for now.

Andrew Bartlett
(This used to be commit f5850928a0)
2003-01-04 08:54:43 +00:00
Andrew Bartlett
c1a357ecb5 Merge from HEAD - don't base RID on a name being the lp_guest_account(), let
the actual passdb modules decide that.

Andrew Bartlett
(This used to be commit f3432869b9)
2003-01-04 08:50:57 +00:00
Andrew Bartlett
2a9c68cdc8 Merge from HEAD - baseless parinoia about never having a closed dbf (the debug
file pointer).

Andrew Bartlett
(This used to be commit c8a809a2a8)
2003-01-04 08:49:20 +00:00
Andrew Bartlett
863e9ca2c6 Merge from HEAD - mimir's new gencache based namecache code.
Andrew Bartlett
(This used to be commit f79324f730)
2003-01-04 08:48:15 +00:00
Andrew Bartlett
e3ed8eaa2f Merge from HEAD - move user password changes into the NTSTATUS era, and add
suppport for the 'min password age' and 'min passwd len' concepts.
(This used to be commit d9417b08d1)
2003-01-04 08:45:17 +00:00
Andrew Bartlett
1bb9695203 Missed from previous commit - merge from HEAD the changes to the remote
shutdown struct - it's 2 byte-boolean flags, not 16 bits.
(This used to be commit b596283352)
2003-01-04 08:44:05 +00:00
Andrew Bartlett
b327f5ba53 Merge from HEAD - idra's fix for the fact that the shutdown command takes two 1
byte boolean flags, not a 16 bit bitmask.

Andrew Bartlett
(This used to be commit a4f7777ca0)
2003-01-04 07:50:04 +00:00
Andrew Bartlett
5714c1e0b0 Fix another pstring/fstring typo
(This used to be commit 42e1af2008)
2003-01-04 06:15:24 +00:00
Jeremy Allison
a26f2fbe2b Fix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy.
(This used to be commit 6e0cfec165)
2003-01-03 19:07:26 +00:00
Jeremy Allison
20f1cf6cdc Fix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy.
(This used to be commit 62038a0abf)
2003-01-03 18:50:13 +00:00
Gerald Carter
f5d5df9644 patch to include support for daemontools from Michael Handler
(This used to be commit a8db1b611d)
2003-01-03 17:39:30 +00:00
Gerald Carter
7476d9c6d0 regenerate man pages
(This used to be commit 4461cd3adb)
2003-01-03 17:35:18 +00:00
Gerald Carter
df4af79c78 patch to include support for daemontools from Michael Handler
(This used to be commit 4c48c475a2)
2003-01-03 17:32:11 +00:00
Gerald Carter
fc744091d4 make sure we create the PIDDIR and LOCKDIR from installdirs
(This used to be commit 63d057fc78)
2003-01-03 15:31:46 +00:00