similar to: source/client/client.c : redundant calls to getenv()

Displaying 20 results from an estimated 900 matches similar to: "source/client/client.c : redundant calls to getenv()"

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 Sep 08
0
security bug in 2.4.1
A bit of context for the SAMBA mailing list: Amanda <URL:http://www.amanda.org> is a distributed back up software that can be used to back up M$Win shares, using smbclient. Some Amanda users have complained that the password to access shares can be obtained by running `ps', and we're trying to figure out a way to fix this problem. The PASSWD environment variable won't do,
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
2003 May 19
0
[PATCH] getpwnam() implementation in tftpd.c
Hi, This patch implements a minimal getpwnam() function in tftpd.c. The reason for the patch is that I needed tftpd to work in my embedded system, which are without libnss*. The patch has been tested, and works for me. Please consider it. Best regards, jules -- Jules Colding <JuBColding at yorkref.com> York Refrigeration diff -urN tftp-hpa-0.34.orig/tftpd/Makefile
2004 Aug 30
1
User Auth problems
Hi ! Problem: Auth doesn't work, can't figure out why :( More precisely: setup: dovecot 0.99.10.9 pop3 only Userdb + Passwd via passwd-file. Anything plaintext. (communication client server, passwords in passwd-file, well, for first tests non public server... if I get it working, I'll try better ways - of course) non standard parts of my config: protocols = pop3 ssl_disable = yes
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 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
1998 Mar 12
0
Code to check Password Server Group Memberships
I am not a member of the samba listserv, but I wanted to contribute the following code to the samba effort. The following is clipped from some experimental changes I have made to my own copy of the samba source. I have not included all of the changes because I don't have the time to. But someone should be able to properly do the integration without too much effort. Summary, these
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 =
1998 Oct 20
0
I found some code that isn't multibyte safe
Jeremy, Ok... now the next question. Will this change cause 1.9.18p11 to be released or is it something that will wait? I'm just asking b/c I want to include it on a new japanese product that's close to going out the door. -john. --------------------------------------------------------------------- John D. Blair jdblair@cobaltnet.com Software
2001 Nov 06
0
[PATCH] nomtab support
This patch was sent to me by Urban Widmark <urban@teststation.com> (thanks Urban!). It allows me to mount remote Win shares to my Linux box automatically. I'm using kernel automounter. The problem was that I have a ro root fs and my /etc/mtab isn't writable (symlinked to /proc/mounts). Patch adds -n and -o nomtab options for smbmount. -o nomtab was particularly useful for me. I
1998 Dec 02
1
smbmounted shares don't stay mounted
I'm running Linux 2.1.130 on an AXP, with Samba 2.0 beta 2. I have smbfs enabled in the kernel with Win 95 bug fixes enabled but I'm not running smbd. The server containing the share is an HP running Samba 1.9.16p11. I mount the share with smbmount //hpname/share -c 'mount /home/me/mydir' All is well for a while (~1 hour), but then I get kernel: smb_get_length: recv error = 5
2003 Oct 08
4
OS/390 openssh
Hello Steve, Hello OpenSSH-portable developers, I am building OpenSSH for our (EBCDIC-based) BS2000 mainframe operating system, and I noticed you do the same for OS/390. Because my initial ssh port was based on IBM's OSS port (ssh-1.2.2 or some such), I thought it was fair enough to help with a little co-operation; we might come up with a unified EBCDIC patch which could be contributed to
2020 Jun 05
1
Cannot log in to IMAP server and logs are unclear as to why
Hi Aki, Again, thanks very much for your response. Your solution of adding the colons worked. Actually, I futzed with it a little bit and it works with as few as 2 added colons. This is interesting since in the examples section of https://doc.dovecot.org/configuration_manual/authentication/passwd_file/ it explicitly states: ----------------------- This file can be used as a passdb:
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
2008 Jul 28
2
DO NOT REPLY [Bug 5637] New: Match case issue on ext3fs and ARM platform
https://bugzilla.samba.org/show_bug.cgi?id=5637 Summary: Match case issue on ext3fs and ARM platform Product: rsync Version: 3.0.3 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: bugzilla@substring.ch
2020 Oct 29
0
dovecot quota-warning detection mail
Very good. See https://doc.dovecot.org/configuration_manual/authentication/passwd_file/ You can add the "user" field as an "extra field" In users.auth, just add in the end "user=bbbb-ccc at ddd.example.com" to match the respective entry in /etc/dovecot/users Good luck! On 10/29/20 2:02 PM, ?? ?? wrote: > OK. "passdb/userdb" Setting part > > $
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