[Samba] smbmount problem - Input/output error

2006-08-16 Thread Rodrigo Florenciano
Hello,

I am trying to mount a samba partition using a CGI program (C language) 
and a get the following error when i do $ df: 

df: `/mnt/b': Input/output error

The samba log bring the following message:

smbd/service.c:close_cnum(646)  srv (192.168.1.2) closed connection to 
service b

I am using the command smbmount //192.168.1.2/b /mnt/b -o 
username=user,password=pass,ip=192.168.1.2

Can anyone help?

-- 
Rodrigo J. Florenciano

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


[Samba] smbmount problem

2005-08-26 Thread M. Novan Adrian
hi all..
i'm using samba 3.0.11 and i got a weird problem here..
my domain server have samba 3.0.11 running with ldap support. both my
pc and my server are using slackware 10.1.
i can either joining domain or browsing other network members using
smbclient without
problem. but when i try to mount a client service i got this error message:

session setup failed: ERRSRV - 2240
SMB connection failed

i tried to find out what '2240' meant and it came to
INVALID_NT_WORKSTATION error message.
FYI, I have 'sambaUserWorkstation' attribute in my LDAP server and
smbmount works fine if I remove it.
but I  got to keep the attribute based on my company policy.
I have tried 'mount -t smbfs //CLIENT_NAME/SHARE /mnt/samba -o
username=my_username' but it fail to the same error.
I have no idea  what's wrong with my samba (client / server). Please help me :(

here is the smb.conf on my pc:
---
[global]
workgroup = KAPUKVALLEY
netbios name = pinix-newage
server string = :: DigitaLinux ::
interfaces = lo, eth0
security = SERVER
encrypt passwords = No
password server = 172.168.0.1
max log size = 10
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
hostname lookups = Yes
load printers = No
disable spoolss = Yes
show add printer wizard = No
preferred master = No
local master = No
domain master = No
dns proxy = No
wins server = 172.168.0.1
message command = /bin/mail -s 'Message from %s' root  %s;  rm %s
guest ok = Yes
dos filemode = Yes
dos filetimes = Yes
dos filetime resolution = Yes

[Cineplex 1]
comment = Online Cinema Studio 1
path = /mnt/data/Cineplex 1

[Cineplex 2]
comment = Online Cinema Studio 2
path = /mnt/apps4/Cineplex 2

-
and the smb.conf on my samba domain server:
-
[global]
dos charset = 850
unix charset = ISO8859-1
workgroup = KAPUKVALLEY
server string = Domain Server
interfaces = lo, eth0
bind interfaces only = Yes
passdb backend = ldapsam:ldap://127.0.0.1/
syslog = 0
log file = /var/log/samba/%m
max log size = 10
large readwrite = No
name resolve order = lmhosts
time server = Yes
deadtime = 10
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192
SO_SNDBUF=8192
load printers = No
disable spoolss = Yes
show add printer wizard = No
logon script = logon.bat
logon path =
logon home =
domain logons = Yes
os level = 32
preferred master = Yes
domain master = Yes
wins support = Yes
ldap admin dn = cn=Manager,dc=kapukvalley,dc=net
ldap delete dn = Yes
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Users,dc=kapukvalley,dc=net
ldap machine suffix = ou=Computers
ldap passwd sync = Yes
ldap suffix = dc=kapukvalley,dc=net
ldap user suffix = ou=Users
host msdfs = Yes
admin users = @Domain Admins
create mask = 0664
directory mask = 0775
hosts allow = 127.0.0.1, 172.168.0.0/23
hosts deny = 0.0.0.0/0
map acl inherit = Yes
case sensitive = No
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
dos filemode = Yes
dos filetimes = Yes

[kaval info]
comment = Kapuk Valley Info
path = /home/samba/kaval
invalid users = root


thanks in advance.

best regards,

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


[Samba] smbmount problem

2005-03-28 Thread Leo
Hello all:
I have an annoying problem with smbmount; My Win2k server has many 
folders and files named with accented characters (cp850 and/or cp860 or 
European w/0 euro or Portugese).
My mount command is:

mount -t smbfs -o username=leo,codepage=cp850 //servername/d$ /mnt/pt
to mount my d: drive at /mnt/pt
I am prompted for my password and the shared folder is mounted.  I can 
see all files and folders and navigate them except for that I noticed

Á appear as A
ã and õ appears as a and o
Most other accented chars like ç, á, é, í, ó, à, è, ì, ò all seem to 
appear correctly.

these files (when listed explicitly) return an error as though the file 
didn't exist (logical since the real names are different, accented).

I have tried specifying an iocharset (iso8859-1) smbmount parameter but 
nothing really changes.

My kernel nls support is ISO-8859-1 by default (the default if I 
remember correctly)
My dos charset (smb.conf) is 850
display and unix charsets are set to ISO8859-1

When I run smbclient -U leo //servername/d$
The ftp like command program displays all characters correctly.
Does anyone have any suggestions as to how to correctly display accented 
from a Win2k served folder mounted on a linux filesystem?  I have 
exhausted all possibilities I can think of.

Thanks in advance,
Leo
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbmount problem

2005-03-28 Thread Paul Gienger

Does anyone have any suggestions as to how to correctly display 
accented from a Win2k served folder mounted on a linux filesystem?  I 
have exhausted all possibilities I can think of.
First off, ask the kernel boys, they maintain the mount-called 
subsystems.  Second, perhaps look into CIFS instead of SMBFS as your 
mount type.  I don't know if it will fix your problem specifically, but 
its the usual answer when somebody has a problem with mount -t smbfs

--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   mailto: [EMAIL PROTECTED]

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


[Samba] smbmount problem

2005-02-18 Thread Victor Warner
I wish to mount a Windows network share in Linux (Windows running WinXP)
I can successfully connect to the Windows network share with smbclient:
smbclient //andyson01/clientfiles -U victor%password
But when I try to mount this share with the following:
smbmount //andyson01/clientfiles /home/victor/client -o username=victor 
password=password I get the following error messages:

(the directory client exists before trying the smbmount command)
cli_negprot: SMB signing is mandatory and we have disabled it.
2172: protocol negotiation failed
SMB connection failed
I can use the smbmount for shared directories on another Windows 98 machine.
I am new to Linux, and would appreciate any help.
Victor Warner
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] smbmount problem

2004-01-15 Thread Gonzalo Aguilera
Hi,

I don't know why smbmount doesn't work. My samba version is 3.0.0.  Remote server 
(192.168.1.1) is running samba 3.0.0 too. Both are linux machines.

1) If I try to mount a existing share i get this

/usr/local/samba/bin/smbmount //192.168.1.1/PAVFN /monta
added interface ip=192.168.1.200 bcast=192.168.1.255 nmask=255.255.255.0
Password:
smbfs/init_mount: execv of smbmnt failed. Error was No such file or directory.smbmnt 
failed: 1

2) If I try to mount an unexisting share i get this:

/usr/local/samba/bin/smbmount //192.168.1.1/zzz /monta
added interface ip=192.168.1.200 bcast=192.168.1.255 nmask=255.255.255.0
Password:
12316: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share 
name)
SMB connection failed

3) If I try with a wrong password i get this:

 /usr/local/samba/bin/smbmount //192.168.1.1/PAVFN /monta
added interface ip=192.168.1.200 bcast=192.168.1.255 nmask=255.255.255.0
Password:
12204: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

It looks like that samba answer consecuently, but doesn't mount existing shares.

Thanks for your help in advance.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Smbmount problem - 2.2.7a-8.9.0

2003-08-29 Thread PIGNOL, Christian
Hello,

I'm running samba 2.2.7a-8.90 on a RH 9.0

I have installed this samba from an src.rpm to include some options
(--with-winbind , etc, ...) and joined my system to the WINNT domain. So I'm
able to acess any linux share from my NT worksation ... but when I try to
run a script that smbmount some windows share ... the screen seems to be
blocked and some of the share are accessible and the other not.

I run the same script on a RH 7.3 (samba 2.2.7-3.7.2) without any problem.

Does anyone have an idea on this subject ?

Christian PIGNOL
* (+33) 473 67 62 96
*   (+33) 473 67 61 29
*  [EMAIL PROTECTED]


--
Notice:  This e-mail message, together with any attachments, contains
information of Merck  Co., Inc. (Whitehouse Station, New Jersey, USA), and/or
its affiliates (which may be known outside the United States as Merck Frosst,
Merck Sharp  Dohme or MSD) that may be confidential, proprietary copyrighted
and/or legally privileged, and is intended solely for the use of the
individual or entity named on this message.  If you are not the intended
recipient, and have received this message in error, please immediately return
this by e-mail and then delete it.
--
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Smbmount problem

2003-07-30 Thread Chris Lynch
Greetings,

I am having an issue dealing with smbmount.

My problem deals with a Linux box using smbmount to mount and access files
on a Win2k server.  Any shares that I mount on my Linux box from the Win2k
box are owned by ROOT with 755 perms.

But I need these shares to be writeable to from other users on the system
(777). I have been searching for a solution on this, but everything I have
found online does not solve this.

I am using the following to mount the shares:

smbmount -o //Win2k/share /mnt/share, username=USERNAME, password=PASSWORD,
ip=IPADDRESS, debug=4

I have tried setting : dmask=777 and fmask=777 in this line, as well as
trying to set the UID and GID settings here as well. But nothing seems to
work.

Anyone have a clue on thispleeeaassse help!!!

TIA

-Chris



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


FW: [Samba] smbmount problem

2003-07-22 Thread Yair Naveh
Hi

Sorry about the misplaced Q

I tried to use a script that when user will logon to the machine he will
mount to smb mount (instead of fstab if it's problem)

I sow on several places the option to use on /etc/fstab this line
//server/share  /mnt/home smbfs   noauto,user 0 0
and I tried to  put on script smbmount //server/share /mnt/home -o
username=$USER and get
libsmb based programs must *NOT* be setuid root
I changed the mod to smbmount  to  +s

any idea ???

Tank's a lot




-Original Message-
From: Marian Mlcoch, Ing [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 10:33 AM
To: yair naveh; [EMAIL PROTECTED]
Subject: Re: [Samba] smbmount problem


Hy Yair
your Q is missplaced
i understand that your 50 users work on linuxboxes clients?? and mount from
server (previus nfs) with samba homes directories??
I dont understand why?
But this idea only work on one mount point that can mount only one user at
time. This can be mounted on boot but only one user rights will be used
(user logged to samba with options for smbfs) Or can be mount be login linux
client script then can aply users ruless but not can mount more as one at
time to one mount point /mnt/home.

Try write why and what you need solve.

If you need exactly mount one share for all users on boot then to fstab you
must write all needed parameters for this smbfs not user but
username=ACOUNT,password=PASS ... as writed on mount command -o switch
without spaces.


- Original Message -
From: Yair Naveh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 10:06 AM
Subject: [Samba] smbmount problem


 Hi

  I want to replace nfs mounting  with smbmount I have 50 users I tried to
 put
  on /etc/fstab the line
  - manually per user I'm using mount -t smbfs -o username=$USER
  //server/share /mnt/home and it prompt for a password
  But I need it on boot automatically for any user so I tried this
  //server/share/mnt/home user 0 0
  and it's not working

  Tank's Yair


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

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


[Samba] smbmount problem

2003-07-21 Thread Yair Naveh
Hi

 I want to replace nfs mounting  with smbmount I have 50 users I tried to
put
 on /etc/fstab the line
 - manually per user I'm using mount -t smbfs -o username=$USER
 //server/share /mnt/home and it prompt for a password
 But I need it on boot automatically for any user so I tried this
 //server/share/mnt/homeuser0 0
 and it's not working

 Tank's Yair


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


Re: [Samba] smbmount problem

2003-07-21 Thread Marian Mlcoch, Ing
Hy Yair
your Q is missplaced
i understand that your 50 users work on linuxboxes clients?? and mount from
server (previus nfs) with samba homes directories??
I dont understand why?
But this idea only work on one mount point that can mount only one user at
time. This can be mounted on boot but only one user rights will be used
(user logged to samba with options for smbfs) Or can be mount be login linux
client script then can aply users ruless but not can mount more as one at
time to one mount point /mnt/home.

Try write why and what you need solve.

If you need exactly mount one share for all users on boot then to fstab you
must write all needed parameters for this smbfs not user but
username=ACOUNT,password=PASS ... as writed on mount command -o switch
without spaces.


- Original Message - 
From: Yair Naveh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 10:06 AM
Subject: [Samba] smbmount problem


 Hi

  I want to replace nfs mounting  with smbmount I have 50 users I tried to
 put
  on /etc/fstab the line
  - manually per user I'm using mount -t smbfs -o username=$USER
  //server/share /mnt/home and it prompt for a password
  But I need it on boot automatically for any user so I tried this
  //server/share/mnt/home user 0 0
  and it's not working

  Tank's Yair


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

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


Re: [Samba] smbmount problem

2003-07-21 Thread Frederico Madeira
Use :

mount -t smbfs -o username=$USER -o password=$PASS  //server/share /mnt/home

Frederico Madeira
Coordenador de Suporte
N. Landim Com?rcio Ltda
PABX: 81. 3497.3029
e-mail: [EMAIL PROTECTED]


- Original Message - 
From: Yair Naveh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 20, 2003 11:21 AM
Subject: [Samba] smbmount problem


 Hi

 I want to replace nfs mounting  with smbmount I have 50 users I tried to
put
 on /etc/fstab the line
 - manually per user I'm using mount -t smbfs -o username=$USER
 //server/share /mnt/home and it prompt for a password
 But I need it on boot automatically for any user so I tried this
 //server/share/mnt/home user 0 0
 and it's not working

 Tank's Yair


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



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


[Samba] smbmount problem

2003-07-20 Thread Yair Naveh
Hi

I want to replace nfs mounting  with smbmount I have 50 users I tried to put
on /etc/fstab the line
- manually per user I'm using mount -t smbfs -o username=$USER
//server/share /mnt/home and it prompt for a password
But I need it on boot automatically for any user so I tried this
//server/share/mnt/home user0 0
and it's not working

Tank's Yair


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