Tim Potter
adbe65f21a
Rerun autoconf.
...
(This used to be commit a627d698124ade6014b10827493dc3b3963f5534)
2002-04-04 05:48:27 +00:00
Tim Potter
fbbc63f93c
Use m4-mode when editinging configure.in under emacs.
...
Use $CC instead of $SHLD for the "test whether building a shared library
actually works". At the moment this is failing as $SHLD (and $LDSHFLAGS -
look at the value this is set to for Solaris) are designed to be used from
a Makefile and not within configure so this test will always fail!
Tridge has suggested moving to libtool^H^H^H^H^H a shell script that
invokes the right linker with the right args and solves this problem
nicely.
(This used to be commit 4caf71d5b28e003133bacca153278478d8245989)
2002-04-04 05:47:41 +00:00
Tim Potter
0227568209
Also look for libinsure.so where the full version installs it.
...
(This used to be commit 2bf6595a2a5527ff64f9083f2434aa344c9637d9)
2002-04-04 04:54:44 +00:00
Tim Potter
29e67cad05
Free popt context after argument parsing.
...
(This used to be commit f287f62962feca6dac8747d16676dc64723eb5b1)
2002-04-04 04:29:09 +00:00
Tim Potter
18d011d736
Fixed memory leak in make_pdb_context_name()
...
Some reformatting and spelling fixes.
(This used to be commit a0f7bbad11a0c0f1ecd930626289c5ff493b0f1d)
2002-04-04 03:53:43 +00:00
Jim McDonough
7bfa5ead49
Add non-ads version of net_ads_help for build on non-ads machines.
...
(This used to be commit dd7c20e5331116fd8cf9656a0f2406957b812bbb)
2002-04-04 03:14:25 +00:00
Jim McDonough
c0bf7d9db4
Correct error string function call to ads_errstr()
...
(This used to be commit d7317ca8da4b04804f4d01752cef56ec5a9c3418)
2002-04-04 03:06:22 +00:00
Jeremy Allison
464c120197
Fix up conversion code from old winbindd versions (some testing needed).
...
Added time based cache size check (#ifdef'ed out by default, just didn't
want to lose the code).
Jeremy.
(This used to be commit b2350ed36c42827c417ea4a3dd0668a4a631a090)
2002-04-04 03:03:39 +00:00
Jim McDonough
f21ccff91f
Try harder next time to not duplicate function...take ads_err2string back
...
out since it's already in ads_errstr() in ads_status.c
(This used to be commit 0475126ffb69f0485fd31511cb13d98df74a8d5b)
2002-04-04 03:03:00 +00:00
Jim McDonough
a3f0bd0b68
Add ability to get specific net ads subcommand help. Not all have been
...
implemented yet...
(This used to be commit 24c6bf4e8b6d519340d5f9f3353ffc6b5f7520b3)
2002-04-04 02:54:47 +00:00
Jim McDonough
94e3c18e9c
Add net ads user subcommands: add delete info. Also make user listing format
...
consistent with rap version.
(This used to be commit f6eb7c0c7ec83a3674d56f0e222b900887327319)
2002-04-04 02:53:42 +00:00
Jim McDonough
e5a617127a
Add libads/ldap_user.c to build for ads user management.
...
(This used to be commit a1cdcdb138ddf05387fa65897ffe5b34aee75ae0)
2002-04-04 02:52:09 +00:00
Jim McDonough
3f31475eeb
Contains functions to manage/view AD user accounts via ldap. Initially has fns
...
to find and add a user.
(This used to be commit 773303a284825af89d70ea633004fc30225e7a85)
2002-04-04 02:51:02 +00:00
Jim McDonough
417b1ce487
Add ads_err2string() function for generating error strings from an ADS_STATUS.
...
I've got the cases besides gssapi...anyone know how to get those?
(This used to be commit c937e1352207ad90e8257ad6c9f8b7c9cf92030d)
2002-04-04 02:49:30 +00:00
Jeremy Allison
adc57a79d9
Fixed the handle leak in the connection management code (this code is crap
...
and should be rewritten, just not now... :-).
Jeremy.
(This used to be commit 5de792e7e9c2ad1422ac146caba632baa3f4e5c5)
2002-04-04 02:39:57 +00:00
Tim Potter
04014751dd
Rerun autoconf.
...
(This used to be commit 5c4ce2129f30112d7df1e5f0afd60ae6a96cd807)
2002-04-04 02:32:08 +00:00
Tim Potter
5614a72b78
Add -D__INSURE__ to the CPPFLAGS if CC=insure.
...
(This used to be commit fb80ff968cd7634704770586d1918b477579164b)
2002-04-04 02:30:54 +00:00
Andrew Bartlett
6a0def7559
More winbind for HPUX updates from Don Mccall. I think JRA has already
...
applied these to 2.2.
Andrew Bartlett
(This used to be commit 51fe3324dda6b1f9a9a45deda7a76b1fff35399a)
2002-04-03 21:39:01 +00:00
Herb Lewis
62ad2d800e
reorder useage message a little. -L is not a root-only or local mode option.
...
(This used to be commit 020d6fa2f780099d662de1a456838ec0ac4d3ca7)
2002-04-03 16:44:15 +00:00
Tim Potter
c15c667afb
Start to make argument ordering consistent.
...
(This used to be commit e84cc7ea84042b2460baef32a39448d620612bbc)
2002-04-03 04:47:44 +00:00
Tim Potter
5414561d40
Docstring updates.
...
(This used to be commit f05c3c6fc5047c87906a5677b2559acf13bf6678)
2002-04-03 04:40:35 +00:00
Tim Potter
baee819582
Use Py_InitModule3() instead of Py_InitModule4() when we only want to set
...
the docstring for the module.
Doc updates.
(This used to be commit ba5364b30688924d6b69b9fc39a398441a6149e7)
2002-04-03 04:38:59 +00:00
Gerald Carter
d843380398
removing unused files....
...
(This used to be commit 3d542abdb1805bf746eb9a7ef41fc904534f4edb)
2002-04-03 03:06:22 +00:00
Gerald Carter
f624d6f3ae
added "list <pipe>" command to display the available commands
...
one a single pipe
(This used to be commit b73a8416d31c0ec7975ba022f5c425a581497b72)
2002-04-02 23:28:40 +00:00
Jeremy Allison
87ea010ae1
Fix continual scanning of smb.conf if an include file doesn't exist. Found
...
by Herb.
Jeremy.
(This used to be commit f4f2a62740625495fa2dae03751829a4528713cc)
2002-04-02 19:56:54 +00:00
Jeremy Allison
2a664807c5
Fixed the error bad path for recursive mkdir so mkdir \a\b\c\d works.
...
Forward ported some of the code tidyups from 2.2.
Jeremy.
(This used to be commit 2475c09b354cc7b5f4ce384e4497207d30f619bb)
2002-04-02 19:34:36 +00:00
Jeremy Allison
6a64206a27
Fix from Stefan "metze" Metzmacher <metze@metzemix.de> to prevent us
...
overwriting an old MACHINE.SID sid.
Jeremy.
(This used to be commit 896d4fac98460778f72378b084a76d5aab11462e)
2002-04-02 07:45:19 +00:00
Herb Lewis
105d1301d5
readd -c config file change from 2.2 - works with -L mode now as well.
...
(This used to be commit af4c3734b5d617352597b1b964745f5b0d334b2d)
2002-04-02 06:18:13 +00:00
Gerald Carter
9cb6a94406
some mergee from SAMBA_2_2. Does compile, but needs some more testing.
...
This is an intermediate check-in. More to come....
(This used to be commit 5b9b152971aa635d484cde45413a7880424ee22d)
2002-04-02 01:10:41 +00:00
Andrew Tridgell
9dc5b31936
not all versions of gcc support -rdynamic
...
for example, gcc 2.95.2 on sco1 doesn't
(This used to be commit aa7eab724558af6d2b00975ed13f7407301eafa9)
2002-04-01 09:52:36 +00:00
Andrew Tridgell
b0f405d825
try to get the summary test working on OpenBSD
...
(This used to be commit 63702ca3a42670941bcb08b4214fa7e7c38fc1f0)
2002-04-01 07:29:43 +00:00
Andrew Tridgell
6bd2b496ed
cope with a missing PAM define
...
(This used to be commit e5c3648fe721d659c8b90a6987998ada4790592b)
2002-04-01 07:16:06 +00:00
Andrew Tridgell
3ce3047154
reverted Herbs smbpasswd commit as it completely broke setting a
...
password
(This used to be commit a5807d5784dc903f1ea38a9825240a505688b7be)
2002-04-01 02:04:11 +00:00
Tim Potter
510d470e1e
Removed unused variable.
...
(This used to be commit 3e58e9dbabc4e4a1289ff6a43ddbb5de37b02515)
2002-03-31 06:00:37 +00:00
John Terpstra
bb3f7f49b1
Added build option for "everything". Changed build options for libsmbclient.
...
(This used to be commit 32f292cc587d3db002490a609be29b9e20c00fd4)
2002-03-30 20:26:50 +00:00
Herb Lewis
92a0f7949f
merge from 2.2 - allow -c option to specify smb.conf file
...
(This used to be commit fc15b56d29b4474032f4d9136313afee60e70cbf)
2002-03-30 05:57:36 +00:00
Jeremy Allison
846670fa0e
Hack to share pipe handles between lsa and samr pipes as NT4.x usrmgr
...
insists on re-using an lsa handle opened on a pipe then closed - this
keeps them around so long as a samr pipe is also open.
Jeremy.
(This used to be commit f029bd348c8c16a8774c3fb4f7f1d76470c7688f)
2002-03-30 00:45:26 +00:00
Jeremy Allison
a5dc8cb591
Don't core dump listing thousands of users in usrmgr.
...
Jeremy.
(This used to be commit c6566fa5fadf37a2b133e7be1f13c0de93efab34)
2002-03-29 21:50:21 +00:00
Jim McDonough
b94791f1d4
Re-implemented net ads user and net ads group to use the new
...
ads_process_results function. Also made sure net rap user and net ads
user display the same thing, to make auto-transport-detection smoother.
(This used to be commit 4cf42c07ec5deb14921fabfbd52a8a3345a730c9)
2002-03-29 21:09:44 +00:00
Jim McDonough
2ed1dfcf4e
Added ads_process_results(), which takes a function that is called for each
...
entry returned from a search, and applies it to the results. Re-structured
ads_dump to use this, plus changed the ber_free in ads_dump from (b,1) to
(b,0), in accordance with openldap manpages. Also allows proper free of
result using ldap_msgfree afterwards, so you can do something with the
results after an ads_dump.
(This used to be commit f01f02fc569b4f5101a37d3b493f2fe2d2b2677a)
2002-03-29 21:06:33 +00:00
Jeremy Allison
9a8b5fdd37
Ensure we return a parseable value if invalid handle given.
...
Jeremy.
(This used to be commit f169f3f4df81537426f708d68da44e0fc40ad15e)
2002-03-29 20:37:56 +00:00
Herb Lewis
93af72fe45
merge winbindd WINS changes from 2.2
...
(This used to be commit 205399dc17e464360b0152538329b9e111b0e7f4)
2002-03-29 15:37:39 +00:00
Jean-François Micouleau
14f0beb21c
added shutdown to smbd
...
J.F.
(This used to be commit 51a5bbfee71e064c73283a090e9e922a31b1e21b)
2002-03-29 14:28:38 +00:00
Jean-François Micouleau
3e0c6ded65
nmbd handle shutdown message.
...
J.F.
(This used to be commit c33459f7018a2522158b20261ab8c100fdde9034)
2002-03-29 13:58:32 +00:00
Jean-François Micouleau
e9f54e53cd
added a shutdown command to smbcontrol.
...
have to add the server side now.
J.F.
(This used to be commit b83f87d6811dbad2c254cd5add4bbedb3196c629)
2002-03-29 13:49:48 +00:00
Jeremy Allison
63cbe1be9a
Fix to stop PERMANENT_NAMES being added when nmbd starts up and WINS
...
server is down. Keep adding refreshible names instead.
Jeremy.
(This used to be commit f25fcd99fa0d0ec2095d9db42145d236c14748e0)
2002-03-29 00:57:35 +00:00
Gerald Carter
16c3f6c7d0
merge from SAMBA_2_2
...
(This used to be commit 606450f3cbe028a526ec6db9cea59d65324c3314)
2002-03-28 16:44:26 +00:00
Tim Potter
230e36ccde
Aborted experiment to avoid namespace pollution and prototype hell and
...
moved to 'make proto' based solution.
(This used to be commit 1e48f872a494228e82fd32c789b3dcea6b014211)
2002-03-28 04:14:43 +00:00
Tim Potter
321767cb66
Added another return type.
...
(This used to be commit 9b2777d3bcef92b10cdc43a4c1e90beb48382a17)
2002-03-28 04:12:39 +00:00
Tim Potter
740b24658c
Use headername when closing off include file guards.
...
(This used to be commit 5bf5bffdd557cec3588e8d7a95b6cf75d00e616f)
2002-03-28 03:43:54 +00:00