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 - jcanfield

Pages: [1] 2 3 ... 6
1
Installation and Upgrades / Backup Ebox configs to a USB flash drive
« on: November 16, 2009, 05:20:40 am »
Here's a quick HOWTO for backup up your ebox configs to a USB flash drive...

Step 1) Figure out what device to use by inserting your USB drive and issue this command:
Code: [Select]
dmesg
The output should look like this:

Code: [Select]
[ 2872.737494] usb-storage: device found at 3
[ 2872.737495] usb-storage: waiting for device to settle before scanning
[ 2877.725965] usb-storage: device scan complete
[ 2877.726716] scsi 6:0:0:0: Direct-Access     Ut165    USB2FlashStorage 0.00 PQ: 0 ANSI: 2
[ 2877.731153] sd 6:0:0:0: [sdb] 7897088 512-byte hardware sectors (4043 MB)
[ 2877.734889] sd 6:0:0:0: [sdb] Write Protect is off
[ 2877.734892] sd 6:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 2877.734894] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 2877.745687] sd 6:0:0:0: [sdb] 7897088 512-byte hardware sectors (4043 MB)
[ 2877.746436] sd 6:0:0:0: [sdb] Write Protect is off
[ 2877.746438] sd 6:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 2877.746439] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 2877.746441]  sdb: sdb1
[ 2878.303984] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 2878.304006] sd 6:0:0:0: Attached scsi generic sg2 type 0

You will notice linux has recognized the device as /dev/sdb and the main partition is /dev/sdb1.

Step 2)  Edit your /etc/fstab and add this line:

Code: [Select]
/dev/sdb1       /var/lib/ebox/conf/backups      vfat    user,auto,exec,rw,umask=000     0       0
Step 3) Mount it

Code: [Select]
mount -a
Step 4) Make sure you can backup manually via System-->Backups


2
For those who are tired of typing in the https:// each time you access the admin page here a quick little trick to do a redirect:

Edit /var/www/index.html

Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Welcome to Ebox</title>
<meta http-equiv="REFRESH" content="0;url=https://<enter your ebox dns name here>"></HEAD>
<BODY>
Please wait while you are being redirected to the eBox administration page...
</BODY>
</HTML>


Ideally, ths should work via the .htaccess file, but I can't figure out how to make it work.  Anyone have any clues?  Here the .htaccess code that should work:

Code: [Select]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

3
Installation and Upgrades / Re: Unbrowseable shares in Samba
« on: May 25, 2009, 04:57:38 pm »
Add this line to your samba config:     

Code: [Select]
browseable = no

This is not currently an option in the UI.

4
Looks like you have winbind installed.

Here's the fix:

http://trac.ebox-platform.com/ticket/1268


5
Installation and Upgrades / Re: logon script to set wallpaper
« on: April 24, 2009, 03:42:41 am »
Absolutely!  I use kixtart to change registry settings on boot via the netlogon all the time.  If you know the registry keys you want to change, I'll help you produce the scripts.

I assume it's something like HKEY_CURRENT_USER\Control Panel\Desktop Wallpaper

So the kixstart line would be something like:

Code: [Select]
WRITEVALUE("HKEY_CURRENT_USER\Control Panel\Desktop", "Wallpaper","somepicture.bmp","REG_SZ")

Look at samba guide chapter 10 there are some very good examples of using kixtart:

http://www.samba.org/samba/docs/man/Samba-Guide/nw4migration.html

-Jim

6
Installation and Upgrades / Re: Multiple domain controller
« on: April 19, 2009, 05:19:55 am »
There is no native support in ebox.  You can, however, setup samba to act as a BDC :

http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-bdc.html

It will require ldap replication, also not yet implemented in ebox.

Hope this helps,

Jim


7

Hi Jim,

I hope you can contribute your howto to the community so many of us will benefit from it.

Thanks in advance,

James

My time is very limited these days.  I will get to it soon hopefully...for now, most everything you need is in the post.

-Jim

8
Installation and Upgrades / Re: SSH login in as a ebox user
« on: April 08, 2009, 03:48:56 pm »

Code: [Select]
login_shell = /bin/bashonce this is done new users will have /bin/bash as shell. If you want old users to be able to log in, you will need
to edit the LDAP yourself, using an LDAP client and change the loginShell attribute to /bin/bash manually.


It might be safer and easier to do this from the command line:

Code: [Select]
smbldap-usermod  -s /bin/bash username
-Jim

9
Installation and Upgrades / Re: Thin Net / PXE boot
« on: April 06, 2009, 03:23:42 pm »
Aside from setting the next server and allowing you to upload a boot image, Ebox may not be the right forum.  I'd look at the PXE docs and get familiar with all the moving parts.

10
Installation and Upgrades / Re: Addressbook / LDAP users database
« on: April 06, 2009, 05:46:52 am »
This has come up more than once:

http://forum.ebox-platform.com/index.php?topic=567.0

It a great feature request, but I think it's one of those features that needs a lot of thought and consideration in terms of how it's done.  Personally I feel there should be a separate OU specifically used for public access and have it's own access control, but then you also have to consider existing users and how it might also be useful that they appear in the directory as well. Perhaps a 'check_box' under the user that says something like "Add to directory."  Currently Ebox doesn't collect much demographic information on a user basis other than First and Last Name.  I'm sure it would be trivial to collect more info, but is this the right place to collect it?

Devices that might use this feature directly:

E-mail
SIP phones (For company directory)
Copiers/Fax Machines: (Directory Access)

I'm sure there are many more....this is something I would like to work on this summer.

-Jim

 

11
Installation and Upgrades / Re: Thin Net / PXE boot
« on: April 06, 2009, 05:32:16 am »
Is Ebox going to be your boot server or another computer?  The boot image is the file that is download initially from the thin clients.  I use a pseudo-thinclient setup on all my larger installs for PC deployment.  What are you trying to do exactly?

12
Short answer:  No, not natively in EBox.

You can, however, look at solutions like pykota (http://www.pykota.com/software/). I understand it's not a very easy setup.

Nearly all network printers have an internal page counter. If that's all you are looking for, hardware counters might be the simplest way of getting an overall page count.

-Jim

 


14
Sounds like your PAM config.  Double check your pam edits.  Post them here is you want more detailed support.

15
Installation and Upgrades / Re: file and print server for xp clients
« on: February 17, 2009, 03:09:10 pm »
before we setup a production server, we would like to know if there is any way we can force our users to save files to their private directory on the server instead of saving the files locally on the client machine (xp)?

also, is there any economical way to overcome the virus problems that we are facing? we are giving broadband internet connection to the server...

Hi,

I would not recommend roaming profiles on XP, rather use boot scripts like kixtart to rewrite default paths to "My Documents." on boot. I have been doing extensive work recently setting up environments like this.

For an educational environment I would also recommend an good workstation imaging solution such as fogproject.org.  Once you have your file and print sharing issues resolved and on a centralized server, it becomes trivial to re-image a machine.  I know educational environments...kids happen to be anti-anti-viruses. :)  If it were me, I'd schedule a master image to deploy to all the workstations every night.

-Jim

Pages: [1] 2 3 ... 6