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 | 1aa138922e5c0e4925ff5cbfcdb4e7cad367b31b (patch) | |
tree | 97f6d24aee7bc1b53bb7d3c7d1ad9ce38f88bbee /source3/smbd/server.c | |
parent | 85474e07804f815a74de399654f28a80722449ab (diff) | |
download | samba-1aa138922e5c0e4925ff5cbfcdb4e7cad367b31b.tar.gz samba-1aa138922e5c0e4925ff5cbfcdb4e7cad367b31b.tar.bz2 samba-1aa138922e5c0e4925ff5cbfcdb4e7cad367b31b.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
(This used to be commit ef1af7fe6d5c58ae57b8e4efff0729e1a315da43)
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r-- | source3/smbd/server.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 62ee75db0a..49ce759945 100644 --- a/source3/smbd/server.c +++ b/source3/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}, |