ira/wip.git
20 years agoFix the compile on systems without a full kerberos kit.
Andrew Bartlett [Sun, 30 Dec 2001 06:20:23 +0000 (06:20 +0000)]
Fix the compile on systems without a full kerberos kit.

Andrew Bartlett
(This used to be commit 33ae29028bffccf5a9cdd8d44b08c27b9d8fd982)

20 years agoMake Samba compile on RH 6.2 again.
Andrew Bartlett [Sun, 30 Dec 2001 05:59:43 +0000 (05:59 +0000)]
Make Samba compile on RH 6.2 again.

We now include the libber.h file if required, but currently we just don't use
ldap.  (I'll chase this up).

In the meantime, I've moved the ads_status code about, its now in its own file,
and has a couple of #ifdefs to allow smbd to link - becouse the lack of LDAP
caused HAVE_ADS to be undefined. (I hope its not too ugly).

Andrew Bartlett
(This used to be commit 14407c87e2dcccae1784290e3eb7a2d611516aff)

20 years agoWhen running interactive we want to set our own process group for
Jeremy Allison [Sun, 30 Dec 2001 01:46:38 +0000 (01:46 +0000)]
When running interactive we want to set our own process group for
signal management.
Jeremy.
(This used to be commit fffae94dd5699f44c0b1c8081587deafd89b3fc0)

20 years agopdb_getsampwnuid() merge from 2.2
Gerald Carter [Sun, 30 Dec 2001 00:03:47 +0000 (00:03 +0000)]
pdb_getsampwnuid() merge from 2.2
(This used to be commit 54cbfc7ebcdf1bd2094407b689b0050f0abfa46f)

20 years agoDocumented -i modes for nmbd/smbd.
Jeremy Allison [Sat, 29 Dec 2001 21:15:40 +0000 (21:15 +0000)]
Documented -i modes for nmbd/smbd.
Jeremy.
(This used to be commit a076e2e4c512cd2ef2f9c38447c44d93e4b6ac57)

20 years agoFixup -i interactive modes.
Jeremy Allison [Sat, 29 Dec 2001 21:13:53 +0000 (21:13 +0000)]
Fixup -i interactive modes.
Jeremy.
(This used to be commit 9343b613d3778b0330bc4d610d3befd363797360)

20 years agoRemoved extra lp_adduser() call.
Jeremy Allison [Sat, 29 Dec 2001 20:29:43 +0000 (20:29 +0000)]
Removed extra lp_adduser() call.
Fixed up error returns in get_correct_cversion().
Jeremy.
(This used to be commit 7ce2d1fe37d2be26c407f3dc9427851d00ca216a)

20 years agofile Samba-LDAP-HOWTO.sgml was initially added on branch SAMBA_2_2.
Gerald Carter [Sat, 29 Dec 2001 16:20:49 +0000 (16:20 +0000)]
file Samba-LDAP-HOWTO.sgml was initially added on branch SAMBA_2_2.
(This used to be commit d57c43fd05d8759f09c8c460baeb513a8ed41479)

20 years agopassing NULL to print_queue_status()'s status parameter could end in a segfault
Simo Sorce [Sat, 29 Dec 2001 09:52:24 +0000 (09:52 +0000)]
passing NULL to print_queue_status()'s status parameter could end in a segfault
(This used to be commit 79254d2b0490ba400832ef6d460895d45cc4273f)

20 years agoremoved unused files
Gerald Carter [Fri, 28 Dec 2001 02:28:39 +0000 (02:28 +0000)]
removed unused files
(This used to be commit c6d867b55273167a0adaeb979062752edeb09549)

20 years agomerge from 2.2
Gerald Carter [Fri, 28 Dec 2001 02:03:36 +0000 (02:03 +0000)]
merge from 2.2
(This used to be commit 241b5218ea5ad83ecb02a0f838e84abee0672371)

20 years agomoving SAM_ACCOUNT to include a bit field for initialized
Gerald Carter [Thu, 27 Dec 2001 06:38:04 +0000 (06:38 +0000)]
moving SAM_ACCOUNT to include a bit field for initialized
members (such as uid and gid).  This way we will be able to
keep ourselves from writing out default smb.conf settings when
the admin doesn't want to,  That part is not done yet.

Tested compiles with ldap/tdb/smbpasswd.  Tested connection with smbpasswd
backend.

oh...and smbpasswd doesn'y automatically expire accounts after 21 days
from the last password change either now.  Just ifdef'd out that code
in build_sam_account().

Will merge updates into 2.2 as they are necessary.

jerry
(This used to be commit f0d43791157d8f04a13a07d029f203ad4384d317)

20 years agosync with 2.2
Gerald Carter [Wed, 26 Dec 2001 05:35:40 +0000 (05:35 +0000)]
sync with 2.2
(This used to be commit aca58b0b72d2eb5024b4d5103fde5b281212d714)

20 years agomerge Jeremy's gcc3 warning fix from 2.2
Herb Lewis [Sat, 22 Dec 2001 01:15:58 +0000 (01:15 +0000)]
merge Jeremy's gcc3 warning fix from 2.2
(This used to be commit 52e9d2c383371e64e498bbdb4a3f0e8583ca77a0)

20 years agosync up packaging scripts
Herb Lewis [Sat, 22 Dec 2001 00:54:10 +0000 (00:54 +0000)]
sync up packaging scripts
(This used to be commit 3999e13ef89acd51df4cf215959eccd6217c86e3)

20 years agomerge IRIX winbind support from Samba 2.2 branch
Herb Lewis [Sat, 22 Dec 2001 00:51:32 +0000 (00:51 +0000)]
merge IRIX winbind support from Samba 2.2 branch
(This used to be commit 20c5f042e3bb79ff96a993c70b843908dcfafb65)

20 years agoRemoved unused variables.
Jeremy Allison [Fri, 21 Dec 2001 23:28:04 +0000 (23:28 +0000)]
Removed unused variables.
Jeremy.
(This used to be commit 621fa227bdf6af15daa13f62287978dc2310c04c)

20 years agoThe jf_get_sampasswd_entries() is not used anymore.
Jeremy Allison [Fri, 21 Dec 2001 23:25:32 +0000 (23:25 +0000)]
The jf_get_sampasswd_entries() is not used anymore.
Jeremy.
(This used to be commit bf1816099707b816c9b62ad5ab794dc49b833181)

20 years agoadded a copyright notice.
Jean-François Micouleau [Fri, 21 Dec 2001 22:54:53 +0000 (22:54 +0000)]
added a copyright notice.

J.F.
(This used to be commit 87928c4d91940447191af4fe83a2be7ac3477361)

20 years agodoesn't keep track of the struct's size we enumerate. W2K doesn't
Jean-François Micouleau [Fri, 21 Dec 2001 22:34:49 +0000 (22:34 +0000)]
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 c0178e1a03f8225e5b350feb8fcbfb02f43327b4)

20 years agoFixup some DEBUG statements (0 -> 10).
Jeremy Allison [Fri, 21 Dec 2001 22:27:20 +0000 (22:27 +0000)]
Fixup some DEBUG statements (0 -> 10).
Jeremy.
(This used to be commit bf65331cb49299189d35ad5834167ec24b3a1ecb)

20 years agoclose some handles. not really necessary but doesn't hurt.
Jean-François Micouleau [Fri, 21 Dec 2001 22:18:06 +0000 (22:18 +0000)]
close some handles. not really necessary but doesn't hurt.

J.F.
(This used to be commit 55b9cd7af611e5f76896e1849529629e5e7caaf8)

20 years agomerge from 2.2
Gerald Carter [Fri, 21 Dec 2001 20:04:22 +0000 (20:04 +0000)]
merge from 2.2
(This used to be commit 6697e46183719c894ec115c0fd8a18ad4191b347)

20 years agoUse pdb_free_sam() to free a SAM_ACCOUNT struct, not safe_free(). There
Jeremy Allison [Fri, 21 Dec 2001 19:34:32 +0000 (19:34 +0000)]
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 a7d099cc75f813b4010a5f313c3fa6e6e8284b6d)

20 years agoadded all level to samr_query_disp_info rpcclient side.
Jean-François Micouleau [Fri, 21 Dec 2001 13:38:07 +0000 (13:38 +0000)]
added all level to samr_query_disp_info rpcclient side.

J.F.
(This used to be commit d5f2e645e43224b966c17c593fff33b64d6c0a8b)

20 years agoLarge expansion of my german book project.
Volker Lendecke [Fri, 21 Dec 2001 13:37:39 +0000 (13:37 +0000)]
Large expansion of my german book project.

Volker
(This used to be commit 768f90a6ca8538ffda5b46491281eea7673ae730)

20 years agore-done all of samr_query_disp_info()
Jean-François Micouleau [Fri, 21 Dec 2001 13:36:14 +0000 (13:36 +0000)]
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 3ab45215369e8e93d750f4687e9c1f7d47782590)

20 years agoput back the -l option to rpcclient.
Jean-François Micouleau [Fri, 21 Dec 2001 13:30:55 +0000 (13:30 +0000)]
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 18dc4cd57a53480684ea9e2bc6a6442535f89119)

20 years ago- handle kerberos session setup reply with broken null termination
Andrew Tridgell [Fri, 21 Dec 2001 12:29:51 +0000 (12:29 +0000)]
- 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 20368455ea59e6e9b85632848bbe92069e7b0f38)

20 years agotry to handle end of packet for not null terminated domain strings
Andrew Tridgell [Fri, 21 Dec 2001 11:58:30 +0000 (11:58 +0000)]
try to handle end of packet for not null terminated domain strings
(This used to be commit 1da988456dbd885820093ae43c74e0ac66f72802)

20 years agoupdated ldap test to test for less common function
Andrew Tridgell [Fri, 21 Dec 2001 11:20:59 +0000 (11:20 +0000)]
updated ldap test to test for less common function
(This used to be commit 831f25a9a7ef3f5481c531b3a5ff514fa8b6d81e)

20 years agofixed a typo in vsyslog()
Andrew Tridgell [Fri, 21 Dec 2001 11:04:14 +0000 (11:04 +0000)]
fixed a typo in vsyslog()
(This used to be commit da353bc539db6e2f8d834275abdd9b5fb47b9db8)

20 years agoremove duplicate lines
Herb Lewis [Fri, 21 Dec 2001 05:13:36 +0000 (05:13 +0000)]
remove duplicate lines
(This used to be commit b60d6f11972892a17bf6df5e7ee3dd2e498bc4c0)

20 years agosmbcontrol in non-interactive mode was returning True for success --
Martin Pool [Fri, 21 Dec 2001 04:33:28 +0000 (04:33 +0000)]
smbcontrol in non-interactive mode was returning True for success --
need to invert this to give the shell 0.
(This used to be commit ecc624067c54314834aacbf21d0f2ee54fce37e9)

20 years agoAdd option to pass NULL max_replies to wait_for_replies in case you
Martin Pool [Fri, 21 Dec 2001 04:30:58 +0000 (04:30 +0000)]
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 53f1c0298b526dcacae956453a4b95fff226d0b8)

20 years agoAdd code to send MSG_REQ_POOL_USAGE. (smbd doesn't respond yet.)
Martin Pool [Fri, 21 Dec 2001 04:28:03 +0000 (04:28 +0000)]
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 17bb0f60af13c5d0561c0ba50b0a6331bde52e8f)

20 years agoAppend to log.winbindd instead of overwriting it so we are consistent with
Tim Potter [Fri, 21 Dec 2001 02:23:38 +0000 (02:23 +0000)]
Append to log.winbindd instead of overwriting it so we are consistent with
smbd/nmbd behaviour.
(This used to be commit 54d276561524213302e7bb2d759d7d4082fd6e8a)

20 years agoFix for null command description in rpcclient help. From Benjamin Kuit
Tim Potter [Fri, 21 Dec 2001 01:16:37 +0000 (01:16 +0000)]
Fix for null command description in rpcclient help.  From Benjamin Kuit
<bj@it.uts.edu.au>.
(This used to be commit 60d1d0bfa93bfb8264b117147b651b521dbf28ce)

20 years agoAdd an output parameter to message_send_all that says how many
Martin Pool [Fri, 21 Dec 2001 00:37:49 +0000 (00:37 +0000)]
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 22e510ea0d69356be4fd2fa5ad9e9f4e84f62337)

