diff options
author | Jeremy Allison <jra@samba.org> | 1998-07-27 18:50:45 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-07-27 18:50:45 +0000 |
commit | ef1af7fe6d5c58ae57b8e4efff0729e1a315da43 (patch) | |
tree | d26c17babfc3e1a655472f02e251a2d5de77c204 /source/smbd/server.c | |
parent | 5ba96ddde4a4b2da2cc09190f5c6f0e633852f12 (diff) | |
download | samba-ef1af7fe6d5c58ae57b8e4efff0729e1a315da43.tar.gz samba-ef1af7fe6d5c58ae57b8e4efff0729e1a315da43.tar.xz samba-ef1af7fe6d5c58ae57b8e4efff0729e1a315da43.zip |
chgpasswd.c: Fixed up debug calls to stop crashes if ptsname failed.
local.h: Kept FSTYPE_STRING as Samba for now.
nmbd_browsesync.c: Added bugfix from Matt Chapman mattyc@cyberdude.com
- lmb_browserlist is now a struct ubi_dlList not a
struct browse_cache_record *.
server.c:
smb.h:
uid.c:
password.c: Removed attrs code - it is not used anywhere.
Jeremy
Diffstat (limited to 'source/smbd/server.c')
-rw-r--r-- | source/smbd/server.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c index 62ee75db0a5..49ce759945b 100644 --- a/source/smbd/server.c +++ b/source/smbd/server.c @@ -3864,13 +3864,12 @@ int make_connection(char *service,char *user,char *password, int pwlen, char *de pcon->ngroups = 0; pcon->igroups = NULL; pcon->groups = NULL; - pcon->attrs = NULL; if (!IS_IPC(cnum)) { /* Find all the groups this uid is in and store them. Used by become_user() */ setup_groups(pcon->user,pcon->uid,pcon->gid, - &pcon->ngroups,&pcon->igroups,&pcon->groups,&pcon->attrs); + &pcon->ngroups,&pcon->igroups,&pcon->groups); /* check number of connections */ if (!claim_connection(cnum, @@ -4235,11 +4234,7 @@ reply for the nt protocol int reply_nt1(char *outbuf) { /* dual names + lock_and_read + nt SMBs + remote API calls */ - int capabilities = CAP_NT_FIND|CAP_LOCK_AND_READ|CAP_RPC_REMOTE_APIS -#ifdef HAVE_NT_SMBS - |CAP_NT_SMBS -#endif /* HAVE_NT_SMBS */ - ; + int capabilities = CAP_NT_FIND|CAP_LOCK_AND_READ|CAP_RPC_REMOTE_APIS |CAP_NT_SMBS; /* other valid capabilities which we may support at some time... @@ -4810,13 +4805,11 @@ struct smb_message_struct {SMBtrans2, "SMBtrans2", reply_trans2, AS_USER }, {SMBtranss2, "SMBtranss2", reply_transs2, AS_USER}, -#ifdef HAVE_NT_SMBS /* NT PROTOCOL FOLLOWS */ {SMBntcreateX, "SMBntcreateX", reply_ntcreate_and_X, AS_USER | CAN_IPC | QUEUE_IN_OPLOCK }, {SMBnttrans, "SMBnttrans", reply_nttrans, AS_USER | CAN_IPC }, {SMBnttranss, "SMBnttranss", reply_nttranss, AS_USER | CAN_IPC }, {SMBntcancel, "SMBntcancel", reply_ntcancel, AS_USER }, -#endif /* HAVE_NT_SMBS */ /* messaging routines */ {SMBsends,"SMBsends",reply_sends,AS_GUEST}, |