search for: wshare

Displaying 3 results from an estimated 3 matches for "wshare".

Did you mean: share
2008 Sep 11
1
Trouble finding all smb shares on network
Hi, just joined the list and know very little about smb. I'm trying to do something that should be simple, but my current solution isn't working 100% All I need is a list of smb shares on the network. I'm doing this: /usr/bin/nmblookup -M -- - and then use this on each ip returned: /usr/bin/smbclient -g -p 139 -NL <ip addr> That works for most cases but it fails to find
2003 Apr 02
1
smbclient 2.2.8 gives NT_STATUS_LOGON_FAILURE
...e share where the user account is provided by a Windoze domain (ADS). In this case - according to what I learned from our Win-Admin - the logon name must have the form: domain\user I wrote a small shell script - and it succeeds. The sample-code (6.6.6.6 is a win2k-server): #!/bin/ksh WSHARE="//6.6.6.6/myshare" WUSER=MYDOMAIN\\domuser WPASS=mepass $WRDIR=me2dir /usr/local/samba/bin/smbclient $WSHARE $WPASS -U $WUSER -d 2 -c "cd $WRDIR; dir" And now the really strange part: when I issue the SAME command (parameters) from a PERL script, from the plai...
2008 Apr 01
1
strange permission denied problem
...15 19:09 Occhio Chair.jpg -r--r----- 1 root root 90670 Mar 28 14:22 Office Pics 002.jpg cat /proc/mounts says: //bgrp1/c /tmp/mnt/bgrp1/c cifs ro,mand,nodiratime,unc=\\bgrp1\c,username=root,domain=,rsize=4100,wsize=4100 0 0 and the mount line itself is mount.cifs "//$server/$wshare" /tmp/mnt/$server/$lshare -o ip=$target,guest,ro,file_mode=0440,dir_mode=0550 I can't for the life of me figure out why some files give me a permission denied. I have no physical access to the problem box; here's what I know: ------------------------------------------+ Looking up...