20 years agoFactor out a broadcast_printer_notify() routine.
Martin Pool [Fri, 21 Dec 2001 00:37:09 +0000 (00:37 +0000)]
Factor out a broadcast_printer_notify() routine.
(This used to be commit d32598c953e7a500f707a02608c44203bc5941ec)

20 years agoAdd MSG_REQ_POOL_USAGE to get memory usage info.
Martin Pool [Fri, 21 Dec 2001 00:34:26 +0000 (00:34 +0000)]
Add MSG_REQ_POOL_USAGE to get memory usage info.
(This used to be commit b28dbbf56987fcea24941b8c46c4d5b52551a815)

20 years agopreparing for release of 3.0-alpha12
Samba Release Account [Thu, 20 Dec 2001 23:51:57 +0000 (23:51 +0000)]
preparing for release of 3.0-alpha12
(This used to be commit 9542b0a42cf0c51c171d50e825665245584ac87d)

20 years agolp_setup_logfile() doesn't exist any more
Andrew Tridgell [Thu, 20 Dec 2001 23:46:05 +0000 (23:46 +0000)]
lp_setup_logfile() doesn't exist any more
(This used to be commit aa52ae7354ae5ab803da4686f344cfc4ca134c46)

20 years agocheck for a winbindd username when doing a kerberos auth
Andrew Tridgell [Thu, 20 Dec 2001 23:36:39 +0000 (23:36 +0000)]
check for a winbindd username when doing a kerberos auth
(This used to be commit 39f2e2e1623a011e2c99ecca64e0643b1e450657)

20 years agomake sure we store the domain sid when joining a ADS domain
Andrew Tridgell [Thu, 20 Dec 2001 23:35:53 +0000 (23:35 +0000)]
make sure we store the domain sid when joining a ADS domain
(This used to be commit dfbe442c668480d88cb8b385c6b89f8e198ca500)

20 years agoadded ads_domain_sid() function
Andrew Tridgell [Thu, 20 Dec 2001 23:35:14 +0000 (23:35 +0000)]
added ads_domain_sid() function
(This used to be commit ff002a458afa6ca378f0c6d2ec9fb74233c839a7)

20 years agoRemoved global debugf. Replaced with lp_set_logfile(name).
Jeremy Allison [Thu, 20 Dec 2001 22:27:05 +0000 (22:27 +0000)]
Removed global debugf. Replaced with lp_set_logfile(name).
Fixed winbindd to finally stop leaving log. file droppings :-).
Jeremy.
(This used to be commit 0bea6cf79a44f79fa3a4f2c8381e898e79c66509)

20 years ago update from Vance
Gerald Carter [Thu, 20 Dec 2001 21:58:50 +0000 (21:58 +0000)]
 update from Vance
(This used to be commit fe7ad3761233f7adb13756d611a11dbf0594b77f)

20 years agocouple of updates mentioned on samba@samba.org
Gerald Carter [Thu, 20 Dec 2001 21:25:20 +0000 (21:25 +0000)]
couple of updates mentioned on samba@samba.org
(This used to be commit 95308453b256fc51cbf1a2b2726ba8db7da1e80b)

20 years agoSetup global_myworkgroup. Needed for secrets fetch code.
Jeremy Allison [Thu, 20 Dec 2001 18:37:43 +0000 (18:37 +0000)]
Setup global_myworkgroup. Needed for secrets fetch code.
Jeremy.
(This used to be commit 057e91c1c3833516d03b492f3ebe489d8216a0ba)

20 years agomerge from 2.2
Gerald Carter [Thu, 20 Dec 2001 15:09:23 +0000 (15:09 +0000)]
merge from 2.2
(This used to be commit 72d3b160229ce9ab8497579ee79668738a70a81f)

20 years agopreparing for release of 3.0-alpha11
Samba Release Account [Thu, 20 Dec 2001 10:21:56 +0000 (10:21 +0000)]
preparing for release of 3.0-alpha11
(This used to be commit 5ed31faeb1f3cddc0e61acc63f96119e26f2b529)

20 years agofixed more warnings on irix
Andrew Tridgell [Thu, 20 Dec 2001 10:04:32 +0000 (10:04 +0000)]
fixed more warnings on irix
(This used to be commit 2ffefba86997c9d6bc2a9b6dac1e576f4b64c777)

20 years agofixed warnings on irix and crash bug on big endian machines
Andrew Tridgell [Thu, 20 Dec 2001 10:02:30 +0000 (10:02 +0000)]
fixed warnings on irix and crash bug on big endian machines
(This used to be commit cc6c263993eaf0715f231fc80ca7e6e65694548b)

20 years agofixed sscanf() of gid_t values
Andrew Tridgell [Thu, 20 Dec 2001 09:48:02 +0000 (09:48 +0000)]
fixed sscanf() of gid_t values
(This used to be commit 102af994de6bbfbe94f13c1880fc31c6414c9f8e)

20 years agodon't use server_info after its been freed
Andrew Tridgell [Thu, 20 Dec 2001 09:32:03 +0000 (09:32 +0000)]
don't use server_info after its been freed
(This used to be commit ee161a57289409e2fa43e33b045473077c7b6ba5)

20 years agosupport "map to guest" with spnego
Andrew Tridgell [Thu, 20 Dec 2001 09:06:53 +0000 (09:06 +0000)]
support "map to guest" with spnego
(This used to be commit e873d0ff1eee9442ff6152d666b8d874b6a01972)

20 years agoforgot to commit this file from remus
Andrew Tridgell [Thu, 20 Dec 2001 07:46:24 +0000 (07:46 +0000)]
forgot to commit this file from remus
(This used to be commit 7984ae0121ba327309ca5c52674e03fc1ad7e923)

20 years agoadded net lookup command
Andrew Tridgell [Thu, 20 Dec 2001 07:42:00 +0000 (07:42 +0000)]
added net lookup command
(This used to be commit 51268c512dbae94aba308668df9facaf15a2ce9e)

20 years agoIgnore torture.tdb
Martin Pool [Thu, 20 Dec 2001 07:22:54 +0000 (07:22 +0000)]
Ignore torture.tdb
(This used to be commit 79feca4d25aaa7e15553a10707efdb3003fed9cf)

20 years agonet now sends its debug to stderr so its output can be relied upon in
Andrew Tridgell [Thu, 20 Dec 2001 07:13:47 +0000 (07:13 +0000)]
net now sends its debug to stderr so its output can be relied upon in
scripts
(This used to be commit 6d2f7ed708e75687d23f432ba9a186e88fa14118)

20 years agofixed long filenames on win98
Andrew Tridgell [Thu, 20 Dec 2001 06:52:45 +0000 (06:52 +0000)]
fixed long filenames on win98
the fstype must not be null terminated or win98 doesn't recognise it
(This used to be commit c8a040f2aa733e926280af010513849b6406741d)

20 years agomuch better auto-init of valid_table[]. This should just about remove
Andrew Tridgell [Thu, 20 Dec 2001 06:18:52 +0000 (06:18 +0000)]
much better auto-init of valid_table[]. This should just about remove
the need for valid.dat
(This used to be commit 0cfd0a5e543181b1384f7afee93fbaf3ccb2b999)

20 years agoGrr - numbers printed in hexadecimal should be preceeded by 0x
Tim Potter [Thu, 20 Dec 2001 05:10:50 +0000 (05:10 +0000)]
Grr - numbers printed in hexadecimal should be preceeded by 0x
(This used to be commit 7d8082a8ad7d5de5daf653903efd36fb84b3cedc)

20 years agoAdded some comments showing hex values of some constants.
Tim Potter [Thu, 20 Dec 2001 05:05:58 +0000 (05:05 +0000)]
Added some comments showing hex values of some constants.
(This used to be commit b3aff6b5a35da3660ede060b42439324a2309644)

20 years agomark '.' as a valid character
Andrew Tridgell [Thu, 20 Dec 2001 04:12:36 +0000 (04:12 +0000)]
mark '.' as a valid character
(This used to be commit 85f04fa61dffb15bc034dd756ee75b997a36d892)

20 years agoAdd --enable-dmalloc to link against the dmalloc malloc debugger.
Martin Pool [Thu, 20 Dec 2001 04:01:44 +0000 (04:01 +0000)]
Add --enable-dmalloc to link against the dmalloc malloc debugger.
It's not as strong as Insure, but it's free, reasonably efficient and
works on every platform.
(This used to be commit e76d27fcdb33df5212ca5b0ce53c77ed8ca58906)

20 years agonet ads password and net ads chostpass commands from Remus Koos
Andrew Tridgell [Thu, 20 Dec 2001 03:54:52 +0000 (03:54 +0000)]
net ads password and net ads chostpass commands from Remus Koos
(This used to be commit 412e79c448bf02e3097b5c14a36fe0172d8d2895)

20 years agoAdded AC_CHECK_FUNCS(syslog vsyslog).
Jeremy Allison [Wed, 19 Dec 2001 19:18:37 +0000 (19:18 +0000)]
Added AC_CHECK_FUNCS(syslog vsyslog).
nsswitch code uses vsyslog without checking for it.
Provide replacement for vsyslog in lib/snprintf if not found by configure.
Jeremy.
(This used to be commit ab2e55cdb376d6699c9a09fac243fba7d3840447)

20 years agoAllow ACL set to fail gracefully on HP HFS filesystems.
Jeremy Allison [Wed, 19 Dec 2001 17:47:19 +0000 (17:47 +0000)]
Allow ACL set to fail gracefully on HP HFS filesystems.
Jeremy.
(This used to be commit 2d7b81e692ac2bcfd6e31223d3f8545c255cb47c)

20 years agouse "ads server" option if set for primary domain
Andrew Tridgell [Wed, 19 Dec 2001 13:33:08 +0000 (13:33 +0000)]
use "ads server" option if set for primary domain
(This used to be commit 1bf5c1a46f4c3f44054ce8fcbc551cdb72683f2b)

20 years agopreparing for release of 3.0-alpha10
Samba Release Account [Wed, 19 Dec 2001 13:13:05 +0000 (13:13 +0000)]
preparing for release of 3.0-alpha10
(This used to be commit c0ff2743790c78962b111f9be69a1642185b528e)

20 years agoadd support for mixtures of ADS/NT4 domains, as long as the primary
Andrew Tridgell [Wed, 19 Dec 2001 12:38:52 +0000 (12:38 +0000)]
add support for mixtures of ADS/NT4 domains, as long as the primary
domain is ADS
(This used to be commit e97b40e09427c2c5f0a497f9432af08d6d6762f2)

20 years agomuch better ADS error handling system
Andrew Tridgell [Wed, 19 Dec 2001 12:21:12 +0000 (12:21 +0000)]
much better ADS error handling system
(This used to be commit 05a90a28843e0d69183a49a76617c5f32817df16)

20 years agowe only have gss_ fns on a krb5 capable box
Andrew Tridgell [Wed, 19 Dec 2001 09:58:52 +0000 (09:58 +0000)]
we only have gss_ fns on a krb5 capable box
(This used to be commit 344b786efe00f72ed81f0eeb4d422c655d866557)

20 years agoadded trusted realm support to ADS authentication
Andrew Tridgell [Wed, 19 Dec 2001 09:53:30 +0000 (09:53 +0000)]
added trusted realm support to ADS authentication

the method used for checking if a domain is a trusted domain is very
crude, we should really call a backend fn of some sort. For now I'm
using winbindd to do the dirty work.
(This used to be commit adf44a9bd0d997ba4dcfadc564a29149531525af)

20 years ago- added initial support for trusted domains in winbindd_ads
Andrew Tridgell [Wed, 19 Dec 2001 08:44:23 +0000 (08:44 +0000)]
- added initial support for trusted domains in winbindd_ads
- gss error code patch from a.bokovoy@sam-solutions.net
- better sid dumping in ads_dump
- fixed help in wbinfo
(This used to be commit ee1c3e1f044b4ef62169ad74c5cac40eef81bfda)

20 years agobetter nsstest error checking
Andrew Tridgell [Wed, 19 Dec 2001 08:40:50 +0000 (08:40 +0000)]
better nsstest error checking
(This used to be commit 7348a969bc994e6ef267449aadfdf6321c27baa6)

20 years agofixed sid_compare_domain()
Andrew Tridgell [Wed, 19 Dec 2001 08:37:03 +0000 (08:37 +0000)]
fixed sid_compare_domain()
(This used to be commit c11c27b2812ceb06a52afbb7662f82a8676b1707)

20 years agoUse less memory, but scribble all over it, just in case there's
Martin Pool [Wed, 19 Dec 2001 08:18:07 +0000 (08:18 +0000)]
Use less memory, but scribble all over it, just in case there's
something wrong with the way it's allocated.
(This used to be commit a7b052d991bf39b6f3391f78b95b18ebb8ef596c)

20 years agoDoc how to reply to messages.
Martin Pool [Wed, 19 Dec 2001 07:49:25 +0000 (07:49 +0000)]
Doc how to reply to messages.
(This used to be commit e2b080587c4d6e147cf7274fa7e09e89ae2083c3)

20 years agoMake TALLOC_CTX and talloc_chunk private to talloc.c.
Martin Pool [Wed, 19 Dec 2001 07:36:32 +0000 (07:36 +0000)]
Make TALLOC_CTX and talloc_chunk private to talloc.c.

Add a global singly-linked list of all active talloc pools, so that we
can eventually show how much memory is used for different purposes.
This also gives a check that pools are not being doubly freed.

talloc_init_named now handle a NULL name properly (ie does nothing)

Add accessor talloc_pool_name().
(This used to be commit 4c6c03c8c7c18762dd9ef1a1bd88350b8960542f)

20 years agoDoc
Martin Pool [Wed, 19 Dec 2001 06:22:23 +0000 (06:22 +0000)]
Doc
(This used to be commit 7da982e9268be7eb93fe7d6ad7da5b33ce44181c)

20 years agoDoc
Martin Pool [Wed, 19 Dec 2001 06:00:19 +0000 (06:00 +0000)]
Doc
(This used to be commit 5dc2827b6eaca8f7b833fdf9977528084e3a3ff0)

20 years agoPut PRINTF_ATTRIBUTE on talloc_init_named, talloc_asprintf,
Martin Pool [Wed, 19 Dec 2001 05:02:42 +0000 (05:02 +0000)]
Put PRINTF_ATTRIBUTE on talloc_init_named, talloc_asprintf,
talloc_vasprintf.
(This used to be commit e6be48671d520f952be0b6dc0848569d0d834179)

20 years agoDoc.
Martin Pool [Wed, 19 Dec 2001 04:55:58 +0000 (04:55 +0000)]
Doc.
(This used to be commit 5b6c22a209a26cb9adbf6d7733d396038c729633)

20 years agoStart adding some debugging features to talloc based on Samba's
Martin Pool [Wed, 19 Dec 2001 04:50:10 +0000 (04:50 +0000)]
Start adding some debugging features to talloc based on Samba's
ancient mem_man.c:

Each TALLOC_CTX now has a field to store its purpose, to aid in
tracking down memory bloat.  A new call talloc_init_named() should be
used instead of talloc_init() so that this is set.

Added talloc_vasprintf to be called by varargs functions.
(This used to be commit 25b97a743573b8c5e0ac886e4bfab581c11b3714)

20 years agoAdd a very trivial talloc torture program, bin/talloctort. Not built
Martin Pool [Wed, 19 Dec 2001 04:46:35 +0000 (04:46 +0000)]
Add a very trivial talloc torture program, bin/talloctort.  Not built
by default.
(This used to be commit e3390669958f01672f5638ebf975e8bd4fd67665)

20 years agoFix for extra capabilities from Urban Widmark <urban@teststation.com>.
Jeremy Allison [Wed, 19 Dec 2001 03:14:54 +0000 (03:14 +0000)]
Fix for extra capabilities from Urban Widmark <urban@teststation.com>.
Jeremy.
(This used to be commit e943ace4f0fc70476668b0445acd91314a2e2a01)

20 years agoPatch from dan_thibadeau@hp.com to allow domain set in authfile.
Jeremy Allison [Wed, 19 Dec 2001 02:50:44 +0000 (02:50 +0000)]
Patch from dan_thibadeau@hp.com to allow domain set in authfile.
Jeremy.
(This used to be commit 5700cbbd3fc0175932890df5f5ceb4931ba50dd3)

