Alessandro Oliveira
2002-Feb-21  06:18 UTC
[Samba] Samba 2.2.3a + Windows XP - Office 2K & Messenger Crashes
Hi,
I have a samba server running for about 2 years and now I updated the server
to RH 7.2 + All Updates and samba-2.2.3a. We have about 40 win98 boxes
running without any problems.
Now I'm trying to configure WinXP pro boxes, I've already managed to
connect
them to the domain, but I'm having very weird problems using Office 2K and
Windows Messenger. When I logon using an administrator account everything
works as expected, but when I try to logon using any ordinary user accounts
and start windows messenger it crashes silently, and when I start the any
Office application, it is closed just after the application starts.
look at my smb.conf below:
# smb.conf
# Global parameters
[global]
   netbios name = INTRA02
   workgroup = NUNO
   server string = Linux - Samba Server
   printcap name = /etc/printcap
   load printers = yes
   printing = lprng
   log file = /var/log/samba/%m.log
   max log size = 0
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
   add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine
Account' -s /bin/false -M %u
   username map = /etc/samba/smbusers
;   include = /etc/samba/smb.conf.%m
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = 10.1.1.2/24
   hosts allow = 10.1.1.
   local master = yes
   os level = 64
   domain master = yes
   preferred master = yes
   domain logons = yes
   domain admin group = administradores
   logon path = \\%L\Profiles\%U
   logon drive = L:
   logon home = \\%L\%U
   logon script = startup.bat
   wins support = yes
   dns proxy = no
[homes]
   comment = Home Directory
   browseable = no
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775
[Profiles]
    path = /samba/profiles
    comment = User Profiles
    browseable = yes
    guest ok = yes
    create mask = 0600
    directory mask = 0700
    writable = yes
[netlogon]
   comment = Network Logon Service
   path = /samba/netlogon
   guest ok = yes
   writable = no
   write list = @administradores
   force group = administradores
   share modes = no
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes
;[printers]
; comment = All Printers
; path = /var/spool/samba
; printable = Yes
; browseable = No
[public]
   comment = Public Stuff
   path = /samba/public
   force group = users
   public = yes
   writable = yes
   printable = no
   write list = @administradores
   guest ok = Yes
   create mask = 0660
   force group = users
   directory mask = 0775
[aereo]
comment = Arquivos do A?reo
path = /samba/aereo
force group = aereo
read only = No
create mask = 0775
[oper-1]
comment = Arquivos do Operacional - 1
path = /samba/operacional/oper1
force group = oper1
read only = No
create mask = 0775
[oper-2]
comment = Arquivos do Operacional - 2
path = /samba/operacional/oper2
force group = oper2
read only = No
create mask = 0775
[oper-3]
comment = Arquivos do Operacional - 3
path = /samba/operacional/oper3
force group = oper3
read only = No
create mask = 0775
[oper-4]
comment = Arquivos do Operacional - 4
path = /samba/operacional/oper4
force group = oper4
read only = No
create mask = 0775
[maritimo]
comment = Arquivos do Mar?timo
path = /samba/maritimo
force group = maritimo
read only = No
create mask = 0777
[financeiro]
comment = Arquivos do Financeiro
path = /samba/financeiro
force group = financeiro
read only = No
create mask = 0770
[cd-rom]
   comment = CD-Rom
   path = /mnt/cdrom
   public = yes
   writable = no
   printable = no
   create mask = 0660
   directory mask = 0770
# EOF
I would be very thankful if sombody could give me any clues about what's
happening.
Thanks in advance !
Alessandro
Blanchard, Michael
2002-Feb-21  06:53 UTC
[Samba] Samba 2.2.3a + Windows XP - Office 2K & Messenger Crashes
I don't think this is related to samba, but as my workplace is also infected
with microsoft, I was gonna offer some help.  Do the users you are logging in as
have administrative rights?  If not, have you tried to use office as an
admistrator?  If not, you need to.  When you first open office 2000, it asks you
if you want to register the copy with microsoft.  !!ONLY!! An administrator on
that computer can answer that question because it writes the answer into a
protected section of the registry, whether you answer yes or no.  If you
don't do that, and try to use office as a non-administrator, when it checks
the registry to see if that was answered, it sees that value doesn't exist,
so it will either just close, or keep asking the person to answer if they want
to register it with microsoft.  So all you have to do is login as an
administrator and answer either yes or no, and then it should work fine.  (if
that's the problem)  This is the TOP call microsoft recieves on their office
support number.  :)
-----Original Message-----
From: Alessandro Oliveira [mailto:alessandro.o@nunoferreira.com.br] 
Sent: Thursday, February 21, 2002 9:11 AM
To: samba@lists.samba.org
Subject: [Samba] Samba 2.2.3a + Windows XP - Office 2K & Messenger Crashes
Hi,
I have a samba server running for about 2 years and now I updated the server to
RH 7.2 + All Updates and samba-2.2.3a. We have about 40 win98 boxes running
without any problems.
Now I'm trying to configure WinXP pro boxes, I've already managed to
connect them to the domain, but I'm having very weird problems using Office
2K and Windows Messenger. When I logon using an administrator account everything
works as expected, but when I try to logon using any ordinary user accounts and
start windows messenger it crashes silently, and when I start the any Office
application, it is closed just after the application starts.
look at my smb.conf below:
# smb.conf
# Global parameters
[global]
   netbios name = INTRA02
   workgroup = NUNO
   server string = Linux - Samba Server
   printcap name = /etc/printcap
   load printers = yes
   printing = lprng
   log file = /var/log/samba/%m.log
   max log size = 0
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
   add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine
Account' -s /bin/false -M %u
   username map = /etc/samba/smbusers
;   include = /etc/samba/smb.conf.%m
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = 10.1.1.2/24
   hosts allow = 10.1.1.
   local master = yes
   os level = 64
   domain master = yes
   preferred master = yes
   domain logons = yes
   domain admin group = administradores
   logon path = \\%L\Profiles\%U
   logon drive = L:
   logon home = \\%L\%U
   logon script = startup.bat
   wins support = yes
   dns proxy = no
[homes]
   comment = Home Directory
   browseable = no
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775
[Profiles]
    path = /samba/profiles
    comment = User Profiles
    browseable = yes
    guest ok = yes
    create mask = 0600
    directory mask = 0700
    writable = yes
[netlogon]
   comment = Network Logon Service
   path = /samba/netlogon
   guest ok = yes
   writable = no
   write list = @administradores
   force group = administradores
   share modes = no
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes
;[printers]
; comment = All Printers
; path = /var/spool/samba
; printable = Yes
; browseable = No
[public]
   comment = Public Stuff
   path = /samba/public
   force group = users
   public = yes
   writable = yes
   printable = no
   write list = @administradores
   guest ok = Yes
   create mask = 0660
   force group = users
   directory mask = 0775
[aereo]
comment = Arquivos do A?reo
path = /samba/aereo
force group = aereo
read only = No
create mask = 0775
[oper-1]
comment = Arquivos do Operacional - 1
path = /samba/operacional/oper1
force group = oper1
read only = No
create mask = 0775
[oper-2]
comment = Arquivos do Operacional - 2
path = /samba/operacional/oper2
force group = oper2
read only = No
create mask = 0775
[oper-3]
comment = Arquivos do Operacional - 3
path = /samba/operacional/oper3
force group = oper3
read only = No
create mask = 0775
[oper-4]
comment = Arquivos do Operacional - 4
path = /samba/operacional/oper4
force group = oper4
read only = No
create mask = 0775
[maritimo]
comment = Arquivos do Mar?timo
path = /samba/maritimo
force group = maritimo
read only = No
create mask = 0777
[financeiro]
comment = Arquivos do Financeiro
path = /samba/financeiro
force group = financeiro
read only = No
create mask = 0770
[cd-rom]
   comment = CD-Rom
   path = /mnt/cdrom
   public = yes
   writable = no
   printable = no
   create mask = 0660
   directory mask = 0770
# EOF
I would be very thankful if sombody could give me any clues about what's
happening.
Thanks in advance !
Alessandro
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
Blanchard, Michael
2002-Feb-22  07:05 UTC
[Samba] Samba 2.2.3a + Windows XP - Office 2K & Messenger Crashes
Oh yeah..forgot about this one too. :)  I actually ran into this one.  I
couldn't find my companies cd-key for office (the truth) and was hoping to
cut a corner and ran into this.  So I just had to dig up the original cd and
re-install.  :)  Or install star office :)
-----Original Message-----
From: Charles Marcus [mailto:CharlesM@Media-Brokers.com] 
Sent: Thursday, February 21, 2002 5:53 PM
To: Samba Maillist (E-mail)
Cc: Blanchard, Michael
Subject: RE: [Samba] Samba 2.2.3a + Windows XP - Office 2K & Messenger
Crashes
I agree this is not a Samba issue, but it sounds suspiciously similar to the
problem that arises as a result of using a <gasp> bootleg copy of Office
2K.  Here is the details of the cause, and the fix...
From:
www.astwood.com/tech/Microsoft/office_quit.asp
Office quits immediately after startup
The information in this article applies to:
Office 2000
SR-1
--------------------------------------------------------------------------------
SUMMARY 
This article describes how to fix the problem where Office 2000 quits
immediately after startup after SR-1 has been installed
--------------------------------------------------------------------------------
CAUSE 
Office was installed by using a CD key that begins with GC6J3 
--------------------------------------------------------------------------------
SOLUTION 
Locate your valid product CD Key, which is located on the back of the original
CD case.
If the product CD Key begins with GC6J3, the Product Key is not valid in
Microsoft Office 2000 SR-1/SR-1a. Get a working key
On the Start menu, click Run.
In the Open box, type regedit, and then click OK.
In Registry Editor, find the following subkey (folder):
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
Click the plus sign (+) next to this folder. If you see only one subkey in this
folder that has a 32-character {GUID} (globally unique identifier), select that
subkey and go to step 5.
Find the key with the name: {GUID}: {00000409-78E1-11D2-B60F-006097C998E7}
DisplayName: Microsoft Office 2000 Premium 
Select the ProductID string value in the right pane.
On the Edit menu, click Rename.
Type OldProductID and then press ENTER.
On the Registry menu, click Exit.
Start any Office program.
When the Microsoft Office 2000 User Information dialog box appears, type your
valid product CD Key
Hope this helped...
Charles
> -----Original Message-----
> From: samba-admin@lists.samba.org
> [mailto:samba-admin@lists.samba.org]On
> Behalf Of Blanchard, Michael
> Sent: Thursday, February 21, 2002 9:46 AM
> To: samba@lists.samba.org
> Subject: [Samba] Samba 2.2.3a + Windows XP - Office 2K & Messenger
> Crashes
> 
> 
> I don't think this is related to samba, but as my workplace
> is also infected with microsoft, I was gonna offer some help. 
>  Do the users you are logging in as have administrative 
> rights?  If not, have you tried to use office as an 
> admistrator?  If not, you need to.  When you first open 
> office 2000, it asks you if you want to register the copy 
> with microsoft.  !!ONLY!! An administrator on that computer 
> can answer that question because it writes the answer into a 
> protected section of the registry, whether you answer yes or 
> no.  If you don't do that, and try to use office as a 
> non-administrator, when it checks the registry to see if that 
> was answered, it sees that value doesn't exist, so it will 
> either just close, or keep asking the person to answer if 
> they want to register it with microsoft.  So all you have to 
> do is login as an administrator and answer either yes or no, 
> and then it should work fine.  (if that's the problem)  This 
> is the TOP call microsoft recieves on their office support number.  :)
> 
> -----Original Message-----
> From: Alessandro Oliveira [mailto:alessandro.o@nunoferreira.com.br]
> Sent: Thursday, February 21, 2002 9:11 AM
> To: samba@lists.samba.org
> Subject: [Samba] Samba 2.2.3a + Windows XP - Office 2K & 
> Messenger Crashes
> 
> 
> Hi,
> 
> I have a samba server running for about 2 years and now I
> updated the server to RH 7.2 + All Updates and samba-2.2.3a. 
> We have about 40 win98 boxes running without any problems.
> 
> Now I'm trying to configure WinXP pro boxes, I've already
> managed to connect them to the domain, but I'm having very 
> weird problems using Office 2K and Windows Messenger. When I 
> logon using an administrator account everything works as 
> expected, but when I try to logon using any ordinary user 
> accounts and start windows messenger it crashes silently, and 
> when I start the any Office application, it is closed just 
> after the application starts.
> 
> look at my smb.conf below:
> # smb.conf
> # Global parameters
> [global]
>    netbios name = INTRA02
>    workgroup = NUNO
>    server string = Linux - Samba Server
>    printcap name = /etc/printcap
>    load printers = yes
>    printing = lprng
>    log file = /var/log/samba/%m.log
>    max log size = 0
>    security = user
>    encrypt passwords = yes
>    smb passwd file = /etc/samba/smbpasswd
>    unix password sync = Yes
>    passwd program = /usr/bin/passwd %u
>    passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
>    add user script = /usr/sbin/useradd -d /dev/null -g
> machines -c 'Machine Account' -s /bin/false -M %u
>    username map = /etc/samba/smbusers
> ;   include = /etc/samba/smb.conf.%m
>    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>    interfaces = 10.1.1.2/24
>    hosts allow = 10.1.1.
>    local master = yes
>    os level = 64
>    domain master = yes
>    preferred master = yes
>    domain logons = yes
>    domain admin group = administradores
>    logon path = \\%L\Profiles\%U
>    logon drive = L:
>    logon home = \\%L\%U
>    logon script = startup.bat
>    wins support = yes
>    dns proxy = no
> 
> [homes]
>    comment = Home Directory
>    browseable = no
>    writable = yes
>    valid users = %S
>    create mode = 0664
>    directory mode = 0775
> 
> [Profiles]
>     path = /samba/profiles
>     comment = User Profiles
>     browseable = yes
>     guest ok = yes
>     create mask = 0600
>     directory mask = 0700
>     writable = yes
> 
> [netlogon]
>    comment = Network Logon Service
>    path = /samba/netlogon
>    guest ok = yes
>    writable = no
>    write list = @administradores
>    force group = administradores
>    share modes = no
> 
> [tmp]
>    comment = Temporary file space
>    path = /tmp
>    read only = no
>    public = yes
> 
> ;[printers]
> ; comment = All Printers
> ; path = /var/spool/samba
> ; printable = Yes
> ; browseable = No
> 
> [public]
>    comment = Public Stuff
>    path = /samba/public
>    force group = users
>    public = yes
>    writable = yes
>    printable = no
>    write list = @administradores
>    guest ok = Yes
>    create mask = 0660
>    force group = users
>    directory mask = 0775
> 
> 
> [aereo]
> comment = Arquivos do A?reo
> path = /samba/aereo
> force group = aereo
> read only = No
> create mask = 0775
> 
> [oper-1]
> comment = Arquivos do Operacional - 1
> path = /samba/operacional/oper1
> force group = oper1
> read only = No
> create mask = 0775
> 
> [oper-2]
> comment = Arquivos do Operacional - 2
> path = /samba/operacional/oper2
> force group = oper2
> read only = No
> create mask = 0775
> 
> [oper-3]
> comment = Arquivos do Operacional - 3
> path = /samba/operacional/oper3
> force group = oper3
> read only = No
> create mask = 0775
> 
> [oper-4]
> comment = Arquivos do Operacional - 4
> path = /samba/operacional/oper4
> force group = oper4
> read only = No
> create mask = 0775
> 
> [maritimo]
> comment = Arquivos do Mar?timo
> path = /samba/maritimo
> force group = maritimo
> read only = No
> create mask = 0777
> 
> [financeiro]
> comment = Arquivos do Financeiro
> path = /samba/financeiro
> force group = financeiro
> read only = No
> create mask = 0770
> 
> [cd-rom]
>    comment = CD-Rom
>    path = /mnt/cdrom
>    public = yes
>    writable = no
>    printable = no
>    create mask = 0660
>    directory mask = 0770
> 
> # EOF
> 
> I would be very thankful if sombody could give me any clues
> about what's happening.
> 
> Thanks in advance !
> 
> Alessandro
> 
> 
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba