Re: [Samba] Please, help me clarify (winbind).
If I have understood right:you have a PDC/LDAP-Samba!!! And no Windows Server and no Windows ADS so you do not need winbind at all. Just make the Windows Server a member of your Samba-Server thats it. --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Aleix Dorca Gesendet: Samstag, 19. Februar 2011 21:40 An: samba@lists.samba.org Betreff: [Samba] Please, help me clarify (winbind). Hi again, still struggling with winbind and trying to understand how it is supposed to work. Let's see if someone can answer a simple resolution question so I can see if something is wrong with my setup. One PDC/LDAP (no winbind), nss with ldap. This works fine as far as I can tell. The other machine is a DMS. Let's say I have an entry like this on my 'getent passwd' (via LDAP): adorca:x:10033:513:Aleix Dorca:/home/adorca:/bin/bash As far as I can tell this user's uid is 10033. So, now the question: If a windows machine should connect to this server what would winbind return as uid number? 10033 via NSS_LDAP or a new mapping stored/created on my LDAP Server. And would this user be treated as a 'Domain User' or as a 'Unix User'? The Samba How-To Collections states on 'Winbind with NSS to resolve UNIX/Linux user and group IDs': The use of the LDAP-based passdb backend requires use of the PADL nss_ldap utility or an equivalent. In this situation winbind is used to handle foreign SIDs, that is, SIDs from standalone Windows clients (i.e., not a member of our domain) as well as SIDs from another domain. The foreign UID/GID is mapped from allocated ranges (idmap uid and idmap gid) in precisely the same manner as when using winbind with a local IDMAP table. As I understand this having NSS with Ldap an winbind running a query to user 'adorca' should return uid=10033 and not a new idmap mapping. Is this correct? Please someone answer... I'm about to loose it trying to understand how this should work. Thanks, Aleix. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Please, help me clarify (winbind).
Daniel, thanks for your answer. What you say it is absolutely true. That was my first attempt to get things woking, avoid if possible Winbind, and IT DID work UNTIL I added ACL's on shares. After that it seems winbind was unavoidable. Then all the confusion began. Still stuck, I'm afraid. Aleix. El 21/02/2011, a las 9:11, Daniel Müller escribió: If I have understood right:you have a PDC/LDAP-Samba!!! And no Windows Server and no Windows ADS so you do not need winbind at all. Just make the Windows Server a member of your Samba-Server that’s it. --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Aleix Dorca Gesendet: Samstag, 19. Februar 2011 21:40 An: samba@lists.samba.org Betreff: [Samba] Please, help me clarify (winbind). Hi again, still struggling with winbind and trying to understand how it is supposed to work. Let's see if someone can answer a simple resolution question so I can see if something is wrong with my setup. One PDC/LDAP (no winbind), nss with ldap. This works fine as far as I can tell. The other machine is a DMS. Let's say I have an entry like this on my 'getent passwd' (via LDAP): adorca:x:10033:513:Aleix Dorca:/home/adorca:/bin/bash As far as I can tell this user's uid is 10033. So, now the question: If a windows machine should connect to this server what would winbind return as uid number? 10033 via NSS_LDAP or a new mapping stored/created on my LDAP Server. And would this user be treated as a 'Domain User' or as a 'Unix User'? The Samba How-To Collections states on 'Winbind with NSS to resolve UNIX/Linux user and group IDs': The use of the LDAP-based passdb backend requires use of the PADL nss_ldap utility or an equivalent. In this situation winbind is used to handle foreign SIDs, that is, SIDs from standalone Windows clients (i.e., not a member of our domain) as well as SIDs from another domain. The foreign UID/GID is mapped from allocated ranges (idmap uid and idmap gid) in precisely the same manner as when using winbind with a local IDMAP table. As I understand this having NSS with Ldap an winbind running a query to user 'adorca' should return uid=10033 and not a new idmap mapping. Is this correct? Please someone answer... I'm about to loose it trying to understand how this should work. Thanks, Aleix. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Please, help me clarify (winbind).
What do you mean with acl's. Did you do the acl' s from windows. My attempts to do this failed every time. The only way make this work is under samba4. With samba3 I had to tune it within my share definitions in my smb.conf. create mask and so on. Now with this it is nearly impossible to have by ex. two different groups manage their files (as in windows) on one share. So you have to make a large group with all the users having write perms and on the other side a group to have read perms. You may test #vfs objects = acl_xattr --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: Aleix Dorca [mailto:ado...@uda.ad] Gesendet: Montag, 21. Februar 2011 09:33 An: muel...@tropenklinik.de Cc: samba@lists.samba.org Betreff: Re: AW: [Samba] Please, help me clarify (winbind). Daniel, thanks for your answer. What you say it is absolutely true. That was my first attempt to get things woking, avoid if possible Winbind, and IT DID work UNTIL I added ACL's on shares. After that it seems winbind was unavoidable. Then all the confusion began. Still stuck, I'm afraid. Aleix. El 21/02/2011, a las 9:11, Daniel Müller escribió: If I have understood right:you have a PDC/LDAP-Samba!!! And no Windows Server and no Windows ADS so you do not need winbind at all. Just make the Windows Server a member of your Samba-Server thats it. --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Aleix Dorca Gesendet: Samstag, 19. Februar 2011 21:40 An: samba@lists.samba.org Betreff: [Samba] Please, help me clarify (winbind). Hi again, still struggling with winbind and trying to understand how it is supposed to work. Let's see if someone can answer a simple resolution question so I can see if something is wrong with my setup. One PDC/LDAP (no winbind), nss with ldap. This works fine as far as I can tell. The other machine is a DMS. Let's say I have an entry like this on my 'getent passwd' (via LDAP): adorca:x:10033:513:Aleix Dorca:/home/adorca:/bin/bash As far as I can tell this user's uid is 10033. So, now the question: If a windows machine should connect to this server what would winbind return as uid number? 10033 via NSS_LDAP or a new mapping stored/created on my LDAP Server. And would this user be treated as a 'Domain User' or as a 'Unix User'? The Samba How-To Collections states on 'Winbind with NSS to resolve UNIX/Linux user and group IDs': The use of the LDAP-based passdb backend requires use of the PADL nss_ldap utility or an equivalent. In this situation winbind is used to handle foreign SIDs, that is, SIDs from standalone Windows clients (i.e., not a member of our domain) as well as SIDs from another domain. The foreign UID/GID is mapped from allocated ranges (idmap uid and idmap gid) in precisely the same manner as when using winbind with a local IDMAP table. As I understand this having NSS with Ldap an winbind running a query to user 'adorca' should return uid=10033 and not a new idmap mapping. Is this correct? Please someone answer... I'm about to loose it trying to understand how this should work. Thanks, Aleix. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Please, help me clarify (winbind).
Hi again, still struggling with winbind and trying to understand how it is supposed to work. Let's see if someone can answer a simple resolution question so I can see if something is wrong with my setup. One PDC/LDAP (no winbind), nss with ldap. This works fine as far as I can tell. The other machine is a DMS. Let's say I have an entry like this on my 'getent passwd' (via LDAP): adorca:x:10033:513:Aleix Dorca:/home/adorca:/bin/bash As far as I can tell this user's uid is 10033. So, now the question: If a windows machine should connect to this server what would winbind return as uid number? 10033 via NSS_LDAP or a new mapping stored/created on my LDAP Server. And would this user be treated as a 'Domain User' or as a 'Unix User'? The Samba How-To Collections states on 'Winbind with NSS to resolve UNIX/Linux user and group IDs': The use of the LDAP-based passdb backend requires use of the PADL nss_ldap utility or an equivalent. In this situation winbind is used to handle foreign SIDs, that is, SIDs from standalone Windows clients (i.e., not a member of our domain) as well as SIDs from another domain. The foreign UID/GID is mapped from allocated ranges (idmap uid and idmap gid) in precisely the same manner as when using winbind with a local IDMAP table. As I understand this having NSS with Ldap an winbind running a query to user 'adorca' should return uid=10033 and not a new idmap mapping. Is this correct? Please someone answer... I'm about to loose it trying to understand how this should work. Thanks, Aleix. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Please Help me (share linux to MS-DOS)
Hi TAKAHASHI Motonobu, Thanks a lot ,Its very helpful.we have more than 800 Novel Server.I would like to change to Linux. Can you please tell me ,what is the procedure for installation.which are files need to call for getting Linux Folder as Drive i am use bellow batch file for connecting to Novel server *Result is Ie can login to Novell SYS volume will be F:\ Same way I have to get share linux folder to DOS Machine C:\DOS\SMARTDRV.EXE /X @ECHO OFF PROMPT $p$g MODE COM1:9600,N,8,1 MODE COM2:9600,N,8,1 c:\nwclient\ITE.COM MODE COM3:9600,N,8,1 MODE LPT1:=COM3 MODE COM4:9600,N,8,1 PATH C:\DOS SET TEMP=C:\DOS c:\nwclient\lsl c:\nwclient\e100bodi c:\nwclient\ipxodi c:\nwclient\netx f:\ login admin *Result is we can login to Novell SYS volume will be F:\ Same way I have to get share linux folder to DOS Machine Rajeeb Moidunny Lifestyle IT Dept Phone +97148095473,Ext:-5473 E-mail:-rajeeb.moidu...@cplmg.com www.landmarkgroupme.com From: TAKAHASHI Motonobu mo...@monyo.com To: Rajeeb Moidunny rajeeb.moidu...@cplmg.com Cc: icti...@samba.org, samba@lists.samba.org, samba-techni...@lists.samba.org, Sreejith Janardhanan sreejith.janardha...@cplmg.com Date: 12/03/2010 06:31 PM Subject:Re: Please Help me (share linux to MS-DOS) Hi 2010/12/2 Rajeeb Moidunny rajeeb.moidu...@cplmg.com: I want to share( Map as drive) Linux folder to Windows.If posible share to MS-DOS operating system You can connect from MS-DOS to Samba with LAN Manager or MS Network Client. They are still available from Microsoft at ftp://ftp.microsoft.com/bussys/Clients/LANMAN/ or ftp://ftp.microsoft.com/bussys/Clients/MSCLIENT/ Also you have to need proper device driver of your network adapter for MS-DOS. Unfortunately they use much memory than Netware client especially using TCP/IP, so you may meet memory exhausted error. I publish the screen image at http://damedame.monyo.com/?date=20101113#p01 Sorry for Japanese message displayed there. --- TAKAHASHI Motonobu mo...@samba.gr.jp NOTE: This e-mail message (which includes attachment/s thereto, if any, and the information therein), is legally privileged, proprietary, strictly confidential and exempt from disclosure, which is not waived or lost by mis-transmission or error. If you are not the original intended recipient of this message, it may be unlawful and illegal for you to read, print, retain, copy, disseminate, disclose or otherwise use this message, or take any action in reliance on it, and the same is prohibited and forbidden. If you have received this email in error, please notify the sender immediately by return reply and delete the message from your system without printing or making a copy. Neither the sender nor we are liable for any loss or damage as a result of this message, or for any delay, interception, corruption, virus, error, omission, improper or incomplete transmission thereof. www.landmarkgroupme.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Please Help me (share linux to MS-DOS)
Hallo, TAKAHASHI, Du meintest am 03.12.10: I want to share( Map as drive) Linux folder to Windows.If posible share to MS-DOS operating system You can connect from MS-DOS to Samba with LAN Manager or MS Network Client. They are still available from Microsoft at ftp://ftp.microsoft.com/bussys/Clients/LANMAN/ or ftp://ftp.microsoft.com/bussys/Clients/MSCLIENT/ Also you have to need proper device driver of your network adapter for MS-DOS. Perhaps he has to switch password encryption to encrypt passwords = no Viele Gruesse! Helmut -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Please Help me (share linux to MS-DOS)
Hello, 2010/12/6 Helmut Hullen hul...@t-online.de: Hallo, TAKAHASHI, I want to share( Map as drive) Linux folder to Windows.If posible share to MS-DOS operating system You can connect from MS-DOS to Samba with LAN Manager or MS Network Client. Perhaps he has to switch password encryption to encrypt passwords = no No, LAN Manager can send LM hash, so you do not need to enable plain text password. --- TAKAHASHI Motonobu mo...@monyo.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Please Help me (share linux to MS-DOS)
Hi 2010/12/2 Rajeeb Moidunny rajeeb.moidu...@cplmg.com: I want to share( Map as drive) Linux folder to Windows.If posible share to MS-DOS operating system You can connect from MS-DOS to Samba with LAN Manager or MS Network Client. They are still available from Microsoft at ftp://ftp.microsoft.com/bussys/Clients/LANMAN/ or ftp://ftp.microsoft.com/bussys/Clients/MSCLIENT/ Also you have to need proper device driver of your network adapter for MS-DOS. Unfortunately they use much memory than Netware client especially using TCP/IP, so you may meet memory exhausted error. I publish the screen image at http://damedame.monyo.com/?date=20101113#p01 Sorry for Japanese message displayed there. --- TAKAHASHI Motonobu mo...@samba.gr.jp -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Please Help me (share linux to MS-DOS)
Hi Sir I have installed Linux Fedora 8 I want to share( Map as drive) Linux folder to Windows.If posible share to MS-DOS operating system Currently we are using Novel Server as per bellow POS Machine(MS-DOS) connecting to Novel Server autorun.bat file C:\DOS\SMARTDRV.EXE /X @ECHO OFF PROMPT $p$g MODE COM1:9600,N,8,1 MODE COM2:9600,N,8,1 c:\nwclient\ITE.COM MODE COM3:9600,N,8,1 MODE LPT1:=COM3 MODE COM4:9600,N,8,1 PATH C:\DOS SET TEMP=C:\DOS c:\nwclient\lsl c:\nwclient\e100bodi c:\nwclient\ipxodi c:\nwclient\netx f:\ login admin *Result is we can login to Novell SYS volume will be F:\ Same way I have to get share linux folder to DOS Machine Rajeeb Moidunny Lifestyle IT Dept Phone +97148095473,Ext:-5473 E-mail:-rajeeb.moidu...@cplmg.com www.landmarkgroupme.com NOTE: This e-mail message (which includes attachment/s thereto, if any, and the information therein), is legally privileged, proprietary, strictly confidential and exempt from disclosure, which is not waived or lost by mis-transmission or error. If you are not the original intended recipient of this message, it may be unlawful and illegal for you to read, print, retain, copy, disseminate, disclose or otherwise use this message, or take any action in reliance on it, and the same is prohibited and forbidden. If you have received this email in error, please notify the sender immediately by return reply and delete the message from your system without printing or making a copy. Neither the sender nor we are liable for any loss or damage as a result of this message, or for any delay, interception, corruption, virus, error, omission, improper or incomplete transmission thereof. www.landmarkgroupme.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] please help me PLEASEEEEEEEE
Dear ALL Please tell me how to configure Openldap in rhel 5 Please send me links document Thanks in advance Ankit Jariwala 9725655020 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] please help me PLEASEEEEEEEE
http://lmgtfy.com/?q=openldap+redhat+configuration On Friday 13 March 2009 08:58:43 ankit jariwala wrote: Dear ALL Please tell me how to configure Openldap in rhel 5 Please send me links document Thanks in advance Ankit Jariwala 9725655020 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
RE [Samba] please help me PLEASEEEEEEEE
I think that you find more information on the openldap.org website. --- Stéphane PURNELLE stephane.purne...@corman.be Service Informatique Corman S.A. Tel : 00 32 087/342467 samba-bounces+stephane.purnelle=corman...@lists.samba.org a écrit sur 13/03/2009 09:58:43 : Dear ALL Please tell me how to configure Openldap in rhel 5 Please send me links document Thanks in advance Ankit Jariwala 9725655020 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] please help me PLEASEEEEEEEE
From: ankit jariwala ankit...@gmail.com Please tell me how to configure Openldap in rhel 5 Please send me links document Try this link: http://lmgtfy.com/?q=Openldap+rhel.5+howto Good Lucckk!!! ^_^ JD -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] please help me PLEASEEEEEEEE
On Fri, Mar 13, 2009 at 3:58 AM, ankit jariwala ankit...@gmail.com wrote: Dear ALL Please tell me how to configure Openldap in rhel 5 Please send me links document Thanks in advance Hey, I'm sure this link will be useful to you: http://www.catb.org/~esr/faqs/smart-questions.html After reading it ask again how we can help you in specific problems related to SAMBA. Remember, this isn't OpenLDAP mailing list, your question should be posted there maybe. Bye Ankit Jariwala 9725655020 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Please help me how to fix read only file problem
Dears, I have tested SVN on samba drive and it totally fails. Please help me to navigate in source code, where attributes are set. It would be better either to fix it or at least to block R attribute to set. foj...@dvouramenna:~/ESC_sro/Kancl/.svn$ chmod 777 entries foj...@dvouramenna:~/ESC_sro/Kancl/.svn$ ls -la entries -rwxrwxrwx 1 fojtik users 300 Mar 7 13:38 entries M:\ESC_sro\Kancl\.svnattrib entries A M:\ESC_sro\Kancl\.svn\entries M:\ESC_sro\Kancl\.svnattrib +r entries M:\ESC_sro\Kancl\.svnattrib entries AR M:\ESC_sro\Kancl\.svn\entries foj...@dvouramenna:~/ESC_sro/Kancl/.svn$ ls -la entries -r-xr-xr-x 1 fojtik users 300 Mar 7 13:38 entries M:\ESC_sro\Kancl\.svnattrib -r entries Access denied - M:\ESC_sro\Kancl\.svn\entries From this point there is no way to handle a file on samba drive. Access is denied. But user fojtik still could change right on Linux site. There is something wrong. thank you Jara -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Please help me how to fix read only file problem
On Sat, Mar 07, 2009 at 02:13:55PM +0100, Jaroslav Fojtik wrote: Dears, I have tested SVN on samba drive and it totally fails. Please help me to navigate in source code, where attributes are set. It would be better either to fix it or at least to block R attribute to set. foj...@dvouramenna:~/ESC_sro/Kancl/.svn$ chmod 777 entries foj...@dvouramenna:~/ESC_sro/Kancl/.svn$ ls -la entries -rwxrwxrwx 1 fojtik users 300 Mar 7 13:38 entries M:\ESC_sro\Kancl\.svnattrib entries A M:\ESC_sro\Kancl\.svn\entries M:\ESC_sro\Kancl\.svnattrib +r entries M:\ESC_sro\Kancl\.svnattrib entries AR M:\ESC_sro\Kancl\.svn\entries foj...@dvouramenna:~/ESC_sro/Kancl/.svn$ ls -la entries -r-xr-xr-x 1 fojtik users 300 Mar 7 13:38 entries M:\ESC_sro\Kancl\.svnattrib -r entries Access denied - M:\ESC_sro\Kancl\.svn\entries From this point there is no way to handle a file on samba drive. Access is denied. But user fojtik still could change right on Linux site. There is something wrong. Try store dos attributes = yes, given that you have a file system mounted with xattrs enabled. Volker pgpgsNtkSnNUa.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re2: [Samba] Please help me how to fix read only file problem
Dear Volker Lendecke, From this point there is no way to handle a file on samba drive. Access is denied. But user fojtik still could change right on Linux site. There is something wrong. Try store dos attributes = yes, given that you have a file system mounted with xattrs enabled. Sorry it does not work: M:\ESC_sro\Kancl\.svnattrib * A M:\ESC_sro\Kancl\.svn\entries A M:\ESC_sro\Kancl\.svn\format M:\ESC_sro\Kancl\.svnattrib +r entries M:\ESC_sro\Kancl\.svnattrib -r entries Access denied - M:\ESC_sro\Kancl\.svn\entries The 'r' attribute IS supported by filesystem, so it seems to be handled unixy way. But it could be set only and clearing it is not working. Where it is set in a source code? [homes] comment = Home Directories store dos attributes = yes browseable = yes writable = yes thanks Jara -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] please help me st up samba as an application server
Hi, I have samba running as a server, but i need to make it into an application server, I don't even know where or how to start. please help, any advice or assistance would be much appreciated. Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] please help me
hello i use samba 3.0.21c and the os linux suse 10 x86_64 on one system and os win xp media center on the other system. when i try connect with os win xp to server samba 3.0.21c the below message was shown : my workgrp is not accessible. You might not have premission to use this network resource. contact the administrator of this server to find out if you have access premission. the list of server for this wrkgrp is not currently available. i am biginner to use samba and can not type english correct totally. please help me step by step if you can. my mail is [EMAIL PROTECTED] - Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1cent;/min. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Please Help me
Dear All, I want help to access my window machine from linux machine , with samba server configure on it. Linux - 192.168.0.2 - with samba server Windows 2000 - 192.168.0.1 - with share directory \\FORTEIT\linux_map file:///\\FORTEIT\linux_map I already create one directory /mnt/share .. ok.. Now I want to mount /mnt/share to \\FORTEIT\linux_map file:///\\FORTEIT\linux_map ... using smbmount command So , I can copy files from linux to windows 2000 machine .( want to automate the process ..) Please guide me for the same.. Waiting for your positive reply. Email id ::: [EMAIL PROTECTED] , [EMAIL PROTECTED] Have A Nice Time.. Regards, Bhargav Patel -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Please Help me
On Wed, 9 Mar 2005 12:01:51 +0530, Bhargav [EMAIL PROTECTED] wrote: Dear All, I want help to access my window machine from linux machine , with samba server configure on it. Linux - 192.168.0.2 - with samba server Windows 2000 - 192.168.0.1 - with share directory \\FORTEIT\linux_map file:///\\FORTEIT\linux_map I already create one directory /mnt/share .. ok.. Now I want to mount /mnt/share to \\FORTEIT\linux_map file:///\\FORTEIT\linux_map ... using smbmount command So , I can copy files from linux to windows 2000 machine .( want to automate the process ..) Please guide me for the same.. Waiting for your positive reply. Email id ::: [EMAIL PROTECTED] , [EMAIL PROTECTED] Have A Nice Time.. Hey , For mounting the windows drive on linux you have to use mount command mount -t smbfs //windows machine name/share directory /mnt/share -o user=windows user then it will ask for the password.give the password of the windows user If you want to kept it forever edit /etc/fstab file and add an entry //windowsmahcine name/share folder /mnt/sharesmbfs credentials= /etc/.smb 0 0 in /etc/.smb file give this username = windows username password = windows user password you can give any file means against /etc/.smb file but make sure that permissions for that are 600 . like this ,you can also make a file like this /etc//home/bhargav/.smb Regards Ankush and make -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Please help me decipher a two-packet NetBT conversation...
My clients are Windows XP SP1 and SP2, members of a Samba-PDC NT domain (tested 3.0.7 and 3.0.10, same result).Attached is ethereal output of a two packet client-server exchange that takes place when an offline files sync is done. SP1 quickly does this exchange twice - first broadcast, then unicast (as attached) and goes on its way. SP2 tries, pauses many seconds, tries again, finally giving up and completing the sync. Basically the client is attempting a SAM logon request with an empty user name. Samba responds with user unknown. Even at high log levels, I get nothing in the Samba logs. I found one other reference to this sort of issue, on an earlier Samba list post in 2002, then a follow-up in 8/04, both unanswered. I'd be happy to look at the Samba code to better understand how/why this is happening, but don't know where to start. Advice is much appreciated. Regards, David Black No. TimeSourceDestination Protocol Info 4191 14:45:44.739000 dblack-pc.magnalynx.com ha1.magnalynx.com NETLOGON SAM LOGON request from client Frame 4191 (281 bytes on wire, 281 bytes captured) Arrival Time: Jan 19, 2005 14:45:44.73900 Time delta from previous packet: 0.03000 seconds Time since reference or first frame: 1238.005492000 seconds Frame Number: 4191 Packet Length: 281 bytes Capture Length: 281 bytes Ethernet II, Src: 00:0d:60:af:59:fc, Dst: 00:0d:60:0f:01:d6 Destination: 00:0d:60:0f:01:d6 (ha1.magnalynx.com) Source: 00:0d:60:af:59:fc (dblack-pc.magnalynx.com) Type: IP (0x0800) Internet Protocol, Src Addr: dblack-pc.magnalynx.com (192.168.10.151), Dst Addr: ha1.magnalynx.com (192.168.10.230) Version: 4 Header length: 20 bytes Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00) 00.. = Differentiated Services Codepoint: Default (0x00) ..0. = ECN-Capable Transport (ECT): 0 ...0 = ECN-CE: 0 Total Length: 267 Identification: 0x31b6 (12726) Flags: 0x00 0... = Reserved bit: Not set .0.. = Don't fragment: Not set ..0. = More fragments: Not set Fragment offset: 0 Time to live: 128 Protocol: UDP (0x11) Header checksum: 0x715e (correct) Source: dblack-pc.magnalynx.com (192.168.10.151) Destination: ha1.magnalynx.com (192.168.10.230) User Datagram Protocol, Src Port: netbios-dgm (138), Dst Port: netbios-dgm (138) Source port: netbios-dgm (138) Destination port: netbios-dgm (138) Length: 247 Checksum: 0x7e57 (correct) NetBIOS Datagram Service Message Type: Direct_group datagram (17) More fragments follow: No This is first fragment: Yes Node Type: P node (1) Datagram ID: 0x8022 Source IP: dblack-pc.magnalynx.com (192.168.10.151) Source Port: 138 Datagram length: 225 bytes Packet offset: 0 bytes Source name: DBLACK-PC00 (Workstation/Redirector) Destination name: MAGNALYNX1c (Domain Controllers) SMB (Server Message Block Protocol) SMB Header Server Component: SMB SMB Command: Trans (0x25) Error Class: Success (0x00) Reserved: 00 Error Code: No Error Flags: 0x00 0... = Request/Response: Message is a request to the server .0.. = Notify: Notify client only on open ..0. = Oplocks: OpLock not requested/granted ...0 = Canonicalized Pathnames: Pathnames are not canonicalized 0... = Case Sensitivity: Path names are case sensitive ..0. = Receive Buffer Posted: Receive buffer has not been posted ...0 = Lock and Read: LockRead, WriteUnlock are not supported Flags2: 0x 0... = Unicode Strings: Strings are ASCII .0.. = Error Code Type: Error codes are DOS error codes ..0. = Execute-only Reads: Don't permit reads if execute-only ...0 = Dfs: Don't resolve pathnames with Dfs 0... = Extended Security Negotiation: Extended security negotiation is not supported .0.. = Long Names Used: Path names in request are not long file names .0.. = Security Signatures: Security signatures are not supported ..0. = Extended Attributes: Extended attributes are not supported ...0 = Long Names Allowed: Long file names are not allowed in the response Process ID High: 0 Signature: Reserved: Tree ID: 0 Process ID: 0 User ID: 0 Multiplex ID: 0 Trans Request (0x25) Word Count (WCT): 17 Total Parameter Count: 0 Total Data Count: 65 Max Parameter Count: 0 Max Data Count: 0 Max Setup Count: 0 Reserved: 00
Re: [Samba] Please help me decipher a two-packet NetBT conversation...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Black wrote: | My clients are Windows XP SP1 and SP2, members of a Samba-PDC NT domain | (tested 3.0.7 and 3.0.10, same result).Attached is ethereal output | of a two packet client-server exchange that takes place when an offline | files sync is done. SP1 quickly does this exchange twice - first | broadcast, then unicast (as attached) and goes on its way. SP2 tries, | pauses many seconds, tries again, finally giving up and completing the | sync. | | Basically the client is attempting a SAM logon request with an empty | user name. Samba responds with user unknown. Even at high log levels, | I get nothing in the Samba logs. I found one other reference to this | sort of issue, on an earlier Samba list post in 2002, then a follow-up | in 8/04, both unanswered. | This is the correct response based on my memory of the network traffic. You could be running down the wrong trail here. I haven't dug in to the offline caching support so I can't comment on that too much. But the response code in your trace was right as far as I know. cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7/HEIR7qMdg1EfYRAlB2AKDkkQ1mfVXEbXwhk4JPrCfwi6qKpgCeILdr kKnH2vT7i3VNhrJwQ5s9tZc= =Jz3Z -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Please help me decipher a two-packet NetBT conversation...
Thanks for your response, Jerry. I too would expect that response from Samba, given the seemingly odd request. What I'm up against is the client - especially XP SP2, doesn't seem to like that response, retrying after a considerable pause. Absent any other trails to follow, I'd like to try making Samba give some other responses and see how the client responds. Dave Gerald (Jerry) Carter wrote: This is the correct response based on my memory of the network traffic. You could be running down the wrong trail here. I haven't dug in to the offline caching support so I can't comment on that too much. But the response code in your trace was right as far as I know. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Please help me decipher a two-packet NetBT conversation...
On Thu, 2005-01-20 at 10:33 -0600, David Black wrote: My clients are Windows XP SP1 and SP2, members of a Samba-PDC NT domain (tested 3.0.7 and 3.0.10, same result).Attached is ethereal output of a two packet client-server exchange that takes place when an offline files sync is done. SP1 quickly does this exchange twice - first broadcast, then unicast (as attached) and goes on its way. SP2 tries, pauses many seconds, tries again, finally giving up and completing the sync. Basically the client is attempting a SAM logon request with an empty user name. Samba responds with user unknown. Before you spend too much time barking up the wrong tree, my understating is that the username in this UDP SamLogon request is not honoured by any modern operating system, and user-unknown is the correct reply. Giving out this information would confirm/deny a given username without authentication, which is considered a bad thing. Samba has always left it up to the logon process to actually decide this. Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] please help me.
hi if i remove the rule for transparent redirection from my firewall script then it works well. what can be the connection of transparent redirection with samba please help me out. i m in a grate trouble. the detailed problem is below Regards Azeem From: azeem ahmad [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] iptables and samba Date: Thu, 27 May 2004 21:02:44 + hi i m using the script below - iptables -F iptables -t nat -F iptables -P INPUT DROP iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 53 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 53 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 137 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 138 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 139 -j ACCEPT - i have two shares on samba server Soft and linux in these shares there are many folders. whenever i run the above script and then i open the share it takes atleast 4 minutes to open the share. but it doesnt take time while browsing inside share. mean there is a folder on soft share like soft/adobe/acrobat/acrobat6 when i double click on soft it takes atleast 4 minutes but after that when i click on adobe then acrobat then acrobat6 it takes now time it just browse them normally. same problem is with the other share named linux. but if i dont run this script then all shares work fine with no delay this problem only occures first time. mean when i browse the share next time it doesnt occur Regards Azeem _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me.
I just wonder why port 445 is missing there... Greetings Sascha Am Montag, 31. Mai 2004 22:45 schrieb azeem ahmad: hi if i remove the rule for transparent redirection from my firewall script then it works well. what can be the connection of transparent redirection with samba please help me out. i m in a grate trouble. the detailed problem is below Regards Azeem From: azeem ahmad [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] iptables and samba Date: Thu, 27 May 2004 21:02:44 + hi i m using the script below -- --- iptables -F iptables -t nat -F iptables -P INPUT DROP iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 53 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 53 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 137 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 138 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 139 -j ACCEPT -- --- i have two shares on samba server Soft and linux in these shares there are many folders. whenever i run the above script and then i open the share it takes atleast 4 minutes to open the share. but it doesnt take time while browsing inside share. mean there is a folder on soft share like soft/adobe/acrobat/acrobat6 when i double click on soft it takes atleast 4 minutes but after that when i click on adobe then acrobat then acrobat6 it takes now time it just browse them normally. same problem is with the other share named linux. but if i dont run this script then all shares work fine with no delay this problem only occures first time. mean when i browse the share next time it doesnt occur Regards Azeem _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me.
From: Sascha Bieler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] please help me. Date: Mon, 31 May 2004 23:02:33 +0200 I just wonder why port 445 is missing there... Greetings Sascha here is the new script but the same problem is with this script too that if i enable transparent redirection it starts taking about 4 minutes and if i remove the rule for port 80 transparent redirection then it starts working here is the script -- echo 1 /proc/sys/net/ipv4/ip_forward iptables -F iptables -t nat -F modprobe ip_nat_ftp iptables -P INPUT DROP iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 53 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 53 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 137 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 137 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 138 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 138 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 139 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 139 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 445 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 445 -j ACCEPT #iptables -A INPUT -j LOG #iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 #iptables -t nat -A PREROUTING -p udp --dport 80 -j REDIRECT --to-port 8080 iptables -P FORWARD DROP iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 21-j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 443 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5000 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5001 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5005 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5050 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 6660:6670 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 7000 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 28805 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 51215 -j ACCEPT iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE -- Regards Azeem _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me.
Wow, you are using your samba-server as internet-gateway and firewall??? Uffhh... Ok, I don't have this configuration, but in my firewall-script I have FIRST: transparent redirecting and SECOND: masquarading The DROP-Rule you should put in last. I configured my firewall with the excellent tool fwbuilder, try it and throw away your probs... http://www.fwbuilder.org/ Regards Sascha Am Montag, 31. Mai 2004 23:21 schrieb azeem ahmad: From: Sascha Bieler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] please help me. Date: Mon, 31 May 2004 23:02:33 +0200 I just wonder why port 445 is missing there... Greetings Sascha here is the new script but the same problem is with this script too that if i enable transparent redirection it starts taking about 4 minutes and if i remove the rule for port 80 transparent redirection then it starts working here is the script --- --- echo 1 /proc/sys/net/ipv4/ip_forward iptables -F iptables -t nat -F modprobe ip_nat_ftp iptables -P INPUT DROP iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 53 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 53 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 137 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 137 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 138 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 138 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 139 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 139 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 445 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 445 -j ACCEPT #iptables -A INPUT -j LOG #iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 #iptables -t nat -A PREROUTING -p udp --dport 80 -j REDIRECT --to-port 8080 iptables -P FORWARD DROP iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 21-j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 443 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5000 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5001 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5005 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5050 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 6660:6670 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 7000 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 28805 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 51215 -j ACCEPT iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE --- --- Regards Azeem _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- ___ Radio Gong 2000 GmbH Co. KG Sascha Bieler Technischer Leiter Franz-Joseph-Strasse 14 80801 Mnchen -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me.
infact i dont have any problem with redirection or masquerading instead i have problem with redirection and samba. Regards Azeem From: Radio Gong 2000 GmbH Co. KG [Technik] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] please help me. Date: Mon, 31 May 2004 23:48:12 +0200 Wow, you are using your samba-server as internet-gateway and firewall??? Uffhh... Ok, I don't have this configuration, but in my firewall-script I have FIRST: transparent redirecting and SECOND: masquarading The DROP-Rule you should put in last. I configured my firewall with the excellent tool fwbuilder, try it and throw away your probs... http://www.fwbuilder.org/ Regards Sascha Am Montag, 31. Mai 2004 23:21 schrieb azeem ahmad: From: Sascha Bieler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] please help me. Date: Mon, 31 May 2004 23:02:33 +0200 I just wonder why port 445 is missing there... Greetings Sascha here is the new script but the same problem is with this script too that if i enable transparent redirection it starts taking about 4 minutes and if i remove the rule for port 80 transparent redirection then it starts working here is the script --- --- echo 1 /proc/sys/net/ipv4/ip_forward iptables -F iptables -t nat -F modprobe ip_nat_ftp iptables -P INPUT DROP iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 53 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 53 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 137 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 137 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 138 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 138 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 139 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 139 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 445 -j ACCEPT iptables -A INPUT -i eth0 -p udp --dport 445 -j ACCEPT #iptables -A INPUT -j LOG #iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 #iptables -t nat -A PREROUTING -p udp --dport 80 -j REDIRECT --to-port 8080 iptables -P FORWARD DROP iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 21-j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 443 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5000 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5001 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5005 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 5050 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 6660:6670 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 7000 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 28805 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp --dport 51215 -j ACCEPT iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE --- --- Regards Azeem _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- ___ Radio Gong 2000 GmbH Co. KG Sascha Bieler Technischer Leiter Franz-Joseph-Strasse 14 80801 München -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me.
But port 80 got nothing to do with samba and as u say, it works fine when u turn it off! I made a script for u maybe u try it otherwise I have no more ideas. I added all rfc nets, because I don't know ur ip-range... Maybe u have to change the path for iptables and so on Regards and good luck #!/bin/sh # # This is automatically generated file. # Firewall Builder fwb_ipt v1.1.2-1 # Tue Jun 1 00:18:52 2004 CEST # # # # # # log() { test -x $LOGGER $LOGGER -p info $1 } va_num=1 add_addr() { addr=$1 nm=$2 dev=$3 type= aadd= L=`$IP -4 link ls $dev | grep $dev:` if test -n $L; then OIFS=$IFS IFS= /:, set $L type=$4 IFS=$OIFS L=`$IP -4 addr ls $dev to $addr | grep inet ` if test -n $L; then OIFS=$IFS IFS= / set $L aadd=$2 IFS=$OIFS fi fi if test -z $aadd; then if test $type = POINTOPOINT; then $IP -4 addr add $addr dev $dev scope global label $dev:FWB${va_num} va_num=`expr $va_num + 1` fi if test $type = BROADCAST; then $IP -4 addr add $addr/$nm dev $dev brd + scope global label $dev:FWB${va_num} va_num=`expr $va_num + 1` fi fi } getaddr() { dev=$1 name=$2 L=`$IP -4 addr show dev $dev | grep inet` test -z $L { eval $name='' return } OIFS=$IFS IFS= / set $L eval $name=$2 IFS=$OIFS } getinterfaces() { NAME=$1 $IP link show | grep -E $NAME[^ ]*: | while read L; do OIFS=$IFS IFS= : set $L IFS=$OIFS echo $2 done } LSMOD=/sbin/lsmod MODPROBE=/sbin/modprobe IPTABLES=/usr/sbin/iptables IP=/sbin/ip LOGGER=/bin/logger INTERFACES=eth0 ppp0 lo for i in $INTERFACES ; do $IP link show $i /dev/null 21 || { echo Interface $i does not exist exit 1 } done add_addr 127.0.0.1 8 lo $IP link set lo up getaddr eth0 interface_eth0 getaddr ppp0 interface_ppp0 $IPTABLES -P OUTPUT DROP $IPTABLES -P INPUT DROP $IPTABLES -P FORWARD DROP cat /proc/net/ip_tables_names | while read table; do $IPTABLES -t $table -L -n | while read c chain rest; do if test X$c = XChain ; then $IPTABLES -t $table -F $chain fi done $IPTABLES -t $table -X done MODULE_DIR=/lib/modules/`uname -r`/kernel/net/ipv4/netfilter/ MODULES=`(cd $MODULE_DIR; ls *_conntrack_* *_nat_* | sed 's/\.o.*$//; s/\.ko$//')` for module in $(echo $MODULES); do if $LSMOD | grep ${module} /dev/null; then continue; fi $MODPROBE ${module} || exit 1 done log Activating firewall for samba-server # # Rule 0(NAT) # # redirect to proxy $IPTABLES -t nat -A PREROUTING -p tcp -s 10.0.0.0/8 --destination-port 80 -j REDIRECT --to-ports 8080 $IPTABLES -t nat -A PREROUTING -p tcp -s 192.168.0.0/16 --destination-port 80 -j REDIRECT --to-ports 8080 $IPTABLES -t nat -A PREROUTING -p tcp -s 172.16.0.0/12 --destination-port 80 -j REDIRECT --to-ports 8080 # # Rule 1(NAT) # # $IPTABLES -t nat -A POSTROUTING -o ppp0 -s 10.0.0.0/8 -j MASQUERADE $IPTABLES -t nat -A POSTROUTING -o ppp0 -s 192.168.0.0/16 -j MASQUERADE $IPTABLES -t nat -A POSTROUTING -o ppp0 -s 172.16.0.0/12 -j MASQUERADE # # $IPTABLES -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT $IPTABLES -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT $IPTABLES -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT # # Rule 0(ppp0) # # anti-spoofing Regel # $IPTABLES -N ppp0_In_RULE_0 test -n $interface_eth0 $IPTABLES -A INPUT -i ppp0 -s $interface_eth0 -j ppp0_In_RULE_0 test -n $interface_ppp0 $IPTABLES -A INPUT -i ppp0 -s $interface_ppp0 -j ppp0_In_RULE_0 $IPTABLES -A INPUT -i ppp0 -s 10.0.0.0/8 -j ppp0_In_RULE_0 $IPTABLES -A INPUT -i ppp0 -s 192.168.0.0/16 -j ppp0_In_RULE_0 $IPTABLES -A INPUT -i ppp0 -s 172.16.0.0/12 -j ppp0_In_RULE_0 test -n $interface_eth0 $IPTABLES -A FORWARD -i ppp0 -s $interface_eth0 -j ppp0_In_RULE_0 test -n $interface_ppp0 $IPTABLES -A FORWARD -i ppp0 -s $interface_ppp0 -j ppp0_In_RULE_0 $IPTABLES -A FORWARD -i ppp0 -s 10.0.0.0/8 -j ppp0_In_RULE_0 $IPTABLES -A FORWARD -i ppp0 -s 192.168.0.0/16 -j ppp0_In_RULE_0 $IPTABLES -A FORWARD -i ppp0 -s 172.16.0.0/12 -j ppp0_In_RULE_0 $IPTABLES -A ppp0_In_RULE_0 -j LOG --log-level info --log-prefix RULE 0 -- DENY $IPTABLES -A ppp0_In_RULE_0 -j DROP # # Rule 1(ppp0) # # anti-spoofing Regel # $IPTABLES -N Cid40BBAA6A.0 $IPTABLES -A OUTPUT -o ppp0 -j Cid40BBAA6A.0 $IPTABLES -A FORWARD -o ppp0 -j Cid40BBAA6A.0 test -n $interface_eth0 $IPTABLES -A Cid40BBAA6A.0 -o ppp0 -s $interface_eth0 -j RETURN test -n $interface_ppp0 $IPTABLES -A Cid40BBAA6A.0 -o ppp0 -s $interface_ppp0 -j RETURN $IPTABLES -A Cid40BBAA6A.0 -o ppp0 -s 10.0.0.0/8 -j RETURN $IPTABLES -A Cid40BBAA6A.0 -o ppp0 -s 192.168.0.0/16 -j RETURN $IPTABLES -A Cid40BBAA6A.0 -o ppp0 -s 172.16.0.0/12 -j RETURN $IPTABLES -N ppp0_Out_RULE_1_3 $IPTABLES -A Cid40BBAA6A.0 -o ppp0 -j ppp0_Out_RULE_1_3 $IPTABLES -A
Re: [Samba] please help me.
thanx dude. i check it but any other friends out there plz try to solve my problem also Regards Azeem _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me.
Radio Gong 2000 GmbH Co. KG [Technik] wrote: Wow, you are using your samba-server as internet-gateway and firewall??? Uffhh... Azeem, This has disasater written ALL OVER IT! You should never use your samba server on your firewall/internet gateway server. This opens your system up for all kinds of mailiciousness. Joe -- #--# # Penguinix Consulting # #--# #Software development, QA and testing. # #Linux support and training. # #Don't fear the penguin! # #--# # Registered Linux user: #309247 http://counter.li.org # #--# -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Please help me with configuring samba as Dfs root !
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 M. Vancl wrote: | Hi, | | I have configured samba 3.0.2 as Dfs root but it seems smbd dont translate | symlink to remote share name. | All targeted shares are from testing workstation directly accessible. ... | pokus - msdfs:prog01t\\share The link should actually look like (on backslash). pokus - msdfs:prog01t\share The docs say to use '\\' (and escaped backslash) when you invoke ln to create the link. You should only have only backslash in the final link. Hope this helps. cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAUGOeIR7qMdg1EfYRAlgdAJsGQ+bWjcmBVtOar2W2ssEQilQT3QCgv3Vc ziF+vMrKg1i+9CkQ8aBZk3c= =rPbF -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Please help me with configuring samba as Dfs root !
Hi, I have configured samba 3.0.2 as Dfs root but it seems smbd dont translate symlink to remote share name. All targeted shares are from testing workstation directly accessible. My config is: --- [global] debuglevel = 10 netbios name = SAMBAII workgroup = XAMBA security = user domain logons = yes preferred master = yes domain master = yes local master = yes os level = 33 encrypt passwords = yes passdb backend = ldapsam:ldap://ldap.setuza.cz; ## ldap sam ... ## dfs host msdfs = yes ... ## misc follow symlinks = yes ... ## shares writeable = no create mask = 660 directory mask = 770 ... [dfs] path = /var/samba/dfsroot msdfs root = yes follow symlinks = no [test] ... --- My dfs root is: [EMAIL PROTECTED]:/# ls -ld /var/samba /var/samba/dfsroot drwxrwx---7 Domain U 4096 Mar 4 19:07 /var/samba/ drwxr-xr-x2 root Domain U 4096 Mar 5 17:17 /var/samba/dfsroot/ [EMAIL PROTECTED]:/# ls -l /var/samba/dfsroot total 0 lrwxrwxrwx1 root root 21 Mar 5 17:17 inoupd - msdfs:rumba\\inoupdate lrwxrwxrwx1 root root 16 Mar 5 17:01 lavir - msdfs:prog23t\\lv lrwxrwxrwx1 root root 19 Mar 4 19:20 pokus - msdfs:prog01t\\share In logfile I found target name only in this line: ... [2004/03/05 19:23:23, 5] msdfs/msdfs.c:is_msdfs_link(201) is_msdfs_link: ./inoupd - msdfs:rumba\inoupdate [2004/03/05 19:23:23, 5] smbd/trans2.c:get_lanman2_dir_entry(573) get_lanman2_dir_entry: Masquerading msdfs link ./inoupd as a directory ... and then interesting part: ... [2004/03/05 19:23:33, 5] smbd/statcache.c:stat_cache_add(178) stat_cache_add: Added entry INOUPD - inoupd [2004/03/05 19:23:33, 5] smbd/filename.c:unix_convert(388) conversion finished inoupd - inoupd [2004/03/05 19:23:33, 3] smbd/dosmode.c:unix_mode(110) unix_mode(inoupd) returning 0660 [2004/03/05 19:23:33, 5] smbd/files.c:file_new(122) allocated file structure 9316, fnum = 13412 (1 used) [2004/03/05 19:23:33, 10] smbd/open.c:open_file_shared1(838) open_file_shared: fname = inoupd, share_mode = 8040, ofun = 1, mode = 660, oplock request = 3 [2004/03/05 19:23:33, 8] lib/util.c:is_in_path(1474) is_in_path: inoupd [2004/03/05 19:23:33, 8] lib/util.c:is_in_path(1478) is_in_path: no name list. [2004/03/05 19:23:33, 3] lib/util.c:unix_clean_name(580) unix_clean_name [inoupd] [2004/03/05 19:23:33, 3] smbd/filename.c:check_name(423) check_name: denied: file path name inoupd is a symlink [2004/03/05 19:23:33, 5] smbd/filename.c:check_name(430) check_name on inoupd failed [2004/03/05 19:23:33, 5] smbd/files.c:file_free(385) freed files structure 13412 (0 used) [2004/03/05 19:23:33, 10] smbd/trans2.c:set_bad_path_error(1802) set_bad_path_error: err = 0 bad_path = 0 [2004/03/05 19:23:33, 3] smbd/error.c:error_packet(118) error packet at smbd/trans2.c(1811) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED ... Thanks for any suggestions M. Vancl -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] PLEASE HELP ME!
Could you tell us exactly what the symptoms of the problems are... have you checked the Samba logs? Is there anything interesting in there? On Wednesday 06 Aug 2003 3:36 am, Daniel Garcia wrote: I have 23 WinXP machine and a Samba PDC. Some machines have problems when its login into the domain, but this machines login very well later!! help me please! thanks, Daniel Garcia P.D: the problem started when I must to delete all the machines count in the server (next I create it again). -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] PLEASE HELP ME!
On 05.08.2003 21:36 Uhr, Daniel Garcia [EMAIL PROTECTED] wrote: I have 23 WinXP machine and a Samba PDC. Some machines have problems when its login into the domain, but this machines login very well later!! help me please! thanks, Daniel Garcia P.D: the problem started when I must to delete all the machine´s count in the server (next I create it again). Are you using the latest version of samba, and what os are you running it on? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] PLEASE HELP ME!
I have 23 WinXP machine and a Samba PDC. Some machines have problems when its login into the domain, but this machines login very well later!! help me please! thanks, Daniel Garcia P.D: the problem started when I must to delete all the machine´s count in the server (next I create it again). -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] My big problem with samba. Please help me
I would like on beginning to apologize for my lousy English, practically lack English, I use with translates program. I have with samba following problem. What programme in computer shop be used to putting out bills, such small base of data of goods they are in shop. This programme is under DOS, he be written in language Clipper. Base of data of this programme is on server because several computers use with her. If server is on Novell it is well. If on Samba, then programme on one computer sie starts, however it on second hangs. It the man who wrote this programme tells, that then the fault of samba. According to him samba does not serve the sharing the records of base of data and Novell it serves. Do then truth ? If so this or the the newest version of samba serves already this or or one it was possible then to walk round ? I send text in Polish language also, someone can with state it knows Polish. I thanks for help. I send greetings from Poland. Chciabym na pocztku przeprosi za mj kiepski angielski, praktycznie brak angielskiego, posuguj si translatorem. Mam nastpujcy problem z samb. W sklepie komputerowym jest uywany program do wystawiania rachunkw, taka maa baza danych towarw jakie znajduj si w sklepie. Ten program jest pod DOS, jest napisany w jzyku Clipper. Baza danych tego programu jest na serwerze, bo korzysta z niej kilka komputerw. Jeli serwer jest na Novell jest dobrze. Jeli na Samba, wtedy program na jednym komputerze sie uruchamia, natomiast na drugim si zawiesza. Czowiek, ktry napisa ten program mwi, e to wina samby. Wedug niego samba nie obsuguje wspdzielenia rekordw bazy danych a Novell obsuguje. Czy to prawda ? Jeli tak to czy najnowsza wersja samby ju to obsuguje lub czy mona to obej ? Przesyam tekst rwnie w jzyku polskim, moe kto z pastwa zna polski. Z gry dzikuje za pomoc. Przesyam pozdrowienia z Polski. -- Przemyslaw Biernat (Melwin) Admin of Ogrodowa Network [EMAIL PROTECTED] ###www.ogrodowa.int.pl [EMAIL PROTECTED] ###www.ogrodowa.int.pl/melwin ICQ:58723474 ### GG:546443 ### Tlen:melwin ### WPKontakt:mmelwin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] please help me
Hello i am new to samba protocol Our Client software used samba protocol If there is no firewall case , this protocol work properly from remote site. All of firwall configuration open ( this mean is all of port open ). Samba work very well, but if some constrain put in, it doesn't work. sent port number for samba protocol to my client. They said it doesn't work properly. May be samba used another port, please tell me more as soon as possible. I am so sorry about disturbing you. I sent following port 137,138,139,445 (tcp/udp) 143,161 (tcp) He opened these port, but samba didn't work. Thanks and Regards Dharanish _ Cricket World Cup 2003- News, Views and Match Reports. http://server1.msn.co.in/msnspecials/worldcup03/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me
What kind of resolution method do you use ? If not implemented try Bind (DNS) using dns proxy = yes in smb.conf and search mydomain.com domain mydomain.com nameserver x.y.w.z the ip address of the dns server in /etc/resolv.conf remember to open port 53 for domain in the firewall. Luca - Original Message - From: dharanesh dharanesh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 06, 2003 9:11 AM Subject: [Samba] please help me Hello i am new to samba protocol Our Client software used samba protocol If there is no firewall case , this protocol work properly from remote site. All of firwall configuration open ( this mean is all of port open ). Samba work very well, but if some constrain put in, it doesn't work. sent port number for samba protocol to my client. They said it doesn't work properly. May be samba used another port, please tell me more as soon as possible. I am so sorry about disturbing you. I sent following port 137,138,139,445 (tcp/udp) 143,161 (tcp) He opened these port, but samba didn't work. Thanks and Regards Dharanish _ Cricket World Cup 2003- News, Views and Match Reports. http://server1.msn.co.in/msnspecials/worldcup03/ -- 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] please help me it is urgent
Hello i am new to samba protocol Our Client software used samba protocol If there is no firewall case , this protocol work properly from remote site. All of firwall configuration open ( this mean is all of port open ). Samba work very well, but if some constrain put in, it doesn't work. sent port number for samba protocol to my client. They said it doesn't work properly. May be samba used another port, please tell me more as soon as possible. I am so sorry about disturbing you. I sent following port 137,138,139,445 (tcp/udp) 143,161 (tcp) He opened these port, but samba didn't work. Thanks and Regards Dharanish _ Cricket World Cup 2003- News, Views and Match Reports. http://server1.msn.co.in/msnspecials/worldcup03/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me..... : now its done
okay the problem has solved. now the client is connecting to the domain. by creating machine name different from the user account. below is log file which i have done. Thank you very much brad i think all is ok here : ---smb.conf--- [root@LinuxBox root]# useradd adil [root@LinuxBox root]# passwd adil Changing password for user adil. New password: Retype new password: passwd: all authentication tokens updated successfully. [root@LinuxBox root]# smbpasswd -a adil New SMB password: Retype new SMB password: Added user adil. [root@LinuxBox root]# cat /etc/passwd root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin news:x:9:13:news:/etc/news: uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin operator:x:11:0:operator:/root:/sbin/nologin games:x:12:100:games:/usr/games:/sbin/nologin gopher:x:13:30:gopher:/var/gopher:/sbin/nologin ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin nobody:x:99:99:Nobody:/:/sbin/nologin ntp:x:38:38::/etc/ntp:/sbin/nologin rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin nscd:x:28:28:NSCD Daemon:/:/sbin/nologin sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin rpm:x:37:37::/var/lib/rpm:/bin/bash mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin pcap:x:77:77::/var/arpwatch:/sbin/nologin xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin named:x:25:25:Named:/var/named:/sbin/nologin postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash apache:x:48:48:Apache:/var/www:/sbin/nologin postfix:x:89:89::/var/spool/postfix:/sbin/nologin squid:x:23:23::/var/spool/squid:/dev/null webalizer:x:67:67:Webalizer:/var/www/html/usage:/sbin/nologin adil:x:500:500::/home/adil:/bin/bash [root@LinuxBox root]# useradd adilspc$ [root@LinuxBox root]# passwd adilspc$ Changing password for user adilspc$. New password: Retype new password: passwd: all authentication tokens updated successfully. [root@LinuxBox root]# smbpasswd -a adilspc$ New SMB password: Retype new SMB password: Added user adilspc$. [root@LinuxBox root]# vi /etc/passwd root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin news:x:9:13:news:/etc/news: uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin operator:x:11:0:operator:/root:/sbin/nologin games:x:12:100:games:/usr/games:/sbin/nologin gopher:x:13:30:gopher:/var/gopher:/sbin/nologin ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin nobody:x:99:99:Nobody:/:/sbin/nologin ntp:x:38:38::/etc/ntp:/sbin/nologin rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin nscd:x:28:28:NSCD Daemon:/:/sbin/nologin sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin rpm:x:37:37::/var/lib/rpm:/bin/bash mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin pcap:x:77:77::/var/arpwatch:/sbin/nologin xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin named:x:25:25:Named:/var/named:/sbin/nologin postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash [root@LinuxBox root]# vi /etc/samba/smbpasswd root:0:C737062C3CF68ED8AAD3B435B51404EE:1C5D097D2FF79E7C114C030C09CADA9A:[UX ]:LCT-3E3BF2E3: ---smb.conf--- --- Bradley W. Langhorst [EMAIL PROTECTED] wrote: ]On Tue, 2003-02-04 at 16:52, Adil Hussain wrote: yes you are right there is no need for this account , i only need account of root user, but i am still confuse about how many account i need and what type of. my windows box name is adil, please tell me how many accounts i need and of what privilege. also when i give right login/password it says The specified user does not exist and when i give wrong Login or password or both it says Logon failure : unknown user name or bad password why is it so behaviour? okay the computer names should not be the same as usernames (it's too confusing - see the relevant rfc on computer naming) you need 2 accounts for every user (one samba account, one unix account) with the same username. In addition you need 2 accounts for every machine in the
Re: [Samba] please help me.....
yes both the accounts of user exist for linux and for samba. plese see the log below, check is it ok everything?? log--- [root@LinuxBox /]# smbpasswd root New SMB password: Retype new SMB password: Password changed for user root. Password changed for user root. [root@LinuxBox /]# passwd root Changing password for user root. New password: Retype new password: passwd: all authentication tokens updated successfully. [root@LinuxBox /]# passwd root$ Changing password for user root$. New password: Retype new password: passwd: all authentication tokens updated successfully. [root@LinuxBox /]# log--- the user exist, becasue i get this error just when i give correct password and user name. and when i give wrong password or user name or both then it gives me the error Logon Failure : Unknown user name or bad password will be very Thankfull for any help best regards Adil --- Bradley W. Langhorst [EMAIL PROTECTED] wrote: On Tue, 2003-02-04 at 00:38, Adil Hussain wrote: i want to configure samba as PDC .i installed the samba on the linux box machine and configure it accordingly. I am trying to connect the windows 2000(server) as a client of this domain. when i press ok after writing the domain name at the windows 2000 (as a client). It gives me a window , asking for the Name and Password and when i give it the root/[password] to it, it says The following error occured attempting to join the domain [domain name] The specified user does not exist. are you sure that the root user exists in smbpasswd? check to be sure that you are not disallowing the root user in smb.conf. brad -- Bradley W. Langhorst [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me.....
. [root@LinuxBox /]# passwd root$ Changing password for user root$. New password: Retype new password: passwd: all authentication tokens updated successfully. why are you creating this root$ user? I don't recommend having a machine named root. you should be creating a machine account for your machine with its name eg if your machine is named windowsbox there should be an account called windowsbox$ in /etc/passwd and another one in /etc/smbpasswd brad -- Bradley W. Langhorst [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me.....
yes you are right there is no need for this account , i only need account of root user, but i am still confuse about how many account i need and what type of. my windows box name is adil, please tell me how many accounts i need and of what privilege. also when i give right login/password it says The specified user does not exist and when i give wrong Login or password or both it says Logon failure : unknown user name or bad password why is it so behaviour? thanks best regards Adil --- Bradley W. Langhorst [EMAIL PROTECTED] wrote: . [root@LinuxBox /]# passwd root$ Changing password for user root$. New password: Retype new password: passwd: all authentication tokens updated successfully. why are you creating this root$ user? I don't recommend having a machine named root. you should be creating a machine account for your machine with its name eg if your machine is named windowsbox there should be an account called windowsbox$ in /etc/passwd and another one in /etc/smbpasswd brad -- Bradley W. Langhorst [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me.....
please also see my smb.conf file, is there any problem due to any misconfiguration. thanks Adil -smb.conf-- [global] netbios name = BIGSERVER workgroup = BarbedWires socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 ;user profiles and home directory logon home = \\%L\%U\.profile logon drive = H: logon path = \\%L\profiles\%U logon script = netlogon.bat admin users = root domain logons = yes ;PDC and master browser settings os level = 64 preferred master = yes local master = yes domain master = yes ;Security and logging settings security = user encrypt passwords = yes log file = /var/log/samba/log.%m log level = 2 max log size = 50 hosts allow = 127.0.0.1 192.168.0.0/255.255.255.0 add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u ;sync UNIX passwords unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*passwd* %n\n *Retype*new*UNIX*passwd* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*passwd* %n\n *passwd: *all*authentication*tokens*updated*successfully* [pub] path = /home/public browseable = yes guest ok = yes read only = no writeable = yes [homes] comment = Home Directories browsable = no writeable = yes [netlogon] comment = Network Logon Service path = /home/netlogon read only = yes write list = adil browsable = no [profiles] path = /home/samba/profiles writeable = yes browseable = no create mask = 0600 directory mask = 0700 __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me.....
]On Tue, 2003-02-04 at 16:52, Adil Hussain wrote: yes you are right there is no need for this account , i only need account of root user, but i am still confuse about how many account i need and what type of. my windows box name is adil, please tell me how many accounts i need and of what privilege. also when i give right login/password it says The specified user does not exist and when i give wrong Login or password or both it says Logon failure : unknown user name or bad password why is it so behaviour? okay the computer names should not be the same as usernames (it's too confusing - see the relevant rfc on computer naming) you need 2 accounts for every user (one samba account, one unix account) with the same username. In addition you need 2 accounts for every machine in the domain (samba and unix) these must look like machinename$ I use ldap for my accounts db so I can have one account per user instead. so for your account you need a useraccount adil in the unix /etc/passwd and also in /etc/smbpasswd in addition you need you need adilspc$ in both password databases. to do the domain joining you need the root account to be in both /etc/passwd and /etc/smbpasswd. this is all covered in the howto collection... brad -- Bradley W. Langhorst [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Please, Help me with this == SWAT
Hello list, the message: Server error 400 chdir failed - the server is not configured correctly The browser shows this messages when I access the address http://ednode02:901/ What's happen? I found in Google and many messages says that the path is not correct. My samba config file is: /usr/local/samba/lib/smb.conf My SWAT path is: /usr/local/swat My SWAT bin file is: /usr/local/sbin/swat Help me ___ (0 0) +V+ | Rodrigo Nascimento | | Linux Users Brazil o0o o0o| +( )---( )+ http://www.ieg.com.br -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] please help me.....
i want to configure samba as PDC .i installed the samba on the linux box machine and configure it accordingly. I am trying to connect the windows 2000(server) as a client of this domain. when i press ok after writing the domain name at the windows 2000 (as a client). It gives me a window , asking for the Name and Password and when i give it the root/[password] to it, it says The following error occured attempting to join the domain [domain name] The specified user does not exist. please help me in this regard becuase i tried many tutorials to solve this problem, but its still annoying me. thnaks best regards Adil __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] please help me.....
On Tue, 2003-02-04 at 00:38, Adil Hussain wrote: i want to configure samba as PDC .i installed the samba on the linux box machine and configure it accordingly. I am trying to connect the windows 2000(server) as a client of this domain. when i press ok after writing the domain name at the windows 2000 (as a client). It gives me a window , asking for the Name and Password and when i give it the root/[password] to it, it says The following error occured attempting to join the domain [domain name] The specified user does not exist. are you sure that the root user exists in smbpasswd? check to be sure that you are not disallowing the root user in smb.conf. brad -- Bradley W. Langhorst [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba