samba.git
22 years agoissues spotted by herb.
Luke Leighton [Mon, 7 Dec 1998 21:40:53 +0000 (21:40 +0000)]
issues spotted by herb.

22 years agomatthew chapman's ldap code, to date. plus docs!
Luke Leighton [Mon, 7 Dec 1998 21:37:17 +0000 (21:37 +0000)]
matthew chapman's ldap code, to date.  plus docs!

22 years agobugs in rpcclient. add_aliasmem uses a DOM_SID2 not a DOM_SID.
Luke Leighton [Mon, 7 Dec 1998 21:32:02 +0000 (21:32 +0000)]
bugs in rpcclient.  add_aliasmem uses a DOM_SID2 not a DOM_SID.

22 years agofirst attempt at making unix setuid/setgid code that is independent of
Luke Leighton [Mon, 7 Dec 1998 20:28:51 +0000 (20:28 +0000)]
first attempt at making unix setuid/setgid code that is independent of
cnums and snums.

22 years agosync with 2.0 tree
Herb Lewis [Mon, 7 Dec 1998 20:27:01 +0000 (20:27 +0000)]
sync with 2.0 tree

22 years agoremoved nt_pipe_fnum from struct cli_state. need to be able to call
Luke Leighton [Mon, 7 Dec 1998 20:23:41 +0000 (20:23 +0000)]
removed nt_pipe_fnum from struct cli_state.  need to be able to call
LsaLookupSids etc from within SamrQueryAliasMembers, for example.
fnum is now a parameter to client functions.  thanks to mike black
for starting the ball rolling.

22 years ago- lib/unix_sec_ctxt.c
Luke Leighton [Mon, 7 Dec 1998 17:23:48 +0000 (17:23 +0000)]
- lib/unix_sec_ctxt.c

attempt at taking lib/uid.c and getting a unix security context
change module that is independent of "cnums" and "snums".
a security context is needed for pipes, not just IPC$ or other
services.

- group database API

added add_group/alias_member, del_group/alias_member,
del_group/alias_entry functions.  del_builtin_entry() is
deliberately set to NULL to cause an exception, you cannot
delete builtin aliases.

- parse_lsa.c srv_lsa.c

fixed lookup_names code, it was a load of trash and didn't do
anything.

- cmd_samr.c rpcclient.c srv_samr.c

added "deletegroup", "deletealias", "delaliasmem", "delgroupmem",
"addgroupmem", "addaliasmem", "createalias", "creategroup", to
both client and server code.

server code calls into unix stubs right now, which don't actually
do anything.  the only instance where they are expected to do
anything is in appliance mode NOT even in the ldap code or anything.

client code modified to call samr_lookup_names() for group code
(because we can) and lsa_lookup_names() for alias code (because
we have to).

- srv_lookup.c

oops, lookup on unsplit name, we got lookup on DOMAIN, DOMAIN\name
instead of DOMAIN, name.

22 years agofixed a link to testparm.1.html
Andrew Tridgell [Mon, 7 Dec 1998 10:37:13 +0000 (10:37 +0000)]
fixed a link to testparm.1.html

23 years agooops - lock test was the wrong way around
Andrew Tridgell [Sat, 5 Dec 1998 08:19:42 +0000 (08:19 +0000)]
oops - lock test was the wrong way around

23 years agofixed pidfile handling to check for a lock on the file, so we can be
Andrew Tridgell [Sat, 5 Dec 1998 08:09:59 +0000 (08:09 +0000)]
fixed pidfile handling to check for a lock on the file, so we can be
sure it is a samba process that is running.

23 years agoreplaced the icons in SWAT with real icons
Andrew Tridgell [Sat, 5 Dec 1998 06:54:10 +0000 (06:54 +0000)]
replaced the icons in SWAT with real icons

23 years agoSync up critical kernel oplock bugfix. I don't want to lose
Jeremy Allison [Sat, 5 Dec 1998 01:03:42 +0000 (01:03 +0000)]
Sync up critical kernel oplock bugfix. I don't want to lose
this....
Jeremy.

23 years agoadded delete domain group and local group and delete domain group member.
Luke Leighton [Fri, 4 Dec 1998 23:06:27 +0000 (23:06 +0000)]
added delete domain group and local group and delete domain group member.

23 years agofixing "addgroupmem" and "enumgroups -m" commands, samr_open_group()
Luke Leighton [Fri, 4 Dec 1998 22:00:39 +0000 (22:00 +0000)]
fixing "addgroupmem" and "enumgroups -m" commands, samr_open_group()
needed a flags fields as you get 0x0000 0010 and 0x0000 001f unknown
values for different purposes, no-one's going to tell us what they
are and i don't CARE!

23 years ago- oops, i got "add alias member" and "delete alias member" swapped.
Luke Leighton [Fri, 4 Dec 1998 21:48:06 +0000 (21:48 +0000)]
- oops, i got "add alias member" and "delete alias member" swapped.

- samr_enum_dom_users, the first 4 bytes is some sort of garbage,
  nt5-beta2 clears them out to zeros whereas nt4 does not.
  fixed bug where we were assuming that the first 4 bytes of a
  response _had_ to be non-zero.

- cli_lsarpc.c: forgot to append the rid on the lsa_lookup_names()
  client call.

- added in "addaliasmem" and "addgroupmem" commands.  the addaliasmem
  command actually turned out to be a "delaliasmem" :-) :-)

- parse_lsa.c: moved assert array check to after the size of useable
  array space is set...

23 years ago- renamed do_samr_xxx to samr_xxx
Luke Leighton [Fri, 4 Dec 1998 16:30:00 +0000 (16:30 +0000)]
- renamed do_samr_xxx to samr_xxx
- renamed do_lsa_xxx to lsa_xxx

- added "enumgroups [-m]" command, enumerates groups, shows members.
- added cmd_sam_add_groupmem(), need to call these in rpcclient.c
- added cmd_sam_add_aliasmem(), need to call these in rpcclient.c

- modified "enumaliases [-m]" command

- improved "enumgroups" and "enumaliases" to display names not just RIDS/SIDs.

- renamed "samr_unknown_12" to "samr_lookup_rids".

- added the following client-side functions:

get_samr_query_groupmem()
get_samr_query_aliasmem()
get_samr_query_groupinfo()
samr_enum_dom_groups()
samr_enum_dom_aliases()
samr_add_aliasmem()
samr_add_groupmem()

- improved display output (display.c)

23 years agoUpdated packaging files from 2.0.0 branch - NOTE: Not yet operative.
John Terpstra [Fri, 4 Dec 1998 00:13:12 +0000 (00:13 +0000)]
Updated packaging files from 2.0.0 branch - NOTE: Not yet operative.
I will update these when 2.0.0beta3 has shipped. <John H Terpstra>

23 years agoUpdated version info and date in document headers.
John Terpstra [Thu, 3 Dec 1998 23:14:52 +0000 (23:14 +0000)]
Updated version info and date in document headers.

23 years agoadded createalias command to rpcclient
Luke Leighton [Thu, 3 Dec 1998 22:20:30 +0000 (22:20 +0000)]
added createalias command to rpcclient

23 years agocreate domain group command (creategroup) added to rpcclient.
Luke Leighton [Thu, 3 Dec 1998 20:50:33 +0000 (20:50 +0000)]
create domain group command (creategroup) added to rpcclient.

renamed do_samr_xxxx to samr_xxxx.

23 years agomoved get_unixgroups it will be needed by the unix instance of the group
Luke Leighton [Thu, 3 Dec 1998 17:41:14 +0000 (17:41 +0000)]
moved get_unixgroups it will be needed by the unix instance of the group
DB API

23 years agojean-f spotted race condition on generation of sam sid, from starting
Luke Leighton [Thu, 3 Dec 1998 17:38:20 +0000 (17:38 +0000)]
jean-f spotted race condition on generation of sam sid, from starting
nmbd and smbd.  nmbd is now client: smbd is solely responsible for
creating sam_name.SID

23 years agojean-f spotted bug in test for existence of MACHINE.SID and SAM_NAME.SID.
Luke Leighton [Thu, 3 Dec 1998 17:34:05 +0000 (17:34 +0000)]
jean-f spotted bug in test for existence of MACHINE.SID and SAM_NAME.SID.

23 years agoadding group parsing: add/modify/delete/add members.
Luke Leighton [Thu, 3 Dec 1998 17:29:03 +0000 (17:29 +0000)]
adding group parsing: add/modify/delete/add members.

23 years agojeremy's going to do me in, again.
Luke Leighton [Wed, 2 Dec 1998 22:48:00 +0000 (22:48 +0000)]
jeremy's going to do me in, again.
jean-francois' going to get annoyed, again.
andrew's going to threaten to take cvs access away, again.

missed compilation of this file when updating sam_unknown_12 call.

23 years agoupdating smb.conf from yodl
Luke Leighton [Wed, 2 Dec 1998 22:37:29 +0000 (22:37 +0000)]
updating smb.conf from yodl

23 years agospotted the mistake in group_info1 parsing.
Luke Leighton [Wed, 2 Dec 1998 22:13:48 +0000 (22:13 +0000)]
spotted the mistake in group_info1 parsing.

23 years agoadded rid and sid_name_use to DOMAIN_GRP_MEMBER, for use in group member
Luke Leighton [Wed, 2 Dec 1998 22:05:56 +0000 (22:05 +0000)]
added rid and sid_name_use to DOMAIN_GRP_MEMBER, for use in group member
query.

domain groups now work, hurrah!  only thing is that the description is
one character long, don't know why (which is wierd in itself).

23 years agoERRmoredata is an acceptable error code, it is not an error.
Luke Leighton [Wed, 2 Dec 1998 20:03:08 +0000 (20:03 +0000)]
ERRmoredata is an acceptable error code, it is not an error.

23 years agoremoved check on name of domain having to be right, etc etc.
Luke Leighton [Wed, 2 Dec 1998 16:27:38 +0000 (16:27 +0000)]
removed check on name of domain having to be right, etc etc.

23 years agotrailing backslashes spotted by andrej.
Luke Leighton [Wed, 2 Dec 1998 16:21:25 +0000 (16:21 +0000)]
trailing backslashes spotted by andrej.

23 years agoissues spotted by andrej: %s\\%s not %s\%s
Luke Leighton [Wed, 2 Dec 1998 16:20:36 +0000 (16:20 +0000)]
issues spotted by andrej: %s\\%s not %s\%s

23 years agostring_to_sid was using next_token() this is bad as it stops you from
Luke Leighton [Wed, 2 Dec 1998 16:01:40 +0000 (16:01 +0000)]
string_to_sid was using next_token() this is bad as it stops you from
being able to use next_token() outside of string_to_sid calls.
use strchr instead

23 years agoUpdated HEAD branch version to 2.1.0-prealpha in response to a user
John Terpstra [Wed, 2 Dec 1998 13:20:18 +0000 (13:20 +0000)]
Updated HEAD branch version to 2.1.0-prealpha in response to a user
complaint about confusion because both the HEAD and SAMBA_2_0 reported
the same version info.

23 years agoadding group member code, made a start. found that the group members'
Luke Leighton [Wed, 2 Dec 1998 01:13:02 +0000 (01:13 +0000)]
adding group member code, made a start.  found that the group members'
rid is needed not the name (see DOMAIN_GRP_MEMBER) decided to go home.

23 years agook. unix-nt mapping code issues
Luke Leighton [Tue, 1 Dec 1998 23:51:17 +0000 (23:51 +0000)]
ok.  unix-nt mapping code issues

need to check, when looking up group members, that a group member is
a unix user [being mapped to an nt user] FIRST then if that fails
check that a group member is a unix group [being mapped to an nt group].

why?  because you can have group names in a unix /etc/group file with
the same name as users.

this _might_ be a problem...

23 years agocheck server role before doing nt user to unix user mapping
Luke Leighton [Tue, 1 Dec 1998 22:39:33 +0000 (22:39 +0000)]
check server role before doing nt user to unix user mapping

23 years agoquery_aliasmem code. it works (hurrah).
Luke Leighton [Tue, 1 Dec 1998 22:18:48 +0000 (22:18 +0000)]
query_aliasmem code.  it works (hurrah).

23 years agofixing smbpasswd to link to smbd to obtain domain sid
Luke Leighton [Tue, 1 Dec 1998 19:34:58 +0000 (19:34 +0000)]
fixing smbpasswd to link to smbd to obtain domain sid

23 years agorpc_samr.h parse_samr.c srv_samr.c :
Luke Leighton [Tue, 1 Dec 1998 19:10:44 +0000 (19:10 +0000)]
rpc_samr.h parse_samr.c srv_samr.c :

samr_query_aliasmembers (cool!)

util_pwdb.c sids.c nmbd.c server.c smbpasswd.c swat.c :

pwdb_initialise(BOOL is_server) now creates / reads DOMAIN_NAME.SID
if is_server is True, and does LsaQueryInfoPolicy(levels 3 and 5)
to obtain member and pdc sids.

23 years agoandrej spotted that entries _not_ in domain map user were being refused.
Luke Leighton [Tue, 1 Dec 1998 18:24:23 +0000 (18:24 +0000)]
andrej spotted that entries _not_ in domain map user were being refused.
modified map_nt_and_unix_names() to never refuse a mapping (returns void
now not BOOL).

23 years agohm. removed the "if failed to map nt name to unix name, fail tcon call"
Luke Leighton [Tue, 1 Dec 1998 16:41:34 +0000 (16:41 +0000)]
hm.  removed the "if failed to map nt name to unix name, fail tcon call"
restriction and "domain user map" seems to work.

amazing.

23 years agofix to domain_namemap (domain, ntname wrong way round oops)
Luke Leighton [Tue, 1 Dec 1998 16:22:09 +0000 (16:22 +0000)]
fix to domain_namemap (domain, ntname wrong way round oops)

stupid compile errors with file_rename() call just created.

23 years agoadding some samr parsing calls (group / alias adding / deleting)
Luke Leighton [Tue, 1 Dec 1998 16:04:24 +0000 (16:04 +0000)]
adding some samr parsing calls (group / alias adding / deleting)

added code that moves MACHINE.SID to DOMAIN_NAME.SID if it exists.

23 years agoattempting to fix "domain user map" up, but it's a bit complicated.
Luke Leighton [Mon, 30 Nov 1998 22:42:13 +0000 (22:42 +0000)]
attempting to fix "domain user map" up, but it's a bit complicated.
i may simply go for a response in the NetSamLogon returning the
unix username, forcing the NT user to appear to be a unix user,
however even that is fraught with implications.

might just have to go the whole hog and do this tuple thing,
"unix_name + nt_name" always associated together...

issue with api_net_sam_logon, getsam21pwent() being called twice,
the second time overwriting static buffer data (argh) so had to
make a copy.

noticed a nested "become_root()"/"unbecome_root()" which will have
to be tracked down...

23 years agopassdb.c now calls getpwnam() which returns results in a static buffer.
Luke Leighton [Mon, 30 Nov 1998 20:42:49 +0000 (20:42 +0000)]
passdb.c now calls getpwnam() which returns results in a static buffer.
a call _outside_ of this was _also_ calling getpwnam.   the calls to
getsmbpwnam() were therefore overwriting the static buffer.

23 years agopwdb_initialise() in the wrong place: must load smb.conf first. thanks phil.
Luke Leighton [Mon, 30 Nov 1998 19:29:32 +0000 (19:29 +0000)]
pwdb_initialise() in the wrong place: must load smb.conf first.  thanks phil.

23 years agomissed out endit()s, ta andrej.
Luke Leighton [Mon, 30 Nov 1998 19:15:02 +0000 (19:15 +0000)]
missed out endit()s, ta andrej.

23 years ago Earlier fix for smbmount timing window was the wrong patch.
Michael Warfield [Mon, 30 Nov 1998 18:06:29 +0000 (18:06 +0000)]
Earlier fix for smbmount timing window was the wrong patch.
My bad...  Earlier one was the patch from the CIFS conference that
didn't work, this fixes...

23 years agomoving rpc/rpc.h to after netinet.h
Luke Leighton [Mon, 30 Nov 1998 17:55:46 +0000 (17:55 +0000)]
moving rpc/rpc.h to after netinet.h

23 years agoanother attempt at a fix on connect_serverlist()...
Luke Leighton [Mon, 30 Nov 1998 16:00:27 +0000 (16:00 +0000)]
another attempt at a fix on connect_serverlist()...

23 years agobuiltin alias password API
Luke Leighton [Mon, 30 Nov 1998 15:42:40 +0000 (15:42 +0000)]
builtin alias password API

23 years agoandrej spotted problem with connect_serverlist (starts off assuming
Luke Leighton [Mon, 30 Nov 1998 15:32:15 +0000 (15:32 +0000)]
andrej spotted problem with connect_serverlist (starts off assuming
a connection succeeds...).

23 years ago- adding builtin[alias]db.
Luke Leighton [Mon, 30 Nov 1998 15:08:58 +0000 (15:08 +0000)]
- adding builtin[alias]db.

- lib/sids.c:

generate_sam_sid() modified to take a domain name: it now
generates "DOMAIN_NAME.SID".  reasons:

1) if you run multiple samba servers on the same machine
under different netbios names as members of a domain,
they won't all use the same SID, which is a _big_ mistake
but it would happen _by default_.

2) we have (had) a problem with sid_to_string() and string_to_sid()
which cause SIDs to be incorrectly read.  one of the major
reasons for *NOT* making this change was so as not to disrupt
existing users.  but as they will be anyway by this bug,
we might as well go ahead.

- passdb/smbpass.c:

wanted to change the meaning of the name in the smbpasswd
file to an "nt" name not a "unix" name.  this is probably
not a good idea: reverted this.

- output formatting / bug-fixing in rpcclient query_useraliases code.

23 years agoupdated smb.conf - have not done a yodl2xxx.
Luke Leighton [Mon, 30 Nov 1998 15:02:17 +0000 (15:02 +0000)]
updated smb.conf - have not done a yodl2xxx.

23 years agocvs getting it wrong. again.
Luke Leighton [Sun, 29 Nov 1998 20:16:20 +0000 (20:16 +0000)]
cvs getting it wrong.  again.

23 years agoenabling optimisation switches on some compiler warnings
Luke Leighton [Sun, 29 Nov 1998 20:08:04 +0000 (20:08 +0000)]
enabling optimisation switches on some compiler warnings

23 years ago"retired" two modules to preserve their cvs history.
Luke Leighton [Sun, 29 Nov 1998 20:06:52 +0000 (20:06 +0000)]
"retired" two modules to preserve their cvs history.
added their replacements, added sam password database API modules

23 years agoweekend work. user / group database API.
Luke Leighton [Sun, 29 Nov 1998 20:03:33 +0000 (20:03 +0000)]
weekend work.  user / group database API.

- split sam_passwd and smb_passwd into separate higher-order function tables

- renamed struct smb_passwd's "smb_user" to "unix_user".  added "nt_user"
plus user_rid, and added a "wrap" function in both sam_passwd and smb_passwd
password databases to fill in the blank entries that are not obtained
from whatever password database API instance is being used.

