search for: talloc_asprintf

Displaying 17 results from an estimated 17 matches for "talloc_asprintf".

2014 Feb 19
0
Moving LDAP tree
...t; > Did such a patch fail to get in (yet)? > > I use samba 4.1.4 with it's internal DNS server. > > I checked dnsserver_init_serverinfo in > source4/rpc_server/dnsserver/dnsutils.c and if I read the code well then > this is all good: > serverinfo->pszDsContainer = talloc_asprintf(mem_ctx, > "CN=MicrosoftDNS,DC=DomainDnsZones,%s", ldb_dn_get_linearized(domain_dn)); > > But later in the code it shows: > serverinfo->pszDomainDirectoryPartition = talloc_asprintf(mem_ctx, > "DC=DomainDnsZones,%s", ldb_dn_get_linearized(domain_dn)); > ser...
2009 Mar 21
2
trouble with winbind on Centos 5.2
...or pam_winbind.so in /etc/pam.d/system-auth. When I try to connect I get the following in /var/log/secure Mar 21 16:10:35 samba-ads sshd[20542]: PAM unable to dlopen(/lib64/security/pam_winbind.so) Mar 21 16:10:35 samba-ads sshd[20542]: PAM [error: /lib64/security/pam_winbind.so: undefined symbol: talloc_asprintf] Mar 21 16:10:35 samba-ads sshd[20542]: PAM adding faulty module: /lib64/security/pam_winbind.so Mar 21 16:10:37 samba-ads sshd[20542]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=mgr2.nic.isb.d e.renzel.net user=mgr1 Mar 21 16:10:39 samba-ads sshd[20542...
2016 Sep 02
2
Samba-CUPS interface
Hi, One of our Samba server (4.4.5) is a print server with CUPS backend . In addition we are using a print management product that is itself a backend to cups. Everything works well, except that the document names that are transmitted in the chain is of the form : "smbprn.00000648 MyDocument.pdf" . I guess that the prefix smbprn.00000648 is the samba job ID that is concatenated to the
2016 Sep 05
1
Samba-CUPS interface
...cups ? > > I don't see an option for that, but I also don't see any indication > that we reverse parse that string, we use the job-id to track the job. > > So my untested suggestion is that we/you could remove it from this in > print_cups.c: > > new_jobname = talloc_asprintf(frame, > "%s%.8u %s", PRINT_SPOOL_PREFIX, > pjob->jobid, jobname); > if (new_jobname == NULL) { > goto out; > } > > Andrew Bartlett > Hi Andrew, You are right, I have thought also...
2007 Sep 17
4
Xenstored: eliminate double free and fixes for memory leak
...memory (via realloc()). The only time the value is returned is in do_get_perms(), but immediately after send_reply(), the pointer is immediately thrown away, resulting in a memory leak condition, as send_reply() does not free any memory. c. Many of the functions like read_node(), get_parent(), talloc_asprintf() etc all will allocate memory and return a pointer when memory is allocated, but many times these are not freed. Another problem identified but which I cannot fix, is that create_hashtable() can return NULL in low memory condition. But this is not checked in the recursive function check_store_(...
2011 Jun 03
2
missing symbols talloc_* (opensuse 11.4/samba 3.5.7-xxx)
...7fc6d3c0a000) libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007fc6d39ae000) libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007fc6d35fd000) undefined symbol: _talloc_memdup (/usr/sbin/nmbd) undefined symbol: talloc_vasprintf (/usr/sbin/nmbd) undefined symbol: talloc_asprintf (/usr/sbin/nmbd) undefined symbol: talloc_strndup (/usr/sbin/nmbd) undefined symbol: talloc_named (/usr/sbin/nmbd) undefined symbol: _talloc_free (/usr/sbin/nmbd) undefined symbol: _talloc_array (/usr/sbin/nmbd) undefined symbol: _talloc_reference_loc (/usr/sbin/nmbd) undefined symbo...
2016 Sep 04
0
Samba-CUPS interface
...the file name that > is > passed to cups ? I don't see an option for that, but I also don't see any indication that we reverse parse that string, we use the job-id to track the job.  So my untested suggestion is that we/you could remove it from this in print_cups.c: new_jobname = talloc_asprintf(frame, "%s%.8u %s", PRINT_SPOOL_PREFIX, pjob->jobid, jobname); if (new_jobname == NULL) { goto out; } Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT...
2024 Mar 09
3
Bug#1065794: xen: FTBFS on armhf: xenstored_control.c:646:70: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘time_t’ {aka ‘long long int’} [-Werror=format=]
...us/fetch.php?pkg=xen&arch=armhf&ver=4.17.3%2B10-g091466ba55-1.1&stamp=1709892742&raw=0 xenstored_control.c:646:70: error: format ?%ld? expects argument of type ?long int?, but argument 5 has type ?time_t? {aka ?long long int?} [-Werror=format=] 646 | ret = talloc_asprintf(ctx, "%s\nDomain %u: %ld s", | ~~^ | | | long int |...
2009 Feb 16
1
samba-3.2.8 - KRB5_KT_UNKNOWN_TYPE;
...tmp += 5; } if (found_valid_name) { if (tmp[0] != '/') { ret = KRB5_KT_BADNAME; goto out; } tmp = talloc_asprintf(mem_ctx, "%s:%s", pragma, tmp); if (!tmp) { ret = ENOMEM; goto out; } break; } } if (!found_valid_name) {...
2006 Jul 13
2
Kerberos Keytab Code Update in 3.0.23
First thing - I'd like to say a big "THANK YOU" to the developers. I just upgraded to samba-3.0.23 and I've noticed an alarming issue with respect to my configuration. I've been using the built-in keytab management and it looks like the updated code no longer creates the userPrincipal in Active Directory. Whether this is an issue for others or not, it would be nice to have
2015 May 27
0
[Announce] Samba 4.2.2 Available for Download
...11244: vfs_gpfs: Error code path doesn't call END_PROFILE. o Alexander Bokovoy <ab at samba.org> * BUG 11284: s4: libcli/finddcs_cldap: continue processing CLDAP until all addresses are used. o David Disseldorp <ddiss at samba.org> * BUG 11201: ctdb: check for talloc_asprintf() failure.:w * BUG 11210: spoolss: purge the printer name cache on name change. o Amitay Isaacs <amitay at gmail.com> * BUG 11204: CTDB statd-callout does not scale. o Bj?rn Jacke <bj at sernet.de> * BUG 11221: vfs_fruit: also map characters below 0x20. o Rajesh...
2015 May 27
0
[Announce] Samba 4.2.2 Available for Download
...11244: vfs_gpfs: Error code path doesn't call END_PROFILE. o Alexander Bokovoy <ab at samba.org> * BUG 11284: s4: libcli/finddcs_cldap: continue processing CLDAP until all addresses are used. o David Disseldorp <ddiss at samba.org> * BUG 11201: ctdb: check for talloc_asprintf() failure.:w * BUG 11210: spoolss: purge the printer name cache on name change. o Amitay Isaacs <amitay at gmail.com> * BUG 11204: CTDB statd-callout does not scale. o Bj?rn Jacke <bj at sernet.de> * BUG 11221: vfs_fruit: also map characters below 0x20. o Rajesh...
2004 Oct 21
0
compile errors samba 3.0.7 vfs
...odules/vfs_netatalk.po(.text+0xdb): undefined reference to `DEBUGLEVEL_CLASS_ISSET' modules/vfs_netatalk.po(.text+0xff): undefined reference to `dbghdr' modules/vfs_netatalk.po(.text+0x11b): undefined reference to `dbgtext' modules/vfs_netatalk.po(.text+0x15e): undefined reference to `talloc_asprintf' modules/vfs_netatalk.po(.text+0x183): undefined reference to `sys_lstat' modules/vfs_netatalk.po(.text+0x1b4): undefined reference to `talloc_asprintf' modules/vfs_netatalk.po(.text+0x1d0): undefined reference to `talloc_strdup' modules/vfs_netatalk.po(.text+0x1f4): undefined refe...
2005 Oct 06
7
Patch: FC4 spec file
The patch below modifies the spec file for FC4 RPM builds as follows: 1.) Build binaries using the -lmcheck option; various samba commands and smbd process crash badly without; see, for example: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=164353 2.) The Fedora project's samba RPMS install mount.cifs; it would help to have samba.org's RPMS do the same. It would be nice to
2007 Nov 08
1
sambaUserWorkstations (with LDAP) not working with Groups of Computers ?
Hi, I'm trying to use the sambaUserWorkstations option to allow users to log on certain computers only. This option looks great... In fact it looks now a lot better than the 'ldap filter' one than was deprecated with samba 3.0.20... The fact is, if the sambaUserWorkstations option works well with machine names, it doesn't seem to work when specifying groups of machines.
2002 May 16
5
winbindd not working - linux s/390
Hello all, i'm testing 2.2.4. it seems winbindd is not working on our system (linux Suse 7.3 s/390) the config is exactly the same as with 2.2.3a, which worked fine. from a windows client i can connect to the samba server, and see the shares. but, once i want to connect to a share, it asks me for a password and won't accept the correct one. It looks as if winbindd stops working then. On
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
...e; - - if (streq(node, "/")) - return send_error(conn, EINVAL); + return; + + if (streq(node, "/")) { + send_error(conn, EINVAL); + return; + } /* We move the directory to temporary name, destructor cleans up. */ path = node_dir(conn->transaction, node); tmppath = talloc_asprintf(node, "%s.tmp", path); talloc_set_destructor(tmppath, destroy_path); - if (rename(path, tmppath) != 0) - return send_error(conn, errno); + if (rename(path, tmppath) != 0) { + send_error(conn, errno); + return; + } add_change_node(conn->transaction, node, true); + fire_watche...