[Samba] Renaming machine name

2004-05-17 Thread Jean-Rene Cormier
Hi, I had to rename a machine name today because someone used the same
name on two computers. I just added a random character to the machine
name and I thought that since I have the idealx script setup to
auto-create machines accounts it would add it automatically but it
didn't so I had to get the computer out of the domain and rejoin it with
it's new machine name so it would add it automatically. Is this a bug or
is that how it's supposed to work?

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] HP LaserJet printing problems

2003-12-05 Thread Jean-Rene Cormier
Hi, I have some problems printing to a HP LaserJet 2300 and 4200,
everything prints fine but I can't send more than 1 copy to the printer.
I installed the printer on a local WinXP box with the HP installation CD
and it worked fine but through Samba I can't print more than one copy.
We have some other HP printers, a LaserJet 2200 and 4550
and they both work fine. It's like I can't override the default copy
number in the 2300 and 4200. I don't think that there's a setting for
the default number of copy in the 2200 and the 4550 though.

Basically I only use the Samba for spooling the print jobs, and install
the printer drivers but I just can't find why it won't print more than
one copy.

Here's what the printcap entry looks like for all the printers.

HP2300:lp=192.168.1.11%9100 \
  :sd=/var/spool/lpd/%P \
  :sh:mx=0:mc=0

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] ACL doesn't inherit permissions

2003-11-21 Thread Jean-Rene Cormier
Hi, I'm currently using Samba 2.2.8a and when I try to set some
permissions on a directory from Windows, Samba only adds the permission
to the directory itself and not the sub-directories. Is there a way to
make Samba set the permissions on the sub directories also?

Thanks

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: adding computer in domain with user other than root

2003-11-03 Thread Jean-Rene Cormier
On Mon, 2003-11-03 at 01:20, Robert wrote:
 I have done this successfully with samba 2.2.8a and an LDAP backend with
 openldap.  I had difficulty with the regular smbpasswd file in that I was
 unable to join.  I haven't tried the regular smbpasswd backend in a while
 because I made the switch to ldap.  Is there anything special I need to do
 with the plain old smbpasswd backend.

I haven't used the old smbpasswd backend in a pretty long time either so
I wouldn't know...

 Have you done the same with samba 3?  I'm looking for the equivalent for
 samba 3.  I created a group called domain-admins, and mapped it with the net
 groupmap add command.  The ntgroup name is Domain Admins and I manually
 set the rid to 512.  If I add users to the group, but join the domain with
 the root account added via smbpasswd, the members of the group are
 recognized as domain admins.  I still can't join the domain with an account
 from that group.

I haven't played much with Samba 3 yet, but I'll be installing it when
I'll have some time to do so.

