[Samba] Changing samba PDC version but keeping the same IP address

2009-06-04 Thread Frank Bonnet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello

We are facing a bit boring problem

We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
as we do not want to reconfigure the PDC IP address on several
hundreds of windows XP clients we have chosen to keep the same
IP address for the new PDC.

The problem is windows clients does not update the name of network
drives and keep the old names even connected to the new PDC server
and it's new shares ...

I suspect there are some caching mechanisms that are not completely
cleaned (!!!) by windows.


Any infos on how to clean widows caches are welcome.

Thanks

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoneusACgkQ6f7UMO5oSsVzqwCgj5NxAHLneeNybWmif7msv1sn
wZ0AoJ0FTmj8fAon0lq7/rL16yNPtdp8
=7H8F
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Make CIFS look like NFS

2009-06-04 Thread Michal Dobroczynski
Hello,
And if you want some unix-like features on top, make sure unix
extensions is set to yes. But be careful with that and test it
beforehand on all systems (different operating systems I mean). It can
sometimes break little things for Mac/Win.

Regards,
Michal

2009/6/3 Brian Krusic br...@krusic.com:
 You can have an NFS mount on your Nix box like /JOBS/stuff and a CIFS mount
 on XP like \\JOBS\stuff.

 In this case, JOBS is the Samba server name.

 This is how I maintain the same paths in scripts on diff platforms.  Al you
 have to ensure is that your app will obey UNC paths so that a drive letter
 is never saved out in the file.

 - Brian

 On Jun 3, 2009, at 11:38 AM, Daniel L. Miller wrote:

 Is it possible to make CIFS look like NFS via some configuration/mount
 options?  What I mean is, from a client point of view, will the mounted
 share behave EXACTLY like NFS will?

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

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

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


Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-04 Thread Marc Muehlfeld

Frank Bonnet schrieb:

We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
as we do not want to reconfigure the PDC IP address on several
hundreds of windows XP clients we have chosen to keep the same
IP address for the new PDC.


Why you use IPs on the client instead of names? Here we resolve everything by 
Wins/DNS. So no need for using IPs.





The problem is windows clients does not update the name of network
drives and keep the old names even connected to the new PDC server
and it's new shares ...


You mean the name of the server or from the shares?
If you keep the IP you can also name the new server as the old one (what I 
would suggest). And if the shares also keep their names, nothing changes out 
of client sight.


How are the shares connected? If you use a logon script, you can change this.
Just disconnect all old shares before you map it. And if the shares are mapped 
with /PERSISTENT:NO, they are automatically disconnected after logoff.


And don't forget to set the domain SID of the new server to the one of your 
old server. Otherwise your clients doesn't accept the new server as PDC for 
the domain, even if the domain name is the same.



Regards,
Marc



--
Marc Muehlfeld (Leitung IT)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780
http://www.medizinische-genetik.de
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-04 Thread Frank Bonnet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marc Muehlfeld wrote:
 Frank Bonnet schrieb:
 We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
 as we do not want to reconfigure the PDC IP address on several
 hundreds of windows XP clients we have chosen to keep the same
 IP address for the new PDC.
 
 Why you use IPs on the client instead of names? Here we resolve
 everything by Wins/DNS. So no need for using IPs.
 
 
 
 The problem is windows clients does not update the name of network
 drives and keep the old names even connected to the new PDC server
 and it's new shares ...
 
 You mean the name of the server or from the shares?
 If you keep the IP you can also name the new server as the old one (what
 I would suggest). And if the shares also keep their names, nothing
 changes out of client sight.

it is the case


 
 How are the shares connected? If you use a logon script, you can change
 this.
 Just disconnect all old shares before you map it. And if the shares are
 mapped with /PERSISTENT:NO, they are automatically disconnected after
 logoff.

OK I'm gonna try this

 
 And don't forget to set the domain SID of the new server to the one of
 your old server. Otherwise your clients doesn't accept the new server as
 PDC for the domain, even if the domain name is the same.
 

Of course the SID is the same

 
 Regards,
 Marc
 
 
 

Thanks a lot for your help.

Frank
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkonhsIACgkQ6f7UMO5oSsW3FgCghWvvEQi/MKZDE9IfgMkjWt4G
v1kAn06s7EbLxTx5UgDszicB4Utf7O/4
=betF
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Having problems with Samba and openLDAP Groups

2009-06-04 Thread Liutauras Adomaitis
On Wed, Jun 3, 2009 at 9:47 PM, Liutauras Adomaitis
liutauras.adomai...@gmail.com wrote:
 On Thu, May 28, 2009 at 11:59 PM, Matt Burkhardt m...@imparisystems.com 
 wrote:
 On Thu, 2009-05-28 at 23:29 +0300, Liutauras Adomaitis wrote:

 On Thu, May 28, 2009 at 3:53 PM, Matt Burkhardt m...@imparisystems.com
 wrote:
 Thanks for the help!  I appreciate you taking the time!

 On Thu, 2009-05-28 at 00:02 +0300, Liutauras Adomaitis wrote:

 [2009/05/27 13:34:52, 2] smbd/service.c:make_connection_snum(616)
  user 'mlb' (from session setup) not permitted to access this share
 (Staff)
 [2009/05/27 13:34:52, 3] smbd/error.c:error_packet_set(106)
  error packet at smbd/reply.c(514) cmd=117 (SMBtconX)
 NT_STATUS_ACCESS_DENIED

 i guess your user mib is not in group @Staff. What do you get with
 commands: smbldap-tools works only with ldap, it doesn't mean system
 sees those users.
 id mib
 getent passwd | grep mib
 getent group | grep -i staff

 id mlb
 uid=1000(mlb) gid=1000(mlb)

 groups=1000(mlb),4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),33(www-data),44(video),46(plugdev),107(fuse),113(lpadmin),115(admin),116(sambashare),1001(musicshare),1002(printer-admin),1008(subversion),1012(Staff),513(Domain
 Users),1014(Staff)

 getent passwd | grep mlb
 mlb:x:1000:1000:Matt Burkhardt,,,:/home/mlb:/bin/bash
 mlb:x:1009:544:mlb:/home/mlb:/bin/bash
 mlb-laptop$:*:1014:515:Computer:/dev/null:/bin/false

 getent group | grep -i Staff
 staff:x:50:
 Staff:x:1012:alex,mlb
 Staff:*:1014:mlb,alex

 You have 3 groups Staff and 2 users mib. This confuses me a bit. It
 may be your problem. I think you should have only one user mib.
 You should also make sure you have 1 group Staff. Check your net
 groupmap list to see how does Staff group maps to windows group.

 Liutauras

 Those are deleted entries - they don't show up in either the webmin module
 or phpldapadmin.  Here's the results from the net groupmap list

 Domain Admins (S-1-5-21-3529111891-2609867799-3129462049-512) - Domain
 Admins
 Domain Users (S-1-5-21-3529111891-2609867799-3129462049-513) - Domain Users
 Domain Guests (S-1-5-21-3529111891-2609867799-3129462049-514) - Domain
 Guests
 Domain Computers (S-1-5-21-3529111891-2609867799-3129462049-515) - Domain
 Computers
 Administrators (S-1-5-32-544) - Administrators
 Account Operators (S-1-5-32-548) - Account Operators
 Print Operators (S-1-5-32-550) - Print Operators
 Backup Operators (S-1-5-32-551) - Backup Operators
 Replicators (S-1-5-32-552) - Replicators
 Staff (S-1-5-21-3529111891-2609867799-3129462049-3029) - Staff


 Hi,
 have you solved your problem? I've been busy a bit.
 You groupmap list looks nice, but I still think there is something to
 dig arround group membership.
 Some more things to check, if you didn't do that already:
 - smbldap-groupshow Staff - this should give an idea of gidNumber and
 SID of Staff group in ldap
 - do you run nscd? I had a lot of problems with it and ldap
 authentication. Samba Docs even say, that this is not supported if I
 remmeber correctly. nscd could be responsible of showing groups that
 are already deleted.
 - have tried using other group, like Domain Users. If it works with
 other group then it is problem with your group Staff.


 Liutauras


PS
one more thing to do
nss_updatedb ldap group staff - this should refresh group memberships.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] all connections closed if user gives wrong pwd (#long posting inside)

2009-06-04 Thread Thomas Anglmaier
reply to my own post:

a little bit of more research on the server side and reading cifs documentation 
let me point out the problem:

cifs.ko starts a thread (cifsd) for each connection to a server. 
this thread is killed if a user gives a wrong password which means every 
mounted cifs-share is gone.

$ echo 1  /proc/fs/cifs/cifsFYI#gives good information after 
doing what was described in my last post.

dmesg | grep kill
 fs/cifs/connect.c: cifsd thread killed


so this means it is not related to samba but to the cifs module.

hope this helps anyone.

br
thomas

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


[Samba] Problem with Mac OS X Clients

2009-06-04 Thread Christian Wernitz

Hi,

I have installed a Debian / Lenny with Samba 3.2.5 and put it in an  
existing Domain.


All works fine. I can Authenticate the Users and and give them  
permissions to write while I connect from a Windows- or Linux-Client.
When I`m conecting from an Mac OS X Client and create a new Folder,  
the Permission is always 755. (from other clients 770)


my smb.conf:
[global]
   security = domain
   workgroup = XXX
   netbios name = file-server01
   encrypt passwords = yes
   log level = 2

[test]
   path = /daten/test
   browseable = yes
   writeable = yes
   valid users = @mygroup
   create mask = 0660
   directory mask = 0770

I also tried to create an own PDC (samba with ldap) and I have the  
same problems.



Can anybody help me, or had anybody the same problems?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Problem with Mac OS X Clients

2009-06-04 Thread Christian Wernitz

Hi,

I have installed a Debian / Lenny with Samba 3.2.5 and put it in an  
existing Domain.


All works fine. I can Authenticate the Users and and give them  
permissions to write while I connect from a Windows- or Linux-Client.
When I`m conecting from an Mac OS X Client and create a new Folder,  
the Permission is always 755. (from other clients 770)


my smb.conf:
[global]
security = domain
workgroup = XXX
netbios name = file-server01
encrypt passwords = yes
log level = 2

[test]
path = /daten/test
browseable = yes
writeable = yes
valid users = @mygroup
create mask = 0660
directory mask = 0770

I also tried to create an own PDC (samba with ldap) and I have the  
same problems.



Can anybody help me, or had anybody the same problems?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Problem with Mac OS X Clients

2009-06-04 Thread Johannes Weberhofer, Weberhofer GmbH

Try

force directory security mode = 0770

best regards,
Johannes

Am 04.06.2009 13:26, schrieb Christian Wernitz:

Hi,

I have installed a Debian / Lenny with Samba 3.2.5 and put it in an
existing Domain.

All works fine. I can Authenticate the Users and and give them
permissions to write while I connect from a Windows- or Linux-Client.
When I`m conecting from an Mac OS X Client and create a new Folder, the
Permission is always 755. (from other clients 770)

my smb.conf:
[global]
security = domain
workgroup = XXX
netbios name = file-server01
encrypt passwords = yes
log level = 2

[test]
path = /daten/test
browseable = yes
writeable = yes
valid users = @mygroup
create mask = 0660
directory mask = 0770

I also tried to create an own PDC (samba with ldap) and I have the same
problems.


Can anybody help me, or had anybody the same problems?


--


|-
|  weberhofer GmbH   | Johannes Weberhofer
|  information technologies
|  Austria, 1080 Wien, Blindengasse 52/3
|
|  Firmenbuch: 225566s, Handelsgericht Wien
|  UID: ATU55277701
|
|  phone : +43 (0)1 5454421 0| email: off...@weberhofer.at
|  fax   : +43 (0)1 5454421 19   | web  : http://weberhofer.at
|  mobile: +43 (0)699 11998315
|---
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-04 Thread Toby Bluhm

Frank Bonnet wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello

We are facing a bit boring problem

We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
as we do not want to reconfigure the PDC IP address on several
hundreds of windows XP clients we have chosen to keep the same
IP address for the new PDC.

The problem is windows clients does not update the name of network
drives and keep the old names even connected to the new PDC server
and it's new shares ...

I suspect there are some caching mechanisms that are not completely
cleaned (!!!) by windows.


Any infos on how to clean widows caches are welcome.



If I understand you correctly, you mean everything is working just fine, 
but the server name displayed in file explorer for the network drive 
letter is still the old server name.



If that's it, check the registry:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComputerDescriptions]

Delete the entries for the server  it will automatically refresh to the 
current setting.



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


[Samba] Problem with Mac OS X Clients

2009-06-04 Thread Christian Wernitz

Yes, it work! Thank you!!!


Am 04.06.2009 um 13:35 schrieb ee...@welho.com:


Try to set  unix extensions = No in smb.conf

--
Eero


Quoting Christian Wernitz christian.wern...@kontrast.de:


Hi,

I have installed a Debian / Lenny with Samba 3.2.5 and put it in an
existing Domain.

All works fine. I can Authenticate the Users and and give them
permissions to write while I connect from a Windows- or Linux-Client.
When I`m conecting from an Mac OS X Client and create a new Folder,  
the

Permission is always 755. (from other clients 770)

my smb.conf:
[global]
 security = domain
 workgroup = XXX
 netbios name = file-server01
 encrypt passwords = yes
 log level = 2

[test]
 path = /daten/test
 browseable = yes
 writeable = yes
 valid users = @mygroup
 create mask = 0660
 directory mask = 0770

I also tried to create an own PDC (samba with ldap) and I have the  
same

problems.


Can anybody help me, or had anybody the same problems?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba






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


[Samba] Winbind Problems resolving groups

2009-06-04 Thread Marc Muehlfeld

Hello,

on my member server I only see the mapped GID through winbind on my 
filesystem. Owner are displayed fine. Only the group isnt resolved. Access is 
possible because the GIDs are fine.


Example:
-rw-r--r--  1 muehlfeld 30006  429 26. Aug 2008  testfile.txt


wbinfo -g returns:
BUILTIN\administrators
BUILTIN\users

The member server is running 3.3.4. Also the PDC runs 3.3.4 (with 3.0.34 on my 
PDC it worked).


Any idea?

Regards,
Marc
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Make CIFS look like NFS

2009-06-04 Thread Daniel L. Miller

Michal Dobroczynski wrote:

Hi Daniel,
Can you specify what NFS features are important to you in such case?
(in other words please define look like NFS)

Regards,
Michal

Oh - you want me to be specific?  What fun would that be? ;-)

Ok, specifics...

I'm trying to run an IMAP mail server (Dovecot) in a virtual machine.  
However, I do not want the messages stored within the virtual disk.  So 
- the question was how the virtual machine could access those files.  
Dovecot has been setup and tested with NFS.  However, when I asked about 
compatibility with CIFS, I was told it would probably not work.  Testing 
on my own showed that in fact that this resulted in problems - it 
appeared temp files would be created and never deleted.  I tried a few 
different smb.conf  mount parameters that SEEMED appropriate - but 
wasn't able to get it to work.  So...


I guess my specific question would be how can I setup CIFS so Dovecot 
will work with it as happily as it does with NFS?

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


Re: [Samba] Make CIFS look like NFS

2009-06-04 Thread Michal Dobroczynski
Hello,
Thanks for the details - they really change completely the whole
background ;) Anyway, there's not much I can help in such situation -
but see my comments below. Maybe they will help (convince?) in some
way.

2009/6/4 Daniel L. Miller dmil...@amfes.com:
 Michal Dobroczynski wrote:

 Hi Daniel,
 Can you specify what NFS features are important to you in such case?
 (in other words please define look like NFS)

 Regards,
 Michal

 Oh - you want me to be specific?  What fun would that be? ;-)

 Ok, specifics...

 I'm trying to run an IMAP mail server (Dovecot) in a virtual machine.
  However, I do not want the messages stored within the virtual disk.  So -
 the question was how the virtual machine could access those files.  Dovecot
 has been setup and tested with NFS.  However, when I asked about
 compatibility with CIFS, I was told it would probably not work.  Testing on
 my own showed that in fact that this resulted in problems - it appeared temp
 files would be created and never deleted.  I tried a few different smb.conf
  mount parameters that SEEMED appropriate - but wasn't able to get it to
 work.  So...


I am not aware of possible issues (fs calls circus) apart from using
: in file names:

smb: \mico\ put test:test
putting file test:test as \mico\test:test (0,0 kb/s) (average 0,0 kb/s)

smb: \mico\ ls
  .   D0  Thu Jun  4 19:48:34 2009
  ..  D0  Thu Jun  4 19:48:29 2009
  TLNVL5~P 0  Thu Jun  4 19:48:40 2009


 I guess my specific question would be how can I setup CIFS so Dovecot will
 work with it as happily as it does with NFS?

I think you will have to change your requirements and consider NFS
instead of CIFS :(

Regards,
Michal

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

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


[Samba] samba file server with heartbeat and drbd

2009-06-04 Thread Mikael Kermorgant
Hello,
While working on heartbeat/pacemaker for a web service stored on drbd, I've
thought what I've learnt could also be applied to samba in order to build a
fault tolerant file server in our domain.

While digging samba's doc, I've found that CTDB could also fulfill the need
and is maybe better suited as it's samba-related.

But on the other hand, I'd appreciate to begin with only samba + pacemaker +
drbd. I guess that failover would be less transparent to the users but I'm
not really aware of what bad things could occur during a failover. Could
anyone enlighten me on this matter ?

Regards,

-- 
Mikael Kermorgant
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba file server with heartbeat and drbd

2009-06-04 Thread Jim McDonough
On Thu, Jun 4, 2009 at 5:42 PM, Mikael Kermorgant
mikael.kermorg...@gmail.com wrote:
 While working on heartbeat/pacemaker for a web service stored on drbd, I've
 thought what I've learnt could also be applied to samba in order to build a
 fault tolerant file server in our domain.

 While digging samba's doc, I've found that CTDB could also fulfill the need
 and is maybe better suited as it's samba-related.
These things don't have to be mutually exclusive.  ctdb still relies
on a file and lock coherent clustered filesystem, and that filesystem
might even require heartbeat or pacemaker (e.g. ocfs2, gfs).

 But on the other hand, I'd appreciate to begin with only samba + pacemaker +
 drbd. I guess that failover would be less transparent to the users but I'm
 not really aware of what bad things could occur during a failover. Could
 anyone enlighten me on this matter ?
In the non-ctdb case, if you are using sync drbd (if you are using
async, good luck), it would appear as if the server rebooted extremely
quickly, and every client would have to re-establish connections (and
open files, obtain locks, etc).  Perhaps the biggest real risk is that
your standby wasn't actually working, and you didn't know it, because
it was always in standby.

In the ctdb case, only the connections to that node would see the
disconnection, so fewer connections would have to be re-established.
Also, each server would already be in a known working state, so you
wouldn't be wondering if that standby was really ready to take over.

The benefits of ctdb go well beyond that, however

-- 
Jim McDonough
Samba Team
jmcd at samba dot org
jmcd at themcdonoughs dot org
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] OSX causing multiple CLOSE_WAIT's

2009-06-04 Thread Ed Kasky

Brian,

Thanks.  I thought I was just my two OS clients.  From what I've been 
reading lately, it seems to have been around for a while in different 
releases of OSX.  Our set up is one Samba PDC that acts as a file 
server for a bookkeeping business.  We have the mac machines as we 
have a couple of artist clients who do all their work on Macs, 
including their books.  We can't leave them connected to the network 
for too long or I have to restart samba.


I did an strace and logged it here - 
http://www.wrenkasky.com/reports/mac_strace.txt


I am not sure what to look for though.  Maybe someone can shed some light...

Ed

On 2009-06-03, 17:29:04 Brian Krusic wrote:

Hi Ed,

First, I feel your pain.

While I don't have an answer, I did switch from OSX based Samba server
to Linux and my problems went away.

My experience in general with OSX server 10.5 is that its a horrible
XSAN, NFS, AFP, SMB server.

What I've used to help trouble shoot OSX in general in addition to the
built in process viewer is XRG ( X Resource Grapher).

You can also try to dtrace stuff.  Just type it in a term to see some
help.

There were some NFS bugs I uncovered and shared with the OSX Server
dev guys which should be fixed in 10.6 server but who knows if that
will also fix the plethora of other issues.

- Brian

On Jun 2, 2009, at 10:02 PM, Ed Kasky wrote:

 Lately it never fails when I attach a Mac running OSX 10.5 that I
 get runaway pid's.  I tracked them down so far to multiple
 close_wait's:

 # /usr/sbin/lsof | grep pbg5mac
 smbd  24876  root6u IPv4   80015755  TCP
 yoda.wrenkasky.com:netbios-ssn-pbg5mac.wrenkasky.com:49381
 (CLOSE_WAIT)

 They can grow to over 100 if I don't catch it or nobody can log on
 anymore ;-)

 Anybody had any problems with Macs using samba?


...

Randomly Generated Quote (1505 of 1543):
Words have a longer life than deeds.
-- Pindar
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Timeout Waiting For SAMBA Response

2009-06-04 Thread Atkinson, Robert
A number of applications across multiple servers are showing these types of
errors :-
 
FileMove: TLFSO.MoveFile: TLFSO.CopyFile: File copy failed on 'e:\Output
Data\Scaleouts\A-005301.RDY' - The filename, directory name, or volume label
syntax is incorrect.
 
 
Taking them all into account, I feel the file system lookup is timing out
waiting for SAMBA to come back. This started happening when I moved a heavy
application (directory list every second) from A/S to SAMBA yesterday.
 
The files are on an ODS-2 volume, so I can certainly move them to ODS-5 to
try and help performance.
 
I also noticed that each attempt to list the directories creates a new VMS
process. Are there any tips to improve the process login speed or make the
connection persistent?
 
 
Rob.

***
Any opinions expressed in email are those of the individual and not necessarily 
those of the company. This email and any files transmitted with it are 
confidential and solely for the use of the intended recipient or entity to whom 
they are addressed. It may contain material protected by attorney-client 
privilege. If you are not the intended recipient, or a person responsible for 
delivering to the intended recipient, be advised that you have received this 
email in error and that any use is strictly prohibited.

Random House Group + 44 (0) 20 7840 8400
http://www.randomhouse.co.uk
http://www.booksattransworld.co.uk 
http://www.kidsatrandomhouse.co.uk
Generic email address - enquir...@randomhouse.co.uk

Name  Registered Office:
THE RANDOM HOUSE GROUP LIMITED
20 VAUXHALL BRIDGE ROAD
LONDON
SW1V 2SA
Random House Group Ltd is registered in the United Kingdom with company No. 
00954009, VAT number 102838980
***

PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2027-gd0aedeb

2009-06-04 Thread Volker Lendecke
The branch, master has been updated
   via  d0aedeb46e5d2da582b5c030114186f8d755b528 (commit)
  from  c6f39b46a7b0505331612a1bee15a82f97009f0d (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit d0aedeb46e5d2da582b5c030114186f8d755b528
Author: Volker Lendecke v...@samba.org
Date:   Thu Jun 4 17:48:17 2009 +0200

Increase tevent version for tevent_req_notify_callback()

---

Summary of changes:
 lib/tevent/configure.ac |2 +-
 source4/min_versions.m4 |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tevent/configure.ac b/lib/tevent/configure.ac
index 1c62a70..0d3f21d 100644
--- a/lib/tevent/configure.ac
+++ b/lib/tevent/configure.ac
@@ -1,5 +1,5 @@
 AC_PREREQ(2.50)
-AC_INIT(tevent, 0.9.5)
+AC_INIT(tevent, 0.9.6)
 AC_CONFIG_SRCDIR([tevent.c])
 AC_CONFIG_HEADER(config.h)
 
diff --git a/source4/min_versions.m4 b/source4/min_versions.m4
index 76bc1fe..0d9f439 100644
--- a/source4/min_versions.m4
+++ b/source4/min_versions.m4
@@ -3,4 +3,4 @@
 define(TDB_MIN_VERSION,1.1.4)
 define(TALLOC_MIN_VERSION,1.3.0)
 define(LDB_REQUIRED_VERSION,0.9.5)
-define(TEVENT_REQUIRED_VERSION,0.9.5)
+define(TEVENT_REQUIRED_VERSION,0.9.6)


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2029-g9f94c40

2009-06-04 Thread Kai Blin
The branch, master has been updated
   via  9f94c408851505a5eb2d5fbf4b0ac37ff0b0e037 (commit)
  from  e53ca4845e123eeff5e29869995e4a1a455f5f5d (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 9f94c408851505a5eb2d5fbf4b0ac37ff0b0e037
Author: Kai Blin k...@samba.org
Date:   Thu Jun 4 20:14:28 2009 +0200

nsstest: Relicense header file to LGPLv3+

---

Summary of changes:
 nsswitch/nsstest.h |   20 
 1 files changed, 12 insertions(+), 8 deletions(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/nsstest.h b/nsswitch/nsstest.h
index e69f17c..53adce5 100644
--- a/nsswitch/nsstest.h
+++ b/nsswitch/nsstest.h
@@ -3,17 +3,21 @@
nss includes for the nss tester
Copyright (C) Kai Blin 2007
 
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
+ ** NOTE! The following LGPL license applies to the nsstest
+ ** header. This does NOT imply that all of Samba is released
+ ** under the LGPL
 
-   This program is distributed in the hope that it will be useful,
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 3 of the License, or (at your option) any later version.
+
+   This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
 
-   You should have received a copy of the GNU General Public License
+   You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see http://www.gnu.org/licenses/.
 */
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2033-g73e3c85

2009-06-04 Thread Jeremy Allison
The branch, master has been updated
   via  73e3c85abac706be0a1836f3a4375ab379eceb86 (commit)
  from  930ea7c8a8879e98826ffdc391bab8b5a2864c5f (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 73e3c85abac706be0a1836f3a4375ab379eceb86
Author: Jeremy Allison j...@samba.org
Date:   Thu Jun 4 12:47:17 2009 -0700

Change smbd_smb2_request_error() to add a __location__.
This allows quick identification of smb2 parsing errors.
Jeremy.

---

Summary of changes:
 source3/include/smb_macros.h |3 +++
 source3/smbd/globals.h   |7 +++
 source3/smbd/smb2_server.c   |   13 +++--
 3 files changed, 13 insertions(+), 10 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index 7528883..6dd9cab 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -339,4 +339,7 @@ extern const char toupper_ascii_fast_table[];
 #define toupper_ascii_fast(c) toupper_ascii_fast_table[(unsigned int)(c)];
 #endif
 
+#define smbd_smb2_request_error(req, status) \
+   smbd_smb2_request_error_((req), (status), __location__)
+
 #endif /* _SMB_MACROS_H */
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 1c2b628..4c90e8f 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -176,10 +176,9 @@ void reply_smb2002(struct smb_request *req, uint16_t 
choice);
 void smbd_smb2_first_negprot(struct smbd_server_connection *conn,
 const uint8_t *inbuf, size_t size);
 
-NTSTATUS smbd_smb2_request_error_ex(struct smbd_smb2_request *req,
-   NTSTATUS status, DATA_BLOB *info);
-NTSTATUS smbd_smb2_request_error(struct smbd_smb2_request *req,
-NTSTATUS status);
+NTSTATUS smbd_smb2_request_error_(struct smbd_smb2_request *req,
+NTSTATUS status,
+const char *wherestr);
 NTSTATUS smbd_smb2_request_done_ex(struct smbd_smb2_request *req,
   NTSTATUS status,
   DATA_BLOB body, DATA_BLOB *dyn);
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 20754fb..5c4bdca 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -583,16 +583,17 @@ static void smbd_smb2_request_writev_done(struct 
tevent_req *subreq)
talloc_free(mem_pool);
 }
 
-NTSTATUS smbd_smb2_request_error_ex(struct smbd_smb2_request *req,
+static NTSTATUS smbd_smb2_request_error_ex(struct smbd_smb2_request *req,
NTSTATUS status,
+   const char *wherestr,
DATA_BLOB *info)
 {
uint8_t *outhdr;
uint8_t *outbody;
int i = req-current_idx;
 
-   DEBUG(10,(smbd_smb2_request_error_ex: idx[%d] status[%s]%s\n,
- i, nt_errstr(status), info ?  +info : ));
+   DEBUG(10,(smbd_smb2_request_error_ex: idx[%d] status[%s] at %s |%s|\n,
+ i, nt_errstr(status), wherestr, info ?  +info : ));
 
outhdr = (uint8_t *)req-out.vector[i].iov_base;
 
@@ -619,10 +620,10 @@ NTSTATUS smbd_smb2_request_error_ex(struct 
smbd_smb2_request *req,
return smbd_smb2_request_reply(req);
 }
 
-NTSTATUS smbd_smb2_request_error(struct smbd_smb2_request *req,
-NTSTATUS status)
+NTSTATUS smbd_smb2_request_error_(struct smbd_smb2_request *req,
+NTSTATUS status, const char *wherestr)
 {
-   return smbd_smb2_request_error_ex(req, status, NULL);
+   return smbd_smb2_request_error_ex(req, status, wherestr, NULL);
 }
 
 NTSTATUS smbd_smb2_request_done_ex(struct smbd_smb2_request *req,


-- 
Samba Shared Repository