[Samba] the winbind problem, 'wbinfo -u' have the user but 'getent passwd' haven't the user

2005-07-24 Thread Nir Livni
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] using VSS on a samba server - no smb locks ?

2004-01-31 Thread Nir Livni

- Original Message - 
From: "Jeremy Allison" <[EMAIL PROTECTED]>
To: "Nir Livni" <[EMAIL PROTECTED]>
Cc: "Jeremy Allison" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, January 30, 2004 10:25 PM
Subject: Re: [Samba] using VSS on a samba server - no smb locks ?


> On Fri, Jan 30, 2004 at 10:13:55PM +0200, Nir Livni wrote:
> >
> > Well, actually all oplocks where turned off in my smb.conf.
> > I tried to checkin and checkout some files with few users, but no
SMBlocks.
> > Using samba-2.2.8a (I forgot to mention)
>
> No lockingX calls ? There are several possible locking calls. Or
> maybe the app does some higher level synchronisation.
>
VSS has a "lock_mode" parameter, that has two modes. Native / FileLock.
Both of them achieve the same result - locking database files for
synchronization.

The "testlock" utility was ment to help administrators to deteremine whether
their file system supports the Native lock mode. If the test fails - they
have to use FileLock lockmode.

Testlock generates a lockingX transaction (are there any other smb locking
transactions ?), which means that the lockingX is the way to get a native
lock in VSS.
FileLock lock mode simply creates files (.lck) in the "locks" folder of the
database, to mark locks. When the file is deleted - lock is removed.

I am not saying that there is a samba problem here.
I just think that the fact that testlock.exe uses lockingX, but the clients
of VSS do not use lockingX, show that there may be a configuration problem,
which I am trying to solve.

Nir

> Jeremy.

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


Re: [Samba] using VSS on a samba server - no smb locks ?

2004-01-30 Thread Nir Livni

> On Fri, Jan 30, 2004 at 03:08:21PM +0200, Nir Livni wrote:
> > Hi all,
> >
> > We are considering moving our VSS database from a Win2K server to a
samba server.
> > All clients are Win2K clients.
> >
> > I used the VSS tool "testlock.exe" to make sure the native lock mode can
be used.
> > The test was successful, and I saw that an SMBlock transaction was
performed, and a reply_lockingX was replied.
> >
> > When I opened a VSS database on the samba server and started to use it -
I saw no SMBlock operations.
> >
> > Doesn't make sence to me, because some kind of locking must be done.
>
> Did you only test with one user ? Is so, an oplock will cause
> no locking attempts to be seen on the wire (the client redirector
> optimises them out when it has  an oplock).

Well, actually all oplocks where turned off in my smb.conf.
I tried to checkin and checkout some files with few users, but no SMBlocks.
Using samba-2.2.8a (I forgot to mention)

Nir
>
> Jeremy.

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


[Samba] using VSS on a samba server - no smb locks ?

2004-01-30 Thread Nir Livni
Hi all,

We are considering moving our VSS database from a Win2K server to a samba server.
All clients are Win2K clients.

I used the VSS tool "testlock.exe" to make sure the native lock mode can be used.
The test was successful, and I saw that an SMBlock transaction was performed, and a 
reply_lockingX was replied.

When I opened a VSS database on the samba server and started to use it - I saw no 
SMBlock operations.

Doesn't make sence to me, because some kind of locking must be done.

Any ideas ?

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


[Samba] samba server crash and locking.tdb

2003-12-09 Thread Nir Livni
Hi all,

Please excuse me if this question is not appropriate for this forum:

Lets assume that samba server crashed or was shut down abnormally, while
users where holding open files in the server.

In this case, I've noticed that locking.tdb is not being cleaned when
samba is restarting.

I was wondering why shouldn't it be cleaned.

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


[Samba] looking for info about active-active cofiguration of samba onlin ux cluster

2003-03-23 Thread Nir Livni
Hi guys,
I hope this is not an off-topic here.
 
I'm trying to configure my samba on a RedHat AS 2.1, to run in an
active-active configuration.
The "Red Hat Cluster Manager Installation and Administration Guide" says on
chapter 6.2 :
"Allows the setup of an active-active configuration to maximize equipment
utilization. More details on active-active configurations appear below."
But - no luck for me :-) , because no such details appear below...
 
So I took some wild guesses but I'm not exactly sure of them:
 
I assumed that for high availability active-active configuration, each node
actually exports a different SMB share.
I guess I have to define two different "Cluster Services" , each one as a
samba service, and each such cluster service, should run by default on a
different node.
In case one of the nodes fails - the other one takes over that SMB share,
while still exporint its own share.
 
If I am correct, I have few things I'm not sure about (yet):
1. do both nodes need to run nmbd ? if so - should I configure both of them
to the same NETBIOS Name ? 
If yes - how does it work ?! If not - How do they fail over ? 
What NETBIOS Name should I write in the smb.conf.share_name file ? name of
node A, node B or the cluster alias ?
 
2. I am using security = domain. assuming that my nodes names are RHCLU0,
RHCLU1 and the alias is RHCLU :
should I add a computer account in my domain for both nodes and the alias ?
only the nodes ? only the alias ?
 
Your help is appreciated
Nir
 
 
 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba High-Availability configuiration

2003-03-21 Thread Nir Livni
When using RHAS 2.1,
Can samba be configured for high availability, running on both servers
concurrently for load balancing as well (active-active configuration) ?

If it can - I guess there will be some problems having both nodes using the
same netbios name.

Is there a solution for this problem ?



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


[Samba] samba using virtual server (load balancing)

2003-03-03 Thread Nir Livni
Matt,
You have mentioned that you "have a High Available File server (NFS and
Samba) configuration with 2 nodes, in an active-active configuration."

I'd appreciate it if you could provide more details about it:
1. which Operating System do you use ?
2. what add-ons need I install to get this high-availability configuration
(installed Virtual Server ???)
3. what configuration changes should I make in samba

Appreciate any kind of help
Thanks
Nir

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


[Samba] Linux platform for samba 2.2.7

2003-01-09 Thread Nir Livni
Title: Message



What is the 
recommended linux version (RH 7.x) for samba 2.2.7 ?
Are there any known 
issues with RH7.2 / RH7.3 ?


[Samba] MS Word / office hangs from Win2K workstations when using samba s hare

2002-12-22 Thread Nir Livni
I am using samba-2.2.7

ALL OPLOCKS are turned off.

Yet, 
when using a Win2K workstations ,
and editing a word document,
sometimes word hangs.
No crash.
No special log messages.
Simply - word hangs.

I saw a similar message in the archives:
http://marc.theaimsgroup.com/?l=samba&m=102543430800530&w=2
the suggestion there is to install a microsoft patch in the Win2K clients.

Has anyone of you installed that microsoft's patch to Win2K ? did it help ?

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



[Samba] Delay on first Attempt to resolve PDC host name

2002-11-20 Thread Nir Livni
I am using samba 2.2.1a , in an NT-4 domain.

security = DOMAIN

on the first logon to the samba server, 
I can see a message:
Attempting host lookup for name MYPDCNAME<0x20>

the next message appears after 10 seconds (that is the delay). samba tries
to resolve MYPDCNAME with the wins server, and succeeds.

Higher debug level (debug level = 10) does not produce more debug messages.
Any ideas why I have this delay ?

Thanks,
Nir


[2002/11/20 15:28:52, 3, pid=1293] smbd/process.c:process_smb(841)
  Transaction 2 of length 214
[2002/11/20 15:28:52, 3, pid=1293] smbd/process.c:switch_message(654)
  switch message SMBsesssetupX (pid 1293)
[2002/11/20 15:28:52, 3, pid=1293] smbd/sec_ctx.c:set_sec_ctx(316)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/11/20 15:28:52, 3, pid=1293] smbd/reply.c:reply_sesssetup_and_X(865)
  Domain=[CYBERARK_DOM]  NativeOS=[Windows 2002 2600 Service Pack 1]
NativeLanMan=[Windows 2002 5.1]
[2002/11/20 15:28:52, 3, pid=1293] smbd/reply.c:reply_sesssetup_and_X(876)
  sesssetupX:name=[Weiss]
[2002/11/20 15:28:52, 4, pid=1293] smbd/server.c:reload_services(357)
  RELOAD 1
[2002/11/20 15:28:52, 1, pid=1293]
/home/devyaron/import/PASmb/paops.c:pa_map_username(6856)
  user=Weiss
[2002/11/20 15:28:52, 1, pid=1293]
/home/devyaron/import/PASmb/pasmbusers.c:pa_add_local_user(74)
  Local user already exists (weiss)
[2002/11/20 15:28:52, 3, pid=1293] lib/util_sock.c:open_socket_in(832)
  bind succeeded on port 0
[2002/11/20 15:28:52, 4, pid=1293] libsmb/nmblib.c:debug_nmb_packet(109)
  nmb packet from 192.168.41.203(137) header: id=8110 opcode=Query(0)
response=Yes
  header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=Yes
  header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
  answers: nmb_name=*<00> rr_type=33 rr_class=1 ttl=0
  answers  blah blah blah
  answers  blah blah blah
  answers  blah blah blah
  answers  e0 char ...   hex 00
[2002/11/20 15:28:52, 3, pid=1293] libsmb/namequery.c:resolve_lmhosts(733)
  resolve_lmhosts: Attempting lmhosts lookup for name ORCA<0x20>
[2002/11/20 15:28:52, 4, pid=1293] libsmb/namequery.c:startlmhosts(448)
  startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error
was No such file or directory
[2002/11/20 15:28:52, 3, pid=1293] libsmb/namequery.c:resolve_hosts(773)
  resolve_hosts: Attempting host lookup for name ORCA<0x20>

 10 SECONDS DELAY ***

[2002/11/20 15:29:02, 3, pid=1293] libsmb/namequery.c:resolve_wins(675)
  resolve_wins: Attempting wins lookup for name ORCA<0x20>
[2002/11/20 15:29:02, 3, pid=1293] libsmb/namequery.c:resolve_wins(693)
  resolve_wins: WINS server == <192.168.41.254>
[2002/11/20 15:29:02, 3, pid=1293] lib/util_sock.c:open_socket_in(832)
  bind succeeded on port 0
[2002/11/20 15:29:02, 4, pid=1293] libsmb/nmblib.c:debug_nmb_packet(109)
  nmb packet from 192.168.41.254(137) header: id=19439 opcode=Query(0)
response=Yes
  header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
  header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
  answers: nmb_name=ORCA<20> rr_type=32 rr_class=1 ttl=0
  answers   0 char ).   hex C0A829CB
[2002/11/20 15:29:02, 2, pid=1293] libsmb/namequery.c:name_query(407)
  Got a positive name query response from 192.168.41.254 ( 192.168.41.203 )
[2002/11/20 15:29:02, 3, pid=1293] lib/util_sock.c:open_socket_out(864)
  Connecting to 192.168.41.203 at port 139

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



[Samba] samba and oplocks and office applications

2002-10-28 Thread Nir Livni
I'm using samba version 2.2.1a on a linux RH7.2 kernel 2.4.7-10.

I'm having a lot of oplock problems, specially when using office
applications like word.

I would like to know:
1. what is the recommended configuration in version 2.2.1a (oplocks = yes/no
, level2 oplocks = yes/no , kernel oplocks = yes/no)
2. what is considered to be a stable version for oplocks usage

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