[Samba] domain users in local groups with Winbind/Samba/Redhat
Hi all, Sorry to mislead you, but I hope you're on the right track now. No problem.Your answer was the first thing which really helps me on my project. My problem is, my server is in an NT 4 resource domain and I can't create domain global groups with members from account domains in it. I have the same problem Probably it works with NT global groups. But I don't have access to any PDC in my domain. I can't assimilate the domain or even one global group in this domain so that it suit my requirements. I am working on a project which rebuilds an Windows NT Dataserver. Because of cost and stability reasons we had the idea to migrate from Windows NT to Linux/Samba. Unfortunately the guidelines of this project contain things like comfortable administration and a smoothly change between the systems. So after finishing this project non-unix experts have to administrate this system. Without local groups it doesn't seems to be very practical to accomplish this migration. Probably we have to retain Windows NT. Hopefully the local group feature will be available on Samba 3.0 at any time. Thank you very much for your help. This saved me a lot of time. Greetings Matthias -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba installed: but not working - Please help!
Hi all! Hope you're doing great. I just installed samba (2.2.7a) on a solaris(5.7) database server and while installation, I did not get any errors. I can also see the box listed in the Network neighborhood of my win2k machines. But when I click on the listed name to open it, I get the error Network path not found I cant figure why this happening? For installation I followed a step-by-step guide I downloaded from kempston.org which for a newbie like me, really helped a lot which is here: http://www.kempston.net/solaris/samba.html. Can someone please help! Thanks a lot! shal -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] cupsaddsmb - why the heck can't I getrpcclient-addprinterto work?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Johnson wrote: hi Brian, cups-1.1.14-15.2 This is your problem. Update to cups 1.1.18 and it will work like a charm. Had the same problem last week... *g* P.S.: This list is indeed _very_ helpfull! Thanks a lot! Cheers Nicki - -- Linksystem Muenchen GmbH [EMAIL PROTECTED] Schloerstrasse 10 http://www.link-m.de 80634 Muenchen Tel. 089 / 890 518-0 We make the Net work. Fax 089 / 890 518-77 -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com Comment: Get my key at: https://www.link-m.de/pgp/n.messerschmidt.asc iQA/AwUBPlXuJes1nPm17iBDEQJcrQCg8Lk2iZtD4KIxNO2AA8BIVWCzSWMAnReK 5S+X4m621A/jVK3B/qR5bXXT =Y5J+ -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] Joining Samba 3.0 to a pure Active Directory
On Thu, 20 Feb 2003, Alexander Skwar wrote: Hello. I'd like to join a Samba 3.0 alpha 21 server running on RedHat 8.0 to an Active Directory. This AD does NOT support Windows NT 4.0 Domains. In a previous mail, I've been asked if I already have Kerberos setup and tested. I don't. How do I test if Kerberos is working correctly for me? As someone suggested, use 'kinit username@REALM'. You asked in another post how to find out your KDC server: every domain controller is also a KDC, so you should use that. If you get a Kerberos TGT, you have Kerberos working. If everything is working fine, I'd like the Samba server to join the AD europe.delphiauto.net. For this, I should type net ads join. How do I specify, which AD is to be joined? In your smb.conf, you should have the lines: security = ADS realm = YOUR_KERBEROS_REALM.EXAMPLE.COM ads server = your_domain_controller.example.com And if this is also working, I'd like to be able to login to the Samba server with a username/password which is ONLY in the AD. Do I need any special privileges in the AD for the server? I don't know what you mean by special privileges, but I think not. When doing 'net ads join', you must have a TGT for a user that has the required privileges to add a machine account and alter some attributes (a Domain Admin account will do). When this is also working, I'd like offer shares. However, not every user should be allowed to mount every share - IOW: restriction should be done on a per user basis. If I maintain a local smbpasswd, I know that this shouldn't be a problem - but what if I use AD to do the authentication? Restrictions can be done on a per user basis, see 'man smb.conf', especially things such as 'valid users'. When you use 'security = ADS', this is also not a problem. Antti -- [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
Re: [Samba] Re: Novell EDirectory as LDAP backend
Yes, 8.6.3 on a RH 7.3 to be precise. I am using 8.7 on RH 7.3. Works pretty good. I have not yet tried to integrate cups but user authentification (unix login) is done via pam_ldap, i just have some problems getting password syncronisation running, users can alt-ctrl-del an change their windows password, but I want to set the user unix password too. That works for me, too. Concerning the passwd sync, have a look at the passwd program, passwd chat and unix passwd sync options in smb.conf. Since I use eDirectory with ldap to authenticate users login into the machine, I wanted to use the pam password change = true setting, but I can not change passwords (even with passwd) at all: LDAP password information update failed: DSA is unwilling to perform but that looks like an eDirectory or EPERM problem. The only thing that does not work is to ldapadd or ldif import users with objectClass sambaAccount. sambaAccount is an auxiliary class, i think you do need a real object class (like user). Take a look with the Schema Manager (ConsoleOne) at the user class, and the needed attributes (IIRC there are 4). I have a real object. Are you able to add/import a user object with sambaAccount on your system? If so, can you provide a working ldif sample that works for you. The 2.2.7 smbldap-*.pl scripts do not work for me too. I appended a diff from a working version. I have tried the following w/o success. Create a working posixAccount/sambaAccount user with c1. Export it using the export wizard. Delete the object and try to reimport it. - object class violation Ok that is rather odd ;) -- Stefan Völkel[EMAIL PROTECTED] Millenux GmbH mobile: +49.170.79177.17 Lilienthalstraße 2 phone: +49.711.88770.300 70825 Stuttgart-Korntal fax: +49.711.88770.349 -= linux without limits -=- http://linux.zSeries.org/ =- --- smbldap-useradd.pl Thu Feb 13 15:25:59 2003 +++ /usr/share/doc/samba-2.2.7a/examples/LDAP/smbldap-tools/smbldap-useradd.pl Wed +Dec 11 10:17:23 2002 @@ -1,7 +1,5 @@ #!/usr/bin/perl -# $Id: smbldap-useradd.pl,v 1.23 2002/07/24 11:51:35 gmacinen Exp $ -# # This code was developped by IDEALX (http://IDEALX.org/) and # contributors (their names can be found in the CONTRIBUTORS file). # @@ -159,7 +157,7 @@ $userName .= \$; } -print About to create machine $userName:\n; +#print About to create machine $userName:\n; if (!add_posix_machine ($userName, $userUidNumber, $userGidNumber)) { die $0: error while adding posix account\n; @@ -196,10 +194,10 @@ my $tmpldif = dn: uid=$userName,$usersdn -objectclass: inetOrgPerson +objectclass: top +objectclass: account objectclass: posixAccount cn: $userName -sn: $userName uid: $userName uidNumber: $userUidNumber gidNumber: $userGidNumber @@ -271,7 +269,8 @@ my $tmpldif = dn: uid=$userName,$usersdn changetype: modify -objectClass: inetOrgPerson +objectclass: top +objectclass: account objectclass: posixAccount objectClass: sambaAccount pwdLastSet: 0 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] How to protocol file changes, deletions
Hi all, I am new to this list and have a particular problem, which I cannot get info on: We have several departments and those have rw access to their respective shares. Every once in a while, users inadvertently delete a directory and somebody will eventually contact me to restore this directory from the backup. I would really like to find out who is deleting such directories or files as to correct the situation through training or otherwise. Can this be done by changing the log level or do I need secondary software to monitor such changes / deletions? Any suggestions are greatly appreciated! Cheers from Munich, vmanns -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] How to protocol file changes, deletions
There are a couple of vfs modules which might be helpful. vfs_recycle and vfs_audit. Unfortunately I don't know much about them, but they have been discussed on the list quite a few times, so searching the archives for those two items will help to get you started. mark ps I had a good time in Munich when I went for Oktoberfest! At least I think I did. mark On 2003.02.21 11:36 V. Manns wrote: Hi all, I am new to this list and have a particular problem, which I cannot get info on: We have several departments and those have rw access to their respective shares. Every once in a while, users inadvertently delete a directory and somebody will eventually contact me to restore this directory from the backup. I would really like to find out who is deleting such directories or files as to correct the situation through training or otherwise. Can this be done by changing the log level or do I need secondary software to monitor such changes / deletions? Any suggestions are greatly appreciated! Cheers from Munich, vmanns -- 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] Using working devmode from windows clients on sambaserver?
Any luck with this? Not yet. Sorry. Give me till Monday. Also, remote Samba printer means the actual samba printer, not one installed on the client, right? So I could give the remote Samba printer a working devmode on the server and *new* clients can do the automatic driver download and have a working devmode already set? Yup. Question again... once this is complete, will the copied devmode be set for new printers when admin selects the driver from the drop down box (Properties, Advanced tab, Driver:), or would admin need to run your program to copy a devmode each time the new print share is created? Thanks, ~ 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
[Samba] Maintain file ownership when saving office documents
Hello. If a user stores an existing office document on a samba share, he takes ownership of it automatically. Office writes a new file. (Different inode, same name) Is there a possibility of going this round and keeping the owner? MfG Tobias Leers -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] winbind support for messengers
hii, i have configured winbind with squid. and it gives good result. but i can't use messengers. when i run squid with winbind enable, then users get most of the websites they want but they cannot retrive or run messengers. what can be the reason? does winbind not support messengers? can anyone help me to make messengers working with winbind? dhaval. _ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] can one samba be a DC for two domains?
hi, is it possible to use one samba to be a domain controller for two or more domain (with openldap) or I have to use two different machine (since on the same machine I can't run two instance of samba:-() thanks in advance. -- Levente Si vis pacem para bellum! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] cupsaddsmb - why the heck can't I get rpcclient-addprinterto work?
[Samba] cupsaddsmb - why the heck can't I get rpcclient-addprinter to work? Brian Johnson bjohnson at jecinc.on.ca Fri Feb 21 04:16:15 GMT 2003 cups-1.1.14-15.2 Please upgrade to CUPS-1.1.18+ to make cupsaddsmb work with Samba-2.2.7a+ Please stick to the settings suggested in man cupsaddsmb, if your own ideas don't work. samba-2.2.7-1.7.3 Educate me please ... I can't... ;-) man rpcclient shows: setdriver printername drivername - Execute a SetPrinter() command to update the printer driver associated with an installed printer. The printer driver must already be correctly installed on the print server. See also the enumprinters and enumdrivers commands for obtaining a list of of installed printers and drivers. This sounds like the printer must already be installed - how is that done if not via addprinter? The setdriver command is meant to associate a different driver to a printer. The members of the driver/printer pair to be chosen must be mapping to the lists of drivers and printers enumerated by the enumdrivers and enumprinters commands. Currently, if I use enumprinters and enumdrivers (without a level setting), I get a listing of installed drivers and installed printers. If I run setdriver for each of the printer/driver pairs, will it work? If you didn't get an error message, it should work. rpcclient -c enumprinters 2 should list the new driver after the fact. To get the clients to work with a new driver (if it had one already), you will have to delete the printer first there (my experience). After that, *you* *will* *have* *to* *delete* *the* *old* *driver* *too* *!* [To do this fast, right-click on the *background* of the printers folder, select server properties and hangle yourself to the tab/menu/dialog (not sure if it is the same in Win NT) to remove the driver files in question. Only then will the registry entries be cleansed. If you don't do that, there is the danger, that Windows will re-install the *old* drivers with your second attempt.] I just did it but don't have a windows client to test it against until tomorrow (I'm connected remotely via a ssh terminal) Please tell us how it works out. Kurt Pfeifle (kpfeifle at danka.de) wrote*: Date: Thu, 20 Feb 2003 20:11:21 + From: Brian Johnson bjohnson at jecinc.on.ca To: samba at lists.samba.org Subject: [Samba] cupsaddsmb - why the heck can't I get rpcclient-addprinter to work? Message-ID: 20030220.57L.51223600 at 192.168.0.1 Content-Type: text/plain;charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: list Message: 39 I can't seem to get the rpcclient-addprinter to work - grr Which versions of software are you using? Samba, CUPS? Which OS? It looks like the drivers files are copied correctly and the NT drivers are added correctly but the addprinter command says it's unsuccessful! cupsaddsmb - why the heck can't I get rpcclient-addprinter to work? Maybe because your CUPS/cupsaddsmb version is too old ? The addprinter rpcclient command formerly used by cupsaddsmb has long been replaced by the setdriver command... Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] XP needs ~30seconds to open network share
Try disabling the WebClient under services of the XP clients. XP first tries to use webdav to connect to the share when that times out it will then use smb. If that really improves the reconnection speeds when using deadtime for example, please include this tip in the samba documentation. Near the sign or seal registry tips would be a good place imo. Did anyone test the difference in connection times? At my location we use kixart scripts to connect to 10+ shares when logging on to the smb PDC, any tips? Regards, | | Leroy(dot)vanLogchem (at) wldelft(dot)nl | Systems Group | WL | Delft Hydraulics - http://www.wldelft.nl | Hi, WebClient is disabled but XP takes more than 10 seconds to open a share. Is it normal? Toni Guedes - Informática/CPD Max Love Cosméticos Ltda. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP needs ~30seconds to open network share
Try disabling the WebClient under services of the XP clients. XP first tries to use webdav to connect to the share when that times out it will then use smb. If that really improves the reconnection speeds when using deadtime for example, please include this tip in the samba documentation. Near the sign or seal registry tips would be a good place imo. Did anyone test the difference in connection times? At my location we use kixart scripts to connect to 10+ shares when logging on to the smb PDC, any tips? Regards, | | Leroy(dot)vanLogchem (at) wldelft(dot)nl | Systems Group | WL | Delft Hydraulics - http://www.wldelft.nl | -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is Samba made for trash?!? Newp.
By then, we discovered that if we disabled all oplocks, we got no more corruption. I posted here weeks ago problems regarding Excel 97 file corruption. I finally disabled oplocks then. But day passing, I had new problems with Word 97 :-/ (new posts here, mainly not answered but a tip on how to get clients at same time that servers... -NET command usage...): Many times a day, clients here when oppening a MS Word 97 document have it in READ ONLY mode, but seems no reason fort that!! I recently put oplocks *back* ON *but* with veto-ing excel files... I hope this change could solve de pb.. Waiting for changes, I read again docs about oplocks (Samba HOWTO Collection -R-O-X-, O'Reilly and SAM'S books too) Again and again but as Jeremy says thereafter, seems a problem *in* Word 97 ... Maybe I'll have to patch it (it's original version, just patched with Euro Font Fix, nothing more, maybe the source of the problems? -Idem with Excel) That Samba file server has been incredibly stable, serving terabytes of data to almost 100 clients. We've seen no file corruption since that day. You'll find many admins who agree with me - Samba rocks! Same opinion here. Samba works like a charm. We got 2.2.3a Debian woody stable release (damm when will they upgrade at debian?? ;-)). -- Jean-Paul ARGUDO -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] cannot delete non-empty directory
Hi, I have the following problem. I'm sitting on a WinXP comp and want to delete a non-empty directory out of my [Home] share. I am using samba 2.2.7a on a Suse8.0 and I installed the rpms from http://de.samba.org/samba/ftp/Binary_Packages/SuSE/i386/8.0/ I did useradd -a for the appropriate user and I can access my Home-Dir and read and write to it. I put my smb.conf at the end of the mail (see below). Unfortunately I cannot delete non-empty directories. If I delete every file and directory inside a directory I can finally delete it... What am I doing wrong? What do I have to do to get rid of this feature? André. smb.conf --- # Global parameters [global] workgroup = HS18 server string = File-Server interfaces = eth2 encrypt passwords = Yes os level = 99 preferred master = Yes domain master = Yes wins support = Yes hosts allow = 192.168.0.0/255.255.255.0 printing = lprng [homes] comment = Home Directories valid users = %S read only = No create mask = 0640 directory mask = 0750 browseable = No [drive_d] path = /mnt/grave/drive_d valid users = andrew read only = No browseable = No [backup] path = /backup valid users = andrew read only = No browseable = No --- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Encrypted Password/Auth Problem?
Here's one that's been bugging me for days. I have two Win2k workstations. One can still map a drive to my Samba server, but the other can't. The one that can't used to for a while, but I must have changed something on it recently so that now it can't. The one that works is a workstation I rarely use, so that's probably why it still works, but proves there's no network/server problem. I think I may not be sending the password the way the server expects it because I know I'm typing the correct password, but I can't quite figure out what's going on. My log shows only: [2003/02/21 09:02:44, 1] smbd/reply.c:reply_sesssetup_and_X(989) Rejecting user 'khanh': authentication failed [2003/02/21 09:03:06, 1] smbd/service.c:close_cnum(690) Any help is appreciated! Khanh Tran Network Operations Sarah Lawrence College -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] cannot delete non-empty directory
I'm sitting on a WinXP comp and want to delete a non-empty directory out Hi, I also have this problem on XP - but only when using Total Commander, the older Windows Commander 5.x doesnt have this problem. I solution would be nice though... Samba 2.2.5 on SUN E3500, serving 500 users, PDC. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] One last windows/linux question
One last windows/linux question... We have an exchange server, only accessible by the exchange protocols. I.E. no pop, no Imap, and no web. What can I use Linux side to connect to this? (here's my attempt, to be the only one on the network NOT to use windows) J -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] One last windows/linux question
Ximian Connector for Microsoft Exchage! http://www.ximian.com/ It's not free though... Khanh Tran Network Operations Sarah Lawrence College -Original Message- From: Esler, Joel Contractor [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 9:02 AM To: [EMAIL PROTECTED] Subject: [Samba] One last windows/linux question One last windows/linux question... We have an exchange server, only accessible by the exchange protocols. I.E. no pop, no Imap, and no web. What can I use Linux side to connect to this? (here's my attempt, to be the only one on the network NOT to use windows) J -- 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] Problem with Sharp AR-286 PCL Printer
I am having a problem getting the PCL driver for the Sharp AR-286 working. This is an LPD network printer. I created a queue on our Redhat Samba server using the raw driver. The windows drivers uploaded to the Samba server without a problem. But whenever I try to print anything to the printer it comes out garbled. I installed the postscript drivers for the same printer without any problem and they seem to work fine. (We would just use the postscript driver but unfortunately some of our drawings overflow the printer's memory when printed using the postscript driver.) I have also installed a PCL driver for an HP JetDirect network printer and that is working fine. We are running Redhat 8, Samba 2.2.7. sharppcl is the printer in question. The print, lpq and lprm commands are overridden because we use the same printer queue for both the postscript and the PCL printer. The problem occurs if we have unique queues for both and also if we eliminate the postscript driver altogether. Any ideas will be appreciated. Thanks, Bob Pertinent smb.conf: # Samba config file created using SWAT # from tcsa2 (127.0.0.1) # Date: 2003/02/20 17:51:22 # Global parameters [global] workgroup = TCSA2 netbios name = TCSARH1 server string = TCSA Samba encrypt passwords = Yes username map = /etc/samba/usermap.txt admin log = Yes log level = 2 log file = /var/log/samba/log.%m domain admin group = root,@wheel,boehmer logon script = %U-%a.bat logon path = logon home = domain logons = Yes os level = 64 preferred master = Yes domain master = Yes wins server = 192.168.2.10 printer admin = @ntadmin,boehmer hosts allow = 192.168.2. , 192.168.1. printing = lprng [print$] comment = NT print share path = /usr/share/samba/printers write list = @ntadmin, root create mask = 0774 directory mask = 0775 guest ok = Yes [monet] comment = HP 8550DN Printer path = /tmp printable = Yes [sharp] comment = Sharp AR-286 Postscript Printer path = /tmp printable = Yes [sharppcl] comment = Sharp AR-286 PCL Printer path = /tmp printable = Yes print command = lpr -r -Psharp %s lpq command = lpq -Psharp lprm command = lprm -Psharp %j -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] One last windows/linux question
On Fri, 21 Feb 2003, Esler, Joel Contractor wrote: ... We have an exchange server, only accessible by the exchange protocols. I.E. no pop, no Imap, and no web. What can I use Linux side to connect to this? have a look at ximian - it is an outllok like programm for X there is, as far as i know, an exchange plugin for it-but if i remeber correctly the plugin in non-free whereas the program itself is free (http://www.ximian.com/products/ximian_evolution/index.html) I hope it helps yours, Albert Dengg -- 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 64bit executable on Solaris 8
Good Morning, I recently compiled Samba 2.2.7a as a 64bit executable on Solaris 8. The Solaris 8 server is configured to permit 65535 files to be open, while Samba has been configured to allow 65500 files to be open. These large number of files are required to permit simulataneous compilations to take place a single build server, though there are multiple build servers. Last time I tried to use Samba (version 2.2.3a) this did not work, however version 2.2.7a is working fine, however Samba is complaining about too many files being open. [2003/02/21 06:01:11, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:07:20, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:10:09, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:10:09, 0] lib/username.c:(130) can't open username map /opt/samba/lib/smbusers. Error Too many open files [2003/02/21 06:10:09, 0] lib/username.c:(130) can't open username map /opt/samba/lib/smbusers. Error Too many open files [2003/02/21 06:10:20, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:16:20, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:19:24, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:22:24, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:28:24, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:31:24, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:34:30, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:37:30, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:40:32, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:43:35, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:46:38, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files As Samba 2.2.7a is working and the compilations (and have been checked ) are taking place I am not unduly worried. However there is always the possiblity of a problem so would like to identify why Samba 2.2.7a is complaining in the log.smbd file. -- Regards Russell Network and Systems Administrator Flomerics Ltd Email: russell.aspinwall at flomerics.co.uk 81 Bridge Road Telephone: 020-8941-8810 x3116 Hampton Court Facsimile: 020-8941-8730Surrey, KT8 9HH, UK -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Segmentation fault
I was trying to get SMB_PAM to authenticate new users, and thought Ii figured it out, typed passwd testuser and I get a segmentation fault back. I tried rebooting (old habits die hard) with no luck. I was Googling and found a few things, but (as always it seems) were unanswered or were I have that same problem type messages. My server is RH7.3, Samba 2.2.7a, the newest Pam_smb from the website. I followed the directions with the tarball and on the site (which are slightly different) with identical results. /var/log/messages says Opening Session for user testuser then promptly closes it. The /etc/login file seems pretty straight forward, just cant get much feedback to debug it properly. Any help/direction would be appreciated. Kev -- 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 64bit executable on Solaris 8
Did you check: ulimit -a / rlim_fd_cur and rlim_fd_max kernel parameters? Try: # adb -kw (wait one sec) rlim_fd_cur/D (exit with ^D) Regards, Leroy I recently compiled Samba 2.2.7a as a 64bit executable on Solaris 8. The Solaris 8 server is configured to permit 65535 files to be open, while Samba has been configured to allow 65500 files to be open. These large number of files are required to permit simulataneous compilations to take place a single build server, though there are multiple build servers. Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:07:20, 0] lib/debug.c:(348) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP needs ~30seconds to open network share
Is there something similar (or the same) in win 2000 which I could disable ? Mike - Original Message - From: Leroy van Logchem [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 21, 2003 8:46 AM Subject: Re: [Samba] XP needs ~30seconds to open network share Try disabling the WebClient under services of the XP clients. XP first tries to use webdav to connect to the share when that times out it will then use smb. If that really improves the reconnection speeds when using deadtime for example, please include this tip in the samba documentation. Near the sign or seal registry tips would be a good place imo. Did anyone test the difference in connection times? At my location we use kixart scripts to connect to 10+ shares when logging on to the smb PDC, any tips? Regards, | | Leroy(dot)vanLogchem (at) wldelft(dot)nl | Systems Group | WL | Delft Hydraulics - http://www.wldelft.nl | -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba --- Outgoing mail is certified Virus Free. Scanned with Grisoft AVG 6.0. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 18/02/2003 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] cupsaddsmb - why the heck can't Igetrpcclient-addprinterto work?
Any idea where I can find a REdHat7.3 rpm for 1.1.18? I can't find one anywhere -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nicki Messerschmidt, Linksystem Muenchen GmbH Sent: Friday, February 21, 2003 05:15 To: Brian Johnson; [EMAIL PROTECTED] Subject: Re: [Samba] cupsaddsmb - why the heck can't I getrpcclient-addprinterto work? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Johnson wrote: hi Brian, cups-1.1.14-15.2 This is your problem. Update to cups 1.1.18 and it will work like a charm. Had the same problem last week... *g* P.S.: This list is indeed _very_ helpfull! Thanks a lot! Cheers Nicki - -- Linksystem Muenchen GmbH [EMAIL PROTECTED] Schloerstrasse 10 http://www.link-m.de 80634 Muenchen Tel. 089 / 890 518-0 We make the Net work. Fax 089 / 890 518-77 -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com Comment: Get my key at: https://www.link-m.de/pgp/n.messerschmidt.asc iQA/AwUBPlXuJes1nPm17iBDEQJcrQCg8Lk2iZtD4KIxNO2AA8BIVWCzSWMAnReK 5S+X4m621A/jVK3B/qR5bXXT =Y5J+ -END PGP SIGNATURE- -- 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] cupsaddsmb - why the heck can't Igetrpcclient-addprinterto work?
On February 21, [EMAIL PROTECTED] said: Any idea where I can find a REdHat7.3 rpm for 1.1.18? I can't find one anywhere try the cups website, or build from source. Waider. -- [EMAIL PROTECTED] / Yes, it /is/ very personal of me. even when american adverts try for the oblique and wordless, they're so obvious they may as well put the logo on a fish and slap you with it. - AjD -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] not the same file attributes after copying
After a copy operation the file attributes (date last modified) of file on samba server differ in seconds to file copied to my local disk. Is there any solution to be times the same? Thanks for advise, M. == REKLAMA = Vyrazne zlavy pocitacov a prislusenstva Toshiba Pocket PC e740 v cench u? od 24.300,- Sk bez DPH Navstivte nas na adrese http://www.somi.sk/akcie.php -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] cupsaddsmb - why the heck can'tIgetrpcclient-addprinterto work?
Any idea where I can find a REdHat7.3 rpm for 1.1.18? I can't find one anywhere try the cups website, Hmm ... couldn't seem to find it on the cups site (google couldn't either) or build from source. I'm a little nervous about building too many packages from source. I have a few and I wonder what will happen when I try to upgrade the server to a newer version of RH (that uses a newer version of glibc) I've got a feeling that I will have to recompile all of those compiled packages and I don't know if my users will like to wait while I do that (we're a small LAN but my users like to have working tools). IMO sticking to some kind of package management system should help smooth upgrades ... the problem is that I have to wait for the packages or figure out how to make them myself What are your opinions on this strategy? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] cupsaddsmb - why the heck can'tIgetrpcclient-addprinterto work?
On February 21, [EMAIL PROTECTED] said: Hmm ... couldn't seem to find it on the cups site (google couldn't either) It's the first hit on google. I've no idea what you're trying to search for. http://www.google.com/search?q=cups What are your opinions on this strategy? If you don't build an up-to-date cups, you won't have a working cups-based printing system with Samba. Sure, you'll have to be careful when upgrading, but really. That's a given when you're upgrading, regardless of whether you built from source or not. It ain't rocket science. Waider. -- We are experiencing MVS processor spin loops, the programs are running while holding a disabled CPU. This is causing XCF communication delays to the point where we are losing VTAM RTP routing, are suffering OSPF adjacency failures on TCP/IP dynamic routing and MIM VCF failures. - Reported via Slashdot -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] shares per valid user?
I know I can restrict access to shares by using valid users but the share is still seen. Is there a way to only list the shares to which the user has access? ie - connect from windows to samba server = authenticate with unix password = list of shares displayed. I only wnat the user to see his shares... Paul -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] cupsaddsmb - why the heck can'tIgetrpcclient-addprinterto work?
-[ Brian ([EMAIL PROTECTED]) wrote on 2/21/2003 10:47 AM -0500 ]- I'm a little nervous about building too many packages from source. I have a few and I wonder what will happen when I try to upgrade the server to a newer version of RH (that uses a newer version of glibc) I've got a feeling that I will have to recompile all of those compiled packages and I don't know if my users will like to wait while I do that (we're a small LAN but my users like to have working tools). IMO sticking to some kind of package management system should help smooth upgrades ... the problem is that I have to wait for the packages or figure out how to make them myself What are your opinions on this strategy? If you download the cups source and unzip it, you will find a file called cups.spec in the top level dir of the source. You can pass the spec file to rpm (or rpmbuild on newer redhat systems) and it will create an rpm for you out of the dowloaded source files. Makes it easy to have your own compiled app but still get to use package management. Yes, you may have to recompile after major system library changes, but it is relatively straightforward. Good luck. and thanks to the cups maintainers who provide .spec files --Ben-- Ben Griffith [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba locking problem
Hi, I have the following problem: I have a linux samba server and a lot of linux clients that connect to it. What I noticed is that if one of the clients create new file and starts do some operation on it - the file is unreadable for all other clients (output od smbstatus: DENY_FCB RDWR NONE) - which is OK I suppose. But if the connection between the client and the server disappears while client is working on the newly created file, the file stays locked and in some occasions even when the connection is established again the file stays locked, the client cannot access the mounted drive - and the client should be restarted. Which is strange I noticed that if a Windows client do the same operation - the file is at least readable for other clients. I played a lot with the lock options and tried to remove the DENY_FCB - setting share modes = no but nothing helped - I have this problem. So please advice - how can I prevent this file locking when connection between master and client disappears ? Regards Kostadin Galabov Netclime Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] cupsaddsmb - why the heck can'tIgetrpcclient-addprinterto work?
On February 21, [EMAIL PROTECTED] said: If you download the cups source and unzip it, you will find a file called cups.spec in the top level dir of the source. You can pass the spec file to rpm (or rpmbuild on newer redhat systems) and it will create an rpm for you out of the dowloaded source files. You don't even need to unzip the file. Just do rpm -ta cups-1.18.tar.gz Cheers, Waider. -- [EMAIL PROTECTED] / Yes, it /is/ very personal of me. AjD feels frustrated in his attempts to establish the delinitations of horror in puppy-burying. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Damnit audit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 20 Feb 2003, Hal Roberts wrote: I submitted a patch to fix this in reply to your message about a week ago. Look back in the list archives. Got it. Thanks. cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc 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+Vk+3IR7qMdg1EfYRAlq6AJ4wOlOTUEPMZquKKbBYo5BVuqIsggCfTwik hYNi4UPCjbyIn1mfNPSaBL4= =G2ky -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] how do i umount a device busy ?
I have mounted a win98 machine from a ML8.1 samba 2.2.2 The win98 machine, as all windows machines do, crashed on me. Now i can't unmount the mounted folder, If i do it from cli, i get umount usr/Cad12: device busy. If i try and cd to that folder, the console freezes and only kill application will shut it down. I tried as su and on another Virtual console as root, but it will not umount. I've shut down the win98 machine and powered it up again. But it still will not umount. Also how do i kill a virtual console which is not responding. Many thanks Ken -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 2.2.7a - lot of open/close calls
I'me trying to track down a performance problem as I posted yesterday and as I increase the log level I've noticed this... [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file regs/default.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file regs/default.bat read=Yes write=No (numopen=2) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file regs/default.bat (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file regs/default.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1)
Re: [Samba] PATCH: downloading drivers from Solaris [was Re: SoSAMBA no longer ...]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 21 Feb 2003, Oktay Akbal wrote: On Thu, 20 Feb 2003, Gerald (Jerry) Carter wrote: OK. after more time than I would like to admit, here the's fix. The bug is obvious now that I see it. Sorry for the headaches this caused. Sorry, if I missed something, but is this really only a problem with solaris or might this be a problem on linux ? only solaris. It was a byte ordering issue when converting a particular ascii string to unicode. cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc 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+Vi3mIR7qMdg1EfYRAlz2AJ9qh6tGrx44w3iVSW8gts4BfEpO2wCfeJ9O menk5ZUjZTT83+1/6Un6K+Y= =dTAK -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] pam settings for winbind
This is more of a pam question then a samba question, but I thought I'd start here and see if I can get an answer. I've gotten pam_winbind.so working with gdm (on RHAT 8) using the following /etc/pam.d/gdm file. I've put + signs to show the lines I added I added to the stock RHAT 8 gdm pam def.: #%PAM-1.0 + auth sufficient /lib/security/pam_winbind.so + auth sufficient /lib/security/pam_unix.so use_first_pass auth required /lib/security/pam_stack.so service=system-auth auth required /lib/security/pam_nologin.so + auth sufficient /lib/security/pam_winbind.so accountrequired /lib/security/pam_stack.so service=system-auth password required /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_stack.so service=system-auth sessionoptional /lib/security/pam_console.so I'd also like to configure sshd to use this winbindd. However, this /etc/pam.d/sshd file doesn't work and I can't figure out why. I've put + signs to show the lines I added I added to the stock RHAT 8 sshd pam def. #%PAM-1.0 + auth sufficient /lib/security/pam_winbind.so + auth sufficient /lib/security/pam_unix.so use_first_pass auth required /lib/security/pam_stack.so service=system-auth auth required /lib/security/pam_nologin.so accountrequired /lib/security/pam_stack.so service=system-auth + accountsufficient /lib/security/pam_winbind.so password required /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_limits.so sessionoptional /lib/security/pam_console.so ideas, solutions, and pointers to a FAQ or some good pam documentation are all appreciated, as I'll be the first to admit that I don't know my ass from my elbow with regards to pam. -- Aaron Bennett UNIX Administrator Franklin W. Olin College of Engineering -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 2.2.7a breaks on ATM stack on AIX 4.3
Hi all, we have a very large customer (90'000 PCs) worldwide that has problems with a Samba server. Here are the details : platform : IBM 4-cpu server runing AIX 4.3 Samba: 2.2.7a compiled with gcc 2.95.3 clients : about 100-200, worldwide network : ATM, at least for the server (I don't have more details, sorry) samba config : pretty straightforward, security=server (might be changed to domain soon), a few shares, etc. The problem appeared since clents migrated to Windows XP. About every 2 days, the network receive queue overflow, causing an ATM adapter interface reset. All clients loose their connections (and their unsaved job BTW). The symptom is visible with netstat -a : == Number of Rcv Buffer on ATM adapter 2207 == Tendency to grow Rcv Q size last entry 280 == Tendency to grow Number of connections to PDC116 Number of samba procs (os) 118 Number of samba client sessions 159 == We are more knowledgeable on Solaris and linux, AIX and ATM debugging is somewhat unknown to us. Could someone confirm this behavior ? Would you direct our search to Samba or ATM ? Has anyone experienced the same problem ? Or even a fix... in short : any hint welcome. Thanks and best regards, Charles -- Charles Bueche [EMAIL PROTECTED] www.netnea.com : your best source for ultra-geeks ! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is it possible to specify Username/Password in a UNC when connecting to a samba server from W2K?
Hi, I guess in retrospect I should have given more details... I have the samba server set up such that: [global] map to guest = Bad User guest account = a_valid_unix_account [some_share] path = /somepath guest ok = Yes read only = Yes write list = special_user I am talking about a network of ultimately 200 Samba servers connected in a star configuration (all over IPSEC VPN) with our support office being the center of the star. I do not want to have to maintain user accounts on all 200 Samba servers for all of our support people, with the associated pain of adding/deleting users, etc (I know, rsync, etc, but I want to avoid all that...) Anyone can browse to the server and if they are an unkown username, they gets mapped to the guest account which gives READ ONLY access to some_share. This is perfectly acceptable and safe, no-one can accidentally delete things, there's nothing confidential on the share, so read only is perfect. Under certain circumstances, they will need to be able to delete files off of these same shares, which can be accomplished by logging into the remote samba server as the special_user which is explicitly given write permission to the share. No problem with either Net Use or Windows Explorer, Map Network Drive... BUT... and there is always a BUT... I am trying to do this through a browser interface to simplify everything. I am setting up a central intranet web site that will give access to SWAT on each of the servers, AND allow the user to browse the remote samba server ( and lot of other stuff as well, VNC, etc) For swat, I have http://remote_host_name:901/ For the shares, I have file://remote_host_name/ This works perfectly EXCEPT for the situation where the users need write access to the remote shares. I was hoping that there would be a slick way to say file://remote_host_name%username/ and have the dialog box pop up prompting for password. Since this is a (hopefully)! secure vpn environment behind Cisco PIX Cisco VPN concentrator, I would even be happy with something that would embed the password. A MUCH less clean solution, and my fall-back plan, would be to put two shares that point at the same directory. The first share would say guest ok = yes, read only = yes, which would allow browsing, and the second share would say guest ok = no, read only = no which would then cause the Connect As dialog box to appear (because of unknown username). Anyway, hope that clarifies things... Thanks for any input, Steve Williams [EMAIL PROTECTED] wrote: Hi, Mebbe I don't understand but try this; smbmount //foo/bar -o username=foo password-bar I use this to cross mount servers of various types for sym link integrity. My way of load balancing. Bri- __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.7a - lot of open/close calls
I'me trying to track down a performance problem as I posted yesterday and as I increase the log level I've noticed this... [2003/02/21 08:19:06, 2] smbd/open.c:open_file(245) dm389245 opened file mr00257.bat read=Yes write=No (numopen=1) [2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213) dm389245 closed file mr00257.bat (numopen=0) why does samba open and close the file so many times? this is the login script file it is opening btw *Samba* is not opening and closing the file that many times; the client side is. COMMAND.COM and cmd both process batch files one line at a time; I haven't tested this but I suspect cmd opens the file, reads a line, closes the file, executes the line. You can check this for yourself from the Windows side with filemon: http://www.sysinternals.com/ntw2k/source/filemon.shtml -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re[2]: [Samba] Need solution to Printers window access denied,unable to connect message.
Clayton, Yes Success I have gotten rid of the access denied, unable to connect error messages on both my samba 2.2.7 and samba 2.2.2 servers. Thanks go to Stephen Carville for the solution. It took till today to confirm with my users that the problem has gone away. Clayton (after enabling SWAT on my samba 2.2.7 test server) I did find the use client driver option hidden in the SWAT Advanced page of the Printers queue window and from man smb.conf I search for /use client which says that if you do not upload printer drivers into samba then you will get the access denied, unable to connect message in the printer queue window even though jobs may successfully be printed. And it says that disable spoolss = yes does the same behavior as the use client driver = yes option. Note1: It does take about a minute for the opening message to be replaced by the ready message But I guess it is authenticating with the NT PDC during this time delay. Note2: The man page also says not to use this feature if you do upload drivers into samba. Thanks for everyone's help Tim At 09:43 PM 2/20/03 -0500, Clayton Slaughter wrote: Hello Tim, were you able to find the reference doc below? use client driver = yes I searched for driver, client, and use (all of which took forever) in the man pages. My version 2.2.7a shows a use but not with a client. It shows a client but only with code page. Nothing similar to this. I had this same problem and fixed it by using security = share instead. I'm hoping to figure out the real culprit and return to a user based security. Thanks. Clayton. ps. I accessed the pages using man smb.conf and used the / to perform finds in the less displayed output. Wednesday, February 19, 2003, 11:02:02 PM, you wrote: SC I had the same problem after upgrading to 2.2.7. You have to add: SC use client driver = yes SC Either globally or for the individual printer share. SC Read the section on the above in the man page for smb.conf for an SC explanation. SC On Wednesday 19 February 2003 07:35 pm, Tim Kubricht wrote: Hi, I hope this is the right list to submit this request to I have the following problem with samba 2.2.2 that I upgraded SC to samba 2.2.7 to try to see if the problem would go away. But I still have the following problem: When I open the Start-Settings-Printers window It shows the printers that I have connected to from the SC samba print server printer_name on samba_ip_address It shows opening at 1st then changes to access denied, SC unable to connect and never shows the ready message that I used to get from SC a samba 1.9.15p8 server that I updated. * Can someone help me to get rid of the access denied SC messages from the Printers window? The following is what I have: My OS is Solaris 8 my PCs are either WinNT4 or Win2000 I have set up smb.conf as you can see below With it I can use dos to run net view and it works as SC expected I can open Network Neighborhood and find my samba print SC server and it will list all the printer shares along with the Printers folder. If I double click the SC Printers folder: I can get a list of all the printers and the number of documents that are currently being printed on each printer and If I double-click on a specific printer I SC can get the name of the job and person that is printing on the queue. This works as expected. I did not see SC this error in any of the Archives or the troubleshooting section that I found or in any of the 3 books I have. SC I need your expertise in solving this feature. Thanks, Tim SC ___ smb.conf:# Samba config file created using SWAT # Date: 2003/02/19 10:54:34 # Global parameters [global] workgroup = Name_Of_My_Workgroup server string = Samba %v on %h security = SERVER encrypt passwords = Yes map to guest = Bad User-- used and not SC used this option password server = #PDC-Address# #BDC-Address# username map = /usr/local/samba/lib/username.map log file = /usr/local/samba/var/log.samba max log size = 50 printcap name = /etc/samba-printcap os level = 10 preferred master = False local master = No domain master = False
Re: [Samba] Problem printing long files -solved-
Joel, thanks for your help. The problem was my /etc/printcap config... By default, mx (maximum file size) is 1000. I added mx#0 (ie unlimited) and I can print any file. From: Joel Hammer [EMAIL PROTECTED] Assuming this is a postscript printer and that your clients send postscript jobs to your server: Edit your printing command to be a nothing, sorta like: printing command = echo job %s done /tmp/jobname actually it's print command ... Then, try to read the job with gv or whatever. If the file is complete it would suggest that your printing software is acting up, not samba. Joel On Tue, Feb 18, 2003 at 08:24:05AM -0500, Jean-Luc Wasmer wrote: Hi, I have Samba 2.2.5 installed on a 1.5.3 NetBSD. A HP LaserJet 4000 is connected to this box. Printing works fine for most files, but long files only have the first 15 pages or so printed. I don't think it's a problem with the client program since this appends with both Word and Acrobat. JL -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: pam settings for winbind
--- Aaron Bennett [EMAIL PROTECTED] wrote: I'd also like to configure sshd to use this winbindd. However, this /etc/pam.d/sshd file doesn't work and I can't figure out why. I've put + signs to show the lines I added I added to the stock RHAT 8 sshd pam def. #%PAM-1.0 + auth sufficient /lib/security/pam_winbind.so + auth sufficient /lib/security/pam_unix.so use_first_pass auth required /lib/security/pam_stack.so service=system-auth auth required /lib/security/pam_nologin.so accountrequired /lib/security/pam_stack.so service=system-auth + accountsufficient /lib/security/pam_winbind.so password required /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_limits.so sessionoptional /lib/security/pam_console.so ideas, solutions, and pointers to a FAQ or some good pam documentation are all appreciated, as I'll be the first to admit that I don't know my ass from my elbow with regards to pam. LOL. I looked at the same document you probably looked at: http://us3.samba.org/samba/docs/Samba-HOWTO-Collection.html#AEN2358 and used the ftp example for any services I have, except I leave out the pam_listfile.so line at the top. In essense, you want auth sufficient pam_winbind.so before any other auth lines. Then you want account sufficient pam_winbind.so before any other account lines. This is different for login-type services like kde, gdm, and login. Follow the login example for these. Also, the pam_unix.so use_first_pass you added is only necessary for pam.d/login (I believe ssh reads that after reading pam.d/ssh). Remove this line. Following the pattern in the ftp example, account sufficient pam_winbind.so needs to go immediately before any account lines. Move it up one. Finally, the /lib/security is implied (at least it is in RedHat 7+... YMMV), so you can shorten it to just pam_winbind.so, which is slick. For reference, here is my pam.d/ssh file: ### #%PAM-1.0 auth sufficient pam_winbind.so auth required /lib/security/pam_stack.so service=system-auth auth required /lib/security/pam_nologin.so accountsufficient pam_winbind.so accountrequired /lib/security/pam_stack.so service=system-auth password required /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_limits.so sessionoptional /lib/security/pam_console.so ### Use the pattern I explained above for any other services (NetAtalk, FTP, etc.). Use the login example for login-type services like kde, login, or gdm (as you have already done). SSH seems like it would be a login-type service, but it doesn't appear to act that way. Good luck, /dev/idal __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Default settings for print drivers
On Wednesday 19 February 2003 09:58 am, Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 15 Feb 2003, Ian Eure wrote: Hi. I've finally got Samba to serve up print drivers for the printers I serve. However, I'm not able to set the default driver options. This is what I'm doing (from a Win2k Pro box) Start-Run \\(samba server) open Printers folder right click printer, Properties Device Settings tab Configure e.g. default paper size Click OK Reopen Properties-Device Settings, and the old paper size is still selected. Some settings seem to work, but I haven't been able to get the paper size settings to work. This is a problem because we have some printers which only have legal paper, and they require manual intervention if they get a job for some other size paper. What version of Samba? What server OS? Sorry. I'm running 2.2.3a on Debian 3.0. Custom Linux 2.4.20 kernel, 1gb ram, 2xP3 (Coppermine) @700MHz. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] RE: Samba installed: but not working - Please help!
Hi all, I just installed samba and this is the problem I'm facing: Test 8 of the DIAGNOSIS.txt document fails.I get the error network path not found The file says : - fixup the nmbd installation - add the IP address of BIGSERVER to the wins server box in the advanced tcp/ip setup on the PC. - enable windows name resolution via DNS in the advanced section of the tcp/ip setup - add BIGSERVER to your lmhosts file on the PC. I tried adding the mapping to my lmhosts file but it didnt help. And I cant quite understand what the other steps mean? Can you please help? quite desperate here! Thanks a lot Shalini -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Printing question
I figured this one out. On the W2K AD FP Server, we installed the File and Print drivers for Unix, through Windows Setup. Then, throught the printconf, (or manually through /etc/printcap) I have (all this without the parentheses) (Windows Alias for printer):\ :ml#0:\ :mx#0:\ :sd=/var/spool/lpd/(Windows Alias for Printer):\ :af=/var/spool/lpd/(Windows Alias for Printer)/(Windows Alias for printer).acct:\ :sh:\ :rm=(IP for W2K AD FP Server):\ :rp=(Windows Alias for Printer):\ :bk:\ :control_filter=/usr/share/printconf/util/strip_control_file.sh:\ :lpd_bounce=true:\ :if=/usr/share/printconf/util/mf_wrapper: If you need any assistance, let me know. -Original Message- From: Esler, Joel Contractor [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 2:02 PM To: [EMAIL PROTECTED] Subject: [Samba] Printing question We have printers sitting off of a W2K Native AD FP Server. Is it possible to print to the printer with a Linux client using Samba? If so, how is this accomplished? J -- 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] Samba error
When I (who has an account on the samba server -- under the same name) eslerj go to another computer and try to double click on the samba server through Network Neighborhood, I get an error message that says \\(workstationname)\ The parameter is incorrect. however if I go to a computer where someone else is logged on, double click on the Samba server, it prompts with with a login screen, I can login as me, and it works... What is causing this? Joel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Windows XP client cannot access Samba share on Linux
From a Windows Explorer window I can see my Samba Server machine under MyNetworkPlaces:EntireNetwork:MSWindowsNetwork ... but cannot open it. I get \xxx is not accessible. ... The account is not logged into this station. My XP clients are logged onto to a workgroup. The corresponding linges generated in log.client on the server machine are shown below. [2003/02/21 11:59:52, 3] smbd/process.c:process_smb(878) Transaction 1 of length 137 [2003/02/21 11:59:52, 3] smbd/process.c:switch_message(685) switch message SMBnegprot (pid 14640) [2003/02/21 11:59:52, 3] smbd/sec_ctx.c:set_sec_ctx(329) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [LANMAN1.0] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [Windows for Workgroups 3.1a] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [LM1.2X002] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [LANMAN2.1] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [NT LM 0.12] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(426) Selected protocol NT LM 0.12 [2003/02/21 12:00:03, 3] smbd/process.c:timeout_processing(1098) end of file from client [2003/02/21 12:00:03, 3] smbd/sec_ctx.c:set_sec_ctx(329) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/02/21 12:00:03, 2] smbd/server.c:exit_server(461) Closing connections [2003/02/21 12:00:03, 3] smbd/connection.c:yield_connection(48) Yielding connection to [2003/02/21 12:00:03, 3] smbd/server.c:exit_server(495) Server exit (normal exit) I've scoured the mailing lists, and tried disabling on the XP client the DomainMember fields associated with passwd authentication using gpedit.msc , but to no avail. One question .. my XP clients are on a local WORKGROUP ... do I have to configure the Samba server as a PDC and join the domain? Is it required? My smb.conf looks like this [global] log level =3 netbios name = MYSERVER wins support = yes domain master = no hosts allow = 192. valid users = myname workgroup = MYWORKGROUP server string = DHCPPC2 Samba Server ; hosts allow = 192.168.0. 192.168.2. 127. printcap name = /etc/printcap load printers = yes ; printing = bsd ; guest account = pcguest log file = /var/log/samba/log.%m max log size = 50 security = user ; password server = NT-Server-Name ; password level = 8 ; username level = 8 ; encrypt passwords = yes ; smb passwd file = /etc/samba/smbpasswd ; unix password sync = Yes ; passwd program = /usr/bin/passwd %u ; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* ; username map = /etc/samba/smbusers ; include = /etc/samba/smb.conf.%m socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 ; interfaces = 192.168.12.2/24 192.168.13.2/24 ; remote browse sync = 192.168.3.25 192.168.5.255 ; remote announce = 192.168.1.255 192.168.2.44 ; local master = no ; os level = 33 ; domain master = yes ; preferred master = yes ; domain controller = NT-Domain-Controller-SMBName ; domain logons = yes ; logon script = %m.bat ; logon script = %U.bat ; logon path = \\%L\Profiles\%U ; name resolve order = wins lmhosts bcast ; wins support = yes ; wins server = w.x.y.z ; wins proxy = yes dns proxy = no ; preserve case = no ; short preserve case = no ; default case = lower ; case sensitive = no [homes] comment = Home Directories ; browseable = no writable = yes read only = no ; [netlogon] ; comment = Network Logon Service ; path = /home/netlogon ; guest ok = yes ; writable = no ; share modes = no ;[Profiles] ;path = /home/profiles ;browseable = no ;guest ok = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes [tmp] comment = Temporary file space path = /tmp read only = no public = yes ;[public] ; comment = Public Stuff ; path = /home/samba ; public = yes ; read only = yes ; write list = @staff ;[fredsprn] ; comment = Fred's Printer ; valid users = fred ; path = /homes/fred ; printer = freds_printer ; public = no ; writable = no ; printable = yes ;[fredsdir] ; comment = Fred's Service ; path = /usr/somewhere/private ; valid users = fred ; public = no ; writable = yes ; printable = no ;[pchome] ; comment = PC Directories ; path = /usr/pc/%m ; public = no ; writable = yes ;[public] ; path = /usr/somewhere/else/public ; public = yes ; only guest = yes ; writable = yes ; printable = no ;[myshare] ; comment = Mary's and Fred's stuff ; path = /usr/somewhere/shared ; valid users = mary
[Samba] Re: [expert] Brainstorm - add user script in Samba-LDAP
add user script = /usr/share/samba/scripts/smbldap-useradd.pl -w -d /dev/null -g Machines -s /bin/false %u Yes. The Manchines group does exist, as does adm and Administrators as specified in /etc/smb.conf seen here: domain admin group = root Administrator @adm @Administrators @wheel wheel does not actually exist and both users in the system belong to adm. I have the groups and users mentioned in the LDAP database with of course, the exception of root. What I keep getting when I try to add a machine is Access denied on the Windoz side and this is what shows up in /var/log/messages: Feb 21 10:15:36 enigma smbd[13731]: [2003/02/21 10:15:36, 0] passdb/pdb_ldap.c:ldap_connect_system(344) Feb 21 10:15:36 enigma smbd[13731]: ldap_connect_system: Binding to ldap server as cn=root,dc=microverse,dc=net Feb 21 10:15:37 enigma smbd[13731]: [2003/02/21 10:15:37, 0] passdb/pdb_ldap.c:ldap_connect_system(344) Feb 21 10:15:37 enigma smbd[13731]: ldap_connect_system: Binding to ldap server as cn=root,dc=microverse,dc=net Feb 21 10:15:37 enigma smbd[13731]: [2003/02/21 10:15:37, 0] passdb/pdb_ldap.c:pdb_getsampwnam(970) Feb 21 10:15:37 enigma smbd[13731]: LDAP search ((uid=spartack_)(objectclass=sambaAccount)) returned 0 entries. Feb 21 10:15:37 enigma smbd[13731]: [2003/02/21 10:15:37, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176) Feb 21 10:15:37 enigma smbd[13731]: get_md4pw: Workstation spartack$: no account in domain Feb 21 10:15:38 enigma smbd[13732]: [2003/02/21 10:15:38, 0] passdb/pdb_ldap.c:ldap_connect_system(344) Feb 21 10:15:38 enigma smbd[13732]: ldap_connect_system: Binding to ldap server as cn=root,dc=microverse,dc=net Feb 21 10:15:39 enigma smbd[13732]: [2003/02/21 10:15:39, 0] passdb/pdb_ldap.c:ldap_connect_system(344) Feb 21 10:15:39 enigma smbd[13732]: ldap_connect_system: Binding to ldap server as cn=root,dc=microverse,dc=net Feb 21 10:15:39 enigma smbd[13732]: [2003/02/21 10:15:39, 0] passdb/pdb_ldap.c:pdb_getsampwnam(970) Feb 21 10:15:39 enigma smbd[13732]: LDAP search ((uid=spartack_)(objectclass=sambaAccount)) returned 0 entries. Feb 21 10:15:39 enigma smbd[13732]: [2003/02/21 10:15:39, 0] rpc_server/srv_samr_nt.c:_api_samr_create_user(1929) Feb 21 10:15:39 enigma smbd[13732]: User spartack$ does not exist in system password file (usually /etc/passwd). Cannot add account without a valid local system user. The second to the last line above is the important one I think but I am not quite certain what it is telling me. This line: rpc_server/srv_samr_nt.c:_api_samr_create_user(1929) doesn't, in my mind, indicate failure and the next line simply says that the user wasn't found. I know it wasn't added because it does not show up in the db. Plain and simple, these messages don't help much and I don't know what the other log levels are. I've tried bumping the log level up to 4 and then 5 and then on to 6 but it doesn't seem to change anything. Lastly, someone mentioned the possibility that there might be something going on in my non-interactive shell environment. It would help a great deal if I had a better idea of what the environment Samba executes the script in is. I do know that of .bash_profile and .bashrc that one of them is for interactive environments and the other for non-interactive however, for all I know there might be something radically different about the environment that samba uses. Someone also earlier mentioned that there might be something wrong with the linking of my Perl libraries in that non-interactive environment. I wonder if this could be fixed by re-installing them? Jim C. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: pam settings for winbind
Thank you. That did the trick. Chris de Vidal wrote: --- Aaron Bennett [EMAIL PROTECTED] wrote: I'd also like to configure sshd to use this winbindd. However, this /etc/pam.d/sshd file doesn't work and I can't figure out why. I've put + signs to show the lines I added I added to the stock RHAT 8 sshd pam def. #%PAM-1.0 + auth sufficient /lib/security/pam_winbind.so + auth sufficient /lib/security/pam_unix.so use_first_pass auth required /lib/security/pam_stack.so service=system-auth auth required /lib/security/pam_nologin.so accountrequired /lib/security/pam_stack.so service=system-auth + accountsufficient /lib/security/pam_winbind.so password required /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_limits.so sessionoptional /lib/security/pam_console.so ideas, solutions, and pointers to a FAQ or some good pam documentation are all appreciated, as I'll be the first to admit that I don't know my ass from my elbow with regards to pam. LOL. I looked at the same document you probably looked at: http://us3.samba.org/samba/docs/Samba-HOWTO-Collection.html#AEN2358 and used the ftp example for any services I have, except I leave out the pam_listfile.so line at the top. In essense, you want auth sufficient pam_winbind.so before any other auth lines. Then you want account sufficient pam_winbind.so before any other account lines. This is different for login-type services like kde, gdm, and login. Follow the login example for these. Also, the pam_unix.so use_first_pass you added is only necessary for pam.d/login (I believe ssh reads that after reading pam.d/ssh). Remove this line. Following the pattern in the ftp example, account sufficient pam_winbind.so needs to go immediately before any account lines. Move it up one. Finally, the /lib/security is implied (at least it is in RedHat 7+... YMMV), so you can shorten it to just pam_winbind.so, which is slick. For reference, here is my pam.d/ssh file: ### #%PAM-1.0 auth sufficient pam_winbind.so auth required /lib/security/pam_stack.so service=system-auth auth required /lib/security/pam_nologin.so accountsufficient pam_winbind.so accountrequired /lib/security/pam_stack.so service=system-auth password required /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_limits.so sessionoptional /lib/security/pam_console.so ### Use the pattern I explained above for any other services (NetAtalk, FTP, etc.). Use the login example for login-type services like kde, login, or gdm (as you have already done). SSH seems like it would be a login-type service, but it doesn't appear to act that way. Good luck, /dev/idal __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- Aaron Bennett UNIX Administrator Franklin W. Olin College of Engineering -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: pam settings for winbind
--- Aaron Bennett [EMAIL PROTECTED] wrote: Thank you. That did the trick. Great! Did you learn anything new? Or did you cut and paste? grin You can use the patterns I described to add winbind support for any pam-aware service (e.g. NetAtalk and Webmin), which is very groovy. /dev/idal __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP needs ~30seconds to open network share
There could be some dns problems, or nmbd might not be running, but it should not take that long unless the server is really loaded. Patrick Toni Guedes wrote: Try disabling the WebClient under services of the XP clients. XP first tries to use webdav to connect to the share when that times out it will then use smb. If that really improves the reconnection speeds when using deadtime for example, please include this tip in the samba documentation. Near the sign or seal registry tips would be a good place imo. Did anyone test the difference in connection times? At my location we use kixart scripts to connect to 10+ shares when logging on to the smb PDC, any tips? Regards, | | Leroy(dot)vanLogchem (at) wldelft(dot)nl | Systems Group | WL | Delft Hydraulics - http://www.wldelft.nl | Hi, WebClient is disabled but XP takes more than 10 seconds to open a share. Is it normal? Toni Guedes - Informática/CPD Max Love Cosméticos Ltda. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows XP client cannot access Samba share on Linux
I see that you have your encrypt passwords commented out, did you apply the registry patch to enable plain text passwords for WinXP? Patrick Dick Wieland wrote: From a Windows Explorer window I can see my Samba Server machine under MyNetworkPlaces:EntireNetwork:MSWindowsNetwork ... but cannot open it. I get \xxx is not accessible. ... The account is not logged into this station. My XP clients are logged onto to a workgroup. The corresponding linges generated in log.client on the server machine are shown below. [2003/02/21 11:59:52, 3] smbd/process.c:process_smb(878) Transaction 1 of length 137 [2003/02/21 11:59:52, 3] smbd/process.c:switch_message(685) switch message SMBnegprot (pid 14640) [2003/02/21 11:59:52, 3] smbd/sec_ctx.c:set_sec_ctx(329) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [LANMAN1.0] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [Windows for Workgroups 3.1a] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [LM1.2X002] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [LANMAN2.1] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342) Requested protocol [NT LM 0.12] [2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(426) Selected protocol NT LM 0.12 [2003/02/21 12:00:03, 3] smbd/process.c:timeout_processing(1098) end of file from client [2003/02/21 12:00:03, 3] smbd/sec_ctx.c:set_sec_ctx(329) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/02/21 12:00:03, 2] smbd/server.c:exit_server(461) Closing connections [2003/02/21 12:00:03, 3] smbd/connection.c:yield_connection(48) Yielding connection to [2003/02/21 12:00:03, 3] smbd/server.c:exit_server(495) Server exit (normal exit) I've scoured the mailing lists, and tried disabling on the XP client the DomainMember fields associated with passwd authentication using gpedit.msc , but to no avail. One question .. my XP clients are on a local WORKGROUP ... do I have to configure the Samba server as a PDC and join the domain? Is it required? My smb.conf looks like this [global] log level =3 netbios name = MYSERVER wins support = yes domain master = no hosts allow = 192. valid users = myname workgroup = MYWORKGROUP server string = DHCPPC2 Samba Server ; hosts allow = 192.168.0. 192.168.2. 127. printcap name = /etc/printcap load printers = yes ; printing = bsd ; guest account = pcguest log file = /var/log/samba/log.%m max log size = 50 security = user ; password server = NT-Server-Name ; password level = 8 ; username level = 8 ; encrypt passwords = yes ; smb passwd file = /etc/samba/smbpasswd ; unix password sync = Yes ; passwd program = /usr/bin/passwd %u ; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* ; username map = /etc/samba/smbusers ; include = /etc/samba/smb.conf.%m socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 ; interfaces = 192.168.12.2/24 192.168.13.2/24 ; remote browse sync = 192.168.3.25 192.168.5.255 ; remote announce = 192.168.1.255 192.168.2.44 ; local master = no ; os level = 33 ; domain master = yes ; preferred master = yes ; domain controller = NT-Domain-Controller-SMBName ; domain logons = yes ; logon script = %m.bat ; logon script = %U.bat ; logon path = \\%L\Profiles\%U ; name resolve order = wins lmhosts bcast ; wins support = yes ; wins server = w.x.y.z ; wins proxy = yes dns proxy = no ; preserve case = no ; short preserve case = no ; default case = lower ; case sensitive = no [homes] comment = Home Directories ; browseable = no writable = yes read only = no ; [netlogon] ; comment = Network Logon Service ; path = /home/netlogon ; guest ok = yes ; writable = no ; share modes = no ;[Profiles] ;path = /home/profiles ;browseable = no ;guest ok = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes [tmp] comment = Temporary file space path = /tmp read only = no public = yes ;[public] ; comment = Public Stuff ; path = /home/samba ; public = yes ; read only = yes ; write list = @staff ;[fredsprn] ; comment = Fred's Printer ; valid users = fred ; path = /homes/fred ; printer = freds_printer ; public = no ; writable = no ; printable = yes ;[fredsdir] ; comment = Fred's Service ; path = /usr/somewhere/private ; valid users = fred ; public = no ; writable = yes ; printable = no ;[pchome] ; comment = PC Directories ; path = /usr/pc/%m ; public = no ; writable = yes ;[public] ; path = /usr/somewhere/else/public ; public = yes ; only guest = yes ; writable =
[Samba] Samba for VMS
Hi, I am trying to use samba for sharing files from VMS to Windows 2000. How stable and mature is the VMS version? Any feedback from existing users would be very useful. Thanks, Vijaya Vijaya Ganugula 15210, NE 13th Pl, #2603 Bellevue, WA - 98007 425-378-2673 _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] pam_mount_conf?
Have any of you folks actually managed to get pam_mount working? A quick google shows a ton of messages saying you can use pam_mount to automatically mount a user's home directory on log in, but no messages saying I use pam_mount etc -- I'm suspecting it might not actually work. Or at least I might not be smart enough to make it work. First -- pam_mount 0.5.11 from www.flynn.org doesn't compile on RHAT 8. Following is the failure: pmhelper.c:176:27: missing binary operator pmhelper.c: In function `get_fstab_mountpoint': pmhelper.c:200: `FIXME' undeclared (first use in this function) pmhelper.c:200: (Each undeclared identifier is reported only once pmhelper.c:200: for each function it appears in.) pmhelper.c:200: parse error before '}' token make[2]: *** [pmhelper.o] Error 1 make[2]: Leaving directory `/usr/local/src/pam_mount-0.5.11/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/pam_mount-0.5.11' make: *** [all-recursive-am] Error 2 so much for that. However, pam_mount 0.5.9 does compile and install. My pam_mount_conf has the following volume line: volume * smb olinfs02 users /home/remote//winnt uid=,gid= - - /etc/pam.d/gdm has the following two extra lines in it: sessionrequired /lib/security/pam_mount.so use_first_pass auth required /lib/security/pam_mount.so use_first_pass I added them to the end of the file as per the README. Nothing happens. No volumes are mounted. Nothing appears in /var/log/messages. No errors are generated. It just silently fails. -- Aaron Bennett UNIX Administrator Franklin W. Olin College of Engineering -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Domain Support Problems
I'm out of ideas here. I'm trying to set up a computer network using samba on Linux as the primary server and a WinXP machine as the client. I'm just beginning with XP, but I've been using Linux and Samba (for Win95/98) for many years now. So, I've set up samba machine griffon to support domains... ; Domain Stuff domain master = yes domain logons = yes logon path = \\%L\profiles\%u logon home = \\%L\%u logon script = logon.cmd add user script = /etc/samba/adduser %u This should allow automatic on-the-fly creation of new machine accounts. I've created a samba administrative account called machines in /etc/passwd machines:x:0:5000:Machine Account (creator):/tmp:/bin/false and a corresponding one in /etc/samba/smbpasswd machines:0:3E3E844D9FA7D83317306D272A9441BB:57BCEA1EC8B53A61D032E6B338A0C23B:[UX ]:LCT-3E56855C: Under XP machine watertown, I've gone to Control Panel, System, Computer Name Changes, member of domain 'precidia', OK. Samba runs and logs [2003/02/21 15:30:58, 2] smbd/reply.c:reply_special(92) netbios connect: name1=GRIFFON name2=WATERTOWN [2003/02/21 15:30:58, 2] smbd/reply.c:reply_special(111) netbios connect: local=griffon remote=watertown [2003/02/21 15:30:59, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176) get_md4pw: Workstation watertown$: no account in domain [2003/02/21 15:30:59, 2] smbd/server.c:exit_server(458) Closing connections calls /etc/samba/adduser and presto-chango, there is now an /etc/passwd entry watertown$:x:5001:5000:Machine Account,,,:/tmp$:/bin/false and a corresponding entry in /etc/samba/smbpasswd so that file is now bcwhite:10001:C75CC291E06B5A54F7E62F36F8DB5AE6:1ADA7AD6BE20188D6F929F801B25443C:[U ]:LCT-392D6EF2: machines:0:3E3E844D9FA7D83317306D272A9441BB:57BCEA1EC8B53A61D032E6B338A0C23B:[UX ]:LCT-3E56855C: watertown$:5001:NO PASSWORDX:NO PASSWORDX:[NDW ]:LCT-3E56858D: Now things go wrong. The rest of the log.smbd file shows [2003/02/21 15:31:00, 2] smbd/reply.c:reply_special(92) netbios connect: name1=GRIFFON name2=WATERTOWN [2003/02/21 15:31:00, 2] smbd/reply.c:reply_special(111) netbios connect: local=griffon remote=watertown [2003/02/21 15:31:03, 0] rpc_server/srv_samr_nt.c:_samr_set_userinfo(2458) _samr_set_userinfo: Unable to get smbpasswd entry for uid 0 [2003/02/21 15:31:03, 0] rpc_server/srv_samr_nt.c:_samr_delete_dom_user(2664) _samr_delete_dom_user: Not yet implemented. [2003/02/21 15:31:03, 2] smbd/server.c:exit_server(458) Closing connections I traced this around (using strace, log file, and source code) and determined that samba is taking UID 0, looking it up in /etc/passwd to get the name root and then trying to find root in /etc/samba/smbpasswd, but it doesn't exist. Next, I added a line to /etc/samba/smbpasswd of root for samba to find root:0:CC596B7CE5FA59805ACDCD7C247FA83A:C119AEDBECEB895E7D9D0417A607:[UX ]:LCT-3E5683CF: This password happens to match the real unix password for that machine. Next time I try, the log file looks like [2003/02/21 15:32:30, 2] smbd/reply.c:reply_special(92) netbios connect: name1=GRIFFON name2=WATERTOWN [2003/02/21 15:32:30, 2] smbd/reply.c:reply_special(111) netbios connect: local=griffon remote=watertown [2003/02/21 15:32:31, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176) get_md4pw: Workstation watertown$: no account in domain [2003/02/21 15:32:31, 2] smbd/server.c:exit_server(458) Closing connections [2003/02/21 15:32:32, 2] smbd/reply.c:reply_special(92) netbios connect: name1=GRIFFON name2=WATERTOWN [2003/02/21 15:32:32, 2] smbd/reply.c:reply_special(111) netbios connect: local=griffon remote=watertown [2003/02/21 15:32:35, 0] libsmb/smbencrypt.c:decode_pw_buffer(259) decode_pw_buffer: incorrect password length (-193558569). [2003/02/21 15:32:35, 0] rpc_server/srv_samr_nt.c:_samr_delete_dom_user(2664) _samr_delete_dom_user: Not yet implemented. [2003/02/21 15:32:36, 2] smbd/server.c:exit_server(458) Closing connections The watertown$ account was recreated (I deleted it before running this attempt) but I was not able to figure out why the password length is so wrong. I am using shadow passwords here if that makes any difference. Giving up on that line of thought, I decided to try just using the root acount as the samba administrative account. That didn't work either: Now when I try to connect to the domain, I get [2003/02/21 15:36:12, 2] smbd/reply.c:reply_special(92) netbios connect: name1=GRIFFON name2=WATERTOWN [2003/02/21 15:36:12, 2] smbd/reply.c:reply_special(111) netbios connect: local=griffon remote=watertown [2003/02/21 15:36:13, 0] smbd/service.c:make_connection(564) Can't become connected user! [2003/02/21 15:36:13, 2] smbd/server.c:exit_server(458) Closing connections [2003/02/21 15:36:14, 2] smbd/reply.c:reply_special(92) netbios connect: name1=GRIFFON
Re: [Samba] how do i umount a device busy ?
I have mounted a win98 machine from a ML8.1 samba 2.2.2 The win98 machine, as all windows machines do, crashed on me. Now i can't unmount the mounted folder, If i do it from cli, i get umount usr/Cad12: device busy. Try #lsof /usr/Cad12 to find which process to kill. When you try to unmount a filesystem and are denied with a Filesystem Busy message, use lsof to determine what process is holding onto the mountpoint. For example: # /usr/sbin/lsof /mnt/cdrom In this case, /mnt/cdrom is the mountpoint in question, and lsof will tell you if any processes have opened any files on that particular filesystem. hth, Patrick -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Multiple client access same file
I have tried this post before, under a different Subject line. I am trying to share CD images, or rather, I AM sharing CD images, but run into trouble when many clients access the same mounted image. Can anyone make any suggestions on the best smb.conf options to use in this case. Some shares need to be mapped by windows. Some work with network path. TIA Shane -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: domain
what samba version? you can upgrade to the last samba version, it is recommended anyway. please let continue this thread over [EMAIL PROTECTED] user's support mailing list. Simo. On Fri, 2003-02-21 at 19:49, Igor Debacker wrote: I use suse 8.0 and in suse this command winbind use default domain = yes is not supported .. is there anything i can do ? Simo Sorce [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] need help with Samba permissions
Hi, I cannot access Samba from windows workstation. it does not accept user name and password. I am running Samba 2.2.3a. Thanks, Paul Hong -Samba newbie -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] explorer.exe crashing at login
Sam Hart wrote: I don't think I'll be able to help solve your problem completely, but I may be able to send you in the right direction. We recently had this problem as well, and found that giving the users higher priviledges on their local client machines solved the problem (which, for our users, was not a desirable solution). begin quote: On 03-02-19, Orion Poplawski wrote: We're running a network of Windows 2000 SP3 machines with Samba 2.2.7 as the PDC and roaming profile store. Certain users logging onto certain machines will see an error dialogue pop-up saying explorer.exe has generated errors and will exit. This keeps popping up and to only course of action is to ctrl-alt-del and logout. For most people, everything works fine. After going through Microsoft support, they pointed me to the following support article: 326572 Explorer.exe Repeatedly Generates Access Violation Error Messages After _http://support.microsoft.com/?id=326572_ In addition to the hotfix mentioned in the article, upgrading to IE 6 it supposed to do the same thing, which I tried, and it worked. - Orion -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba PDC shared applications and a default start menuprofile
I have a network of Windows XP desktops, and a Samba PDC server, in an ideal world i'd like to have single installations of applications on a samba shared device, and also if possible a default start menu profile with the applications already added... is such a setup possible? Right now I'm using roaming profiles... (I think?) If it's possible could some smb.conf examples or urls pointing to a head start be provided, that would be very much appreciated.. - kevin PS, CC: me directly because i'm not subscribed to this list. Thanks :) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP needs ~30seconds to open network share
There is not anything similar in Win2k. If it is taking a long time to connect then there is something else wrong. It could be dns problems or something else. Try increasing the debug level for a while to see if samba is reporting some problems. Patrick Mike Stewart wrote: Is there something similar (or the same) in win 2000 which I could disable ? Mike - Original Message - From: Leroy van Logchem [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 21, 2003 8:46 AM Subject: Re: [Samba] XP needs ~30seconds to open network share Try disabling the WebClient under services of the XP clients. XP first tries to use webdav to connect to the share when that times out it will then use smb. If that really improves the reconnection speeds when using deadtime for example, please include this tip in the samba documentation. Near the sign or seal registry tips would be a good place imo. Did anyone test the difference in connection times? At my location we use kixart scripts to connect to 10+ shares when logging on to the smb PDC, any tips? Regards, | | Leroy(dot)vanLogchem (at) wldelft(dot)nl | Systems Group | WL | Delft Hydraulics - http://www.wldelft.nl | -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba --- Outgoing mail is certified Virus Free. Scanned with Grisoft AVG 6.0. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 18/02/2003 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] how do i umount a device busy ?
Did you try fuser -km /mount to kill all processes accessing it then umount device? Patrick Ken Walker wrote: I have mounted a win98 machine from a ML8.1 samba 2.2.2 The win98 machine, as all windows machines do, crashed on me. Now i can't unmount the mounted folder, If i do it from cli, i get umount usr/Cad12: device busy. If i try and cd to that folder, the console freezes and only kill application will shut it down. I tried as su and on another Virtual console as root, but it will not umount. I've shut down the win98 machine and powered it up again. But it still will not umount. Also how do i kill a virtual console which is not responding. Many thanks Ken -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP needs ~30seconds to open network share
Hi, When you have authentication (security) set to share (basically no auth), then the browse looks to be fast. When set it to user, it auths to the PDC before letting you browse. Depending how you have your server config'd will determine its speed of authentication (server hardware, network speed, etc...). To me, this is normal. Perhaps I don't understand the ish. Bri- __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] how do i umount a device busy ?
Hi, Would it be appropriate to do a killall {smbd,nmbd} ? Seems like its down to drastic measurs. Bri- __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba + LDAP segfaulting
Hey, I tried to set up samba to auth via LDAP for accessing shared home directories. However, whenever a connection is made, samba segfaults. Details follow: Machine Spec: Sun E450, 2G RAM, Solaris 9 Samba 2.2.7a] -- all openldap-2.0.23 ] -- compiled nss_ldap-203.4 ] -- from pam_ldap-159] -- source Samba was compiled as follows: ./configure --prefix=/usr/local/samba --with-ldapsam make make install Following is an example of the problem: [EMAIL PROTECTED]:~$smbclient //holly/maddenj added interface ip=136.201.105.2 bcast=136.201.105.255 nmask=255.255.255.0 Got a positive name query response from 136.201.105.4 ( 136.201.105.4 ) Password: session setup failed: code 0 Attached are the following: bugreport.log -- log.smbd showing samba startup, connection and segfault. debug set at 10 gdb.out -- gdb output of the segfault where.out -- gdb where on the segfaulted pid disass.out -- gdb disass of the last routine in samba before outside routines are called ldif.out -- ldif of the user account (maddenj) I've been testing this with. generated with ldapsearch -LLL -Droot_dn -W uid=maddenj ldif.out smb.conf -- conf file If I can provide you with any more information, just ask and I'll try and get it together. -- Chat ya later, John. -- BOFH excuse #1: clock speed [2003/02/19 22:18:02, 0] smbd/server.c:main(707) smbd version 2.2.7a started. Copyright Andrew Tridgell and the Samba Team 1992-2002 [2003/02/19 22:18:02, 1] lib/debug.c:debug_message(258) INFO: Debug class all level = 10 (pid 1562 from pid 1562) doing parameter socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096 doing parameter encrypt passwords = yes doing parameter wins support = no doing parameter os level = 200 doing parameter domain master = yes doing parameter local master = no doing parameter preferred master = no doing parameter name resolve order = lmhosts host wins bcast doing parameter dns proxy = no doing parameter preserve case = yes doing parameter short preserve case = yes doing parameter unix password sync = no doing parameter max log size = 1000 [2003/02/19 22:18:02, 2] param/loadparm.c:do_section(3055) Processing section [HOMES] doing parameter comment = Writable home directories doing parameter browseable = no doing parameter writable = yes doing parameter public = no doing parameter guest ok = no doing parameter path = /export/home/%u [2003/02/19 22:18:02, 2] param/loadparm.c:do_section(3055) Processing section [rw_homes] doing parameter comment = Writable home directories doing parameter browseable = no doing parameter writable = yes doing parameter public = no doing parameter guest ok = no doing parameter path = /export/home/%u [2003/02/19 22:18:02, 2] param/loadparm.c:do_section(3055) Processing section [ro_homes] doing parameter comment = Read-Only home directories doing parameter browseable = no doing parameter public = no doing parameter guest ok = no doing parameter path = /export/home/%u [2003/02/19 22:18:02, 4] param/loadparm.c:lp_load(3485) pm_process() returned Yes [2003/02/19 22:18:02, 3] param/loadparm.c:lp_add_ipc(2023) adding IPC service IPC$ [2003/02/19 22:18:02, 3] param/loadparm.c:lp_add_ipc(2023) adding IPC service ADMIN$ [2003/02/19 22:18:02, 10] param/loadparm.c:set_server_role(3439) set_server_role: ROLE_STANDALONE [2003/02/19 22:18:02, 7] param/loadparm.c:lp_servicenumber(3594) lp_servicenumber: couldn't find printers [2003/02/19 22:18:02, 7] param/loadparm.c:lp_servicenumber(3594) lp_servicenumber: couldn't find printers [2003/02/19 22:18:02, 6] param/loadparm.c:lp_file_list_changed(2297) lp_file_list_changed() file /usr/local/samba/lib/smb.conf - /usr/local/samba/lib/smb.conf last mod_time: Tue Feb 18 18:03:28 2003 [2003/02/19 22:18:02, 2] lib/interface.c:add_interface(81) added interface ip=136.201.105.4 bcast=136.201.105.255 nmask=255.255.255.0 [2003/02/19 22:18:02, 5] lib/hash.c:hash_table_init(68) Hash size = 521. [2003/02/19 22:18:02, 6] lib/charset.c:codepage_initialise(336) codepage_initialise: client code page = 850 [2003/02/19 22:18:02, 5] lib/charset.c:load_client_codepage(194) load_client_codepage: loading codepage 850. Adding chars 0x85 0xb7 (l-u = True) (u-l = True) Adding chars 0xa0 0xb5 (l-u = True) (u-l = True) Adding chars 0x83 0xb6 (l-u = True) (u-l = True) Adding chars 0xc6 0xc7 (l-u = True) (u-l = True) Adding chars 0x84 0x8e (l-u = True) (u-l = True) Adding chars 0x86 0x8f (l-u = True) (u-l = True) Adding chars 0x91 0x92 (l-u = True) (u-l = True) Adding chars 0x87 0x80 (l-u = True) (u-l = True) Adding chars 0x8a 0xd4 (l-u = True) (u-l = True) Adding chars 0x82 0x90 (l-u = True) (u-l = True) Adding chars 0x88 0xd2 (l-u = True) (u-l = True) Adding chars 0x89 0xd3 (l-u = True) (u-l = True) Adding chars 0x8d 0xde (l-u = True) (u-l = True) Adding chars 0xa1 0xd6 (l-u = True) (u-l = True) Adding chars 0x8c 0xd7
[Samba] finger print for samba-pubkey.asc
When I run gpg --verify samba-2.2.7a.tar.asc I get the following output: gpg: Signature made Fri Dec 13 12:23:00 2002 CST using DSA key ID 2F87AF6F gpg: Good signature from Samba Distribution Verification Key [EMAIL PROTECTED] WARNING: This key is not certified with a trusted signature! There is no indication that the signature belongs to the owner. Primary key fingerprint: ... Where may I find a trusted authority for the fingerprint of the samba public key found at (for example) http://us3.samba.org/samba/ftp/samba-pubkey.asc ? Thanks Richard -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba PDC shared applications and a default start menuprofile
If I understand your question correctly, the short answer is no. Windows programs need to be installed in order for the drivers, fonts and registry settings associated with that program to be correct. As a test, share the hard drive on one computer. Create an icon on another computer pointing to a program on the shared computer and try to run the program. It's no fun. I hope this helps. Kevin S. Brackett ([EMAIL PROTECTED]) wrote*: I have a network of Windows XP desktops, and a Samba PDC server, in an ideal world i'd like to have single installations of applications on a samba shared device, and also if possible a default start menu profile with the applications already added... is such a setup possible? Right now I'm using roaming profiles... (I think?) If it's possible could some smb.conf examples or urls pointing to a head start be provided, that would be very much appreciated.. - kevin PS, CC: me directly because i'm not subscribed to this list. Thanks :) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] cannot FTP ldapsync.pl
You don't have permission to access /samba/ftp/cvs_current/examples/LDAP/ldapsync.pl on this server - . , / v \ /( )\ ^^ ^^ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] finger print for samba-pubkey.asc
On Saturday February 22 2003 01:29 pm, Richard Seegmiller wrote: When I run gpg --verify samba-2.2.7a.tar.asc I get the following output: gpg: Signature made Fri Dec 13 12:23:00 2002 CST using DSA key ID 2F87AF6F gpg: Good signature from Samba Distribution Verification Key [EMAIL PROTECTED] WARNING: This key is not certified with a trusted signature! There is no indication that the signature belongs to the owner. Primary key fingerprint: ... This means no one you trust or is traceable back to someone you trust has signed the key. You can sign the key locally yourself if you wan to eliminate the message. Where may I find a trusted authority for the fingerprint of the samba public key found at (for example) http://us3.samba.org/samba/ftp/samba-pubkey.asc ? Thanks Richard -- Stephen Carville UNIX and Network Administrator DPSI (formerly Ace USA Flood Services) 310-342-3602 [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Slow printers share
Hi there, I have set up a server to act as a PDC, file server and print server for a record store I occasionally work at. Everything is working fine, except browsing the printer share is painfully slow. It's not really a problem, but if something is wrong I'd like to know what it is. smb.conf contains [global] ... printing = cups printcap = cups ... [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yess writable = no printable = yes valid users = smbuser printer admin = root [print$] comment = Printer Drivers path = /usr/local/samba/drivers browseable = yes guest ok = no read only = yes valid users = smbuser write list = root - and the message in the samba log is: [2003/02/22 16:56:39, 0] printing/print_cups.c:cups_printername_ok(291) Unable to get printer status for ::{2227a280-3aea-1069-a2de-08002b30309d} - client-error-not-found [2003/02/22 16:56:39, 0] smbd/service.c:make_conneo ::{2227a280-3aea-1069-a2de-08002b30309d} Im using version 2.2.3a12 (debian woody binary) and cups 1.1.14 Does anyone have any ideas as to what could be causing this? It looks like it's trying to make a connection to a non-existent printer, but all the config files I know of show only the one printer which works fine. Thanks, Chris -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Modules
090156 metze ctrlsoft: I think the modules stuff should not merged into 3_0 untill we have discused how module loading should be finally done in samba What I will be merging into 3_0 at first is just some basic helper functions for the modules. it's currently only the smb_load_module() function that we need, no matter what way the modules system will work. Here's an email I sent to the samba-team list about a week ago: Hi, There has been some discussion whether modules should be implicitly loaded. Here's a list of possibilities and their (dis)advantages that I'm aware of: 1. Load all modules when samba starts: + No performance loss whenever a client connects - New modules are not loaded when smb.conf changes + No need for other subsystems to know about modules. They just need to provide a smb_register_blah() function 2. Load all modules when a client connects - Performance loss. We need to do dlopen(), dlsym(), init_module() for all modules we eventually might need whenever a client connects. + If smb.conf changes, then every new client gets the new set of modules - this won't be possible with nmbd + No need for other subsystems to know about modules. They just need to provide a smb_register_blah() function 3. Load the modules whenever they're needed +- Not all modules need to be loaded at fork(). Performance will be better than in case (2) but worse than in case (1) + Changes to smb.conf are followed, even when smb.conf changed after the smbd child fork()'ed - Subsystems need to know about modules. Whenever they need to use stuff from some module, they need to ensure that module is loaded. I personally prefer either the second or the third method. There might be a little bit performance loss in the second case (dlopen(), dlsym(), init_module() calls). I don't think this will be very heavy, though. Doing 2 dlopen() + dlsym() + init_module() + dlclose()'s only took 5s on my Pentium 350 (These benchmarks aren't accurate because the kernel will map the module in the memory here, but there will be usually more then one smbd running which means the module would also be in the memory in normal cases). What do you think? Any suggestions? Jelmer -- Jelmer Vernooij [EMAIL PROTECTED] - http://nl.linux.org/~jelmer/ 11:37:40 up 4 days, 15:16, 19 users, load average: 2.57, 1.36, 0.67
Re: IDMAP backend
But I'm REALLY NOT FINE with a parameter name 'winbind backend' for this!!! winbind backends are RPC and ADS. we should name this parameter 'idmap backend' or something like that. please, please change this fast! :-) otherwise it will be bad to change this parameter because everyone has it in his smb.conf and has to change this. also we should seperate the idmap stuff from winbind, so that we can use it in pdb and other subsystems of samba also. Anyone else want to comment here? How much will the API need to change for these other cases, or can they just use the existing one? Jim McDonough IBM Linux Technology Center Samba Team 6 Minuteman Drive Scarborough, ME 04074 USA [EMAIL PROTECTED] [EMAIL PROTECTED] Phone: (207) 885-5565 IBM tie-line: 776-9984
Re: IDMAP backend
On Fri, 2003-02-21 at 23:01, Jim McDonough wrote: But I'm REALLY NOT FINE with a parameter name 'winbind backend' for this!!! winbind backends are RPC and ADS. we should name this parameter 'idmap backend' or something like that. please, please change this fast! :-) otherwise it will be bad to change this parameter because everyone has it in his smb.conf and has to change this. also we should seperate the idmap stuff from winbind, so that we can use it in pdb and other subsystems of samba also. Anyone else want to comment here? How much will the API need to change for these other cases, or can they just use the existing one? Metze is correct regarding the need to call it 'idmap backend', but as to how this fits into things like pdb, it's a bit messy. Certainly smbd could (should?) call the idmap directly, rather than making winbindd do it over the socket. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part
Need help !!
Hi, I´d like to ask you if it is possible to connect a Winxp cleint to a Linux Suse 6.4 with Samba 2.0.4 fileserver, when yes how. Several times I like to connect my WinXP client to the Fileserver and I can see him but I cannot the directories how does it comes ?? In advance thank you very much for your help regards Dirk
Re: Modules
At 11:43 21.02.2003 +0100, Jelmer Vernooij wrote: 090156 metze ctrlsoft: I think the modules stuff should not merged into 3_0 untill we have discused how module loading should be finally done in samba What I will be merging into 3_0 at first is just some basic helper functions for the modules. it's currently only the smb_load_module() function that we need, no matter what way the modules system will work. Here's an email I sent to the samba-team list about a week ago: Did you get any feedback? it would be fine if such things would be discussed over samba-technical and not only over samba-team. metze - Stefan metze Metzmacher [EMAIL PROTECTED]
Re: IDMAP backend
I agree, Stefan suggestions are good. Simo. On Fri, 2003-02-21 at 07:52, Stefan (metze) Metzmacher wrote: Hi Jim, Anthony, It's nice to see that someone is working on the idmap backend stuff :-) But I'm REALLY NOT FINE with a parameter name 'winbind backend' for this!!! winbind backends are RPC and ADS. we should name this parameter 'idmap backend' or something like that. please, please change this fast! :-) otherwise it will be bad to change this parameter because everyone has it in his smb.conf and has to change this. also we should seperate the idmap stuff from winbind, so that we can use it in pdb and other subsystems of samba also. metze - Stefan metze Metzmacher [EMAIL PROTECTED] -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
Re: IDMAP backend
So I've renamed the paramater to 'idmap backend', but I've left it in the nsswitch directory for the moment...since that will take some more effort and planning, and it seems we should have the apis better defined. Jim McDonough IBM Linux Technology Center Samba Team 6 Minuteman Drive Scarborough, ME 04074 USA [EMAIL PROTECTED] [EMAIL PROTECTED] Phone: (207) 885-5565 IBM tie-line: 776-9984 Simo Sorce simo.sorce@xsec.To: Stefan (metze) Metzmacher [EMAIL PROTECTED] it cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: IDMAP backend 02/21/2003 08:26 AM I agree, Stefan suggestions are good. Simo. On Fri, 2003-02-21 at 07:52, Stefan (metze) Metzmacher wrote: Hi Jim, Anthony, It's nice to see that someone is working on the idmap backend stuff :-) But I'm REALLY NOT FINE with a parameter name 'winbind backend' for this!!! winbind backends are RPC and ADS. we should name this parameter 'idmap backend' or something like that. please, please change this fast! :-) otherwise it will be bad to change this parameter because everyone has it in his smb.conf and has to change this. also we should seperate the idmap stuff from winbind, so that we can use it in pdb and other subsystems of samba also. metze - Stefan metze Metzmacher [EMAIL PROTECTED] -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc has been removed from this note on February 21, 2003 by Jim McDonough
Re: Samba on 2 domains?
On Fri, 2003-02-21 at 14:30, Keith Hamilton wrote: Hey, Is it possible to configure Samba to run as a PDC on 2 domains? Hi, I don't think so. I would try to run 2 sambas. Just put config stuff in different directories, add IP alias and bind sambas to different IPs. The only thing that can cause troubles is user mapping. Eg. if you have the same user name in both domains, it will be mapped to the same unix user id. If you are not going to serve the same files for both domains it should be no issue unless users have local/unix access to server. Oh, and file locking. If the file is to be opened by users from two domains I don't know what will happen. I suppose: locking will work share modes - will be problem oplocks - will be problem if system doesn't support kernel oplocks Regards, Olaf Fraczyk
Input on tuning ?
http://www.birrabrothers.com/tiger/data/samba/showoff/ AmigaOS now broke the 1mb/s barrier ;D Any input on Ethereal SMB RTT values for tuning ? Doubling TCP window gave an 10-15% increase actualy. Bottleneck now is cpu peaking at 99% at ~1MB IO. FTP peak at 1.5MB/S. Have an wonderful CRC free weekend ;) 2.2.5 rocks. -- Ulf
[patch] configure.in bug setting authlibs
AC_SEARCH_LIBS and AC_CHECK_LIB are used to find a function and then add its library to the LIBS variable. The macros can deal with the fact that the function might be missing, in a library, or available but not in any library. The configure script, in both head and 3.0, uses these macros to find the crypt function. In addition, configure uses the true clause to set AUTHLIBS to hold the name of the library containing crypt. However, it slips up and assumes that crypt, if found, must be in a library. On my system, crypt is available but not in any library. Thus, configure mistakenly sets AUTHLIBS=-lcrypt, but I don't have libcrypt.a, and so I die. The attached patch corrects this, and removes what I think is a redundant call to AC_SEARCH_LIBS. I did an extensive analysis, and AFAICT this patch will work properly in all cases (with or without pam). But I would appreciate another set of eyes looking it over. Secondly, AC_SEARCH_LIBS and AC_CHECK_LIB are careful to prepend any new library to the LIBS variable, whereas the old code dealing with AUTHLIBS appends newly-discovered libraries. I changed the AUTHLIBS reference to prepend as well. This may not matter now, but it seems good practice. I have tested this patch on Stratus VOS and on Sun Solaris. On the Sun, I tested it --with-pam and --without-pam. It behaved as I expected and desired in all cases. I'd be grateful if it could be applied to HEAD and 3_0. pg.samba.030220.txt Thanks PG -- Stratus Technologies 111 Powdermill Road Maynard, MA 01754-3409 U.S.A. Paul Green Senior Technical Consultant TEL +1 (978) 461-7557 FAX +1 (978) 461-3610 diff -urp old/samba/source/configure.in new/samba/source/configure.in --- old/samba/source/configure.in Wed Feb 19 10:55:02 2003 +++ new/samba/source/configure.in Thu Feb 20 07:27:19 2003 -727,11 +727,6 fi AC_FUNC_MEMCMP ### -# test for where we get crypt() from -AC_SEARCH_LIBS(crypt, [crypt], [AUTHLIBS=$AUTHLIBS -lcrypt; - AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function])]) - -### # Readline included by default unless explicitly asked not to test ${with_readline+set} != set with_readline=yes -2408,15 +2403,10 AC_ARG_WITH(pam_smbpass, ### -# test for where we get crypt() from, but only -# if not using PAM -if test x$with_pam_for_crypt = xno; then -AC_CHECK_FUNCS(crypt) -if test x$ac_cv_func_crypt = xno; then -AC_CHECK_LIB(crypt, crypt, [AUTHLIBS=$AUTHLIBS -lcrypt; - AC_DEFINE(HAVE_CRYPT,1,[Whether crypt() is available])]) -fi -fi +# test for where we get crypt() from +AC_SEARCH_LIBS(crypt, [crypt], + [test $ac_cv_search_crypt = none required || AUTHLIBS=-lcrypt $AUTHLIBS + AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function])]) ## ## moved after the check for -lcrypt in order to
Re: Samba on 2 domains?
On Fri, 21 Feb 2003, Keith Hamilton wrote: Hey, Is it possible to configure Samba to run as a PDC on 2 domains? If you run two separate copies of Samba :-) Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com
RE: Byte range locking
I observed it while running the following modified torture test: static BOOL run_locktest7(int dummy) { static struct cli_state cli1; const char *fname = \\lockt7.lck; int fnum1; BOOL ret; char buf[200]; BOOL correct = True; if (!torture_open_connection(cli1)) { return False; } cli_sockopt(cli1, sockops); printf(starting locktest7\n); cli_unlink(cli1, fname); fnum1 = cli_open(cli1, fname, O_RDWR|O_CREAT|O_EXCL, DENY_NONE); memset(buf, 0, sizeof(buf)); if (cli_write(cli1, fnum1, 0, buf, 0, sizeof(buf)) != sizeof(buf)) { printf(Failed to create file\n); correct = False; goto fail; } cli_setpid(cli1, 1); if (!cli_lock(cli1, fnum1, 130, 4, 0, READ_LOCK)) { printf(Unable to apply read lock on range 130:4\n); goto fail; } else { printf(pid1 successfully read locked range 130:4\n); } if (cli_read(cli1, fnum1, buf, 130, 4) != 4) { printf(pid1 unable to read the range 130:4\n); } else { printf(pid1 successfully read the range 130:4\n); } if (cli_write(cli1, fnum1, 0, buf, 130, 4) != 4) { printf(pid1 unable to write to the range 130:4\n); } else { printf(pid1 successfully wrote to the range 130:4\n); } cli_setpid(cli1, 2); if (cli_read(cli1, fnum1, buf, 130, 4) != 4) { printf(pid2 unable to read the range 130:4\n); } else { printf(pid2 successfully read the range 130:4\n); } if (cli_write(cli1, fnum1, 0, buf, 130, 4) != 4) { printf(pid2 unable to write to the range 130:4\n); } else { printf(pid2 successfully wrote to the range 130:4\n); } cli_setpid(cli1, 1); fail: cli_close(cli1, fnum1); cli_unlink(cli1, fname); torture_close_connection(cli1); printf(finished locktest7\n); return correct; } -Original Message- From: jra@ [mailto:jra@] Sent: Thursday, February 20, 2003 8:51 PM To: Srikanta Shivanna Cc: samba-technical@xxx Subject: Re: Byte range locking On Thu, Feb 20, 2003 at 07:50:22PM -0800, Srikanta Shivanna wrote: I noticed a difference in byte range locking behavior between Samba (2.2.x) and Windows 2000 server, basically on Samba 2.2.x with strict locking enabled, a client process which owns a shared byte range lock can write to the locked region, this is not allowed on Windows 2000 server. Is there a reason for this Samba behavior? Is it because of default value of some config option? Can you give me more information on what open modes, access requested etc. from the client Win32 code please ? Thanks, Jeremy.
Re: Byte range locking
On Fri, Feb 21, 2003 at 10:51:10AM -0800, Srikanta Shivanna wrote: I observed it while running the following modified torture test: Thanks ! That saves me from writing one :-) :-). I'll look into it asap ! Jeremy.
win2000 server, linux client
hello everyone, im new in this list and i have this problem.. I have a win2000 domain controller in subnet 172.17.0.x and a linux server in 172.17.20.x (DHCP assign) The DC not solve the ip / netbiosname relation (A record i think..) like a win98 / NT /2000 If i ping the linux server from outside 172.17.20.x i receive this : ping 172.17.20.1 -- response ping dgalinux -- time out (dgalinux is the netbiosname of the linux server) Is this a problem of samba? i was searching a solution, patch or something like that, but i found nothing.. i have Redhat linux 8.0 and Samba 2.2.5 Thanks for your help. Marco Eyzaguirre Lima - Perú (sorry for my terrible english.. i speak spanish..)
RE: [patch] libsmbclient: shared or static libs, never both?
Steve Langasek [mailto:vorlon@xx] suggests: Sometimes, it's useful to be able to build (and install) static libraries even on platforms that support shared libraries. The attached patch brings in a few macros from libtool's aclocal.m4, to add --enable-shared and --enable-static options to configure as a step in this direction. As the person who most recently touched this logic, I support such an addition. Making this logic explicit and controllable would be a lot more transparent than the current detective work (not that you could entirely eliminate that however). Thanks PG -- Paul Green, Senior Technical Consultant, Stratus Technologies. Day: +1 978-461-7557; FAX: +1 978-461-3610 Speaking from Stratus not for Stratus
Win2K/XP, oplocks, and readahead
The readahead that the Linux page manager does (see mm/readahead.c) seems more sensible than what you are seeing with the Windows client - if you are trying to excercise your server in this way you might try the clients using the current version of Linux 2.5 kernel mounted with the cifs vfs or smbfs to your Samba server - this is probably a much more efficient way to exercise readahead using SMB clients. The algorithm used by the Linux page manager for readahead is pretty interesting. Note (if writebehind is also being tested) that in the current 2.5 kernel implementation of the cifs vfs at the moment there is a call missing to flush at oplock break time and also at sync time (flush is called properly at file close time) but this should be fixed soon. Steve French Senior Software Engineer Linux Technology Center - IBM Austin phone: 512-838-2294 email: a href=/faq.html#spam[EMAIL PROTECTED]/a
Re: Win2K/XP, oplocks, and readahead
Hi there! Although I am most focused on Windows clients since that is what our customers use, this would be a great thing to try to attempt to exonerate samba (not that much suspicion lies there anyway :)). It would be an interesting data point. I can't believe that I can't find *any* information about someone doing this sort of workload over CIFS with Windows clients! Thanks for the advice! Peter Godman On Fri, 21 Feb 2003, Steven French wrote: The readahead that the Linux page manager does (see mm/readahead.c) seems more sensible than what you are seeing with the Windows client - if you are trying to excercise your server in this way you might try the clients using the current version of Linux 2.5 kernel mounted with the cifs vfs or smbfs to your Samba server - this is probably a much more efficient way to exercise readahead using SMB clients. The algorithm used by the Linux page manager for readahead is pretty interesting. Note (if writebehind is also being tested) that in the current 2.5 kernel implementation of the cifs vfs at the moment there is a call missing to flush at oplock break time and also at sync time (flush is called properly at file close time) but this should be fixed soon. Steve French Senior Software Engineer Linux Technology Center - IBM Austin phone: 512-838-2294 email: [EMAIL PROTECTED]
Re: Byte range locking
On Fri, Feb 21, 2003 at 10:51:10AM -0800, Srikanta Shivanna wrote: I observed it while running the following modified torture test: Great test. I've applied a modified version of it to smbtorture in HEAD and fixed the bug in Samba's locking implementation. Thanks ! Jeremy.
Re: CVS update: samba/source/lib
Jelmer, what about returning an NT_STATUS error? Simo. On Thu, 2003-02-20 at 23:26, [EMAIL PROTECTED] wrote: Date: Thu Feb 20 22:26:28 2003 Author: jelmer Update of /home/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv30763/lib Modified Files: module.c Log Message: Make init_module() and thus smb_load_module() return an int. modules/developer.c: init_module() should return an int Revisions: module.c 1.6 = 1.7 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/module.c?r1=1.6r2=1.7 -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
Re: CVS update: samba/source/lib
On Fri, Feb 21, 2003 at 02:04:25PM +0100, Simo Sorce wrote about 'Re: CVS update: samba/source/lib': Jelmer, what about returning an NT_STATUS error? All of the current stuff (all the passdb modules and the dynrpc modules) was returning an int. I'm not sure whether these functions should really return an int, but this fixes the current situation. Is there any rule about what functions should return NT_STATUS and what should return BOOL or int? Jelmer On Thu, 2003-02-20 at 23:26, [EMAIL PROTECTED] wrote: Date: Thu Feb 20 22:26:28 2003 Author: jelmer Update of /home/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv30763/lib Modified Files: module.c Log Message: Make init_module() and thus smb_load_module() return an int. modules/developer.c: init_module() should return an int Revisions: module.c1.6 = 1.7 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/module.c?r1=1.6r2=1.7 -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 -- msg04600/pgp0.pgp Description: PGP signature
Re: CVS update: samba/source/lib
The trend was at converting to NT_STATUS where possible ... Simo. On Fri, 2003-02-21 at 14:37, Jelmer Vernooij wrote: On Fri, Feb 21, 2003 at 02:04:25PM +0100, Simo Sorce wrote about 'Re: CVS update: samba/source/lib': Jelmer, what about returning an NT_STATUS error? All of the current stuff (all the passdb modules and the dynrpc modules) was returning an int. I'm not sure whether these functions should really return an int, but this fixes the current situation. Is there any rule about what functions should return NT_STATUS and what should return BOOL or int? Jelmer On Thu, 2003-02-20 at 23:26, [EMAIL PROTECTED] wrote: Date: Thu Feb 20 22:26:28 2003 Author: jelmer Update of /home/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv30763/lib Modified Files: module.c Log Message: Make init_module() and thus smb_load_module() return an int. modules/developer.c: init_module() should return an int Revisions: module.c 1.6 = 1.7 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/module.c?r1=1.6r2=1.7 -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
CVS update: samba/source/libsmb
Date: Fri Feb 21 14:35:02 2003 Author: jmcd Update of /home/cvs/samba/source/libsmb In directory dp.samba.org:/tmp/cvs-serv503/libsmb Modified Files: clikrb5.c Log Message: Fix IRIX build...void fn can't return another void fn Revisions: clikrb5.c 1.32 = 1.33 http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/clikrb5.c?r1=1.32r2=1.33
CVS update: samba/examples/VFS
Date: Fri Feb 21 16:13:02 2003 Author: jerry Update of /data/cvs/samba/examples/VFS In directory dp.samba.org:/tmp/cvs-serv28148 Modified Files: Tag: SAMBA_2_2 audit.c Log Message: patch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling it. Fixes seg fault in audit VFS module Revisions: audit.c 1.3.4.8 = 1.3.4.9 http://www.samba.org/cgi-bin/cvsweb/samba/examples/VFS/audit.c?r1=1.3.4.8r2=1.3.4.9
CVS update: samba/source/modules
Date: Fri Feb 21 16:15:30 2003 Author: jerry Update of /data/cvs/samba/source/modules In directory dp.samba.org:/tmp/cvs-serv29360 Modified Files: vfs_audit.c Log Message: patch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling it. Fixes seg fault in audit VFS module Revisions: vfs_audit.c 1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba/source/modules/vfs_audit.c?r1=1.1r2=1.2
CVS update: samba/source/modules
Date: Fri Feb 21 16:15:44 2003 Author: jerry Update of /data/cvs/samba/source/modules In directory dp.samba.org:/tmp/cvs-serv29466 Modified Files: Tag: SAMBA_3_0 vfs_audit.c Log Message: patch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling it. Fixes seg fault in audit VFS module Revisions: vfs_audit.c 1.1.2.1 = 1.1.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/source/modules/vfs_audit.c?r1=1.1.2.1r2=1.1.2.2