Programming :: 'auto_ptr' Is Not A Member Of 'std'?

Nov 26, 2010

I am getting the following error:'auto_ptr' is not a member of 'std'This was working fine in gcc version 4.1.2 20080704 (Red Hat 4.1.2-48).After upgrading to gcc version 4.4.4 (GCC), it is NOT working.

View 2 Replies


ADVERTISEMENT

Programming :: Stl Vector As A Member Of A Struct?

Jan 17, 2011

is there any problem that might rise by by having a vector as a member of struct in c++ as follows.ex.

struct A
{
int a;

[code]...

View 2 Replies View Related

Programming :: C++ - Initializing Static Member Array?

Jun 7, 2011

The code below defines an array of structures in a class. I would like this to be a Static array and then initialize the array in a initialization method. I understand that initialization lists are the way to go but due to the size and complexity of the array I plan on using (the example below is a simple snippet that illustrates the problem) I would like to use the initialization method. However, I cant even get this thing to compile. The error says the reference to the ArrayOfStructs in the initialization routine is undefined.

l_long_Island

P.S. This is the error message

undefined reference to `ClassWithStaticArray::ArrayOfStruts'

class ClassWithStaticArray {
public:
struct IntegerStruct
{

[code]....

View 5 Replies View Related

Programming :: Sizeof Struct With Function Pointers As A Member?

Jul 2, 2010

I following structure
typedef struct
{

[code]...

View 5 Replies View Related

Programming :: Getting Error While Accessing Inode Structure Member / Why Is This?

Dec 16, 2010

I have added new member "i_mymember" to inode on-disk structure in ext3_fs.h file and tried to access this in userspace program, but gives me error that "error: �struct ext3_inode� has no member named �i_mymember� "

I have compiled my kernel source code.

why this error is coming ...?

View 1 Replies View Related

Programming :: Access Inherited Member From Base Class?

Sep 14, 2010

I have a problem. This class is a base class for a basic enum handler:

Code:
#define ENUMOBJECT_BEGIN_ELEMENTS enum Element {
#define ENUMOBJECT_END_ELEMENTS ElementCount, DefaultElement, NoElement };

[code]...

View 8 Replies View Related

Programming :: C++ Class Member Pointer Changes After Function Returns?

Mar 30, 2011

I'm venturing into the world of OpenGL, but in the process of writing my graphics library I ran into a problem... My code is:

Code:
#include <stdio.h>
#include <stdlib.h>

[code]...

View 5 Replies View Related

Programming :: Define A Static Member In A Template Class?

Oct 6, 2009

i have trouble to define a static member in a template, and i search from google, but didn't find any similar case, my case is a little complex, i paste the code below.code in xxx.h

Code:
template <class T> class FreeListManager
{

[code]...

View 6 Replies View Related

Programming :: Overriding Inherited Member Functions In C++ Vtable?

Aug 17, 2010

have an inherited base class that has some virtual members and I wish to overide these members in the derived class. So for example I have the following base class called B and the derived class called D. I will illustrate them both below. I am finding I get a linker error when making the project and cannot work out why this should be so.

Code:
class B {
public:

[code]...

View 14 Replies View Related

Programming :: C++ Determine If Current User Is Member Of A Specific Group?

Jan 12, 2011

What functions are available on linux for a c++ program to determine if the current user is a member of a specific user group?

View 3 Replies View Related

Programming :: Find A Substring/member In A String/array Using Bash?

Oct 13, 2010

This may be a basic bash array/string operation related question, but I couldn't find any direct answer. So here it goes:I have a lot of data sorted in various directories. All directories need same processing except for a special group of directories. I have a symbolic link of the script in discussion in each directory. I want the script to get the name of the current directory, check if that belongs to special group and do specific operations.So I get the name of the directory

Code:
mm=`basename `pwd``
Now the the group of directories that needs something different to be done, contains these

[code]...

View 4 Replies View Related

Programming :: Create A Global Struct Variable With Predefined Member Values?

May 26, 2010

Is it possible to create a global struct variable with predefined member values?Only one instance of that struct is ever needed.

View 1 Replies View Related

Ubuntu Servers :: Domain Member Is Not Authenticating?

Apr 4, 2010

I don't know if the problem is the way I create my shares on the Domain member, but here is the way I've configured my systems. My systems are home based, and though the topology may be all wrong, it's set up this way only for test purposes. I love to get things up and running.I've already had a Domain Member running under Samba 3.02xx (Centos), but I'm having problems under Ubuntu and Samba 3.40

Server call Citadel is a VMware Server. I've got 3 virutal machines on this Server, 2 Ubunt 9.10 servers, and 1 Windows XP pro. One of my virtual servers is call Winserver, a Samba PDC server using TDBSAM as it's backend. Configured and working well. I have a share that I can access.On my Windows XP, I'm a domain member, able to access my WinserverServer share "Linux Doc", but when I try to access my domain member, it keeps asking me to login.

View 2 Replies View Related

Ubuntu :: Member Of Admin But Not In Sudoers File?

Jun 8, 2011

I'm trying to add my single user 'moreaue' to the sudoers. this user seems to be have admin privilege but is not in the sudoers:

Code:
moreaue@bloom:~$ sudo ls
[sudo] password for moreaue:
moreaue is not in the sudoers file. This incident will be reported.
moreaue@bloom:~$ su
Password:
root@bloom:/home/moreaue# adduser moreaue admin
The user `moreaue' is already a member of `admin'.
root@bloom:/home/moreaue# exit
exit
moreaue@bloom:~$ sudo ls
[sudo] password for moreaue:
moreaue is not in the sudoers file. This incident will be reported.
moreaue@bloom:~$

As you can see I can connect as root, run the adduser command which says the user is already admin... but then the user is still not a sudoer. Of course I can edit the sudoers file manually, but I wonder what is going wrong?

View 7 Replies View Related

CentOS 5 :: Domain Member Server Smb Won't Start

Sep 22, 2011

I had been reading about how to join a samba server to my current PDC running samba+ldap.

My PDC have a BDC and they are working, I want to add another samba server and be a domain member server and get the benefits.

The docs of samba had open my mind about the technical stuff but I still cannot make this thing works.

samba docs

Quote:
Centos 5.6 Samba Version 3.5.4-0.83.el5_7.2 PDC
Centos to 5.7 Version 3.5.4-0.83.el5_7.2 Domain Member

View 2 Replies View Related

General :: Mailing List - Broadcast Email To Every Member

May 26, 2010

I am new to Linux and we want to broadcast an email to every member of our institution. Currently we have more than 150 email addresses and 2 email lists. The mail server is running on Redhat version 5, x86_64/i386

View 2 Replies View Related

Server :: Directly Mount Raid Array Member?

Apr 8, 2010

Is there a way for me to mount a raid array member directly without using any of the raid tools? For instance, I have a raid 1 array that contains /dev/sda1 and /dev/sdb1. How can I mount /dev/sda1 or /dev/sdb1 directly? Doing mount /dev/sda1 <mnt point> does not work. If I try specifying the filesystem type with -t this doesn't work either.

View 1 Replies View Related

Server :: Samba Role Domain Member Security Ads

Oct 21, 2010

CentoS 5.5
[root@osra ~]# rpm -q samba3x
samba3x-3.3.8-0.52.el5_5.2
[root@osra ~]# rpm -q krb5-workstation
krb5-workstation-1.6.1-36.el5_5.5
Domain controller windows 2k3 sp3

I follow those guides: [URL] and [URL]. I join the domain, I can test the user
[root@osra ~]# wbinfo -a mbottalico%
plaintext password authentication succeeded
challenge/response password authentication succeeded

[root@osra ~]# wbinfo -u
administrator
guest
krbtgt

[root@osra ~]# wbinfo -g
utenti wins
dhcp users
dhcp administrators
computer del dominio
controller di dominio
getent passwd and group ok without "DOMAIN+"
kinit e klist ok.

I can browser the samba server, but I can enter on "temp", but not in "test" (access denied)
[root@osra ~]# smbclient \\osra\test -U administrator
Enter administrator's password:
Domain=[DOMAINSHORT] OS=[Unix] Server=[Samba 3.3.8-0.52.el5_5.2]
smb: > ls
NT_STATUS_NETWORK_ACCESS_DENIED listing * (I noticed only writing this message)

[root@osra ~]# smbclient \\osra\tmp -U administrator
Enter administrator's password:
Domain=[DOMAINSHORT] OS=[Unix] Server=[Samba 3.3.8-0.52.el5_5.2]
smb: > dir .....
53488 blocks of size 2097152. 49908 blocks available
smb: > q
0 blocks of size 0. 511 blocks available .....

View 2 Replies View Related

Ubuntu Servers :: Samba As Domain Member Server Authentication

Apr 20, 2010

I've been working for hours with Samba on Ubuntu Server 9.10 (Samba version 3.4.0), trying to get it setup simply as a fileserver that performs authentication to an NT 4 server (yes, I know, old and out of date). After much struggling, I finally realized that my configuration *was* working when the clients connecting (from XP, and Win2k clients, mostly) were actually joined to the domain (where the PDC is the NT 4 Server) and logged into the domain.For various reasons, many of the Windows clients at this location don't actually log into the domain, even though they have login/passwords that are valid users on the domain and they'll typically have some drives mapped to the PDC.

By the way, I have this working on another Linux box running Samba 3.0.28, so I'm sure it's possible, I'm just lost as to how to do it.I can provide plenty more information if it would help diagnose the situation. Does anyone have an idea of how I can get this to work? I'm sure it's possible, since the exact scenario worked in a recent version of Samba.

View 1 Replies View Related

Ubuntu Networking :: Member Of All Groups Communicate Simultaneously With ALL Computers?

Aug 27, 2010

given my computer is in a network consisting of multiple subnetworks, i.e. there are groups of computers: {192.168.1.1, 192.168.1.2, 192.168.1.3 etc.}, {192.168.2.1, 192.168.2.2, 192.168.2.3 etc.},..., {192.168.254.1, 192.168.254.2, 192.168.254.3 etc.}. My computer is 192.168.1.1. So I can communicate with 192.168.1.2, 192.168.1.3 etc. To communicate with other people I have manually switch to the proper subnetwork and take a new ip, e.g. 192.168.2.1. My question is: Is there any way to be member of all groups and communicate simultaneously with ALL computers? And if not, is there a way to find out (without manually changing the ip address) if computers of other subnetworks are online, so one does not have to change the ip and then look for other computers in the new subnetwork?

View 3 Replies View Related

Ubuntu :: No Write Permission Even Though User Is Member Of Folder Group?

Oct 29, 2010

I'm having an odd problem (although I'm probably missing something obvious to a non-semi-newbie):I have a directory used for samba shares which is owned by user fred, a system user which the windows clients on my network authenticate with to access the shares. I, roger, want to access the directories without having to put my 'sudo boots' on every time, so I made the directory group users and added roger to that group, and changed the file/folder modes from 0755 to 0775.However I still do not have write permissions inside the directory; I still seem to be considered 'other' and hence only have read and execute.

View 6 Replies View Related

CentOS 5 Server :: SSO Authentication Windows 2008 + Samba 3.0 As Member

Oct 21, 2010

I have Windows 2008R2 Server acting as Domain Controller for Windows7/XP clients. and CentOS 5.3 Installed configured as Samba Server, I want to make it as ADS member server so any user to login to any machine, and be able to access their Samba share.

View 3 Replies View Related

General :: Make A Windows XP Machine A Member Of NIS Domain Server On RHEL?

Jul 22, 2010

I have configured NIS, DNS, NFS and DHCP servers at my home network. I can easily authenticate another Linux machine to these servers and make that machine as a client and also users can locin using the automounter. My Question is, is it possible that by using the same setup I can authenticate a windows Xp machine and make it as a client, and also users can login using the passwords that I have provided on my NIS server?

View 1 Replies View Related

General :: Permission Denied When Accessing VirtualBox Shared Folder When Member Of The Vboxsf Group

Jul 7, 2011

I'm running Ubuntu 11.04 (guest) on Windows 7 (host) with the guest additions installed. I have an auto-mount folder that maps to my D: drive on the host which I can access using sudo ls /media/sf_D_DRIVE - however, even when my user (ross) is a member of the vboxsf group I get a permission denied error when attempting to explore it. I have restarted since adding my user to the vboxsf group.

This should work because I am a member of the group (which has rwx rights), so why doesn't it?

ross@panther:~$ ls -l /media
total 8
drwxrwx--- 1 root vboxsf 8192 2011-07-03 22:24 sf_D_DRIVE
ross@panther:~$ ls -l /media/sf_D_DRIVE/
ls: cannot open directory /media/sf_D_DRIVE/: Permission denied

[Code].....

View 1 Replies View Related

Server :: Host Is Not Configured As A Member Server: Samba Joining Windows 2003 AD?

Oct 15, 2009

Wanting to join my CentOS5.3 to a windows 2003 active directory. Configured kerberos and samba.

Code:

[libdefaults]
default_realm = domain
dns_lookup_realm = false

[code].....

View 5 Replies View Related

General :: Group Member Not Able To Write To Group's File?

Feb 8, 2011

I have a group (GROUP) with a number of users. I recently added a new user (NEW). NEW is able to read but not write group files, whereas all the other users in the group can read and write to the group files. The permissions for the group files indicate that all members of group should have write permission -rwxrwxr-x

/etc/group indicates that NEW is a member of GROUP
...
GROUP:x:501:GROUP,OLD,OLD2,OLD3,OLD4,....,NEW

[code]....

Don't know if it matters, but both OLD and NEW write to the GROUP files over an internet connection. why NEW can't write to GROUP files? Is there a maximum number of members in a group that I might have exceeded?

