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
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
Martin Pool
cc0846f967
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 e76d27fcdb
)
2001-12-20 04:01:44 +00:00
Andrew Tridgell
6c7e9dfb29
net ads password and net ads chostpass commands from Remus Koos
...
(This used to be commit 412e79c448
)
2001-12-20 03:54:52 +00:00
Jeremy Allison
2fe6d5d5a1
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 ab2e55cdb3
)
2001-12-19 19:18:37 +00:00
Jeremy Allison
a784fce109
Allow ACL set to fail gracefully on HP HFS filesystems.
...
Jeremy.
(This used to be commit 2d7b81e692
)
2001-12-19 17:47:19 +00:00
Andrew Tridgell
15aad7f33d
use "ads server" option if set for primary domain
...
(This used to be commit 1bf5c1a46f
)
2001-12-19 13:33:08 +00:00
Samba Release Account
acb0c65176
preparing for release of 3.0-alpha10
...
(This used to be commit c0ff274379
)
2001-12-19 13:13:05 +00:00
Andrew Tridgell
a04aec58d3
add support for mixtures of ADS/NT4 domains, as long as the primary
...
domain is ADS
(This used to be commit e97b40e094
)
2001-12-19 12:38:52 +00:00
Andrew Tridgell
1f31ace6cb
much better ADS error handling system
...
(This used to be commit 05a90a2884
)
2001-12-19 12:21:12 +00:00
Andrew Tridgell
105fe2a32e
we only have gss_ fns on a krb5 capable box
...
(This used to be commit 344b786efe
)
2001-12-19 09:58:52 +00:00
Andrew Tridgell
9126a40e2c
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 adf44a9bd0
)
2001-12-19 09:53:30 +00:00
Andrew Tridgell
a062e58d9e
- 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 ee1c3e1f04
)
2001-12-19 08:44:23 +00:00
Andrew Tridgell
e7da05b760
better nsstest error checking
...
(This used to be commit 7348a969bc
)
2001-12-19 08:40:50 +00:00
Andrew Tridgell
279276c9ca
fixed sid_compare_domain()
...
(This used to be commit c11c27b281
)
2001-12-19 08:37:03 +00:00
Martin Pool
085d62b38c
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 a7b052d991
)
2001-12-19 08:18:07 +00:00
Martin Pool
ec781f8e84
Doc how to reply to messages.
...
(This used to be commit e2b080587c
)
2001-12-19 07:49:25 +00:00
Martin Pool
7110a867a1
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 4c6c03c8c7
)
2001-12-19 07:36:32 +00:00
Martin Pool
fc00418dfc
Doc
...
(This used to be commit 7da982e926
)
2001-12-19 06:22:23 +00:00
Martin Pool
0b73aad2bf
Doc
...
(This used to be commit 5dc2827b6e
)
2001-12-19 06:00:19 +00:00
Martin Pool
d3abe277ef
Put PRINTF_ATTRIBUTE on talloc_init_named, talloc_asprintf,
...
talloc_vasprintf.
(This used to be commit e6be48671d
)
2001-12-19 05:02:42 +00:00
Martin Pool
55f6eefe12
Doc.
...
(This used to be commit 5b6c22a209
)
2001-12-19 04:55:58 +00:00
Martin Pool
4f74ff9450
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 25b97a7435
)
2001-12-19 04:50:10 +00:00
Martin Pool
806ebe9240
Add a very trivial talloc torture program, bin/talloctort. Not built
...
by default.
(This used to be commit e339066995
)
2001-12-19 04:46:35 +00:00
Jeremy Allison
22f25edb8e
Fix for extra capabilities from Urban Widmark <urban@teststation.com>.
...
Jeremy.
(This used to be commit e943ace4f0
)
2001-12-19 03:14:54 +00:00
Jeremy Allison
9648cd0c0f
Patch from dan_thibadeau@hp.com to allow domain set in authfile.
...
Jeremy.
(This used to be commit 5700cbbd3f
)
2001-12-19 02:50:44 +00:00
Jean-François Micouleau
ea274ac97f
added info level 1 to samr_query_alias()
...
(This used to be commit 589aa4fe22
)
2001-12-19 00:15:29 +00:00
Jeremy Allison
dccc1ed3f8
Fixup JF's weird SID return :-).
...
Jeremy
(This used to be commit 7b8fb8d85c
)
2001-12-18 19:44:14 +00:00
Jeremy Allison
ed611ffe1a
Tidyup utmp code to cope with hostname = NULL.
...
Jeremy
(This used to be commit 2a1b531a1c
)
2001-12-18 08:19:02 +00:00
Andrew Tridgell
08bf73c326
fixed handling of empty or dead domain in wbinfo -g
...
(This used to be commit 2c54cfbc47
)
2001-12-18 06:22:15 +00:00
Tim Potter
f0e8a3d5e8
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 c15dec74a3
)
2001-12-18 06:11:32 +00:00
Tim Potter
7cb202e33c
Fixed uninitialised variable warning.
...
(This used to be commit 5095941dcb
)
2001-12-18 05:08:48 +00:00
Tim Potter
95a4903b20
Removed unused function, delete_fn()
...
(This used to be commit f26e8205cf
)
2001-12-18 05:04:09 +00:00
Tim Potter
140f1ccf1f
Fixed bad args to debug statements.
...
(This used to be commit 5e0f0716ca
)
2001-12-18 05:00:07 +00:00
Jeremy Allison
5d3b81dede
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 dd13daf52b
)
2001-12-18 02:17:46 +00:00
Jeremy Allison
2a6eeff2a7
Return NT_STATUS_OBJECT_NOT_FOUND or ERRbadpipe if pipe name not found.
...
Jeremy.
(This used to be commit d5fdb1f096
)
2001-12-18 02:09:57 +00:00
Jeremy Allison
0558e2c402
Fixed the bug with descending into mangled directories.
...
The problem is that name_map_mangle can *change* the length of a patchname.
Ensure that all the character pointer messing about can cope with changing
sizes of components. This code is too ugly to live.....
This also needs *lots* of testing.
Jeremy.
(This used to be commit 9f2b6a0742
)
2001-12-18 01:26:54 +00:00
Jean-François Micouleau
e611111732
in lsa_query_info at level 5 in member mode, we must reply our machine
...
name and not our domain name.
I thought it has been already fixed !
J.F.
(This used to be commit 1fbb01868b
)
2001-12-18 00:32:45 +00:00
Jean-François Micouleau
a94ff206c6
fixing bug I introduced.
...
J.F.
(This used to be commit 49764852c5
)
2001-12-18 00:30:25 +00:00
Jean-François Micouleau
9fc3e980e9
initialise strings
...
(This used to be commit cb61606b8e
)
2001-12-18 00:27:46 +00:00
Jean-François Micouleau
6e76486505
there is no unknown field in LSA_SEC_QOS
...
some cleanup of the lsa_open_policy and lsa_open_policy2 parser. the
length fields are not correct but that's what NT send. We don't anymore
underflow or overflow the decoding.
added the domain admins group to the default SD.
we are now checking the desired access flag in the lsa_open_policy_X()
calls and in most functions also.
J.F.
(This used to be commit a217c4e4ff
)
2001-12-17 23:03:23 +00:00
Jean-François Micouleau
a081ad3dae
tidy up debug
...
J.F.
(This used to be commit c44f4e9e33
)
2001-12-17 22:57:06 +00:00
Jeremy Allison
02c3dcd8ee
Made "hide unreadable" work much more reliably (just for Volker :-).
...
Jeremy.
(This used to be commit f6d6825bc8
)
2001-12-17 19:16:22 +00:00
Jim McDonough
db9d6374a3
make sure we pass the lm and nt data in the right order. They were swapped, and somehow this worked when both were provided, but not when only one was.
...
(This used to be commit 477309b1e6
)
2001-12-17 18:53:57 +00:00
Andrew Tridgell
48c45486e3
allow selection of the organisational unit when joining a realm
...
(This used to be commit f1231c2b54
)
2001-12-17 11:16:22 +00:00
Andrew Tridgell
cf5a038adf
obey "use mmap" on case tables
...
(This used to be commit 505a1bdd15
)
2001-12-17 11:13:57 +00:00
Andrew Tridgell
ed5db6cc45
removed unused variable
...
(This used to be commit bed269e6d4
)
2001-12-17 11:13:03 +00:00
Tim Potter
0be611c8dc
Replaced some hardcoded hex numbers with constants.
...
Made a note about NOTIFY_OPTION_TYPE and NOTIFY_OPTION_TYPE_DATA - they are
actually one structure. The latter is just the deferred referrant of the
former.
(This used to be commit b596c0b171
)
2001-12-17 01:53:02 +00:00
Tim Potter
55e0930a29
Added some constants for registry data types.
...
(This used to be commit 6b20d863b7
)
2001-12-17 01:45:20 +00:00
Jeremy Allison
28df80cf68
Moved fchown_acl change to the point where we *really* know if we
...
created the file or not.
Jeremy.
(This used to be commit 32dffa0ba7
)
2001-12-16 23:44:38 +00:00
Jeremy Allison
0fd94a5c4b
Ensured filetimes set (by name) after close. Ignore errors. This is the
...
correct way to ensure times set in 'pending modtime' and 'time close'
are always set correctly. Inspired by patch from Juergen Hasch.
Jeremy.
(This used to be commit 2405385854
)
2001-12-16 21:04:19 +00:00
Jeremy Allison
9c1120faeb
Allow HPUX to link with new ACL code.
...
Jeremy.
(This used to be commit ad9a5a26e0
)
2001-12-15 02:46:48 +00:00
Jeremy Allison
ce1b141ec0
Added HPUX ACL code.
...
Jeremy.
(This used to be commit 6d03184f8c
)
2001-12-15 02:40:16 +00:00
Jeremy Allison
43e325d991
Added the group enum code from 2.2
...
Jeremy.
(This used to be commit 59e01a22c5
)
2001-12-14 21:51:09 +00:00
Jim McDonough
d6b2d28673
If domain SID can't be fetched, we shouldn't return NT_STATUS_NO_MEMORY. It causes a confusing client error. Changed to NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
...
(This used to be commit 07ea83e6f0
)
2001-12-14 21:37:56 +00:00
Gerald Carter
abcd1cad3a
ChangeID fixe from APPLIANCE_HEAD
...
(This used to be commit 096d06a961
)
2001-12-14 20:38:04 +00:00
Simo Sorce
ee33b2d3e2
I see no reasons why we should limit username lenght while checking
...
see bug 22130
jeremy, probably this should be fixed also in 2_2
(This used to be commit d0614b2e66
)
2001-12-14 18:49:02 +00:00
Jean-François Micouleau
689144c631
add lsa_query_secobj server code. level 4 is the ACL, level 1 is the
...
owner. that's basic stuff.
got the POLICY_ define from TNG but they are also in an include file in
the NT SDK.
J.F.
(This used to be commit 84289a9bf4
)
2001-12-14 17:31:48 +00:00
Jeremy Allison
968e2a2976
Updated Solaris link options from DaveCB.
...
Jeremy.
(This used to be commit 064a3e0fc4
)
2001-12-14 16:31:41 +00:00
Jean-François Micouleau
21e3bbbea7
Rafal (mimir) patch for trusts r.
...
(This used to be commit c26623671e
)
2001-12-14 14:35:38 +00:00
Tim Potter
14d7f43590
FALSE -> False
...
(This used to be commit dbdbf7cd07
)
2001-12-14 04:43:31 +00:00
Tim Potter
f46eb14806
Display a nice error message if the user%password specified for net rpc
...
join does not have administrator privileges.
(This used to be commit af24b1036c
)
2001-12-14 03:55:44 +00:00
Tim Potter
69e0fe9972
Display a nice error message for NT_STATUS_LOGON_FAILURE in connect_to_ipc()
...
(This used to be commit 60eb4dc7b1
)
2001-12-14 03:55:09 +00:00
Jim McDonough
fefd9a9243
More help/messages/formatting cleanup.
...
(This used to be commit 882e5e3bb8
)
2001-12-14 02:45:13 +00:00
Tim Potter
c5564c55fc
Merge from 2.2 to allow net rpc join -U to complete even if the workstation
...
account already exists.
# net rpc join --user=Administrator%password
It's kind of weird seeing the mix of NET.EXE style of options (net command
subcommand /arg:value) with the GNU-style long options. I think it works.
(This used to be commit 3789c8c707
)
2001-12-14 02:17:18 +00:00
Jim McDonough
9f3b884d3f
Restoration of at least some help function and format. First round of cleanup. Printq function cannot exactly mimic windows output using d_printf...oh well. Add some more command-specific options back into help.
...
(This used to be commit e135320e05
)
2001-12-14 02:15:04 +00:00
Tim Potter
9f6b241175
Set the debuglevel after the call to lp_load() so the change sticks.
...
(This used to be commit 3c927e39e7
)
2001-12-14 02:14:59 +00:00
Andrew Tridgell
d23723a3e4
don't use -u switch to /bin/date - too many systems don't honor it
...
(This used to be commit 0839cf03a9
)
2001-12-14 01:15:14 +00:00
Tim Potter
63bd99aec2
Added comment.
...
(This used to be commit 594634ff1a
)
2001-12-13 23:43:44 +00:00
Jeremy Allison
079a02b15e
Patch for string legths from TAKAHASHI, Motonobu(monyo).
...
Jeremy.
(This used to be commit f0d8b7573f
)
2001-12-13 23:43:15 +00:00
Jean-François Micouleau
9f59fc64b8
update the ldap support code. it compiles.
...
Ignacio you can update your howto ;-)
samsync: a small patch to try chaning challenges.
J.F.
(This used to be commit c99bc30559
)
2001-12-13 18:09:29 +00:00
Gerald Carter
037b40f01f
merge from 2.2
...
(This used to be commit 5b4b3323a3
)
2001-12-13 17:18:15 +00:00
Gerald Carter
4ad930ad5e
merge from appliance_head
...
(This used to be commit 423554fd71
)
2001-12-13 16:35:43 +00:00
Andrew Tridgell
9a83100c65
-Insswitch/ breaks the build by preventing include of <nss.h> from working
...
(This used to be commit 1ef9862540
)
2001-12-13 13:54:39 +00:00
Andrew Tridgell
1fb2f3649d
added "net ads info" to fetch basic ADS info without any auth
...
(This used to be commit b107ecef70
)
2001-12-13 13:19:20 +00:00
Andrew Tridgell
3a1cd6f427
make sure we find NSS_STATUS struct
...
(This used to be commit 7db718d44a
)
2001-12-13 11:58:38 +00:00
Andrew Tridgell
d58b1b5981
better error handling
...
(This used to be commit ed6279481b
)
2001-12-13 11:30:13 +00:00
Andrew Tridgell
75a6ac48a0
try the PDC for our workgroup if we can't find the ldap server
...
(This used to be commit fc9fd2ca19
)
2001-12-13 11:29:49 +00:00
Andrew Tridgell
0ae4916299
improved error message from failed connect
...
(This used to be commit 4405a87fb7
)
2001-12-13 08:54:51 +00:00
Jeremy Allison
e0d3a9e443
Must check against -1 for fcntl error check.
...
Jeremy
(This used to be commit 1d2504b5c7
)
2001-12-13 02:34:43 +00:00
Tim Potter
23b239625c
Fix some compiler warnings.
...
(This used to be commit 216dff4380
)
2001-12-13 00:02:37 +00:00
Jeremy Allison
a85390ae69
Always use ASCII strings when changing passwords with RAP.
...
Jeremy.
(This used to be commit d3ac2265b1
)
2001-12-12 19:40:22 +00:00
Herb Lewis
62877996e4
ran autoconf
...
(This used to be commit f881a8f197
)
2001-12-12 16:13:52 +00:00
Herb Lewis
ed7caa2ecf
allow IRIX to build nsswitch/libnss_wins.so
...
(This used to be commit 564bfd7728
)
2001-12-12 16:08:32 +00:00
Herb Lewis
e4553718bb
add *.po32 to ignore list
...
(This used to be commit fe0db4c55f
)
2001-12-12 16:04:37 +00:00
Jean-François Micouleau
a5ba214479
added a -V[erbose] option to samsync. Decode a lot of information
...
I'm looking at chaining the credentials
J.F.
(This used to be commit d49c8e4d3d
)
2001-12-12 15:25:22 +00:00
Jean-François Micouleau
1c95d1d16b
decoded SAM_DELTA 0x0e and 0x12.
...
One is an entry for the trusted domains
The other is an entry for the trusting domains
They are pretty basic, I'll improve them.
J.F.
(This used to be commit 8d359e6213
)
2001-12-12 11:38:57 +00:00
Jean-François Micouleau
c75d9409aa
a ugly decoder for SAM_DELTA_DOM_INFO (0x0d)
...
a correct decoder for SAM_PRIVS_INFO (0x10)
this code is totally useless right now, it's just fun to decode those and
will save tpot some time.
J.F.
(This used to be commit 314b675ed9
)
2001-12-12 09:43:56 +00:00
Andrew Tridgell
60b53b3f6f
added "net time zone" command to show the timezone on a computer
...
(This used to be commit 4e2691b1c1
)
2001-12-12 09:37:17 +00:00
Andrew Tridgell
65cfe6a492
pam_smbpass updates from a.bokovoy@sam-solutions.net
...
(This used to be commit 016e203a2c
)
2001-12-11 23:44:33 +00:00
Tim Potter
6526a42558
Oops, the -a option disappeared.
...
(This used to be commit 6194f874bb
)
2001-12-11 23:27:45 +00:00
Herb Lewis
fb8b642a98
add PATH_FLAGS to .po32 objects so dynconfig builds with smbwrapper
...
(This used to be commit 5bf6f91937
)
2001-12-11 20:41:31 +00:00
Herb Lewis
b9f2c47956
sync with 2.2
...
added multiple include protection
added IRIX defines
(This used to be commit b9dbb38bf2
)
2001-12-11 20:20:30 +00:00
Jim McDonough
d9c3ef8450
Replace backslash with winbind separator before calling parse_domain_user(). Winbind separators other than backslash didn't work.
...
(This used to be commit 6688781331
)
2001-12-11 19:27:40 +00:00
Herb Lewis
ee4d682115
fix for IRIX compilers
...
(This used to be commit b110f57e49
)
2001-12-11 18:08:48 +00:00
Andrew Tridgell
331fa95b7a
allow join of already joined domain
...
(This used to be commit 784a3f2951
)
2001-12-11 12:29:03 +00:00
Andrew Tridgell
3607b3ccab
prevent double free
...
(This used to be commit 3628a978d1
)
2001-12-11 10:37:00 +00:00
Jeremy Allison
9bb0a964bf
Fix up warnings. Make tdb_openXX() names const.
...
Jeremy.
(This used to be commit 9e3581827d
)
2001-12-11 08:31:58 +00:00
Jeremy Allison
dd324a5357
Tidyups to remove warnings on tdb standalone code.
...
Jeremy.
(This used to be commit b03aaddcf3
)
2001-12-11 08:24:36 +00:00
Andrew Tridgell
d86b7f9dc3
handle systems without setenv()
...
(This used to be commit 8709065246
)
2001-12-11 06:17:01 +00:00
Andrew Tridgell
70095b09c3
handle a NULL hostname in cli_connect()
...
(This used to be commit a181f49b42
)
2001-12-11 05:48:27 +00:00
Andrew Tridgell
6939dd050b
better error handling
...
(This used to be commit 75621d5284
)
2001-12-11 05:47:26 +00:00
Andrew Tridgell
e5dbe13b58
added a comment about /bin/date
...
(This used to be commit 2183c1f3b0
)
2001-12-11 05:28:56 +00:00
Andrew Tridgell
32ba2c889f
added a net time command. Allow display or set of system time based on
...
a SMB server
particularly useful for ADS is:
net time set -S DOMAIN#1B
this makes kerberos clock skew problems go away :)
(This used to be commit b3ba2293d0
)
2001-12-11 05:21:50 +00:00
Tim Potter
6cc5e2edc1
Modify winbindd to use authenticated user info from secrets.tdb when making
...
IPC$ connections to domain controllers.
(This used to be commit 1217ef28a6
)
2001-12-11 05:19:15 +00:00
Tim Potter
f4dfa9b6b2
Converted wbinfo to use popt instead of getopt - popt is very nice!
...
Added a --set-auth-user function to set a username and password that can be
used by winbindd when making connections to domain controllers. This is
necessary when restrictions have been placed on anonymous connections
either through the RestrictAnonymous registry setting, or the win2k Local
Security Policy -> Security Settings -> Local Policies -> Security Options
-> Additional restrictions for anonymous connections. (phew)
Two new keys are set in secrets.tdb: SECRETS/AUTH_USER and
SECRETS/AUTH_PASSWORD which hold the username and plaintext password of the
user to connect as.
To reset these values, run wbinfo --set-auth-user ""
(This used to be commit 507003522b
)
2001-12-11 05:18:36 +00:00
Andrew Tridgell
5ffe722a55
detect attempts to connect to names of the type NAME#xx and do a
...
netbios lookup for name NAME with node type xx.
This affects all our client progs. Very useful :)
(This used to be commit b4304c5231
)
2001-12-11 05:16:48 +00:00
Andrew Tridgell
66d964c9fc
allow overriding the local time in kerberos_kinit_password()
...
(This used to be commit cb9dbcef7c
)
2001-12-11 05:15:52 +00:00
Tim Potter
4589265bb0
Removed unreferenced getopt() externals.
...
(This used to be commit c87d1ad321
)
2001-12-11 04:25:21 +00:00
Tim Potter
6a60668fe2
SAMR query sec obj returns different results depending on which sam handle
...
it is passed. Not sure what these different contexts are called or what
they are used for.
- if a rid is specified to samquerysecobj then use the sam user policy
handle for that rid
- if -d is specified then use the sam domain policy handle
- otherwise just use the sam connect policy handle
JF, any ideas about this?
(This used to be commit 4ef50ef9f7
)
2001-12-11 03:03:45 +00:00
Tim Potter
44d423419a
Grr - people who put const everywhere should fix up all the warnings they
...
generate.
(This used to be commit d1ebd259c8
)
2001-12-11 02:23:14 +00:00
Tim Potter
31611dd2f4
Removed unused variable.
...
(This used to be commit 1dc0e9096d
)
2001-12-11 02:22:42 +00:00
Tim Potter
b872787f01
Doing some research into ACLs on the LSA and SAM policy objects.
...
- added lsaquerysecobj to rpcclient
- renamed querysecobj to samquerysecobj
- removed duplicated display_sec_acl() code from cmd_spoolss.c and
cmd_samr.c and moved it into display_sec.c
(This used to be commit 59b2e3f408
)
2001-12-11 02:17:26 +00:00
Andrew Tridgell
d033e53300
removed the start_ndx parameter from group enumeration
...
I tried testing this by lowering the buffer size in
cli_samr_enum_dom_groups() but that didn't work - I think this needs
more looking into
(This used to be commit 34328e3031
)
2001-12-11 01:04:13 +00:00
Tim Potter
d032059df9
Compile fix.
...
(This used to be commit 83caa883d7
)
2001-12-11 00:11:11 +00:00
Andrew Tridgell
abeb0f50ea
got rid of start_ndx from query_user_list()
...
(This used to be commit 1c909afe76
)
2001-12-11 00:03:58 +00:00
Jean-François Micouleau
bf5a0e6717
NT_STATUS(0x80000005) maps to ERRDOS,234
...
J.F.
(This used to be commit 80e36549b6
)
2001-12-10 23:34:32 +00:00
Jean-François Micouleau
ecf7017eca
added enum alias groups to rpcclient
...
(This used to be commit d4bc8f02f7
)
2001-12-10 22:30:31 +00:00
Andrew Tridgell
0c29881501
reinstated all the rap commands as top level commands until we get the
...
protocol switch mechanism in place
(This used to be commit d20c3717dd
)
2001-12-10 22:25:21 +00:00
Andrew Tridgell
3d27d7b9f7
moved ccache location change into winbindd code
...
(This used to be commit be254eb13c
)
2001-12-10 22:10:31 +00:00
Andrew Tridgell
273deacb32
robustness fixes and moved ccache location into winbindd_ads code
...
(This used to be commit 24aa09ff3d
)
2001-12-10 22:10:16 +00:00
Jeremy Allison
a427fafc1f
Treat RAP codes differently.
...
Jeremy.
(This used to be commit 919b11a787
)
2001-12-10 19:48:43 +00:00
Jeremy Allison
775c3876db
RAP error strings take precedence as they are not encoded in the SMB header
...
(ie. the call can succeed, but still be an encoded error).
Jeremy.
(This used to be commit 3c68b94199
)
2001-12-10 19:18:56 +00:00
Jim McDonough
3bc9ef34b1
Delay gssapi header checking until after kerberos has been located. Wasn't working on RedHat systems because of /usr/kerberos install location.
...
(This used to be commit 55d55e311e
)
2001-12-10 18:07:17 +00:00
Jean-François Micouleau
0ff1a9568b
added info level 3 to samrgetgroupinfo. I don't know what the value is.
...
It's just to keep usermanager happy ;-)
clean up a bit samr_query_aliasinfo to return the group description
added: samr_del_aliasmem, samr_del_groupmem and samr_del_domuser
with the correct scripts, you can now entirely manage the users from
usermanager ! Closer to full PDC every day ;-)
J.F.
(This used to be commit 0a727afc66
)
2001-12-10 15:03:16 +00:00
Martin Pool
769a9dbb00
Make proto
...
(This used to be commit 83ab28a7e5
)
2001-12-10 08:36:42 +00:00
Martin Pool
6f151481da
Doc.
...
(This used to be commit 6c684c89a4
)
2001-12-10 07:29:34 +00:00
Martin Pool
ebc1f6fda3
Allow for internal databases which may have no name.
...
(This used to be commit caa08bb56e
)
2001-12-10 07:27:20 +00:00
Martin Pool
dd9bdec3aa
Log more error messages.
...
(This used to be commit 8118676f78
)
2001-12-10 07:02:58 +00:00
Martin Pool
98d6d8cf9c
Log more error messages.
...
(This used to be commit b50e566ab9
)
2001-12-10 07:02:24 +00:00
Martin Pool
43069e5475
Also show LDFLAGS/LDSHFLAGS when starting compilation, because they're
...
not visible later on.
(This used to be commit 8edd29e099
)
2001-12-10 06:23:28 +00:00
Andrew Tridgell
6b36fa3a8a
use objectCategory instead of objectClass for faster searching
...
(This used to be commit 4d3b827e5a
)
2001-12-10 06:21:44 +00:00
Tim Potter
31f036b5b3
Merge of memory leak fixes from APPLIANCE_TNG.
...
(This used to be commit b198de92d2
)
2001-12-10 06:21:18 +00:00
Martin Pool
8c31fd48c8
Allocate tdb name up front in case log functions want to use it.
...
(This used to be commit a228c7efcc
)
2001-12-10 06:09:42 +00:00
Andrew Tridgell
2bbc91978b
winbindd backends can now be marked "consistent" or "inconsistent"
...
consistent backends (like ADS) always give correct primary group
info, so we can play cache tricks to speed things up a lot
inconsistent backends (like MSRPC) need to fetch stuff more often
(This used to be commit 217c39f232
)
2001-12-10 06:05:21 +00:00
Martin Pool
ddeecec1f8
tdb_open_ex: More cleanups: just dynamically allocate the TDB_CONTEXT
...
up front, rather than working on the stack and then copying across.
(This used to be commit b1d7d80068
)
2001-12-10 05:29:47 +00:00
Martin Pool
dddef5d5b2
Refactor code to check whether already open into its own function.
...
(This used to be commit 52ef112e10
)
2001-12-10 05:22:04 +00:00
Andrew Tridgell
a23800be19
shrank the winbindd_cache.tdb somewhat
...
on my system it now uses 132k for 308 users
(This used to be commit 2b396f9172
)
2001-12-10 05:20:55 +00:00
Martin Pool
77d800fb3e
tdb_open_ex should always "goto fail" in case of error, rather than
...
just returning. I don't think this would leak at the moment, but it's
an accident waiting to happen.
(This used to be commit fe901ec194
)
2001-12-10 05:12:52 +00:00
Martin Pool
70f27f1b52
Doc.
...
(This used to be commit bb6c0df4bc
)
2001-12-10 05:08:22 +00:00
Martin Pool
5fea33ab58
tdb_open_ex: Continue previous refactoring so that we consistently
...
just say "tdb" not "&tdb".
(This used to be commit fac685d30f
)
2001-12-10 05:05:21 +00:00
Tim Potter
4f53486d78
Added client and server code for the GetPrintProcessorDirectory SPOOLSS
...
rpc. This was supposed to fix a printer driver download bug but it didn't
but it seemed a shame to trash all this code so I'm commiting it #ifdef'ed
out in case someone needs it one day.
(This used to be commit bef4365647
)
2001-12-10 05:03:17 +00:00
Martin Pool
ce654f5e55
tdb_open_ex: Refactor to use a pointer to tdb, rather than an auto
...
tdb, to be consistent with the rest of the code.
(This used to be commit d159415049
)
2001-12-10 05:00:36 +00:00
Tim Potter
aeb734a8fa
Formatting fixup.
...
(This used to be commit d902baf709
)
2001-12-10 04:59:17 +00:00
Martin Pool
5788615e8d
Explain why snprintf has to be overridden in this way.
...
(This used to be commit a4cc69d945
)
2001-12-10 04:35:01 +00:00
Martin Pool
5e22f65d00
(merge 1.130.4.93) Display results of checks for shared libraries.
...
(This used to be commit d7853d9937
)
2001-12-10 04:29:14 +00:00
Tim Potter
ba57d9a136
Typo spotting.
...
(This used to be commit 62dfda654b
)
2001-12-10 04:15:58 +00:00
Andrew Tridgell
216f3ae908
cleanup a little namespace pollution
...
(This used to be commit e5b484451a
)
2001-12-10 03:21:38 +00:00
Andrew Tridgell
7f3373649a
added some comments
...
(This used to be commit 34589d5a47
)
2001-12-10 02:30:18 +00:00
Andrew Tridgell
f3918919d2
moved the domain sid lookup and enumeration of trusted domains into
...
the backends
at startup, loop until we get the domain sid for our primary domain,
trying every 10 seconds. This makes winbindd handle a room-wide power
failure better
(This used to be commit 7c60ae5937
)
2001-12-10 02:25:19 +00:00
Andrew Tridgell
dd0b65a91c
added some comments
...
(This used to be commit 5ab2c8b821
)
2001-12-10 01:05:50 +00:00
Andrew Tridgell
e051c2c430
make sid_binstring available without HAVE_ADS
...
(This used to be commit 4a6d297686
)
2001-12-10 00:39:01 +00:00
Andrew Tridgell
4ad81e7714
explicitly encode NULL strings in the cache
...
(This used to be commit 77c1376456
)
2001-12-10 00:07:51 +00:00
Andrew Tridgell
cb1195fdef
removed a debug line
...
(This used to be commit ec4c90fd7f
)
2001-12-10 00:00:44 +00:00
Andrew Tridgell
31842f5d01
completely new winbindd cache infrastructure
...
this one looks like just another winbind backend, and has the
following properties:
- does -ve and +ve cacheing of all queries
- can be disabled with -n switch to winbindd
- stores all records packed, so even huge domains are not a problem
for a complete cache
- handles the server being down
- uses sequence numbers for all entries
This fixes a lot of problems with winbindd. Serving from cache is now
*very* fast.
(This used to be commit fddb4f4c04
)
2001-12-09 23:59:42 +00:00
Andrew Tridgell
e3d171ff55
add smb_xvasprintf() panic wrapper around vasprintf
...
(This used to be commit fa1e7a62ac
)
2001-12-09 23:56:07 +00:00
Motonobu Takahashi
f13f9940b7
added fr.msg from Fanch
...
(This used to be commit 3a3b3469e6
)
2001-12-09 17:06:45 +00:00
Andrew Tridgell
bd062b1856
added a simple tdbdump utility
...
(This used to be commit c4f5a6c65d
)
2001-12-09 07:49:20 +00:00
Andrew Tridgell
adbd4300fd
set return value to total errors
...
(This used to be commit 4a7e1f6bb1
)
2001-12-09 07:18:59 +00:00
Andrew Tridgell
1445184502
better error checking in nsstest
...
(This used to be commit 3c17c64e31
)
2001-12-09 06:51:27 +00:00
Andrew Tridgell
82516cad1b
- check for correct error codes
...
- handle no initgroups fn
(This used to be commit 84a3390eac
)
2001-12-09 06:10:40 +00:00
Andrew Tridgell
0b33cb1a7b
- use accountype not accountcontrol
...
- better debug code
(This used to be commit 01f63b9c92
)
2001-12-09 06:10:02 +00:00
Andrew Tridgell
b6c618467d
fixed type passed to ads_search
...
(This used to be commit 0ff30848f3
)
2001-12-09 00:46:37 +00:00
Andrew Tridgell
bc26ea1e5c
fixed used of string after free
...
(This used to be commit f7ead035eb
)
2001-12-09 00:45:51 +00:00
Jean-François Micouleau
6490fbce6b
small comment I don't want to loose.
...
J.F.
(This used to be commit a0b5ae5822
)
2001-12-08 23:57:35 +00:00
Jean-François Micouleau
139c46eced
Fix domain logon that I broke 3 days ago.
...
And it's in sync with the docs, %U is really replaced by the name the user
asked. Whereas in 2.2 that's false, %U is replaced by the name the user
was mapped to.
J.F.
(This used to be commit 39f2b23347
)
2001-12-08 23:56:58 +00:00
Andrew Bartlett
a211fde02b
By popular demand: a new config.guess and config.sub
...
(I hope I did this right)
Andrew Bartlett
(This used to be commit 75d0f4cf19
)
2001-12-08 17:37:59 +00:00
Andrew Tridgell
09b01cdcbd
check for gssapi_generic.h
...
(This used to be commit 838fbac7a0
)
2001-12-08 12:06:08 +00:00
Andrew Tridgell
35eb6be4ea
fix a DEBUG() line
...
(This used to be commit 18da530293
)
2001-12-08 12:00:27 +00:00
Andrew Tridgell
5d378a280f
added internal sasl/gssapi code. This means we are no longer dependent on cyrus-sasl which makes the code much less fragile. Also added code to auto-determine the server name or realm
...
(This used to be commit 435fdf276a
)
2001-12-08 11:18:56 +00:00
Andrew Bartlett
22a76a0632
Fix segfault, and add a comment.
...
(This used to be commit ff91131ef9
)
2001-12-08 02:25:25 +00:00
Andrew Bartlett
3c64bd4c50
Leak less memory.
...
Now, is there any reason that the prs_init() doesn't use the talloc context
that it is supplied as an argument for the actual data buffer?
It would seem logical to replace the malloc with a talloc, but I'm sure
there is some method to the madness (extrnal use/Reallocing of it I presume)
Andrew Bartlett
(This used to be commit ad18f33bfa
)
2001-12-08 02:14:56 +00:00
Andrew Bartlett
9220fd730c
Ensure that 'use spnego' restricts, rather than just advises our clients.
...
This means that if a hole is found in the spnego code, we can tell people
to just set 'use spengo' in their config file while we sort it out.
Other than that, preventing 'unusual' behaviour is always a good thing.
Andrew Bartlett
(This used to be commit a8a53c08f7
)
2001-12-08 02:12:17 +00:00
Herb Lewis
7218f88e81
include/build_env.h wasn't getting built by default with new rules unless
...
you did make headers - fixed
(This used to be commit ce84993e8e
)
2001-12-07 01:01:28 +00:00
Andrew Tridgell
99c431695c
added a "use spnego" option
...
you need to set "use spnego = no" for w2k to be able to join a samba
domain. Otherwise the w2k box will assume we can do kerberos as a KDC
(This used to be commit b5cb57a367
)
2001-12-07 01:01:10 +00:00
Herb Lewis
8d0eb004a0
OK I think this does what everyone wants with the .headers.stamp
...
it gets removed on a make clean
it gets created on a make headers (if it doesn't already exist)
This makes it so I only rebuild everthing once after a make clean and
also so nothing gets rebuilt after jfm does a make headers (proto)
(This used to be commit bc918bce10
)
2001-12-07 00:37:31 +00:00
Andrew Tridgell
92dc801733
allow nsstest to test any nss module
...
(This used to be commit c531f4773e
)
2001-12-06 22:42:27 +00:00
Herb Lewis
ff925a5afb
add smbgroupedit
...
(This used to be commit ba2dd34407
)
2001-12-06 19:04:01 +00:00
Jean-François Micouleau
e0066d2dd4
again an intrusive patch:
...
- removed the ugly as hell sam_logon_in_ssb variable, I changed a bit the
definition of standard_sub_basic() to cope with that.
- removed the smb.conf: 'domain admin group' and 'domain guest group'
parameters ! We're not playing anymore with the user's group RIDs !
- in get_domain_user_groups(), if the user's gid is a group, put it first
in the group RID list.
I just have to write an HOWTO now ;-)
J.F.
(This used to be commit fef52c4b96
)
2001-12-06 13:09:15 +00:00
Jean-François Micouleau
0069985ce3
remove .headers.stamp from the delheaders definition
...
It forced a complete build to occur each time the proto are rebuild !
J.F.
(This used to be commit 9866c18193
)
2001-12-06 12:57:50 +00:00
Andrew Tridgell
44384354d8
put the winbindd krb5 credentials cache in the lock directory
...
this prevents it clobbering the users cache
(This used to be commit 3de552f365
)
2001-12-06 07:33:35 +00:00
Andrew Tridgell
94dd5cded7
allow a MAX_DEBUG_LEVEL setting in local.h (or the Makefile)
...
This allows embedded systems to compile out the higher debug
levels. It should gain speed as well as reducing the code
size. Setting it to 1 saves about 300k of code on my system.
(This used to be commit f34cac3b31
)
2001-12-06 07:17:25 +00:00
Andrew Tridgell
d412f66cd8
added a propoer kerberos_kinit_password call
...
contribution from remus@snapserver.com
thanks!
(This used to be commit 3ace8f1fcc
)
2001-12-06 05:41:53 +00:00
Tim Potter
839bcee0b4
Fixed typo in fix for typo in debug. (-:
...
(This used to be commit 7c64e5f148
)
2001-12-06 04:23:06 +00:00
Herb Lewis
549e904d3f
merge from 2.2
...
don't set WINBIND variables unless configure was run --with-winbind
(This used to be commit 83ec4c0f4d
)
2001-12-05 21:08:17 +00:00
Herb Lewis
f3e6f2d953
dont add -I./popt to CFLAGS it really belongs in FLAGS1 with other include
...
paths. This make it hard to use a script that overrides CFLAGS options.
(This used to be commit 646b5ae752
)
2001-12-05 19:45:30 +00:00
Jeremy Allison
7077558fb3
Added fetch_domain_sid. Not used in current code, but a nice example
...
of how to use this interface.
Jeremy.
(This used to be commit 2919851235
)
2001-12-05 19:33:35 +00:00
Jean-François Micouleau
791788ea9d
changed the DEBUG level of tdb_pack and tdb_unpack. Instead of 8, it's now
...
18.
when you're looking at a level 10, and it's all clutered with
tdb_pack/unpack, it's getting .... And anyway most of our code using
tdb_pack/unpack have DEBUG around the call if there is a problem.
J.F.
(This used to be commit 7e20fad5ed
)
2001-12-05 15:45:36 +00:00
Jean-François Micouleau
7b53a92f59
added samr_queryuseralias(). instead of returning BUILTIN_ALIAS_RID_USERS,
...
now return the alias correctly.
time to look at the netlogon case.
J.F.
(This used to be commit 72ee179108
)
2001-12-05 15:41:44 +00:00
Andrew Tridgell
95a21460b7
fixed a return value
...
(This used to be commit 56bdb152d8
)
2001-12-05 11:32:25 +00:00
Andrew Bartlett
8ba00d147b
OK. Smbpasswd -j is DEAD.
...
This moves the rest of the functionality into the 'net rpc join' code.
Futhermore, this moves that entire area over to the libsmb codebase, rather
than the crufty old rpc_client stuff.
I have also fixed up the smbpasswd -a -m bug in the process.
We also have a new 'net rpc changetrustpw' that can be called from a
cron-job to regularly change the trust account password, for sites
that run winbind but not smbd.
With a little more work, we can kill rpc_client from smbd entirly!
(It is mostly the domain auth stuff - which I can rework - and the
spoolss stuff that sombody else will need to look over).
Andrew Bartlett
(This used to be commit 575897e879
)
2001-12-05 11:00:26 +00:00
Andrew Bartlett
0d09562eed
Add a couple of extra debugs for the secrets.tdb stuff
...
(This used to be commit c76c1f6904
)
2001-12-05 10:52:13 +00:00
Andrew Bartlett
3f387d1971
Ensure we fill in the %U for NTLMSSP connections
...
(This used to be commit d15ea4fa8e
)
2001-12-05 10:50:26 +00:00
Andrew Tridgell
410dfc917f
fixed a minor password memory leak
...
(This used to be commit 5985d7e6ee
)
2001-12-05 10:44:30 +00:00
Andrew Tridgell
a87b9bf561
fixed a memory leak
...
(This used to be commit 45c328800e
)
2001-12-05 10:43:43 +00:00
Andrew Tridgell
6194d6a541
fix link error
...
(This used to be commit 58e93a8b7d
)
2001-12-05 10:35:25 +00:00
Andrew Tridgell
8aa0a817c1
handle ldap server down better
...
(This used to be commit 0d85815c99
)
2001-12-05 10:14:22 +00:00
Andrew Tridgell
9421ad4a7a
added a REALLY gross hack into kerberos_kinit_password so that
...
winbindd can do a kinit
this will be removed once we have code that gets a tgt
and puts it in a place where cyrus-sasl can see it
(This used to be commit 7d94f1b736
)
2001-12-05 09:46:53 +00:00
Andrew Tridgell
cc3aff7436
auto-init secrets.tdb
...
(This used to be commit aff916e543
)
2001-12-05 09:45:00 +00:00
Andrew Tridgell
5d41807f4d
added timeouts and retries to ldap operations
...
(This used to be commit 4f004eb54d
)
2001-12-05 09:19:25 +00:00
Andrew Tridgell
addea9645d
moved the sequence number fetch into the backend, and fetch the
...
sequence number via ldap when using ads
(This used to be commit 9a084f0bb9
)
2001-12-05 07:52:44 +00:00
Andrew Tridgell
5329af6e11
don't double free ldap message lists
...
(This used to be commit f64612b89b
)
2001-12-05 07:36:35 +00:00
Andrew Tridgell
0799c44680
paranoia fixes in based ldap routines for potential memory leaks
...
(This used to be commit 13b933104e
)
2001-12-05 07:35:57 +00:00
Andrew Tridgell
cb01c8e192
fixed another leak - memory usage now seems to be quite small
...
(This used to be commit a45e396859
)
2001-12-05 07:11:26 +00:00
Andrew Tridgell
a313351e94
added very basic ads connection cacheing
...
(This used to be commit 7de670cd15
)
2001-12-05 07:05:53 +00:00
Andrew Tridgell
5f76385e70
more memory leak fixes
...
(This used to be commit eb6f0e91dd
)
2001-12-05 06:26:56 +00:00
Andrew Tridgell
faa0f63774
plugged most of the memory leaks
...
(This used to be commit 60b5d4432a
)
2001-12-05 06:16:33 +00:00
Andrew Tridgell
ca61334c76
added the last winbindd/ads backend function
...
winbindd is now fully functional with a native mode w2k server
now for the memory leaks and speed ...
(This used to be commit fad564c177
)
2001-12-05 05:35:45 +00:00
Andrew Tridgell
3278f563b9
finally worked out how to do ldap lookups by binary blobs, so I can
...
now do searches on SID. This allows me to do a true ldap sid_to_name()
function
one one function to go!
(This used to be commit 7d44aa3915
)
2001-12-05 04:48:51 +00:00
Andrew Tridgell
19c0459153
added functions that convert a ads binary blob to a string (for
...
searching on SID)
(This used to be commit 31d6d049b3
)
2001-12-05 04:44:34 +00:00
Andrew Tridgell
24449a9b0b
fixed an off by 1 bug in talloc_asprintf()
...
(This used to be commit 2b2155beae
)
2001-12-05 04:43:53 +00:00
Jeremy Allison
f8abe6eba4
Fixed parse_domain_user to be bool.
...
Jeremy.
(This used to be commit 9563de2ef8
)
2001-12-05 04:17:39 +00:00
Andrew Bartlett
cf90455854
Add a new flag for anonymous connections
...
(This used to be commit 5a96391c75
)
2001-12-05 03:14:35 +00:00
Andrew Bartlett
f98d753b2f
Make it easier to construct anonymous connections with a new flag and helper
...
function.
(This used to be commit 61b0f5f4f9
)
2001-12-05 03:14:21 +00:00
Andrew Bartlett
2f87684a1e
Split out the name resolution code into a seperate function
...
(This used to be commit b2443f6fca
)
2001-12-05 02:58:40 +00:00
Jeremy Allison
105f8a1a0f
Use print_queue_length() by preference if we don't need a queue
...
as it doesn't do a traversal.
Jeremy.
(This used to be commit 4bf4ee3f14
)
2001-12-05 02:11:03 +00:00
Andrew Bartlett
241a32b436
Follow herb's suggestion and don't strdup a string to itself
...
(This used to be commit d00f461f43
)
2001-12-05 01:59:32 +00:00
Andrew Bartlett
f018400b69
Follow herb's suggestion and don't strdup a string to itself.
...
(This used to be commit ea76a687fc
)
2001-12-05 01:58:33 +00:00
Jeremy Allison
5472638730
Improved efficiency of enumerating print queue's under a particular
...
extreme condition...
Jeremy.
(This used to be commit 425bb0f405
)
2001-12-05 00:54:33 +00:00
Andrew Bartlett
38d10d2ac1
Add a mechinism to allow for sane porting of rpcclient components into the new
...
'net' command.
This also gets us 'net rpc user add'.
Andrew Bartlett
(This used to be commit 1197689bc5
)
2001-12-05 00:26:36 +00:00
Andrew Bartlett
8818847c85
Ditto on the const religion.
...
(This used to be commit e1b940c91b
)
2001-12-05 00:24:57 +00:00
Andrew Bartlett
d67041a532
Const religion for some of the RPC code.
...
(This used to be commit 64bf8f81c4
)
2001-12-05 00:22:24 +00:00
Herb Lewis
61fc7b98a7
Merge from 2.2
...
If you do not have one more expect than issue when talking to the passwd
program you will not send the last issue.
(This used to be commit 8aafec95cb
)
2001-12-04 22:24:17 +00:00
Jean-François Micouleau
e9894404ba
move proto.h and build_env.h from $(srcdir)/include to $(builddir)/include
...
tridge, martin, if you think it's wrong , you can revert it.
J.F.
(This used to be commit f057d62aae
)
2001-12-04 21:58:37 +00:00
Jean-François Micouleau
922eb763d7
added a boolean to the group mapping functions to specify if we need or
...
not the privileges. Usually we don't need them, so the memory is free
early.
lib/util_sid.c: added some helper functions to check an SID.
passdb/passdb.c: renamed local_lookup_rid() to local_lookup_sid() and pass
an RID all the way. If the group doesn't exist on the domain SID,
don't return a faked one as it can collide with a builtin one. Some rpc
structures have been badly designed, they return only rids and force the
client to do subsequent lsa_lookup_sid() on the domain sid and the builtin
sid !
rpc_server/srv_util.c: wrote a new version of get_domain_user_groups().
Only the samr code uses it atm. It uses the group mapping code instead of
a bloody hard coded crap. The netlogon code will use it too, but I have to
do some test first.
J.F.
(This used to be commit 6c87e96149
)
2001-12-04 21:53:47 +00:00
Jeremy Allison
4d3ec230b4
Correct message on wbinfo fail to open config file.
...
Jeremy.
(This used to be commit 9b7182a9da
)
2001-12-04 21:30:52 +00:00
Jeremy Allison
20fdf28178
Tidup.
...
Jeremy.
(This used to be commit 837f2b961b
)
2001-12-04 18:37:14 +00:00
Martin Pool
84c19504d0
Put back changes to set errno, which seem to do no harm.
...
(This used to be commit 3dbb5dfcfb
)
2001-12-04 13:21:15 +00:00
Martin Pool
65e1d4a7a5
Fix headers. This I know is correct.
...
(This used to be commit 58cfea3c2a
)
2001-12-04 13:17:22 +00:00
Martin Pool
858f1865df
Fix headers. This I know is correct.
...
(This used to be commit 0c22a10d73
)
2001-12-04 12:44:10 +00:00
Andrew Tridgell
7b64e61e68
added lookup_groups() to the ads backend
...
winbindd/ADS can now do initgroups()
(This used to be commit 43edeaca9f
)
2001-12-04 12:10:05 +00:00