NOTE: whenever a struct smb_passwd or struct sam_passwd is used, it MUST
be initialised with pwdb_sam_init() or pwd_smb_init(), see chgpasswd.c
for the only example outside of the password database APIs i could find.

- added query_useraliases code to rpcclient.

- dealt with some nasty interdependencies involving non-smbd programs
and the password database API.  this is still not satisfactorily
resolved completelely, but it's the best i can do for now.

- #ifdef'd out some password database options so that people don't
mistakenly set them unless they recompile to _use_ those options.

lots of debugging done, it's still not finished.  the unix/NT uid/gid
and user-rid/group-rid issues are better, but not perfect.  the "BUILTIN"
domain is still missing: users cannot be added to "BUILTIN" groups yet,
as we only have an "alias" db API and a "group" db API but not "builtin-alias"
db API...

23 years agoremoved include of net/route.h because it prevents compilation under
Andrew Tridgell [Sun, 29 Nov 1998 09:29:24 +0000 (09:29 +0000)]
removed include of net/route.h because it prevents compilation under
SCO 3.2 (including it also requires lots of streams stuff, making it a
total mess).

If this causes problems on some other platform then please add a
comment stating what platform and why the include is needed so we can
work out how to test for it properly.

23 years agodon't allow ".." in service name when doing "default service"
Andrew Tridgell [Sun, 29 Nov 1998 06:23:16 +0000 (06:23 +0000)]
don't allow ".." in service name when doing "default service"
processing.

23 years agoFixed typo. "Browsable is an acronym for browseable.
John Terpstra [Sat, 28 Nov 1998 03:01:32 +0000 (03:01 +0000)]
Fixed typo. "Browsable is an acronym for browseable.

23 years agoNow uninstalls man pages from correct source location.
Tim Potter [Fri, 27 Nov 1998 21:32:08 +0000 (21:32 +0000)]
Now uninstalls man pages from correct source location.
Fix by Andrej Borsenkow <borsenkow.msk@sni.de>

23 years agomake the help links appear in a separate window, so you can read the
Andrew Tridgell [Fri, 27 Nov 1998 06:36:56 +0000 (06:36 +0000)]
make the help links appear in a separate window, so you can read the
docs and do configuration at the same time.

23 years ago- removed smb.conf.5.html as it now comes as part of htmldocs
Andrew Tridgell [Fri, 27 Nov 1998 06:11:03 +0000 (06:11 +0000)]
- removed smb.conf.5.html as it now comes as part of htmldocs
- changed swat welcome screen to have links to all Samba html docs instead
  of just singing the praises of swat :)

23 years agobetter layout of password options.
Andrew Tridgell [Fri, 27 Nov 1998 06:09:25 +0000 (06:09 +0000)]
better layout of password options.

23 years agoinstall all html docs in yodl help directory
Andrew Tridgell [Fri, 27 Nov 1998 06:09:03 +0000 (06:09 +0000)]
install all html docs in yodl help directory

23 years agore-ran yodl
Andrew Tridgell [Fri, 27 Nov 1998 06:04:28 +0000 (06:04 +0000)]
re-ran yodl

23 years agogot rid of a dangerous message command example
Andrew Tridgell [Fri, 27 Nov 1998 05:15:55 +0000 (05:15 +0000)]
got rid of a dangerous message command example

23 years agoReplaced ZERO_STRUCT() with ZERO_STRUCTP() in cli_connect_serverlist().
Tim Potter [Thu, 26 Nov 1998 06:35:25 +0000 (06:35 +0000)]
Replaced ZERO_STRUCT() with ZERO_STRUCTP() in cli_connect_serverlist().
Fix by Matt Chapman <m.chapman@student.unsw.edu.au>

23 years agoupdated SWAT README to remove cgi-bin instructions
Andrew Tridgell [Thu, 26 Nov 1998 04:18:11 +0000 (04:18 +0000)]
updated SWAT README to remove cgi-bin instructions

23 years agowe have a problem: resolution of "Primary Group RID" which we assumed
Luke Leighton [Thu, 26 Nov 1998 00:48:31 +0000 (00:48 +0000)]
we have a problem: resolution of "Primary Group RID" which we assumed
would only be a domain group rid.  it can also be a local group rid,
which causes us problems in attempting to turn a unix gid into the
correct rid (domain group or local group).

sooo.... the fix is _in_ there, we just can't use it because it causes
link / knock-on problems in nmbd.

23 years agoyeehaah got users to be included in S-1-5-xxx-yyy-zzz's local groups.
Luke Leighton [Wed, 25 Nov 1998 23:54:30 +0000 (23:54 +0000)]
yeehaah got users to be included in S-1-5-xxx-yyy-zzz's local groups.
now need search capability on S-1-5-20, which will need argh, a
"group database API" on S-1-5-20, and the ability to add BUILTIN\Admins
etc to "local group map" argh.

23 years agofixing group database issues
Luke Leighton [Wed, 25 Nov 1998 23:11:25 +0000 (23:11 +0000)]
fixing group database issues

23 years agoMakefile.in: Added maintainer mode fixes.
Jeremy Allison [Wed, 25 Nov 1998 21:17:20 +0000 (21:17 +0000)]
Makefile.in: Added maintainer mode fixes.
aclocal.m4: Added AC_LIBTESTFUNC.
configure.in: Fixed -lsecurity -lsec problems.
client.c: dos_ fixes.
groupdb/aliasunix.c: Dead code removal.
include/includes.h: Added default PRINTCAP_NAME.
lib/genrand.c: dos_ fixes.
lib/replace.c: Added strtoul.
lib/system.c: dos_ fixes.
lib/util.c: dos_ fixes.
lib/util_sid.c: Signed/unsigned fixes.
lib/util_str.c: removed bad const.
locking/locking_slow.c: dos_ fixes.
printing/printing.c: dos_ fixes.
rpc_server/srv_samr.c: Dead code removal.
rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN !
smbd/dir.c: dos_ fixes.
smbd/open.c: dos_ fixes.
smbd/oplock.c: dos_ fixes.
smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes.

Jeremy.

23 years agoLsaLookupNames client call (first used as lookupnames command in rpcclient).
Luke Leighton [Wed, 25 Nov 1998 19:57:04 +0000 (19:57 +0000)]
LsaLookupNames client call (first used as lookupnames command in rpcclient).

23 years agoadded file from 2.0 branch
Herb Lewis [Wed, 25 Nov 1998 18:11:42 +0000 (18:11 +0000)]
added file from 2.0 branch

23 years agofixing domain join and domain login problems
Luke Leighton [Wed, 25 Nov 1998 14:54:23 +0000 (14:54 +0000)]
fixing domain join and domain login problems

23 years agoclearer debug comments
Luke Leighton [Tue, 24 Nov 1998 18:58:56 +0000 (18:58 +0000)]
clearer debug comments

23 years agooops, forgot to rename smbfilegrp to smbunixgrp.
Luke Leighton [Tue, 24 Nov 1998 18:43:59 +0000 (18:43 +0000)]
oops, forgot to rename smbfilegrp to smbunixgrp.

23 years agoupdated from yodl
Luke Leighton [Tue, 24 Nov 1998 17:21:12 +0000 (17:21 +0000)]
updated from yodl

23 years agoadded "domain group map" and "local group map" explanations.
Luke Leighton [Tue, 24 Nov 1998 17:18:07 +0000 (17:18 +0000)]
added "domain group map" and "local group map" explanations.

23 years agosorting out difference between aliases and groups in the cases where
Luke Leighton [Tue, 24 Nov 1998 16:47:49 +0000 (16:47 +0000)]
sorting out difference between aliases and groups in the cases where
unix groups are not explicitly mapped.

i.e as a PDC or BDC you can have domain groups, as a member of a domain
you cannot.

as a member of a domain, unmapped unix groups are assumed to be aliases,
and as a PDC or BDC, unmapped unix groups are assumed to be unix groups.

there is _one_ other check needed with aliases to be added: unmapped unix
groups that have the same name as an NT group on the PDC (for which i will
need to write an LsaLookupNames call) should be assumed to be domain groups
on the PDC.

23 years agojean-francois pointed out problem with "lp_domain_role()" code, you
Luke Leighton [Tue, 24 Nov 1998 14:42:42 +0000 (14:42 +0000)]
jean-francois pointed out problem with "lp_domain_role()" code, you
could never be a PDC.

23 years agoinitialise not initialize...
Luke Leighton [Tue, 24 Nov 1998 14:36:49 +0000 (14:36 +0000)]
initialise not initialize...

23 years agoFixed oplock test path spec bug.
Jeremy Allison [Tue, 24 Nov 1998 00:40:27 +0000 (00:40 +0000)]
Fixed oplock test path spec bug.
Jeremy.

23 years agoFixed -Wall -Wshadow warning.
Jeremy Allison [Mon, 23 Nov 1998 23:55:33 +0000 (23:55 +0000)]
Fixed -Wall -Wshadow warning.
Jeremy.

23 years agouninitialised counter
Luke Leighton [Mon, 23 Nov 1998 23:44:09 +0000 (23:44 +0000)]
uninitialised counter

23 years agoyp_prot.h and ypclnt.h correct: ypprot.h and yp_clnt.h wrong...
Luke Leighton [Mon, 23 Nov 1998 23:29:07 +0000 (23:29 +0000)]
yp_prot.h and ypclnt.h correct: ypprot.h and yp_clnt.h wrong...

23 years agore-added ypprot.h and yp_clnt.h
Luke Leighton [Mon, 23 Nov 1998 23:09:26 +0000 (23:09 +0000)]
re-added ypprot.h and yp_clnt.h

23 years agore-added includes for yp_prot.h and yp_clnt.h
Luke Leighton [Mon, 23 Nov 1998 23:07:38 +0000 (23:07 +0000)]
re-added includes for yp_prot.h and yp_clnt.h

23 years agoget rid of __wait boring warning, caused by rpc/clnt.h
Luke Leighton [Mon, 23 Nov 1998 23:02:16 +0000 (23:02 +0000)]
get rid of __wait boring warning, caused by rpc/clnt.h

23 years agocvs being STUPID
Luke Leighton [Mon, 23 Nov 1998 22:45:36 +0000 (22:45 +0000)]
cvs being STUPID

23 years agoremove unused variable
Luke Leighton [Mon, 23 Nov 1998 22:33:08 +0000 (22:33 +0000)]
remove unused variable

23 years agounused variable removed
Luke Leighton [Mon, 23 Nov 1998 22:21:19 +0000 (22:21 +0000)]
unused variable removed

23 years agocvs being STUPID
Luke Leighton [Mon, 23 Nov 1998 22:16:37 +0000 (22:16 +0000)]
cvs being STUPID

23 years agocvs is acting wierd.
Luke Leighton [Mon, 23 Nov 1998 22:07:05 +0000 (22:07 +0000)]
cvs is acting wierd.

23 years agosomeone had added code to convert rids to rids, assuming that the rids
Luke Leighton [Mon, 23 Nov 1998 22:04:23 +0000 (22:04 +0000)]
someone had added code to convert rids to rids, assuming that the rids
in the file were gids: they are not.

23 years agoremove / add / attempt to stop remove didn't work.
Luke Leighton [Mon, 23 Nov 1998 21:54:19 +0000 (21:54 +0000)]
remove / add / attempt to stop remove didn't work.

23 years agounix instance of group database API
Luke Leighton [Mon, 23 Nov 1998 21:51:05 +0000 (21:51 +0000)]
unix instance of group database API