Jean-Rene Cormier

 Please help.
 Bob.
 
 
 
 Jean-Rene Cormier [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  My smb.conf is pretty basic, I don't see anything else other than the
  domain admin group that would change that behaviour.
 
  Here's part of my smb.conf:
 
  [global]
  workgroup = DOMAIN
  netbios name = SERVER
  server string = SERVER
  interfaces = 192.168.0.2 127.0.0.1
  bind interfaces only = Yes
  encrypt passwords = Yes
  passwd program = /usr/bin/passwd %u
  username map = /etc/samba/private/usermap
  unix password sync = Yes
  log file = /var/log/samba/%m
  socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
 
  name resolve order = wins bcast hosts
  domain admin group = root, admina, adminb
  logon path = \\%N\profiles\%u
  logon drive = I:
  domain logons = Yes
  os level = 35
  preferred master = Yes
  local master = Yes
  domain master = Yes
  wins support = Yes
 
 ldap server = 127.0.0.1
  ldap port = 389
  ldap suffix = dc=domain,dc=com
  ldap admin dn = uid=smbadmin,ou=People,dc=domain,dc=com
  ldap ssl = Yes
 
  Jean-Rene Cormier
 
  On Fri, 2003-10-31 at 11:36, werner maes wrote:
   I'm glad it works for you :-)
   can you give some configuration details of smb.conf?
  
   I have: domain admin group = root ldaptest.
  
   Werner
  
   At 11:27 31/10/2003, Jean-Rene Cormier wrote:
   I just reformatted a computer and I joined it with my regular username
   which doesn't have uid=0 and is not mapped to root either. I thought
   that maybe it was because the machine account was already in LDAP so I
   booted up another Windows in VMWare and removed it from the domain and
   changed the computer name to one that wasn't already in LDAP and I was
   able to join it with the same username. I'm using the domain admin
   group and it seems to be working fine. Running on Samba 2.2.8a btw.
   
   Jean-Rene Cormier
   
   On Fri, 2003-10-31 at 10:37, Thiago Lima wrote:
 The user MUST be root, if you want to use another user map it to
 root in
 smbusers.


 regards.
 thiago.


  I tried to add a computer to a Samba domain using another account
  (testuser) than root.
  I use LDAP for authentication and added the account
  (testuser) with uid=0
  in ldap. If I use this account to add an computer to the
  domain I get the
  error: Access is denied.
 
  
  
 
  --
  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


RE: [Samba] adding computer in domain with user other than root

2003-10-31 Thread Jean-Rene Cormier
I just reformatted a computer and I joined it with my regular username
which doesn't have uid=0 and is not mapped to root either. I thought
that maybe it was because the machine account was already in LDAP so I
booted up another Windows in VMWare and removed it from the domain and
changed the computer name to one that wasn't already in LDAP and I was
able to join it with the same username. I'm using the domain admin
group and it seems to be working fine. Running on Samba 2.2.8a btw.

Jean-Rene Cormier

On Fri, 2003-10-31 at 10:37, Thiago Lima wrote:
 The user MUST be root, if you want to use another user map it to root in
 smbusers.
 
 
 regards.
 thiago.
 
 
  I tried to add a computer to a Samba domain using another account 
  (testuser) than root.
  I use LDAP for authentication and added the account 
  (testuser) with uid=0 
  in ldap. If I use this account to add an computer to the 
  domain I get the 
  error: Access is denied.
  

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] adding computer in domain with user other than root

2003-10-31 Thread Jean-Rene Cormier
My smb.conf is pretty basic, I don't see anything else other than the
domain admin group that would change that behaviour.

Here's part of my smb.conf:

[global]
workgroup = DOMAIN
netbios name = SERVER
server string = SERVER
interfaces = 192.168.0.2 127.0.0.1
bind interfaces only = Yes
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
username map = /etc/samba/private/usermap
unix password sync = Yes
log file = /var/log/samba/%m
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE

name resolve order = wins bcast hosts
domain admin group = root, admina, adminb
logon path = \\%N\profiles\%u
logon drive = I:
domain logons = Yes
os level = 35
preferred master = Yes
local master = Yes
domain master = Yes
wins support = Yes
   
 ldap server = 127.0.0.1
ldap port = 389
ldap suffix = dc=domain,dc=com
ldap admin dn = uid=smbadmin,ou=People,dc=domain,dc=com
ldap ssl = Yes

Jean-Rene Cormier

On Fri, 2003-10-31 at 11:36, werner maes wrote:
 I'm glad it works for you :-)
 can you give some configuration details of smb.conf?
 
 I have: domain admin group = root ldaptest.
 
 Werner
 
 At 11:27 31/10/2003, Jean-Rene Cormier wrote:
 I just reformatted a computer and I joined it with my regular username
 which doesn't have uid=0 and is not mapped to root either. I thought
 that maybe it was because the machine account was already in LDAP so I
 booted up another Windows in VMWare and removed it from the domain and
 changed the computer name to one that wasn't already in LDAP and I was
 able to join it with the same username. I'm using the domain admin
 group and it seems to be working fine. Running on Samba 2.2.8a btw.
 
 Jean-Rene Cormier
 
 On Fri, 2003-10-31 at 10:37, Thiago Lima wrote:
   The user MUST be root, if you want to use another user map it to root in
   smbusers.
  
  
   regards.
   thiago.
  
  
I tried to add a computer to a Samba domain using another account
(testuser) than root.
I use LDAP for authentication and added the account
(testuser) with uid=0
in ldap. If I use this account to add an computer to the
domain I get the
error: Access is denied.
   
 
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] adding computer in domain with user other than root