20 years agoadded info level 1 to samr_query_alias()
Jean-François Micouleau [Wed, 19 Dec 2001 00:15:29 +0000 (00:15 +0000)]
added info level 1 to samr_query_alias()
(This used to be commit 589aa4fe226ee5bdae0a244631193714b0b556ac)

20 years agoFixup JF's weird SID return :-).
Jeremy Allison [Tue, 18 Dec 2001 19:44:14 +0000 (19:44 +0000)]
Fixup JF's weird SID return :-).
Jeremy
(This used to be commit 7b8fb8d85c406b8755f60cf14dc2377bc59eda53)

20 years agoTidyup utmp code to cope with hostname = NULL.
Jeremy Allison [Tue, 18 Dec 2001 08:19:02 +0000 (08:19 +0000)]
Tidyup utmp code to cope with hostname = NULL.
Jeremy
(This used to be commit 2a1b531a1c4f1a4772c95c867f35eac50ed1c7fa)

20 years agofixed handling of empty or dead domain in wbinfo -g
Andrew Tridgell [Tue, 18 Dec 2001 06:22:15 +0000 (06:22 +0000)]
fixed handling of empty or dead domain in wbinfo -g
(This used to be commit 2c54cfbc475cd22d0e906898a07d4e0576c64c80)

20 years agoA fix to override the location of a user's home directory if it is
Tim Potter [Tue, 18 Dec 2001 06:11:32 +0000 (06:11 +0000)]
A fix to override the location of a user's home directory if it is
specified in the [homes] section of the smb.conf file.

Jeremy, can you take a look at this?  This is in response to someone on the
samba mailing list worrying about it.

Tim.

From: Phil Thompson <philnanne@mediaone.net>
To: samba@lists.samba.org
Subject: Different [homes] behavior in 2.2.2
X-Original-Date: Mon, 17 Dec 2001 23:09:28 -0500

Is it possible to configure samba to disregard the home directory in the
passwd file when using [homes]?  Even though an alternate "path" is set
in [homes], the service fails since the unix home directory is invalid
(nonexistent) on the server.

[...]

This behavior of validating the user's home dir as set in the passwd
files appears to be new
in 2.2.2 and the latest CVS. Anyway to work around this?
(This used to be commit c15dec74a360c6b20f536708e00e61d1d27dcbfc)

20 years agoFixed uninitialised variable warning.
Tim Potter [Tue, 18 Dec 2001 05:08:48 +0000 (05:08 +0000)]
Fixed uninitialised variable warning.
(This used to be commit 5095941dcb312d75c232d15232d5998ca05b632f)

20 years agoRemoved unused function, delete_fn()
Tim Potter [Tue, 18 Dec 2001 05:04:09 +0000 (05:04 +0000)]
Removed unused function, delete_fn()
(This used to be commit f26e8205cff63967b9c1659b8e6ad71cbe36dace)

20 years agoFixed bad args to debug statements.
Tim Potter [Tue, 18 Dec 2001 05:00:07 +0000 (05:00 +0000)]
Fixed bad args to debug statements.
(This used to be commit 5e0f0716ca9826de110fd9eeaf231970e7c19b42)

20 years agoI'm pretty sure we need to return our netbios name for LSA_QUERY_INFO
Jeremy Allison [Tue, 18 Dec 2001 02:17:46 +0000 (02:17 +0000)]
I'm pretty sure we need to return our netbios name for LSA_QUERY_INFO
level 5 when we're a standalone server. This makes the security dialogs
return correct info. JF - please check !
Jeremy.
(This used to be commit dd13daf52bc96637ef3d40920cbd3bcadb7e08f5)

20 years agoReturn NT_STATUS_OBJECT_NOT_FOUND or ERRbadpipe if pipe name not found.
Jeremy Allison [Tue, 18 Dec 2001 02:09:57 +0000 (02:09 +0000)]
Return NT_STATUS_OBJECT_NOT_FOUND or ERRbadpipe if pipe name not found.
Jeremy.
(This used to be commit d5fdb1f096e8db3e9cf7a65ddb75f7cafd1958c0)