Displaying 20 results from an estimated 500 matches similar to: "snprintf, vsnprintf"
2001 Oct 18
2
Incorrect return types for snprintf() and vsnprintf()
Both of these functions are using strlen() to create return value.
Cheers,
Scott Rankin
*** /openbsd-compat/bsd-snprintf.c.orig Thu Oct 18 13:57:51 2001
--- /openbsd-compat/bsd-snprintf.c Thu Oct 18 13:58:26 2001
***************
*** 632,638 ****
#endif /* !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) */
#ifndef HAVE_VSNPRINTF
! int
vsnprintf(char *str, size_t count, const char *fmt,
2003 Apr 08
1
compile 11.00 parisc1.1 32-bit fails - snprintf
I am having trouble compiling rsync 2.5.6 for HPUX 11.00.
The system I am using has a number of patches, although I admit not having
verified that it is completely up to date.
I have found gcc 3.2 and gmake and installed them.
- configure seems to work fine. (my use ./configure
--prefix=/opt/trial/local --with-rsync-path=/opt/trial/local/bin/rsync)
- it finds snprintf and vsnprintf but not C99
2008 Aug 30
2
Strange sender log file characters
Is there a reason I get the following strange characters in my log file?
2008/08/29 19:48:13 [7138] Number of files: 42321
2008/08/29 19:48:13 [7138] Number of files transferred: 78
2008/08/29 19:48:13 [7138] Total file size: +)*)/.+),00//,+)),( bytes
2008/08/29 19:48:13 [7138] Total transferred file size: +)*)/.+),(*0,+-.,0'
bytes
2008/08/29 19:48:13 [7138] Literal data: -+,((0),' bytes
2005 Dec 16
4
[Bug 1133] configure.ac sets wrong BROKEN_ var (snprintf/vsnprintf)
http://bugzilla.mindrot.org/show_bug.cgi?id=1133
Summary: configure.ac sets wrong BROKEN_ var (snprintf/vsnprintf)
Product: Portable OpenSSH
Version: -current
Platform: HPPA
OS/Version: HP-UX
Status: NEW
Severity: major
Priority: P2
Component: Build system
AssignedTo: bitbucket at mindrot.org
2007 Jun 05
1
Samba unable to connect to ldap
Need some help if anyone can provide it on this issue. I have a very basic
setup and am trying to have samba utilize openldap. I have made sure the
password is correct but for whatever reason, I am unable to connect. Here is
a log of what is going on. Any help would be greatly apprecated. TIA
Maximum core file size limits now 16777216(soft) -1(hard)
get_current_groups: user is in 7 groups: 0,
2001 Feb 12
5
SCO OS3 build broken (CVS 01/12/01)
It looks like something got broken in openbsd-compat/bsd-snprintf.c
...
gcc -g -O2 -Wall -Dftruncate=chsize -I/usr/local/include -I/usr/local/ssl/includ
e -I. -I.. -I../src/openbsd-compat -I../src/openbsd-compat/.. -DHAVE_CONFIG_H -c
../src/openbsd-compat/bsd-snprintf.c
In file included from ../src/openbsd-compat/bsd-snprintf.c:72:
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
Has anyone successfully gotten the VFS modules to work under AIX 5.3 and
Samba 3.0.x ?
I have no problem compiling Samba 3.0.x and having it working; but when
I set up a VFS module the following occurs:
1. In the log file I see:
[2005/11/09 15:45:02, 0] lib/fault.c:fault_report(36)
===============================================================
[2005/11/09 15:45:02, 0]
2007 Sep 24
2
Where is the tdbsam password database file?
I'm curious to know where the tdbsam password database file is kept on
my Fedora 7 system. Using the unmodified smb.conf file that shipped
with Fedora 7, I've enabled users using smbpasswd, and successfully
accessed shares. I just can't figure out where the password database
is located:
[root@box ~]# service smb start
[root@box ~]# setsebool samba_enable_home_dirs on
[root@box ~]#
2005 Oct 19
1
samba with ADS. winbindd ignore for user authentication
Hello,
I'm trying to set up samba using ADS for authentication.
I can successfully join the samba machine to the domain. Windows hosts
can "see" the samba machine.
After successfully joining, doing:
# wbinfo -u
shows me ADS-defined users. Same goes for groups.
However, when I try and assign one of those users ownership of a file, I
get:
# chown user1 /tmp/test
chown: test1:
2006 Jul 27
2
Problems with access to share after upgrading to 3.0.23(a)
Hi!
I'm experiencing problems with access to one of shares on server
with Samba working as PDC for windows clients, after I upgraded
Samba from 3.0.22 to 3.0.23 (this problem also present in
3.0.23a). There are config section for this share:
----------------------------------------------------------------
[domain]
comment = Domain users exchange share
path =
2005 May 07
0
force group broken in 3.0.14?
I've got some problems with file access control on a linux-server
with samba 3.0.14a compiled from a src-rpm. This is the method I've
been using for the past 5-6 releases. It's a redhat 8.0 machine
and the kernel version is 2.4.30. The problems seem to have appeared
since upgrading from 3.0.13.
Symptom 1: When using force group on a share, users from the two groups
edb and
2004 Jul 10
2
Solaris username character limit issues.
Hello,
I've compiled Samba 3.0.4 with Heimdal 0.6.2 and all of the other
trimmings to join and ADS tree, which I have successfully done. Winbind
correctly pulls all of the username and group information from the ADS
tree and all is good.
However...
I seem to be running into a wall with the wonderful Solaris 8 character
username / groupname limit. Usernames with spaces or names longer than
2003 Dec 25
1
How to tell if option "with-acl-support" is compiledin Solaris smbd?
Thanks. I am still not sure whether option "with-acl-support" has been compiled in the smbd.
The following is the output:
Build environment:
Built by: root@hxwu-dt-tt
Built on: Tue Dec 23 15:00:40 CST 2003
Built using: gcc
Build host: SunOS hxwu-dt-tt 5.9 Generic_112233-08 sun4u sparc SUNW,Sun-Blade-100
SRCDIR: /space/hxwu/swinstall/samba-3.0.1/source
2005 Jun 28
1
Samba as ADS Fileserver
Dear All
I've been working at building a file server to provide file sharing for a
Windows 2003 Active Directory Domain.
Our requirements are for the Windows Server Administrator to be able to create
all the users' home folders in the Samba share and apply restrictive
permissions. Ie. User joe, //samba/joe$ or //samba/share/joe (Dfs), with
permissions for only the user "joe"
2005 May 18
1
Samba Comple Problem on Solaris 2.8
So I am compling the newest release of samba 3.0.14a on Solaris 2.8.
I can get it to compile but I don't get all the built in modules that I
should and smbd when fired up bombs out with something like,
-------
derek@supernova:/opt/UMsmb/sbin# ./smbd -c /etc/samba/smb.conf -i
smbd version 3.0.14a started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
No builtin nor plugin backend for
2000 Sep 28
1
[PATCH] Next cleanup part 4 or 5 by now.=)
Changes:
* Removed utimes() posix hack since scp.c moved to utimes()
* Fixed waitpid() to be more proper. It was driving me nuts.
* Made setsid() a #define in next-posix.h
* Removed WCOREDUMP() from next-posix.h since we really don't support
it and now #ifdef .. #else .. #endif around the single place it was
used.
* Fixed typecasting issue in sshd.c with sizeof() returning "long
2001 Mar 11
0
Problems with sftp under SCO OpenServer (fwd)
This is the final results of sftp on SCO OpenServer.
---------- Forwarded message ----------
Date: Mon, 26 Feb 2001 12:27:51 -0700
From: Greg Jewell <gjewell at cnnxn.com>
To: mouring at etoh.eviladmin.org
Subject: RE: Problems with sftp under SCO OpenServer
> -----Original Message-----
> From: mouring at etoh.eviladmin.org [mailto:mouring at etoh.eviladmin.org]
> Sent: Monday,
2020 May 29
2
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
Samba 4.12.1, single server with AD+DC on Ubuntu 18.04. Filesystem:
/dev/sdb1 on /home type ext4 (rw,relatime,stripe=32750,data=ordered)
It all work as expected, but I occasionally get the error in subject which denies access to shares. Restarting Samba will restore functionality.
What can be the cause of this problem?
Thanks.
[2020/05/27 18:24:35.795379, 8]
2003 Jul 07
4
Error compiling 3.0.0beta2 on HP-UX
Hello!
I'm trying to compile 3.0.0beta2 on a HP-UX 11.00 machine with gcc v3.2.
After running configure --prefix=/some/where, I ran make which exited
with this error message:
Compiling lib/snprintf.c
lib/snprintf.c:832: conflicting types for `snprintf'
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/stdio.h:493:
previous declaration of `snprintf'
*** Error exit code 1
2019 Oct 29
0
auth logging or auditing
Good morning!
I compiled samba 4.10.8 from source in a slackware 14.2 machine and imported a samba classic domain from an ldap backend. Everything works flawlessly except for a couple of user who are getting their accounts locked out periodically. I'm trying to debug this problem so I modified the smb.conf file of the DC so that it looks like this
# Global parameters
[global]
??????? dns