[Samba] Permission denied error while connecting to EMC CIFS server

2012-09-13 Thread naga_kishore_kommuri
Hi, I'm getting "Permission denied" error while connecting to a EMC cifs share from samba client on unix machine. Looking at the packet capture it is observed that  samba client is authenticating with "anonymous" instead of the user name that has been provided. Here are flags received from EMC ser

Re: [Samba] Does samba-3.6.7's libsmbclient supports SMB2 protocol?

2012-09-02 Thread naga_kishore_kommuri
Thanks a lot Volker, Does source4 directory has got SMB2 support in libsmbclient library? thanks, -Kishore From: Volker Lendecke To: naga_kishore_komm...@yahoo.com Cc: "samba@lists.samba.org" Sent: Friday, August 31, 2012 7:41 PM Subject: Re: [Samba] Does s

[Samba] Does samba-3.6.7's libsmbclient supports SMB2 protocol?

2012-08-31 Thread naga_kishore_kommuri
Hi, I'm using libsmbclient library built from source3 directory of samba-3.6.7. When I connect to a vista/2008 server using this libsmbclient library, communication is happening in SMB1 protocol and NOT in SMB2. Please note that I've enabled SMB2 by adding following line to smb.conf max protocol

[Samba] smbc_opendir() is failing with "Connection timed out"

2012-08-23 Thread naga_kishore_kommuri
Hi, I'm using samba-3.6.7.  smbc_opendir() is failing with "Connection timed out" error if I give hostname as argument. For example smb://hostname But it is working fine if I give sharename. Ex smb://hostname/sharename It is working fine if I give IP address. Ex : smb://IPaddress Any clue? than

[Samba] Windows 2008 cluster server support

2012-01-24 Thread naga_kishore_kommuri
Hi, Could you please tell whether I can access windows 2008 cluster server shares from linux box using samba? Currently I'm using samba-3.2.6. I'm not able to list shares on a windows 2008 server. Is there any way to access 2008 cluster server? Is 2008 cluster server supported in later versions

[Samba] How to access Windows cluster Server 2008 R2 using smblcinet

2011-12-13 Thread naga_kishore_kommuri
Hi, I'm using smbclient to get list of shares exported in a cluster server 2008 R2. I'm not getting the share list. Instead I'm getting list of local drives.(C$ to Z$). I'm connecting to server using IP address(given by nslookup) NOT by cluster name. and I'm processing dirents of SMBC_FILE_SHARE

Re: [Samba] How do i get file attributes using samba.

2011-06-20 Thread naga_kishore_kommuri
Hi, I tried smbc_getxattr() with "system.dos_attr.mode" and I guess it will give me following attributes only... #define SMBC_DOS_MODE_READONLY   0x01 #define SMBC_DOS_MODE_HIDDEN 0x02 #define SMBC_DOS_MODE_SYSTEM 0x04 #define SMBC_DOS_MODE_VOLUME_ID  0x08 #define SMBC_DOS

[Samba] How do i get file attributes using samba.

2011-06-20 Thread naga_kishore_kommuri
Hi, I need to extract the following attributes of a file in Windows share using samba. /* FileAttributesField */ #define FILE_ATTRIBUTE_READONLY 0x001L #define FILE_ATTRIBUTE_HIDDEN   0x002L #define FILE_ATTRIBUTE_SYSTEM   0x004L #define FILE_ATTRIBUTE_DIRECTORY    0x0

[Samba] Out of memory error while calling smbc_getxattr().

2011-06-12 Thread naga_kishore_kommuri
Hi, I'm using samba 3.2.6 and getting the following error whille calling  smbc_getxattr(). cli_lsa_lookup_sids_noalloc(): out of memory Here is the relavent code snippet of the function cli_lsa_lookup_sids_noalloc()... if (dom_idx != 0x) {     dom_name = ref_doma

[Samba] How to extract 'size on disk' attribute a file on CIFS share

2011-04-26 Thread naga_kishore_kommuri
Hi, I could extract 'file size' using smbc_stat() in a C program. But how can I extract 'size on disk' value using smbclient .  Is there any way? Any help is greatly appreciated. Thanks in Advance -Kishore -- To unsubscribe from this list go to the following URL and read the instructions: https

[Samba] NTLM V2 authentication problem with samba-3.2.6

2010-03-04 Thread naga_kishore_kommuri
Hi, I'm using samba-3.2.6. Got the following error while connecting to a server which supports ntlm v2 only. NT_STATUS_LOGON_FAILURE Then I changed /etc/samba/smb.conf to include the following line.. client NTLMv2 auth = yes Even then I got the same error. Then recompiled the samba source by

[Samba] SET_PATH_INFO is not working on NetApp Filer

2009-11-19 Thread naga_kishore_kommuri
Hi, I'm using samba-3.2.6 on linux. Using this, I'm trying to update/modify Last Access Time(atime) of a file on CIFS share(on NetApp Filer). But not able to do so. I could successfully update atimes on windows server, but NOT on NetApp Filer. Is SET_PATH_INFO supported by NetApp filer(7.2 versio

[Samba] cli_read() is stuck in select() with the following stack trace

2009-06-11 Thread naga_kishore_kommuri
(gdb) bt #0 0x0033a86bcc36 in select () from /lib64/tls/libc.so.6 #1 0x2ae5c108 in sys_select () from /usr/lib/libsmbclient.so.0 #2 0x2ae64027 in event_loop_once () from /usr/lib/libsmbclient.so.0 #3 0x2ae8556b in cli_pull () from /usr/lib/libsmbclient.so.0 #4 0x00

Re: [Samba] Query related to samba-3.2.6 and Last Access Time stamp.

2009-04-09 Thread naga_kishore_kommuri
Hi Miguel Medalha, 'noatime' option did not work. Last access times got changed on the server even after mounting the share with 'noatime' option. -Kishore - Original Message From: Miguel Medalha To: naga_kishore_komm...@yahoo.com Cc: samba@lists.samba.org Sent: Monday, April 6, 2

Re: [Samba] Query related to samba-3.2.6 and Last Access Time stamp.

2009-04-06 Thread naga_kishore_kommuri
Hi Miguel/Scott, Thanks for the reply. Unfortunately I'm not mounting the samba filesystem. I'm using limsmbclient library APIs from a C program to open a smb file, read it, close the file. Is there any 'noatime' option while opening a smbfile or while initializing a context? thanks, -Kishore

[Samba] Query related to samba-3.2.6 and Last Access Time stamp.

2009-04-05 Thread naga_kishore_kommuri
Hi, I've installed samba-3.2.6 libraries on my linux box. >From the linux machine, I've transfered/copied some files from a share on >windows machine. This operation has changed the 'last access date' of the files(which I've copied) on the windows machine. I want to avoid this and I do not ha

Re: [Samba] Segmentation fault in smbc_getxattr()->...->convert_sid_to_string() in samba-3.2.6

2008-12-17 Thread naga_kishore_kommuri
Hi Volker, Thanks a lot. That solves the problem. Thanks once again, -Kishore - Original Message From: Volker Lendecke To: naga_kishore_komm...@yahoo.com Cc: samba@lists.samba.org Sent: Wednesday, December 17, 2008 10:52:17 PM Subject: Re: [Samba] Segmentation fault in smbc_getxattr(

[Samba] Segmentation fault in smbc_getxattr()->...->convert_sid_to_string() in samba-3.2.6

2008-12-17 Thread naga_kishore_kommuri
Hi, Got segmentation fault with the follwoing stacktrace while running "examples/libsmbclient/testacl13.c". #0 0x0033a866f200 in strlen () from /lib64/tls/libc.so.6 #1 0x0033a8642c51 in vfprintf () from /lib64/tls/libc.so.6 #2 0x0033a8661bb4 in vsnprintf () from /lib64/tls/libc.