ira/wip.git
22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 04:16:35 +0000 (04:16 +0000)]
move to SAFE_FREE()
(This used to be commit e61aec84edaf55b9ee087b076d2f1311033dc839)

22 years agotypo
Simo Sorce [Mon, 17 Sep 2001 03:44:52 +0000 (03:44 +0000)]
typo
(This used to be commit 23dc3fc7009ce40064db57d5ec8b720c7d9350a8)

22 years agofixed compilation of groupdb
Andrew Tridgell [Mon, 17 Sep 2001 03:40:55 +0000 (03:40 +0000)]
fixed compilation of groupdb
(This used to be commit 23e2561a1c303942cfceae8929e0806db91b4aa4)

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 03:33:37 +0000 (03:33 +0000)]
move to SAFE_FREE()
(This used to be commit 48fc6a6cd52e01b287030fbbf0aa08a6814c5e11)

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 02:19:44 +0000 (02:19 +0000)]
move to SAFE_FREE()
(This used to be commit 60e907b7e8e1c008463a88ed2b076344278986ef)

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 00:58:15 +0000 (00:58 +0000)]
move to SAFE_FREE()
(This used to be commit 89833bbbd8508dcdca70dff2c94e1d8f22535f1f)

22 years agomove to SAFE_FREE()
Simo Sorce [Mon, 17 Sep 2001 00:52:47 +0000 (00:52 +0000)]
move to SAFE_FREE()
(This used to be commit 29db6ef7a7c4df51adf964c0aecb1164e4ab7dee)

22 years agointroduce SAFE_FREE() macro as suggested by andreas moroder.
Simo Sorce [Mon, 17 Sep 2001 00:47:40 +0000 (00:47 +0000)]
introduce SAFE_FREE() macro as suggested by andreas moroder.
(This used to be commit b7edd55885791f9aded11a0b0a131e02a819f374)

22 years agoFix compile warnings on IRIX's cc.
Andrew Bartlett [Sun, 16 Sep 2001 08:29:03 +0000 (08:29 +0000)]
Fix compile warnings on IRIX's cc.
(This used to be commit 5b369bce69c2cbe01f938a643d3b9e71bc2075c4)

22 years agoFix (I hope) for a number of little compile warnings found by the IRIX
Andrew Bartlett [Sun, 16 Sep 2001 08:24:44 +0000 (08:24 +0000)]
Fix (I hope) for a number of little compile warnings found by the IRIX
compilers on the build farm.

Andrew Bartlett
(This used to be commit 0ff0a91a6baf7cf6b3ca59a2b4067cc07e3f2f88)

22 years agoMinor tidy-up.
Andrew Bartlett [Sun, 16 Sep 2001 07:32:06 +0000 (07:32 +0000)]
Minor tidy-up.
(This used to be commit dbb21aedbf10ebc4ef0d549c4f919cf91459eef7)

22 years agoFix up workstaion and kickoff time checks, moved to auth_smbpasswd.c where
Andrew Bartlett [Sun, 16 Sep 2001 06:35:35 +0000 (06:35 +0000)]
Fix up workstaion and kickoff time checks, moved to auth_smbpasswd.c where
they can have general effect.

Fixed up workstaion support in the rest of samba, so that we can do these
checks.

Pass through the workstation for cli_net_logon(), if supplied.
(This used to be commit 7f04a139b2ee34b4c282590509cdf21395815a7a)

22 years agofixed compilation error in smbw
Andrew Tridgell [Sun, 16 Sep 2001 03:49:15 +0000 (03:49 +0000)]
fixed compilation error in smbw
(This used to be commit d1e9fb7778268a626b0550fa350d55d8eec7706e)

22 years agoStart pushing the NTSTATUS stuff out to the wire for session setups.
Andrew Bartlett [Sun, 16 Sep 2001 02:35:55 +0000 (02:35 +0000)]
Start pushing the NTSTATUS stuff out to the wire for session setups.

Rework the 'map to guest' code, its now possible to follow what its trying
to do...

Add an NT_STATUS_EQUAL(x,y) macro to make this stuff sane to look at.

Andrew Bartlett
(This used to be commit d618880661976644a6ee713edf969ad561e82097)

22 years agoKill off the dangerous passwd program default, as its both very
Andrew Bartlett [Sun, 16 Sep 2001 00:07:04 +0000 (00:07 +0000)]
Kill off the dangerous passwd program default, as its both very
system-dependent and can allow (when unix password sync = yes) the
'syncronisation' of root's password by a normal user :-(

Andrew Bartlett
(This used to be commit eecda11eef8bff73286c6a3c9f89ed0d1dcd7f73)

22 years agoLooks like it missed these. make_connection now no longer takes a 'username'
Andrew Bartlett [Sat, 15 Sep 2001 23:32:19 +0000 (23:32 +0000)]
Looks like it missed these.  make_connection now no longer takes a 'username'
argument.
(This used to be commit 0e1322227b0a91226b4b85c8e0ff838ebfd9e962)

22 years agofree memory before returning.
Simo Sorce [Sat, 15 Sep 2001 14:03:25 +0000 (14:03 +0000)]
free memory before returning.
tx Andreas Moroder.
(This used to be commit 8d60a825f74a340beba11193a28fd83b0c4a8129)

22 years agouse variables _before_ freeing them!
Simo Sorce [Sat, 15 Sep 2001 13:21:54 +0000 (13:21 +0000)]
use variables _before_ freeing them!
thanks to Andreas Moroder for spotting these two.
(This used to be commit 01f30ca0ad472eaab8f80ec4278b1d391be3a1ae)

22 years agoKill off the //server/share%user hack in share level security.
Andrew Bartlett [Sat, 15 Sep 2001 12:55:59 +0000 (12:55 +0000)]
Kill off the //server/share%user hack in share level security.

This should help make much of this code simpiler.

Andrew Bartlett
(This used to be commit fb0c3629c360fd0c57129500474960e6da6f9ef0)

22 years agoupdate for .proto.stamp
Andrew Bartlett [Sat, 15 Sep 2001 12:24:09 +0000 (12:24 +0000)]
update for .proto.stamp
(This used to be commit d3a731a3d52a0cc297404b74e74cc9376ddd597f)

22 years agoOops... For reference, NTLMv2 passwords are > 24 chars in length, while
Andrew Bartlett [Sat, 15 Sep 2001 12:20:21 +0000 (12:20 +0000)]
Oops...  For reference, NTLMv2 passwords are > 24 chars in length, while
NTLMv1 passwords (and old LM passwords) are exactly 24 in lenghth.
(This used to be commit 51baa1614d1a338f50dbf8eaa5ea31ab58c11409)

22 years agoThis looked suspicious now we are attempting to to NTLMv2.
Andrew Bartlett [Sat, 15 Sep 2001 12:16:22 +0000 (12:16 +0000)]
This looked suspicious now we are attempting to to NTLMv2.

Andrew Bartlett
(This used to be commit 21baa33946a24159ebe873ac37cf30581437aa1a)

22 years agoFix up NTSTATUS stuff in rpcclient's help function
Andrew Bartlett [Sat, 15 Sep 2001 03:57:12 +0000 (03:57 +0000)]
Fix up NTSTATUS stuff in rpcclient's help function
(This used to be commit 512e9a5f94ba71bdea2bdecb8f21f9daad51ef3a)

22 years agoRestore the profiling data shmem parinoia. This whole area needs to be
Andrew Bartlett [Sat, 15 Sep 2001 02:10:22 +0000 (02:10 +0000)]
Restore the profiling data shmem parinoia.  This whole area needs to be
fixed - an mmaped file or the like would be a good idea.
(This used to be commit bc1385fc5e55eeed626615fad92877296064a27e)

22 years agoActually fill in the status for sainity checks
Andrew Bartlett [Sat, 15 Sep 2001 01:59:44 +0000 (01:59 +0000)]
Actually fill in the status for sainity checks

Andrew Bartlett
(This used to be commit d47016de52e9e5c468edf4c87dc60535a9796b99)

22 years agoFixed up Solaris 64 bit configure.
Jeremy Allison [Sat, 15 Sep 2001 00:29:54 +0000 (00:29 +0000)]
Fixed up Solaris 64 bit configure.
Jeremy.
(This used to be commit 36516b2ca97e8644a29055dfab868aced644f9aa)

