search for: pstrcpi

Displaying 20 results from an estimated 73 matches for "pstrcpi".

Did you mean: pstrcpy
1998 Jul 22
0
BUG-with-fix: smbclient ignores WORKGROUP= in smb.conf
I recently upgraded to 18p8 from 16p11 and found that smbclient now needed a -W in order to connect properly to our domain (which was not the name supplied with the -DWORKGROUP= from the make). Turns out that clientutil.c always uses the value specified by the WORKGROUP macro and never calls lp_workgroup() to get the value specified in the smb.conf file, unless WORKGROUP is "".
1998 Nov 24
0
source/client/client.c : redundant calls to getenv()
Another small problem in 2.0.0beta2: around line 1968, getenv() is called three times, with the same argument. The glibc manual says the memory zone returned by getenv() may be clobbered on non-glibc systems by other calls to getenv(), but there are no such calls in-between. I suggest to modify this code as : line 1924 : char *p, *user; line 1968 : if ((user=getenv("USER")) {
2003 Mar 01
1
samba 2.2.8pre2 changelog
Hi, I read the changelog, and couldn't help noticing this: Changes since 2.2.8pre1 ----------------------- 8) Always use safe_strcpy not pstrcpy for malloc()'d strings 25) Merge from HEAD. Use pstrcpy not safe_strcpy. Did this change get reverted intentionally ? regards, Derkjan de Haan
2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0452: Potential DoS against smbd in Samba 3.0.6 - 3.0.23d
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ========================================================== == == Subject: Potential Denial of Service bug in smbd == CVE ID#: CVE-2007-0452 == == Versions: Samba 3.0.6 - 3.0.23d (inclusive) == == Summary: A logic error in the deferred open code == can lead to an infinite loop in smbd ==
2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0452: Potential DoS against smbd in Samba 3.0.6 - 3.0.23d
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ========================================================== == == Subject: Potential Denial of Service bug in smbd == CVE ID#: CVE-2007-0452 == == Versions: Samba 3.0.6 - 3.0.23d (inclusive) == == Summary: A logic error in the deferred open code == can lead to an infinite loop in smbd ==
2002 Mar 15
0
logon home with ldap under win98
Hello, I hope this is the correct place for this mail... I have found that samba-2.2.3a (--with-ldapsam) gives the correct logon home for win2k, but not for win98. Obviously the two systems request the information in a different way. For win98 machines, in lanman.c, the information is taken only from smb.conf, and not from ldap (or other backends). I have attached a small patch that yields
2003 Apr 13
1
disabling version number
Hi there, is there any possibility of disabling Samba's version number output (e.g. with smbclient) without having to manually edit it in the source code? I don't want anyone to see my Samba's version number... Thanks Florian
2000 Jan 30
0
More checks for param/loadparm.c
Here's a second set of diffs for sanity-checking smb.conf files. This one implements a basic set of checks on netbios names. No, it won't recognize someone using an ip address, but it will realize the dots don't belong: $ testparm Load smb config files from /usr/local/samba/lib/smb.conf WARNING: netbios name "127.0.0.1" contained a dot, which is only legal in DNS domain
2007 Jun 06
3
string overflow in rpcclient add "printer" driver command
Hello, I get the folowing error msg in rpcclient -c 'adddriver' command: ERROR: string overflow by 1 (1024 - 1023) in safe_strcpy [adddriver "Windows NT x86" "My Driver Name 001:aaa] Printer Driver My Driver Name 001 successfully installed. My command is like this: rpcclient MYSRV -s /etc/samba/smb.conf -A auth.txt -c 'adddriver "Windows NT x86" "My
2002 Feb 14
2
Samba 2.2.3a w/NISPLUS
hi i downloaded samba 2.2.3a and am trying to compile it with NISPLUS support, but the compile bombs in the same place on 2 systems (1 debian gnu/linux 3.0 and the other solaris 7/sparc): Compiling passdb/pdb_nisplus.c passdb/pdb_nisplus.c:346: macro `pstrcpy' used with too many (3) args make: *** [passdb/pdb_nisplus.o] Error 1 i am configuring with these options on debian: ./configure
2002 Jun 27
2
Samba 2.2.5 Recycle Bin file permissions
Using Samba 2.2.5 on FreeBSD 4.5. We have a file share used by several people working on common projects. The share is set up with force group = cad create mask = 0774 force create mode = 0774 directory mask = 0775 force directory mode = 0775 so that everyone can create/modify any file in the share. The new VFS recycle bin, however, sets the file
1998 Aug 20
0
macro subsitution inconsistancies
I'm having a problem with 1.9.18p7 (and I've checked the sources for 1.9.18p8 and the ntdom branch also, so I suspect the problem exists for those builds also). I want to have certain shares show up and configurations happen depending on the user name, so I've defined parameters in /etc/smb-confs/smb.conf.USERNAME, like so: /etc/smb-confs/smb.conf.abakun: [onlyabakun] blah =
2002 Jul 09
1
PATCH: Performance improvement for parameterised include path names
I posted last week regarding a bug in the way that smb was re-reading our config files every 60 seconds even though the files were not changing. As a result we had 396 smbd processes trying to read three files at the same moment with the obvious load average. The reason that all the smbd's were running at the same moment is because the smbd's read the config files every 60 seconds
2008 Dec 30
3
Samba 3.2.5 and vscan-clamav.so
Hello Recently I migrated from samba 3.0.24 to samba 3.2.5 on Debian etch amd64. In old system I have working samba-vscan used with ClamAV 0.91. Now I have ClamAV 0.94.2. I compiled vscan-clamav successfully, but when I try to connect to the share, it fails and I get some strange messages in the samba logs: "Error trying to resolve symbol 'init_samba_module' in
2000 Jan 05
1
Signal 11 in attempt_netbios_session_request
> I have just upgraded to Samba 2.0.6 and can no longer connect to Samba > shares on my FreeBSD 3.4-RELEASE machine. When I attempt to connect, the > smb.log contains the following information: > > [2000/01/04 17:54:42, 3] libsmb/namequery.c:resolve_lmhosts(566) > resolve_lmhosts: Attempting lmhosts lookup for name > NTWEB2.AIS.MSU.EDU<0x20> > [2000/01/04
2000 Jan 28
1
PATCH: 'source environment' param and % token subs for 'netbios name'
Attached please find unified diffs against Samba 2.0.6. I'm hoping that others will find it useful and that it may even find its way into Samba 2.0.7 This patch does two things: - Modifies the handling of the 'netbios name' parameter so that standard_sub_basic() is run on its value when the 'netbios name' parameter is processed. This has to be done this way because
2012 Jul 24
2
[PATCH 0/2] vhost-scsi: Check for tcm_vhost ABI version
From: Nicholas Bellinger <nab at linux-iscsi.org> Hi Anthony, Here are the two patches against Zhi's vhost-scsi tree to check for a supported version (VHOST_SCSI_ABI_VERSION=1) that's now exposed via the tcm_vhost ioctl. Please have a look and let me know if this is what you had in mind. Thanks! Nicholas Bellinger (2): vhost-scsi: Rename vhost_vring_target ->
2012 Jul 24
2
[PATCH 0/2] vhost-scsi: Check for tcm_vhost ABI version
From: Nicholas Bellinger <nab at linux-iscsi.org> Hi Anthony, Here are the two patches against Zhi's vhost-scsi tree to check for a supported version (VHOST_SCSI_ABI_VERSION=1) that's now exposed via the tcm_vhost ioctl. Please have a look and let me know if this is what you had in mind. Thanks! Nicholas Bellinger (2): vhost-scsi: Rename vhost_vring_target ->
2003 Feb 06
1
Samba-2.2.8pre1 available on samba.org mirrors
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 We've just posted a preview release of Samba 2.2.8 on samba.org. This is a non-production release provided for testing only. The final 2.2.8 will only include bug fixes for the 2.2.7a release. The source code can be downloaded from : http://download.samba.org/samba/ftp/pre/ The unpcompressed tarball and patch file have been signed using
2000 Jul 31
0
[patch] smbmount fixes for samba-2.0.7, testers wanted!
Hello all This patch tries to remove a few bugs from smbmount. It would be nice to get some testing+feedback on this from others using smbmount and possibly get these things fixed for the next release of samba. It does the following: * Change lib/debug.c to allow changing your mind on being interactive. A second call to setup_logging should now replace the effects of a previous call. (hmm,