Jeremy Allison
7478d27e70
Removed unused variables.
...
Jeremy.
(This used to be commit 621fa227bd
)
2001-12-21 23:28:04 +00:00
Jeremy Allison
e1e64a26fa
The jf_get_sampasswd_entries() is not used anymore.
...
Jeremy.
(This used to be commit bf18160997
)
2001-12-21 23:25:32 +00:00
Jean-François Micouleau
1acf4f67a2
added a copyright notice.
...
J.F.
(This used to be commit 87928c4d91
)
2001-12-21 22:54:53 +00:00
Jean-François Micouleau
0e550b2c11
doesn't keep track of the struct's size we enumerate. W2K doesn't
...
calculate them and always reply a size of 32 bytes whereas NT4 did the
maths. Anyway, it looks like the clients don't complain.
in query_dom_info() at level 2, return the real number of users and
groups. That's the fix to the W95/98 userlist bug !
as W95/98 does a query_dom_info(2) followed by a query_disp_info(4) on
the SAME context handle (err we call it an lsa policy handle ! plain
wrong name), I was tempted to keep the snapshoot in memory, to prevent
2 full user db enumerations in a row and just have one shared. But if some
client does the 2 calls on two different handles, we would have 2 copies
in memory not free'ed before the samr_close().
We still have too many fixed constant and too many magic values in that
code. And btw, I really hates how the sequence number is generated !
J.F.
(This used to be commit c0178e1a03
)
2001-12-21 22:34:49 +00:00
Jeremy Allison
5829284a07
Fixup some DEBUG statements (0 -> 10).
...
Jeremy.
(This used to be commit bf65331cb4
)
2001-12-21 22:27:20 +00:00
Jean-François Micouleau
52d50bac7a
close some handles. not really necessary but doesn't hurt.
...
J.F.
(This used to be commit 55b9cd7af6
)
2001-12-21 22:18:06 +00:00
Gerald Carter
ca87fe7176
merge from 2.2
...
(This used to be commit 6697e46183
)
2001-12-21 20:04:22 +00:00
Jeremy Allison
fff44cc700
Use pdb_free_sam() to free a SAM_ACCOUNT struct, not safe_free(). There
...
are pointers withing the SAM_ACCOUNT struct that also need freeing.
Jeremy.
(This used to be commit a7d099cc75
)
2001-12-21 19:34:32 +00:00
Jean-François Micouleau
bead5bf57c
added all level to samr_query_disp_info rpcclient side.
...
J.F.
(This used to be commit d5f2e645e4
)
2001-12-21 13:38:07 +00:00
Volker Lendecke
dccd1b9a2e
Large expansion of my german book project.
...
Volker
(This used to be commit 768f90a6ca
)
2001-12-21 13:37:39 +00:00
Jean-François Micouleau
595dd01507
re-done all of samr_query_disp_info()
...
instead of enumerating the whole user db or group db every time, we store
a in memory copy linked to the handle.
that's much faster for large enumeration where the db can't fit in a
single rpc packet. And as it's a copy, it's constant between enumeration.
still some stuff to clean. But now I can fix the W95 userlist bug, as I've
finally found it.
J.F.
(This used to be commit 3ab4521536
)
2001-12-21 13:36:14 +00:00
Jean-François Micouleau
28eb6b91b2
put back the -l option to rpcclient.
...
that's the most useful option in this tool !
I love rpcclient ;-)
J.F.
(This used to be commit 18dc4cd57a
)
2001-12-21 13:30:55 +00:00
Andrew Tridgell
caaac2803a
- handle kerberos session setup reply with broken null termination
...
- don't display Domain=[] for auth protocols that don't give us a domain
(This used to be commit 20368455ea
)
2001-12-21 12:29:51 +00:00
Andrew Tridgell
384ce26f5b
try to handle end of packet for not null terminated domain strings
...
(This used to be commit 1da988456d
)
2001-12-21 11:58:30 +00:00
Andrew Tridgell
65ad38f6f7
updated ldap test to test for less common function
...
(This used to be commit 831f25a9a7
)
2001-12-21 11:20:59 +00:00
Andrew Tridgell
a237a8a296
fixed a typo in vsyslog()
...
(This used to be commit da353bc539
)
2001-12-21 11:04:14 +00:00
Herb Lewis
c10bc7b9a1
remove duplicate lines
...
(This used to be commit b60d6f1197
)
2001-12-21 05:13:36 +00:00
Martin Pool
c5f44afda7
smbcontrol in non-interactive mode was returning True for success --
...
need to invert this to give the shell 0.
(This used to be commit ecc624067c
)
2001-12-21 04:33:28 +00:00
Martin Pool
86fb267fc8
Add option to pass NULL max_replies to wait_for_replies in case you
...
don't know how many to expect.
(This used to be commit 53f1c0298b
)
2001-12-21 04:30:58 +00:00
Martin Pool
e27fbe7075
Add code to send MSG_REQ_POOL_USAGE. (smbd doesn't respond yet.)
...
Factor out common code to wait until replies are received or timeout
expires.
Show debug message when messages are sent.
(This used to be commit 17bb0f60af
)
2001-12-21 04:28:03 +00:00
Tim Potter
2bfeee924c
Append to log.winbindd instead of overwriting it so we are consistent with
...
smbd/nmbd behaviour.
(This used to be commit 54d2765615
)
2001-12-21 02:23:38 +00:00
Tim Potter
203c2301eb
Fix for null command description in rpcclient help. From Benjamin Kuit
...
<bj@it.uts.edu.au>.
(This used to be commit 60d1d0bfa9
)
2001-12-21 01:16:37 +00:00
Martin Pool
bf65820af2
Add an output parameter to message_send_all that says how many
...
messages were sent, so you know how many replies to expect.
Const and doc religion.
(This used to be commit 22e510ea0d
)
2001-12-21 00:37:49 +00:00
Martin Pool
df28dee653
Factor out a broadcast_printer_notify() routine.
...
(This used to be commit d32598c953
)
2001-12-21 00:37:09 +00:00
Martin Pool
b379c92273
Add MSG_REQ_POOL_USAGE to get memory usage info.
...
(This used to be commit b28dbbf569
)
2001-12-21 00:34:26 +00:00
Samba Release Account
5b4305eb4b
preparing for release of 3.0-alpha12
...
(This used to be commit 9542b0a42c
)
2001-12-20 23:51:57 +00:00
Andrew Tridgell
89dd1a00b6
lp_setup_logfile() doesn't exist any more
...
(This used to be commit aa52ae7354
)
2001-12-20 23:46:05 +00:00
Andrew Tridgell
9eebd31e2c
check for a winbindd username when doing a kerberos auth
...
(This used to be commit 39f2e2e162
)
2001-12-20 23:36:39 +00:00
Andrew Tridgell
91ee73e300
make sure we store the domain sid when joining a ADS domain
...
(This used to be commit dfbe442c66
)
2001-12-20 23:35:53 +00:00
Andrew Tridgell
401c7495ea
added ads_domain_sid() function
...
(This used to be commit ff002a458a
)
2001-12-20 23:35:14 +00:00
Jeremy Allison
9ed10f83d7
Removed global debugf. Replaced with lp_set_logfile(name).
...
Fixed winbindd to finally stop leaving log. file droppings :-).
Jeremy.
(This used to be commit 0bea6cf79a
)
2001-12-20 22:27:05 +00:00
Gerald Carter
0c26ae1880
update from Vance
...
(This used to be commit fe7ad37612
)
2001-12-20 21:58:50 +00:00
Gerald Carter
adb4931aa4
couple of updates mentioned on samba@samba.org
...
(This used to be commit 95308453b2
)
2001-12-20 21:25:20 +00:00
Jeremy Allison
6ac6af60cb
Setup global_myworkgroup. Needed for secrets fetch code.
...
Jeremy.
(This used to be commit 057e91c1c3
)
2001-12-20 18:37:43 +00:00
Gerald Carter
f7e4e37c63
merge from 2.2
...
(This used to be commit 72d3b16022
)
2001-12-20 15:09:23 +00:00
Samba Release Account
df8992b94c
preparing for release of 3.0-alpha11
...
(This used to be commit 5ed31faeb1
)
2001-12-20 10:21:56 +00:00
Andrew Tridgell
0eedf59a47
fixed more warnings on irix
...
(This used to be commit 2ffefba869
)
2001-12-20 10:04:32 +00:00
Andrew Tridgell
93d458c5f6
fixed warnings on irix and crash bug on big endian machines
...
(This used to be commit cc6c263993
)
2001-12-20 10:02:30 +00:00
Andrew Tridgell
89f97bb254
fixed sscanf() of gid_t values
...
(This used to be commit 102af994de
)
2001-12-20 09:48:02 +00:00
Andrew Tridgell
01a382480a
don't use server_info after its been freed
...
(This used to be commit ee161a5728
)
2001-12-20 09:32:03 +00:00
Andrew Tridgell
1a242b6fd9
support "map to guest" with spnego
...
(This used to be commit e873d0ff1e
)
2001-12-20 09:06:53 +00:00
Andrew Tridgell
db54a8c041
forgot to commit this file from remus
...
(This used to be commit 7984ae0121
)
2001-12-20 07:46:24 +00:00
Andrew Tridgell
6722cfc3e6
added net lookup command
...
(This used to be commit 51268c512d
)
2001-12-20 07:42:00 +00:00
Martin Pool
93b5fb3175
Ignore torture.tdb
...
(This used to be commit 79feca4d25
)
2001-12-20 07:22:54 +00:00
Andrew Tridgell
bed11a34ba
net now sends its debug to stderr so its output can be relied upon in
...
scripts
(This used to be commit 6d2f7ed708
)
2001-12-20 07:13:47 +00:00
Andrew Tridgell
2838f61540
fixed long filenames on win98
...
the fstype must not be null terminated or win98 doesn't recognise it
(This used to be commit c8a040f2aa
)
2001-12-20 06:52:45 +00:00
Andrew Tridgell
ec31274163
much better auto-init of valid_table[]. This should just about remove
...
the need for valid.dat
(This used to be commit 0cfd0a5e54
)
2001-12-20 06:18:52 +00:00
Tim Potter
367c40fd87
Grr - numbers printed in hexadecimal should be preceeded by 0x
...
(This used to be commit 7d8082a8ad
)
2001-12-20 05:10:50 +00:00
Tim Potter
68ff010e7c
Added some comments showing hex values of some constants.
...
(This used to be commit b3aff6b5a3
)
2001-12-20 05:05:58 +00:00
Andrew Tridgell
6c0146f74b
mark '.' as a valid character
...
(This used to be commit 85f04fa61d
)
2001-12-20 04:12:36 +00:00