[Samba] (no subject)

2009-01-21 Thread James Chavez
Hello list,
My samba server stopped allowing access to shares this morning. It gave
some funky errors. Has anyone seen these before? The OS is Fedora 9 and
the version is...
Version 3.2.0pre3-9.fc9
Am using ADS security for serving shares. 
Server is EXAMPLEDC.EXAMPLE.CORP

Looks like it is saying no login servers in client log but, there are
two listed in smb.conf and they both replied to a ping when this
happened.
I tried restarting smb but it did not help. A reboot cleared up the
issue but I want to get to the root cause.

There are some strange lines in the smbd log as well(bottom). 

Any help is greatly appreciated. Can I avoid rebooting this to fix it if
it happens again. Or better yet can I permanently fix it maybe upgrade
Samba. I saw a previous post where raising amount of processes allowed
per group was suggested.

Thank you 
James

+
+ Client log excerpt+
*

[2009/01/21 07:08:35,  1] lib/util_tdb.c:tdb_wrap_log(886)
  tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1
(Interrupted system call)
[2009/01/21 07:08:35,  0]
lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91)
  tdb_chainlock_with_timeout_internal: alarm (10) timed out for key
EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb
[2009/01/21 07:08:35,  1] lib/server_mutex.c:grab_named_mutex(71)
  Could not get the lock for EXAMPLEDC.EXAMPLE.CORP

[2009/01/21 07:08:55,  0] auth/auth_domain.c:domain_client_validate(221)
  domain_client_validate: Domain password server not available.
[2009/01/21 07:08:55,  2] auth/auth.c:check_ntlm_password(318)
  check_ntlm_password:  Authentication for user [some_user] -
[some_user] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2009/01/21 07:09:09,  1] lib/util_tdb.c:tdb_wrap_log(886)
  tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1
(Interrupted system call)
[2009/01/21 07:09:09,  0]
lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91)
  tdb_chainlock_with_timeout_internal: alarm (10) timed out for key
EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb
[2009/01/21 07:09:09,  1] lib/server_mutex.c:grab_named_mutex(71)
  Could not get the lock for EXAMPLEDC.EXAMPLE.CORP
+++


= log.smbd excerpt =


[2009/01/19 14:33:44,  0] lib/util_sock.c:get_peer_addr_internal(1601)
  getpeername failed. Error was Transport endpoint is not connected
[2009/01/20 13:29:40,  0] lib/util_sock.c:get_peer_addr_internal(1601)
  getpeername failed. Error was Transport endpoint is not connected
[2009/01/21 09:03:39,  0] smbd/server.c:main(1208)
  smbd version 3.2.0pre3-9.fc9 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/01/21 09:03:39,  2] lib/tallocmsg.c:register_msg_pool_usage(106)
  Registered MSG_REQ_POOL_USAGE
[2009/01/21 09:03:39,  2] lib/dmallocmsg.c:register_dmalloc_msgs(77)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
=



CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by 
the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail 
message, you are hereby notified that any dissemination, distribution or 
copying of this e-mail message, and any attachments thereto, is strictly 
prohibited.  If you have received this e-mail message in error, please 
immediately notify the sender and permanently delete the original and any 
copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic 
Transactions Act or the applicability of any other law of similar substance and 
effect, absent an express statement to the contrary hereinabove, this e-mail 
message its contents, and any attachments hereto are not intended to represent 
an offer or acceptance to enter into a contract and are not otherwise intended 
to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or 
any other person or entity.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba server stopped serving shares, strange errors.

2009-01-21 Thread James Chavez
Sorry sent no subject in my message post. Please disregard the previous
post and reply to this one.

A correction in the line below where I stated
Server is EXAMPLEDC.EXAMPLE.CORP
I meant the domain controller is EXAMPLEDC.EXAMPLE.CORP

Hello list,
My samba server stopped allowing access to shares this morning. It gave
some funky errors. Has anyone seen these before? The OS is Fedora 9 and
the version is...
Version 3.2.0pre3-9.fc9
Am using ADS security for serving shares. 
Server is EXAMPLEDC.EXAMPLE.CORP

Looks like it is saying no login servers in client log but, there are
two listed in smb.conf and they both replied to a ping when this
happened.
I tried restarting smb but it did not help. A reboot cleared up the
issue but I want to get to the root cause.

There are some strange lines in the smbd log as well(bottom). 

Any help is greatly appreciated. Can I avoid rebooting this to fix it if
it happens again. Or better yet can I permanently fix it maybe upgrade
Samba. I saw a previous post where raising amount of processes allowed
per group was suggested.

Thank you 
James

+
+ Client log excerpt+
*

[2009/01/21 07:08:35,  1] lib/util_tdb.c:tdb_wrap_log(886)
  tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1
(Interrupted system call)
[2009/01/21 07:08:35,  0]
lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91)
  tdb_chainlock_with_timeout_internal: alarm (10) timed out for key
EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb
[2009/01/21 07:08:35,  1] lib/server_mutex.c:grab_named_mutex(71)
  Could not get the lock for EXAMPLEDC.EXAMPLE.CORP

[2009/01/21 07:08:55,  0] auth/auth_domain.c:domain_client_validate(221)
  domain_client_validate: Domain password server not available.
[2009/01/21 07:08:55,  2] auth/auth.c:check_ntlm_password(318)
  check_ntlm_password:  Authentication for user [some_user] -
[some_user] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2009/01/21 07:09:09,  1] lib/util_tdb.c:tdb_wrap_log(886)
  tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1
(Interrupted system call)
[2009/01/21 07:09:09,  0]
lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91)
  tdb_chainlock_with_timeout_internal: alarm (10) timed out for key
EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb
[2009/01/21 07:09:09,  1] lib/server_mutex.c:grab_named_mutex(71)
  Could not get the lock for EXAMPLEDC.EXAMPLE.CORP
+++


= log.smbd excerpt =


[2009/01/19 14:33:44,  0] lib/util_sock.c:get_peer_addr_internal(1601)
  getpeername failed. Error was Transport endpoint is not connected
[2009/01/20 13:29:40,  0] lib/util_sock.c:get_peer_addr_internal(1601)
  getpeername failed. Error was Transport endpoint is not connected
[2009/01/21 09:03:39,  0] smbd/server.c:main(1208)
  smbd version 3.2.0pre3-9.fc9 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/01/21 09:03:39,  2] lib/tallocmsg.c:register_msg_pool_usage(106)
  Registered MSG_REQ_POOL_USAGE
[2009/01/21 09:03:39,  2] lib/dmallocmsg.c:register_dmalloc_msgs(77)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
=


CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by 
the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail 
message, you are hereby notified that any dissemination, distribution or 
copying of this e-mail message, and any attachments thereto, is strictly 
prohibited.  If you have received this e-mail message in error, please 
immediately notify the sender and permanently delete the original and any 
copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic 
Transactions Act or the applicability of any other law of similar substance and 
effect, absent an express statement to the contrary hereinabove, this e-mail 
message its contents, and any attachments hereto are not intended to represent 
an offer or acceptance to enter into a contract and are not otherwise intended 
to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or 
any other person or entity.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba server stopped serving shares, strange errors.(Any Ideas?)

2009-01-21 Thread James Chavez

On Wed, 2009-01-21 at 10:23 -0700, James Chavez wrote:
 Sorry sent no subject in my message post. Please disregard the previous
 post and reply to this one.
 
 A correction in the line below where I stated
 Server is EXAMPLEDC.EXAMPLE.CORP
 I meant the domain controller is EXAMPLEDC.EXAMPLE.CORP
 
 Hello list,
 My samba server stopped allowing access to shares this morning. It gave
 some funky errors. Has anyone seen these before? The OS is Fedora 9 and
 the version is...
 Version 3.2.0pre3-9.fc9
 Am using ADS security for serving shares. 
 Server is EXAMPLEDC.EXAMPLE.CORP
 
 Looks like it is saying no login servers in client log but, there are
 two listed in smb.conf and they both replied to a ping when this
 happened.
 I tried restarting smb but it did not help. A reboot cleared up the
 issue but I want to get to the root cause.
 
 There are some strange lines in the smbd log as well(bottom). 
 
 Any help is greatly appreciated. Can I avoid rebooting this to fix it if
 it happens again. Or better yet can I permanently fix it maybe upgrade
 Samba. I saw a previous post where raising amount of processes allowed
 per group was suggested.
 
 Thank you 
 James
 
 +
 + Client log excerpt+
 *
 
 [2009/01/21 07:08:35,  1] lib/util_tdb.c:tdb_wrap_log(886)
   tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1
 (Interrupted system call)
 [2009/01/21 07:08:35,  0]
 lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91)
   tdb_chainlock_with_timeout_internal: alarm (10) timed out for key
 EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb
 [2009/01/21 07:08:35,  1] lib/server_mutex.c:grab_named_mutex(71)
   Could not get the lock for EXAMPLEDC.EXAMPLE.CORP
 
 [2009/01/21 07:08:55,  0] auth/auth_domain.c:domain_client_validate(221)
   domain_client_validate: Domain password server not available.
 [2009/01/21 07:08:55,  2] auth/auth.c:check_ntlm_password(318)
   check_ntlm_password:  Authentication for user [some_user] -
 [some_user] FAILED with error NT_STATUS_NO_LOGON_SERVERS
 [2009/01/21 07:09:09,  1] lib/util_tdb.c:tdb_wrap_log(886)
   tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1
 (Interrupted system call)
 [2009/01/21 07:09:09,  0]
 lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91)
   tdb_chainlock_with_timeout_internal: alarm (10) timed out for key
 EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb
 [2009/01/21 07:09:09,  1] lib/server_mutex.c:grab_named_mutex(71)
   Could not get the lock for EXAMPLEDC.EXAMPLE.CORP
 +++
 
 
 = log.smbd excerpt =
 
 
 [2009/01/19 14:33:44,  0] lib/util_sock.c:get_peer_addr_internal(1601)
   getpeername failed. Error was Transport endpoint is not connected
 [2009/01/20 13:29:40,  0] lib/util_sock.c:get_peer_addr_internal(1601)
   getpeername failed. Error was Transport endpoint is not connected
 [2009/01/21 09:03:39,  0] smbd/server.c:main(1208)
   smbd version 3.2.0pre3-9.fc9 started.
   Copyright Andrew Tridgell and the Samba Team 1992-2008
 [2009/01/21 09:03:39,  2] lib/tallocmsg.c:register_msg_pool_usage(106)
   Registered MSG_REQ_POOL_USAGE
 [2009/01/21 09:03:39,  2] lib/dmallocmsg.c:register_dmalloc_msgs(77)
   Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
 =
 
 
 CONFIDENTIALITY
 This e-mail message and any attachments thereto, is intended only for use by 
 the addressee(s) named herein and may contain legally privileged and/or 
 confidential information. If you are not the intended recipient of this 
 e-mail message, you are hereby notified that any dissemination, distribution 
 or copying of this e-mail message, and any attachments thereto, is strictly 
 prohibited.  If you have received this e-mail message in error, please 
 immediately notify the sender and permanently delete the original and any 
 copies of this email and any prints thereof.
 ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
 INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform 
 Electronic Transactions Act or the applicability of any other law of similar 
 substance and effect, absent an express statement to the contrary 
 hereinabove, this e-mail message its contents, and any attachments hereto are 
 not intended to represent an offer or acceptance to enter into a contract and 
 are not otherwise intended to bind the sender, Sanmina-SCI Corporation (or 
 any of its subsidiaries), or any other person or entity.

CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by 
the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail 
message, you are hereby notified that any dissemination, distribution or 
copying of this e-mail message

[Samba] Samba using ADS

2008-12-29 Thread James Chavez
Hello list,
I am using Samba with ADS authentication. I am able to map drives and
open and close files with no issues with the exception of Microsoft
Outlook email files. So from within Outlook, I open one of these email
files and I get an access denied error. Even if i put 777 permission on
the files in question I get the same error. 
I am using LDAP as a user and group store if that means anything to the
list, I do not think it is the issue since everything works well except
for this.

I found the following in the logs. Hinting at lock errors, not sure what
to make of it. Can you folks help me out?

Thank you
James

[2008/12/29 13:10:46,  2] smbd/close.c:close_normal_file(586)
  elmer_fudd closed file efudd/vxvm.pst (numopen=0) NT_STATUS_OK
[2008/12/29 13:15:30,  1] smbd/service.c:make_connection_snum(1188)
  phx1ambckw02 (:::172.16.155.109) connect to service homedir
initially as user elmer_fudd (uid=5171, gid=5009) (pid 15526)
[2008/12/29 13:15:30,  1] smbd/service.c:close_cnum(1399)
  phx1ambckw02 (:::172.16.155.109) closed connection to service
homedir
[2008/12/29 13:15:47,  2] smbd/open.c:open_file(399)
  elmer_fudd opened file efudd/vxvm.pst read=Yes write=No (numopen=1)
[2008/12/29 13:15:47,  2] smbd/close.c:close_normal_file(586)
  elmer_fudd closed file efudd/vxvm.pst (numopen=0) NT_STATUS_OK
[2008/12/29 13:15:47,  2] smbd/open.c:open_file(399)
  elmer_fudd opened file efudd/vxvm.pst read=Yes write=Yes (numopen=1)
[2008/12/29 13:15:48,  0] locking/posix.c:posix_fcntl_lock(196)
  posix_fcntl_lock: WARNING: lock request at offset 532, length 1
returned
  an No locks available error. This can happen when using 64 bit lock
offsets
  on 32 bit NFS mounted file systems.
[2008/12/29 13:15:48,  2] smbd/close.c:close_normal_file(586)
  elmer_fudd closed file efudd/vxvm.pst (numopen=0) NT_STATUS_OK
  



CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by 
the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail 
message, you are hereby notified that any dissemination, distribution or 
copying of this e-mail message, and any attachments thereto, is strictly 
prohibited.  If you have received this e-mail message in error, please 
immediately notify the sender and permanently delete the original and any 
copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic 
Transactions Act or the applicability of any other law of similar substance and 
effect, absent an express statement to the contrary hereinabove, this e-mail 
message its contents, and any attachments hereto are not intended to represent 
an offer or acceptance to enter into a contract and are not otherwise intended 
to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or 
any other person or entity.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba using ADS

2008-12-29 Thread James Chavez
Volker,
My friend you are the man. If ever in Phoenix I owe you a beer. 
Do you know of any ramifications of altering this? As long as only one
person accesses the file at a time I should be OK I would think. The
smb.conf man page says that smbd keeps it's own locks and tries to match
these to posix locks for files opened by local or nfs access. At least I
understand it that way. I think I should be ok as these files will only
be accessed from these samba sessions.

Thank you again
James

On Mon, 2008-12-29 at 19:54 +0100, Volker Lendecke wrote:
 On Mon, Dec 29, 2008 at 10:50:10AM -0800, Chavez, James R. wrote:
  I did not mention that the data I am sharing out is actually mounted
  through NFS off of other boxes. Perhaps that helps with the NFS mentoin
  in the log.
 
 Try posix locking = no.
 
 Volker

CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by 
the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail 
message, you are hereby notified that any dissemination, distribution or 
copying of this e-mail message, and any attachments thereto, is strictly 
prohibited.  If you have received this e-mail message in error, please 
immediately notify the sender and permanently delete the original and any 
copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic 
Transactions Act or the applicability of any other law of similar substance and 
effect, absent an express statement to the contrary hereinabove, this e-mail 
message its contents, and any attachments hereto are not intended to represent 
an offer or acceptance to enter into a contract and are not otherwise intended 
to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or 
any other person or entity.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba using ADS

2008-12-29 Thread James Chavez
Volker,
I scanned the lists and came across quite a few with the same issue I
had and you were in a few :). I have found no mention of negative impact
as of yet. Did find many posts asking if it would cause negative impact
but no definitive answer. I understand that does not mean that there
will be no issues.

Seems the solution is to not re export NFS file systems as you mentioned
in the posts. I was hoping not to run Samba off of this box to avoid
bogging it down but I may have to after all. Actually the box exporting
the NFS data is a NT4.0 domain member server and the Samba install has
no ADS support built in. I will have to recompile or rebuild I guess.

Thank you again.
James

On Mon, 2008-12-29 at 20:49 +0100, Volker Lendecke wrote:
 On Mon, Dec 29, 2008 at 12:14:55PM -0700, James Chavez wrote:
  My friend you are the man. If ever in Phoenix I owe you a beer. 
  Do you know of any ramifications of altering this? As long as only one
  person accesses the file at a time I should be OK I would think. The
  smb.conf man page says that smbd keeps it's own locks and tries to match
  these to posix locks for files opened by local or nfs access. At least I
  understand it that way. I think I should be ok as these files will only
  be accessed from these samba sessions.
 
 As long as you don't have concurrent access to the same
 files from other NFS clients and/or Unix processes, you
 should be as ok as it is possible to be for re-exported NFS
 imports. Scan the mailing lists for my opinion on this
 matter :-)
 
 Volker

CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by 
the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail 
message, you are hereby notified that any dissemination, distribution or 
copying of this e-mail message, and any attachments thereto, is strictly 
prohibited.  If you have received this e-mail message in error, please 
immediately notify the sender and permanently delete the original and any 
copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic 
Transactions Act or the applicability of any other law of similar substance and 
effect, absent an express statement to the contrary hereinabove, this e-mail 
message its contents, and any attachments hereto are not intended to represent 
an offer or acceptance to enter into a contract and are not otherwise intended 
to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or 
any other person or entity.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Solaris 8 and Solaris 10

2008-12-25 Thread James Chavez
Steve,
Nice product, I am downloading now. The free version is good for one
mounted share so it seems I would have to pay to implement it. Open
Solaris has a Cifs client that I installed on Solaris 10 SPARC. However
I get libnsl.so.1 errors so it looks like it is not compatible.
I will get posting on the Open Solaris forum to see if there is a work
around.

Thanks for the heads up on Sharity.
James   

On Thu, 2008-12-25 at 12:02 +, Steve Kennedy wrote:
 On Wed, Dec 24, 2008 at 12:36:10PM -0600, Mike Brown wrote:
 
  On Wed, Dec 24, 2008 at 11:26:36AM -0700, James Chavez wrote:
   I was looking for mapping in the opposite direction. From the Solaris
   clients to the Windows Share. I too can access shares on *NIX machines
   from Windows boxes but I was hoping to mount my Windows shares from *NIX
   like I do with mount.cifs from Linux.
  Sorry, I misunderstood your query.  I don't share out Windblows files.  So,
  I've never run into the problem.
 
 Have a look at Sharity
 
 http://www.obdev.at/Products/Sharity.html
 
 Steve
 
 -- 
 home steve at gbnet.org
 NetTek Ltdtel/fax +44-(0)207 483 2455
 Email to SMS steve - epage (at) gbnet dot net

CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by 
the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail 
message, you are hereby notified that any dissemination, distribution or 
copying of this e-mail message, and any attachments thereto, is strictly 
prohibited.  If you have received this e-mail message in error, please 
immediately notify the sender and permanently delete the original and any 
copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic 
Transactions Act or the applicability of any other law of similar substance and 
effect, absent an express statement to the contrary hereinabove, this e-mail 
message its contents, and any attachments hereto are not intended to represent 
an offer or acceptance to enter into a contract and are not otherwise intended 
to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or 
any other person or entity.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Solaris 8 and Solaris 10

2008-12-24 Thread James Chavez
Mike,
I was looking for mapping in the opposite direction. From the Solaris
clients to the Windows Share. I too can access shares on *NIX machines
from Windows boxes but I was hoping to mount my Windows shares from *NIX
like I do with mount.cifs from Linux.

I see some promising links with cifs server for open Solaris, usually
means it would work with Solaris 10 but maybe not in this case.

James

On Wed, 2008-12-24 at 01:44 -0600, Mike Brown wrote:
 On Wed, Dec 24, 2008 at 12:27:46AM -0700, James Chavez wrote:
 
  Is there a mount.cifs utility or mount_smbfs for Solaris 8 and Solaris
  10. I would like to map drives to my Windows servers from Solaris.
  smbclient works great for accessing files but I want to map the drives.
 
 Weird, I'm running Solaris 10 X86 and my 98SE, W2K and XP boxes have no 
 trouble
 at all mapping the drives that I have configured for access.
 
 It is the samba version that ships with Solaris 10.
 
 MB

CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by 
the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail 
message, you are hereby notified that any dissemination, distribution or 
copying of this e-mail message, and any attachments thereto, is strictly 
prohibited.  If you have received this e-mail message in error, please 
immediately notify the sender and permanently delete the original and any 
copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic 
Transactions Act or the applicability of any other law of similar substance and 
effect, absent an express statement to the contrary hereinabove, this e-mail 
message its contents, and any attachments hereto are not intended to represent 
an offer or acceptance to enter into a contract and are not otherwise intended 
to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or 
any other person or entity.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Solaris 8 and Solaris 10

2008-12-23 Thread James Chavez
All,
Is there a mount.cifs utility or mount_smbfs for Solaris 8 and Solaris
10. I would like to map drives to my Windows servers from Solaris.
smbclient works great for accessing files but I want to map the drives.

Thank you
James

CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by 
the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail 
message, you are hereby notified that any dissemination, distribution or 
copying of this e-mail message, and any attachments thereto, is strictly 
prohibited.  If you have received this e-mail message in error, please 
immediately notify the sender and permanently delete the original and any 
copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic 
Transactions Act or the applicability of any other law of similar substance and 
effect, absent an express statement to the contrary hereinabove, this e-mail 
message its contents, and any attachments hereto are not intended to represent 
an offer or acceptance to enter into a contract and are not otherwise intended 
to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or 
any other person or entity.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Creating folders while preserving sharing group

2008-12-16 Thread James Chavez
I have used the force group entry for shares in the past.

[Share]
comment = Share
path = /Share
read only = No
create mask = 0640
directory mask = 0740
force group = data

Not sure if this is frowned upon or not but seems to work ok.

James




On Tue, 2008-12-16 at 11:24 -0700, Andrew Masterson wrote:
 chmod g+s ~/Share/
 
 smb.conf:
   inherit acls = yes
   inherit permissions = yes
 
 orcreate mask 750
 
 or something similar.
 
  -Original Message-
  From: samba-bounces+andrew.masterson=nuvistaenergy@lists.samba.org
 
 [mailto:samba-bounces+andrew.masterson=nuvistaenergy@lists.samba.org
 ]
  On Behalf Of Ooi Kwan Chen
  Sent: Monday, December 15, 2008 6:47 PM
  To: samba@lists.samba.org
  Subject: [Samba] Creating folders while preserving sharing group
  
  Hi there,
  
  I'm using Samba 3.0.24-6etch10 in Debian Etch 64bit with kernel Linux
  2.6.18-6-amd64.
  
  Here is my case scenario.
  
  I have created a folder to be shared with other group users. The
  ownership for the folders are showed as below:
  
  Directory path:~/Share/
  
  drwxr-x--- 25 admin data  4096 2008-05-05 13:42 file1107
  drwxr-x--- 25 admin data  4096 2008-11-13 14:57 file1207
  
  When the admin group users created a folder under the Share directory,
  it is showed as below:
  
  drwxr-  2 admin admin 4096 2008-12-15 11:45 New Folder
  
  I wanted the folder to have admin:data kind of ownership whenever the
  admin users created a file or a folder. Is it possible to do that?
  
  Here's my smb.conf file
  
  [Share]
 comment = Share
 path = /Share
 read only = No
 create mask = 0640
 directory mask = 0740
  
  [global]
 workgroup = IT
 netbios name = ITSHARE
 server string = %h server
 security = USER
 encrypt passwords = No
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
  *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully*
 .
 syslog = 0
 log file = /var/log/samba/log.%m
 max log size = 1000
 os level = 64
 local master = No
 domain master = No
 dns proxy = No
 wins support = Yes
 panic action = /usr/share/samba/panic-action %d
 invalid users = root
 read list = data
 write list = admin
 hosts allow = 192.168.11.0/24 192.168.10.0/24
  
  Appreciate your all kind suggestions. Thank you
  
  --
  Best regards,
  
  Ooi Kwan Chen (John), System Support, Server Management Section,
  Group IT Department, DXN Holdings Berhad
  Office Phone : +604 771 6688 Ext 122 Fax : +604 772 4785
  Website : www.dxn2u.com
  
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  https://lists.samba.org/mailman/listinfo/samba

CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by 
the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail 
message, you are hereby notified that any dissemination, distribution or 
copying of this e-mail message, and any attachments thereto, is strictly 
prohibited.  If you have received this e-mail message in error, please 
immediately notify the sender and permanently delete the original and any 
copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT 
INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic 
Transactions Act or the applicability of any other law of similar substance and 
effect, absent an express statement to the contrary hereinabove, this e-mail 
message its contents, and any attachments hereto are not intended to represent 
an offer or acceptance to enter into a contract and are not otherwise intended 
to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or 
any other person or entity.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba