search for: smb_vwv2

Displaying 6 results from an estimated 6 matches for "smb_vwv2".

Did you mean: smb_vwv
1998 Aug 31
1
samba error message - "broken (and insecure) behavior"
...y setting the guest bit. We * need to detect this as some versions of NT4.x are broken. JRA. */ if (cli_session_setup(&cli, user, (char *)badpass, sizeof(badpass), (char *)badpass, sizeof(badpass), domain)) { if ((SVAL(cli.inbuf,smb_vwv2) & 1) == 0) { DEBUG(0,("server_validate: password server %s allows users as non-guest \ with a bad password.\n", cli.desthost)); DEBUG(0,("server_validate: This is broken (and insecure) behaviour. Please do not \ use this machine as the password server.\n&...
2002 Mar 15
1
disabling offline caching from samba
I'm preparing to roll out a bunch of win XP clients and and am running down all the quirks that come up in the application log on my test box. 1) AutoEnrollement fails - samba is not an active directory so this makes sense it must be disabled by editing the group policy with gpedit.msc computer configuration->windows settings -> security settings -> public key policies ->
2011 Apr 04
1
samba 3.2.5 PDC guest access lost
Hi all, I had linux samba 3.0.10 running as PDC of my domain which does only authentication for other linux samba boxes which are providing access to shares. After upgrade of PDC to Debian Lenny + samba 3.2.5 I've lost guess access to the shares which are run by samba 3.0.x boxes, while it works on samba 3.2.5 samba box. the scheme is like following :
1998 Mar 12
0
Code to check Password Server Group Memberships
...ls,1); send_smb(password_client,outbuf); ret = receive_smb(password_client,inbuf,5000); if (!ret || CVAL(inbuf,smb_rcls) != 0) { DEBUG(1,("password server %s rejected the password\n",pserver)); return(False); } /* if logged in as guest then reject */ if ((SVAL(inbuf,smb_vwv2) & 1) != 0) { DEBUG(1,("password server %s gave us guest only\n",pserver)); return(False); } /* Do we have a user */ if(user && *user) { int ulen; uchar *p; struct passwd *pw; char ato[40]; /* As a part of password server group...
2003 Dec 01
0
No subject
...%ld\n", DENTRY_PATH(dentry), diff -urN -X exclude linux-2.2.20-pre2-orig/fs/smbfs/proc.c linux-2.2.20-pre2-smbfs/fs/smbfs/proc.c --- linux-2.2.20-pre2-orig/fs/smbfs/proc.c Sun Apr 29 13:39:23 2001 +++ linux-2.2.20-pre2-smbfs/fs/smbfs/proc.c Thu May 24 22:46:03 2001 @@ -890,8 +890,6 @@ /* smb_vwv2 has mtime */ /* smb_vwv4 has size */ ino->u.smbfs_i.access = (WVAL(server->packet, smb_vwv6) & SMB_ACCMASK); - if (!(wish & (O_WRONLY | O_RDWR))) - ino->u.smbfs_i.access = SMB_O_RDONLY; ino->u.smbfs_i.open = server->generation; out: Return-Path: <Konfuzius73@t-...
2003 Dec 01
0
No subject
...nd_X(connection_struct *conn, char *inbuf,char *outbuf,int length,int bufsize) { /*added to support sendfile start */ int outsize; off_t sbytes; struct sf_hdtr smb_sf_hdtr; struct iovec smb_hdr[1]; int smb_com2; /*added to support sendfile end */ files_struct *fsp = file_fsp(inbuf,smb_vwv2); SMB_OFF_T startpos = IVAL(inbuf,smb_vwv3); size_t smb_maxcnt = SVAL(inbuf,smb_vwv5); size_t smb_mincnt = SVAL(inbuf,smb_vwv6); ssize_t nread = -1; char *data; START_PROFILE(SMBreadX); /* If it's an IPC, pass off the pipe handler. */ if (IS_IPC(conn)) { END_PROFILE(SMBread...