search for: pstring

Displaying 20 results from an estimated 83 matches for "pstring".

Did you mean: string
2007 May 08
1
asterisk 1.2 from svn ... lock on shutdown
...st minute cleanups Asterisk cleanly ending (0). I attached gdb to the locked process: 0xb725af28 in std::_Rb_tree_increment () from /usr/lib/libstdc++.so.6 (gdb) bt #0 0xb725af28 in std::_Rb_tree_increment () from /usr/lib/libstdc++.so.6 #1 0xb793f304 in std::_Rb_tree_iterator<std::pair<PString const, PFactory<OpalMediaFormat, PString>::WorkerBase*> >::operator++ () from /usr/lib/libh323_linux_x86_r.so.1.17.3 #2 0xb79881a0 in std::__distance<std::_Rb_tree_iterator<std::pair<PString const, PFactory<OpalMediaFormat, PString>::WorkerBase*> > > () fr...
1998 Jul 22
0
BUG-with-fix: smbclient ignores WORKGROUP= in smb.conf
...=========================================================== RCS file: /cvsroot/samba/source/client.c,v retrieving revision 1.63.2.11 diff -c -r1.63.2.11 client.c *** client.c 1998/05/13 02:32:40 1.63.2.11 --- client.c 1998/07/22 21:20:56 *************** *** 3549,3554 **** --- 3549,3555 ---- pstring new_name_resolve_order; char *p; int save_debuglevel = -1; + pstring tempworkgroup = ""; #ifdef KANJI pstrcpy(term_code, KANJI); *************** *** 3703,3709 **** break; case 'W': ! pstrcpy(workgroup,optarg); break; case 'E':...
2004 Jun 22
2
pwlib compile error
...' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PQoS::controlledLoadDSCP' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PObject::Serialise(PSerialiser&)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PPluginManager::GetPluginsProviding(PString const&) const' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDeviceRGB::SetColourFormat(PString const&)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `typeinfo for PBYTEArray' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference t...
2005 May 06
1
oh323 compile problem in FreeBSD
Hi, I'm trying to compile asterisk-oh323-0.7.1 in FreeBSD 5.3. I tried to use gmake but it exits with too many errors. Did somebody compile before oh323 in FreeBSD? How should I compile it under FreeBSD? thanks, Ganbold
2005 May 13
0
[Asterisk-Dev] Re: oh323 compile problem in FreeBSD
...pwlib/include/ptlib/args.h:122: error: ISO C++ forbids declaration of `parameter' with no type /usr/home/tsgan/pwlib/include/ptlib/args.h:147: error: expected `,' or `...' before '&' token /usr/home/tsgan/pwlib/include/ptlib/args.h:153: error: ISO C++ forbids declaration of `PString' with no type /usr/home/tsgan/pwlib/include/ptlib/args.h:156: error: expected `,' or `...' before '&' token /usr/home/tsgan/pwlib/include/ptlib/args.h:162: error: ISO C++ forbids declaration of `PString' with no type /usr/home/tsgan/pwlib/include/ptlib/args.h:162: error:...
1999 Sep 21
0
[patch] fixing scope id problems
...is archive contains: # # loadparm.diff # smbpasswd.diff # echo x - loadparm.diff sed 's/^X//' >loadparm.diff << 'END-of-loadparm.diff' X--- loadparm.c.orig Wed Jul 21 08:25:12 1999 X+++ loadparm.c Tue Sep 21 00:07:04 1999 X@@ -71,6 +71,7 @@ X extern int DEBUGLEVEL; X extern pstring user_socket_options; X extern pstring global_myname; X+extern pstring scope; X X #ifndef GLOBAL_NAME X #define GLOBAL_NAME "global" X@@ -532,6 +533,7 @@ X {"directory", P_STRING, P_LOCAL, &sDefault.szPath, NULL, NULL, 0}, X {"workgroup",...
2000 Jan 30
0
More checks for param/loadparm.c
...BOOL handle_netbios_name(char *pszParmValue,char **ptr) < { < /* initially, prove that it works --davecb */ < string_set(ptr,pszParmValue); < add_char_string(pszParmValue); < return(True); --- > static BOOL handle_netbios_name(char *pszParmValue, char **parm_ptr) { > pstring netbios_name; > > if (validate_netbios_name(pszParmValue) == False) > return False; > > pstrcpy(netbios_name,pszParmValue); > #define NW 1 > #ifdef NW > /* run standard_sub_basic on netbios name... needed because > global_myname is not accessed through...
2004 Aug 26
0
chan_oh323 build (resubmit w/ new title)
...ib/args.h:398: virtual outside class declaration /root/pwlib/include/ptlib/args.h:398: non-member function `void MissingArgument(...)' cannot have `const' method qualifier /root/pwlib/include/ptlib/args.h:401: parse error before `protected' /root/pwlib/include/ptlib/args.h:405: 'PString' is used as a type, but is not defined as a type. /root/pwlib/include/ptlib/args.h:407: 'PStringArray' is used as a type, but is not defined as a type. /root/pwlib/include/ptlib/args.h:409: 'PIntArray' is used as a type, but is not defined as a type. /root/pwlib/incl...
2004 Aug 26
1
chan_oh323: __use_ast_pthread_create_instead __ (was: chan_oh323 loading error)
...ib/args.h:398: virtual outside class declaration /root/pwlib/include/ptlib/args.h:398: non-member function `void MissingArgument(...)' cannot have `const' method qualifier /root/pwlib/include/ptlib/args.h:401: parse error before `protected' /root/pwlib/include/ptlib/args.h:405: 'PString' is used as a type, but is not defined as a type. /root/pwlib/include/ptlib/args.h:407: 'PStringArray' is used as a type, but is not defined as a type. /root/pwlib/include/ptlib/args.h:409: 'PIntArray' is used as a type, but is not defined as a type. /root/pwlib/incl...
2000 Jan 04
0
two-level getgrent bug in samba-2.0.6 (PATCH#11)
...etgrent())) { - if (!strequal(gptr->gr_name,group)) - continue; - member = gptr->gr_mem; - while (member && *member) { + if (strequal(gptr->gr_name,group)) + break; + } + + /* + * As user_ok can recurse doing a getgrent(), we must + * copy the member list into a pstring on the stack before + * use. Bug pointed out by leon@eatworms.swmed.edu. + */ + + if (gptr) { + pstring member_list; + char *member; + size_t copied_len = 0; + int i; + + *member_list = '\0'; + member = member_list; + + for(i = 0; gptr->gr_mem && gptr->gr_me...
2005 Feb 01
2
Error on compiling oh323 0.6.5 on cvs stable asterisk
...23/pwlib/include/ptlib/args.h:398: error: non-member function `void MissingArgument(...)' cannot have `const' method qualifier /root/Asterisk/h323/pwlib/include/ptlib/args.h:401: error: syntax error before `protected' /root/Asterisk/h323/pwlib/include/ptlib/args.h:405: error: 'PString' is used as a type, but is not defined as a type. /root/Asterisk/h323/pwlib/include/ptlib/args.h:407: error: 'PStringArray' is used as a type, but is not defined as a type. /root/Asterisk/h323/pwlib/include/ptlib/args.h:409: error: 'PIntArray' is used as a type, but is...
2008 Aug 08
1
h323 channel compile error
...?PSoundChannel? is not a class or namespace h323ep.cxx:2855: error: ?PSoundChannel? is not a class or namespace h323ep.cxx:2869: error: type ?<type error>? argument given to ?delete?, expected pointer h323ep.cxx: In member function ?virtual BOOL H323EndPoint::SetSoundChannelPlayDevice(const PString&)?: h323ep.cxx:3047: error: ?PSoundChannel? has not been declared h323ep.cxx:3047: error: ?PSoundChannel? has not been declared h323ep.cxx: In member function ?virtual BOOL H323EndPoint::SetSoundChannelRecordDevice(const PString&)?: h323ep.cxx:3057: error: ?PSoundChannel? has not been decl...
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
2003 Jan 09
1
Re: samba (2.2.7a) + openldap (2.0.x)
...for you. Mailed Lee -------------- next part -------------- --- samba-2.2.7/source/passdb/pdb_ldap.c.ldap 2002-12-10 16:58:15.000000000 +0200 +++ samba-2.2.7/source/passdb/pdb_ldap.c 2003-01-08 18:38:19.000000000 +0200 @@ -65,6 +65,7 @@ static struct ldap_enum_info global_ldap_ent; +static pstring ldap_secret; extern pstring samlogon_user; extern BOOL sam_logon_in_ssb; @@ -218,13 +219,60 @@ } /******************************************************************* + ldap rebind proc to rebind w/ the admin dn when following referrals +******************************************************...
1998 Jul 13
1
password server problem
We are using samba with a NT4.0 Primary Domain Controller as a samba password server. Logon validation on the primary domain controller works fine, the NT machine validates the user password. BUT: On the NT PDC the event log shows numerous entries saying: Unknown user or wrong password Did anybody experience this too ???? Rainer von Bongartz /D/I/L/ rainer.von-bongartz@dil.de
2001 Apr 05
0
smbclient, find, and NetBSD
...ecursion off and do an 'mput', the find fails because NetBSD's find does not have the '-maxdepth' option. The problem is in samba/source/client/client.c at line 1168. Here is the code that causes the problem with a temporary fix. > if (recurse) > slprintf(cmd,sizeof(pstring)-1, > "find . -name \"%s\" -print > %s",p,tmpname); > else > slprintf(cmd,sizeof(pstring)-1, > "ls -1 %s > %s",p,tmpname); > // slprintf(cmd,sizeof(pstring)-1, > // "find . -maxdepth 1 -name \"%s\" -print > %s...
2001 Apr 05
0
smbclient, find, and NetBSD (fwd)
...ecursion off and do an 'mput', the find fails because NetBSD's find does not have the '-maxdepth' option. The problem is in samba/source/client/client.c at line 1168. Here is the code that causes the problem with a temporary fix. > if (recurse) > slprintf(cmd,sizeof(pstring)-1, > "find . -name \"%s\" -print > %s",p,tmpname); > else > slprintf(cmd,sizeof(pstring)-1, > "ls -1 %s > %s",p,tmpname); > // slprintf(cmd,sizeof(pstring)-1, > // "find . -maxdepth 1 -name \"%s\" -print > %s...
1998 Jun 19
1
SAMBA 1.9.18p8, username map, server security
I have a problem with new version (1.9.18p8) of SAMBA and username mapping. Configuration: WindowsNT 4.0 Workstation + SP1 WindowsNT domain - NTEP01 is PDC Digital UNIX 3.2C Username on NT: Babor Username on UNIX: baborl In SMB.CONF I have following lines: [global] security = server password server = NTEP01 username map = /usr/local/samba/lib/username.map username.map: baborl = babor
2001 Mar 28
1
UTF-8 patch for Samba 2.0.7
...cnv.c samba-2.0.7viv/source/lib/charcnv.c --- samba-2.0.7/source/lib/charcnv.c Wed Apr 26 02:06:49 2000 +++ samba-2.0.7viv/source/lib/charcnv.c Wed Mar 21 10:41:08 2001 @@ -20,220 +20,37 @@ */ #include "includes.h" -#define CTRLZ 26 -extern int DEBUGLEVEL; - -static char cvtbuf[sizeof(pstring)]; - -static BOOL mapsinited = 0; - -static char unix2dos[256]; -static char dos2unix[256]; - -static void initmaps(void) { - int k; - - for (k = 0; k < 256; k++) unix2dos[k] = k; - for (k = 0; k < 256; k++) dos2unix[k] = k; - - mapsinited = True; -} - -static void update_map(char...
2005 Jul 25
2
problems with compiling asterisk-oh323
...PMutex' has not been declared wrapper_misc.hxx:63: error: ISO C++ forbids declaration of `PCLASSINFO' with no type wrapper_misc.hxx:63: error: ISO C++ forbids declaration of `parameter' with no type wrapper_misc.hxx:68: error: `BOOL' does not name a type wrapper_misc.hxx:73: error: `PString' does not name a type wrapper_misc.cxx: In constructor `WrapMutex::WrapMutex(char*)': wrapper_misc.cxx:48: error: class `WrapMutex' does not have any field named `PMutex' wrapper_misc.cxx:50: error: `name' undeclared (first use this function) wrapper_misc.cxx:50: error: (Each un...