2003-10-31 Thread Jean-Rene Cormier
Oh and BTW I still have to add machine accounts manually in the
/etc/passwd file.

Jean-Rene Cormier

On Fri, 2003-10-31 at 11:51, Jean-Rene Cormier wrote:
 My smb.conf is pretty basic, I don't see anything else other than the
 domain admin group that would change that behaviour.
 
 Here's part of my smb.conf:
 
 [global]
 workgroup = DOMAIN
 netbios name = SERVER
 server string = SERVER
 interfaces = 192.168.0.2 127.0.0.1
 bind interfaces only = Yes
 encrypt passwords = Yes
 passwd program = /usr/bin/passwd %u
 username map = /etc/samba/private/usermap
 unix password sync = Yes
 log file = /var/log/samba/%m
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
 
 name resolve order = wins bcast hosts
 domain admin group = root, admina, adminb
 logon path = \\%N\profiles\%u
 logon drive = I:
 domain logons = Yes
 os level = 35
 preferred master = Yes
 local master = Yes
 domain master = Yes
 wins support = Yes
  
  ldap server = 127.0.0.1
 ldap port = 389
 ldap suffix = dc=domain,dc=com
 ldap admin dn = uid=smbadmin,ou=People,dc=domain,dc=com
 ldap ssl = Yes
 
 Jean-Rene Cormier
 
 On Fri, 2003-10-31 at 11:36, werner maes wrote:
  I'm glad it works for you :-)
  can you give some configuration details of smb.conf?
  
  I have: domain admin group = root ldaptest.
  
  Werner
  
  At 11:27 31/10/2003, Jean-Rene Cormier wrote:
  I just reformatted a computer and I joined it with my regular username
  which doesn't have uid=0 and is not mapped to root either. I thought
  that maybe it was because the machine account was already in LDAP so I
  booted up another Windows in VMWare and removed it from the domain and
  changed the computer name to one that wasn't already in LDAP and I was
  able to join it with the same username. I'm using the domain admin
  group and it seems to be working fine. Running on Samba 2.2.8a btw.
  
  Jean-Rene Cormier
  
  On Fri, 2003-10-31 at 10:37, Thiago Lima wrote:
The user MUST be root, if you want to use another user map it to root in
smbusers.
   
   
regards.
thiago.
   
   
 I tried to add a computer to a Samba domain using another account
 (testuser) than root.
 I use LDAP for authentication and added the account
 (testuser) with uid=0
 in ldap. If I use this account to add an computer to the
 domain I get the
 error: Access is denied.

  
  

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] File not found error when opening from a shortcut

2003-09-30 Thread Jean-Rene Cormier
I know this might not really be a Samba problem but since a lot of you
guys have to deal with people using Access databases stored on Samba
servers I though I'd ask anyway.

I have a Samba 2.2.8a PDC that have some Access database files and I got
a weird problem when trying to open a file from a shortcut. When I open
it directly I don't have any problem but if I do a shortcut to it,
Access will open the file and then put a File not found error after the
file is loaded. I tried with another user and it didn't make that error.
Anybody has an idea why it's doing that?

BTW I have veto oplock files = /*.dba/*.dbm/*.mdb/*.MDB/ in my smb.conf
file

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba-3.0.0 Beta3 LDAP error

2003-08-08 Thread Jean-Rene Cormier
On Fri, 2003-08-08 at 02:46, Matt Bednarik wrote:
 I installed samba 3.0.0 beta3 on FreeBSD 5.0 alpha RELEASE, with
 ./configure --with-ldapsam --with-quotas --prefix=/usr/local/ldapsamba,
 the smbd log told me this:
 
 2003/08/07 07:37:29, 0] lib/module.c:smb_load_module(40)
   Error loading module '/usr/local/ldapsamba/lib/pdb/ldapsam.so': Cannot
 open /usr/local/ldapsamba/lib/pdb/ldapsam.so
 [2003/08/07 07:37:29, 0] passdb/pdb_interface.c:make_pdb_methods_name(447)
   No builtin nor plugin backend for ldapsam found
 [2003/08/07 07:37:29, 1] passdb/pdb_interface.c:make_pdb_context_list(537)
   Loading ldapsam:ldap://127.0.0.1 failed!
 I did a updatedb and then did a locate ldapsam.so and it found nothing.
 That file does not exist in that directory either.

I was having problem with this also but I found a work-around, the
problem is when you run the configure script it tests to see if it can
compile a test program against the LDAP libraries but if it can't, it
won't tell you. When you run configure check for a place where it says
it's testing for LDAP support and check the few lines after it, chances
are it'll say it can't find ldap or something like that.

If you want to test your LDAP libraries yourself make a small c file
like this (I'm not a programmer at all so I'm not even sure if I'm using
the function correctly or if there's mistake in the program but it
compiled on my computer, that's the important part, I'm sure a
programmer would find mistakes in this 10 lines of code):

---
#include stdio.h
#include ldap.h

int main()
{

ldap_init(127.0.0.1 389);

return 0;
}
---

Compile it using gcc -lldap -o file file.c If you can't compile it
then Samba won't be able to compile itself with LDAP support.

So now you have two options, modify the Samba compile scripts or the
OpenLDAP compile scripts. I choose the later since it'll solve problems
when linking other programs against the OpenLDAP library (and I tried to
modify the Samba compile scripts but had no luck with that).

I've attached the patch I used to compile OpenLDAP so it would link
against the other libraries it needs so you can compile the test program
(and Samba) against the LDAP libraries. It's based on a Redhat patch
since when I tried to compiled Samba on Redhat it worked but the Redhat
patch didn't work out of the box when I tried to use it to compile
OpenLDAP on Slackware. Also I'm not sure that's the right way to do it
but it works for me!

Let me know if it works.

Jean-Rene Cormier

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Configure question

2003-07-10 Thread Jean-Rene Cormier
The other day I was trying to compile Samba 3.0.0beta2 with LDAP and the
configure script couldn't find the ldap libraries (or couldn't compile a
test file with them) so wouldn't it make sense for the configure script
to fail instead of just saying everything is okay and compiling Samba
without LDAP support?

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Compiling Samba against OpenLDAP 2.0.27

2003-07-03 Thread Jean-Rene Cormier
Hi, I'm having some problems when compiling Samba against the OpenLDAP
2.0.27 shared libraries, I'm trying to compile Samba 3.0beta2 with LDAP
support but it can't find the ldap libraries for some reason. I'm not a
programmer so I don't understand how all these autoconf/automake script
works but I did some research and it seems that Samba is testing to see
if the ldap_init function is there and automake/autoconf or whatever is
compiling a small test program with -lldap. I did a small C file that
calls this function and tried to compile it with GCC.

I tried with just -lldap at first but I got a lot of undefined
references error, so I tried with -llber and I got only 2 undefined
references so I added -lresolv (since I recalled I had to add this in
the Makefile to compile Samba 2.2.X against OpenLDAP) and it worked. So
I'm thinking that the configure script in Samba doesn't link against all
those libraries so that's why it's saying that it doesn't find the LDAP
libraries.

What are my options here? Is this an OpenLDAP issue or a Samba issue?

Thanks

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Computer Account

2003-06-30 Thread Jean-Rene Cormier
On Sat, 2003-06-28 at 07:26, Andrew Bartlett wrote:
 On Sat, 2003-06-28 at 18:33, Andrey Nepomnyaschih wrote:
  Hello,
  
  Does samba-3.0.0beta-1 still requires a computer account to be present
  inside OS user database? I had heard there were moves to make that
  obsolete. 
 
 No, provided you correctly configure it, this is no longer required.
 
 If you allocate 'idmap uid 1-2' then smbd will create accounts
 in that range, if they don't already exist.  This will be tightened up a
 little, but for machines should still work. 

So does that mean that Samba 3.0 can automatically add machine accounts
in the LDAP directory without the need of some sort of useradd script?

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Computer Account

2003-06-30 Thread Jean-Rene Cormier
On Mon, 2003-06-30 at 09:23, Andrew Bartlett wrote:
 On Mon, 2003-06-30 at 21:46, Jean-Rene Cormier wrote:
  On Sat, 2003-06-28 at 07:26, Andrew Bartlett wrote:
   On Sat, 2003-06-28 at 18:33, Andrey Nepomnyaschih wrote:
Hello,

Does samba-3.0.0beta-1 still requires a computer account to be present
inside OS user database? I had heard there were moves to make that
obsolete. 
   
   No, provided you correctly configure it, this is no longer required.
   
   If you allocate 'idmap uid 1-2' then smbd will create accounts
   in that range, if they don't already exist.  This will be tightened up a
   little, but for machines should still work. 
  
  So does that mean that Samba 3.0 can automatically add machine accounts
  in the LDAP directory without the need of some sort of useradd script?
 
 That is the intention.

Maybe the Samba 3.0 docs should be updated for this. Also would it be
possible to get user accounts from an LDAP directory and computer
accounts from another user database like the tdbsam_nua? This way the
LDAP directory wouldn't get filed with information that's only relevant
to Samba. Also is there a smb.conf documentation page that lists all the
configuration options for Samba 3.0? I'm installing Samba 3.0 and gonna
start testing with it a bit soon and I'm sure I'll have a few questions
soon.

Thanks

Jean-Rene Cormier

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Copying profiles to a new samba server

2003-04-02 Thread Jean-Rene Cormier
Well I had to set up Samba on a new server and everything seem to went
pretty well for the most part but now when I try to log on the domain it
gives me an error message saying it couldn't load the profile on the
server. 

What I did was set up new server with pretty much the same
configuration, then one evening when there was nobody here I copied all
the profiles and other stuff from the old server to the new one and now
the profiles don't work. Any ideas?

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Copying profiles to a new samba server

2003-04-02 Thread Jean-Rene Cormier
Thanks I just figured it out. It works well now!

Jean-Rene Cormier

On Wed, 2003-04-02 at 12:08, John H Terpstra wrote:
 On Wed, 2 Apr 2003, Jean-Rene Cormier wrote:
 
  Well I had to set up Samba on a new server and everything seem to went
  pretty well for the most part but now when I try to log on the domain it
  gives me an error message saying it couldn't load the profile on the
  server.
 
  What I did was set up new server with pretty much the same
  configuration, then one evening when there was nobody here I copied all
  the profiles and other stuff from the old server to the new one and now
  the profiles don't work. Any ideas?
 
 Yes. The profiles (in particular the NTUser.DAT file) are keyed to the
 domain and user SIDs. Samba-3 will has a tool called 'profiles' that
 allows you to change the SIDs to those on the local domain.
 
 The only way you can solve your problem now is to find out the SID for the
 old domain and change the new controller SID to it. You can use smbpasswd
 with the -S DOMAIN and -W SID options.
 
 - John T.
 -- 
 John H Terpstra
 Email: [EMAIL PROTECTED]
 -- 
 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


[Samba] Groups in Samba w/LDAP and ACL

2003-03-27 Thread Jean-Rene Cormier
I have samba-2.2.8 with LDAP and ACL. When I open the ACL in WinXP how
do I add another group? Which attributes does Samba uses to search for
groups?

Thanks

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Adding printer drivers from WinXP

2003-03-06 Thread Jean-Rene Cormier
Well I'm trying to setup the Samba server to act as a print server too.
I had uploaded the drivers for the 4 printers we have and I installed
all 4 printers on my test computer and it worked well. But when I got
back from my vacations one of the tech told me that he couldn't install
the printer drivers from the server and when I check the driver didn't
seem to be in the driver list anymore. Now when I try to re-upload the
drivers it give me an error about not being able to save the parameters
because there's not enough memory. And in my log I get a bunch of these:

tdb(/var/cache/samba/ntprinters.tdb): rec_read bad magic 0xd9fee666 at
offset=9260

What can I do about that?

Here's my print$ share:

[print$]
path = /var/lib/samba/printers
guest ok = No
browseable = No
read only = Yes
valid users = @users
write list = root, jrc

Jean-Rene Cormier

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Copy User/Pass from Samba to WinXP

2003-02-05 Thread Jean-Rene Cormier
Ok I have a samba server that I use for file sharing, I have a lot of
trouble with it and I want to see if putting those shares on a WinXP box
would work better. But we don't have a domain here, just workstation in
a workgroup and I was wondering if there was a way I could copy all
user/pass from the samba server to the Windows box so that transfering
the shares from Samba to Windows would be transparent to them. I would
do that in the off hours of course. I don't need to sync the password
after that since it'll only be for a short period of time to see how
well or not it works. Like if I use the passwords in the smbpasswd file
is there a way I can import them in windows? I don't care if I have to
enter every user into the windows box by hand but I don't want to ask
everybody to retype their password for that.

And please don't reply if it's only to tell me to stay away from windows
or something like that, it pissed me off enough already today.

Thanks

Jean-Rene Cormier



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE : [Samba] Problem with oplock

2002-10-11 Thread Jean-Rene Cormier
Well I don't really understand all these file lock/oplock stuff but I'll
try it to see if it makes a difference...

Jean-Rene Cormier

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org] De
la part de Joel Hammer
Envoyé : 10 octobre, 2002 16:46
À : Jean-Rene Cormier; [EMAIL PROTECTED]
Objet : Re: [Samba] Problem with oplock

Would you consider disabling oplocks?
Joel
-- 
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



[Samba] Problem with oplock

2002-10-10 Thread Jean-Rene Cormier

Well I'm having some trouble with samba, I had those troubles on a box
for quite some time and not long ago I moved all the stuff to a new box
to see if it'll work better but it doesn't. I'm monitoring one person in
particular because she's the one who do most of the editing stuff in
there. What happens is when she opens a document (.doc or .xls most of
the time), when she tries to save it, Word or Excel freezes for a while
and then it says it can't save the file and it saves it under a
temporary name and locks the file so she can't rename or delete of do
anything with the file. Here are some pieces of the log file, anybody
care to explain to me what it means and how I can correct that
situation.

[2002/10/09 10:28:37, 0] smbd/oplock.c:oplock_break(796)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file somefile.doc (dev = 303, inode = 2129995,
file_id = 3).
[2002/10/09 10:28:37, 0] smbd/oplock.c:oplock_break(868)
  oplock_break: client failure in oplock break in file somefile.doc
[2002/10/09 10:28:47, 0] smbd/reply.c:reply_lockingX(4490)
  reply_lockingX: Error : oplock break from client for fnum = 12267 and
no oplock granted on this file (somefile.doc).

I'm running Samba 2.5 on an ext3 filesystem, my config file is pretty
simple (just what it needs to run). All the file locking/oplock stuff is
set to default and I currently have the log level at 1, I can increase
it if you need more information to help me out.

Thanks

Jean-Rene Cormier



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] ACL support

2002-10-01 Thread Jean-Rene Cormier

Anybody got the latest version of ACL from acl.bestbit.at to work? I've
compiled the packages, then installed them from the RPM but I had no
luck at all. I compiled a kernel with ACL support but when I try to set
a new permission it says permission not supported or something like
that. I currently have a box with ACL working but it's the libacl.so.0
lib and the new version is libacl.so.1 but I can't get that to work at
all. Is there something I missed somewhere?

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE : [Samba] ACL support

2002-10-01 Thread Jean-Rene Cormier

That must be it, I didn't see that mentioned anywhere.

Thanks a lot

Jean-Rene Cormier

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De
la part de Yura Pismerov
Envoyé : 1 octobre, 2002 10:32
À : Jean-Rene Cormier; [EMAIL PROTECTED]
Objet : Re: [Samba] ACL support

Jean-Rene Cormier wrote:
 
 Anybody got the latest version of ACL from acl.bestbit.at to work?
I've
 compiled the packages, then installed them from the RPM but I had no
 luck at all. I compiled a kernel with ACL support but when I try to
set
 a new permission it says permission not supported or something like
 that. I currently have a box with ACL working but it's the libacl.so.0
 lib and the new version is libacl.so.1 but I can't get that to work at
 all. Is there something I missed somewhere?

Did you mount your fs with -o acl ?
Lates version of the kernel patch requires it...

 
 Jean-Rene Cormier
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 

Yuri Pismerov, Sr. System Administrator, 
TUCOWS.COM INC. (416) 535-0123  ext. 1352
-- 
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



RE : [Samba] ACL support

2002-10-01 Thread Jean-Rene Cormier

Yes everything is compiled against the latest version of the libraries,
since all utilities came from acl.bestbit.at, also I was getting errors
while I was trying to set an acl manually so Samba wasn't the problem.
So to add the acl option I just add acl in the option field in fstab
right? Also what does user_xattrs will do? And are there other options
that I can put with ACL?

Jean-Rene Cormier

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De
la part de Crosby, Scott F.
Envoyé : 1 octobre, 2002 11:23
À : 'Jean-Rene Cormier'; Samba List
Objet : RE: [Samba] ACL support

A few things you may try. 
First, make sure your ACL utilities and samba are compiled against the
equivalent version of the libaries; make sure your versions line up as
best as possible.  Second, make sure you've mounted the filesystem with
the acl option set.  user_xattrs may also be useful.
Scott F. Crosby 
-Original Message- 
From: Jean-Rene Cormier [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 01, 2002 8:08 AM 
To: Samba List 
Subject: [Samba] ACL support 

Anybody got the latest version of ACL from acl.bestbit.at to work? I've 
compiled the packages, then installed them from the RPM but I had no 
luck at all. I compiled a kernel with ACL support but when I try to set 
a new permission it says permission not supported or something like 
that. I currently have a box with ACL working but it's the libacl.so.0 
lib and the new version is libacl.so.1 but I can't get that to work at 
all. Is there something I missed somewhere? 
Jean-Rene Cormier 

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



RE : RE : [Samba] ACL support

2002-10-01 Thread Jean-Rene Cormier

Maybe they should put it in a brighter red ;) But thanks now it works!

Jean-Rene Cormier


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De la part de Yura Pismerov
Envoyé : 1 octobre, 2002 13:03
À : Jean-Rene Cormier
Cc : [EMAIL PROTECTED]
Objet : Re: RE : [Samba] ACL support

Jean-Rene Cormier wrote:
 
 That must be it, I didn't see that mentioned anywhere.


It is right here in red (almost) colour :) 

http://acl.bestbits.at/download.html#Kernel


 
 Thanks a lot
 
 Jean-Rene Cormier
 
 -Message d'origine-
 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De
 la part de Yura Pismerov
 EnvoyИ : 1 octobre, 2002 10:32
 ю : Jean-Rene Cormier; [EMAIL PROTECTED]
 Objet : Re: [Samba] ACL support
 
 Jean-Rene Cormier wrote:
 
  Anybody got the latest version of ACL from acl.bestbit.at to work?
 I've
  compiled the packages, then installed them from the RPM but I had no
  luck at all. I compiled a kernel with ACL support but when I try to
 set
  a new permission it says permission not supported or something like
  that. I currently have a box with ACL working but it's the libacl.so.0
  lib and the new version is libacl.so.1 but I can't get that to work at
  all. Is there something I missed somewhere?
 
 Did you mount your fs with -o acl ?
 Lates version of the kernel patch requires it...
 
 
  Jean-Rene Cormier
 
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 --
 
 Yuri Pismerov, Sr. System Administrator,
 TUCOWS.COM INC. (416) 535-0123  ext. 1352
 --
 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

-- 

Yuri Pismerov, Sr. System Administrator, 
TUCOWS.COM INC. (416) 535-0123  ext. 1352


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Installing in a different directory

2002-09-25 Thread Jean-Rene Cormier

I'm trying to install Samba in a different directory that it'll be
installed on the system so I can pack it and install it on other
systems. Is there a way I can do this?

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] user accounts and 2 samba servers

2002-04-12 Thread Jean-Rene Cormier

Say I have a Samba server with users on it and I set up a second Samba
server and I put security = server and point it to the first server how
will samba manage the permissions and stuff on the 2nd server? Do I need
to copy the unix accounts on the 2nd server?

Jean-Rene Cormier



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba