Re: [Samba] Operation not permitted mounting samba-share via cifs

2005-02-08 Thread Christian Anton
Christian Anton wrote:
Hi everybody,
I want to use my samba-shared Homedirectory from my Linux-Server on my 
Linux-workstation. I was using smbfs until now, but since i upgraded 
my hardware i'm not any more able to use smbfs, i get error-messages 
(timeouts) in the kernel logs and I/O-Errors on the console. Having 
this problems i read about cifs and that's much better, nicer, sexyer 
and faster than smbfs.
The two public-accesible shares runs very nice and very performant, 
much better than ever. I'm mounting them as user 'chris' having the 
following lines in my /etc/fstab:
//serv01.kdorf.local/Fileman /mnt/Filemanagement cifs 
user,noauto,guest,uid=501,gid=100 0 0
//serv01.kdorf.local/Ablage /mnt/Ablage cifs 
user,noauto,guest,uid=501,gid=100 0 0

Now i'm wanting to mount //serv01/chris on /mnt/chris on my machine, 
also using cifs.
I'm trying as root with the following command:
mount -t cifs //serv01/chris /mnt/temp -o 
user=chris,password=password,uid=501,gid=100
and get:
mount error 1 = Operation not permitted
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

The samba-log looks something like this:
 schnipp ---
[2005/02/07 17:05:27, 3] smbd/oplock.c:init_oplocks(1302)
open_oplock_ipc: opening loopback UDP socket.
[2005/02/07 17:05:27, 3] 
smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
Linux kernel oplocks enabled
[2005/02/07 17:05:27, 3] smbd/oplock.c:init_oplocks(1333)
open_oplock ipc: pid = 22435, global_oplock_port = 33239
[2005/02/07 17:05:27, 3] smbd/process.c:process_smb(1092)
Transaction 0 of length 51
[2005/02/07 17:05:27, 3] smbd/process.c:switch_message(887)
switch message SMBnegprot (pid 22435) conn 0x0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/negprot.c:reply_negprot(457)
Requested protocol [NT LM 0.12]
[2005/02/07 17:05:27, 3] smbd/negprot.c:reply_nt1(323)
not using SPNEGO
[2005/02/07 17:05:27, 3] smbd/negprot.c:reply_negprot(545)
Selected protocol NT LM 0.12
[2005/02/07 17:05:27, 3] smbd/process.c:process_smb(1092)
Transaction 1 of length 242
[2005/02/07 17:05:27, 3] smbd/process.c:switch_message(887)
switch message SMBsesssetupX (pid 22435) conn 0x0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655)
wct=13 flg2=0xc001
[2005/02/07 17:05:27, 3] smbd/sesssetup.c:reply_sesssetup_and_X(789)
Domain=[]  NativeOS=[Linux version 2.6.10-gentoo-r7] 
NativeLanMan=[CIFS VFS Client for Linux] PrimaryDomain=[]
[2005/02/07 17:05:27, 2] smbd/sesssetup.c:setup_new_vc_session(608)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2005/02/07 17:05:27, 3] smbd/sesssetup.c:reply_sesssetup_and_X(804)
sesssetupX:[EMAIL PROTECTED]
[2005/02/07 17:05:27, 3] smbd/sesssetup.c:check_guest_password(116)
Got anonymous request
[2005/02/07 17:05:27, 3] auth/auth.c:check_ntlm_password(219)
check_ntlm_password:  Checking password for unmapped user [EMAIL PROTECTED] 
with the new password interface
[2005/02/07 17:05:27, 3] auth/auth.c:check_ntlm_password(222)
check_ntlm_password:  mapped user is: [EMAIL PROTECTED]
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/uid.c:push_conn_ctx(365)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/uid.c:push_conn_ctx(365)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/uid.c:push_conn_ctx(365)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] auth/auth.c:check_ntlm_password(268)
check_ntlm_password: guest authentication for user [] succeeded
[2005/02/07 17:05:27, 3] smbd/process.c:process_smb(1092)
Transaction 2 of length 84
[2005/02/07 17:05:27, 3] smbd/process.c:switch_message(887)
switch message SMBtconX (pid 22435) conn 0x0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/service.c:find_service(145)
checking for home directory chris gave 

[Samba] Operation not permitted mounting samba-share via cifs

2005-02-07 Thread Christian Anton
Hi everybody,
I want to use my samba-shared Homedirectory from my Linux-Server on my 
Linux-workstation. I was using smbfs until now, but since i upgraded my 
hardware i'm not any more able to use smbfs, i get error-messages 
(timeouts) in the kernel logs and I/O-Errors on the console. Having this 
problems i read about cifs and that's much better, nicer, sexyer and 
faster than smbfs.
The two public-accesible shares runs very nice and very performant, much 
better than ever. I'm mounting them as user 'chris' having the following 
lines in my /etc/fstab:
//serv01.kdorf.local/Fileman /mnt/Filemanagement cifs 
user,noauto,guest,uid=501,gid=100 0 0
//serv01.kdorf.local/Ablage /mnt/Ablage cifs 
user,noauto,guest,uid=501,gid=100 0 0

Now i'm wanting to mount //serv01/chris on /mnt/chris on my machine, 
also using cifs.
I'm trying as root with the following command:
mount -t cifs //serv01/chris /mnt/temp -o 
user=chris,password=password,uid=501,gid=100
and get:
mount error 1 = Operation not permitted
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

The samba-log looks something like this:
 schnipp ---
[2005/02/07 17:05:27, 3] smbd/oplock.c:init_oplocks(1302)
open_oplock_ipc: opening loopback UDP socket.
[2005/02/07 17:05:27, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
Linux kernel oplocks enabled
[2005/02/07 17:05:27, 3] smbd/oplock.c:init_oplocks(1333)
open_oplock ipc: pid = 22435, global_oplock_port = 33239
[2005/02/07 17:05:27, 3] smbd/process.c:process_smb(1092)
Transaction 0 of length 51
[2005/02/07 17:05:27, 3] smbd/process.c:switch_message(887)
switch message SMBnegprot (pid 22435) conn 0x0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/negprot.c:reply_negprot(457)
Requested protocol [NT LM 0.12]
[2005/02/07 17:05:27, 3] smbd/negprot.c:reply_nt1(323)
not using SPNEGO
[2005/02/07 17:05:27, 3] smbd/negprot.c:reply_negprot(545)
Selected protocol NT LM 0.12
[2005/02/07 17:05:27, 3] smbd/process.c:process_smb(1092)
Transaction 1 of length 242
[2005/02/07 17:05:27, 3] smbd/process.c:switch_message(887)
switch message SMBsesssetupX (pid 22435) conn 0x0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655)
wct=13 flg2=0xc001
[2005/02/07 17:05:27, 3] smbd/sesssetup.c:reply_sesssetup_and_X(789)
Domain=[]  NativeOS=[Linux version 2.6.10-gentoo-r7] NativeLanMan=[CIFS 
VFS Client for Linux] PrimaryDomain=[]
[2005/02/07 17:05:27, 2] smbd/sesssetup.c:setup_new_vc_session(608)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2005/02/07 17:05:27, 3] smbd/sesssetup.c:reply_sesssetup_and_X(804)
sesssetupX:[EMAIL PROTECTED]
[2005/02/07 17:05:27, 3] smbd/sesssetup.c:check_guest_password(116)
Got anonymous request
[2005/02/07 17:05:27, 3] auth/auth.c:check_ntlm_password(219)
check_ntlm_password:  Checking password for unmapped user [EMAIL PROTECTED] with 
the new password interface
[2005/02/07 17:05:27, 3] auth/auth.c:check_ntlm_password(222)
check_ntlm_password:  mapped user is: [EMAIL PROTECTED]
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/uid.c:push_conn_ctx(365)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/uid.c:push_conn_ctx(365)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/uid.c:push_conn_ctx(365)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] auth/auth.c:check_ntlm_password(268)
check_ntlm_password: guest authentication for user [] succeeded
[2005/02/07 17:05:27, 3] smbd/process.c:process_smb(1092)
Transaction 2 of length 84
[2005/02/07 17:05:27, 3] smbd/process.c:switch_message(887)
switch message SMBtconX (pid 22435) conn 0x0
[2005/02/07 17:05:27, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/07 17:05:27, 3] smbd/service.c:find_service(145)
checking for home directory chris gave /home/chris
[2005/02/07