Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kevinmccarthy

Pages: [1] 2
1
Installation and Upgrades / Re: How to create a File Share sub-directory
« on: September 15, 2011, 01:55:53 am »
Any help here? It does not seem I can setup sub-directories in File Sharing

2
Installation and Upgrades / Re: How to create a File Share sub-directory
« on: September 14, 2011, 09:43:02 pm »
In the console, I am able to determine the path is:

/home/samba/shares/main_public

In the admin panel, I tried to create a "test" sub-folder in File Share under main_public by adding this line to: Share Path Directory under Zentyal:

/home/samba/shares/main_public/test

I get this error....

Only alphanumeric characters plus _ are valid for a path

3
Installation and Upgrades / How to create a File Share sub-directory
« on: September 14, 2011, 08:06:53 pm »
I am trying to create a hierarchy of folders but having no success.

I am able to create single level folders in File Sharing with no problem. But, I follow these steps to create a sub-directory of one of those folders and it error's out.

I create the first folder:

Share Name: Level1
Share Path: level1
(Add group access and guest access)

I then try to create a sub-folder:
Share name: Level2
Share Path: (Directory under Zentyal): level1\level2 (and tried level1/level2 and //level1/level2)

What am I doing wrong?

Thanks

4
Installation and Upgrades / Re: can't reset admin username / password
« on: September 13, 2011, 11:38:43 pm »
Thanks for all the help. After pulling out the rest of my hair, I just blew away the VM and started over. Seems to be working now just fine - other than a slow learning curve. :)

5
Installation and Upgrades / Re: can't reset admin username / password
« on: September 10, 2011, 08:37:28 pm »
if you run the ldapsearch from Zentyal server, you can type here 127.0.0.1 (localhost) as ldap server is one of Zentyal components.

and I forgot about the VM  >:(

Try this http://ubuntuforums.org/showthread.php?t=1655265

Okay, that worked better. Here are the results:

# extended LDIF
#
# LDAPv3
# base <dc=host,dc=domain,dc=com> with scope subtree
# filter: uid=chad
# requesting: ALL
#

# search result
search: 2
result: 32 no such object

# numResponses: 1


6
Installation and Upgrades / Re: can't reset admin username / password
« on: September 10, 2011, 08:19:14 pm »
I don't think sudo "works".

To summarize: the only local account you can use to open session (terminal) is "chad" but you can't use it with sudo privileges because account expired (due to the chage command you type some days ago).
If you don't have any other account at system level (btw I don't understand how you can authenticate if chad account expired), the only way it to reset root password and change chad's password as root.

You can do it restarting your system in single user mode (e.g. look at this http://www.debuntu.org/recover-root-password-single-user-mode-and-grub)

BTW what's the result of ldapsearch command?

I don't know the name of the ldap server, if there is one. I was left with no notes regarding this. So that command line keeps telling me it can't contact the LDAP server.

I am using VMWare's vSphere to access the virtual server. I select to reboot. But, while in the console, if I press esc, an error message shows up...

* to run ddclient as a daemon, please set run_daemon to 'true' in /etc/default/ddclient
...done

The only way to proceed is to hit escape again which continues the boot with the zentyal logo and brings me to the zentyal login screen. Ugh. Circles.


7
Installation and Upgrades / Re: can't reset admin username / password
« on: September 10, 2011, 06:56:48 pm »
The same errors occur.

I typed as you stated:
sudo chage -E -1 chad

Results:
[sudo] password for chad: (I typed the original pw)
sudo: Account or password is expired, reset your password and try again
Changing password for chad.
(current) UNIX password: (I typed the original pw)
sudo: pam_chauthtok: Authentication token manipulation error
Sorry, try again.
[sudo] password for chad: (I typed the original pw)
sudo: Account or password is expired, reset your password and try again
Changing password for chad.
(current) UNIX password: (I typed a "new" pw just in case that is what it was wanting)
sudo: pam_chauthtok: Authentication token manipulation error
Sorry, try again.
[sudo] password for chad: (I typed the original pw)
Sorry, try again.
sudo: 3 incorrect password attempts

It seems that sudo is working. But, the commands are not. I am beginning to think maybe his pw is not in the shadow file (like I know what I'm talking about, haha). But, I could not check it as stated above.

8
Installation and Upgrades / Re: can't reset admin username / password
« on: September 10, 2011, 01:31:22 am »
Oh, when I use this command, Chad shows in the passwd file. That command for the shadow file says permission denied.

grep chad /etc/passwd

(Results:)
chad:x:1000:1000:chad,,,:/home/chad:/bin/bash

When I first log in to vsphere and select the Zentyal VM, I select the console tab. It brings up a Zentyal logo and username box. I enter the only one that works there: chad & password. It still works here. But, I cannot access the Administrator Console. Double clicking on that brings up a password box. The old admin password (chad's) doesn't work. The dialogue just goes away - not even an invalid pw error.

The User Console works, but does not appear to have enough permissions to change the password.

However, in the User Console, I used this line and had better success:

sudo grep chad /etc/shadow

Result:
[sudo] password for chad: (i entered it)
sudo: account or password is expired, reset your password and try again
changing password for chad.
(current) UNIX password: (I entered a new pw)
sudo: pam_chauthtok: Authentication token manipulation error
Sorry, try again.
[sudo].... I tried this a few times then got this error...

3 incorrect password attempts

It brought me back to a command line.

Does that provide any further info that is helpful?

9
Installation and Upgrades / Re: can't reset admin username / password
« on: September 10, 2011, 01:07:35 am »
And that is a special friend discount. :)

10
Installation and Upgrades / Re: can't reset admin username / password
« on: September 10, 2011, 01:07:00 am »
I don't know the name of the ldap server, if there is one. So that command line keeps telling me it can't contact the LDAP server.

Correction on the $50 guy, he is a PHP coder and knows his way around Linux. Not necessarily the other way around.

11
Installation and Upgrades / Re: can't reset admin username / password
« on: September 09, 2011, 05:49:58 pm »
Well, I hired a linux guy at $50 p/hr and after an hour he was unsuccessful recovering the password. He said the issue is not knowing Zentyal. I did not have him waste any more of my time.

There must be a way to recover access to my installation? Any more help available?

12
Installation and Upgrades / Re: can't reset admin username / password
« on: September 09, 2011, 01:06:26 am »
That's cool to have the VM.

Is it possible to grab a user settings file(s) from the current VM (the troubled one) and just move it over to the new VM so we wouldn't have to spend the time reconfiguring all the accounts, etc?

13
Installation and Upgrades / Re: can't reset admin username / password
« on: September 08, 2011, 11:40:17 pm »
Northwest USA

14
Installation and Upgrades / Re: can't reset admin username / password
« on: September 08, 2011, 11:29:11 pm »
I wish. This is a new vm that was not snapped. We have not yet started using it in production. I don't want to start over though with the configuration if possible. Worse case we do though.

15
Installation and Upgrades / Re: can't reset admin username / password
« on: September 08, 2011, 10:47:06 pm »
I must be the biggest idiot in the world... Christian you sent me a message and asked a question. I cannot find a reply button anywhere in my inbox and I am logged in (hence this post).

I have no idea whether Chad set up ldap or not. But, I do believe he was planning on it. Since I now have no access to the console or the panel, I am pretty much screwed. I may have to blow this VM away and start over which would really suck.

Thank you all for being patient and explaining things in a for-dummies fashion - which is what I need. :)

Pages: [1] 2