Re: Compiling error and core dump
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 3 Jan 2003, Yihua Philip Sheng wrote: When I tried to compile the new version (2.2.7a) on Sun Solaris 7 and 8 machine, it gives me the following error: Using LIBS = -lsec -lgen -lsocket -lnsl -ldl Linking bin/smbd /usr/ccs/bin/ld: illegal option -- E usage: ld [-abc:d:e:f:h:il:mo:p:rstu:z:B:D:F:GI:L:M:N:P:Q:R:S:VY:] file(s) [-a]create an absolute file [-b]do not do special PIC relocations in a.out [-c file] record configuration `file' [-d y|n]operate in dynamic|static mode [-e sym]use `sym' as entry point address [-f name] specify library for which this file is an auxiliary filter I then link the /usr/ccs/bin/ld to gnu's ld, it worked. All the binaries were generated successfully. But both smbd and nmbd gave core dump when I run them. Any suggestion to fix it? I know this has come up before. I thought that we correctly detected the GNU loader. It looks like the configure script is using the GNU ld but the actual compilation process is using SUN's ld. ANy idea why this is happening? From configure.in: *solaris*) AC_DEFINE(SUNOS5) BLDSHARED=true LDSHFLAGS=-G SONAMEFLAG=-h if test ${GCC} = yes; then PICFLAG=-fPIC if test ${ac_cv_prog_gnu_ld} = yes; then DYNEXP=-Wl,-E fi else PICFLAG=-KPIC ## ${CFLAGS} added for building 64-bit shared ## libs using Sun's Compiler LDSHFLAGS=-G \${CFLAGS} POBAD_CC= PICSUFFIX=po.o fi cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2 SAMS Teach Yourself Samba in 24 Hours 2ed You can never go home again, Oatman, but I guess you can shop there. --John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+ItlsIR7qMdg1EfYRAsI+AJ4/9IlvJXUBUMfhfEb840wXfXItrgCfeeql 778KR75bnnUM3D3p12F2Pqc= =1dbU -END PGP SIGNATURE-
[Samba] printer suddenly unavailable
Hi there I have a pretty strange problem that pops up once in a while. Running samba 2.2.7a having installed a Samba machine as password server sharing user info via NIS I have a couple of printers running here at our place. Several of them are only accessible to a select group of people so I defined the concerned printers share as: [PrinterX] valid users = user1, user2, user3 . Things work fine only once in a while one of the people who is allowed to print to this share and has done so numerous times in the previous weeks calls up and says he/she is unable to print. When I check the logs on samba I get Rejecting user '': authentication failed Reinstalling the printer on the client machine usually helps as well as a reboot of the concerned client. This has also happened versy seldom with shares once in a while. Concerned are W2000, XP and NT machines. Even though the person can not print anymore he/she can still access his/her private shares which are bound to proper authentication as well. Any ideas Best regards Robert Gehr It is an act of evil to accept the state of evil as either inevitable or final - Heschel acceptance speech for the Nobel Peace Prize, 1986 web2CAD AG Emailfabrikstrs. 12 92224 Amberg / Germany visit: http://www.web2cad.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] printer suddenly unavailable
Maybe the free disk space ? greetz Hans On Mon, 2003-01-13 at 09:09, [EMAIL PROTECTED] wrote: Hi there I have a pretty strange problem that pops up once in a while. Running samba 2.2.7a having installed a Samba machine as password server sharing user info via NIS I have a couple of printers running here at our place. Several of them are only accessible to a select group of people so I defined the concerned printers share as: [PrinterX] valid users = user1, user2, user3 . Things work fine only once in a while one of the people who is allowed to print to this share and has done so numerous times in the previous weeks calls up and says he/she is unable to print. When I check the logs on samba I get Rejecting user '': authentication failed Reinstalling the printer on the client machine usually helps as well as a reboot of the concerned client. This has also happened versy seldom with shares once in a while. Concerned are W2000, XP and NT machines. Even though the person can not print anymore he/she can still access his/her private shares which are bound to proper authentication as well. Any ideas Best regards Robert Gehr It is an act of evil to accept the state of evil as either inevitable or final - Heschel acceptance speech for the Nobel Peace Prize, 1986 web2CAD AG Emailfabrikstrs. 12 92224 Amberg / Germany visit: http://www.web2cad.com -- Hans Scheffers http://www.jiffie.nl/stamboom/ This generation doesn't have emotional baggage. We have emotional moving vans. -- Bruce Feirstein Linux Kernel 2.4.18-19 on a i686 - userid 282784 @ 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
[Samba] Samba 2.2.3a Bug ? Share with msdfs root=yes: NT 4 client can't create directory
Hi, we use in the subject mentioned samba 2.2.3a share. All works fine, but NT4 clients can't create directories (Error: no such file or directory). W2K Clients does the work without any problems. Is it a problem of samba, NT or a error in our configuration ? Thanks Roland Grzyb -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] administrator rights in samba 2.2.7 +ldap + XP
Hi , My system : debian Woody + samba 2.2.7 + openldap . We are trying to connect with domain administrators rights on a XP pro client . After tests , all we obtain is users with domain user rights , impossible to have domain administrators rights . We have define in smb.conf : Domain Admin group = @Domain Admins admin users = administrateur And we ve defined administrateur user in ldap so we have : bash$ id administrateur bash $: uid=0(root) gid=0(root) groupes=0(root),200(Domain Admins) First question : is it possible to have a domain admin user with ldap authentication ? Second question : any idea to find the way out this problem ? Thanks in advance -- ** Christian Daré Pole Universitaire de Quimper -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Ext3, Lots of Files, Slow performance
A recent thread has hinted on slow performances on large directories (thousands of entries) on the ext2/3 filesystem. I appreciate that the answer is to store these directories on a different file system or to reorganise the way you store the files into subdirectories. I'd just like to ask has anyone done any tests to determine approximately what the limit is before slowdown occurs. I'd guess it's maybe dependent on the speed of the CPU, memory and disk subsystem but was wondering if anyone has any hard facts. - Paul Cochrane | Tayside Orthopaedic | | Rehabilitation Technology Centre| = |-| | Ninewells Hospital Med. School| | Dundee, Scotland, UK. | | DD1 9SY.| | Phone: +44 1382 496284 | | Fax:+44 1382 496322 | | E-Mail: [EMAIL PROTECTED] | - -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] general question about samba.
Hi there, I'm fairly new to the linux community so excuse my ignorance. I've setup a test network with w2k serer and linux rh 8.0. I'm using kde and trying to configure samba for file sharing between both. Is samba already setup by default or do I need to download the packages? Is there any decent doc's for this type of setup? Regards, Ian
[Samba] Running Samba twice
Can samba be running twice on a machine so that it can exist on 2 seperate networks with 2 seperate configs? I have tried using the -l and -s flags to run it twice and nmbd runs fine on both interfaces but samba fails with : [2003/01/13 12:11:33, 0] lib/pidfile.c:pidfile_create(86) ERROR: smbd is already running. File /usr/local/samba/var/locks/smbd.pid exists and process id 23854 is running. Any help would be greatly appreciated -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] general question about samba.
The packages are likely installed by default. You can findthe documentation at www.samba.org -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Monday, January 13, 2003 7:01 AMTo: [EMAIL PROTECTED]Subject: [Samba] general question about samba. Hi there, I'm fairly new to the linux community so excuse my ignorance. I've setup a test network with w2k serer and linux rh 8.0. I'm using kde and trying to configure samba for file sharing between both. Is samba already setup by default or do I need to download the packages? Is there any decent doc's for this type of setup? Regards, Ian
[Samba] Samba 2.2.7a and cups 1.1.18
Hi I have installed samba-2.2.7a and cups-1.1.18. After reading all the documentation samba provides as well as the cups administrators guide I am still stuck. I have added the printers just the way the samba and cups documentation says. Anyway here is my output from cupsaddsmb, It fails on the last step, so i have run that manually again afterwards with debugging enabled. I believe this to be the offending line: lsa_io_sec_qos: length c does not match size 8 Google did not have any usefull information. If you require any more information, let me know. Regards Merritt ** [root@test tar]# cupsaddsmb -H 192.168.0.9 -a -v Password for root required to access 192.168.0.9 via SAMBA: Running command: smbclient //192.168.0.9/print\$ -N -U'root%foo' -c 'mkdir W32X86;put /usr/local/cups/var/spool/cups/tmp/3e22b8a7c1ed7 W32X86/remote.PPD;put /usr/local/cups/share/cups/drivers/ADOBEPS5.DLL W32X86/ADOBEPS5.DLL;put /usr/local/cups/share/cups/drivers/ADOBEPSU.DLL W32X86/ADOBEPSU.DLL;put /usr/local/cups/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP' added interface ip=192.168.0.9 bcast=192.168.0.255 nmask=255.255.255.0 added interface ip=192.168.1.69 bcast=192.168.1.255 nmask=255.255.255.0 Domain=[ALT] OS=[Unix] Server=[Samba 2.2.7a] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86 putting file /usr/local/cups/var/spool/cups/tmp/3e22b8a7c1ed7 as \W32X86/remote.PPD (12548.7 kb/s) (average 12549.3 kb/s) putting file /usr/local/cups/share/cups/drivers/ADOBEPS5.DLL as \W32X86/ADOBEPS5.DLL (32447.7 kb/s) (average 30106.9 kb/s) putting file /usr/local/cups/share/cups/drivers/ADOBEPSU.DLL as \W32X86/ADOBEPSU.DLL (31799.4 kb/s) (average 30491.7 kb/s) putting file /usr/local/cups/share/cups/drivers/ADOBEPSU.HLP as \W32X86/ADOBEPSU.HLP (17539.3 kb/s) (average 29928.6 kb/s) Running command: rpcclient 192.168.0.9 -N -U'root%foo' -c 'adddriver Windows NT x86 remote:ADOBEPS5.DLL:remote.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL' cmd = adddriver Windows NT x86 remote:ADOBEPS5.DLL:remote.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL Printer Driver remote successfully installed. Running command: smbclient //192.168.0.9/print\$ -N -U'root%foo' -c 'mkdir WIN40;put /usr/local/cups/var/spool/cups/tmp/3e22b8a7c1ed7 WIN40/remote.PPD;put /usr/local/cups/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put /usr/local/cups/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put /usr/local/cups/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put /usr/local/cups/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put /usr/local/cups/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put /usr/local/cups/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;' added interface ip=192.168.0.9 bcast=192.168.0.255 nmask=255.255.255.0 added interface ip=192.168.1.69 bcast=192.168.1.255 nmask=255.255.255.0 Domain=[ALT] OS=[Unix] Server=[Samba 2.2.7a] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40 putting file /usr/local/cups/var/spool/cups/tmp/3e22b8a7c1ed7 as \WIN40/remote.PPD (12548.7 kb/s) (average 12549.3 kb/s) putting file /usr/local/cups/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM (33063.5 kb/s) (average 30904.3 kb/s) putting file /usr/local/cups/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV (32447.8 kb/s) (average 31942.2 kb/s) putting file /usr/local/cups/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP (31975.4 kb/s) (average 31945.4 kb/s) putting file /usr/local/cups/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD (13174.5 kb/s) (average 31656.6 kb/s) putting file /usr/local/cups/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (28839.1 kb/s) (average 31493.3 kb/s) putting file /usr/local/cups/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (27998.6 kb/s) (average 31394.9 kb/s) Running command: rpcclient 192.168.0.9 -N -U'root%foo' -c 'adddriver Windows 4.0 remote:ADOBEPS4.DRV:remote.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,remote.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL' cmd = adddriver Windows 4.0 remote:ADOBEPS4.DRV:remote.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,remote.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL Printer Driver remote successfully installed. Running command: rpcclient 192.168.0.9 -N -U'root%foo' -c 'setdriver remote remote' cmd = setdriver remote remote result was NT_STATUS_UNSUCCESSFUL 7** [root@test cups]# rpcclient 192.168.0.9 -d 3 -N -U'root%foo' -c 'setdriver remote remote' Initialising global parameters params.c:pm_process() - Processing configuration file /usr/local/samba/lib/smb.conf Processing section [global] added interface ip=192.168.0.9 bcast=192.168.0.255 nmask=255.255.255.0 added interface ip=192.168.1.69 bcast=192.168.1.255 nmask=255.255.255.0 Connecting to host=192.168.0.9 share=IPC$ Connecting
[Samba] (no subject)
Hi everybody! Bare with me as I am pretty new to Linux and everything that goes with it. My problem consists of copying large files from my w2k client to my samba server. Files larger than ca 700 MB will, when moving ore copying to a samba share, stop in a error message that the network path is no longer accessible. The “server”, which samba is running on, starts to write to the disk but there is no network activity and after a while the error message appears. I have looked through all the forums and so on to see if I could find an answer, but no. I have however found other users posting messages about the same problem, but never an answer that solved the problem. Is there anyone who knows how to solve this problem? Best regards // Thomas E __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 700 MB to samba share error
Hi everybody! I am resending my message, forgot to fill in the subject line. I am sorry. Bare with me as I am pretty new to Linux and everything that goes with it. My problem consists of copying large files from my w2k client to my samba server. Files larger than ca 700 MB will, when moving or copying to a samba share, stop in a error message that the network path is no longer accessible. The “server”, which samba is running on, starts to write to the disk but there is no network activity and after a while the error message appears. I have looked through all the forums and so on to see if I could find an answer, but no. I have however found other users posting messages about the same problem, but never an answer that solved the problem. Is there anyone who knows how to solve this problem? Best regards // Thomas E __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] (no subject)
Hi you must write version off samba,linux and network type you use? Afther x MB stop? - Original Message - From: TE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 13, 2003 2:27 PM Subject: [Samba] (no subject) Hi everybody! Bare with me as I am pretty new to Linux and everything that goes with it. My problem consists of copying large files from my w2k client to my samba server. Files larger than ca 700 MB will, when moving ore copying to a samba share, stop in a error message that the network path is no longer accessible. The “server”, which samba is running on, starts to write to the disk but there is no network activity and after a while the error message appears. I have looked through all the forums and so on to see if I could find an answer, but no. I have however found other users posting messages about the same problem, but never an answer that solved the problem. Is there anyone who knows how to solve this problem? Best regards // Thomas E __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] (no subject)
From: [EMAIL PROTECTED] (TE) Bare with me as I am pretty new to Linux and everything that goes with it. My problem consists of copying large files from my w2k client to my samba server. Files larger than ca 700 MB will, when moving ore copying to a samba share, stop in a error message that the network path is no longer accessible. The â?oserverâ?, which samba is running on, starts to write to the disk but there is no network activity and after a while the error message appears. I have looked through all the forums and so on to see if I could find an answer, but no. I have however found other users posting messages about the same problem, but never an answer that solved the problem. Is there anyone who knows how to solve this problem? Is the error message network path is longer accessible or the network path is no longer available? If it's no longer available try this: Check your Network, maybe dulpex-mode or transfer-rate are not correctly autonegotiated. Try to set those to a fixed value for a client and the server and every managable device (switch) between them. Try to replace the network-interface-cards (NICs) in the server and the your test-client. Try different hubs/switchs or use a crossover-cable to connect server and client directly if possible. I'm one of those other users who posted about this problem. Later we found a wrong transfer-speed setting in one of the managable switches. I had contact with around 10 others during the last year who had the same error message. All of them who wrote feedback had bad network-hardware or wrong network-settings. I dont' think that this is a Samba problem. Martin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Dos To Unix?
If we drag a file from a Windows directory - say autoexec.bat and drop it onto a samba mapped Unix drive, when we then go to the Unix box and vi the file all the lines end in the DOS EOL character (^M) is there any option/configuration in samba to make it convert DOS text files to UNIX format? Brendan Flanagan Leyland Trucks Ltd, Croston Road, Leyland, PR26 6LZ Phone: 01772 625715 Email: [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] (no subject)
Sorry! The version of samba is 2.2.5 and it is running on SUSE 8.1 with kernel 2.4.19. The network is a 100 MB full duplex one, with D-link switch. To Martin Thomas reply. I will check what the exact error message is as soon as possible, that is tomorrow. If it could be hardware related, as you said, could possible the file system on the storage disk have an effect? Thanks for the fast replies // Thomas E Marian Mlcoch, Ing [EMAIL PROTECTED] wrote: Hi you must write version off samba,linux and network type you use? Afther x MB stop? - Original Message - From: TE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 13, 2003 2:27 PM Subject: [Samba] (no subject) Hi everybody! Bare with me as I am pretty new to Linux and everything that goes with it. My problem consists of copying large files from my w2k client to my samba server. Files larger than ca 700 MB will, when moving ore copying to a samba share, stop in a error message that the network path is no longer accessible. The “server”, which samba is running on, starts to write to the disk but there is no network activity and after a while the error message appears. I have looked through all the forums and so on to see if I could find an answer, but no. I have however found other users posting messages about the same problem, but never an answer that solved the problem. Is there anyone who knows how to solve this problem? Best regards // Thomas E __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Exporting samba mount via NFS
Perhaps I'm trying to do something that is not allowed, but I have found no such restriction in the documentation. To limit the contact of my Linux boxes with the products of Bill Co., I have mounted a Windows share on my Linux server. When I try to export that same share from the Linux server (as a plain old NFS volume), it mounts without error, but the mountpoint appears empty. The configuration looks something like: Directory on Mountpoint on - Mountpoint on Windows Server Linux Server Linux Client (works fine) (appears empty) Am I attempting the impossible, or have I neglected some necessary detail? Thanks in advance! Paul -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Exporting samba mount via NFS
Paul Yeager schrieb: Perhaps I'm trying to do something that is not allowed, but I have found no such restriction in the documentation. To limit the contact of my Linux boxes with the products of Bill Co., I have mounted a Windows share on my Linux server. When I try to export that same share from the Linux server (as a plain old NFS volume), it mounts without error, but the mountpoint appears empty. The configuration looks something like: Directory on Mountpoint on - Mountpoint on Windows Server Linux Server Linux Client (works fine) (appears empty) Am I attempting the impossible, or have I neglected some necessary detail? we are using the same solution, if we change server from windows to samba. - the old server is mounted to the new linux box as e.g. oldserver this is running fine. seems, that u have problems with userrights (has only root access rights?, u need x-rights 4 browsing) please check the accessrights of the directory and smbclient flags. Thanks in advance! Paul -- mit freundlichen grüssen == www.kwnet.at, one step behind future... Ing. Kurt Weiß Softwareentwicklung, EDV Beratung und - Betreuung A-6425 Haiming, Gartenweg 3 Tel.: +43 699 1 272 9926 / Fax: +43 699 4 272 9926 E-Mail: [EMAIL PROTECTED] Web: http://www.kwnet.at http://www.oberlandinfo.at === Die Krise ist ein produktiver Zustand. Man muss ihr nur den Beigeschmack der Katastrophe nehmen. Max Frisch, Schweizer Dramatiker (1911-1991) == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dos To Unix?
Hi, If we drag a file from a Windows directory - say autoexec.bat and drop it onto a samba mapped Unix drive, when we then go to the Unix box and vi the file all the lines end in the DOS EOL character (^M) Yes, and that's okay, because DOS/Windows needs it this way. If you convert it to UNIX-style it won't work under DOS/Windows anymore and you would have to convert it back DOS/Windows-style Is there any option/configuration in samba to make it convert DOS text files to UNIX format? Don't know, but i'd bet there's none because Samba shall IN NO WAY way convert/interpret a file ... I think your problem is not a real samba-problem, it's (i think) a problem of editing files in two worlds ... Brendan Flanagan Leyland Trucks Ltd, Croston Road, Leyland, PR26 6LZ Phone: 01772 625715 Email: [EMAIL PROTECTED] Greets Harry -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: samba (2.2.7a) + openldap (2.0.x)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 10 Jan 2003, C.Lee Taylor wrote: ((uid=machine_)(objectclass=sambaAccount)) where it should have been like this: ((uid=machine$)(objectclass=sambaAccount)) I am sure, but I am sure that I did a Machine Account add with 2.2.7, is this a change in 2.2.7a ... I don't remember seeing that in CVS logs ... but then I have been offline for about a month ... Nope. This wouldn't have been a change between 2.2.7 and 2.2.7a. cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2 SAMS Teach Yourself Samba in 24 Hours 2ed You can never go home again, Oatman, but I guess you can shop there. --John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+IuA2IR7qMdg1EfYRAkrXAKCkFLH28JtvIvy1CuFfucvLH1lE8wCcDMAG u3cfK4txSDgXu7C7lRyP5Kw= =vJ65 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dos To Unix?
No, as far as I know. Joel On Mon, Jan 13, 2003 at 04:05:55PM +0100, Brendan Flanagan wrote: If we drag a file from a Windows directory - say autoexec.bat and drop it onto a samba mapped Unix drive, when we then go to the Unix box and vi the file all the lines end in the DOS EOL character (^M) is there any option/configuration in samba to make it convert DOS text files to UNIX format? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] I can see the Linux box, but not it's shares.
Hello, From a W2000 command prompt, using the command net view I can see the list of all the windows machines and the one Linux Box I've set up with Samba. Yet when I try net view \\LINUXBOX I get the no-soup-for-you message: System error 5 has occurred. Access is denied. I don't remember setting up any password files for this installation of Samba, and there was no previous installations. Either I missed it in the documentation or no samba password file is required for simple operation? The accounts on the linux and windows boxes I'm trying to establish connections between have the same username and password. I downloaded the 2.2.7a tar ball, compiled and installed with all the default parameters on a Core linux distribution without any trouble or wanring messages. Next to nothing is running on the Linux machine. At first login, my bash PID is in the mid 40's. AFAIK no firewall is in operation: though I'd be up for confirming this. Information about the basic setup of the Linux box is here: http://members.rogers.com/riskweb3/Linux/ibm_linux_box_info.html, the only notable error is that the Linux Box uses a static IP address, outside the range of the DHCP server. I can post the log files if any wishes, and here is the smb.conf file: [global] netbios name = LINUXBOX workgroup = WORKGROUP log level = 2 log file = /usr/local/samba/var/samba.log server string = IBM Box in the server room security = user [public] path = /home/risk browseable = yes guest ok = yes read only = no [risk] path = /home/risk browseable = yes guest ok = yes read only = no Help? - Jamie -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dos To Unix?
According to Joel Hammer: No, as far as I know. Joel Actually, it's probably possible with some futzing with the magic script paramter, but it'd be pretty specific. Cheers, Waider. -- [EMAIL PROTECTED] / Chances are I'm not at home right now. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: I can see the Linux box, but not it's shares.
Examinitation of the log.nmbd file may have turned up something regarding the lmhosts file. Sorry to clog bandwidth before I persued every option ( I thought I had). - Jamie Jamie Risk [EMAIL PROTECTED] wrote in message avuo1b$suh$[EMAIL PROTECTED]">news:avuo1b$suh$[EMAIL PROTECTED]... Hello, From a W2000 command prompt, using the command net view I can see the list of all the windows machines and the one Linux Box I've set up with Samba. Yet when I try net view \\LINUXBOX I get the no-soup-for-you message: System error 5 has occurred. Access is denied. I don't remember setting up any password files for this installation of Samba, and there was no previous installations. Either I missed it in the documentation or no samba password file is required for simple operation? The accounts on the linux and windows boxes I'm trying to establish connections between have the same username and password. I downloaded the 2.2.7a tar ball, compiled and installed with all the default parameters on a Core linux distribution without any trouble or wanring messages. Next to nothing is running on the Linux machine. At first login, my bash PID is in the mid 40's. AFAIK no firewall is in operation: though I'd be up for confirming this. Information about the basic setup of the Linux box is here: http://members.rogers.com/riskweb3/Linux/ibm_linux_box_info.html, the only notable error is that the Linux Box uses a static IP address, outside the range of the DHCP server. I can post the log files if any wishes, and here is the smb.conf file: [global] netbios name = LINUXBOX workgroup = WORKGROUP log level = 2 log file = /usr/local/samba/var/samba.log server string = IBM Box in the server room security = user [public] path = /home/risk browseable = yes guest ok = yes read only = no [risk] path = /home/risk browseable = yes guest ok = yes read only = no Help? - Jamie -- 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] How can I restart samba?
I'm fiddling with the various configuration files to try and get Samba working - after making changes to various files I end up rebooting [shudder] the box to get the settings to take. I invoke the smbd, and nmbd binaries from a root bash command line, each with the -D option. I can't seem to send a kill SIGHUP command to the PID I read from a ps -ex command because I get the message bash: kill: SIGHUP: no such pid. Can someone give me a time saving tip? - Jamie -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Dos To Unix?
Brendan, Download and utilize the latest version of VIM. (Vi Improved) I was concerned with that issue myself, as there are a number of logon BAT files and such that I either, didn't wish to move back and forth all the time to edit, or attempt to continually remember to use the DOS2UNIX and UNIX2DOS command that ships with most releases of Linux. (I say move back and forth because I am not sharing the netlogon directory.) Anyway, one day, I just opened up a DOS Bat file with VIM and lo-and-behold, the file looked fine. I edited it and then saved it off and then opened it up in Windows. It still looked fine. Give a go, hopefully it will work fine for you. Of course, it could also be something added to the Linux distro that I am using. I am running Red Hat 7.2, in case you were wondering. I am certain that you should be able to locate the source code for VIM to then compile on whatever UNIX platform that you are using. Good luck! Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Brendan Flanagan [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 4:06 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] Dos To Unix? If we drag a file from a Windows directory - say autoexec.bat and drop it onto a samba mapped Unix drive, when we then go to the Unix box and vi the file all the lines end in the DOS EOL character (^M) is there any option/configuration in samba to make it convert DOS text files to UNIX format? Brendan Flanagan Leyland Trucks Ltd, Croston Road, Leyland, PR26 6LZ Phone: 01772 625715 Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] How can I restart samba?
Jamie Risk [EMAIL PROTECTED] wrote in message avupuf$6h6$[EMAIL PROTECTED]">news:avupuf$6h6$[EMAIL PROTECTED]... I'm fiddling with the various configuration files to try and get Samba working - after making changes to various files I end up rebooting [shudder] the box to get the settings to take. I invoke the smbd, and nmbd binaries from a root bash command line, each with the -D option. I can't seem to send a kill SIGHUP command to the PID I read from a ps -ex command because I get the message bash: kill: SIGHUP: no such pid. Can someone give me a time saving tip? - Jamie ps aux | grep smb kill -9 PID ps aux | grep nmb kill -9 PID Or just make a script for stop/start/restart :) Shaolin * This email has been checked by the altohiway e-Sweeper Service * -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Retrieveing group membership
Martin, Is there an issue with using UNIX Group ownership of directories that you are sharing amongst the users in those groups? For instance, let's say that you have a group called administration, another called tech and yet another called developers. Here you have user A, B and C. In the groups file, this is what you would need... administration:x:901:A,C (Where A,B and C are the user names) tech:x:910:A,B,C developers:x:915:B,C Let's now say that you have some folders labeled; administration, tech and developers. These folders are then shared with the same names through Samba... So, you set the group ownerships of those files to the groups you created in the UNIX Groups file... Then you will also need to change the rights to include an g+s, which would make all newly created files and sub-folders to be owned by the same group as the main folder/share. You do far more interesting and complicated nested shares and other things that I unfortunately don't have the time to explain... The really nice thing about Samba is that you are using not only the Samba permissions but also the underlying UNIX file system permissions as well. If you need something clarified, respond to all and if I am able to I will attempt to find time to answer the questions, if not I am certain someone else will be able to answer them as well. Good luck! Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Martin Peter Hanke [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 12, 2003 11:47 AM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] Retrieveing group memberships Hi, is there a possibility to include smb_{grp}.confs depending on the group membership of the user? What I figured out is I can retrieve the primary group of a user but what if a user is member of several groups let's say: user a is member of tech and administration (not domain admin!!) user b is member of dev and tech user c is member of all existing smb groups I would like to include all smb_{grp}.conf for the user. %G gives me the primary group, how do I access the other memberships? I had a couple of other hints how to solve the problem but, maybe it was the way I tried to approach the problem, non was satisfying. Greets, Martin == I. Thessalonians 4:16 Thanks, Dad, for just letting me be a nerd. We don't stop playing because we grow older, We grow older because we stop playing. Being paranoid does not mean they are not out to get you. Important Information: This is best viewed with Netscape Explorer 21.5, at 3200x1800 pixels with 8xFSAA, 48bit color, 27 TFT (16x9), and a nail in the knee. == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Please help! Updated to Redhat 8.0, now can't getsamba to work
On Sat, 2003-01-11 at 23:18, naugaranch wrote: A couple of questions, Did you re-establish user passwords in Samba? Why do you have the smb.conf line deny hosts = ALL So that when I have my internet connection up, other hosts out there cannot connect to my machine, only the ones on my local net. The next line that says hosts allow ... lets in the machines on my local net. Am I misunderstanding this? At any rate, this is exactly how I had it before I upgraded and it worked. Seems like this would reject all connections. Is the firewall running (IPCHAINS IPTABLES). If so, have you set it up properly? Hmm... I think so, but I haven't done much with the firewall since I installed, just left it with the defaults. Let me open it up wide and see what happens... Oh yes! That worked. Thank you very much! I should have thought about the firewall. I set eth0 to be a trusted device and the security level at High, so I should be pretty well set now. Thanks again. Rosina -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbclient/smbmount authentication methods
Hello, Sorry if this is a well-documented thing, but I was not able to find clear answers on this. What authentication methods are smbclient and smbmount able to use? I am trying to connect to a Windows 2000 file server, and from the packet dumps I am able to see that the protocol dialect is NT LM 0.12. Is the authentication done with LM, NTLM or NTLMv2? How can I tell the difference? I tried setting from the registry of the W2k server the LMCompatibilityLevel to 5. After this, I could not connect with either smbclient or smbmount. This would seem to say that NTLMv2 is not supported? (I have tried the Kerberos authentication support for smbclient, which is a really nice feature and works fine!) Any information would be greatly appreciated. Best regards, Antti Tikkanen -- [EMAIL PROTECTED] Helsinki University of Technology Computing Centre -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] W2K CALS AND SAMBA
Do I take a CAL of any type when using a samba client to connect to a w2k file server or view the shares on a w2k file server ? John Paciotti CompuData Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] I can see the Linux box, but not it's shares.
Have you defined a guest user in smb.conf and Linux passwd file ? Jeffrey Jamie Risk [EMAIL PROTECTED] Envoyé par : [EMAIL PROTECTED] 13/01/2003 06:05 Veuillez répondre à Jamie Risk Pour :[EMAIL PROTECTED] cc : Objet :[Samba] I can see the Linux box, but not it's shares. Hello, >From a W2000 command prompt, using the command net view I can see the list of all the windows machines and the one Linux Box I've set up with Samba. Yet when I try net view \\LINUXBOX I get the no-soup-for-you message: System error 5 has occurred. Access is denied. I don't remember setting up any password files for this installation of Samba, and there was no previous installations. Either I missed it in the documentation or no samba password file is required for simple operation? The accounts on the linux and windows boxes I'm trying to establish connections between have the same username and password. I downloaded the 2.2.7a tar ball, compiled and installed with all the default parameters on a Core linux distribution without any trouble or wanring messages. Next to nothing is running on the Linux machine. At first login, my bash PID is in the mid 40's. AFAIK no firewall is in operation: though I'd be up for confirming this. Information about the basic setup of the Linux box is here: http://members.rogers.com/riskweb3/Linux/ibm_linux_box_info.html, the only notable error is that the Linux Box uses a static IP address, outside the range of the DHCP server. I can post the log files if any wishes, and here is the smb.conf file: [global] netbios name = LINUXBOX workgroup = WORKGROUP log level = 2 log file = /usr/local/samba/var/samba.log server string = IBM Box in the server room security = user [public] path = /home/risk browseable = yes guest ok = yes read only = no [risk] path = /home/risk browseable = yes guest ok = yes read only = no Help? - Jamie -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Windows vs. samba print server comparisons
Is anyone aware or have collected any reviews/studies/thoughts/etc weighing pros and cons of windows print servers vs. samba print servers on linux/unix? Windows clients. I am more interested in performance comparisons and what features work better or worse, or not at all, rather than the licensing/cost/support issues. Thanks for any feedback, ~ Daniel --- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba 2.2.7 on Red Hat 8.0 and Windows 2000
Yes, it sounds like the same problem I had as well. Try opening up your firewall completely. Once you get samba working, set up the firewall again. I set mine up so that my ethernet connection (device eth0) is trusted. Redhat has made it easy for basic configuration of the firewall using the Security Level editor (from the System Settings submenu if you use the standard setup Redhat ships or redhat-config-securitylevel). Using that tool, set the Security Level to No firewall verify that samba is working as expected, then figure out what you want your firewall to be set at. Mine is set at High, then I customize so that eth0 is a trusted device. Alternatively, you could allow incoming to the port samba uses, but I haven't tried that -- given that I just have two machines that only I use, trusting eth0 is good enough for me ;). Rosina On Sat, 2003-01-11 at 23:18, naugaranch wrote: Jose, Sounds like the same problem I had. And related to the firewall on the RH8 box (particularly if its built as a server). Try stopping IPChains and IPTables in the services. If you can access the RH8 shares after doing this - you need help getting the firewall set up (something I have not done here and also need to learn). Tom Winfield -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jose Medrano Sent: Friday, January 10, 2003 10:27 PM To: [EMAIL PROTECTED] Subject: [Samba] Samba 2.2.7 on Red Hat 8.0 and Windows 2000 I'm traying to access my Red Hat 8.0 box from windows 2000 professional. I'm using samba 2.2.7a and I can see the linux box on the windows 2000 network , but when I click on it I get the message 'System error 53 can't find the netwok path... can some one help me please I don't have any problem accessing the windows 2000 box from my linux server. I tried both DHCP and fixed IP address and I get the same results. I use 'support Wins' on my smb.conf and the linux server IP as my wins server on the windows 2000. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] request_oplock_break: no response received to oplock break request
Hello, I've been running samba 2.0.7 for a couple years now on a DEC alpha with Tru64 4.0D. I't pertty much a default smb.conf as far as oplocks that sort of stuff. Anyway, the other day some users started having troubles with saving ms-word files. The smbd processes have always been running as root. But now the users with the problem own their smbd process. And they get errors like such in the log file: for dev = 810, inode = 17169, tv_sec = 3e22d418, tv_usec = 931fe [2003/01/13 12:46:27, 0] smbd/oplock.c:(1204) request_oplock_break: no response received to oplock break request to pid 5755 on port 1450 for dev = 810, inode = 144022 for dev = 810, inode = 144022, tv_sec = 3e22dc57, tv_usec = d9670 [2003/01/13 12:46:30, 0] smbd/oplock.c:(1204) request_oplock_break: no response received to oplock break request to pid 4265 on port 1395 for dev = 810, inode = 17312 for dev = 810, inode = 17312, tv_sec = 3e22d418, tv_usec = 887d2 [2003/01/13 12:46:30, 0] smbd/oplock.c:(1204) request_oplock_break: no response received to oplock break request to pid 5755 on port 1450 for dev = 810, inode = 144022 for dev = 810, inode = 144022, tv_sec = 3e22dc57, tv_usec = d9670 It seems since some of the smbd processes is owned by root, the process owned by the users cannot control the root owned process. Is this a correct assumption? How or why would it start doing this? And the user will have several smbd processes started in their name. Seems to be only NT4 clients, although I've not verified that yet. The only recent change I made was the IP address of the server. The client have had their new IPs for some time now. I'm not tying samba to any specific interface or IP. ANy clues as to how to fix this? Thanks -tkb -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] W2K CALS AND SAMBA
John, If I understand what MS describes a CAL to be, then ANY machine that connects to the W2K file server (for file/print access) is considered a Client that requires a CAL. This would (I believe) also be the case if you setup the W2K fileserver to allow FTP access and you used FTP to connect to it from that Linux/UNIX Samba running system you wish to have browse the W2K system. If CALs are getting you down, take a look at using Samba as a PDC and get rid of those silly CALs. I did so here and while there were a few minor hiccups, we are running quite smoothly and I can swear that file transfer times are WAY up. (I never calculated the time difference, I just don't have the time.) Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: John Paciotti [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 12:34 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] W2K CALS AND SAMBA Do I take a CAL of any type when using a samba client to connect to a w2k file server or view the shares on a w2k file server ? John Paciotti CompuData Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Running Samba twice
On Mon, 13 Jan 2003, Marian Mlcoch, Ing wrote: You must set path to pid files in your confs diferent.See conf help to do. Thankyou very much. Still doesn't work tho. Now I get bind failed on port 139 socket_addr = 0.0.0.0 Error = Address already in use. It sholdn'#t be trying to bind to 0.0.0.0 Am I missing something? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Force the user to change its password
Hi I successfully set up a PDC using samba 2.2. It really works perfect! I'd like to force all users to change their paswords on their first login. Is that possible? (On a M$ PDC this would be a special flag wich u have to activate) cheers, Raffaele -- Raffaele Sandrini [EMAIL PROTECTED] Annoyed about M$ Windows? Don't worry. Try Linux! (www.linux.org) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Running Samba twice
On Montag, 13. Januar 2003 19:44, [EMAIL PROTECTED] wrote: On Mon, 13 Jan 2003, Marian Mlcoch, Ing wrote: You must set path to pid files in your confs diferent.See conf help to do. Thankyou very much. Still doesn't work tho. Now I get bind failed on port 139 socket_addr = 0.0.0.0 Error = Address already in use. It sholdn'#t be trying to bind to 0.0.0.0 Am I missing something? Here some tips which might help you further : - you must start twice the daemons, but under different names (say, you'd make a copy of smbd and call them smbd1 and smbd2) - those copies should also use different smb.conf files, in which you would define different interfaces and bind interface only parameters - also define different pids and different log directories in those two smb.conf - also, you need two different IP adresses, which you may use IP aliases It's just an idea, but it might help Kind regards, Gerd -- -- [EMAIL PROTECTED]\\_// (. .) Powered by SuSE Linux 8.1 ---oOOo-oOOo-- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] request_oplock_break: no response received to oplockbreak request
Nope, this has nothing to do with user owned processes. What this does, mean, however, is that the users are trying to share the files with multiple computers with oplocks enabled. You should search this mailing list archive for discussions ad-nauseum about oplocks. Jan 13 1:56pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Mon, 13 Jan 2003, toby bluhm wrote: Hello, I've been running samba 2.0.7 for a couple years now on a DEC alpha with Tru64 4.0D. I't pertty much a default smb.conf as far as oplocks that sort of stuff. Anyway, the other day some users started having troubles with saving ms-word files. The smbd processes have always been running as root. But now the users with the problem own their smbd process. And they get errors like such in the log file: for dev = 810, inode = 17169, tv_sec = 3e22d418, tv_usec = 931fe [2003/01/13 12:46:27, 0] smbd/oplock.c:(1204) request_oplock_break: no response received to oplock break request to pid 5755 on port 1450 for dev = 810, inode = 144022 for dev = 810, inode = 144022, tv_sec = 3e22dc57, tv_usec = d9670 [2003/01/13 12:46:30, 0] smbd/oplock.c:(1204) request_oplock_break: no response received to oplock break request to pid 4265 on port 1395 for dev = 810, inode = 17312 for dev = 810, inode = 17312, tv_sec = 3e22d418, tv_usec = 887d2 [2003/01/13 12:46:30, 0] smbd/oplock.c:(1204) request_oplock_break: no response received to oplock break request to pid 5755 on port 1450 for dev = 810, inode = 144022 for dev = 810, inode = 144022, tv_sec = 3e22dc57, tv_usec = d9670 It seems since some of the smbd processes is owned by root, the process owned by the users cannot control the root owned process. Is this a correct assumption? How or why would it start doing this? And the user will have several smbd processes started in their name. Seems to be only NT4 clients, although I've not verified that yet. The only recent change I made was the IP address of the server. The client have had their new IPs for some time now. I'm not tying samba to any specific interface or IP. ANy clues as to how to fix this? Thanks -tkb -- 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] mapping usernames between Windows and Linux
My username is different on my Linux box than on my Windows box so I used the line username map = /etc/samba/smbusers in my smb.conf file and this file includes the line steve = steveb However when I'm logged on to my Linux box as 'steve' and use the smbclient command like this: # smbclient //Windows computer/Shared ... session setup failed: NT_STATUS_LOGON_FAILURE it still tries to log me on with my Linux username. I checked this using Ethereal. The environment variables $USER and $LOGNAME are both set to 'steve'. # smbclient //Windows computer/Shared -U steveb%my password works OK. Can someone tell me how to do this mapping correctly? I'm using samba-2.2.7-2 on a RH8.0 box. Thanks, Steve. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Running Samba twice
On Monday 13 January 2003 18:44, [EMAIL PROTECTED] wrote: On Mon, 13 Jan 2003, Marian Mlcoch, Ing wrote: You must set path to pid files in your confs diferent.See conf help to do. Thankyou very much. Still doesn't work tho. Now I get bind failed on port 139 socket_addr = 0.0.0.0 Error = Address already in use. It sholdn'#t be trying to bind to 0.0.0.0 Am I missing something? This has been covered a couple of times on this list. You should really search the archives. You will need to setup a virtual ip address, and bind each instance an individual address to start. man smbd, nmbd to figure out which options you'll need to give to the daemons. or check the archives. mark ps you could always check the archives... :) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] mapping usernames between Windows and Linux
At 10.01.2003 on 22:47 CET +0100, wrote Steve Blackwell: My username is different on my Linux box than on my Windows box so I used the line username map = /etc/samba/smbusers in my smb.conf file and this file includes the line steve = steveb Unixname = smbname You have to login as steven, which samba maps to unixuser steve. However when I'm logged on to my Linux box as 'steve' and use the smbclient command like this: # smbclient //Windows computer/Shared ... session setup failed: NT_STATUS_LOGON_FAILURE Sure, because smblient tries with steve and not steveb If there is no steve user in smbpasswd, this must fail. it still tries to log me on with my Linux username. I checked this using Ethereal. The environment variables $USER and $LOGNAME are both set to 'steve'. # smbclient //Windows computer/Shared -U steveb%my password Here you told smbclient explicit tu use your correct username, so it runs. With regards Frank Matthieß. -- Frank Matthieß[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] Running Samba twice
On Mon, Jan 13, 2003 at 07:50:31PM +0100, Gerd-Christian Michalke wrote: Marian == Marian Mlcoch, Ing [EMAIL PROTECTED] writes: Tom == [EMAIL PROTECTED] writes: Gerd == Gerd-Christian Michalke [EMAIL PROTECTED] writes: Marian You must set path to pid files in your confs diferent.See Marian conf help to do. Tom Thankyou very much. Tom Still doesn't work tho. Tom Now I get Tom bind failed on port 139 socket_addr = 0.0.0.0 Error = Address Tom already in use. Tom It sholdn'#t be trying to bind to 0.0.0.0 Tom Am I missing something? Gerd Here some tips which might help you further : Gerd - you must start twice the daemons, but under different Gerd names (say, you'd make a copy of smbd and call them smbd1 Gerd and smbd2) - those copies should also use different smb.conf Gerd files, in which you would define different interfaces and Gerd bind interface only parameters - also define different pids Gerd and different log directories in those two smb.conf - also, Gerd you need two different IP adresses, which you may use IP Gerd aliases I posted detailed instructions on how to run multiple smbd/nmbd daemons (almost a year ago). You might take a look at: http://marc.theaimsgroup.com/?t=10130473722r=1w=2 -- Eric M. Boehm /\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Deleting non empty directories
Hi! Why I can not able to delete non empty directories from WIndows clients/smbclient? Is there any solution to this or is ita bug/non supported functionin samba? Any suggestion would be appreciated. Thanks Zoltan Sutto
[Samba] Exporting a samba mount]
Anyone have experience with exporting to other Linux boxes a Windows share mounted on one Linux box? I have successfully mounted the Windows share on the Linux server box, but when I edit /etc/exports to include the new mount and run exportfs, I get error messages regarding the new export. For example, if I add this line to /etc/exports: /mnt/windows_sharesomebox(rw) I will get the following error when running exportfs: somebox:/mnt/windows_share: Invalid argument I do have other NFS exports from native local filesystems working just fine! Thanks in advance! Paul -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] MSDFS Share can't create directory from NT 4 SP6a Client
Hi, Please upgrade to the latest version of Samba 2.2.x. I think this was fixed in 2.2.4. Regards, Shirish -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Is anyone using Netsaint/Nagios to monitor SAMBA?
Hello all, Is anyone using Netsaint?Nagios to monitor SAMBA? If so, I would like more information on how you are doing this. Thanks, Mike Hall
Re: [Samba] auto start
On Tue, 2003-01-14 at 07:41, Roland Thompson wrote: Hi, I'm fairly new to both linux and samba. I'm running RH8 with Samba 2.2.7a. Samba's installed and is basically working, but can anyone tell me how I can get samba to start when linux boots up? I'm currently having to start it by running the following commands; ./usr/local/samba/sbin/smbd -D ./usr/local/samba/sbin/nmbd -D I've got the Using samba book from o'reilly, but it doesn't tell you how to set conf xinetd Thx in advance Roland You should be able to run serviceconf and put a tick next to the service you want to run - but Samba SHOULD be running by default. Either which, running serviceconf and then doing a save will ensure that it's starting at bootup - if it isn't already. Another thing to do is when it dies or if you want to restart it, is to open a term and run: service smb --full-restart Cheers! HTH -- Tue Jan 14 07:45:00 EST 2003 7:45am up 1 day, 9:31, 5 users, load average: 1.52, 0.56, 0.33 -- |____ | kuhn media australia| | / ,, /| |'-. | http://kma.0catch.com | | .\__/ || | | |=| | _ / `._ \|_|_.-' | stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | | |/ ._/ || | email: [EMAIL PROTECTED]| | |'. `\ | | |icq: 5483808 | | ;/ / | | | | | smk ) /_/| |.---.| | mobile: 0410-728-389| | ' `-`' | Berkeley, New South Wales, AU | -- * linux user:267497 * RH 7.3+ * PC/Mac/Linux/Networking/Consulting -- A lie in time saves nine. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] auto start
Thanks for the reply, but smb isn't one of the options. Any idea on how I can get it there? -Original Message- From: Kevin Kint [mailto:[EMAIL PROTECTED]] Sent: 13 January 2003 20:46 To: '[EMAIL PROTECTED]' Subject: RE: [Samba] auto start Easiest way to do it is set it to start in your service menu. As root, run setup and go to the services option, the put a check mark on smb. -Original Message- From: Roland Thompson [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 12:41 PM To: [EMAIL PROTECTED] Subject: [Samba] auto start Hi, I'm fairly new to both linux and samba. I'm running RH8 with Samba 2.2.7a. Samba's installed and is basically working, but can anyone tell me how I can get samba to start when linux boots up? I'm currently having to start it by running the following commands; ./usr/local/samba/sbin/smbd -D ./usr/local/samba/sbin/nmbd -D I've got the Using samba book from o'reilly, but it doesn't tell you how to set conf xinetd Thx in advance Roland -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] auto start
On Mon, 2003-01-13 at 12:41, Roland Thompson wrote: I'm running RH8 with Samba 2.2.7a. how I can get samba to start when linux boots up? Here are three ways: 1) if using Gnome as your desktop, click on the 'foot' - Programs - System - Service Configuration. You will be prompted for the root password, if you are not already root. Go down through the list, put a check next to 'smb'. For me, nmbd starts automatically as a consquence of smb starting. 2) from a console, you can type 'serviceconf'. This basically does exactly the same as option 1). 3) from a console (or, in case you have no GUI), you type 'ntsysv'. Again, this gives you a list of services and checkboxes; tick off 'smb'. HTH, -Gord -- Gordon Pritchard, P.Eng. | Institute of Electrical and Research Labs Manager| Electronics Engineers Simon Fraser University, Surrey | Quarter Century Wireless Ass'n [EMAIL PROTECTED] | Telephone Pioneers of America phone: 604.586.6186 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] How can I restart samba?
On Mon, Jan 13, 2003 at 11:37:54AM -0500, Jamie Risk wrote: I invoke the smbd, and nmbd binaries from a root bash command line, each with the -D option. I can't seem to send a kill SIGHUP command to the PID I read from a ps -ex command because I get the message bash: kill: SIGHUP: no such pid. kill SIGHUP pid is the wrong syntax. You want kill -HUP pid. Or you can just wait a few minutes, current versions of Samba are supposed to check the config file for changes. All UNIX signal names are SIGname, to send them to a process by signal name you use kill -name pid, without the SIG. -- Michael Heironimus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] auto start
On January 13, [EMAIL PROTECTED] said: 3) from a console (or, in case you have no GUI), you type 'ntsysv'. Again, this gives you a list of services and checkboxes; tick off 'smb'. And perhaps the best way, since it's the (current) Red Hat preferred method: open a console/root terminal and enter chkconfig smb on service smb start chkconfig --list smb will show you the current status of Samba in terms of which run levels it runs in. Practially speaking, chkconfig smb on will switch it on for the levels that matter. Cheers, Waider. -- [EMAIL PROTECTED] / Yes, it /is/ very personal of me. One or more sentences in this post have been over-leavened with sarcasm and/or irony. The author fully expects to be misunderstood because of this, you illiterate morons. He doesn't care. - AjD -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] auto start
On Mon, 2003-01-13 at 12:52, Roland Thompson wrote: Thanks for the reply, but smb isn't one of the options. Any idea on how I can get it there? If you installed RedHat's samba rpm, everything should be set to go...??? If you downloaded and compiled stuff, then I can see this happening. What you need is a file - /etc/initd.d/samba I'm including mine as a reference for you (also RH 8; short, and ASCII). Begin included samba init #!/bin/sh # # chkconfig: 345 91 35 # description: Starts and stops the Samba smbd and nmbd daemons \ # used to provide SMB network services. # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. [ ${NETWORKING} = no ] exit 0 CONFIG=/etc/samba/smb.conf # Check that smb.conf exists. [ -f $CONFIG ] || exit 0 # See how we were called. case $1 in start) echo -n Starting SMB services: daemon smbd -D daemon nmbd -D echo touch /var/lock/subsys/smb ;; stop) echo -n Shutting down SMB services: ## we have to get all the smbd process here instead of just the ## main parent (i.e. killproc) because it can take a long time ## for an individual process to process a TERM signal smbdpids=`ps guax | grep smbd | grep -v grep | awk '{print $2}'` for pid in $smbdpids; do kill -TERM $pid done ## nmbd is ok to kill using killproc() killproc nmbd -TERM rm -f /var/lock/subsys/smb echo ;; status) status smbd status nmbd ;; restart) echo -n Restarting SMB services: $0 stop $0 start echo done. ;; *) echo Usage: smb {start|stop|restart|status} exit 1 esac End Included Text -- Gordon Pritchard, P.Eng. | Institute of Electrical and Research Labs Manager| Electronics Engineers Simon Fraser University, Surrey | Quarter Century Wireless Ass'n [EMAIL PROTECTED] | Telephone Pioneers of America phone: 604.586.6186 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] auto start
I did download and compile it, now looking at your config file actually makes the book make sense. Thank you -Original Message- From: Gordon Pritchard [mailto:[EMAIL PROTECTED]] Sent: 13 January 2003 21:05 To: [EMAIL PROTECTED] Cc: 'Kevin Kint'; [EMAIL PROTECTED] Subject: RE: [Samba] auto start On Mon, 2003-01-13 at 12:52, Roland Thompson wrote: Thanks for the reply, but smb isn't one of the options. Any idea on how I can get it there? If you installed RedHat's samba rpm, everything should be set to go...??? If you downloaded and compiled stuff, then I can see this happening. What you need is a file - /etc/initd.d/samba I'm including mine as a reference for you (also RH 8; short, and ASCII). Begin included samba init #!/bin/sh # # chkconfig: 345 91 35 # description: Starts and stops the Samba smbd and nmbd daemons \ # used to provide SMB network services. # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. [ ${NETWORKING} = no ] exit 0 CONFIG=/etc/samba/smb.conf # Check that smb.conf exists. [ -f $CONFIG ] || exit 0 # See how we were called. case $1 in start) echo -n Starting SMB services: daemon smbd -D daemon nmbd -D echo touch /var/lock/subsys/smb ;; stop) echo -n Shutting down SMB services: ## we have to get all the smbd process here instead of just the ## main parent (i.e. killproc) because it can take a long time ## for an individual process to process a TERM signal smbdpids=`ps guax | grep smbd | grep -v grep | awk '{print $2}'` for pid in $smbdpids; do kill -TERM $pid done ## nmbd is ok to kill using killproc() killproc nmbd -TERM rm -f /var/lock/subsys/smb echo ;; status) status smbd status nmbd ;; restart) echo -n Restarting SMB services: $0 stop $0 start echo done. ;; *) echo Usage: smb {start|stop|restart|status} exit 1 esac End Included Text -- Gordon Pritchard, P.Eng. | Institute of Electrical and Research Labs Manager| Electronics Engineers Simon Fraser University, Surrey | Quarter Century Wireless Ass'n [EMAIL PROTECTED] | Telephone Pioneers of America phone: 604.586.6186 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Which filesystem to increase Samba performances ?
hello, i'm a new suscriber of this mailing-list, hoping i'll be able to help u. But before i've a question. I've to mount a huge file server using Samba. We bought a new server, using raid 5 technology. My question is, now i've to install on it my favorite operating system :) and i ask me which filesystem type i've to use to increase Samba performances on it, some people said me xfs, others ext3... Which one do u recommend me and why ? hoping i've been clear with my question. thanks. -- Jean-Charles Preaux (o_ //\ V_/_ Debian GNU/Linux user. E-mail : [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] Exporting a samba mount]
I am doing this without error. The only thing I can think of - and do not know if this matters - do you have smbfs compiled into the kernel of the linux server trying to export the share? -C -Original Message- From: Paul Yeager [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 3:00 PM To: [EMAIL PROTECTED] Subject: [Samba] Exporting a samba mount] Anyone have experience with exporting to other Linux boxes a Windows share mounted on one Linux box? I have successfully mounted the Windows share on the Linux server box, but when I edit /etc/exports to include the new mount and run exportfs, I get error messages regarding the new export. For example, if I add this line to /etc/exports: /mnt/windows_sharesomebox(rw) I will get the following error when running exportfs: somebox:/mnt/windows_share: Invalid argument I do have other NFS exports from native local filesystems working just fine! Thanks in advance! Paul -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] mapping usernames between Windows and Linux
You are doing it right. It maps the variable %U (the name samba gets from you on your windows box when you connect) to the UNIX name you specify. NT is the one having the problem, as it is getting your UNIX username. This is expected behavior. -C -Original Message- From: Steve Blackwell [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 4:48 PM To: [EMAIL PROTECTED] Subject: [Samba] mapping usernames between Windows and Linux My username is different on my Linux box than on my Windows box so I used the line username map = /etc/samba/smbusers in my smb.conf file and this file includes the line steve = steveb However when I'm logged on to my Linux box as 'steve' and use the smbclient command like this: # smbclient //Windows computer/Shared ... session setup failed: NT_STATUS_LOGON_FAILURE it still tries to log me on with my Linux username. I checked this using Ethereal. The environment variables $USER and $LOGNAME are both set to 'steve'. # smbclient //Windows computer/Shared -U steveb%my password works OK. Can someone tell me how to do this mapping correctly? I'm using samba-2.2.7-2 on a RH8.0 box. Thanks, Steve. -- 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] pam_smbpass Guidance
I am looking to move to encrypted passwords -- pam_smbpass looks like a very attractive option to me. However, here is my problem: the way a user FIRST logs in, 90% of the time, is in the lab, through a Win98 and Samba machine. Therefore, the user MUST be able to login with their new account/password (or for that matter, existing user account/password pre-migration) to Samba first. Our account creating procedure is the following: 1) Account is created 2) User comes to support and checks to see if account is ready 3) User changes password (from privileged account at support desk, akin to sudo) 4) User walks away and typically goes to try their account on lab PC's, or if not that time, at least will log in for his/her first time to a lab PC ...my assumption is that in this case, the password change will take care of the creation/password changing of the smbpasswd entry. However, what about accounts that are in our /etc/passwd already? Does pam_smbpass update passwords in smbpasswd WITHOUT encrypted passwords turned on (something akin to 'update encrypted'), or must I turn encryption on FIRST, thus making it impossible for any user to log onto a lab PC (and therefore not allowing them to access any other means of logging into the machine?) Also, one final question... the pam.conf entries: auth optional /lib/security/pam_smbpass.so migrate ...and... password required /lib/security/pam_smbpass.so use_authok try_first_pass / migrate ...do these only affect first logins, or does this mean any user who properly authenticates on our machines (via telnet, ssh) will have their password synced with smbpasswd? BASICALLY, to sum up... this is what I would /like/ to have happen, and maybe someone can tell me how close I can come to the ideal: 1) Compile/install Samba (Samba is currently running, but an update to 2.2.7a is in order anyway) and modify pam.conf (HP-UX) to include the above modules 2) Wait awhile for users to login through all services -- as many as possible (can a sync be triggered by, for example and imapd or pop3d login? many of our users don't bother with interactive logins), INCLUDING Samba while encrypted passwords are turned off. 3) When it appears as if enough users have logged in (so that we are not bombarded with users that cannot do Samba logins in the lab and will need assistance from staff), flip the switch as it were to start using encrypted passwords. Is all of that possible? _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Exchange data with NT Wins server
Mr. Beast, Do you need this functionality from everywhere, or just from your admin workstation? You might try adding the wins server IP of the remote subnet to your advanced TCPIP options on the NIC in windows to see if that helps. Let me know how it goes. -C -Original Message- From: Beast [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 7:15 AM To: samba Subject: Re: [Samba] Exchange data with NT Wins server At 10:30 AM 1/12/2003 -0500, Christopher Barry wrote: research these parameters: remote announce remote browse sync Thanks. but both options seems only provide browsing list to another subnet, not nbname-to-ip. With nt-wins to nt-wins replication, on win client, i can ping using netbios name (even if machine is on separate subnet and not listed in dns). ps: This list style keep breaking my mail filter and hard to reply. admin, pls add reply-to header :-) HTH -C -- 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] help
I am running Redhat 8.0. I have it networked with winxp. I was using samba successfully until today. I installed a new harddrive, cpu, and motherboard into the linux box. I transferred files as normal for a while but now im getting errors when I transfer. I get a 'path to deep' error now when I try to transfer files in the following methods: I can transfer just fine using linux from hard drive to hard drivebut when I use windows explorer I get errors going from linux drive to linux driveand windows drive to linux driveBUT not from linux drive to windows drive. Please help... Mark -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Troubleshooting Samba - (2) -Now resolved
This email appears to have been delayed somewhere in cyberspace for 4 days. The problem was resolved with support of the many helpful people on the lists. Thanks, John I am running SuSE V8.0, and Samba 2.2.7a on a small network server. I have been having problems relating to sorting out printing from an NT4 workstation to a laser printer on the Samba server. I had to reboot my Windoze PC and am logged in as myself (I have Administrator rights). I can see the shares by looking for the computer from Windows explorer using the ip 192.168.0.5 and can proceed to add the printer unsing the wizard, however it fails on trying to finish the process. I can see this PC in network neighborhood as penguin its name , but get an access denied. I did not have this access problem until I had to reboot the windows PC. I have the following entries in my lmhosts file: 192.168.0.1 p111 #P111 office 192.168.0.2 loft #Loft pc 192.168.0.5 penguin #Linux pc 192.168.0.3notebook #notebook Notebook is not connected, Loft is another linux PC and is accessible without problem, P111 is the NT PC , and penguin is the problem. From the dos prompt on the P111 I can net view 192.168.0.5, but if I try to net view penguin I get System error 59 has occurred, an unexpected network error occurred. From the linux PC penguin, smbclient -L lists all the shares on any of the PC's using ip or computer name. Any advice appreciated. John This email has been pre-scanned using the latest Anti Virus software for your peace of mind. Please remember to maintain your own anti virus up to date with the latest reference files. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Domain member in a Windows 2003 .NET network ?
Is it possible with samba 2.2.7 or samba 3.0 to join a domain with Windows 2003 (.NET server) domain ? I have try to connect a samba hosts (2.2.7a) to a Windows 2003 PDC, but the shares are not listed (smbclient -L). Martin Thole Aachen - Germany -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] add driver
Hi, I'm trying to add driver to the print$ share in Windows 2000 as a printer administrator. But after selecting Printers/Server Properties/Drivers, all tabs cannot be selected (grayed out). Is there a way I can enable them so workstations can automatically install the print drivers? The print$ path is /var/lib/samba/printers, and permission is set to 755 with user:group=root:root. I tried 777 and change group to printer admin but nothing worked. Would someone please help? Regards, Norman -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Which filesystem to increase Samba performances ?
I have been gradually moving our user storage from NT servers to RH Linux servers over the past two years, and have found the following based on our very specific needs: SGI's XFS filesystem on RedHat 7.x has been a stable platform since going into production on a machine serving 400 students last year. It is running fairly modest hardware (P3/500, non-raid UW-SCSI disks) but is able to keep up with much faster NT machines quite well, even when dealing with over 100 concurrent users. Last summer, when it came time for another server migration, I looked into EXT3 as an alternative to XFS and encountered the following: Performance with EXT3 was below that of XFS 1.1 in nearly every case, often by more than 15%. Tests were by no means scientific, but consisting of repeated cycles of file reading writing to/from NT clients. Times were measured multiple iterations with file sizes of 8K, 50K, 1Mb and 10Mb. If EXT3 had other redeeming qualities, I could have overlooked the performance issues, but it didn't: -quotas: this is something we *need* and they work nicely in XFS, but I had no success getting them to work with EXT3 on Redhat 7.3 -ACLs: this is another thing we *need*, and the situation was very similar to quotas - I had no luck getting them going. I ended up leaving the new machine with the XFS 1.1 installer version of Redhat, since I could not afford the time to get quotas and ACLs going on EXT3. Keep in mind, all the above is very specific to our environment, where flexible security (ACLs), quotas, performance, and stability are all critically important factors. On 13 Jan 2003 at 22:16, Jean-Charles Preaux wrote: hello, i'm a new suscriber of this mailing-list, hoping i'll be able to help u. But before i've a question. I've to mount a huge file server using Samba. We bought a new server, using raid 5 technology. My question is, now i've to install on it my favorite operating system :) and i ask me which filesystem type i've to use to increase Samba performances on it, some people said me xfs, others ext3... Which one do u recommend me and why ? hoping i've been clear with my question. thanks. -- Jean-Charles Preaux (o_ //\ V_/_ Debian GNU/Linux user. E-mail : [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba Shawn Wright, I.T. Manager Shawnigan Lake School [EMAIL PROTECTED] http://Zuiko.sls.bc.ca/swright http://www.sls.bc.ca -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 2.2.7a Large File Corruption
I have been dealing with an issue for the last several weeks. I have a large HP/Compaq Alpha server running 2.2.7a. I have only recently installed this version to fix a problem of transferring files over 2 GB. I am now having another problem where it seems that while it will send the file, it is corrupting it. The file that it is corrupting is an output file from another process and the output size is between 5 GB and 6 GB. Has anyone else experienced this and if so have you found anything that can be done. Thanks. John R. James, Jr. Unix Engineer FSG V IADTU Acxiom, Corporation 501-342-0455 * The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 2.2.7a Large File Corruption
On Mon, 13 Jan 2003, James John - jrjame wrote: Are you using samba _or_ smbfs? Samba's smbd will correctly handle large files so long as you have kernel 2.4.x _and_ your samba was compiled with this kernel. smbfs may have problems with large files so please be specific about your configuration and how you are using it. - John T. Samba-Team I have been dealing with an issue for the last several weeks. I have a large HP/Compaq Alpha server running 2.2.7a. I have only recently installed this version to fix a problem of transferring files over 2 GB. I am now having another problem where it seems that while it will send the file, it is corrupting it. The file that it is corrupting is an output file from another process and the output size is between 5 GB and 6 GB. Has anyone else experienced this and if so have you found anything that can be done. Thanks. John R. James, Jr. Unix Engineer FSG V IADTU Acxiom, Corporation 501-342-0455 * The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. -- John H Terpstra Email: [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] Exchange data with NT Wins server
At 05:02 PM 1/13/2003 -0500, Barry, Christopher wrote: Mr. Beast, Do you need this functionality from everywhere, or just from your admin workstation? From any clients, which point its wins server to this samba wins server. You might try adding the wins server IP of the remote subnet to your advanced TCPIP options on the NIC in windows to see if that helps. That means we should goes to every clients (500+, no dhcp, no dynamic update of dns) :-) if we have more than 2 site, where to put the rest of wins server? Let me know how it goes. idealy, samba should able to resolve any query from client. it should forward request to other wins server. tks! -C -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Oplocks_break FAILURE in 2.2.7? hmm..
Dear Samba team. I have hybrid network with MSDOS / Win9x(ME) / Win2k/XP(NT) computers at home. I'm using Samba as PDC. W9x/me clients works fine as so as with roving profiles, but I'm experiencing problems with w2k, NT4/XP just not test because i'm testing on my box at home and when it'll work fine then I'll go to clients from which smaller part has XPs installed on PC. I think if it works on w2k so will be working on XP too. My problem is nextone: Logon to domain from w2k box is OK(NO ERROR). Drives are mapped and everything works fine. Just smb_audit tells that the .Desktop.ini cannot found at directory . ?!? I'm ignoring it, but when I logout the system begin process of storing profile on Samba server and report that some files cannot be stored due to problem with share and storing on it. It tells that the process is owned by someone else. When I looked in my tty12(security console), there were put this BUG stuff: . . . Jan 14 02:59:25 Char0n smbd[10945]: [2003/01/14 02:59:25, 0] smbd/oplock.c:oplock_break(684) Jan 14 02:59:25 Char0n smbd[10945]: oplock_break: ERROR: oplock_break already sent for file Win2 K/floppy/Cookies/prf92.tmp (dev = 30e, inode = 113359, file_id = 280) Jan 14 02:59:25 Char0n smbd[10945]: [2003/01/14 02:59:25, 0] smbd/open.c:open_mode_check(600) Jan 14 02:59:25 Char0n smbd[10945]: open_mode_check: FAILED when breaking oplock (3) on file /ho me/profiles/Win2K/floppy/Cookies/prf92.tmp, dev = 30e, inode = 113359 Jan 14 02:59:28 Char0n smbd[10945]: [2003/01/14 02:59:28, 0] smbd/oplock.c:oplock_break(684) Jan 14 02:59:28 Char0n smbd[10945]: oplock_break: ERROR: oplock_break already sent for file Win2 K/floppy/Cookies/prf96.tmp (dev = 30e, inode = 113364, file_id = 432) Jan 14 02:59:28 Char0n smbd[10945]: [2003/01/14 02:59:28, 0] smbd/open.c:open_mode_check(600) Jan 14 02:59:28 Char0n smbd[10945]: open_mode_check: FAILED when breaking oplock (3) on file /ho me/profiles/Win2K/floppy/Cookies/prf96.tmp, dev = 30e, inode = 113364 Jan 14 02:59:28 Char0n smbd[10945]: [2003/01/14 02:59:28, 0] smbd/oplock.c:oplock_break(684) Jan 14 02:59:28 Char0n smbd[10945]: oplock_break: ERROR: oplock_break already sent for file Win2 K/floppy/Cookies/prf96.tmp (dev = 30e, inode = 113364, file_id = 432) Jan 14 02:59:28 Char0n smbd[10945]: [2003/01/14 02:59:28, 0] smbd/open.c:open_mode_check(600) Jan 14 02:59:28 Char0n smbd[10945]: open_mode_check: FAILED when breaking oplock (3) on file /ho me/profiles/Win2K/floppy/Cookies/prf96.tmp, dev = 30e, inode = 113364 . . . and more every logout from w2k box. I don't think I'm a linux guru so I'm not reporting this as a BUG(noone knows :), but I'd be appreciated if you can help me or explain where the fail is with this. Complete trace of login/logout Jan 14 02:48:23 Char0n pam_winbind[10735]: user 'floppy' granted acces Jan 14 02:48:24 Char0n pam_winbind[10735]: user 'floppy' granted acces Jan 14 02:48:24 Char0n samba(pam_unix)[10735]: session opened for user floppy by (uid=0) Jan 14 02:48:41 Char0n smbd_audit[10735]: VFS_INIT: vfs_ops loaded Jan 14 02:48:41 Char0n smbd_audit[10735]: connect to service public by user floppy Jan 14 02:48:41 Char0n smbd_audit[10735]: opendir . Jan 14 02:48:41 Char0n smbd_audit[10735]: open Desktop.ini (fd -1) failed: No such file or directo ry Jan 14 02:48:41 Char0n smbd_audit[10735]: opendir . Jan 14 02:48:41 Char0n smbd_audit[10735]: open Desktop.ini (fd -1) failed: No such file or directo ry Jan 14 02:48:42 Char0n smbd_audit[10735]: VFS_INIT: vfs_ops loaded Jan 14 02:48:42 Char0n smbd_audit[10735]: connect to service public by user floppy Jan 14 02:48:57 Char0n smbd_audit[10735]: disconnected Jan 14 02:49:21 Char0n smbd_audit[10735]: [2003/01/14 02:49:21, 0] smbd/oplock.c:oplock_break(684) Jan 14 02:49:21 Char0n smbd_audit[10735]: oplock_break: ERROR: oplock_break already sent for fil e Win2K/floppy/Cookies/prf85.tmp (dev = 30e, inode = 113351, file_id = 1059) Jan 14 02:49:21 Char0n smbd_audit[10735]: [2003/01/14 02:49:21, 0] smbd/open.c:open_mode_check(600 ) Jan 14 02:49:21 Char0n smbd_audit[10735]: open_mode_check: FAILED when breaking oplock (3) on fi le /home/profiles/Win2K/floppy/Cookies/prf85.tmp, dev = 30e, inode = 113351 Jan 14 02:49:28 Char0n pam_winbind[10735]: user 'floppy' granted acces Jan 14 02:49:28 Char0n pam_winbind[10735]: user 'floppy' granted acces Jan 14 02:49:29 Char0n samba(pam_unix)[10735]: session opened for user floppy by (uid=0) Jan 14 02:49:44 Char0n smbd_audit[10735]: VFS_INIT: vfs_ops loaded Jan 14 02:49:44 Char0n smbd_audit[10735]: connect to service public by user floppy Jan 14 02:49:44 Char0n smbd_audit[10735]: opendir . Jan 14 02:49:44 Char0n smbd_audit[10735]: open Desktop.ini (fd -1) failed: No such file or directo ry Jan 14 02:49:45 Char0n smbd_audit[10735]: opendir . Jan 14 02:49:45 Char0n smbd_audit[10735]: open Desktop.ini (fd -1) failed: No such file or directo ry Jan 14 02:49:45 Char0n smbd_audit[10735]: VFS_INIT: vfs_ops loaded
RE: [Samba] Exchange data with NT Wins server
Agreed. I have not encountered this situation myself. I use dns for this, and make my remotes set the ip of my samba nmbd for wins. Can anyone help this guy!!? -C On Tue, 2003-01-14 at 04:29, Beast wrote: At 05:02 PM 1/13/2003 -0500, Barry, Christopher wrote: Mr. Beast, Do you need this functionality from everywhere, or just from your admin workstation? From any clients, which point its wins server to this samba wins server. You might try adding the wins server IP of the remote subnet to your advanced TCPIP options on the NIC in windows to see if that helps. That means we should goes to every clients (500+, no dhcp, no dynamic update of dns) :-) if we have more than 2 site, where to put the rest of wins server? Let me know how it goes. idealy, samba should able to resolve any query from client. it should forward request to other wins server. tks! -C -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] help
Doctor! Doctor! I broke my leg in two places! Ahh, better stay out of those places... On Thu, 2003-01-09 at 22:16, Mark Ryan wrote: I am running Redhat 8.0. I have it networked with winxp. I was using samba successfully until today. I installed a new harddrive, cpu, and motherboard into the linux box. I transferred files as normal for a while but now im getting errors when I transfer. I get a 'path to deep' error now when I try to transfer files in the following methods: I can transfer just fine using linux from hard drive to hard drivebut when I use windows explorer I get errors going from linux drive to linux driveand windows drive to linux driveBUT not from linux drive to windows drive. Please help... Mark -- 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] import_smbpasswd.pl for samba + LDAP
Hello All! I am trying to follow the instructions to store Samba's Uer/Machine Account information in an LDAP Directory (Samba-LDAP-HOWTO.html). Is there anyone knowing how to run this Perl script: import_smbpasswd.pl in examples/LDAP directory? I don't know Perl. :( In addition, is there more information/tutorial of LDAP available on line? Thank you very much. Long-Sheng Jan 14. 03 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Issue with adding machines to domain
Okay, here's the situtation I have a samba server (2.2.3a) which is the PDC for a domain with approximately 60 windows 2000 clients. Up until recently I haven't had any problems with using it for roaming profiles and domain authentication, however since last thursday I have not been able to successfully create machine account that would work. When following the procedure that has worked before just fine on this server in the past the Windows 2000 machine takes 3-4 minutes to respond (the add to domain window is completely non-responsive) and then I get a perky message back saying You machine has been added to the CHS domain. When I restart and attempt to logon to the domain I get a message saying the domain could not be found. The entry in /etc/samba/smbpasswd looks like this: somemachine$:22712:NOPASSWD-XXX:NOPASSWD-X:[NDW ]:LCT-3E23544F: I have tried this on a variety of different systems (all 2000), systems that have been on the domain before (I removed and then attempted to re-add them), systems that have never been on the domain, and brand new installs on brand new hardware. Machines still attached to the domain can log in, browse the network, and use roaming profiles perfectly. For the life of me I swear I've gone through everything I can think of that would cause something like this to no avail. Any help that you folks can offer me would be greatly appreciated. Luke Bowerman Olympia School Distict - Olympia, WA -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
please report to samba-technical@samba.org
here you are: [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(607) spoolss_io_devmode: Unknown specversion in devicemode [0x0] [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(608) spoolss_io_devmode: please report to [EMAIL PROTECTED]! [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(607) spoolss_io_devmode: Unknown specversion in devicemode [0x0] [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(608) spoolss_io_devmode: please report to [EMAIL PROTECTED]! [2003/01/10 12:38:30, 0] rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(98) [2003/01/10 12:38:31, 0] rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(98) best regards Wolfgang Fürtbauer -- Wolfgang Fuertbauer (E-Mail: [EMAIL PROTECTED]) EBEWE Pharma Tel: ++43 7665 8123 315 Mondseestrasse 11 Fax: ++43 7665 8123 11 4866 Unterach, Austria http://www.ebewe.com
Re: [PATCH 2.2.7a] was: Samba Referrals
http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html#patches Tested the rebind stuff with ldap in round robin (master/slave) Some fixes Tar and diff -uRn textfiles available: http://www.unav.es/cti/ldap-smb/patches-ldap.tar http://www.unav.es/cti/ldap-smb/patches-ldap/ As two of the patches are for configure.in and configure.h.in, an autoconf is required before the configure. Tested in Mandrake 8.2/9.0 (Buchan Milne, C.Lee Taylor) and RedHat 7.2, kernel 2.4.x, OpenLDAP 2.0.25-27 and 2.1.7 Ignacio -- Ignacio Coupeau, Ph.D. [EMAIL PROTECTED] CTI, Director [EMAIL PROTECTED] University of Navarra [EMAIL PROTECTED] Pamplona, SPAINhttp://www.unav.es/cti/
[PATCH] samstrict_dc only patch
Hi Andrew, can you please apply the samstrict_dc only patch. people who need this can set the 'auth method' paramter and the current behavior isn't changed now. I attached a patch for HEAD and one for 3_0 thanks :-) metze - Stefan metze Metzmacher [EMAIL PROTECTED] diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=*.so --exclude=.#* --exclude=Makefile --exclude=stamp-h --exclude=configure --exclude=findsmb --exclude=*proto*.h --exclude=build_env.h --exclude=tdbsam2_parse_info.h --exclude=config.* --exclude=bin --exclude=*.configure HEAD/source/auth/auth.c HEAD-fix/source/auth/auth.c --- HEAD/source/auth/auth.c Sun Jan 5 12:16:32 2003 +++ HEAD-fix/source/auth/auth.c Mon Jan 13 09:55:53 2003 @@ -31,6 +31,7 @@ static const struct auth_init_function_e { hostsequiv, auth_init_hostsequiv }, { sam, auth_init_sam }, { samstrict, auth_init_samstrict }, + { samstrict_dc, auth_init_samstrict_dc }, { unix, auth_init_unix }, { smbserver, auth_init_smbserver }, { ntdomain, auth_init_ntdomain }, diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=*.so --exclude=.#* --exclude=Makefile --exclude=stamp-h --exclude=configure --exclude=findsmb --exclude=*proto*.h --exclude=build_env.h --exclude=tdbsam2_parse_info.h --exclude=config.* --exclude=bin --exclude=*.configure HEAD/source/auth/auth_sam.c HEAD-fix/source/auth/auth_sam.c --- HEAD/source/auth/auth_sam.c Sun Jan 5 12:16:32 2003 +++ HEAD-fix/source/auth/auth_sam.c Mon Jan 13 09:55:06 2003 @@ -480,6 +480,8 @@ static NTSTATUS check_samstrict_security unless it is one of our aliases. */ if (!is_myname(user_info-domain.str)) { + DEBUG(7,(The requested user domain is not the local server name. +[%s]\\[%s]\n, + user_info-domain.str,user_info-internal_username.str)); return NT_STATUS_NO_SUCH_USER; } @@ -498,4 +500,45 @@ NTSTATUS auth_init_samstrict(struct auth return NT_STATUS_OK; } +/ +Check SAM security (above) but with a few extra checks if we're a DC. +/ +static NTSTATUS check_samstrict_dc_security(const struct auth_context *auth_context, +void *my_private_data, +TALLOC_CTX *mem_ctx, +const auth_usersupplied_info *user_info, +auth_serversupplied_info **server_info) +{ + + if (!user_info || !auth_context) { + return NT_STATUS_LOGON_FAILURE; + } + + /* If we are a domain member, we must not + attempt to check the password locally, + unless it is one of our aliases, empty + or our domain if we are a logon server.*/ + + + if ((!is_myworkgroup(user_info-domain.str)) + (!is_myname(user_info-domain.str))) { + DEBUG(7,(The requested user domain is not the local server name or +our domain. [%s]\\[%s]\n, + user_info-domain.str,user_info-internal_username.str)); + return NT_STATUS_NO_SUCH_USER; + } + + return check_sam_security(auth_context, my_private_data, mem_ctx, user_info, +server_info); +} + +/* module initialisation */ +NTSTATUS auth_init_samstrict_dc(struct auth_context *auth_context, const char *param, +auth_methods **auth_method) +{ + if (!make_auth_methods(auth_context, auth_method)) { + return NT_STATUS_NO_MEMORY; + } + + (*auth_method)-auth = check_samstrict_dc_security; + (*auth_method)-name = samstrict_dc; + return NT_STATUS_OK; +} diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=*.so --exclude=.#* --exclude=Makefile --exclude=stamp-h --exclude=configure --exclude=findsmb --exclude=*proto*.h --exclude=build_env.h --exclude=tdbsam2_parse_info.h --exclude=config.* --exclude=bin --exclude=*.configure HEAD/source/lib/util.c HEAD-fix/source/lib/util.c --- HEAD/source/lib/util.c Sun Jan 5 12:16:33 2003 +++ HEAD-fix/source/lib/util.c Mon Jan 13 09:59:53 2003 @@ -1723,6 +1723,23 @@ BOOL is_myname_or_ipaddr(const char *s) /* no match */ return False; +} + +/*** + Is the name specified our workgroup/domain. + Returns true if it is equal, false otherwise. +/ + +BOOL is_myworkgroup(const char *s) +{ + BOOL ret = False; + + if (strequal(s, lp_workgroup())) { + ret=True; + } + + DEBUG(8, (is_myworkgroup(\%s\)
RE: please report to samba-technical@samba.org
Umm, what OS? What version of Samba? Who/what is the client (Windows version xyz?) What were the clients doing to make this happen? (if you know)... Can you make a test case? Thanks PG -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 4:21 AM To: [EMAIL PROTECTED] Subject: please report to [EMAIL PROTECTED] here you are: [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(607) spoolss_io_devmode: Unknown specversion in devicemode [0x0] [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(608) spoolss_io_devmode: please report to [EMAIL PROTECTED]! [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(607) spoolss_io_devmode: Unknown specversion in devicemode [0x0] [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(608) spoolss_io_devmode: please report to [EMAIL PROTECTED]! [2003/01/10 12:38:30, 0] rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(98) [2003/01/10 12:38:31, 0] rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(98) best regards Wolfgang Fürtbauer -- Wolfgang Fuertbauer (E-Mail: [EMAIL PROTECTED]) EBEWE Pharma Tel: ++43 7665 8123 315 Mondseestrasse 11 Fax: ++43 7665 8123 11 4866 Unterach, Austria http://www.ebewe.com
Antwort: RE: please report to samba-technical@samba.org
Server: Linux xylophon 2.4.19-64GB-SMP #1 SMP Fri Sep 13 13:15:53 UTC 2002 i686 unknown smbd -V Version 2.2.7a-SuSE Clients: Windows 2000 On 13.01.2003 14:40:55 Green, Paul wrote: Umm, what OS? What version of Samba? Who/what is the client (Windows version xyz?) What were the clients doing to make this happen? (if you know)... Can you make a test case? printing via samba and lprng; (part) of the config-file: what else can I do to test? # Samba config file created using SWAT # from fuertw.intern.ebewe.at (172.16.20.1) # Date: 2003/01/02 19:22:42 # Global parameters [global] workgroup = EBEWEAT interfaces = 172.16.4.1/255.255.0.0 security = DOMAIN encrypt passwords = Yes map to guest = Bad User password server = * name resolve order = lmhosts wins bcast host time server = Yes ; keepalive = 60 socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY os level = 100 preferred master = True wins proxy = Yes wins support = Yes kernel oplocks = No printer admin = @edv printing = lprng ; oplocks = No [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable = No Thanks PG -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 4:21 AM To: [EMAIL PROTECTED] Subject: please report to [EMAIL PROTECTED] here you are: [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(607) spoolss_io_devmode: Unknown specversion in devicemode [0x0] [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(608) spoolss_io_devmode: please report to [EMAIL PROTECTED]! [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(607) spoolss_io_devmode: Unknown specversion in devicemode [0x0] [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(608) spoolss_io_devmode: please report to [EMAIL PROTECTED]! [2003/01/10 12:38:30, 0] rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(98) [2003/01/10 12:38:31, 0] rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(98) best regards Wolfgang Fürtbauer -- Wolfgang Fuertbauer (E-Mail: [EMAIL PROTECTED]) EBEWE Pharma Tel: ++43 7665 8123 315 Mondseestrasse 11 Fax: ++43 7665 8123 11 4866 Unterach, Austria http://www.ebewe.com -- Wolfgang Fuertbauer (E-Mail: [EMAIL PROTECTED]) EBEWE Pharma Tel: ++43 7665 8123 315 Mondseestrasse 11 Fax: ++43 7665 8123 11 4866 Unterach, Austria http://www.ebewe.com
RE: OT Recent virus
-Original Message- From: John E. Malmberg [mailto:[EMAIL PROTECTED]] Virus scanners and any other automatic responders should never send out messages to mailing lists. In my own mail filters, the way I've been doing this is to never auto-respond to a message set Precendence: bulk or Precedence: list. Is this correct, or is there a better way?
Problem with nt acl support when saving Excel or Word Files
Hello! I am running a Samba 2.2.5 Server with winbind and acl support on a SuSE Linux 8.1 (Kernel 2.4.19) box. I have a problem with saving and reopening Files from a Windows2000 client with Word and Excel. The Files do not belong to the editing user even though he should have the rights to save the File because he is a member of the owning group which has rwx permissions. I have the following getent passwd output for 2 Users A and B: Admin:x:10:100:Administrator:/home/Administrator:/bin/bash A:x:20:100:User A:/home/A:/bin/bash B:x:30:100:User A:/home/A:/bin/bash ...and the following getent group output: G:x:100:A,B,Admin H:x:200:A,B I export a share /u00 with an xfs Filesystem on it. The /u00/test Directory has the following acls: # file: u00/test # owner: Admin # group: H user::rwx group::rwx mask::rwx other::--- default:user::rwx default:group::rwx default:group:G:rwx default:group:H:rwx default:mask::rwx default:other::--- The Excel File excel.xls has the following acls: # file: excel.xls # owner: A # group: H user::rwx group::rwx other::--- Now from my Win2K client when I open excel.xls as User B change something and save it again, I get the following error message from Excel: Document saved successfully. Cannot reopen the saved document due to low memory. Please close the document. The thing with the low memory is of course not true. The reason why Excel cannot reopen the document (rw) reveals if we have a look at the acls of the changed file: # file: Mobilkom-Aufstellung.xls # owner: B # group: G user::r-- user:A:rwx group::--- group:H:rwx mask::rwx other::--- ! The file now belongs to B and he has only READ permissions!! :((( ! AFAIK when saving a file Excel saves into a temporary File first. It then deletes the original File and move the temporary File to the original Filename. When I disable nt acl support I do not have the problem. I already played with various settings of create modem force create mode, ... and default acls on the /u00/test directory but nothing helped! Does anybody know a solution? Below you can find my smb.conf File: thank you in Advance Christoph Mack -- [global] workgroup = XYZ netbios name = FILESERVER security = DOMAIN encrypt passwords = Yes password server = * socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY character set = ISO8859-15 os level = 2 winbind uid = 1-2 winbind gid = 1-2 template shell = /bin/bash [u00] comment = Testshare path = /u00 read only = No inherit acls = yes inherit permissions = yes nt acl support = yes fstype = Samba
libsmbclient example compilation problems
Hello, I'm experiencing problems with compiling the libsmbclient examples (as well as my own libsmbclient test programs). It seems like there are some problems with the include files, as I get following errors: gcc -I../../source/include -c -o testsmbc.o testsmbc.c In file included from testsmbc.c:30: ../../source/include/libsmbclient.h:199: field `cli' has incomplete type ../../source/include/libsmbclient.h:201: parse error before `BOOL' (and about 500 lines more :) I'm using gcc-3.2.2, but I'm receiving same errors with gcc-3.0.4 and 2.95.4. Any help will be appreciated. -- Tuomas Niinimäki [EMAIL PROTECTED]
Re: libsmbclient example compilation problems
On Mon, 13 Jan 2003, Tuomas Niinimäki wrote: Hello, I'm experiencing problems with compiling the libsmbclient examples (as well as my own libsmbclient test programs). It seems like there are some problems with the include files, as I get following errors: gcc -I../../source/include -c -o testsmbc.o testsmbc.c In file included from testsmbc.c:30: ../../source/include/libsmbclient.h:199: field `cli' has incomplete type ../../source/include/libsmbclient.h:201: parse error before `BOOL' (and about 500 lines more :) Which version of Samba are you using? Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com
Re: libsmbclient example compilation problems
On Mon, 2003-01-13 at 21:01, Richard Sharpe wrote: Which version of Samba are you using? Hmm, version seems to be samba-2.999+3.0.alpha21, actually this is source package from unstable debian. Perhaps I should try something earlier and more stable :) -- Tuomas Niinimäki [EMAIL PROTECTED]
Re: libsmbclient example compilation problems
On Mon, 13 Jan 2003, Tuomas Niinimäki wrote: On Mon, 2003-01-13 at 21:01, Richard Sharpe wrote: Which version of Samba are you using? Hmm, version seems to be samba-2.999+3.0.alpha21, actually this is source package from unstable debian. Perhaps I should try something earlier and more stable :) OK, so it is the Samba 3.0 stuff that Vorlon got into Debian. I thought that we fixed that. Let me look into it some more. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com
Re: libsmbclient example compilation problems
On Mon, 13 Jan 2003, Tuomas Niinimäki wrote: On Mon, 2003-01-13 at 21:01, Richard Sharpe wrote: Which version of Samba are you using? Hmm, version seems to be samba-2.999+3.0.alpha21, actually this is source package from unstable debian. Perhaps I should try something earlier and more stable :) OK, I see the problems. Samba 3.0.x is not in sync with Samba head. Try pulling samba-head, and in the mean time, I will do my janitorial duties. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com
Change Notification
Jeremy, I'm having problems with change notification in Samba 2.2.x under Linux since you changed the signal handling stuff some time ago. An application I'm using always complains about missing change notification, although it used to work. I always failed to find out what's wrong, but now I know :-) What is happening is that Samba receives a change notification signal from the Linux kernel and sometimes simply does not process it, which means that no further signals will be send by the Kernel (DN_MULTISHOT isn't set) for the same event. Processing of the received signal happens for file rename and delete in but not for copying. In reply.c/reply_write_and_X() I added a call to process_pending_change_notify_queue((time_t)0); and now change notification works again for my testcase here. I'm sure you now a better place where process_pending_change_notify_queue() should go to catch file copy events :-) ..Juergen
Re: Change Notification
On Mon, Jan 13, 2003 at 11:06:46PM +0100, Juergen Hasch wrote: Jeremy, I'm having problems with change notification in Samba 2.2.x under Linux since you changed the signal handling stuff some time ago. An application I'm using always complains about missing change notification, although it used to work. I always failed to find out what's wrong, but now I know :-) What is happening is that Samba receives a change notification signal from the Linux kernel and sometimes simply does not process it, which means that no further signals will be send by the Kernel (DN_MULTISHOT isn't set) for the same event. Processing of the received signal happens for file rename and delete in but not for copying. In reply.c/reply_write_and_X() I added a call to process_pending_change_notify_queue((time_t)0); and now change notification works again for my testcase here. I'm sure you now a better place where process_pending_change_notify_queue() should go to catch file copy events :-) Can you give me more details please about where smbd is missing the signal ? smbd should not be able to miss these signals, as all they do is set a flag that is then processed inline in the main loop. Please give me more details asap. Thanks, Jeremy.
Re: Change Notification
Below is my test program, nothing special: /* test change notification */ #include windows.h #include stdio.h int main() { DWORD dwWaitStatus; HANDLE dwChangeHandles[1]; dwChangeHandles[0] = FindFirstChangeNotification( i:\\TEST, // directory to watch FALSE, // do not watch the subtree FILE_NOTIFY_CHANGE_FILE_NAME); // watch file name changes if (dwChangeHandles[0] == INVALID_HANDLE_VALUE) exit(GetLastError()); printf(Starting change notification\n); // Change notification is set. Now wait on both notification // handles and refresh accordingly. while (TRUE) { dwWaitStatus = WaitForMultipleObjects(1, dwChangeHandles, FALSE, INFINITE); printf(.); switch (dwWaitStatus) { case WAIT_OBJECT_0: if (FindNextChangeNotification( dwChangeHandles[0]) == FALSE ) exit(GetLastError()); break; default: printf( Change notify failure\n); exit(0); break; } } return 0; } I can't tell you if the change I made to reply.c completely solves my problem , I'll need to test this at work. But what I found out would explain the effects I had. ...Juergen
Re: Change Notification
On Mon, Jan 13, 2003 at 11:39:27PM +0100, Juergen Hasch wrote: Can you give me more details please about where smbd is missing the signal ? smbd should not be able to miss these signals, as all they do is set a flag that is then processed inline in the main loop. Please give me more details asap. For testing I have a simple windows program to activates change notification for a given directory on the Samba side. I can then see what is happening when I copy, remove or delete files (this is what I tested). The Samba server is Suse 8.1 with the latest 2.4 kernel and Samba 2_2 CVS, my client is a W2K WS. When I check the signal_handler() function in notify_kernel.c I can see, that after starting a new smbd I get a signal when I copy/move/delete a file. For copy this happens only once, for rename/delete signal_handler is called every time. When I check the kernel_remove_notify() / kernel_register_notify() functions which have to be called every time after a signal is received, they only get called for move or delete operations. So if I'm understanding you correctly this is actually a kernel bug - correct ? Can you point me at the areas in the kernel source where the problem occurs so I can see how to make smbd work around it until we get the kernel fixed. Jeremy.
Re: please report to samba-technical@samba.org
On Mon, Jan 13, 2003 at 08:40:55AM -0500, Green, Paul wrote: [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(607) spoolss_io_devmode: Unknown specversion in devicemode [0x0] [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(608) spoolss_io_devmode: please report to [EMAIL PROTECTED]! Umm, what OS? What version of Samba? Who/what is the client (Windows version xyz?) What were the clients doing to make this happen? (if you know)... Can you make a test case? Even better would be a capture (either with tcpdump or Microsoft netmon) of this exchange. Tim.
Re: OT Recent virus
David Brodbeck wrote: From: John E. Malmberg [mailto:[EMAIL PROTECTED]] Virus scanners and any other automatic responders should never send out messages to mailing lists. In my own mail filters, the way I've been doing this is to never auto-respond to a message set Precendence: bulk or Precedence: list. Is this correct, or is there a better way? I would assume so. I would expect that if a virus scanner was any good, it would be set that way by default. -John [EMAIL PROTECTED] Personal Opinion Only
Re: [PATCH] trans2 querypathinfo alt name
On Thu, Jan 09, 2003 at 05:07:50PM +0100, Stefan (metze) Metzmacher wrote: Hi Jerry, I noticed that if I'm using MS Access 97 on a NT4 machine I can't access to database files witch are in directories 12 chars, but if I do the same thing on an w2k or NT4 server is works. I see that the respond to the query alt file name call send a mangle name in unicode with termination. but the windows servers didn't send the termination I also wonder why we set the LONG FILE NAMES are in use flag in the SMB HEADER flags2 this is also different to windows... I attache a small patch and a view sniffs Did this patch fix the problem ? I'm investigating this at the moment. Thanks, Jeremy.
Re: recursive mutexes in appl_head winbindd_cm.c?
On Tue, Jan 14, 2003 at 05:25:20PM +1100, Tim Potter wrote: On Sat, Jan 11, 2003 at 01:11:14AM +, [EMAIL PROTECTED] wrote: On Fri, Jan 10, 2003 at 05:31:48PM +1100, Martin Pool wrote: Here's my idea for fixing this in appliance-head, without reworking the mutex reference count. Thanks for that - I've just checked in something close to this. Take a look and let me know... I think I've figured out what the problem is. There can be only one outstanding challenge per IP address so the mutex needs to be around the ServerReqChallenge and ServerAuthenticate2 calls. A short test program confirms this. If I open two cli handles to the same domain controller and perform two ServerReqChallenge calls then two ServerAuthenticate2 calls, both authentications fail with access denied. Performing the authentications immediately after the challenge requests works correctly. Err - do you mean the mutex must look like : get_mutex: ServerReqChallenge ServerAuthenticate2 release_mutex: Just checking :-). Jeremy.
Re: recursive mutexes in appl_head winbindd_cm.c?
On Sat, Jan 11, 2003 at 01:11:14AM +, [EMAIL PROTECTED] wrote: On Fri, Jan 10, 2003 at 05:31:48PM +1100, Martin Pool wrote: Here's my idea for fixing this in appliance-head, without reworking the mutex reference count. Thanks for that - I've just checked in something close to this. Take a look and let me know... I think I've figured out what the problem is. There can be only one outstanding challenge per IP address so the mutex needs to be around the ServerReqChallenge and ServerAuthenticate2 calls. A short test program confirms this. If I open two cli handles to the same domain controller and perform two ServerReqChallenge calls then two ServerAuthenticate2 calls, both authentications fail with access denied. Performing the authentications immediately after the challenge requests works correctly. Thanks to Andrew Bartlett for pointing out the obvious. (-: Tim.
Re: Change Notification
[EMAIL PROTECTED] wrote: So if I'm understanding you correctly this is actually a kernel bug - correct ? Can you point me at the areas in the kernel source where the problem occurs so I can see how to make smbd work around it until we get the kernel fixed. No it's Samba receiving a signal from the kernel, but not processing it further inside Samba. In notify_kernel/signal_handler() signals_received gets increased when a change notification is received from the kernel. Now the change notification for this type of event (e.g. copy/ rename/delete...) needs to be processed inside Samba. This is done in process_pending_change_notify_queue() which is called from a few places inside e.g. reply.c. This is not happening for file copy in my test setup here (using the copy command in windows). This means the kernel change notification is no longer active for this type of event, because it needs to be restarted in notify_kernel.c/kernel_register_notify(). Eventually process_pending_change_notify_queue() is called by chance and the received change notification signal gets processed at a later random time. So I think Samba forgets to call process_pending_change_notify_queue() after a copy operation, so a Windows application waiting for a change notification doesn't get noticed or only after some time when other file operations triggered the process_pending_change_notify_queue() call. ...Juergen
Antwort: Re: please report to samba-technical@samba.org
On 13.01.2003 23:36:08 Tim Potter wrote: On Mon, Jan 13, 2003 at 08:40:55AM -0500, Green, Paul wrote: [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(607) spoolss_io_devmode: Unknown specversion in devicemode [0x0] [2003/01/08 08:26:20, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(608) spoolss_io_devmode: please report to [EMAIL PROTECTED]! Umm, what OS? What version of Samba? Who/what is the client (Windows version xyz?) What were the clients doing to make this happen? (if you know)... Can you make a test case? Even better would be a capture (either with tcpdump or Microsoft netmon) of this exchange. I would do that; but as far as I can see this behaviour happened only once; Wolfgang -- Wolfgang Fuertbauer (E-Mail: [EMAIL PROTECTED]) EBEWE Pharma Tel: ++43 7665 8123 315 Mondseestrasse 11 Fax: ++43 7665 8123 11 4866 Unterach, Austria http://www.ebewe.com
CVS update: samba/source/libsmb
Date: Mon Jan 13 08:53:54 2003 Author: abartlet Update of /data/cvs/samba/source/libsmb In directory dp.samba.org:/tmp/cvs-serv15419/libsmb Modified Files: smbencrypt.c Log Message: Don't force the DOS password into a 14 char space, as this would imply null termination - the password will not be null terminated before hashing if len = 14. related to debian bug #157432 Andrew Bartlett Revisions: smbencrypt.c1.81 = 1.82 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/smbencrypt.c?r1=1.81r2=1.82
CVS update: samba/source/auth
Date: Mon Jan 13 12:21:07 2003 Author: abartlet Update of /data/cvs/samba/source/auth In directory dp.samba.org:/tmp/cvs-serv32459/auth Modified Files: auth_util.c Log Message: Fix to debian bug #171071 - we had the wrong dereference on the pointer to be Realloc()ed, causing it to fail. Big thanks to Sandor Sonfeld [EMAIL PROTECTED] for the debug, stack and valgrind traces! Andrew Bartlett Revisions: auth_util.c 1.59 = 1.60 http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_util.c?r1=1.59r2=1.60
CVS update: samba/source/lib
Date: Mon Jan 13 12:42:20 2003 Author: abartlet Update of /data/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv2749/lib Modified Files: data_blob.c util.c util_str.c Log Message: Accessing data after it's been free()ed really is a no-no... Andrew Bartlett Revisions: data_blob.c 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/data_blob.c?r1=1.2r2=1.3 util.c 1.384 = 1.385 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util.c?r1=1.384r2=1.385 util_str.c 1.72 = 1.73 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_str.c?r1=1.72r2=1.73
CVS update: samba/source/include
Date: Mon Jan 13 12:48:37 2003 Author: abartlet Update of /data/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv2851/include Modified Files: includes.h rpc_dce.h Added Files: ntlmssp.h Log Message: Updates to our NTLMSSP code: This tries to extract our server-side code out of sessetup.c, and into a more general lib. I hope this is only a temporay resting place - I indend to refactor it again into an auth-subsystem independent lib, using callbacks. Move some of our our NTLMSSP #defines into a new file, and add two that I found in the COMsource docs - we seem to have a double-up, but I've verified from traces that the NTLMSSP_TARGET_TYPE_{DOMAIN,SERVER} is real. This code also copes with ASCII clients - not that we will ever see any here, but I hope to use this for HTTP, were we can get them. Win2k authenticates fine under forced ASCII, btw. Tested with Win2k, NTLMv2 and Samba's smbclient. Andrew Bartlett Revisions: ntlmssp.h NONE = 1.1 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/ntlmssp.h?rev=1.1 includes.h 1.289 = 1.290 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h?r1=1.289r2=1.290 rpc_dce.h 1.26 = 1.27 http://www.samba.org/cgi-bin/cvsweb/samba/source/include/rpc_dce.h?r1=1.26r2=1.27