Re: [Samba] smpasswd
Le lun 19/06/2006 à 12:46, rich a écrit : Pierre MARC wrote: Le ven 16/06/2006 à 17:42, rich a écrit : /Pierre MARC wrote: Le ven 16/06/2006 à 15:04, rich a écrit : Hi, I have just installed samba-3.0.22 and copied my smb.conf across from my previous version on the same machine. With my previous version I never had to run smbpasswd -a username. It would do the authentication from /etc/passwd. ie when I added someone as a user with useradd they would automatically be able to mount samab shares. I am now having to add all my users with smbpasswd. I didn't compile the previous version. Could anyone tell me what I need to do to allow authentication from /etc/passwd? TIA, Rich [global] workgroup = WORKGROUP server string = BLA unix password sync = Yes log level = 2 log file = /var/log/samba/samba.log.%m max log size = 50 wins support = Yes invalid users = root bin web create mask = 0777 directory mask = 0777 hosts allow = 192.168.1. localhost [homes] comment = Home Directories path = /userdata/home/%u read only = No guest ok = Yes browseable = No Try encrypt password = no thanks. unfortunately it didn't make any difference mount -t cifs -o username=testing //mendel/testing /mnt/testing ount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)/ What was your last samba version ? And OS ? Hi, my OS is Solaris 8 and my version of samba is 2.0.5a thanks r And If you try to use the smbmount command coming with the 3.0.22 version ? -- Pierre MARC [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] id3 Semiconductors -- Pierre MARC [EMAIL PROTECTED] id3 Semiconductors -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smpasswd
Le lun 19/06/2006 à 14:30, rich a écrit : Pierre MARC wrote: Le lun 19/06/2006 à 12:46, rich a écrit : /Pierre MARC wrote: Le ven 16/06/2006 à 17:42, rich a écrit : /Pierre MARC wrote: Le ven 16/06/2006 à 15:04, rich a écrit : Hi, I have just installed samba-3.0.22 and copied my smb.conf across from my previous version on the same machine. With my previous version I never had to run smbpasswd -a username. It would do the authentication from /etc/passwd. ie when I added someone as a user with useradd they would automatically be able to mount samab shares. I am now having to add all my users with smbpasswd. I didn't compile the previous version. Could anyone tell me what I need to do to allow authentication from /etc/passwd? TIA, Rich [global] workgroup = WORKGROUP server string = BLA unix password sync = Yes log level = 2 log file = /var/log/samba/samba.log.%m max log size = 50 wins support = Yes invalid users = root bin web create mask = 0777 directory mask = 0777 hosts allow = 192.168.1. localhost [homes] comment = Home Directories path = /userdata/home/%u read only = No guest ok = Yes browseable = No Try encrypt password = no thanks. unfortunately it didn't make any difference mount -t cifs -o username=testing //mendel/testing /mnt/testing ount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)/ What was your last samba version ? And OS ? Hi, my OS is Solaris 8 and my version of samba is 2.0.5a thanks r/ And If you try to use the smbmount command coming with the 3.0.22 version ? I am trying to mount from a linux box using smbmount that comes with fedora core 5. / -- Pierre MARC [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] id3 Semiconductors / -- Pierre MARC [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] id3 Semiconductors OK, have you seen somethong wrong in the log.smb from the server or the client. If yes, it should be useful to post it. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] speed trouble ...
Le lun 19/06/2006 à 14:49, Jose Luis Maquieira Taboada a écrit : Hi ! In my lan I have some projects with eclipse located in windows at w: drive; this w: is a samba resource in Debian. A one file save it takes 4-5 seconds ... its a lot of time than saving on local hard disk. I test some tuning options like file system and samba ... The files are .c and are little files ... a lot of them, gif, .c, .ogg, ... The FS is EXT3 with News format options on debian instalation ( inodes ) and the same results on an EXT3 with standar format. I´ve got a P4 with 1gb of ram and Debian Etch today updates ... The version of the samba installed is 3.0.22-1 and the kernel is the 2.6.15-1-686 My file config is this one netbios name = BTEAM-2 server string = (%L) workgroup = LABORATORIO encrypt passwords = yes hosts allow = 192.168.190. 127. os level = 120 domain master = no preferred master = no wins support = yes name resolve order = hosts wins lmhosts bcast remote announce = 192.168.190.255 remote browse sync = 192.168.190.255 socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 IPTOS_LOWDELAY oplocks = yes level2 oplocks = False dos filetimes = yes dos filemode = yes use mmap = yes stat cache = Yes write cache size = 266144 large readwrite = yes log level = 10 read raw = yes write raw = yes dead time = 15 max xmit = 65535 getwd cache = yes [adiaz] comment = Carpeta compartida para Alberto path = /srv/public/adiaz read only = no guest ok = yes browseable = yes writeable = Yes user=adiaz Any better option to update ? ... any how-to to acelerate ? ... tnx in advance ... -- SaludOS/2! MaQui.-) http://joseluis.maquieira.info The first thing to do is to look at yours samba logfiles. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smpasswd
Le ven 16/06/2006 à 15:04, rich a écrit : Hi, I have just installed samba-3.0.22 and copied my smb.conf across from my previous version on the same machine. With my previous version I never had to run smbpasswd -a username. It would do the authentication from /etc/passwd. ie when I added someone as a user with useradd they would automatically be able to mount samab shares. I am now having to add all my users with smbpasswd. I didn't compile the previous version. Could anyone tell me what I need to do to allow authentication from /etc/passwd? TIA, Rich [global] workgroup = WORKGROUP server string = BLA unix password sync = Yes log level = 2 log file = /var/log/samba/samba.log.%m max log size = 50 wins support = Yes invalid users = root bin web create mask = 0777 directory mask = 0777 hosts allow = 192.168.1. localhost [homes] comment = Home Directories path = /userdata/home/%u read only = No guest ok = Yes browseable = No Try encrypt password = no -- Pierre MARC [EMAIL PROTECTED] id3 Semiconductors -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.22-solaris10 - Please help !
Hi !! I have already sent this message to the list, but, as I have not received any replies, I am trying again !! I have Samba 3.0.22 running as PDC on solaris10. Each time a windows client (XP SP2 or W2003) opens an explorer to access a share, I see in the log.smbd : [2006/06/15 01:28:08, 0] lib/util_sock.c:get_peer_addr(1225) getpeername failed. Error was Invalid argument [2006/06/15 01:28:08, 0] lib/util_sock.c:set_socket_options(261) Failed to set socket option SO_KEEPALIVE (Error Invalid argument) [2006/06/15 01:28:08, 0] lib/util_sock.c:set_socket_options(261) Failed to set socket option TCP_NODELAY (Error Invalid argument) [2006/06/15 01:28:08, 0] lib/util_sock.c:get_peer_addr(1225) getpeername failed. Error was Invalid argument And in same time in the log.%R : [2006/06/15 01:28:08, 0] lib/util_sock.c:write_data(557) write_data: write failure in writing to client 192.168.202.5. Error Broken pipe [2006/06/15 01:28:08, 0] lib/util_sock.c:send_smb(765) Error writing 4 bytes to client. -1. (Broken pipe) And it seems the windows explorer freezes in the same time, with sometime an mrxsmb event message. I've seen that the getpeername message is not a problem. OK for that. But I haven't seen any answer about the set socket option (Error invalid argument). What does it means ? Is it a real problem ? Is it particular to solaris ? I have found similar questions in the samba list, since Jan-2005, but ... no answer. Please, help ! -- Pierre MARC [EMAIL PROTECTED] id3 Semiconductors -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 3.0.22-solaris10 - Please help !
Hi Andrea, Thanks for your anwer, but I don't think that is the same problem. In my case, there isn't any firewall between the samba pdc and the windows clients. I suppose some mismatch between the sockets calls from samba and solaris... But as I'm not a programmer, it's very difficult to me to explain the trouble. Le ven 16/06/2006 à 16:51, Andrea Battaglia a écrit : Hi Pierre, I don't know about the 'set socket option' issue, but the broken pipe, write failure and client locking all look familiar to me. I posted a message about them a couple of days ago. In my case, it was a problem with my firewall settings - in particular, using the 'established' option on an ipfw rule caused some packets from the client to be rejected at port 445. Here's my original message for reference... Over the last few weeks I've had problems using Samba on a FreeBSD. Windows XP clients (that's all I have) would experience intermittent long delays (lockups, freezing) when accessing the samba shares using Windows Explorer or any other applications. This occurred both directly when browsing the network neighborhood, and when accessing the share through a letter drive mapping. Here's a snippet of my log file showing the smbd errors: Jun 13 17:41:04 foobar smbd[544]: [2006/06/13 17:41:04, 0] lib/util_sock.c:read_data(529) Jun 13 17:41:04 foobar kernel: Jun 13 17:41:04 foobar smbd[544]: [2006/06/13 17:41:04, 0] lib/util_sock.c:read_data(529) Jun 13 17:41:04 foobar smbd[544]: read_data: read failure for 4 bytes to client 192.168.0.108. Error = Operation timed out Jun 13 17:41:04 foobar kernel: Jun 13 17:41:04 foobar smbd[544]: read_data: read failure for 4 bytes to client 192.168.0.108. Error = Operation timed out Jun 13 17:41:04 foobar smbd[544]: [2006/06/13 17:41:04, 0] lib/util_sock.c:write_data(557) Jun 13 17:41:04 foobar kernel: Jun 13 17:41:04 foobar smbd[544]: [2006/06/13 17:41:04, 0] lib/util_sock.c:write_data(557) Jun 13 17:41:04 foobar smbd[544]: write_data: write failure in writing to client 192.168.0.108. Error Broken pipe Jun 13 17:41:04 foobar kernel: Jun 13 17:41:04 foobar smbd[544]: write_data: write failure in writing to client 192.168.0.108. Error Broken pipe Jun 13 17:41:04 foobar smbd[544]: [2006/06/13 17:41:04, 0] lib/util_sock.c:send_smb(765) Jun 13 17:41:04 foobar kernel: Jun 13 17:41:04 foobar smbd[544]: [2006/06/13 17:41:04, 0] lib/util_sock.c:send_smb(765) Jun 13 17:41:04 foobar smbd[544]: Error writing 75 bytes to client. -1. (Broken pipe) Jun 13 17:41:04 foobar kernel: Jun 13 17:41:04 foobar smbd[544]: Error writing 75 bytes to client. -1. (Broken pipe) For a short while, the XP clients were also experiencing problems with mapped drive letters not reconnecting or losing their connection. This dialog would appear: An error occurred while reconnecting G: to \\foobar\folder. Microsoft Windows Network: The local device name is already in use. The connection has not been restored. I came across this posting http://lists.freebsd.org/pipermail/freebsd-ipfw/2005-July/001925.html and added some logging to my ipfw firewall, which showed that some packets coming from the clients to port 445 were being denied by a rule with the 'established' option.. I removed the rule with the ipfw established option. This corrected all the symptoms I indicated above. # This rule causes problems with Windows Networking clients # ipfw -q add 00235 deny log tcp from any to any in established System info... FreeBSD 6.1-RELEASE GENERIC i386 samba-3.0.22,1 A free SMB and CIFS client and server for UNIX Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierre MARC Sent: Friday, June 16, 2006 10:45 AM To: samba@lists.samba.org Subject: [Samba] 3.0.22-solaris10 - Please help ! Hi !! I have already sent this message to the list, but, as I have not received any replies, I am trying again !! I have Samba 3.0.22 running as PDC on solaris10. Each time a windows client (XP SP2 or W2003) opens an explorer to access a share, I see in the log.smbd : [2006/06/15 01:28:08, 0] lib/util_sock.c:get_peer_addr(1225) getpeername failed. Error was Invalid argument [2006/06/15 01:28:08, 0] lib/util_sock.c:set_socket_options(261) Failed to set socket option SO_KEEPALIVE (Error Invalid argument) [2006/06/15 01:28:08, 0] lib/util_sock.c:set_socket_options(261) Failed to set socket option TCP_NODELAY (Error Invalid argument) [2006/06/15 01:28:08, 0] lib/util_sock.c:get_peer_addr(1225) getpeername failed. Error was Invalid argument And in same time in the log.%R : [2006/06/15 01:28:08, 0] lib/util_sock.c:write_data(557) write_data: write failure in writing to client 192.168.202.5. Error Broken pipe [2006/06/15 01:28:08, 0] lib/util_sock.c:send_smb(765) Error writing 4 bytes to client. -1. (Broken pipe
Re: [Samba] smpasswd
Le ven 16/06/2006 à 17:42, rich a écrit : Pierre MARC wrote: Le ven 16/06/2006 à 15:04, rich a écrit : Hi, I have just installed samba-3.0.22 and copied my smb.conf across from my previous version on the same machine. With my previous version I never had to run smbpasswd -a username. It would do the authentication from /etc/passwd. ie when I added someone as a user with useradd they would automatically be able to mount samab shares. I am now having to add all my users with smbpasswd. I didn't compile the previous version. Could anyone tell me what I need to do to allow authentication from /etc/passwd? TIA, Rich [global] workgroup = WORKGROUP server string = BLA unix password sync = Yes log level = 2 log file = /var/log/samba/samba.log.%m max log size = 50 wins support = Yes invalid users = root bin web create mask = 0777 directory mask = 0777 hosts allow = 192.168.1. localhost [homes] comment = Home Directories path = /userdata/home/%u read only = No guest ok = Yes browseable = No Try encrypt password = no thanks. unfortunately it didn't make any difference mount -t cifs -o username=testing //mendel/testing /mnt/testing ount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) What was your last samba version ? And OS ? -- Pierre MARC [EMAIL PROTECTED] id3 Semiconductors -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] testparm gives error in Solaris 10
Have a look to the Document ID 80581 at sunsolve.sun.com. Hope this help, but i'm not sure solaris is a good way for samba. -- Pierre MARC [EMAIL PROTECTED] id3 Semiconductors -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.22-solaris10 socket messages- Please help !
Hi !! I have already sent this message to the list, but, as I have not received any replies, I am trying again !! I have Samba 3.0.22 running as PDC on solaris10. Each time a windows client (XP SP2 or W2003) opens an explorer to access a share, I see in the log.smbd : [2006/06/15 01:28:08, 0] lib/util_sock.c:get_peer_addr(1225) getpeername failed. Error was Invalid argument [2006/06/15 01:28:08, 0] lib/util_sock.c:set_socket_options(261) Failed to set socket option SO_KEEPALIVE (Error Invalid argument) [2006/06/15 01:28:08, 0] lib/util_sock.c:set_socket_options(261) Failed to set socket option TCP_NODELAY (Error Invalid argument) [2006/06/15 01:28:08, 0] lib/util_sock.c:get_peer_addr(1225) getpeername failed. Error was Invalid argument And in same time in the log.%R : [2006/06/15 01:28:08, 0] lib/util_sock.c:write_data(557) write_data: write failure in writing to client 192.168.202.5. Error Broken pipe [2006/06/15 01:28:08, 0] lib/util_sock.c:send_smb(765) Error writing 4 bytes to client. -1. (Broken pipe) And it seems the windows explorer freezes in the same time, with sometime an mrxsmb event message. I've seen that the getpeername message is not a problem. OK for that. But I haven't seen any answer about the set socket option (Error invalid argument). What does it means ? Is it a real problem ? Is it particular to solaris ? I have found similar questions in the samba list, since Jan-2005, but ... no answer. Please, help ! -- Pierre MARC [EMAIL PROTECTED] id3 Semiconductors -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] testparm gives error in Solaris 10
Here is the doc content : paths incorrect for lowcase.dat, upcase.dat and valid.dat [EMAIL PROTECTED] 2005-03-30 17:39:13 GMT Date Modified: 2005-03-30 17:39:13 GMT+00:00 Work Around: run the following: # ln /usr/sfw/lib/codepages/lowcase.dat /usr/sfw/lib/lowcase.dat # ln /usr/sfw/lib/codepages/upcase.dat /usr/sfw/lib/upcase.dat # ln /usr/sfw/lib/codepages/valid.dat /usr/sfw/lib/valid.dat [EMAIL PROTECTED] 2005-03-30 17:39:14 GMT -- Hope this help ;-) Le jeu 15/06/2006 à 20:25, Volker Lendecke a écrit : On Thu, Jun 15, 2006 at 08:15:27PM +0200, Pierre MARC wrote: Have a look to the Document ID 80581 at sunsolve.sun.com. Hope this help, but i'm not sure solaris is a good way for samba. First I have to accept some Licensing conditions to look at that host at all, and then I have to log in to get at that document. Does not really help, ignored it :-) Volker -- Pierre MARC [EMAIL PROTECTED] id3 Semiconductors -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.22 on solaris10 socket error.
Hi all, I've built samba 3.0.22 on solaris10 sparc with ldap support using thes config parameters : ./configure --prefix=/opt/samba \ --localstatedir=/var/lib/samba \ --enable-socket-wrapper \ --disable-cups \ --with-privatedir=/etc/samba/private \ --with-piddir=/var/run \ --with-configdir=/etc/samba \ --with-logfilebase=/var/log/samba \ --with-ldap \ --with-ads=no \ --with-automount \ --with-ldapsam \ --with-acl-support \ --with-included-popt When I start samba deamons, everything seems to work. But when I connect to a share on solaris 10 from a windows client, I see the message in log.smb file (log level 0) : [2006/06/09 18:52:08, 0] lib/util_sock.c:set_socket_options(261) Failed to set socket option SO_KEEPALIVE (Error Invalid argument) What does it means ? I've tried to unset all socket options parameters, but i receive the same message. In the config.log generated by configure, socket.h from solaris includes is found and used. And if I run samba whith log level 3, I see these messages in log.smb : [2006/06/09 18:55:48, 0] lib/util_sock.c:get_peer_addr(1225) getpeername failed. Error was Invalid argument [2006/06/09 18:55:48, 0] lib/util_sock.c:set_socket_options(261) Failed to set socket option SO_KEEPALIVE (Error Invalid argument) [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(206) socket option SO_KEEPALIVE = 8 [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(206) socket option SO_REUSEADDR = 4 [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(206) socket option SO_BROADCAST = 0 [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(206) socket option TCP_NODELAY = 0 [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(206) socket option IPTOS_LOWDELAY = 0 [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(206) socket option IPTOS_THROUGHPUT = 0 [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(206) socket option SO_SNDBUF = 49152 [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(206) socket option SO_RCVBUF = 49152 [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option SO_SNDLOWAT. [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option SO_RCVLOWAT. [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option SO_SNDTIMEO. [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(204) Could not test socket option SO_RCVTIMEO. [2006/06/09 18:55:48, 5] lib/util_sock.c:print_socket_options(206) What's wrong ? Thanks for your help. -- Pierre MARC -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba