Re: What is the best java for debian-amd64 ?

2008-09-16 Thread Thomas Preud'homme
Tuesday 16 September 2008, Hans-J. Ullrich wrote :
> Hi all,
>
> as there are many java versions installable, what is the best one to
> use in amd64-systems ? What are the differences ? I saw gcj, gij,
> gdk, java. Can someone tell me, which should be used ? Ia ma very
> confused. Update-alternatives is giving me these choices:
>
> There are 8 alternatives which provide `java'.
>
>   SelectionAlternative
> ---
>   1/usr/bin/gij-4.1
>   2/usr/lib/jvm/ia32-java-6-sun/jre/bin/java
>   3/usr/lib/jvm/java-gcj/jre/bin/java
>   4/usr/bin/gij-4.3
> * 5/usr/lib/jvm/java-6-sun/jre/bin/java
>   6/usr/bin/gij-4.2
>   7/usr/lib/jvm/ia32-java-1.5.0-sun/jre/bin/java
>  +8/usr/lib/jvm/java-6-openjdk/jre/bin/java
>
> Press enter to keep the default[*], or type selection number:
>
> I choose 5. What is this "+"-sign meaning ?

It was your current alternative when you ran update-alternatives

>
> Questions, questions, questions
>
> Thanks for any help !

I think the two most important ones are the sun alternative because it 
is widely used and the openjdk which is the free sun JVM (v6 I think) + 
the free java libraries. It should replace the comming java 7 (where 
jvm + libraries is supposed to be free) in all distros I think.

Not that I'm not completely sure of what I say.

>
>
> Kind regards
>
> Hans-J. Ullrich



Regards,

Thomas Preud'homme

-- 
Why Debian : http://www.debian.org/intro/why_debian


signature.asc
Description: This is a digitally signed message part.


Re: What is the best java for debian-amd64 ?

2008-09-16 Thread Steve Dobson
Hi Hans

On Tue, 2008-09-16 at 11:38 +0200, Hans-J. Ullrich wrote:
> as there are many java versions installable, what is the best one to use in 
> amd64-systems ? What are the differences ? I saw gcj, gij, gdk, java. Can 
> someone tell me, which should be used ? Ia ma very confused. 
> Update-alternatives is giving me these choices:

I haven't done a comparison between the different versions, and there
are a lot of different perspectives as to which is the best.  The free
verses closed argument for example.

For me I was looking to develop and test on a single CPU AMD-64 (lenny),
deploy on twin Intel Xeon (etch/4.0) and a demo laptop running Windows
XP.

The J2EE software stack installed on all three base OSs is: Sun's Java
1.5, JBoss 4.2.2, MySQL 5 and Apache 2.  On the debian systems the APT
versions where used, on the window pre-built packages from the
appropriate website except for JBoss.  JBoss was installed on my
development system only and then copied to the deployment platforms.

I've had no issues of differences between the platforms.  I consider
that a large part of this was because I was using a JDK from the same
source (SUN).

Hope this is useful.
Steve

-- 
Steve Dobson

I'd rather have two girls at 21 each than one girl at 42.
-- W. C. Fields



signature.asc
Description: This is a digitally signed message part


What is the best java for debian-amd64 ?

2008-09-16 Thread Hans-J. Ullrich
Hi all,

as there are many java versions installable, what is the best one to use in 
amd64-systems ? What are the differences ? I saw gcj, gij, gdk, java. Can 
someone tell me, which should be used ? Ia ma very confused. 
Update-alternatives is giving me these choices:

There are 8 alternatives which provide `java'.

  SelectionAlternative
---
  1/usr/bin/gij-4.1
  2/usr/lib/jvm/ia32-java-6-sun/jre/bin/java
  3/usr/lib/jvm/java-gcj/jre/bin/java
  4/usr/bin/gij-4.3
* 5/usr/lib/jvm/java-6-sun/jre/bin/java
  6/usr/bin/gij-4.2
  7/usr/lib/jvm/ia32-java-1.5.0-sun/jre/bin/java
 +8/usr/lib/jvm/java-6-openjdk/jre/bin/java

Press enter to keep the default[*], or type selection number:

I choose 5. What is this "+"-sign meaning ?

Questions, questions, questions

Thanks for any help !


Kind regards

Hans-J. Ullrich



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Configuring Samba as a Domain Controller

2008-09-16 Thread chindea mihai
Hy, 

I tryed to configure Samba as a Domain controller but I just can't make it work.
I still get wierd errors in in logs as:
[2008/09/16 12:34:25, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
[2008/09/16 13:06:27, 0] auth/auth_util.c:create_builtin_administrators(785)
  create_builtin_administrators: Failed to create Administrators
[2008/09/16 13:06:27, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
[2008/09/16 13:06:28, 0] auth/auth_util.c:create_builtin_administrators(785)
  create_builtin_administrators: Failed to create Administrators
[2008/09/16 13:06:28, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users

I googled, but I found just other users with the same issues, and no answers to 
those posts.

My SMB.conf looks like:

[global]
workgroup = SOFTRUST
server string = server %v
interfaces = 192.168.1.0/24, eth1
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *New* %n\n *Re* %n\n *pa*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = wins lmhosts host  bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
logon script = logon.cmd
logon path = \\stc-server\profiles\%u
logon drive = K:
logon home = \\stc-server\%u
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
wins support = Yes
admin users = root
printer admin = root, stcadmin
hosts allow = 192.168.1.0/255.255.255.0

[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
browseable = No

[netlogon]
path = /home/samba/netlogon/%u
browseable = No

[profiles]
path = /home/export/profile/
read only = No
create mask = 0700
directory mask = 0700
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
write list = Softrust

I used Graphical interfaces for samba such as SWAT, didn't help much, still not 
working. Btw the file sharing is working OK.
Any Ideas 

Mihai Chindea