Tim Potter
d2b9acd003
Don't initialise static pointers to NULL.
...
(This used to be commit 039ea0a0b94be2d70164616f448c0e29fed071cf)
2001-11-23 01:00:54 +00:00
Tim Potter
79b34d1b11
Removed TimeInit() call from every client program (except for one place
...
in smbd/process.c where the timezone is reinitialised. Was replaced with
check for a static is_initialised boolean.
(This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
2001-11-23 00:52:29 +00:00
Tim Potter
5788899a48
Fixed check machine account function.
...
(This used to be commit 8f01a8b07883d18f44da665cbc8e5fba04d3bc91)
2001-11-23 00:14:04 +00:00
Tim Potter
2025ef4c18
Ignore *.po files.
...
(This used to be commit 5d343b40650464ae70037fd6e3fd96a9865fa611)
2001-11-23 00:08:12 +00:00
Martin Pool
71c15a5f48
Rename $pwd to $test_root to avoid future confusion.
...
(This used to be commit fa7367a9731bc139ff4611f2781f3ca9bc7f89a7)
2001-11-22 23:59:48 +00:00
Jean-François Micouleau
fbfd27a495
added lsa_enum_sids to rpcclient
...
fixed lsa_enum_rpivs server code. This time it works as W2K.
fixed smbgroupedit to compile and work.
J.F.
(This used to be commit 646651018a2736833e49e76f6ca735a4647d9746)
2001-11-22 23:50:16 +00:00
Tim Potter
9927b5b392
Removed unused variable.
...
(This used to be commit d1dee2d0323fe6fc498e50201535b1718a88abaf)
2001-11-22 23:38:37 +00:00
Tim Potter
e996ac23f7
Oops - opening wrong pipe name in cli_lsa_initialise() helper function.
...
(This used to be commit d2034bc5f7dc9b5b9d5e4f17ee8e468307dcb2d5)
2001-11-22 22:45:52 +00:00
Jean-François Micouleau
b09d9e3dc5
fixing enum_privs and get_dispname server code.
...
That works as expected now.
J.F.
(This used to be commit f2766932d693fc601b2c3e7853e61f751435ec3c)
2001-11-22 17:19:59 +00:00
Jean-François Micouleau
33e20222e0
add another command to rpcclient: getdispname. Show the full description
...
of a privilege.
J.F.
(This used to be commit 84035ae72f422edadd9fa7e493c3d8176bb6a53d)
2001-11-22 16:54:48 +00:00
Jean-François Micouleau
2e8ae88785
add a command to rpcclient: enumprivs
...
J.F.
(This used to be commit fa63cb78e326040f68d858d593ba98e06c26c92e)
2001-11-22 16:12:43 +00:00
Jeremy Allison
1db30a338c
Got positive and negative name caching working correctly with lookupname/lookupsid.
...
There was a bug in cli_lsa_lookup_name/lookup_sid where NT_STATUS_NONE_MAPPED was
being mapped to NT_STATUS_OK, and also the *wrong* number of entries mapped
was being returned. The correct field is mapped_count, *NOT* num_entries.
Jeremy.
(This used to be commit 9f8c644abc455510c06dbd5dbac49c6270746560)
2001-11-22 08:31:50 +00:00
Jeremy Allison
609cdbfe37
Fixed +ve caching. Still problems with -ve caching.
...
Jeremy.
(This used to be commit 7883a2288a6e3198e10ab4e02ed4585e7bb313f6)
2001-11-22 07:48:57 +00:00
Jeremy Allison
a81e3902bc
Fixed caching of lookupname/lookupsid. Error in check of success !
...
Jeremy.
(This used to be commit d039d4fa507a7284e7e1cada0026c63863fe0a2d)
2001-11-22 07:32:48 +00:00
Jeremy Allison
ee58402ac4
Added debugs to track down sequence lookup problems.
...
Jeremy.
(This used to be commit d3f5d5a4aca0d5bc8c4db7dfa8b766b7cda808eb)
2001-11-22 07:24:07 +00:00
Gerald Carter
59b2e772e2
remove unused variables
...
(This used to be commit 90ed3d47e16a511161532f75b98db3f4b10ba685)
2001-11-22 06:44:05 +00:00
Gerald Carter
37a84c7bba
merge oops fix from 2.2
...
(This used to be commit 48f2da440f973047faa7ecf031be66bc30d4a985)
2001-11-22 06:23:49 +00:00
Gerald Carter
fae4bc494d
sync up with 2.2
...
(This used to be commit 0c0f3223731cfb46a0e3b8e289c13c8f908e0cf2)
2001-11-22 06:12:54 +00:00
Gerald Carter
116740a5df
merge from 2.2
...
(This used to be commit 96b3a65a73d403a41bf1b3aba79bd743698344ac)
2001-11-22 05:56:09 +00:00
Gerald Carter
456cdf6aee
--with-msdfs wsa removed
...
(This used to be commit f1143cd02c24f7c56b2e4ec70f77f22dbc01b113)
2001-11-22 05:29:33 +00:00
Gerald Carter
11aa019bec
WITH_MSDFS is not define anywhere. It's built by default.
...
(This used to be commit b51e5b07d9f7719180b28215236efc3fa09d8bea)
2001-11-22 05:29:04 +00:00
Tim Potter
8e267ac007
Made a libsmbclient doxygen group and moved all the libsmbclient groups
...
under it.
(This used to be commit 43c496598f8e1aedc9c80222e60bb8e7b3027e03)
2001-11-22 04:29:10 +00:00
Jean-François Micouleau
b03e162127
samr_querydom_info level 1: found the meaning of the unknow fields. And
...
discovered that our reply is short by 4 bytes since day 1 of this code.
Added a decode function to rpcclient too.
splitted the STRING2 fields filling while trying to understand the win9x
userlist bug. (didn't fix the bug, but the reply looks closer to NT).
J.F.
(This used to be commit bfbe7f377e5fcb09e87bfc866196dfc51a8fe64d)
2001-11-21 23:25:30 +00:00
Jeremy Allison
f146325e7d
W2K doesn't seem to respond to *#0 names in node status. Ensure name
...
lookup uses password server parameter when looking for PDCs.
Jeremy.
(This used to be commit 54c968913d6553c6d834b068234ab176917075eb)
2001-11-21 23:00:59 +00:00
Tim Potter
646f8ca3e8
More spelling fixes, comment reformatting.
...
(This used to be commit edb556b47446f75dc4987eee15276661eb6cec8d)
2001-11-21 21:10:13 +00:00
Tim Potter
54432c4129
Spelling fix, reformatted comment.
...
(This used to be commit 096868bd35b374f97e570676fc23c006b6c7a1d3)
2001-11-21 20:14:25 +00:00
Richard Sharpe
e734163ac4
One more patch from Tom Jansen. Hope I didn't break the tree :-)
...
(This used to be commit 6d7c0f0bb4cbfdcd9a83416345432e07556f6cfc)
2001-11-21 11:04:49 +00:00
Jeremy Allison
16ceec46d6
Added transparent +ve caching for lookupname/lookupsid. -ve caching can
...
be easily added (a one liner) once we know the correct error codes returned
by a W2K DC.
All other winbindd calls should go through a similar transparent caching layer
(and will soon).
Jeremy.
(This used to be commit b16bb21d371772816a4331f5011c151be0e083d5)
2001-11-21 09:59:15 +00:00
Jeremy Allison
efa52853f6
Preparing to implement +ve and -ve caching for lookupname/lookupsid calls.
...
Jeremy.
(This used to be commit 1f6cc536b2db0c36feee45cfd6ac1ad5ee8fb05a)
2001-11-21 08:36:43 +00:00
Andrew Bartlett
cade294409
Fix up the build again...
...
Andrew Bartlett
(This used to be commit a34c07377b1de61e145f699047474a82962ccd5b)
2001-11-21 05:19:13 +00:00
Jeremy Allison
e5c5adb197
Don't scan locking db on closedown.
...
Jeremy.
(This used to be commit 59cfcd8a6c510204ac059a0d2fddc2fa17199f82)
2001-11-21 04:00:35 +00:00
Richard Sharpe
7c74cc5cab
Fix up libsmbclient in head.
...
Apply the patches from Tom Jansen, get rid of fprintfs and change them to
DEBUGs, etc ...
(This used to be commit 7ac404c85303c9c3fbd48054fc4876bd4bc1567b)
2001-11-21 03:55:59 +00:00
Tim Potter
96d884cc0f
Fixed sizeof vs array length bug in make_user_info_winbind_crap()
...
Spelling fix.
(This used to be commit 3d87c1a2444c3b9267e0dda7a2da77657fba143e)
2001-11-20 23:20:00 +00:00
Jeremy Allison
d325611842
Merged in JohnR's ping messaging extension.
...
Jeremy.
(This used to be commit 694372b2c4d7713fe228114730027175f7b4e9b6)
2001-11-20 22:55:46 +00:00
Andrew Tridgell
02defd1de4
forgot this file
...
(This used to be commit 1dd255b06d4c8669d839a387d4c63ff3475ab1ab)
2001-11-20 11:32:16 +00:00
Andrew Tridgell
6464bb0ae5
added the beginnings of ADS support in smbd
...
(This used to be commit c7f611691941ca92f57665e19d6e46b161599427)
2001-11-20 08:54:15 +00:00
Andrew Tridgell
b1a2ba890a
added ANS1 integer define
...
(This used to be commit 1e833f3564be439cd778e517e6689cea61e02a2b)
2001-11-20 08:51:22 +00:00
Andrew Tridgell
3db4421eba
added strlcpy() and strlcat()
...
(This used to be commit 233fe71fbbb98fe1563f69565e16da1856360a26)
2001-11-20 08:50:57 +00:00
Andrew Tridgell
c325264416
add a hook to save the krb5 PAC
...
(This used to be commit 1cbc18ae732671d9a60528f8300ca7609e124d11)
2001-11-20 08:50:04 +00:00
Andrew Tridgell
fb57218a4a
fix maxfd test to start deleting at right file
...
(This used to be commit e4fb073af02846309c3efb0675006433052bb1ce)
2001-11-20 08:49:16 +00:00
Andrew Tridgell
e1eb073fa4
fix locktest default parameters
...
(This used to be commit f6a4b00aab9ca01d8dfed33252f3d5c5349d13b0)
2001-11-20 08:48:46 +00:00
Andrew Tridgell
4254f9151b
add asn1 integer handling ready for the ldap netjoin code
...
(This used to be commit 74303b75e43856bfb127c143d27e5c5fdcf32c91)
2001-11-20 08:46:02 +00:00
Andrew Tridgell
fcbcfb667f
- make sure we use a non-zero session id so we can have multiple conns
...
open to w2k
- fix the string handling in the device name to match NT and smbd
- don't pull the domain from negprot if CAP_EXTENDED_SECURITY is set
(This used to be commit 618989b386b5564ba140afdc17ce7a07040c3c4e)
2001-11-20 08:45:22 +00:00
Jeremy Allison
580ee96dae
We don't actually use the horror that was lib/util_array.c :-).
...
More deleted code - hurrah !
Jeremy.
(This used to be commit 48a848f748fb0961c67f17401e294ebf18fdcf1b)
2001-11-20 08:14:24 +00:00
Martin Pool
5b1fb34731
Rename xmalloc, xmemdup, xstrdup to smb_$1 to avoid conflicts with the
...
versions defined by libreadline on SCO (!).
(This used to be commit 32480d7aff21ce1c14991e242aaf8a4e14ec6f2a)
2001-11-20 06:38:09 +00:00
Martin Pool
4950e6feb6
Back out the change in 1.11 that set the poorly-named $pwd variable --
...
for the build farm this is actually the root directory for building,
or something like that. Thanks a.b.
(This used to be commit 309b718842dc36cd0b74c4c735684cd4613fff01)
2001-11-20 06:21:33 +00:00
Martin Pool
2d33bef2c1
Also show $tree in diagnostics.
...
(This used to be commit af65a01d0d80a86f405439ed5c46cf71026a5eb8)
2001-11-19 08:27:32 +00:00
Martin Pool
59b852fd72
Make the smbpasswd options/usage message a little less bizarre: it now
...
shows all the available options, but explains that you must be root to
use them. Surely this is less confusing?
(This used to be commit 19f5f813995d1cf3874df705ab5e71aa5eb14ae6)
2001-11-19 08:12:06 +00:00
Martin Pool
9b1f2c4090
Do satyr work against a copy of the build farm scripts so as not to
...
break them.
installcheck has to find smbd in SBINDIR, not BINDIR.
(This used to be commit 1be6139e148d752ec3619468ee1cca7f61ee16e1)
2001-11-19 08:00:55 +00:00
Martin Pool
94ad8127f5
Fix typo.
...
(This used to be commit 2c1e68d4ce45c7862fbc79a83eb36ee5b077251e)
2001-11-19 07:39:35 +00:00