22 years agomerges from 2.2
Gerald Carter [Fri, 14 Sep 2001 15:33:09 +0000 (15:33 +0000)]
merges from 2.2
(This used to be commit b619458dde158c37a4420a28a7e1e1f70e7a18d1)

22 years agomerge from appliance_head
Gerald Carter [Fri, 14 Sep 2001 15:22:49 +0000 (15:22 +0000)]
merge from appliance_head
(This used to be commit f70b1707e42b3f7aaa38cc5637fcc5cbcdd5a26a)

22 years agomerge from 2.2
Gerald Carter [Fri, 14 Sep 2001 15:19:15 +0000 (15:19 +0000)]
merge from 2.2
(This used to be commit 0e4d2384dee905c730d011595337ff5ecc260a13)

22 years agoUpdate manpage for new 'add machine script' paramater
Andrew Bartlett [Fri, 14 Sep 2001 12:30:14 +0000 (12:30 +0000)]
Update manpage for new 'add machine script' paramater
(This used to be commit 68dc525e8e7906a8618b6d28c5543ce89768563d)

22 years agoNow that we always get back an NTSTATUS code actually pass it on to the
Andrew Bartlett [Fri, 14 Sep 2001 10:38:40 +0000 (10:38 +0000)]
Now that we always get back an NTSTATUS code actually pass it on to the
auth subsytem.  Also kill off the (unneeded) wrapper fuction.

Andrew Bartlett
(This used to be commit 96f06b490ac5e9fd86debccf8d41675fa41f7726)

22 years agoFinally commit my fix to this little mess...
Andrew Bartlett [Fri, 14 Sep 2001 10:31:39 +0000 (10:31 +0000)]
Finally commit my fix to this little mess...

The same function that adds machines to the system also adds users, and the
new 'add user script'/'add machine script' distinction needs to be made
correctly.  Also introduces a sainity check for correct $ termination.

Andrew Bartlett
(This used to be commit ef377ea0cc55cb6647ecd7a634cf5983e11cfe99)

22 years agoProduce correct lanman and nt hashes in samsync smbpasswd output. The
Tim Potter [Fri, 14 Sep 2001 04:37:49 +0000 (04:37 +0000)]
Produce correct lanman and nt hashes in samsync smbpasswd output.  The
output from samsync -p produces the same output as running PWDUMP.EXE on
the domain controller except it happens via the sam synchronisation protocol.
(This used to be commit 5da98620021cda92d4752e7388f0e0cdfcd0e8cd)

22 years agoMerge prs_hash1() function from tng.
Tim Potter [Fri, 14 Sep 2001 04:36:19 +0000 (04:36 +0000)]
Merge prs_hash1() function from tng.
(This used to be commit 3245714243d15160b9e0e27c413fef65ea91f455)

22 years agoDecode 68-byte password blocks using sam replication password key (which
Tim Potter [Fri, 14 Sep 2001 04:35:48 +0000 (04:35 +0000)]
Decode 68-byte password blocks using sam replication password key (which
is actually the user session key).
(This used to be commit 0f041597f8afa378fc3177264f1e52e014e6cf00)

22 years agoMerge of sam_pwd_hash() function from tng.
Tim Potter [Fri, 14 Sep 2001 04:34:06 +0000 (04:34 +0000)]
Merge of sam_pwd_hash() function from tng.
(This used to be commit b6cb6b837ac06d8b9cb898668e69236b64a8b698)

22 years agoUse session key from cli_state struct rather than the uninitialised one
Tim Potter [Fri, 14 Sep 2001 04:32:52 +0000 (04:32 +0000)]
Use session key from cli_state struct rather than the uninitialised one
when calling cli_netlogon_sam_sync().  (-:
(This used to be commit e4a3231a074b01cb1d6c4bf42e0a8e687e584413)

22 years agoRemoved CHECK_STRUCT macro - it isn't used anywhere.
Tim Potter [Fri, 14 Sep 2001 04:31:15 +0000 (04:31 +0000)]
Removed CHECK_STRUCT macro - it isn't used anywhere.
(This used to be commit 06c619b395f212ec3122cf1c804b27afba04e79d)

22 years agoOops.
Tim Potter [Fri, 14 Sep 2001 00:20:38 +0000 (00:20 +0000)]
Oops.
(This used to be commit 4c92d82bdb35db3e01a162fb0aa00a6fe7486c70)

22 years agoDiscovered a whole lot more opcodes on the LSA pipe while writing a rpc
Tim Potter [Thu, 13 Sep 2001 07:15:35 +0000 (07:15 +0000)]
Discovered a whole lot more opcodes on the LSA pipe while writing a rpc
scanner.  There's lots of quota, privilege, and trusted domain goodness
waiting to be reverse engineered here!

Unfortunately the scanner can crash LSASS.EXE on NT4 just by writing
packets containing 0xdeadbeef.  )-:
(This used to be commit f0ef301cff57c9bf07694e0675eec67c61367afb)

22 years agoFixed return value for cli_dfs_exist() - nt4 returns 1, w2k returns 2.
Tim Potter [Thu, 13 Sep 2001 01:00:46 +0000 (01:00 +0000)]
Fixed return value for cli_dfs_exist() - nt4 returns 1, w2k returns 2.

Use werror_to_ntstatus() to convert error returns from dfs client functions
into nt errors.
(This used to be commit a83061ef3e4933c52e7206270b455a3888fa63a8)

22 years agoadded a new global option "hostname lookups = yes/no"
Andrew Tridgell [Thu, 13 Sep 2001 00:30:47 +0000 (00:30 +0000)]
added a new global option "hostname lookups = yes/no"
This should finally kill off the remaining places where we
attempt reverse lookups of the IP of the client. It may be that some
pam modules called via the session code will need "hostname lookups = yes"
but I've left it off by default as most sites don't need it and so
many sites have broken reverse maps
(This used to be commit 2b83ad03965d00bba88fe56452d2990099b75ef1)

22 years agoTerminate dfs referral alternate path string. DFS now works again in head
Tim Potter [Thu, 13 Sep 2001 00:30:16 +0000 (00:30 +0000)]
Terminate dfs referral alternate path string.  DFS now works again in head
- hooray!
(This used to be commit 95df7ede465d835eb8ca1d1466c5153caf1a0d71)

22 years agoFixed problems with arg parsing as root with smbpasswd.
Jeremy Allison [Wed, 12 Sep 2001 20:00:42 +0000 (20:00 +0000)]
Fixed problems with arg parsing as root with smbpasswd.
Jeremy.
(This used to be commit 6399cf490dffbd162afa06f18cdd6e0364db567d)

22 years agoConverted msdfs referral server code to use rpcstr_push() functions. Still
Tim Potter [Wed, 12 Sep 2001 12:20:14 +0000 (12:20 +0000)]
Converted msdfs referral server code to use rpcstr_push() functions.  Still
doesn't work though.  )-:
(This used to be commit ec7296d6e9b5b61bac778c2093ee0cd0e23a2344)

22 years agoString length fix from Toomas Soome <tsoome@ut.ee>
Tim Potter [Wed, 12 Sep 2001 11:48:22 +0000 (11:48 +0000)]
String length fix from Toomas Soome <tsoome@ut.ee>
(This used to be commit 42417a425b524bc74360fdf6f1a16bfad38b9818)

22 years agoIgnore torture test binaries.
Tim Potter [Wed, 12 Sep 2001 07:36:27 +0000 (07:36 +0000)]
Ignore torture test binaries.
(This used to be commit c5a94780dc653260cf6abd09f6a321b93806529a)

22 years agoFixed typo.
Tim Potter [Wed, 12 Sep 2001 07:22:55 +0000 (07:22 +0000)]
Fixed typo.
(This used to be commit 2138c4461921b8ac3141231169af1eaa6e85f9ba)

22 years agoSome patches to authentication:
Tim Potter [Wed, 12 Sep 2001 06:39:50 +0000 (06:39 +0000)]
Some patches to authentication:

 - the usersupplied_info now contains a smb_username (as it comes across on
   the wire) and a unix_username (after being passed through mapping
   functions)

 - when doing security={server,domain} use the smb_username, otherwise use
   the unix_username
(This used to be commit d34fd8ec0716127c7a68eeb8e77d1ae8cc07b547)

22 years ago- enable MSDFS by default, there seems no reason not to have it enabled
Andrew Tridgell [Wed, 12 Sep 2001 03:08:51 +0000 (03:08 +0000)]
- enable MSDFS by default, there seems no reason not to have it enabled
  by default in Samba 3.x

- got rid of some unused parameters in Makefile.in

- declare DEBUGLEVEL in debug.h rather than in each file
(This used to be commit b8651acb9c0d7248a6a2e82c33b1e43633fd83fd)

22 years agoHmm - needs to be converted to pull/push unistr routines. But at least it
Tim Potter [Wed, 12 Sep 2001 01:15:24 +0000 (01:15 +0000)]
Hmm - needs to be converted to pull/push unistr routines.  But at least it
compiles now which should keep the build farm happy.
(This used to be commit 5686a2cfe874e8b30bcb2781fa4bfe7ae0cefb17)

22 years agoConverted DFS error returns to WERROR instead of uint32.
Tim Potter [Wed, 12 Sep 2001 01:14:03 +0000 (01:14 +0000)]
Converted DFS error returns to WERROR instead of uint32.
(This used to be commit 97286570ef6f9151b5fe0be32aa4b294e7db9ab8)

22 years agoMoved and renamed DFS error constants from include/rpc_dfs.h to doserr.h to
Tim Potter [Wed, 12 Sep 2001 01:11:43 +0000 (01:11 +0000)]
Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h to
fit in with new error reporting subsystem.
(This used to be commit dbfd50d447e4166a4233034885666d985ca6beb8)

22 years agoUpdate from sgml source.
Tim Potter [Tue, 11 Sep 2001 05:28:56 +0000 (05:28 +0000)]
Update from sgml source.
(This used to be commit e101e945b78fbe53b6bdcf6ddaa9355547af09fd)

22 years agoFixed some bad markup.
Tim Potter [Tue, 11 Sep 2001 05:26:44 +0000 (05:26 +0000)]
Fixed some bad markup.
(This used to be commit f66899965ea3d9677ba75dff56df2319b3e4b7c0)

22 years agoStandardised on 'var = value' when referencing smb.conf parameters, rather
Tim Potter [Tue, 11 Sep 2001 05:19:10 +0000 (05:19 +0000)]
Standardised on 'var = value' when referencing smb.conf parameters, rather
than 'var=value'.

Fixed up some dodgy quoting on the way.
(This used to be commit 0606c194d6e3aba0c1aac883fe04e0c6e9e9a578)

22 years agoTweak the building rules under Solaris with CC.
Richard Sharpe [Tue, 11 Sep 2001 04:29:25 +0000 (04:29 +0000)]
Tweak the building rules under Solaris with CC.
(This used to be commit d3758404d43b1b4be0b980a4fe078cab458e6d21)

22 years agoAdded a string for NT_STATUS_OK, m'kay?
Tim Potter [Tue, 11 Sep 2001 04:14:26 +0000 (04:14 +0000)]
Added a string for NT_STATUS_OK, m'kay?
(This used to be commit ff149308349fbf80399d9d541659f3c1d668306a)

22 years agoMake sure to commit configure
Richard Sharpe [Tue, 11 Sep 2001 03:11:06 +0000 (03:11 +0000)]
Make sure to commit configure
(This used to be commit a3f5139beb774163f811d9e68839742b4d938e87)

22 years agoSome small changes to configure to remove things like -X4 etc on compiles.
Richard Sharpe [Tue, 11 Sep 2001 03:10:29 +0000 (03:10 +0000)]
Some small changes to configure to remove things like -X4 etc on compiles.
(This used to be commit ec6c5da124bc0f090d8aef40247acd44aa2850f9)

22 years agofix typo
Herb Lewis [Tue, 11 Sep 2001 00:22:33 +0000 (00:22 +0000)]
fix typo
(This used to be commit 51795ca3509d9f1a076fae902211ebad02897c72)

22 years agoFix for second logic bug when handing oplock breaks and client messages
Jeremy Allison [Mon, 10 Sep 2001 23:03:14 +0000 (23:03 +0000)]
Fix for second logic bug when handing oplock breaks and client messages
simultaneously.
Jeremy.
(This used to be commit 227325b2d63dad55cbcda9608fba676fb6ce5584)

22 years agoleft out {
Herb Lewis [Mon, 10 Sep 2001 22:40:15 +0000 (22:40 +0000)]
left out {
(This used to be commit 70bd17473a2106ef41b5d921595ce537ec1871cb)

22 years agoprevent segv by not calling tdb_traverse and tdb_close if tdb_open_log
Herb Lewis [Mon, 10 Sep 2001 22:31:59 +0000 (22:31 +0000)]
prevent segv by not calling tdb_traverse and tdb_close if tdb_open_log
returns NULL.
(This used to be commit afdf93836b59d5d9ede2ac0f3298d99471872829)

22 years agocut-n-paste error
Gerald Carter [Mon, 10 Sep 2001 19:30:34 +0000 (19:30 +0000)]
cut-n-paste error
(This used to be commit b2ed211df0cad2013fd8ff67f48bf73962cc1d39)

22 years agomerge from APPLIANCE_HEAD
Gerald Carter [Mon, 10 Sep 2001 19:29:00 +0000 (19:29 +0000)]
merge from APPLIANCE_HEAD
(This used to be commit 55bd514c4576a273dac1ac5c37207a96b41f6572)

22 years agoconvert more code to use XFILE
Andrew Tridgell [Mon, 10 Sep 2001 13:09:54 +0000 (13:09 +0000)]
convert more code to use XFILE
(This used to be commit fd24265c06f6d2b636c1863941a33029dd9f3828)

22 years agoconvert more code to use XFILE
Andrew Tridgell [Mon, 10 Sep 2001 12:46:42 +0000 (12:46 +0000)]
convert more code to use XFILE
(This used to be commit fe6679dffba9a92bb35933ad52172c9be0e9ef90)

22 years agodeclare dbf in one spot
Andrew Tridgell [Mon, 10 Sep 2001 12:14:18 +0000 (12:14 +0000)]
declare dbf in one spot
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)

22 years agomore static/dead fns
Andrew Tridgell [Mon, 10 Sep 2001 11:45:09 +0000 (11:45 +0000)]
more static/dead fns
(This used to be commit f59826c0c9ba283c25faeec2cbdc7e19cca7aa04)

22 years agokill a dead fn and make a local one static
Andrew Tridgell [Mon, 10 Sep 2001 11:34:32 +0000 (11:34 +0000)]
kill a dead fn and make a local one static
(This used to be commit 1e9815105e235ad1141b899b03d3de756d217d49)

22 years agomade a couple of local fns static
Andrew Tridgell [Mon, 10 Sep 2001 11:23:41 +0000 (11:23 +0000)]
made a couple of local fns static
(This used to be commit f0851202a852bed28fbd2446b44ce2b977ddacd8)

22 years agopassdb/smbpassfile ain't needed any more - it only provided migration from an ancient...
Andrew Tridgell [Mon, 10 Sep 2001 11:16:18 +0000 (11:16 +0000)]
passdb/smbpassfile ain't needed any more - it only provided migration from an ancient file format, not relevant for Samba 3.0
(This used to be commit 954adb630d7c41a45de3a0d656d03499e20727b6)

22 years agoadded xfile
Andrew Tridgell [Mon, 10 Sep 2001 11:09:36 +0000 (11:09 +0000)]
added xfile
(This used to be commit 7c2fe172c3322433571e73a0bef5c67168dd7c80)

22 years agoreplaced stdio in many parts of samba with a XFILE. XFILE is a cut-down
Andrew Tridgell [Mon, 10 Sep 2001 11:08:57 +0000 (11:08 +0000)]
replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor
limit that we hit with nasty consequences on some systems

I would eventually prefer us to have a configure test to see if we need
to replace stdio, but for now this code needs to be tested widely so
I'm enabling it by default.
(This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)

22 years agoMake sure that if there are no interfaces, name_register_wins does not
Richard Sharpe [Sun, 9 Sep 2001 09:59:33 +0000 (09:59 +0000)]
Make sure that if there are no interfaces, name_register_wins does not
segfault.
(This used to be commit a7842fac94a3f772da0e6ddf14044df24af798a9)

22 years agoTypo fix per Vance on IRC.
Christopher R. Hertel [Sun, 9 Sep 2001 04:21:12 +0000 (04:21 +0000)]
Typo fix per Vance on IRC.
(This used to be commit 6f388502622fe77ae13ac2b0ae8f39b2e77ba455)

22 years agofixed typo
Andrew Tridgell [Sun, 9 Sep 2001 03:18:23 +0000 (03:18 +0000)]
fixed typo
(This used to be commit 160906b57de8d1f8f76e716e0691223f743e07eb)

22 years agoremoved pointless parameter from readfile()
Andrew Tridgell [Sun, 9 Sep 2001 02:43:30 +0000 (02:43 +0000)]
removed pointless parameter from readfile()
(This used to be commit 0742342ec496bec7246e067280737cd507465b50)

22 years agofixed missing const on d_printf declaration
Andrew Tridgell [Sun, 9 Sep 2001 02:37:10 +0000 (02:37 +0000)]
fixed missing const on d_printf declaration
(This used to be commit 865e0507e6e6ad6a71d833c4f2a0f57362637719)

22 years agoconvert more code to using d_printf
Andrew Tridgell [Sat, 8 Sep 2001 02:59:23 +0000 (02:59 +0000)]
convert more code to using d_printf
(This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)

22 years agoChange the description on --with-pam_smbpass to make it clearer - some peope
Andrew Bartlett [Fri, 7 Sep 2001 23:56:54 +0000 (23:56 +0000)]
Change the description on --with-pam_smbpass to make it clearer - some peope
seem to think you need this module for normal samba/PAM operation.

rerun autoconf
rerun autoheader

(Note that --with-pam_smbpass still doesn't build, but at least when it does
again only people who actually need it will select it).
(This used to be commit bbda3dd7422a434f19ca8968dab8f9f210254c2f)

22 years agoDon't fail if no owner/group owner set. Use existing owners.
Jeremy Allison [Fri, 7 Sep 2001 20:08:16 +0000 (20:08 +0000)]
Don't fail if no owner/group owner set. Use existing owners.
Jeremy.
(This used to be commit 9961c4c1a3b2dbf8d1062bc1fa103488c0d0ba79)

22 years ago#ifdef out function when not used.
Jeremy Allison [Fri, 7 Sep 2001 20:01:19 +0000 (20:01 +0000)]
#ifdef out function when not used.
Jeremy.
(This used to be commit fa8d626a2773569a454451e77ea56c707b33b69e)

22 years agoFixed paragraph about byte range locking. Jerry, could you make a pdf of this?
Volker Lendecke [Fri, 7 Sep 2001 15:35:26 +0000 (15:35 +0000)]
Fixed paragraph about byte range locking. Jerry, could you make a pdf of this?

Thanks,

Volker
(This used to be commit 3811b6a9eba8c5567b4df01c86cc4fe33b0a8079)

22 years agoadded "display charset" option in smb.conf, along with d_printf()
Andrew Tridgell [Fri, 7 Sep 2001 14:14:57 +0000 (14:14 +0000)]
added "display charset" option in smb.conf, along with d_printf()
which should now be used instead of DEBUG(0) or printf() for
interactive messages

I have only converted client.c to use d_printf(), and the code hasn't
had much testing yet. Eventually we want all interactive code to use
d_printf(), plus SWAT
(This used to be commit 266d8e67669adb329f25676c4bc4d4c50f223428)

22 years agoFix the 62bit locking onto 32 bit NFS mounts problem generically for HPUX.
Jeremy Allison [Thu, 6 Sep 2001 22:43:21 +0000 (22:43 +0000)]
Fix the 62bit locking onto 32 bit NFS mounts problem generically for HPUX.
Don. please check this out.
Jeremy.
(This used to be commit ce9f95996498f7795aaef069e1443ea1c7d524b3)

22 years agogot rid of USE_TDB_MMAP_FLAG as its not needed any more
Andrew Tridgell [Thu, 6 Sep 2001 22:08:19 +0000 (22:08 +0000)]
got rid of USE_TDB_MMAP_FLAG as its not needed any more
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)

22 years agoFixed O(N^2) talloc loop when allocating printer name memory - fix from
Jeremy Allison [Thu, 6 Sep 2001 15:48:29 +0000 (15:48 +0000)]
Fixed O(N^2) talloc loop when allocating printer name memory - fix from
Richard Bollinger <rabollinger@home.com>.
Jeremy.
(This used to be commit 408c0595bbeafca87795e5278656471fbe0540e8)

22 years ago- fixed proto.h build on systems using a parallel make
Andrew Tridgell [Thu, 6 Sep 2001 10:37:21 +0000 (10:37 +0000)]
- fixed proto.h build on systems using a parallel make

- changed DENY1 and DENY2 tests to only report errors
(This used to be commit 9341e5534d0786e6ad7980e5fd1a0b35d77a2806)

22 years agoConverted to NTSTATUS return codes.
Tim Potter [Thu, 6 Sep 2001 09:15:57 +0000 (09:15 +0000)]
Converted to NTSTATUS return codes.

Started on producing smbpasswd output from user account information.
Doesn't work yet.

Added -U option so samsync can be run interactively.
(This used to be commit 842fcd94fa847f71d828a46b092f5837743ffcde)

22 years agoStarted a cleanup of smbpasswd related stuff. I've created a new file
Tim Potter [Thu, 6 Sep 2001 09:10:26 +0000 (09:10 +0000)]
Started a cleanup of smbpasswd related stuff.  I've created a new file
lib/smbpasswd.c which will contain routines related to manipulating
smbpasswd entries.

 - renamed and moved pdb_{get,set}hexpwd() functions
 - renamed and moved pdb_{decode,encode}acct_ctrl() functions
 - started hiding references to the cruftalicious
   NEW_PW_FORMAT_SPACE_PADDED_LEN constant
 - started gradual rename of references to acct_ctrl to acb_info which is
   the nomenclature used in MSDN and header files

There's still more work to be done.  Currently there are several places
where smbpasswd entries are iterated etc.  Ideally this should all happen
through the passdb system.
(This used to be commit 4a01e240305fb6fead973beef4937a016b15d744)

22 years agoRemoved 18 duplicate #undef entries.
Tim Potter [Thu, 6 Sep 2001 08:57:41 +0000 (08:57 +0000)]
Removed 18 duplicate #undef entries.
(This used to be commit 7a7b13940efbbf15dfcf45f89389e2728527f1e2)

22 years agoAnnotated definition of NEW_PW_FORMAT_SPACE_PADDED_LEN constant.
Tim Potter [Thu, 6 Sep 2001 08:56:30 +0000 (08:56 +0000)]
Annotated definition of NEW_PW_FORMAT_SPACE_PADDED_LEN constant.
(This used to be commit e3ec6197ede4a37113567c2ab406937c6ca80e9d)

22 years agoflush stdout in test logging fns
Andrew Tridgell [Thu, 6 Sep 2001 05:59:32 +0000 (05:59 +0000)]
flush stdout in test logging fns
(This used to be commit d32ac363a5b4c6978077b1d695c503e22c5782ca)

22 years agouse a different test tdb name for tdbtest and tdbtorture
Andrew Tridgell [Thu, 6 Sep 2001 05:58:05 +0000 (05:58 +0000)]
use a different test tdb name for tdbtest and tdbtorture
(This used to be commit 931bded1c92c812d6aae101a40f453c925054627)

22 years agoactually obey the "use mmap" smb.conf option
Andrew Tridgell [Thu, 6 Sep 2001 05:45:07 +0000 (05:45 +0000)]
actually obey the "use mmap" smb.conf option
(This used to be commit b36c98036bcbaa5545c9637cb632361122033cfd)

22 years agoLogon workstation checks from Toomas Soome <tsoome@ut.ee>
Tim Potter [Thu, 6 Sep 2001 05:24:37 +0000 (05:24 +0000)]
Logon workstation checks from Toomas Soome <tsoome@ut.ee>

Fixed compile warning.
(This used to be commit 3eee66516596835c70c8d652ca633d2e1158fbb7)

22 years agoenable strict locking by default. This will be slow, so now we just
Andrew Tridgell [Thu, 6 Sep 2001 01:22:17 +0000 (01:22 +0000)]
enable strict locking by default. This will be slow, so now we just
need to fiind a way to make it fast
(This used to be commit 42b147d1f26093c45110077a309c5e0d3010a28d)

22 years agoit turns out that XP agrees with the samba head branch over the right
Andrew Tridgell [Thu, 6 Sep 2001 01:21:09 +0000 (01:21 +0000)]
it turns out that XP agrees with the samba head branch over the right
error codes for locking, so fix the test rather than fixing samba
(This used to be commit a583af3c2f5d1962495a0f18b671e34d6ff43511)