Re: [e-smith-devinfo] Mitel Networks announces the availability of SME Server 6.0 unsupported developer release

2003-12-10 Thread Des Dougan
The 6.0 ISO on the Hungarian mirror site is over 100 MB smaller than the
5.6 ISO. Can anyone explain why it is smaller? More efficient code or
some packages no longer included?
Thanks,

Des

--



Des Dougan



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org


Re: [e-smith-devinfo] Rough development plan

2003-12-08 Thread Des Dougan
Brad Hards wrote:
Each release is begun by defining the base environment (eg 6.1 will be
based on RH 7.3, 7.0 might be based on Fedora Core 2 or RH 9.0).
Given Red Hat's stated direction, and the lack of clarity of how Fedora 
Core will develop, might v 7.0 be the time to address basing the server 
on a different distribution to provide a more stable base than FC may be 
able to provide?

--

Des Dougan

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org


Re: [e-smith-devinfo] Installing Dovecot on 5.6

2003-10-16 Thread Des Dougan
On Thu, 2003-10-16 at 13:56, Charlie Brady wrote:

> Your simplest solution is to upgrade.

Thanks, Charlie. I'll install on my test box.

Des
-- 

Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org



[e-smith-devinfo] Installing Dovecot on 5.6

2003-10-16 Thread Des Dougan
I'm having some issues running Evolution (1.4.5) on RH 9, talking to my
SME v 5.6 servers, where the folder lists are not consistently updating
the new message counts. The Evolution people don't believe it's an
Evolution problem, so I was considering switching IMAP servers from UW
IMAP to Courier, for which I know there is a contribution. However, as
6.0 will use dovecot when it's released, I am willing to try that on
5.6. Is it a straight plug-in, or do the mail folders require to be
converted as is required by the Courier daemon?

I tried rpm -Uvh --test on my test box, and got no error messages or
missing pre-requisites, so functionally, it looks like it is
straightforward.

Thanks,

Des
-- 

Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org



Re: [e-smith-devinfo] 1st proof of OpenGroupware.org install howto

2003-07-27 Thread Des Dougan
Tim Litwiller wrote:

Yes, and his install downloads the redhat 9 version of the files that 
require glibc 2.3 - which breaks  sme 5.6 rather badly - good thing I 
was testing in a vmware session.
Ah I didn't see anything on the OG.o site that referred to that. 
Looks like I need to rebuild my test box then, unless I can re-apply the 
5.6 glibc RPMs!

--

Des Dougan

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org


Re: [e-smith-devinfo] 1st proof of OpenGroupware.org install howto

2003-07-27 Thread Des Dougan
Tim Litwiller wrote:

http://www.bccwebhosting.com/ogo_sme56_install.php

I am sure that there are a few missed steps in this document - I will be 
going back over it several more times to make sure it is working properly.
Tim,

I've been attempting to install from your instructions today, and have 
found a couple of issues, including one "gotcha".

First, Kelley Graham's script has been updated this week, and downloads 
all the RPMs for you, putting them in separate directories below the 
directory containing the add script. However, it seems to download 
multiple versions of the RPMs, which I had to resolve. It didn't install 
the PostgreSQL RPMs, which may be related to the "gotcha" I found.

Because of the above, I decided to run the install of the PG RPMs 
manually. These showed up dependencies on glibc version 2.3. I went 
through the routine of identifying the RPMs (3 for glibc and binutils) 
and installing them. binutils and glibc-common installed successfully, 
but the main glibc package failed:

[EMAIL PROTECTED] pgsql_rpms]# rpm -Uvh  glibc*.rpm
Preparing...### 
[100%]
   1:glibc-common   ### 
[ 33%]
   2:glibc  warning: /etc/localtime created as 
/etc/localtime.rpmnew
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
### [ 66%]
/usr/sbin/iconvconfig: /lib/i686/libc.so.6: version `GLIBC_2.3' not 
found (required by /usr/sbin/iconvconfig)
error: execution of %post scriptlet from glibc-2.3.2-4.80.6 failed, exit 
status 1
/bin/sh: /lib/i686/libc.so.6: version `GLIBC_2.3' not found (required by 
/lib/libdl.so.2)
error: execution of %pre scriptlet from glibc-devel-2.3.2-4.80.6 failed, 
exit status 1
error:   install: %pre scriptlet failed (2), skipping 
glibc-devel-2.3.2-4.80.6

I'm not sure how to get past this - it looks like the post script is 
trying to run part of glibc, which is not fully installed (although I 
could be off base there).

Anyway, I'm now stuck, and would appreciate any assistance to resolve 
this issue.

Thanks,
--
Des Dougan

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org


[e-smith-devinfo] VirtualHosts configuration question

2003-04-05 Thread Des Dougan
I've been looking at Plone as a Content Management System on my test box 
(5.6). By default, it is set to use port 8080 (with Zope as its 
application server). From the documentation, it is common to use Apache 
in front of Zope, using ProxyPass and ProxyPassReverse directives to 
redirect 8080 to use Apache and its standard port.

I found a VirtualHosts configuration on the Plone web site which seems 
to be the recommended way of using ProxyPass within Plone, and set it up 
as a custom template fragment (however, on my test box, I have only the 
default domain). However, to integrate with SME, it obviously needs some 
tweaking, as the $virtualHost variable is not being resolved when the 
template is expanded. I haven't included the entire fragment here, but 
the ProxyPass directives are as follows:

ProxyPass / 
http://localhost:8080/VirtualHostBase/http/($virtualHost):80/($virtualHost)/VirtualHostRoot/
ProxyPassReverse / 
http://localhost:8080/VirtualHostBase/http/($virtualHost):80/($virtualHost)/VirtualHostRoot/

I admit I am floundering here - I can see looking at the template 
fragments that 80VirtualHosts has the logic that sets this up, and I 
suspect the fragment I created is only a part of the way to a solution, 
so I'd appreciate any guidance from the community.

Thanks,
--
Des Dougan

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org


[e-smith-devinfo] [Announce] Plone 1.0.1/Python 2.1.3 for SME Server 5.6

2003-03-29 Thread Des Dougan
Following on from Brian High's Python 2.2/Plone 1.0 RPMs, I have built 
Plone 1.0.1 for Python 2.1.3 (the highest supported version supported by 
Zope at this time).

Plone (http://www.plone.org) is a user friendly and powerful Content 
Management System built on top of Zope. Zope is a leading open source 
application server (it says at http://zope.org!).

Python and Plone RPMs for SME Server 5.6, and a short README, can be found 
here: http://www.contribs.org/contribs/ddougan/Plone/

Have fun!



Des Dougan 

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org


Re: [e-smith-devinfo] Problems building a Python RPM

2003-03-27 Thread Des Dougan
At 22:37 26/3/2003, you wrote:
This page has RedHat 8.0 RPMs for Python 2.2.2:

http://plone.org/Members/longsleep/plone-rpms/1.0.1/redhat

I started to get something working for SME 5.5, but ran
into problems, and moved on to other priorities.
If someone can take these RPMs as a starting point, please
do.  It will be greatly appreciated.  :-)
I found a Python 2.1.3 RPM for Red Hat 7.3 which installs cleanly on 5.6 (I 
posted a message about my build problem on comp.lang.python a few days ago, 
but got no responses). I have since built a Plone RPM from the .src RPM and 
installed it successfully.

I will post both RPMs over the next few days.



Des  

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org


[e-smith-devinfo] Problems building a Python RPM

2003-03-23 Thread Des Dougan
I was very interested when I saw Brian High's Plone announcement last 
month. Unfortunately, I haven't had much time to play with it until now. I 
have it running on my test box, but noticed a message in the log that 
python 2.2 was not supported, so decided to try to build a python 2.1 RPM 
for 5.6.

I downloaded and installed the dependencies, as well as the various 
compiler and make tools, and ran the rpm --rebuild command. This went off 
and did its thing for quite some time (over 10 minutes on my test box, a 
PPro 180), before it failed. The following is the tail end of the console 
messages:

+ cp -pr LICENSE Misc/ACKS Misc/BLURB.LUTZ Misc/BLURB.WINDOWS Misc/HISTORY 
Misc/NEWS /var/tmp/python2.1-2.1.3-root/usr/share/doc/python2.1-2.1.3
+ exit 0
Finding  Provides: (using /usr/lib/rpm/find-provides)...
Finding  Requires: (using /usr/lib/rpm/find-requires)...
error: line 328: Dependency tokens must begin with alpha-numeric, '_' or 
'/': %defattr(-,root,root)

error: Failed to find Requires:
Provides: _codecs.so _locale.so _socket.so _symtable.so _testcapi.so 
_weakref.so array.so audioop.so binascii.so bsddb.so cPickle.so 
cStringIO.so cmath.so crypt.so dbm.so errno.so fcntl.so fpectl.so gdbm.so 
grp.so imageop.so linuxaudiodev.so math.so md5.so mmap.so new.so nis.so 
operator.so parser.so pcre.so pwd.so pyexpat.so regex.so resource.so 
rgbimg.so rotor.so select.so sha.so strop.so struct.so syslog.so termios.so 
time.so timing.so unicodedata.so xreadlines.so
PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) 
<= 3.0.4-1
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 
rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: ld-linux.so.2 libc.so.6 libdl.so.2 libm.so.6 libpthread.so.0 
libutil.so.1 libcrypt.so.1 libexpat.so.0 libgdbm.so.2 libnsl.so.1
Processing files: python2.1-devel-2.1.3-1
Finding  Provides: (using /usr/lib/rpm/find-provides)...
Finding  Requires: (using /usr/lib/rpm/find-requires)...
PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) 
<= 3.0.4-1
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 
rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: python2.1 = 2.1.3 /bin/sh
Processing files: python2.1-tkinter-2.1.3-1
error: File not found by glob: 
/var/tmp/python2.1-2.1.3-root/usr/lib/python2.1/lib-dynload/_tkinter.so*
Requires: python2.1 = 2.1.3-1
Processing files: python2.1-tools-2.1.3-1
Finding  Provides: (using /usr/lib/rpm/find-provides)...
Finding  Requires: (using /usr/lib/rpm/find-requires)...
error: line 328: Dependency tokens must begin with alpha-numeric, '_' or 
'/': %defattr(-,root,root)

error: Failed to find Requires:
PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) 
<= 3.0.4-1
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 
rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: python2.1 = 2.1.3-1

RPM build errors:
line 328: Dependency tokens must begin with alpha-numeric, '_' or '/': 
%defattr(-,root,root)

Failed to find Requires:
File not found by glob: 
/var/tmp/python2.1-2.1.3-root/usr/lib/python2.1/lib-dynload/_tkinter.so*
line 328: Dependency tokens must begin with alpha-numeric, '_' or '/': 
%defattr(-,root,root)

Failed to find Requires:

Can someone shed some light on what is causing the failure? I'm assuming 
I've missed something, but can't really see what that might be. The source 
RPM came from the python.org web site, FWIW.

Thanks,



Des Dougan 

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org


Re: [e-smith-devinfo] Plone/Zope for SME 5.5+

2003-02-23 Thread Des Dougan
Brian,

At 09:39 18/2/2003, you wrote:
Basically, the RPMs work fine on SME 5.5 and 5.6
I'm seeing the following error message in the plone log file

/usr/lib/plone/z2.py:385: UserWarning: You are running Python version 
2.2.1.  This Python version has not yet been tested with Zope and you may 
experience operational problems as a result.  Consider using Python 2.1.3 
instead.
  warnings.warn(err)

And when I changed the port from 8080, and tried to restart plone, I got an 
error that plone was still running, although it's not...



Des Dougan 

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org


[e-smith-devinfo] CIPE

2003-02-01 Thread Des Dougan
I had a conversation today with a Linux admin who is not familiar (yet) 
with SME Server. The conversation turned to VPNs and he mentioned he's had 
success with a GPL tool called CIPE (Crypto IP Encapsulation), available 
from http://sites.inka.de/sites/bigred/devel/cipe.html

Is anyone familiar with this? If so, how does it compare to FreeS/WAN in 
levels of security, resource requirements and ease of use?

It _sounds_ like it is a very useful tool, but as I have little experience 
with FreeS/WAN, I can't really compare them.

Regards,



Des Dougan 


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org



Re: [e-smith-devinfo] RE: flexbackup and rewind

2002-10-22 Thread Des Dougan
At 12:15 22/10/2002, Charlie Brady wrote:

The rewind cannot be the cause of the problem, since it just puts the tape
back to the beginning which is were we expect it to be when we perform a
backup. It *might* be a workaround which happens to work, just as the
"write a block of zeroes and then rewind" was a workaround which happened
to allow IDE tape backup work in the first place(*). The real cause lies
elsewhere.


Some while ago, I reported what I believe is a bug (the same problem under 
discussion here) in flexbackup processing (TT20020415032). I also have a 
Seagate Travan 5 drive. I did a bit of analysis with the Mitel support 
people, including, IIRC, an strace. My understanding is that it is open 
internally, but that they haven't been able to put resources to it.

In the meantime, I've recently been trying to resolve this and have been 
testing the "flexbackup -newtape" option. I've added it via a custom 
template to the script ahead of the existing steps (right after the path 
command, in fact) and it has been running OK the past couple of weeks. I'd 
be interested to learn if this works for others, and also why this might 
work at all...




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org



[e-smith-devinfo] LDAP usage and extension

2002-10-07 Thread Des Dougan

I'm trying to become familiar with using LDAP in the phpGroupWare 
application, as from what I've seen, it's a useful set of tools that can 
add a lot of value.

I'm doing a fresh install on my box and, in trying to set it up to use LDAP 
rather than MySQL for user accounts management, I'm finding some issues. It 
would seem, from what I can determine, that the default Mitel configuration 
doesn't set up an OU for individuals or groups, which phpGW requires. Some 
of the LDAP documentation I've looked at seems to indicate that "ou=people" 
and "ou=groups" are fairly standard elements.

So, willing to give it a go, I'm delving into what would be required. 
Before I start doing anything I'll later regret, I wanted to check here if 
there would be any issues in adding additional OUs (or other attributes for 
that matter) to the LDAP datastore? Was there any particular reason that 
the developers didn't set up OUs?

Thanks,



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org




Fwd: Re: [e-smith-devinfo] Samba bug on SME 5.5 [ANNOUNCEMENT]

2002-08-01 Thread Des Dougan

I just realized that I sent this to Charlie rather than the list yesterday 
(wrong reply option - my apologies, Charlie).

>At 07:39 31/7/2002, you wrote:
>>Yes, it should work for 5.1.2, but the motivation for making the change is
>>not there in 5.1.2, i.e. the "passwd chat" configuration correctly matches
>>the behaviour of the passwd program, so it all works smoothly. The
>>motivation for adding "pam password change" is that it will 1) fix a bug
>>in 5.5 and 2) prevent the same bug from occurring again if the passwd
>>program changes again.
>
>I've been following this thread for a while. For some time now, I've been 
>seeing the following error in my W2K system's event logs - it seems that 
>there is a regular attempt to change the PC account's password on my 5.1.2 
>server, although I never see a dialog. Is this a related issue?
>
>
>Event Type: Error
>Event Source:   NETLOGON
>Event Category: None
>Event ID:   3224
>Date:   31/7/2002
>Time:   10:17
>User:   N/A
>Computer:   P133
>Description:
>Changing machine account password for account P133$ failed with the 
>following error:
>The specified user does not exist.
>Data:
>: 64 00 00 c0   d..À


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Problem restoring files from tape backup

2002-07-02 Thread Des Dougan

At 21:50 2/7/2002, Lionel wrote:
>restore: Tape is not a dump tape


This seems to ring a bell. Did you "/bin/mt -f /dev/nst0 fsf 1" to move to 
the data?




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Problem restoring files from tape backup

2002-07-02 Thread Des Dougan

Darrell May has a How-To on his site that works very well. It's at:

http://myezserver.com/downloads/mitel/howto/flexbackup-howto.html

At 21:13 2/7/2002, Lionel wrote:
>I'm sure I'm missing something obvious here, but I'm damned if I can
>figure it out. I've tried doing the same thing on a local tar file on my
>own E-Smith box, which works fine.
>
>(SSHes into client's machine)
>
>[root@e-smith /root]# mt rewind
>[root@e-smith /root]# tar x -v
>/home/e-smith/files/ibays/software/files/Consultants\ \&\ Other\ JH\
>Staff < /dev/tape &
>[1] 25772
>[root@e-smith /root]# tar: -: Cannot read: Cannot allocate memory
>tar: At beginning of tape, quitting now
>tar: Error is not recoverable: exiting now



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] !!!Taper warning!!!

2002-05-27 Thread Des Dougan

At 07:26 27/5/2002, Julian Luton wrote:
>Sorry to butt in here but I just needed something clarifying.
>SME 5.12 with an AIT-1 drive and 30gig of data = NO BACKUP
>Is this true?

No, not true. Flexbackup works. Darrell was pointing out a limitation of 
Taper (which is identified in its documentation).




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Printer Queue Management

2002-04-13 Thread Des Dougan

This seems such an obvious question, but until recently, I hadn't had to 
consider it. Is there any way to manage a print queue from the client side? 
I know of, and have used, lpq and lprm to manage and clear the queue on the 
server side.

A client of mine has started to have problems with an HP DeskJet 1220, 
where selection of 11x17 paper is causing a hang. However, the job either 
does not display (having already spooled) or won't cancel from the Print 
Manager on a different PC (where the queue can still be seen).

How do others manage this? Do you have clients access the command prompt, 
or is there an add-in that enables users to do this from the client side? 
If not, how feasible is it to develop a panel which would display the 
queue(s) and enable their manipulation?

Thanks,




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] external e-smith-manager access

2002-04-13 Thread Des Dougan

Tom,

At 11:54 13/4/2002, Tom Carroll wrote:
>This should be secure enough shouldn't it?  It shouldn't cause any problems
>making changes this way, right?

No, it should be fine. Using MindTerm is a bit more flexible (IMO) than 
PuTTY/Lynx, as you can use a graphical browser.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] external e-smith-manager access

2002-04-13 Thread Des Dougan

Tom,

At 23:13 12/4/2002, Tom Carroll wrote:
>I am presently
>unable to access my server locally due to medical problems and I want to use
>my MSN account to ssh into my machine


Have you looked at Darrell May's MindTerm Howto on his site? Using MindTerm 
(to ssh) and a tunnel, you can get to the server manager from your browser. 
I've got it set up to access my gateway server, and then another tunnel to 
my test network - it works very well and is pretty straightforward to 
configure (and you don't need to know PERL :>)

Let me know if you need any help with it.



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Adding Apache directives for i-bays

2002-03-11 Thread Des Dougan

I'm trying to set up an i-bay for the eZpublish CMS (I'm using an i-bay so 
that I can compare it with another CMS in a separate i-bay). It requires 
some Apache directives to be set:


Options FollowSymLinks


RewriteEngine On (+ others)

As the i-bay definitions for httpd.conf are dynamically generated, is there 
a mechanism for setting such directives in a configuration file, or should 
I create a template to be concatenated with the generated settings?



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Announcement: SMEServer Updates for PHP Vulnerability

2002-03-10 Thread Des Dougan

At 10:08 10/3/2002, Steve Bush wrote:
>I finally decided to give up on the blades server and try to manually
>install the rpm's.
>PHP gave me a dependency error until I uninstalled php-manual-4.0.4pl1-9.
>I was then able to install all the updates without using --force on them.


FWIW, I downloaded and applied the RPMs too, but did not see any dependency 
errors (on 2 stock 5.1.2 boxes, one an upgrade, the other a clean install).




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Compile a 5.1.2 driver?

2002-03-06 Thread Des Dougan

At 18:04 6/3/2002, Tom Keiser wrote:
>If anyone is set up to compile on 5.1.2, I'd be grateful if you
>could compile a 3ware raid driver for me. They have provided the
>.c, the .h, a text explanation, and a redhat makefile. If a small
>payment is required, I can handle that too.

I've installed make on my test box,  and would be happy to give it a try 
for you.

>"Poor old Peter, Tom, and Dan,
>Hanging on as long as they can.
>Replace those fossils With three John Stossels.
>Topple TV's Taliban."

A bit beyond us non-Americans (or non-cable watching Canadians), I'm afraid :-)




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] netlogon Commands

2002-02-11 Thread Des Dougan

At 05:46 11/2/2002, Dan York wrote:
>Hm I remember us talking about that and you sending me info.
>I guess I thought it was for consideration for the manual or incorporation
>into a HOWTO that I would write (and have not yet done)...

Dan,

My sincere apologies - you are correct, and my memory is at fault. However, 
if you would host the archive until I'm properly up and running, I would 
appreciate it.

I actually updated it yesterday, as I found that I hadn't adequately tested 
on Win 9x :(

As before, it's documented by the comments within the batch file. Depending 
on feedback, I will develop something more user-friendly if that's what 
people would like to see.

I will email the zip file to you separately.



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Migrating profiles

2002-02-09 Thread Des Dougan

Does anyone have a documented procedure for dealing with NT/W2K profiles 
when migrating from (in my case) 4.1.2 to 5.1.2? I've found that the local 
profile is treated as a separate entity when domain logons are activated, 
so that any settings saved in the user's profile are not there when she 
logs into the domain. I've tried the copy function in System Properties, 
but it has not been successful - in one instance, the target was corrupted 
and the user login hung on Explorer errors.

I don't have an NT background, so I am not aware if there is a better way 
of retaining the user's customizations.



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] netlogon Commands

2002-02-09 Thread Des Dougan

At 10:34 8/2/2002, Womack, Eric wrote:
>Anyone have a complete list of netlogon.bat commands they can point me to?
>I just searched through Google, and couldn't find more than one or two
>commands.

Eric,

I have a netlogon.bat that I created to support both Win9x and NT/2K boxes, 
using a couple of utilities (one apparently free, one shipped with Windows 
9x) to aid in setting 9x environment variables.

I asked Dan York a while ago to host it (I don't have my web site up yet), 
but we've never managed to connect to do so. I will email you a zip 
off-list to see if it is of use to you.




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] List behaviour (was [e-smith-devinfo] [BETA] new RAV panel for SME available)

2002-02-06 Thread Des Dougan

At 20:46 6/2/2002, Darrell May wrote:
>Charlie, how about finding something _productive_to do with your time, like
>instead of picking on me, maybe put your time towards a RedHat 2.4 kernel
>Howto


Given that Charlie's posting was timestamped at 20.13 Pacific, and he's in 
Ottawa, where it's after 11 p.m., I think it's highly likely that he is on 
his own time.

I also think it's about time both of you made a constructive effort to be 
polite to each other. The battle of wills (or egos, or whatever) on this 
list is becoming disruptive. Few of us here (i.e. the ones who pay) have 
any call on how Mitel sets its priorities, but I do agree with Greg that a 
roadmap would at least assist in providing a context to development 
discussions.




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Re: remote control Win clients [was - new developer,]

2002-01-26 Thread Des Dougan

At 10:42 26/1/2002, Steven Lewis wrote:
>, can I install another 'test SME 5.1'  in serv/gateway mode with external 
>interface pointing to my home LAN and internal interface connected to test 
>client to simulate remote networks and test the NetMeeting remote access?

Yes, but you'll need a second hub or switch to enable you to connect the 
internal interface of your test box to your test PC on your test LAN. I 
have this set-up at home.




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] console bug

2002-01-05 Thread Des Dougan

At 14:01 5/1/2002, Darrell May wrote:
>.  It shows
>'unsaved changes', review configuration is blank, etcetera.

Darrell,

I just ssh'd into my 5.1b3 test system from my production box. Everything 
looks normal, apart from the server manager option where the colours of all 
the selections apart from the one at the cursor are the same as the 
background. This is likely to be my config. settings rather than anything 
else, as I've been changing $TERM when testing vim.






Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] 5.1 B3 - Vim enhanced question

2002-01-04 Thread Des Dougan

I'm having some minor difficulties with the version of vim-common &/or 
vim-enhanced (6.0.0-27) in 5.1 B3. This appears to be an early alpha of Vim 
6.0. Will a later version be shipped with the released 5.1?

Thanks,



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Ethernet Card Recommendations

2001-12-28 Thread Des Dougan

At 14:12 28/12/2001, Patrick K. O'Brien wrote:
>What does
>everyone else buy that works out of the box with e-smith and is a good price
>value?

I'm very happy with Intel EtherExpress Pro NICs. I have never had a problem 
with them, either during installation recognition or in operation.




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] 5.1 beta: USB support question

2001-12-19 Thread Des Dougan

At 17:11 19/12/2001, Gordon Rowell wrote:
>Is this an SMP capable machine?
>
>If so, this should go away with the next reboot - it's a chicken&egg
>problem with the installer running the non-SMP kernel.


Yes. it is, and, as one rarely needs to reboot a Linux box, I hadn't 
noticed that

Thanks,





Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] 5.1 beta: USB support question

2001-12-19 Thread Des Dougan

I saw this with the first beta, and didn't get round to asking. On reboot 
after applying the upgrade, I noticed two USB services failing:

Dec 19 11:09:56 agatha rc.sysinit: Setting hostname agatha:  succeeded
Dec 19 11:09:56 agatha mount: mount: fs type usbdevfs not supported by kernel
Dec 19 11:09:56 agatha rc.sysinit: Mounting USB filesystem:  failed
Dec 19 11:09:56 agatha modprobe: modprobe:
Dec 19 11:09:56 agatha modprobe: Can't locate module usb-uhci
Dec 19 11:09:56 agatha rc.sysinit: Initializing USB controller 
(usb-uhci):  failed

I wanted to confirm if this was expected behaviour ("not supported by 
kernel"). If there is no USB support, why does it try to start these up? 
Because they're identified by the BIOS?




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba-1.1.0-32 report

2001-12-02 Thread Des Dougan

At 17:37 2/12/2001, Darrell May wrote:
>Problem: Initial W2K attempt to connect to domain using 'admin' failed
>
>Error: 'Logon failure: unknown username or bad password'

Darrell,

If you type the username and password in again, it will successfully connect.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Proposed smb.conf profiles changes (again)

2001-11-30 Thread Des Dougan

At 14:17 30/11/2001, Gordon Rowell wrote:
>Obviously, grab the latest version.

I've downloaded and tested the latest e-smith-samba with roaming profiles 
activated (my strong preference - it provides flexibility as well as a 
backup of the desktop environment).

I've tested with the admin ID as well as a test user. Both seem to work 
well, although I saw one oddity. I logged in and out of admin several 
times, and on one occasion, saw a Z:\ mapping (to ._winprofiles). This 
still exists, left over from last night, on my W2K system. I logged out and 
in again, and it had gone. I did try the net use z: /delete /yes when I saw 
it, but again got the message that it was in use.

I saw no Z:\ mapping otherwise.

I'm wondering if the mapping not being cleared is a timing issue of some sort.



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba-1.1.0-29 available

2001-11-29 Thread Des Dougan

At 10:43 29/11/2001, Gordon Rowell wrote:
>Under NT at least, Z: is mapped by default to ~gordonr/home (not
>~gordonr/home/._winprofile)

Way to go, Microsoft... Isn't inconsistent behaviour wonderful!!

Well, I've had it for tonight. I'll sleep on this and see if I can think of 
anything more creative.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] e-smith-samba-1.1.0-29 available

2001-11-29 Thread Des Dougan

At 21:27 29/11/2001, David Brown wrote:
>OK, the above isn't entirely true:  logon drive = H: will map H: to whatever
>logon home is set to (\\%N\%U in my case).

Which means, it would appear, that H: would end up mapped to (in SME's 
case) \\%N\%U\._winprofile, which would really mess things up, I fear.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] e-smith-samba-1.1.0-29 available

2001-11-29 Thread Des Dougan

At 21:01 29/11/2001, David Brown wrote:
>I'm betting this goes back to the home drive situation I brought up earlier
>when I discussed the logon drive parameter in smb.conf.  If you get a
>chance, see if you can tell what drive letter the netlogon.bat file is
>running under; it's probably Z:


Yes, it is running under Z:\. I'll try your change to smb.conf and report back.





Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba-1.1.0-29 available

2001-11-29 Thread Des Dougan

At 18:47 29/11/2001, Gordon Rowell wrote:
>Great. Assuming you are running e-smith-samba-1.1.0-29 (i.e.
>not using the [profiles] share):

OK. I backed out the [Profiles] share and changed the logonPath directive 
back to use ._winprofile.

>cd ~test
>mkdir winprofile
>cd home
>mv ._winprofile ._winprofile.safe
>ln -s ../winprofile ._winprofile

Also needed to change ownership and group in test4 and test4/home (to 
"test". I didn't try these individually). I then tested it by logging in 
and out several times and checking the mappings etc. The Z:\ mapping is 
still a problem unfortunately:

-
C:\>net use z: /delete /yes
The device is being accessed by an active process.

More help is available by typing NET HELPMSG 2404.

C:\> NET HELPMSG 2404

The device is being accessed by an active process.


EXPLANATION

The drive letter you specified is the current drive of a session. You tried to
delete a drive redirection (x:) while it is in use, possibly as your current
drive.

ACTION

Be sure the drive you are trying to delete is not the current drive in any of
your sessions.
-

Over several logins, this circumstance held true. However, logging in as 
admin (without setting up the symlink at this point) showed the same 
behaviour two or three times, then allowed the mapping to be cleared...

>We could then do the same for the [profiles] share and everyone should be
>happy.

Not sure why we'd need to do that. I agree with making the 9x and NT/W2K 
clients work in the same fashion. Can anyone explain why the Z:\ mapping 
attaches to the profile?



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba-1.1.0-29 available

2001-11-29 Thread Des Dougan

At 18:31 29/11/2001, Gordon Rowell wrote:
>Anyone able to experiment?


I can. Do you just want me to try a symlink, or do you want fragments amended?

Let me know and I'll do it in the next hour or so.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba-1.1.0-29 available

2001-11-29 Thread Des Dougan

Greg,

At 16:51 29/11/2001, Greg J. Zartman wrote:
>A work around for the auto Z: mapping is to put a delete entry in the
>netlogon.bat file:
>
>net use z: /delete /yes


I'll try that tonight. This is the only thing that concerns me about the 
Samba configuration - I don't want hidden files to be available  as a 
general rule.

As a side note, in my "normal", non-SME related job, using NetWare, we also 
use roaming profiles, not hidden, stored off a sub-directory of the user's 
H:\ drive, for both NT and W2K users. However, NetWare has more 
sophisticated management tools which we can use to resolve any issues 
caused by a user doing something stupid.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba-1.1.0-29 available

2001-11-28 Thread Des Dougan

At 23:05 28/11/2001, Gordon Rowell wrote:
>Am I missing something?

That with the Z:\ mapping behaviour I saw, the ._winprofile is not hidden. 
If the Z:\ mapping can be got rid off, then the ._winprofile would work, as 
it would normally be hidden under H:\.

With 9x, the Z:\ mapping is disconnected after netlogon.bat runs.

I'll try and do some more tomorrow night with my batch file setup.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba-1.1.0-29 available

2001-11-28 Thread Des Dougan

Gordon,

 >At 22:09 28/11/2001, Gordon Rowell wrote:
 >No, the brace is in the right place for a file of comments (a Perl "eval" of
 >that block returns nothing). It needs to be moved if you uncomment the lines.

Ah, OK. Shows how little I know about Perl!!

 >It's not the sticky bit. The set-group id bit above means that group
 >ownership is inherited when subdirectories are created. The sticky bit
 >would be a terminal 't' (instead of the x) which means that only users
 >can delete their files (see /tmp, /var/tmp). If it must be world-writable
 >(yecch), it needs to be sticky as well.

Thanks for that.

 >Could you make it world-writable and log in as the test user again? Then
 >do an "ls -l" so we can see what it looks like.

As requested:

[root@agatha samba]# l
total 16
drwxr-xr-x4 root root 4096 Nov 28 01:42 .
drwxr-xr-x6 root root 4096 Nov 28 01:42 ..
drwxrwsr-x7 adminadmin4096 Nov 28 01:42 printers
drwxrwsrwx5 adminadmin4096 Nov 28 22:33 profiles
[root@agatha samba]# ls -l pro*
total 12
drwx--   13 adminadmin4096 Nov 28 21:21 admin
drwx--   13 test admin4096 Nov 28 22:34 test
drwx--   13 test4admin4096 Nov 28 22:33 test4

As you can see, this worked fine. The only oddity I noticed is that I was 
left with a Z:\ mapping (of the home directory) after netlogon.bat had run. 
This occurred before, but with the ._winprofile directory being mapped.






Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba-1.1.0-29 available

2001-11-28 Thread Des Dougan

Gordon,

At 02:07 28/11/2001, Gordon Rowell wrote:
> - Whether we need to use a separate [profiles] share

I've tested this as follows:

1. Upgraded my box to 5.1 Beta1 and applied your latest Samba contrib.
2. Edited the 61Profilesshare template and uncommented the various lines 
(note: the closing brace is in the wrong place - the template won't expand 
correctly. I moved it to before the [Profiles] line.)
3. Edited 11logonPath so that it produces \\%N\Profiles\%U
4. Expanded templates, restarted samba.

When I logon as a test user, I get an error that it can't write the profile 
to \\agatha\Profiles\test4.pds. I logged in as admin, and was able to 
create a profile there. It would appear that the directory permissions are 
incorrect:

[root@agatha /root]# ls -l /home/e-smith/files/samba
total 8
drwxrwsr-x7 adminadmin4096 Nov 28 01:42 printers
drwxrwsr-x3 adminadmin4096 Nov 28 21:12 profiles

Sticky bits have always eluded me somewhat. Can someone explain what the 
one above is for?

I've left this for the moment, rather than making the profiles directory 
world writable.

One other thing which I'd like to check is how the netlogon.bat is 
executing, but it's running minimized. Can anyone confirm if changing the 
_DEFAULT PIF file appropriately will affect this?

Thanks,



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba-1.1.0-25 roving profiles

2001-11-26 Thread Des Dougan

Greg,

At 20:19 26/11/2001, Greg Zartman wrote:
>Yes, this is because you are a member of the domain administrator group.  As
>part of this group, you have the ability to add/delete user accounts.

Does this mean that all SME users are in this group? Is there no way to 
have different user classes?




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba-1.1.0-25 roving profiles

2001-11-26 Thread Des Dougan

At 21:50 26/11/2001, Darrell May wrote:
>If this is a non-production server you might wish to rollback the samba
>templates and test what works and doesn't work for roving profiles.

I will test this on Wednesday or Thursday evening, depending on my 
schedule, and report back.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba-1.1.0-25 roving profiles

2001-11-26 Thread Des Dougan

At 22:02 25/11/2001, Darrell May wrote:
>Also IIRC, I thought WinNT/W2K/XP had known problems using a hidden
>profile directory.

Darrell, can you elaborate on the known problems? Are they related to my 
findings below?

>This was the reason for using a separate profiles
>share for WinNT/W2K/XP.
>
>Is this working for everyone who is implementing roving profiles?

I came on a problem last night when testing roaming profiles. After the 
logon script had run on my Win 2K box, I noticed that I was left with a Z:\ 
drive mapped to the ._winlogons directory, so it was no longer hidden.

I also found what seems at first glance to be a major security problem on 
Win 2K. I created a test user (test3) on SME 5.1alpha and logged into it 
successfully. When checking it out, I found that it has administrator 
rights on the local workstation (even though there is no test3 user 
locally). I confirmed this by being able to delete another local user 
without being asked for the local admin password.

Can any of the Win 2K gurus out there confirm these behaviours and shed any 
light on either?


Thanks,



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] smeserver-5.1beta1.iso

2001-11-25 Thread Des Dougan

At 21:45 25/11/2001, Darrell May wrote:
>but it appears there is a recent 'smeserver-5.1beta1.iso' on e-smith.org.

Trust you to spot it before anyone else :)

It hasn't been announced yet. There are still some issues with the alpha1, 
AFAIK.

Welcome back. Hope you had a good vacation.



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Win 2K domain settings (was Re: root and admin)

2001-11-21 Thread Des Dougan

At 20:05 19/11/2001, Gordon Rowell wrote:
>Try cranking up the debug level in smb.conf and see whether you ever get
>the netlogon request from the client.

I've set debug level = 3 (don't know if that's enough). I will post PC, 
smbd and nmbd logs to bugs for you to look at - I am not sure what I'm 
supposed to look for here.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Re: root and admin (was Re: Joining domains)

2001-11-21 Thread Des Dougan

At 22:59 19/11/2001, Gordon Rowell wrote:
>Now try joining the domain by entering admin as the user and your system
>password.
>
>Try also to join the domain as "root", which should now fail.

Both work as they should (i.e. admin works, root fails).




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Win 2K domain settings (was Re: root and admin)

2001-11-19 Thread Des Dougan

At 20:05 19/11/2001, Gordon Rowell wrote:
>Try cranking up the debug level in smb.conf and see whether you ever get
>the netlogon request from the client.


Will do (again, it'll be tomorrow at the earliest).




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Re: root and admin (was Re: Joining domains)

2001-11-19 Thread Des Dougan

At 20:05 19/11/2001, Gordon Rowell wrote:
>Still investigating, but reports from others who are willing to try this
>out would be great.

I'll try it, but it won't be till tomorrow night at the earliest.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Win 2K domain settings (was Re: root and admin)

2001-11-18 Thread Des Dougan

At 07:26 18/11/2001, Gordon Rowell wrote:
>What are the permissions of the netlogon directory and netlogon.bat
>on your machine?

drwxr-xr-x2 adminadmin4096 Nov 17 13:31 netlogon

drwxr-xr-x2 adminadmin4096 Nov 17 13:31 .
drwxr-xr-x6 root root 4096 Nov 11 06:58 ..
-rwxr--r--1 adminadmin 177 Nov 16 17:26 netlogon.bat

I assume these are defaults, as I haven't changed them (and, of course, 
they work fine for Win 9x).

Cheers,



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Win 2K domain settings (was Re: root and admin)

2001-11-18 Thread Des Dougan

At 07:12 18/11/2001, Gordon Rowell wrote:
>After that a login as me gave me the logon.bat

That's the behaviour I'd expect to see, but it just isn't happening on my box.

I definitely need some help on this one.

Thanks,





Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Win 2K domain settings (was Re: root and admin)

2001-11-18 Thread Des Dougan

At 14:28 17/11/2001, Des Dougan wrote:

>When I try "net use h: /home" from the command line, I get the message:
>
>"The user's home directory has not been specified."

I've done some more testing. If I go to the Advanced option of Users in 
Control Panel and specify the Connect option and set my home path to H: at 
\\servername\%USERNAME%, when I log in as the user, I get an H: drive. 
Setting the profile path in the same tab does not work effectively, and 
specifying "netlogon.bat" in the Logon Script option seems to have no effect...

I can't see why I need to do any of this, though - the smb.conf settings 
should surely manage this?

Gordon, did you need to add anything of this type to get your NT system to 
work?




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Win 2K domain settings (was Re: root and admin)

2001-11-17 Thread Des Dougan

Gordon, et al,

At 13:39 16/11/2001, Gordon Rowell wrote:
>Very simple one right now - as requested:

I can join the domain successfully with my Win 2K (SP2) box. However, it 
doesn't seem to even attempt to execute netlogon.bat. I renamed my own file 
and used the basic one Gordon posted, with the same result (or lack thereof!).

When I try "net use h: /home" from the command line, I get the message:

"The user's home directory has not been specified."

 From all the reading I've done, my understanding is that connecting to the 
domain should provide access to the various bits of smb.conf, including the 
"logon script" directive and that this should execute at logon without 
having to do any of the advanced user options in Control Panel.

If anyone who is more familiar with domain access and settings would care 
to jump in, I'd appreciate it. Right now, the Samba code in the alpha, with 
Gordon's updates, looks really solid except for this issue.


Thanks,



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Re: root and admin (was Re: Joining domains)

2001-11-15 Thread Des Dougan

At 06:19 16/11/2001, Gordon Rowell wrote:
>I believe I've got it after a trawl through the Samba source.
>
>chmod 0660 /etc/smbpasswd   # i.e. 0600 root root
>
>seems to do the trick. I can now join a domain as "admin", since admin is
>in group root and can now write to the smbpasswd file. As root and admin
>are the only members of the root group, this should be fine.


I couldn't get this to work...

The steps I went through:

1. Installed Gordon's new RPMs

2. Ran the expand template and smb reload commands

3. Connected to the manager and changed the system password (why was this 
step required? I had to use the existing password to connect...)

4. Connected my Win 2K box to the test LAN. I did this by remaining logged 
in as my ID (an admin user) and dropping and renewing the DHCP lease to get 
an address on the test LAN, after swapping the cable, of course.

5. Changed from workgroup to domain. At the user/password dialog I used the 
admin ID and got "The following error occurred attempting to join the 
domain "mitel-networks". The account used is a computer account. Use your 
global user account or local user account to access this server". Trying as 
root: "The remote procedure call failed".

6. I then logged in as the local administrator. Changing the domain as 
admin gave me "Incorrect user ID or password". I tried this a couple of 
times to ensure I hadn't mistyped it.

7. As root: "Welcome to the mitel-networks domain". Yes

8. Logged in as my test ID - did not appear to run netlogon.bat. Checked 
mappings to verify this.

9. Tried a "net use h: /home" command from the command line - failed saying 
it wasn't defined (I think - I neglected to note the message). It does seem 
that it's not picking up the "logon script" parameter from smb.conf. I also 
noted that you've changed ".profiles" to "._winprofile". Is there a 
specific reason for this?

So I had some success, but the netlogon.bat not running is a big problem. 
I'm not an NT Server person, so I don't know what to check for in my local 
settings, if any. I did try to specify netlogon.bat in the Advanced User 
settings in Win 2K.

I guess one of the basic questions is "does the NETLOGON share get mapped 
as Z: the same way it does with Win 9x"? If not, my netlogon.bat would 
likely not run very well. The fact that the net use commands don't want to 
run is baffling to me, too.





Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] logon home vs logon path

2001-11-15 Thread Des Dougan

Greg,

At 08:01 15/11/2001, Greg Zartman wrote:
>This has nothing to do with Samba.  Microsoft would need to implement this
>functionality client side.

We have this on NetWare at work - in a large network it saves having to 
create local accounts separately, and in out case, there is never normally 
a need to logon locally without also being connected to the network.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Re: Joining domains (was Re: [e-smith-devinfo] logon home vs logon path)

2001-11-14 Thread Des Dougan

Gordon,

At 09:18 15/11/2001, Gordon Rowell wrote:
>Note: You _must_ (under the current version of Samba) use "root" and the
>root/admin password as the user on the WinNT/2K client to allow the machine
>to join the domain.


Root is the one account I didn't try...

What did you fix in the RPMs? I will install them tomorrow night and report 
back (because now I'm off to bed).


Cheers,



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] logon home vs logon path

2001-11-14 Thread Des Dougan

At 18:57 14/11/2001, Des Dougan wrote:
>I will make the template change to use .profiles and see what happens (as 
>I already have a Win 98 box set up, I can test profiles on both). If I get 
>to it, I'll report back what I find.


I brought my Win 2K box up on my test LAN. I made a dumb mistake firstly - 
changed the workgroup name instead of adding the mitel-networks test domain 
name. Before I realized what I'd done, I tested that I could access shares 
but (obviously) couldn't get the netlogon.bat to run. Eventually the penny 
dropped, and I tried to access the domain. When I hit "OK" in the network 
settings dialog, I got a dialog box asking for a user ID and password to 
connect to the domain. When I tried any of the test user IDs I've set up, I 
got an error that the account was a machine account and to use a local or 
group account (or words to that effect). If I tried a non-defined account 
(such as the local administrator account), I got the error you'd expect - 
that the account isn't defined.

I haven't been following very closely the recent thread that Darrell was 
prominent in, but I had understood that the 5.1 alpha included all the 
stuff agreed in the thread. Am I doing something wrong, missing a step, or 
do we have a problem here?

One last question: is there functionality in Samba (now or perhaps planned) 
to automatically build the local user account when the user first logs into 
the domain? Is that what winbind will do when it's complete?




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] logon home vs logon path

2001-11-14 Thread Des Dougan

Gordon,

At 03:28 15/11/2001, Gordon Rowell wrote:
>Great - thanks. I propose we unify the profiles under the .profile
>directory of each user, as previously discussed in this thread.
>
>I believe that also means we can lose the [Profiles] share.
>
>Are there any objections to this?

This sounds reasonable to me.

I have been inactive since Monday as I had to go and do real work and 
family stuff :(   I have my Win 2K box which I haven't yet connected to 5.1 
alpha, and which I had planned to try tonight. I will make the template 
change to use .profiles and see what happens (as I already have a Win 98 
box set up, I can test profiles on both). If I get to it, I'll report back 
what I find.

By the way, your timestamps are way off again...




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] logon home/path and %L/%N (was Re: [e-smith-devinfo] 5.1 Alpha - "net use")

2001-11-12 Thread Des Dougan

At 21:08 12/11/2001, Gordon Rowell wrote:
>I am more comfortable with %N as (as Charlie has said), we know that
>this resolves to "this server".

So would %L be used in a multi-server environment?




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] logon home/path and %L/%N (was Re: [e-smith-devinfo] 5.1 Alpha - "net use")

2001-11-12 Thread Des Dougan

At 17:03 12/11/2001, Gordon Rowell wrote:
>Finally, should we be using %L (login server) or %N (netbios name of
>this server)? We are currently using %N and I don't see a reason to
>change.

Just to be clear on this - the shipped alpha has %L in both fragments. I 
used %N in my current 4.1.2 set-up probably because that's what someone 
suggested. I'm not clear on the differences between the two parameters, as 
they both seem to refer to the same server (unless I misunderstand 
something...). We should go with whichever option makes most sense and be 
consistent across all affected fragments.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] 5.1 Alpha - "net use"

2001-11-12 Thread Des Dougan

At 13:15 12/11/2001, Greg Zartman wrote:
>Second, an additional backslash needs to be added to
>the parameter.


And to the parameter in the 11logonPath fragment - it has the same issue.

Thanks for all your help on this.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] 5.1 Alpha - "net use"

2001-11-12 Thread Des Dougan

Greg,

At 11:40 12/11/2001, Greg Zartman wrote:
>Say setting the logon path = \\%L\Profiles\.%U
>
>That is, hide the profiles.


No, this has no effect.

Setting "logon home = \\\%L\%U\.profiles" works.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] 5.1 Alpha - "net use"

2001-11-12 Thread Des Dougan

At 11:40 12/11/2001, Greg Zartman wrote:
>Say setting the logon path = \\%L\Profiles\.%U
>
>That is, hide the profiles.

In my 4.1.2 version, I have

logon home = \\%N\%U\.profiles

So are you suggesting that Profiles be at a level higher than the home 
directory? Let me try this to see how it will work...




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] 5.1 Alpha - "net use"

2001-11-12 Thread Des Dougan

Greg,

At 11:22 12/11/2001, Greg Zartman wrote:
>.  It seems to me that if you put a period before the profile
>directory, then they would be hidden wouldn't they?

Yes, it's straightforward to do. I was suggesting it to the list (well, 
Gordon and Charlie actually) rather than to you. I'd like to see it as a 
default.

I'm testing at the moment on my daughter's Win ME laptop. I will also be 
testing on Win 98 and on my Win 2K desktop, which I'll move to my test LAN 
for testing the domain logon stuff.

Thanks for all your help with this.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] 5.1 Alpha - "net use"

2001-11-12 Thread Des Dougan

Greg,

At 10:56 12/11/2001, Greg Zartman wrote:
>Looks like the fragments need to specify three backslashes when two are
>required in those fragments that utilize perl code.

Yes, three backslashes resolves the issue. Thanks!

I'd like to suggest that the roaming profile be stored in a hidden 
.profiles directory by default, or at least in a sub-directory of the home 
root. It's too cluttered and seeing USER.DAT is likely to confuse users.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] 5.1 Alpha - "net use"

2001-11-12 Thread Des Dougan

Greg,

At 10:09 12/11/2001, Greg Zartman wrote:
>When you expand the fragment, you should see the parameter
>
>logon home = \\%L\%U in your smb.conf file.


I think that this is what the problem may be - I see only a single \ ahead 
of %L, and the same in the logon path line:

 logon home = \%L\%U
 logon path = \%L\Profiles\%U

On my 4.1.2 production server, I'd previously added an "11globals" fragment:

logon home = \\%N\%U\.profiles

which expands with both backslashes intact.



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] 5.1 Alpha - "net use"

2001-11-12 Thread Des Dougan

Greg,

At 09:52 12/11/2001, Greg Zartman wrote:
>Let me try this again  My email client seems to be hacking out the open
>bracket at the beginning of the fragment:


OK, I've made the change, including the bracket :) However, expanding the 
templates gives me the same problem. With the trailing \ in place, I saw an 
error in smb.conf, but the "net use h: /home" command worked. With Greg's 
changes, I am back to the syntax error.




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] 5.1 Alpha - "net use"

2001-11-12 Thread Des Dougan

Michael,

At 02:14 12/11/2001, Michael Doerner wrote:
>would you please post a small part from smb.conf from 5.1 please?

As requested:

 logon path = \%L\Profiles\%U
 logon home = \%N\%U\.profiles
 logon script = netlogon.bat

There is no "logon drive" directive.

Someone mailed me off-list to suggest it may be a CR/LF issue. However, I 
get the same problem from the command line, FYI. I haven't yet tried the 
command line with no NETLOGON.BAT in the equation.




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] 5.1 Alpha - "net use"

2001-11-11 Thread Des Dougan

Scott,

At 22:35 11/11/2001, Scott Duncan wrote:
>Comparing the 2 revisions is apples and oranges...

I'm aware that the two are very different. However, I have tried with the 
parameters in upper case and, in fact, the whole command in upper case. I 
get the same results "The syntax is incorrect".




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] 5.1 Alpha - "net use"

2001-11-11 Thread Des Dougan

At 22:27 11/11/2001, Scott Duncan wrote:
>You MUST use
>the HOME switch in CAPS.


No, this is not the issue. The same PC connects properly to my production 
4.1.2 box where the /home switch is in lower case.




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] 5.1 Alpha - "net use"

2001-11-11 Thread Des Dougan

Gordon asked me to cross-post this to devinfo for all you Samba gurus to see:

--

I have a NETLOGON.BAT file which I've scp'd from my production server. When 
I logon to 5.1, the "net use h: /home /yes" command is not executing. I'm 
getting a message that the syntax is incorrect. The client PC is Win ME 
(yeuchh!).

I suspect that one of the Samba settings has changed, but I'm too brain 
dead to dig into it further tonight...

--

Let me know if you need further information.




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] dmc-mitel-samba-2.2.1a-6

2001-10-16 Thread Des Dougan

I agree that this is a positive change.

At 09:13 16/10/2001, Darrell May wrote:
>Everyone agree?  Anyone disagree?  Any other changes come to mind?



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] dmc-mitel-samba-2.2.1a-6

2001-10-15 Thread Des Dougan

Darrell,

Re. the discussion on hidden profiles, I am using %N rather than %L (and 
I'm not sure why, either :> ), but it works a charm on Win9x (on Samba 
2.0.x). Per my template fragment:

logon home = \\%N\%U\.profiles

I assume it will work the same on 2.2.x, as that part of the code doesn't 
seem to have changed from my reading of the docs. As you rightly point out, 
they are very confusing, though.

At 08:29 15/10/2001, Darrell May wrote:
>Graeme, try editing this to:
>
> logon home = \\%L\%U\



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] procmail ofr dummies

2001-10-12 Thread Des Dougan

At 09:10 12/10/2001, stephen noble wrote:
>I don't really want to use OLE but ...

I'm using Eudora, which works fine (although, as yet, I don't have any but 
the default folders).




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Altering Kick Start Script

2001-10-10 Thread Des Dougan

At 17:40 10/10/2001, you wrote:
>Expect to spend many days working on this - it's not for the faint-hearted,
>and I'd recommend purchasing supported hardware instead.

Somewhat germane to the topic - I'm in the market for a new server, for 
which I'd like RAID 5. I was told this past weekend by one of the 3Ware 
distributors in Vancouver that they (3Ware) have discontinued all RAID 
controller production, so that definitely impacts the IDE RAID side of things.





Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] e-smith-samba RPM available for testing/development

2001-10-05 Thread Des Dougan

I haven't had an opportunity to look at Gordon's new RPM, so this may be 
moot, but I have been using hidden roaming profiles for Win 9X clients for 
some time now (still on samba 2.0.x).

I've done it through the creation of an 11globals fragment:

#
logon home = \\%N\%U\.profiles
#

This creates the hidden tree for the roaming profiles. So far it seems to 
work fine (over several months). Is this the most elegant way of doing 
this? Can a single method be defined for both 9X and NT/2K clients?

At 21:23 4/10/2001, Gordon Rowell wrote:
>  - split the smb.conf templates into their own RPM
>  - split 10globals into lots of separate fragments



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] help with cron (not SME5 releated)

2001-09-28 Thread Des Dougan

Darrell,

At 10:36 28/9/2001, Darrell May wrote:
>To run every 15 & 30 minutes:
>
>[root@e-smith /root]# cat /etc/cron.d/raidmonitor
>*/15 * * * * root /usr/local/bin/raidmonitor -v
>
>[root@e-smith /root]# cat /etc/cron.d/ravupdate
>*/30 * * * * root /usr/local/rav8/bin/ravav --update engine --host \
>ftp.us.ravantivirus.com > /dev/null 2>&1

What you have above is correct and should work fine. I just created a test 
entry in /etc/cron.d:

*/5 * * * * root ls -l

and it ran as expected, every 5 minutes.

>But cron did not pick up the changes automatically.  Nor did:
>
>/etc/rc.d/init.d/crond stop|start|restart|reload ... etcetera do any good
>
>It took a full reboot to get everything working just fine.

Is this on your 4.1.2 or 5.0 servers? My test is on 4.1.2. I wouldn't 
expect to see any different behaviour at all in 5.0 - Vixie cron is a 
pretty stable product, so I am at a loss as to why this is happening for 
you. Do you have spaces or tabs between the fields? I just thought of this, 
so haven't tested it, but perhaps tabs are the cause (if indeed you'd used 
them - long shot, I know).




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] help with cron (not SME5 releated)

2001-09-27 Thread Des Dougan

Darrell,

You shouldn't have to do anything - the cron daemon refreshes when changes 
have been made according to the man page. For example, when I made the 
change for flexbackup, it was picked up OK. Do you want to post an example 
to see if there's something obvious you may have missed?

At 15:02 27/9/2001, Darrell May wrote:

>Hey everyone, I'm having a bit of an issue with cron.  Maybe it is simply
>lack of knowledge on my part so if you see an error in my comments,
>please share your wisdom.
>
>I'm trying to add, as an example:
>
>/etc/cron.d/mynewcronjob
>
>(I'm of course doing this the template way).
>
>Now it 'appears' that a full reboot is required to have these new jobs
>read and launched correctly.  I've tried all the variants shown below:
>
>/etc/rc.d/init.d/crond start|stop|reload|restart
>
>but only a reboot works.  What am I missing?



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] AntiNimda contrib RPMS.

2001-09-21 Thread Des Dougan

Graeme,

Many thanks.

At 19:31 21/9/2001, Graeme Robinson wrote:
>squid is active by default under 4.1.2, but not transparent -  ie you need
>to point the browsers to it to use it.



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] AntiNimda contrib RPMS.

2001-09-21 Thread Des Dougan

Pardon my ignorance, Adrian, but does your contrib require squid to be 
active? I have a default (well, almost :) ) e-smith setup, with no squid, 
but am interested in your work.

Thanks,

At 14:37 21/9/2001, Adrian Chung wrote:
>Apparently the RPMS reject *any* attempts at outbound web traffic,
>since the packets are filtered in the OUTPUT chain, instead of the
>INPUT chain.
>
>This also blocks outbound proxy traffic. :)
>
>I've rolled two new RPMS that resolve this:



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] flexbackup-to-disk-0.1.txt

2001-09-18 Thread Des Dougan

I've created a How To on using flexbackup to create a backup on a local PC. 
The initial iteration is at 
http://www.e-smith.org/docs/howto/contrib/flexbackup-to-disk-0.1.txt.

I've had some feedback and suggestions already from Darrell May, and will 
be incorporating these in the next day or so.

Further feedback is welcomed, of course!



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Win2K printing problems

2001-09-05 Thread Des Dougan

Jon,

Sorry if I wasn't clear. When I said "current version", I meant the current 
e-smith version, not 2.2, so you wouldn't have to upgrade.

At 21:11 5/9/2001, Jon Thiele wrote:
>I found the documentation on how to install the 'current' version of Samba,
>its just that I'm not sure I want to go this route.



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Win2K printing problems

2001-09-05 Thread Des Dougan

Jon,

I have a Win 2K station on my home LAN here (this one, in fact) running on 
the current version of Samba. If you do a search for "domain" or "Windows 
NT" in the archive, you should find the steps you need to take to register 
the workstation with e-smith. Once you've done that, you should be able to 
see the share OK and set up your printer driver to print to it.

Let me know if you need more help, and I'll go back through my notes.

At 19:44 5/9/2001, you wrote:
>1)  is there anyway I can set my printer access to: Write = Group (or
>something like that...)



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] DHCPCD question

2001-09-02 Thread Des Dougan

The subject of my initial query doesn't have the latest IMP fixes, 
otherwise they are both clean 4.1.2 installs (not upgrades).

At 14:39 2/9/2001, Charlie Brady wrote:
>Interesting. Perhaps they are different versions.



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] DHCPCD question

2001-09-02 Thread Des Dougan

At 10:14 2/9/2001, Charlie Brady wrote:
>I assume that DHCP is working correctly and you are getting an IP address 
>for the external interface, as
>desired.

Yes, that's correct.

>What you are reporting is just a cosmetic problem.


OK. It just seemed odd, because the other server I checked is reporting the 
system name in the same field.

Cheers,




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] DHCPCD question

2001-09-02 Thread Des Dougan

In checking the setup of a new server, I noticed that the dhcpcd process is 
running as follows on the external interface:

/sbin/dhcpcd -R -d -h useraccount eth1

However, the system name is not "useraccount", and the admin settings are 
defined to get the IP address using the MAC address, not a user name.

Can someone clarify what may have happened here so that I can correct it?

Many thanks,



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Re: Flexbackup to disk [was SMB/mount oddity]

2001-08-21 Thread Des Dougan

Darrell,

Many thanks for your reply. I will try to find some time tonight or 
tomorrow night to look into your suggestions, and will get back to you and 
the list as soon as I can.

At 00:49 21/8/2001, Darrell May wrote:
>Hi Des, hey I looked over your backup to disk script and then came up
>with a completely different solution.  Why not use flexbackup to perform
>your backup to disk?



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] SMB/mount oddity

2001-08-19 Thread Des Dougan

Darrell,

Thanks for your reply.

At 13:49 19/8/2001, you wrote:
>Hi Des, you should publish your script for downloading/viewing so we may
>review and comment.  Can you make it available for download?

Here it is:

---

#!/bin/sh
#
# This script runs as a cron job to back up various e-smith directories and 
files
# to a shared directory on a mounted samba filesystem. The list of 
directories and
# files is included in /root/backup_directories.list
#
# DJD 2 August 2001
#
#
# Create system name variable
#
name=`uname -n`
#
# Clear old (if there) mysql dump files
#
/sbin/e-smith/signal-event mysql-delete-dumps
#
# Dump mysql tables to file
#
/sbin/e-smith/signal-event mysql-dump-tables
#
# Rename last backup
#
if [ -f /mnt/backup/$name.tar.z ]; then
mv /mnt/backup/$name.tar.z /mnt/backup/$name.prev.tar.z
fi
#
# run the backup process, with compress option, to samba mount.
#
tar -cZf /mnt/backup/$name.tar.z -T /root/backup_directories.list

These are the contents of the backup_directories.list file:

/home/e-smith
/etc/e-smith/templates-custom
/etc/e-smith/templates-user-custom
/etc/ssh
/root/.ssh
/etc/passwd
/etc/shadow
/etc/group
/etc/gshadow
/etc/smbpasswd
/etc/fstab
---

I used a variable for system name to make the script portable. I also 
initially designed it to put the date as part of the archive filename so 
that multiple backups could be saved, but as I have a disk space constraint 
at present, I simplified it to keep one previous version.

>In general, I would not expect a W2K workstation share to be always
>available.  I would perform the mount in the script, then implement a
>check to make sure the mount was successful and if successful, perform
>the backup, and at completion unmount the share.

I have been thinking along the same lines. My workstation is normally 
always on, with me as the only user, but I agree that for catering for all 
eventualities, the share should be added.

Best wishes,




Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] SMB/mount oddity

2001-08-19 Thread Des Dougan

As I don't have a tape drive, I've set up a script and cron job to do what 
is effectively the desktop backup function on a scheduled basis. I've done 
this partly by mounting a disk on my workstation (W2K) as /mnt/backup using 
smbfs. It ran successfully last weekend, but did not this week.

The messages file has the following output:

Aug 19 01:00:03 jeeves kernel: smb_retry: signal failed, error=-3
Aug 19 01:00:03 jeeves kernel: smb_lookup: find //jeeves.tar.z failed, error=-5
Aug 19 01:00:03 jeeves kernel: smb_retry: signal failed, error=-3
Aug 19 01:00:03 jeeves kernel: smb_lookup: find //jeeves.tar.z failed, error=-5
Aug 19 01:00:03 jeeves kernel: smb_retry: signal failed, error=-3
Aug 19 01:00:03 jeeves kernel: smb_lookup: find //jeeves.tar.z failed, error=-5

When I started to check, I found that /mnt/backup seemed to have 
disappeared (using df and ls -la). I tried a umount, which worked, and was 
able to remount it again and run the script from the command line.

In the past week, I've rebooted my workstation a couple of times and also 
applied the IMP patches. I surmised that the reboots may have caused the 
mount to get confused, so I tried to determine if that was a factor this 
morning by restarting the workstation again. However, the mount was still 
active.

Could it be a timing issue, if the WS was disconnected from the LAN. I also 
logged into the WS as administrator, rather than my ID. May this be a factor?

I'd appreciate any light which can be shed on this. I will strengthen the 
script if it is login or timing related and am happy to write a HOWTO if 
anyone would find it of use.




Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Granite Canyon

2001-08-15 Thread Des Dougan

Does anyone know what is happening at Granite Canyon? It looks like the 
site is down. Anyone else use them for DNS?



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Code Red Is back

2001-08-08 Thread Des Dougan

Don't want to start a "mine is bigger than yours" contest, but:

grep default.ida?X /var/log/httpd/access_log | wc -l
1889

Half of those in the last 36 hours. This one is definitely worse than the 
initial variant.

At 20:44 8/8/2001, Rob Hillis wrote:
>[root@e-smith /root]# grep default.ida /var/log/httpd/access* | wc -l
> 869



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Log rotating

2001-08-07 Thread Des Dougan

Dean,

Look in /etc/crontab - it runs the various hourly, daily, weekly and 
monthly processes.

At 10:28 7/8/2001, Dean Staff wrote:
>I've got my e-smith boxes logging my pop connections and rotating the
>log daily, but it does it at 4:02am everyday, I'd like to get it to
>rotate them at midnight.



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Modifying /etc/fstab

2001-08-02 Thread Des Dougan

I want to add an additional mount to /etc/fstab (for an smb file system to 
enable me to back up my home e-smith box to my W2K workstation). I noticed 
that fstab is not included in the template system. I know what I need to do 
(and in fact have tested it successfully), but am interested in polling 
this group to see whether there is a consensus around adding local changes 
such as this to the template system, or simply making them in place.

What do all the gurus out there think?



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] a Question of IP

2001-07-26 Thread Des Dougan

You can set up a cron job to run "ifconfig -a | grep addr:" and pipe it to 
a file in one of your HTML directories. That will display all three IP 
addresses (eth0, eth1 and lo).

At 17:45 26/7/2001, Lotas T Smartman wrote:
>Right, im having a few problems with DynDNS services i use. I use =
>No-ip.com and miniDNS.net. My problem is the finding of my ip address. I =
>have a tempory solution (well 2 of them). First one is a php script. =
>Here is the scrips output: www.lotas.f2s.com/test.php. The second one =
>involves me telnetting in to the server and running a script which gets =
>the ip address from ifconfig. Anyway, these dont work as well as liked. =
>Is there a way to post my IP to a file (html or txt) to the html =
>directory. Thanks for any information.



Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] RAID 1 installation problem

2001-07-15 Thread Des Dougan

At 20:14 10/7/2001, Des Dougan wrote:
>I will have to annoy the family at the weekend and take the server offline...

Oh my... Never a truer word spoken. I've basically been down 24 hours, all 
in, but am finally up again with one minor problem (of which more later).

I did a backup to desktop (no tape drive yet). This took several hours (1.2 
GB), but finally completed OK. I then brought down the server and dug into 
the diagnostics and EISA configuration options (the box is an early Dell 
PowerEdge server with an EISA bus and SCSI interfaces). The option to 
low-level format is part of the EISA utilities. I ran it on disk 0, and it 
ran for well over an hour, finally ending with a "Caution" message - 
apparently caused by a time-out. I then ran disk 1, and it ran about an 
hour and ended with the same message. Re-booted, and got an error message 
in the SCSI BIOS about head/cyl. translation. I eventually worked out that 
the DOS > 1024 cylinder setting was on and was affecting the geometry. 
Re-set, went back and re-formatted again. This time disk 1 failed with a 
"medium error". Retried - same result. Rebooting showed the drive in the 
BIOS, but it couldn't be seen by either Linux or DOS. I installed e-smith 
(I actually used the RAID 1 setting again - it installed, but used only 
/dev/sda, of course). In my attempts to try to figure out if this was a 
hardware problem or simply a configuration issue, I did the low-level 
format again, and somehow managed to blow away /dev/sda too. As it was now 
well after 1.00 a.m., I left it till this morning. Fortunately my test 
server has a SCSI disk (also a Seagate Barracuda), so I swapped it in, and 
it booted OK (phew!!).

I then ran a clean install on that disk, configured it, and set the restore 
from desktop going. This worked fine, as far as I could see - could see and 
access shares, that is, until I tried to log in to the Manager - it 
wouldn't accept my password. Swapped the video back across and tried from 
the console - nada for both root and admin (same password, of course). I 
was positive I had not made any error with passwords (I used the same as 
the previous one on the rebuild), but was basically stuck (I'd also changed 
admin to log in, although that wouldn't have made much difference).

I tried a few things, including checking that passwd and shadow had been 
included in the backup file; booted using tomsrtbt (couldn't mount 
/dev/sda6); and ran the update option. I eventually re-installed a clean 
system and re-restored, this time logging in to the console at the earliest 
opportunity. This was fortuitous, as the same problem occurred again. It 
seems that the /etc/shadow file had been zapped - it was there but was 0 
bytes. I tried copying /etc/shadow- to the main file, but this didn't help 
either. I manually set the root password before doing the final reboot 
following the restore, so that I was able to log in after the reboot. I had 
to also reset the admin passwd to access the Manager.

As I noted, everything seems OK except that I can't get in using ssh. I 
hadn't re-applied the 4.1.2 updates before doing the restore, and got this 
message in the log:

Jul 15 18:00:16 jeeves sshd: RSA key generation failed
Jul 15 18:00:16 jeeves e-smith-bg: Generating SSH2 RSA host key: [ FAILED ]^M

I applied the 3 RPMs in the update directory and re-tried the ssh settings, 
but get the same message. I would appreciate any help on resolving this 
issue. I will also report the passwd/shadow problem to the bugs@ account - 
after the second iteration, I am more than convinced this is a bug of some 
sort in the restore routines.





Des Dougan


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] RAID 0 installation problem

2001-07-10 Thread Des Dougan

Ed,

Thanks for your help. I did mean RAID 1 - brain and fingers not 
communicating effectively

I'll try your suggestions.

At 13:30 10/7/2001, Edward Tak wrote:
>This applies if it's a RAID 1 install and not a RAID 0 install (Can you do 
>a RAID 0 with esmith?)



Des


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




  1   2   >