View 2 Replies View Related

General :: Security Group Can Be A Member Of Another Group?

Aug 22, 2010

I need to create a group that has the same permissions as the users group. Can I have the new group be a member of the "users" group to inherit its permissions?

View 4 Replies View Related

Fedora :: MDADM On 12 64bit - Error "mdadm: Cannot Add Disks To A 'member' Array, Perform This Operation On The Parent Container"

Nov 22, 2009

Here's a brief description of my system:

120GB Sata HDD - Primary OS drive
3 x 1.0TB Sata HDD - Raid 5 array

This is on a C2D MSI P35 Platinum board. Anyway, did a fresh install of F12 on the 120GB, which I had problems with - Anaconda refused to see the drive. Fedora Live could see it fine, and it was listed as an 'nvidia_raid_member' - no idea why, but I completely erased the disc under the Live CD and proceeded to install F12.

Once F12 was installed, I loaded up mdadm to re-activate my Raid 5 array, using 'sudo mdadm --assemble --uuidthe uuid) - and it started with only 2 of the 3 drives. My /dev/sdb drive did not activate into the array, due to what mdadm said was a mismatched UUID. Ok, so I erased /dev/sdb, intending to rebuild the array. Erased /dev/sdb, and then attempted 'sudo mdadm --add /dev/md0 /dev/sdb' and I get this error: "mdadm: Cannot add disks to a 'member' array, perform this operation on the parent container" - I can find NO information on this error message.

[Code].....

I don't believe the hard drives are connected in the exact same order they were in before - I disconnected everything in the system and blew it out (it was pretty dusty)

View 1 Replies View Related

OpenSUSE :: Updating Ghostscript On 10.2 - Cups Error "errors Ups/gdevcups.c:4743: Error: Gx_device_cups Has No Member Named Header"

Aug 19, 2010

Since there are no new ghostscript in repo for suse 10.2, I went to compile it from sources But, when making I got errors ups/gdevcups.c:4743: error: gx_device_cups has no member named header

[Code]...

Googling about this issue doesn't give me any luck version I'm trying to install is 8.64

View 9 Replies View Related

Debian :: Group A Member Of Another Group?

Feb 8, 2011

I make a group a member of another group?

I am running Samba and want to include all groups as members of the Domain Users group so that I don't need to add this for every user?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved