[Samba] directory permission for samba user

2011-10-17 Thread Kaushal Shriyan
Hi,

In samba, path = /path/to/share/point so if i have /database as
directory and user as sales whats the preferred read write and user
and group ownership permission on /database ?

Regards

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


[Samba] read_data: read failure for 4 bytes to client 172.26.1.24. Error = Connection reset by peer

2010-11-23 Thread Kaushal Shriyan
Hi,

I am using unattended project (http://unattended.sourceforge.net/) while
trying to install windows XP on the client machine. I get the below details
in the samba logs.

[2010/11/23 14:13:48, 1] smbd/service.c:make_connection_snum(1033)
 172.26.1.24 (172.26.1.24) connect to service install initially as user
guest (uid=1001, gid=1001) (pid 6681)
[2010/11/23 14:14:03, 0] lib/util_sock.c:read_data(534)
 *read_data: read failure for 4 bytes to client 172.26.1.24. Error =
Connection reset by peer*
[2010/11/23 14:14:03, 1] smbd/service.c:close_cnum(1230)
 172.26.1.24 (172.26.1.24) closed connection to service install

Please suggest/guide further and let me know if you need smb.conf config.

Thanks

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


[Samba] CIFS VFS: Send error in read

2010-04-06 Thread Kaushal Shriyan
Hi,

I get while installing windows XP on a I ball Laptop using unattended
(http://unattended.sourceforge.net/)

*** Trying mount.cifs \\ntinstall\install /z -o username=guest,ro,nocase
CIFS VFS: No response to cmd 46 mid 13
CIFS VFS: Send error in read = -11

CIFS VFS: No response to cmd 162 mid 17
CIFS VFS: No response to cmd 162 mid 21
CIFS VFS: No response to cmd 162 mid 25
CIFS VFS: No response to cmd 162 mid 29
CIFS VFS: No response to cmd 162 mid 33
CIFS VFS: No response to cmd 162 mid 37
CIFS VFS: No response to cmd 162 mid 41
CIFS VFS: No response to cmd 162 mid 45
CIFS VFS: No response to cmd 162 mid 49
CIFS VFS: No response to cmd 162 mid 53
CIFS VFS: No response to cmd 162 mid 57
CIFS VFS: No response to cmd 162 mid 61
CIFS VFS: No response to cmd 162 mid 65
CIFS VFS: No response to cmd 162 mid 69

Please guide/suggest.

Thanks and Regards,

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


[Samba] backup samba data directory

2010-03-10 Thread Kaushal Shriyan
Hi,

is there a tool to backup samba data directory ?

Thanks,

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


Re: [Samba] samba ldap

2009-10-29 Thread Kaushal Shriyan
On Thu, Oct 29, 2009 at 12:13 AM, Dale Schroeder
 wrote:
>
> Dale Schroeder
> Technical Issues
> Del Sol Food Company, Inc.
> (979)836-5978(979) 836-5978
>
>
> Kaushal Shriyan wrote:
>
> On Wed, Oct 28, 2009 at 11:44 PM, Dale Schroeder
>  wrote:
>
>
> Kaushal Shriyan wrote:
>
> Hi,
>
> I am following https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html
> and ldap works perfectly fine.
> I have issues with connecting to ldap from samba.
>
> I get
>
> [2009/10/27 12:37:28, 1] lib/smbldap.c:another_ldap_try(1153)
>  Connection to LDAP server failed for the 9 try!
> [2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_open_connection(786)
>  smbldap_open_connection: connection opened
> [2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_connect_system(982)
>  failed to bind to server ldap://localhost/ with
> dn="cn=admin,dc=webaroo,dc=com" Error: Can't contact LDAP server
>        (unknown)
>
> I have ldapserver running on the same server as samba server is
> running. when i run ldapsearch -x -H ldaps://localhost. I am able to
> see the user details.
> Please let me know if anyone needs configs and additional information.
> Also when i run smbldap-populate, i get
> http://paste.ubuntu.com/302630/
>
> Thanks,
>
> Kaushal
>
>
>
>
>
>
> Hi,
>
>
> I see you're using encryption.  All of that is beyond me, as my setup is
> plain.
> Still, I noticed some inconsistencies and 1 probable error.  I pasted each
> suspicious
> value below its pastebin link.
>
> Below are my configs.
>
>
> Notice below that you have different values for the ldap admin user.
> Twice  you have cn=admin.
> Once you have dc=admin.
>
> http://pastebin.com/dcb24c87 ---> ldap.conf
> http://pastebin.com/d721f0d4d ---> slapd.conf
>
>
> rootdn          "cn=admin,dc=example,dc=com"
>
> http://pastebin.com/d102cbfc5 --->samba.conf
>
>
> ldap admin dn = cn=admin,dc=example,dc=com
> ldap suffix = dc=example,dc=com (compare this line with what you put in
> smbldap.conf)
>
> http://pastebin.com/d4a02b874 --> smbldap.conf
>
>
> suffix="dc=admin,dc=example,dc=com" (compare to smb.conf)
> Probably should not have the dc=admin part.
> Because of all the ${suffix} entries, this would propagate throughout the
> "ou" entries.
>
> http://pastebin.com/d716fddc0 ---> smbldap_bind.conf
>
>
> masterDN="dc=admin,dc=example,dc=com"
>
> If the problem lies with ldaps/ssl rather than my observations, then someone
> far more knowledgeable than me will have to find it.
>
> Dale
>
>
> Hi Dale
>
> I have set it correctly in smbldap.conf and smbldap_bind.conf
>
> cn=admin,dc=webaroo,dc=com
>
> I get http://pastebin.com/d6d35247f
>
> Please suggest/guide.
>
>
> Did you try changing the value in smbldap.conf from
>
> suffix="dc=admin,dc=example,
> dc=com"
>
> to
>
> suffix="dc=example,dc=com"
>
> (removing "dc=admin")?
>
> The error message seems to indicate you did not.
>
> adding new entry: ou=Users,cn=admin,dc=example,dc=com
>
> Dale
>
> Thanks,
>
> Kaushal
>
>

Hi Dale,

I get http://pastebin.com/d47ac4bd9

Thanks,

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


Re: [Samba] samba ldap

2009-10-28 Thread Kaushal Shriyan
On Wed, Oct 28, 2009 at 11:44 PM, Dale Schroeder
 wrote:
> Kaushal Shriyan wrote:
>
> Hi,
>
> I am following https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html
> and ldap works perfectly fine.
> I have issues with connecting to ldap from samba.
>
> I get
>
> [2009/10/27 12:37:28, 1] lib/smbldap.c:another_ldap_try(1153)
>  Connection to LDAP server failed for the 9 try!
> [2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_open_connection(786)
>  smbldap_open_connection: connection opened
> [2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_connect_system(982)
>  failed to bind to server ldap://localhost/ with
> dn="cn=admin,dc=webaroo,dc=com" Error: Can't contact LDAP server
>        (unknown)
>
> I have ldapserver running on the same server as samba server is
> running. when i run ldapsearch -x -H ldaps://localhost. I am able to
> see the user details.
> Please let me know if anyone needs configs and additional information.
> Also when i run smbldap-populate, i get
> http://paste.ubuntu.com/302630/
>
> Thanks,
>
> Kaushal
>
>
>
>
>
>
> Hi,
>
>
> I see you're using encryption.  All of that is beyond me, as my setup is
> plain.
> Still, I noticed some inconsistencies and 1 probable error.  I pasted each
> suspicious
> value below its pastebin link.
>
> Below are my configs.
>
>
> Notice below that you have different values for the ldap admin user.
> Twice  you have cn=admin.
> Once you have dc=admin.
>
> http://pastebin.com/dcb24c87 ---> ldap.conf
> http://pastebin.com/d721f0d4d ---> slapd.conf
>
>
> rootdn          "cn=admin,dc=example,dc=com"
>
> http://pastebin.com/d102cbfc5 --->samba.conf
>
>
> ldap admin dn = cn=admin,dc=example,dc=com
> ldap suffix = dc=example,dc=com (compare this line with what you put in
> smbldap.conf)
>
> http://pastebin.com/d4a02b874 --> smbldap.conf
>
>
> suffix="dc=admin,dc=example,dc=com" (compare to smb.conf)
> Probably should not have the dc=admin part.
> Because of all the ${suffix} entries, this would propagate throughout the
> "ou" entries.
>
> http://pastebin.com/d716fddc0 ---> smbldap_bind.conf
>
>
> masterDN="dc=admin,dc=example,dc=com"
>
> If the problem lies with ldaps/ssl rather than my observations, then someone
> far more knowledgeable than me will have to find it.
>
> Dale

Hi Dale

I have set it correctly in smbldap.conf and smbldap_bind.conf

cn=admin,dc=webaroo,dc=com

I get http://pastebin.com/d6d35247f

Please suggest/guide.

Thanks,

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


Re: [Samba] samba ldap

2009-10-28 Thread Kaushal Shriyan
On Wed, Oct 28, 2009 at 12:39 AM, Dale Schroeder
 wrote:
> Kaushal Shriyan wrote:
>
> On Tue, Oct 27, 2009 at 11:22 PM, Dale Schroeder
>  wrote:
>
>
> Two things that I can think of:
> 1. Did you remember to run smbpasswd -w
>
> 2. In /etc/smbldap-tools, check the values in the two conf files.
>   Edit as necessary, or run "dpkg-reconfigure smbldap-tools" if needed.
>
> If that doesn't help, you'll probably need to post your config files on the
> list.
>
>
>
> Hi Dale
>
> Shall i pastebin the configs to you instead of the list due to security
> concern
>
> Thanks,
>
> Kaushal
>
>
> It would be best to "sanitize" anything you don't want to be public, then
> allow the list to see them.
> The contents of those files should be small enough to paste into the body of
> the mail, but that's your call.
>
> No clues in the other howto's?
>
> Dale
>
>
>
> FYI: More complete howto's here:
> http://wiki.makethemove.net/index.php?title=LDAP-Samba#Introduction
> and here:
> https://help.ubuntu.com/community/OpenLDAP-SambaPDC-OrgInfo-Posix
>
> I use Debian and was able to successfully adapt these Ubuntu tutorials, so
> they should work for you.
>
> Dale
>
>
> Kaushal Shriyan wrote:
>
>
> Hi,
>
> I am following https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html
> and ldap works perfectly fine.
> I have issues with connecting to ldap from samba.
>
> I get
>
> [2009/10/27 12:37:28, 1] lib/smbldap.c:another_ldap_try(1153)
>  Connection to LDAP server failed for the 9 try!
> [2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_open_connection(786)
>  smbldap_open_connection: connection opened
> [2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_connect_system(982)
>  failed to bind to server ldap://localhost/ with
> dn="cn=admin,dc=webaroo,dc=com" Error: Can't contact LDAP server
>        (unknown)
>
> I have ldapserver running on the same server as samba server is
> running. when i run ldapsearch -x -H ldaps://localhost. I am able to
> see the user details.
> Please let me know if anyone needs configs and additional information.
> Also when i run smbldap-populate, i get
> http://paste.ubuntu.com/302630/
>
> Thanks,
>
> Kaushal
>
>
>
>

Hi,

Below are my configs.

http://pastebin.com/dcb24c87 ---> ldap.conf
http://pastebin.com/d721f0d4d ---> slapd.conf
http://pastebin.com/d102cbfc5 --->samba.conf
http://pastebin.com/d4a02b874 --> smbldap.conf
http://pastebin.com/d716fddc0 ---> smbldap_bind.conf

I am running both ldap and samba server on the same host running on
ubuntu 8.04 Hardy server. I am following
https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html. I get the
below issue when i run smbldap-populate I get
http://pastebin.com/d30ed0db6.

Please let me know if anyone needs more information.

Thanks,

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


[Samba] samba ldap

2009-10-27 Thread Kaushal Shriyan
Hi,

I am following https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html
and ldap works perfectly fine.
I have issues with connecting to ldap from samba.

I get

[2009/10/27 12:37:28, 1] lib/smbldap.c:another_ldap_try(1153)
  Connection to LDAP server failed for the 9 try!
[2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_open_connection(786)
  smbldap_open_connection: connection opened
[2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_connect_system(982)
  failed to bind to server ldap://localhost/ with
dn="cn=admin,dc=webaroo,dc=com" Error: Can't contact LDAP server
(unknown)

I have ldapserver running on the same server as samba server is
running. when i run ldapsearch -x -H ldaps://localhost. I am able to
see the user details.
Please let me know if anyone needs configs and additional information.
Also when i run smbldap-populate, i get
http://paste.ubuntu.com/302630/

Thanks,

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


[Samba] smbclient syntax

2007-03-26 Thread Kaushal Shriyan

Hi

I wanted the smbclient syntax to get to smb: \>

Thanks and Regards

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