Andrew Tridgell
674ee2f1d1
next_token() was supposed to be a reentrant replacement for strtok(),
...
but the code suffered from bitrot and is not now reentrant. That means
we can get bizarre behaviour
i've fixed this by making next_token() reentrant and creating a
next_token_nr() that is a small non-reentrant wrapper for those lumps
of code (mostly smbclient) that have come to rely on the non-reentrant
behaviour
0001-01-01 00:00:00 +00:00
Andrew Tridgell
86613493a9
Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually does
...
send unaligned unicode strings sometimes!
Fixed our handling of the workgroup name tacked on the end of the
NT1 negprot response (a unaligned unicode)
fixed a couple of places where we should be using the message_end fns instead
of pre-calculated buffer lengths
0001-01-01 00:00:00 +00:00
Jeremy Allison
244aec8ea6
Following info from TAKAHASHI Motonobu <monyo@samba.gr.jp>,
...
Samba Users Group Japan, ensure that we don't use dos_to_unix(xx,True),
but always use dos_to_unix(xx,False) to prevent overwriting.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
05a2911403
Fixed W2K SP2 joining a Samba PDC hosted domain.
...
Jermey.
0001-01-01 00:00:00 +00:00
Jeremy Allison
87f647715d
Warning fix from Andrew Bartlett.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Simo Sorce
e1572f85d6
initial support for paramter type P_LIST
...
it will avoid problems with lists being longer than 1024 bytes
just now only ip list parameters have been converted to the new type
(hosts allow, hosts deny, ssl hosts, ssl hosts resign)
0001-01-01 00:00:00 +00:00
Tim Potter
d0b37d1a62
make proto
0001-01-01 00:00:00 +00:00
Tim Potter
2162454d9e
Added cli_samr_delete_dom_user() function.
0001-01-01 00:00:00 +00:00
Tim Potter
aa9024c959
Added delete domain user rpcclient command.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
15b17a80db
added a close-share smbcontrol message that forcibly closes a share in smbd (to allow unmount)
0001-01-01 00:00:00 +00:00
Tim Potter
8e982941d8
Merge from appliance branch:
...
Don't call find_domain_from_name() from winbindd_kill_connections() as
you get stuck in an infinite loop!
0001-01-01 00:00:00 +00:00
Jeremy Allison
0fe11c329f
INFO_24 sometimes has a 2 byte length, sometimes doesn't. Safer to not
...
depend on it...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
5b1245f803
Only try and open a directory if we get EISDIR.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
2c2fc85136
Extra debug in open.c, fix for bad debug message in reply.c
...
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
fdfd690538
Fixed typo.
0001-01-01 00:00:00 +00:00
Tim Potter
d05577c332
Fixed typo in debug message.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
fd0d729ce0
added a torture target for building all torture progs. Fixed a typo in locktest
0001-01-01 00:00:00 +00:00
Andrew Tridgell
dd12c47645
moved all our torture code to a separate directory
0001-01-01 00:00:00 +00:00
Andrew Tridgell
a4ef84e1a0
torture code is moving to its own directory
0001-01-01 00:00:00 +00:00
Jeremy Allison
66f959e0ff
rpc_server/srv_srvsvc_nt.c: Don't test an uint32 for < 0.
...
utils/smbcacls.c: Set enum correctly.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
4897cfcf85
Added $(PROFILE_OBJ) to winbindd objects.
0001-01-01 00:00:00 +00:00
Jeremy Allison
e033f75891
Set support for info levels...
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
43bf9b2c7a
Best-effort so far implementation of new W2K info levels.
...
An-embrace-and-extending we will go...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
9297ae69a7
New info level tester.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
0fcf200633
Fix for assert fail - left over when moved to dynamic allocation.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
db5b82e53a
Added patches to remove Linux specific XFS ACLs. These are now handled by the
...
generic Linux ACL code.
rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
70194b194e
Added "Jim McDonough" <jmcd@us.ibm.com> patches for directory support
...
for Win9x.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3d4a3bfacd
added a oplock break handler hook to the client code, this allows for more complete testing of oplocks from smbtorture and would also be essential if a client app ever really did want to use oplocks properly
0001-01-01 00:00:00 +00:00
Tim Potter
720fea5360
Removed silly Get_Hostbyname() wrapper as DNS names are case-insensitive
...
and the use of this function only increased timeouts when Samba queries
a broken DNS server.
0001-01-01 00:00:00 +00:00
Tim Potter
d11c871fc5
Fixed typo in nmblookup example.
0001-01-01 00:00:00 +00:00
Tim Potter
41fe64e70f
Fixed typo in configure error message.
0001-01-01 00:00:00 +00:00
Jeremy Allison
5690ec77c8
Modified version of Jim's 0x27 and 0x28 Win9x Secdesc patch.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
bc366f3153
Jim McDonough's parse patches for Win9x get SD calls.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
a600c96e59
Fixed typo spotted by "Jim McDonough" <jmcd@us.ibm.com>....
...
Jeremy.
0001-01-01 00:00:00 +00:00
Simo Sorce
53803b0087
Be sure to not use strlen with NULL pointer.
0001-01-01 00:00:00 +00:00
Tim Potter
402639926f
Prototype update.
0001-01-01 00:00:00 +00:00
Tim Potter
66e62245ea
Added a unix error code for NT_STATUS_PATH_NOT_COVERED.
0001-01-01 00:00:00 +00:00
Tim Potter
d2eafa7483
Add password length field to SAM_USER_INFO24 structure and fix init
...
and parse function.
0001-01-01 00:00:00 +00:00
Tim Potter
fb80cf2aa1
Merged encode_pw_buffer() and nt_owf_genW() functions from TNG branch.
0001-01-01 00:00:00 +00:00
Tim Potter
3e3b9bc538
Fixed some return code checks for cli_initialise() from False to NULL.
...
Spotted by Joe Doran <joed@interlude.eu.org>
0001-01-01 00:00:00 +00:00
Tim Potter
2ad921d126
Oops - proto.h contained junk from another workarea.
0001-01-01 00:00:00 +00:00
Tim Potter
13df2304b3
Added some msdfs client routines.
0001-01-01 00:00:00 +00:00
Tim Potter
bdb9714380
Renamed -d option (make verbose) on smbstatus to -v.
...
Added -d <debuglevel> option.
0001-01-01 00:00:00 +00:00
Jeremy Allison
d8807b1922
Make message receive fn static.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
24eea8a309
Fix from TAKAHASHI Motonobu <monyo@samba.gr.jp> for multibyte conversion
...
problems.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
4d2f660582
Fixed typo in debug message.
0001-01-01 00:00:00 +00:00
Tim Potter
a542f4513a
Removed commented out msdfs code that was being called anyway.
0001-01-01 00:00:00 +00:00
Jeremy Allison
d989f8bd3e
lib/util_getent.c: removed debug code.
...
smbd/posix_acls.c: Attempt to fix the "lose default acl" problem in Solaris.
Needs testing.
lib/sysacls.c: Typo fix.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
e0f88cabfc
Found & fixed memory bug. num+1 * sizeof(x) != (num+1)*sizeof(x)........
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
fc7830eec8
Fixed potential free of NULL found by SGI speedshop.
...
Jeremy.
0001-01-01 00:00:00 +00:00