[Samba] anonymous only share asking LANMAN password
Hello list, I am trying to make a very simple samba share with out any authentication which will work inside the lan only and accessible from winxp too. This is debian lenny box and samba is 2:3.2.5-4lenny7 To achieve this I have written smb.conf ( collected from testparm as ) ``` Load smb config files from /etc/samba/smb.conf Processing section [shared] Global parameter deadtime found in service section! Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = OFFICE_DEBIAN_SERVER server string = %h server interfaces = lo, eth0, eth1 bind interfaces only = Yes security = SHARE log file = /var/log/samba/log.%m max log size = 1000 panic action = /usr/share/samba/panic-action %d [shared] comment = Public Shared Folder path = /home/shared force user = nouser force group = nobody read only = No force create mode = 0777 force directory mode = 0777 guest only = Yes guest ok = Yes `` After restarting the samba I tried to mount the shared from a win box and it still asking for authentication. then I tried from a linux box and get as below ``` smbclient //192.168.1.1/shared web Domain=[OFFICE_DEBIAN_SERVER] OS=[Unix] Server=[Samba 3.2.5] Server not using user level security and no password supplied. Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled tree connect failed: SUCCESS - 0 ` could any one please tell me what prevents my samba to work properly ? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] anonymous only share asking LANMAN password
J. Bakshi wrote: Hello list, I am trying to make a very simple samba share with out any authentication which will work inside the lan only and accessible from winxp too. This is debian lenny box and samba is 2:3.2.5-4lenny7 To achieve this I have written smb.conf ( collected from testparm as ) ``` Load smb config files from /etc/samba/smb.conf Processing section [shared] Global parameter deadtime found in service section! Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = OFFICE_DEBIAN_SERVER server string = %h server interfaces = lo, eth0, eth1 bind interfaces only = Yes security = SHARE log file = /var/log/samba/log.%m max log size = 1000 panic action = /usr/share/samba/panic-action %d [shared] comment = Public Shared Folder path = /home/shared force user = nouser force group = nobody read only = No force create mode = 0777 force directory mode = 0777 guest only = Yes guest ok = Yes `` After restarting the samba I tried to mount the shared from a win box and it still asking for authentication. then I tried from a linux box and get as below ``` smbclient //192.168.1.1/shared web Domain=[OFFICE_DEBIAN_SERVER] OS=[Unix] Server=[Samba 3.2.5] Server not using user level security and no password supplied. Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled tree connect failed: SUCCESS - 0 ` could any one please tell me what prevents my samba to work properly ? Thanks I have also added ``` guest account = nobody ` in [global] section and restarted samba but no luck :-( -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] how to automount password less samba share in linux ?
Dear list, I have a password-less samba shared and it is used successfully from window PCs. I also like to make an auto-mount for linux pcs so that it can be used from linux boxes. To achieve this I have made an entry in /etc/fstab as ``` //192.168.1.1/shared /home/test/serverdisk cifs user,rw 0 0 As root I can mount it and see all the contents of remote folder. It though asked for a password but simply giving an *enter* at password prompt mount the shared folder successfully. But then non-root user can't write on there. If I try to mount it as a non-admin user it failed with the following error as `` mount serverdisk/ Password: mount error 1 = Operation not permitted Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) Here I did the same at password prompt i.e. simply pressing *enter* which worked as root ; but this time not !!! Have I missed anything or any special arrangement to follow as non-admin ? Need some enlightenment. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] mod_dav_svn support in suse 11 ?
Dear list, My running svn repo has the following config in apache ``` LoadModule dav_svn_module /usr/lib/apache2-prefork/mod_dav_svn.so LoadModule aut_svn_module/usr/lib/apache2-prefork/mod_aut_svn.so Location /repos SSLRequireSSL DAV svn AuthType Basic AuthName Authorization Realm AuthUserFile /home/SVN/PASSWD Require valid-user SVNParentPath /home/SVN Limit write permission to list of valid users. LimitExcept GET PROPFIND OPTIONS REPORT AuthType Basic AuthName Authorization Realm AuthUserFile /home/SVN/PASSWD Require valid-user /LimitExcept /Location `` Now I like to do the same in opensuse 11 server. But there is no mod_dav_svn. Should I manuall install that module from rpm search site or opensuse-11 already have some module which can support the dav-svn ? in that case what would be the config ? Kindly enlighten me. Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] mod_dav_svn support in suse 11 ?
oh !! wrong list, Extremely sorry. J. Bakshi wrote: Dear list, My running svn repo has the following config in apache ``` LoadModule dav_svn_module /usr/lib/apache2-prefork/mod_dav_svn.so LoadModule aut_svn_module/usr/lib/apache2-prefork/mod_aut_svn.so Location /repos SSLRequireSSL DAV svn AuthType Basic AuthName Authorization Realm AuthUserFile /home/SVN/PASSWD Require valid-user SVNParentPath /home/SVN Limit write permission to list of valid users. LimitExcept GET PROPFIND OPTIONS REPORT AuthType Basic AuthName Authorization Realm AuthUserFile /home/SVN/PASSWD Require valid-user /LimitExcept /Location `` Now I like to do the same in opensuse 11 server. But there is no mod_dav_svn. Should I manuall install that module from rpm search site or opensuse-11 already have some module which can support the dav-svn ? in that case what would be the config ? Kindly enlighten me. Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Strange samba problem with Win XP
Ruel Luchavez wrote: On Fri, Jul 17, 2009 at 7:23 PM, Johan Hendriks jo...@double-l.nl mailto:jo...@double-l.nl wrote: Hello list, I don't know what is breaking my samba box but I am really very worried and confused !! My samba server has no problem with linux client. smbclient -L samba IP -U samba user runs well. No problem at all. But whenever I try to access the shares from Win-XP it reports that path not found. And after repeatedly trying the same Win-XP managed to get the share after waiting a long time. But it lost the shares after say 15/20 min. More over a mapped samba drive Immediately disconnected after restart !!! I am really really confused. All Linux clients are running so well but Win-XP. I have checked the nmbd.log and found errors like ``` process_node_status_request: status request for name ENTERPRISE1b from IP 192.168.1.41 on subnet UNICAST_SUBNET - name not found. [2009/07/17 15:43:03, 1] snip nmbd/nmbd_incomingrequests.c:process_node_status_request(328) Here is my smb.conf `` [global] unix password sync = yes force create mode =0774 utmp = no smb ports = 139 #domain logons = no domain master = no os level = 65 ocal master = yes preferred master = yes passwd program = /usr/sbin/userpasswd %u passwd chat = *password:* %n\n *password:* %n\n *successfully.* netbios name = Clarkconnect workgroup = Enterprise server string = ClarkConnect samba bind interfaces only = yes interfaces = lo eth0 eth1 use client driver = yes snip . force user = apache deadtime = 10 testparm does not show any error. Please enlighten me what is wrong/missing here. eagerly waiting for a kind response. Thanks I see you have 2 network interfaces in your smb.conf file. Are they both in the same subnet. If so remove one of them, and see if the problem goes away. regards, Johan Checked by AVG - www.avg.com http://www.avg.com Version: 8.5.387 / Virus Database: 270.13.16/2240 - Release Date: 07/16/09 18:00:00 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba Is your linux and windows client are in the same network? if not try to ping their gateway if time out occurs check your cable. Hello, Many thanks two both of you for your kind attention. Yes the Linux and window clients all in in the same subnet. I have really no problem with linix clients. And the linux clients can happily continue with any one of NIC of samba serevr. but Win-XP boxes have become worse. The file browsing has become very very slow !!!. Most of the time they repotrs network not found . I have also run samba with only one NIC. BUT no luck :-( Any more clue which I can try ? Please suggest. Thanks -- RhueL FreeBSD user since 6.0 Happy BSD use... Country:Philippines Zip Code:8000 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] tree connect failed: NT_STATUS_ACCESS_DENIED
Dear list, I have no in depth knowledge about samba but use the online tutorial to configure the samba server. this time I have installed samba ( Version 3.2.4-4.3-2042-SUSE-SL11.0 ) on suse 11. I have now disallowed the guest users and created some samba users with smbpasswd -a username command. but if I try to connect with the samba share from another linux box I get the error as below ` smbclient //192.168.1.3/htdocs /mnt/htdocs_192.168.1.3 -o rw,user=admin,password=adminpass Domain=[LINUX-A0JN] OS=[Unix] Server=[Samba 3.2.4-4.3-2042-SUSE-SL11.0] tree connect failed: NT_STATUS_ACCESS_DENIED ``` and here is the testparm `` Load smb config files from /etc/samba/smb.conf Processing section [htdocs] Global parameter deadtime found in service section! Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = 192.168.1.3 map to guest = Bad User passwd program = /usr/bin/passwd %u passwd chat = *password:* %n\n *password:* %n\n *successfully.* unix password sync = Yes log level = 1 syslog = 0 max xmit = 4096 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 logon path = \\%L\profiles\.msprofile logon drive = P: logon home = \\%L\%U\.9xprofile dns proxy = No wins support = Yes usershare allow guests = No [htdocs] comment = htdocs folder path = /srv/www/htdocs force user = wwwrun force group = www read only = No force create mode = 0777 force directory mode = 0777 I have no clue at all what is going wrong as there is no error message at testparm. Eagerly waiting for your kind response. Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] samba user stays at the syatem !!!
Thanks a lot, utmp = no successfully kill the logout users. J. Bakshi wrote: Ryan Novosielski wrote: J. Bakshi wrote: Dear list, Here is a very strange problem !!! I am using samba-3.0.25b-1.1.cc in clarkconnect server. No problem to use the samba shares at all. Authentication works with no hitch. But samba users stay at the system. I have just checked with who and found there are 250 samba users from 1st of Jan ! I tried to fond out the pid by who -a and kill those but then it says no such pid even I tried *smbstatus* but kill says no such pid. I have really no clue what to do with this problem. Day by day this system is flooded with more and more samba users. Kindly suggest what to do. How can I kill those past samba users ? How can I instruct samba no to have the continue with unlogged users ? Please show me the way. thanks Show us the output of smbstatus. I've seen this before on HP servers. I wonder if the users are actually there, connected, or if it is just a wtmp/utmp problem. Hello Ryan, Adam and all, I did not have utime in my global section. As Adam suggested I have included it. Ryan The OS is Linux. It is clarconnect server based on Redhat. Below is the O/P of smbstatus Global parameter deadtime found in service section! Samba version 3.0.25b-1.1.cc PID Username Group Machine --- 4031 sutapasutapasutapa (192.168.1.13) 4043 aftab aftab toshiba (192.168.1.155) Service pid machine Connected at --- shared 4043 toshiba Tue Mar 3 10:41:04 2009 WWW 4031 sutapaTue Mar 3 10:37:12 2009 WWW 4043 toshiba Tue Mar 3 10:37:30 2009 Locked files: Pid UidDenyMode Access R/W Oplock SharePath Name Time -- 4031 48 DENY_NONE 0x11RDONLY NONE /var/www/html dustri-verlag/typo3conf/ext/data_masters/pi3 Tue Mar 3 10:54:22 2009 4031 48 DENY_NONE 0x11RDONLY NONE /var/www/html . Tue Mar 3 10:50:10 2009 Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] samba user stays at the syatem !!!
Dear list, Here is a very strange problem !!! I am using samba-3.0.25b-1.1.cc in clarkconnect server. No problem to use the samba shares at all. Authentication works with no hitch. But samba users stay at the system. I have just checked with who and found there are 250 samba users from 1st of Jan ! I tried to fond out the pid by who -a and kill those but then it says no such pid even I tried *smbstatus* but kill says no such pid. I have really no clue what to do with this problem. Day by day this system is flooded with more and more samba users. Kindly suggest what to do. How can I kill those past samba users ? How can I instruct samba no to have the continue with unlogged users ? Please show me the way. thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] samba user stays at the syatem !!!
Ryan Novosielski wrote: J. Bakshi wrote: Dear list, Here is a very strange problem !!! I am using samba-3.0.25b-1.1.cc in clarkconnect server. No problem to use the samba shares at all. Authentication works with no hitch. But samba users stay at the system. I have just checked with who and found there are 250 samba users from 1st of Jan ! I tried to fond out the pid by who -a and kill those but then it says no such pid even I tried *smbstatus* but kill says no such pid. I have really no clue what to do with this problem. Day by day this system is flooded with more and more samba users. Kindly suggest what to do. How can I kill those past samba users ? How can I instruct samba no to have the continue with unlogged users ? Please show me the way. thanks Show us the output of smbstatus. I've seen this before on HP servers. I wonder if the users are actually there, connected, or if it is just a wtmp/utmp problem. Hello Ryan, Adam and all, I did not have utime in my global section. As Adam suggested I have included it. Ryan The OS is Linux. It is clarconnect server based on Redhat. Below is the O/P of smbstatus Global parameter deadtime found in service section! Samba version 3.0.25b-1.1.cc PID Username Group Machine --- 4031 sutapasutapasutapa (192.168.1.13) 4043 aftab aftab toshiba (192.168.1.155) Service pid machine Connected at --- shared 4043 toshiba Tue Mar 3 10:41:04 2009 WWW 4031 sutapaTue Mar 3 10:37:12 2009 WWW 4043 toshiba Tue Mar 3 10:37:30 2009 Locked files: Pid UidDenyMode Access R/W Oplock SharePath Name Time -- 4031 48 DENY_NONE 0x11RDONLY NONE /var/www/html dustri-verlag/typo3conf/ext/data_masters/pi3 Tue Mar 3 10:54:22 2009 4031 48 DENY_NONE 0x11RDONLY NONE /var/www/html . Tue Mar 3 10:50:10 2009 Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] samba user stays at the syatem !!!
Dear list, Here is a very strange problem !!! I am using samba-3.0.25b-1.1.cc in clarkconnect server. No problem to use the samba shares at all. Authentication works with no hitch. But samba users stay at the system. I have just checked with who and found there are 250 samba users from 1st of Jan ! I tried to fond out the pid by who -a and kill those but then it says no such pid even I tried *smbstatus* but kill says no such pid. I have really no clue what to do with this problem. Day by day this system is flooded with more and more samba users. Kindly suggest what to do. How can I kill those past samba users ? How can I instruct samba no to have the continue with unlogged users ? Please show me the way. thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba