[Samba] smbcacls of the share itself

2013-09-01 Thread Shirish Pargaonkar
Hi, Is there a way to use smbcacls to list the cacls of the share (directory at the server) itself? e.g. something like this? smbcacls //192.168.1.67/public . -U user%password Thanks. Regards, Shirish -- To unsubscribe from this list go to the following URL and read the instructions:

Re: [Samba] Trouble with mount.cifs while smbclient works (Ubuntu 12.04)

2012-05-17 Thread Shirish Pargaonkar
On Thu, May 17, 2012 at 11:38 AM, scott_purc...@dell.com wrote: Passing sec=ntlmssp did not help.  Nor did moving the options prior to the device and mount-point specifications. I'm not comfortable sending a full tcpdump to the list whose membership I do not know (but I can send it

Re: [Samba] Trouble with mount.cifs while smbclient works (Ubuntu 12.04)

2012-05-17 Thread Shirish Pargaonkar
) Scott Purcell Content Development: Linux, Virtualization, and Cloud Solutions Dell | GSD Learning Development From: Shirish Pargaonkar [shirishpargaon...@gmail.com] Sent: Thursday, May 17, 2012 12:15 PM To: Purcell, Scott Cc: samba@lists.samba.org

Re: [Samba] Trouble with mount.cifs while smbclient works (Ubuntu 12.04)

2012-05-17 Thread Shirish Pargaonkar
just when I have to step away from it for a bit. Scott Purcell Content Development: Linux, Virtualization, and Cloud Solutions Dell | GSD Learning Development From: Shirish Pargaonkar [shirishpargaon...@gmail.com] Sent: Thursday, May 17, 2012 8

Re: [Samba] Trouble with mount.cifs while smbclient works (Ubuntu 12.04)

2012-05-16 Thread Shirish Pargaonkar
On Wed, May 16, 2012 at 5:29 PM, scott_purc...@dell.com wrote: Steve said: Do you have the cifs-utils package installed? cifs-utils is installed (2:5.1-1ubuntu1) Shirish said: What is the Windows server? I don't really have visibility into the specifics here -- it is a NAS appliance

[Samba] samba server does not list shares of type Pritner

2012-03-29 Thread Shirish Pargaonkar
Samba server does not list/return share type of Printer. It only does Disk and IPC$. In /etc/samba/smb.conf, [global] section has load printers = yes cups options = raw printcap name = /etc/printcap #obtain list of printers automatically on SystemV ;

Re: [Samba] samba server does not list shares of type Pritner

2012-03-29 Thread Shirish Pargaonkar
On Thu, Mar 29, 2012 at 4:14 PM, Chris Smith smb...@chrissmith.org wrote: On Thu, Mar 29, 2012 at 4:07 PM, Shirish Pargaonkar shirishpargaon...@gmail.com wrote:        printcap name = /etc/printcap        #obtain list of printers automatically on SystemV ;       printcap name = lpstat

Re: [Samba] SMB Signing issues... smbclient works, mount does not...

2011-10-07 Thread Shirish Pargaonkar
On Fri, Oct 7, 2011 at 12:20 AM, Vini v...@fugspbr.org wrote: On 7/10/2011 1:18 PM, Shirish Pargaonkar wrote: On Thu, Oct 6, 2011 at 10:10 PM, Vini v...@fugspbr.org wrote: Hi All, I seem to have exactly the same problem which was described in this thread a while ago. I have gone through

Re: [Samba] [mount.cifs] Mapping Windows ACLs SIDs to POSIX ACL ?

2011-10-06 Thread Shirish Pargaonkar
On Thu, Oct 6, 2011 at 4:40 AM, Xavier Roche roche+k...@exalead.com wrote: Hi folks, This may sound like a really stupid question, but I could not find any way to somehow map remote Windows ACLs into POSIX ACLs (mapping users and group SIDs to Unix mapped ids) when mounting a remote share

Re: [Samba] SMB Signing issues... smbclient works, mount does not...

2011-10-06 Thread Shirish Pargaonkar
On Thu, Oct 6, 2011 at 10:10 PM, Vini v...@fugspbr.org wrote: Hi All, I seem to have exactly the same problem which was described in this thread a while ago. I have gone through every piece of information I was able to find on mailing list archives but all I found was people reporting similar

Re: [Samba] CIFS mount with non-ascii (UTF8) password is not working

2011-03-26 Thread Shirish Pargaonkar
On Thu, Mar 24, 2011 at 12:26 AM, Katariya Rahul rahulrahu...@rediffmail.com wrote: Hi , I have French CIFS server. If I try to map a share from any windows machine with non-ascii (UTF-8, french characters are part of password) password, it is successful. But If I try from linux machine,

Re: [Samba] winbind sometimes does not resolve sid to a name

2010-12-16 Thread Shirish Pargaonkar
On Thu, Dec 2, 2010 at 3:13 PM, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: On Tue, Nov 16, 2010 at 10:19 AM, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: On Sat, Nov 13, 2010 at 5:34 PM, Michael Wood esiot...@gmail.com wrote: On 14 November 2010 01:16, Shirish Pargaonkar

Re: [Samba] winbind sometimes does not resolve sid to a name

2010-12-02 Thread Shirish Pargaonkar
On Tue, Nov 16, 2010 at 10:19 AM, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: On Sat, Nov 13, 2010 at 5:34 PM, Michael Wood esiot...@gmail.com wrote: On 14 November 2010 01:16, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: On Sat, Nov 13, 2010 at 4:52 PM, Michael Adam ob

Re: [Samba] winbind sometimes does not resolve sid to a name

2010-11-16 Thread Shirish Pargaonkar
On Sat, Nov 13, 2010 at 5:34 PM, Michael Wood esiot...@gmail.com wrote: On 14 November 2010 01:16, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: On Sat, Nov 13, 2010 at 4:52 PM, Michael Adam ob...@samba.org wrote: Hi Shirish, Shirish Pargaonkar wrote: On Mon, Nov 8, 2010 at 1:47 PM

Re: [Samba] winbind sometimes does not resolve sid to a name

2010-11-13 Thread Shirish Pargaonkar
On Sat, Nov 13, 2010 at 4:52 PM, Michael Adam ob...@samba.org wrote: Hi Shirish, Shirish Pargaonkar wrote: On Mon, Nov 8, 2010 at 1:47 PM, Jeremy Allison j...@samba.org wrote: On Mon, Nov 08, 2010 at 01:21:30PM -0600, Shirish Pargaonkar wrote: Sometimes a group sid does not get resolved

[Samba] winbind sometimes does not resolve sid to a name

2010-11-08 Thread Shirish Pargaonkar
Sometimes a group sid does not get resolved to its name. Is this a settings problem? Looks like winbind deamon went dormant for a while and then woke up? I am using interface wbcLookupSid provided by the library libwbclient.so for resolving sids to names. These are the winbind related

Re: [Samba] winbind sometimes does not resolve sid to a name

2010-11-08 Thread Shirish Pargaonkar
On Mon, Nov 8, 2010 at 1:47 PM, Jeremy Allison j...@samba.org wrote: On Mon, Nov 08, 2010 at 01:21:30PM -0600, Shirish Pargaonkar wrote: Sometimes a group sid does not get resolved to its name. Is this a settings problem?  Looks like winbind deamon went dormant for a while and then woke up

Re: [Samba] Encryption

2010-06-25 Thread Shirish Pargaonkar
On Fri, Jun 25, 2010 at 2:34 PM, Jeff Layton jlay...@samba.org wrote: On Fri, 25 Jun 2010 12:20:41 -0700 Jeremy Allison j...@samba.org wrote: On Fri, Jun 25, 2010 at 06:54:08PM +, Dan Lenski wrote: On Sun, 18 Apr 2010 10:29:38 -0400, simo wrote: On Sun, 2010-04-18 at 10:05 -0400,

Re: [Samba] libldb-samba.so does not link in source4 samba

2010-06-16 Thread Shirish Pargaonkar
On Wed, Jun 16, 2010 at 10:58 AM, Michael Wood esiot...@gmail.com wrote: On 16 June 2010 17:37, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: [...] /source4 # ldd /usr/src/bamba/samba/source4/bin/default/source4/lib/ldb/libldb-samba4.so        linux-vdso.so.1 =  (0x7fffcb9cf000

[Samba] libldb-samba.so does not link in source4 samba

2010-06-15 Thread Shirish Pargaonkar
I am building in source4. Where are these symbols defined? Is any library that is not getting linked? samba/source4 # make WAF_MAKE=1 ../buildtools/bin/waf build Waf: Entering directory `/usr/src/bamba/samba/source4/bin' [1816/1961] Linking default/source4/lib/ldb/libldb-samba4.so [1908/1961]

[Samba] smbclient against win7 server cifs/smb2

2010-06-15 Thread Shirish Pargaonkar
When lmcompatiblity level is set to 5, against a window7 server, source3/smbclient fails to authenticate with error NT_STATUS_LOGON_FAILURE using cifs server signing = enabled client signing = enabled client ntlmv2 auth = yes Am I missing something in either smb.conf

[Samba] samba4 compilation error

2010-01-15 Thread Shirish Pargaonkar
Not sure if this is a known error during samba4 source code compilation and how to fix it (which file has struct iovec defined and where to include it) Compiling ../libcli/util/tstream.c ../libcli/util/tstream.c:39: error: field âtmp_vectorâ has incomplete type The following command failed:

Re: [Samba] samba4 compilation error

2010-01-15 Thread Shirish Pargaonkar
I got past this error by including linux/uio.h in the .c file but not sure that is where the header file should be included. On Fri, Jan 15, 2010 at 11:47 AM, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: Not sure if this is a known error during samba4 source code compilation and how

[Samba] sid to uid/gid mapping, winbind

2010-01-08 Thread Shirish Pargaonkar
I am interested in finding out user name / group name for a given SID. Can winbind provide that information assuming the cifs server which exports a share is either not in the same doamin as specified in the smb.conf on the linux SMB/CIFS client machine or is a stand alone machine, if presented

[Samba] error while building samba with cifs upcall

2009-05-07 Thread Shirish Pargaonkar
:/usr/src/samba/samba/source3 # grep -i ldap config.log $ ./configure --with-cifsupcall --with-ads --with-ldap --with-krb5 configure:59539: checking for LDAP support configure:59585: checking ldap.h usability configure:59627: checking ldap.h presence configure:59696: checking for ldap.h | #define

Re: [Samba] CIFS hang

2009-04-14 Thread Shirish Pargaonkar
On Tue, Apr 14, 2009 at 12:41 PM, Dorrian, William M william.m.dorr...@usace.army.mil wrote: Hi Darrel. The first thing I would suggest is to do a modinfo cifs and see which version you're using. (It should be on the second row). I had a similar problem a few months ago-I have a script which

Re: [Samba] Re: chown failure on a samba share

2009-03-11 Thread Shirish Pargaonkar
On Wed, Mar 11, 2009 at 2:43 AM, Volker Lendecke volker.lende...@sernet.de wrote: On Tue, Mar 10, 2009 at 09:41:58PM -0500, Shirish Pargaonkar wrote: On Tue, Mar 10, 2009 at 9:32 PM, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: Is this working as designed or a samba bug? I am

Re: [Samba] Re: chown failure on a samba share

2009-03-11 Thread Shirish Pargaonkar
On Wed, Mar 11, 2009 at 5:11 AM, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: On Wed, Mar 11, 2009 at 2:43 AM, Volker Lendecke volker.lende...@sernet.de wrote: On Tue, Mar 10, 2009 at 09:41:58PM -0500, Shirish Pargaonkar wrote: On Tue, Mar 10, 2009 at 9:32 PM, Shirish Pargaonkar

Re: [Samba] Re: chown failure on a samba share

2009-03-11 Thread Shirish Pargaonkar
On Wed, Mar 11, 2009 at 5:18 AM, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: On Wed, Mar 11, 2009 at 5:11 AM, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: On Wed, Mar 11, 2009 at 2:43 AM, Volker Lendecke volker.lende...@sernet.de wrote: On Tue, Mar 10, 2009 at 09:41:58PM

Re: [Samba] Re: chown failure on a samba share

2009-03-11 Thread Shirish Pargaonkar
On Wed, Mar 11, 2009 at 6:13 AM, Volker Lendecke volker.lende...@sernet.de wrote: On Wed, Mar 11, 2009 at 05:28:00AM -0500, Shirish Pargaonkar wrote: smb: \ chown 65534 file2 chown uid gid file smb: \ chown 65534 65533 file2 NT_STATUS_ACCESS_DENIED chown file \file2 uid=65534, gid=65533

[Samba] chown failure on a samba share

2009-03-10 Thread Shirish Pargaonkar
Is this working as designed or a samba bug? I am trying to chown ownership of a file in a samba share and it results in an error. cifstest6:~ # smbclient //cifstest8/smb8 -U root Enter root's password: Domain=[CIFSTEST8] OS=[Unix] Server=[Samba 3.4.0-GIT-e6a5f11-devel] smb: \ chown 65534 65534

[Samba] Re: chown failure on a samba share

2009-03-10 Thread Shirish Pargaonkar
On Tue, Mar 10, 2009 at 9:32 PM, Shirish Pargaonkar shirishpargaon...@gmail.com wrote: Is this working as designed or a samba bug? I am trying to chown ownership of a file in a samba share and it results in an error. cifstest6:~ # smbclient //cifstest8/smb8 -U root Enter root's password

Re: [Samba] Question about mount.cifs and smbclient

2009-02-05 Thread Shirish Pargaonkar
On Thu, Feb 5, 2009 at 8:21 AM, Marton Neher marton.ne...@nsn.com wrote: Hi! I have a problem for a few weeks, and can't figure out what could be the problem. The client computer runs RHEL 5.2 (arch: x64_64); the smb server is unknown for us. I'm sorry, that I can't provide any info

[Samba] samba server peer disconnect

2008-09-17 Thread Shirish Pargaonkar
I have mounted a samba share using cifs client. cifs client returns with 0 from kernel_recvmsg meaning peer has orderly disconnected/shutdown the socket! What should I be looking for in the messages logged by samba server when it disconnected/shutdown that socket? I am logging at level 10 on the

[Samba] does samba respond to partial write andx request?

2008-07-09 Thread Shirish Pargaonkar
Does samba server respond to partial write andx request? Looks like cifs has not sent (write andx) entire 56K of data but samba server has responded. Or does samba server thinks the request is complete? Specifically, I am not sure what smb_bcc=57345 means/signifies Your help is really, really

Re: [Samba] multiple smb commands (some non AndX) in one packet

2008-06-05 Thread Shirish Pargaonkar
On Thu, Jun 5, 2008 at 1:34 AM, Volker Lendecke [EMAIL PROTECTED] wrote: On Wed, Jun 04, 2008 at 03:28:31PM -0500, Shirish Pargaonkar wrote: cifs.ko. You mean 4-byte header FF 53 4D 42? In another recreate, tcp frame has two smb requests, close (0x4) and locking andx (0x24) each

Re: [Samba] multiple smb commands (some non AndX) in one packet

2008-06-05 Thread Shirish Pargaonkar
On Thu, Jun 5, 2008 at 8:58 AM, Volker Lendecke [EMAIL PROTECTED] wrote: On Thu, Jun 05, 2008 at 07:29:49AM -0500, Shirish Pargaonkar wrote: Mounted a share and ran this command fsstress -d /mnt -l 0 -n 1000 -p 10 -r google points at quite a few sites when asking it for fsstress. What

Re: [Samba] multiple smb commands (some non AndX) in one packet

2008-06-05 Thread Shirish Pargaonkar
On 6/5/08, Volker Lendecke [EMAIL PROTECTED] wrote: On Thu, Jun 05, 2008 at 10:09:24AM -0500, Shirish Pargaonkar wrote: I downloaded ltp-full-20080131.tgz few months back and built it and using network/nfs/nfs_fsstress/fsstress. Ok, this might give Steve French something tasty

Re: [Samba] multiple smb commands (some non AndX) in one packet

2008-06-05 Thread Shirish Pargaonkar
I have attached parts of samba server and cifs client logs. Wonder what samba server is doing between 12:55:00 and 12:55:21, there is nothing logged on the server during that period. On 6/5/08, Volker Lendecke [EMAIL PROTECTED] wrote: On Thu, Jun 05, 2008 at 10:09:24AM -0500, Shirish

[Samba] multiple smb commands (some non AndX) in one packet

2008-06-04 Thread Shirish Pargaonkar
Does samba server handle multiple smb commands (not necessarily andx commands) within one packet? If a client were to send commands such as 0x2f, 0x32, 0x32 in one packet instead of three separate packets, does samba server handle it i.e. respond to each of the three requests? -- To unsubscribe

Re: [Samba] multiple smb commands (some non AndX) in one packet

2008-06-04 Thread Shirish Pargaonkar
[EMAIL PROTECTED] wrote: On Wed, Jun 04, 2008 at 11:42:30AM -0700, Jeremy Allison wrote: On Wed, Jun 04, 2008 at 01:36:20PM -0500, Shirish Pargaonkar wrote: Does samba server handle multiple smb commands (not necessarily andx commands) within one packet? If a client were to send

Re: [Samba] multiple smb commands (some non AndX) in one packet

2008-06-04 Thread Shirish Pargaonkar
cifs.ko. You mean 4-byte header FF 53 4D 42? In another recreate, tcp frame has two smb requests, close (0x4) and locking andx (0x24) each with this four byte header. On 6/4/08, Volker Lendecke [EMAIL PROTECTED] wrote: On Wed, Jun 04, 2008 at 02:20:45PM -0500, Shirish Pargaonkar wrote: No, I

[Samba] How to exit samba gracefully from within the smbd code

2008-03-27 Thread Shirish Pargaonkar
What is the best way for smbd to shutdown for whatever reason? For example, I want samba to shutdown whenever it receives a trans2 setfsinfo smb/cifs command with say an invalid info level, instead of returning an error. Not sure whether putting exit call in default case would suffice, because

[Samba] Re: number of aces in big endian format?

2008-02-08 Thread Shirish Pargaonkar
On 2/7/08, Shirish Pargaonkar [EMAIL PROTECTED] wrote: On 2/7/08, Shirish Pargaonkar [EMAIL PROTECTED] wrote: Hello, Not exactly samba but related to ntfs acls, so hope do not get flamed! Recently I am seeing a response to get security descriptor query to Windows server as Malformed

[Samba] Re: number of aces in big endian format?

2008-02-07 Thread Shirish Pargaonkar
On 2/7/08, Shirish Pargaonkar [EMAIL PROTECTED] wrote: Hello, Not exactly samba but related to ntfs acls, so hope do not get flamed! Recently I am seeing a response to get security descriptor query to Windows server as Malformed Packet in wireshark trace and the number of aces in the dacl

[Samba] number of aces in big endian format?

2008-02-07 Thread Shirish Pargaonkar
Hello, Not exactly samba but related to ntfs acls, so hope do not get flamed! Recently I am seeing a response to get security descriptor query to Windows server as Malformed Packet in wireshark trace and the number of aces in the dacl in big endian format. I thought all the data over the wire

[Samba] wbinfo -g works whereas wbinfo -u fails

2008-01-18 Thread Shirish Pargaonkar
How do I figure out wys wbinfo -u generates error? Some of the other wbinfo options work. [EMAIL PROTECTED] ~]# wbinfo -g Error looking up domain groups [EMAIL PROTECTED] ~]# wbinfo -g BUILTIN#System Operators BUILTIN#Replicators BUILTIN#Guests BUILTIN#Power Users BUILTIN#Print Operators

[Samba] stand alone winbind deamon services via apis

2007-12-17 Thread Shirish Pargaonkar
Hello, When I mount a cifs share from Windows server onto a linux client, all I am interested in is sid to uid and gid and vice versa mapping. Can I accomplish that using just windbind and not samba server and nmbd i.e. have a windbind.conf file with the pertinent stanza! Say I just give the

[Samba] uid/gid translation of a Owner SID/Group SID

2007-07-24 Thread Shirish Pargaonkar
Suppose I have a linux machine which has user abc (belongs to group def). I mount a cifs share from a Windows server as user ghi. The share has files with owner/Group domain1-jkl/mno, domain2-jkl/prq, prq/rst. Now if these files were to be listed on the linux machine which mounted this share,