[Samba] Samba Unicode
With the final release of 2.4.21, would it be appropriate for Urban to consider updating all of the2.4.18 smbfs patches as a single file. I've had a problem for a while where I'm trying to mount my shares on a windows 2000 server with some (french canadian) accentuated characters in the file names and directory names, which smbfs mounts with question marks. At first I thought this was caused by a problem in my locale configuration, but I seem to be realizing that the 2.4.21 code for smbfs has not been updated for a while. Is there any reason why these smbfs patches should not be rolled in the main kernel code? Surely, there must be a lot of people which are utilizing linux clients off windows 2000 servers with accentuated characters on the servers on this planet... Additionally, is it fair for me to assess that the smbclient utilizes the smbfs code in order to list a directory with an accentuated character? if not, why would I have the same bug than with smbmount? Does smbmount in Samba 3.0 beta 1 solves this problem? I have tried it and it doesn't. From which version onward does windows SMB transmits directory and file names over the wire in unicode? Windows 2000 and upward? -=Francois=- [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 3.0 != ADS, whats missing?
Hi all, I have been reading throught the manual that accompanied the Samba 3.0(beta) distribution. I am unable to understand ... Samba-3 is capable of acting fully as a native member of a Windows 200x server Active Directory domain. However, please be aware that Samba-3 support the MS Windows 200x domain control protocols also. At this time any appearance that Samba-3 is capable of acting as an ADS Domain Controller is limited and experimental in nature. In a less protocol and more application perspective, what are the features (relatively important) that a Samba (only, if that is possible) DC (with ADS features) would be missing? Thank you. Regards, suraj. __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Mapping/mount smb file systems without using password
I have been working on getting a Linux workstation to authenticate against a W2K ADS. I have this working successfully using WinBind/PAM/Samba. I would now like to go one step further and mount/map the Windows network drives for the logged in client. I have looked at the man page for smbclient, is it possible to pass through the winbind password that was used for gdm authentication through to mount.smb so the user does not have to type the password more than once? Even better would be to get the automounter to mount the various directories needed against scripted automount maps. Just wondering if the Samba team have progressed this far. -- Brett Hales [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Cannot add Domain Groups to Local Groups (D Users OK)
I have searched the globe but alas I can't come up with a solution. I am running Debian 3.0r0 with samba 2.2.3a12-3 (or something around there) and Kernel 2.4.18. Basically I am trying to add a Domain Group to a Local Group, but when I do I get an error (From Windows 2000): A member could not be added to or removed from the local group because the member does not exist Steve, if you're running Win2000 workstations then I'd recommend to stay with 2.2.8a, it has the latest fixes, particularly those relating to 2000/XP. As for the error you are getting, I have the same error when adding Domain Users to the local Power Users group, however, have found that the following workaround works 9 times out of 10. 1. Attempt to add the D/U group to Power Users, get the error, ignore, close. 2. Open up the (local) Users group, then add any domain user from your s Samba PDC, save the changes. 3. Go back into Power Users, add the D/U group again, it should work fine this time, don't ask me why, but it does. 4. Delete the domain user you added previously to the local Users group. I've had to do this for all our Win2000 workstations, its a bit of a pain, but it seems to work ok after that. All my sites run 2.2.8a on the server, and we have a mix of Win 2000 SP1-SP3 workstations. HTH -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0 != ADS, whats missing?
Hi, --- Andrew Bartlett [EMAIL PROTECTED] wrote: I have been reading throught the manual that accompanied the Samba 3.0(beta) distribution. I am unable to understand ... Samba-3 is capable of acting fully as a native member of a Windows 200x server Active Directory domain. However, please be aware that Samba-3 support the MS Windows 200x domain control protocols also. At this time any appearance that Samba-3 is capable of acting as an ADS Domain Controller is limited and experimental in nature. In a less protocol and more application perspective, what are the features (relatively important) that a Samba (only, if that is possible) DC (with ADS features) would be missing? The feature people would miss most would probably be group policies. We have good single-sign-on facilities, and good integration with Unix. Management tools exist, but you can't use the all the Microsoft tools in quite the way you could with native AD. Most of the rest we can do with the NT4 protocols, which seem to work quite well. Andrew Bartlett Does this mean that I can replace a DC (with ADS) with a Samba box without Win2k/XP (professional) users, finding a difference (getting around the group policy, I look at, as an administrative difference)? Thank you. Regards, suraj. __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] how to make unix password and samba password same
Hi, Is it possible to have UNIX password and samba password same so that user only need to remember one userid and password ? How to sync both this password ? Thanks in advance. regards, Karu -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Unicode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francois Menard (Mailing List Account) wrote: | With the final release of 2.4.21, would it be appropriate for Urban to | consider updating all of the2.4.18 smbfs patches as a single file. I just tried to apply all 3 patches to a stock 2.4.21, and here is what i found out: - - patch 00 on urban's page (codepage patch) is already part of 2.4.21 - - patch 01 and 02 (LFS unicode) are not - - patch 01 applies neatly on 2.4.21, BUT i get a LOT of smb_lookup errors ( code -23 ) doing a find on a mounted w98 share. These errors disappeared instatntly as i rolled back to stock 2.4.21. - - patch 02 (which is what you really need in fact for unicode) will not apply whitout patch 01 (as mentioned on Urban's page) because, afair, urban implemented changes in the drivers's architecture from patch 01. Being less than fluent in C (that's an understatement) i could not split ~ the lfs unicode parts of it, and one could even wonder if the -23 errors have anything to see with lfs, and not with these architectural changes. If urban reads the list, as I was told he does, could he comment on this? For your windows2000 problem, i had not trouble with accents (nor cedillas or euro sign...) as soon as i used iocharset=iso8859-15 and codepage=cp850 in my smbmount command; I guess you would get pretty much the same result the other way round putting character set = ISO8859-15 client code page = 850 in your smb.conf. It works here, i just checked. I find all this codepage, charset, nls, unicode and whatever stuff a bit hard to understand, could anyone direct me to some reliable info? |From which version onward does windows SMB transmits directory and file | names over the wire in unicode? Windows 2000 and upward? I asked the same question 3 days ago without an answer. I was told before it started with w2k, so i guess wxp does too. David - -- *** [EMAIL PROTECTED] OpenPGP public key: http://www.amakuru.net/dmorel.asc 28192ef126bc871757cb7d97f4a44536 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+8WcTqr7QF98duCMRAoW0AKCc05rWWjGzrqhkK3PaGfwde+9seACeOvZa iEG43ydVx1F7PC/Owh41EAk= =n43a -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] Winbind and Organization Unit
I'm using Samba 2.2.8a with winbind on a Redhat System (kernel 2.4.20 + acl) within a W2K Domain compiled with the good options (I hope) Winbind can authentify users when the user is a Global User but not when he's in an Organization Unit. I need that winbind is able to authentify OU's users. Normally I've access only to my OU so how to tell to winbind to check only in a specific. Someone knows how to do that ?? TIA, D. ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.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 to make unix password and samba password same
Is it possible to have UNIX password and samba password same so that user only need to remember one userid and password ? How to sync both this password ? Thanks in advance. You've looked at smb.conf, haven't you? Look at the smb.conf particularly search for unix password sync = Yes and related. Then man smb.conf... BTW I hope you know most of today apps accept pam for auth so you can use winbind for this. E.g. you can auth say a Courier IMAP user using ONLY samba. Man winbindd f you're going in this direction. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Drive letter map to Samba using ssh or scp?
OK, what I want to do is access files on my Samba server remotely. Currently, I can use WinSCP, but this isn't ideal because [...] Anyone done anything like this? I don't want to reinvent the wheel if I don't have to. Don't know how it will work apart from VPN. Unfortunately a samba/windows world is very much tied to broadcasts. That's how it works... I have yet to see someone forwarding broadcasts through a ssh tunnel. You can quit using broadcasts if you don't want to use network neighborhood on the remote net. You'll do it with ssh by forwarding 139 but there is a catch: this ties you to accessing a single samba machine at a time! Users do not have to type complicated command lines each time. That's what .bat files are used for ;-) You make a bat file with ssh command to connect to the remote host and the user clicks it on the desktop; it only asks for a password. Some SSL gurus please step in and enlighten us about certificates and alike, I'm sure you can avoid passwords too!! Only once, you the windows admin modify the lmhosts file to point the name of the remote samba machine to 127.0.0.1. Then after the ssh connection is established you can access the remote machine in explorer with \\remote\sharename. Use IE's bookmarks features, name the shares accordingly. I know it's an ugly hack and it sucks badly but until some brave hart makes a VPN-how-to the magnitude Kurt Pfeifle did for samba printing it seems the only way... :-| -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Mapping/mount smb file systems without using password
On Thu, 2003-06-19 at 17:05, Brett Hales wrote: I have been working on getting a Linux workstation to authenticate against a W2K ADS. I have this working successfully using WinBind/PAM/Samba. I would now like to go one step further and mount/map the Windows network drives for the logged in client. I have looked at the man page for smbclient, is it possible to pass through the winbind password that was used for gdm authentication through to mount.smb so the user does not have to type the password more than once? See 'pam_mount'. That's the way it's meant to work, but I suspect there are still bugs in the process - I think we need to do some work on it. 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] big file server #2
Hi just to tell... a while ago I asked about making a big file server. the main goal is to have a cheap box with ca. 1 TB. I decided to go with the following : - PIV 2,4 GHz, 512 MB DDR 333 - mobo gigabyte w/ i845PE - additional IDE card w/ 2 ATA (gives me 8 devices max) - 1 40/60 GB disk for system - 5 200 GBs disk for data - RH 9.0 OOTB over sgi-xfs 1.2 install - soft raid 0 - xfs - samba - nfs - accton 10/100 NIC hardware had to be standard, common, available, thus the choices i wanted one flat TB so h/w raid was not an option (i could not spread one raid system over 2 boards ; maybe i could have set 2 h/w raid systems, one w/ 2 disks and one w/ 3 disks, and flatten it with an lvm, but it looked hairy...) so I choosed s/w raid with raid0 i could get a disk write throughtput of ca. 50 MB/s, whereas raid0 only gave 15 i found that overall performance was a little better w/ md devices vs. lvm devices, so i definitely choosed s/w raid 0 i tried ext3, xfs and reiserfs and went for xfs (best performances, supports ea/acl ...) i had to tune the disk io subsystem (mainly w/ bios and hdparm) very carefully. w/ default settings the average throughput was as bad as 2 MB/s whereas a fine tuning gave me 25 times more ! TODO i'm trying ethernet bonding (not very successful at the moment - help and advice appreciated !) because i'll need at least 2/300 Mbps network throughput, or i'll try a GB card thanks for those who advised me, and thanks to those who will :-) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] LAN Browsing shows IP Addresses instead of Computer Names.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mega Spaz wrote: hmm looks like I'm gonna do it how I did it before and just add the ip address and computer name pairs in /etc/hosts and have my router assign static ip addresses. Thanks for all the suggestions. you guys are great. Try nss_wins first, it *should* work. Although, I'd still like to know how MS Network Neighborhood does it. I don't want to set up my linux box as a server of any type since it's a laptop and is often taken out of the network when I travel. I mean let's just say for the sake of argument, that i've got a linux machine and a windows 98SE computer. How does Network Neighborhood get the computer name of my linux machine? Since I'm know I didn't set up the windows computer with any DNS or WINS server. but i'll go with what works for both. Any thoughts, please feel free to post 'em. =) Well, considering Windows started out without requiring TCP/IP, it's pretty obvious they needed something else for name resolution. It's kind of like asking why Unix machines work so well with DNS ... WINS was developed by MS to mitigate problems with their bad DNS support and the inability to browse large networks via broadcast. IMHO, the problem is actually with Lisa/kio_lan, it doesn't do the right things, since windows9x boxes shouldn't be connected to by their dns hostname, but their netbios name, doesn't query the master browser, doesn't show workgroups, and doesn't support WINS ... file bug reports in KDE bugzilla against lisa and kio_lan, this is not a samba problem. Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+8Ya/rJK6UGDSBKcRAltIAJ4nMmkrg5iG/OUYU4+eR7GvS3VBTwCeJlGQ mulkhbyV75WRNgr/Znvkgc4= =6DCw -END PGP SIGNATURE- ** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy. ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] cupsaddsmb NT_STATUS_NO_SUCH_DEVICE
[Samba] cupsaddsmb NT_STATUS_NO_SUCH_DEVICE Shanti Katta katta at csee.wvu.edu Tue Jun 17 21:01:43 GMT 2003 Hello, I am using cups-1.1.19final-1.deb and samba-2.2.3a. When I was working with cups-1.1.15 before, cupsaddsmb worked fine, but now with cups-1.1.19 it gives me: Running command: smbclient //localhost/print\$ -N -U'root%secret?' -c 'mkdir WIN40;put /var/spool/cups/tmp/3eef829eea1b8 WIN40/ps948esb.PPD;put /usr/share/cups/drivers/ADFONTS.MFM [] putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (10909.1 kb/s) (average 16587.7 kb/s) /usr/share/cups/drivers/PSMON.DLL does not exist Have you investigated this line? Running command: rpcclient localhost -N -U'root%secret?' -c 'adddriver [] result was NT_STATUS_NO_SUCH_DEVICE [] I checked the permissions on /var/spool/samba and other related directories, but couldn't resolve the error for 2 days now. Any help is highly appreciated. Shanti 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] 'Little' problems with Samba v2.2.3a-12.3 (Debian Woody)and PRINTERS !!)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Message: 1 Date: Wed, 18 Jun 2003 14:16:57 +0200 From: Farget Vincent [EMAIL PROTECTED] Subject: [Samba] 'Little' problems with Samba v2.2.3a-12.3 (Debian Woody) and PRINTERS !! To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Hi, I am using Samba (v2.2.3a-12.3 on stable Debian Woody) on a bi-cpu server (named MYSRV) acting as a primary domain controller. All works well except for printers where I have severals little problems. I use LPRng (v3.8.10-1.2 on stable Debian Woody) as my linux lpd spooler on my server. I have 2 printers : one HP LaserJet 4000N (named nss.1er) and one HP LaserJet 4050N (named nss.rdc). I have configured the 2 printers on the server using 'printtool'. I choosed the 'Remote Unix (lpd) Queue'. As both HP4000N and HP4050N can understand postcript documents, I choose '*auto* - Postscript' as my input filter for the two printers. All works well (samba : PDC, printers) except that I have problems with uploading and downloading printers driver on my samba server. You need to upload printer drivers from a Windows (NT/2k/XP) machine as a user who is a member of printer admin, and has write access to the directories. This is covered in the samba-howto-collection, which your distribution should provide you with. Also, note that many changes have been made in the printing code since 2.2.3a, you may want to consider not running an ancient release of samba (but I have had this working in 2.2.2). Regards, Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+8Y+CrJK6UGDSBKcRAghXAJ4/R+HcSUH2FKbD3WJgq7haNUXjPwCgwUCK Bj1jcHWK+cULTu5lRvd/pOk= =88rO -END PGP SIGNATURE- ** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy. ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Slow windows - cups print - CONCLUSION
Miguel Manso mmanso at amplitudenet.pt Thu Jun 19 01:46:59 GMT 2003 Hi list, I've just figured it out. When we're installing the drivers from adobe there's a part where we must Select the Printer Model. By default it uses the Generic Postscript Printer (it has an associated PPD for that). We must get a PPD for our printer (installed on the linux server) from the www.linuxprinting.org, click the Browse button and select that PPD. After that you'll have a new printer installed an all will work like a charm. Note: Inside the PPD of my printer (HP OfficeJet 5110) I had these line (despite all the others :) ): *ShortNickName: HP OfficeJet 5110, hpijs *NickName: HP OfficeJet 5110, Foomatic + hpijs (recommended) On the instalation of the Adobe drivers I had erros saying my printed had illegal chars on it's name. The illegal chars were the commas. It indicates that your Linuxprinting.org retrieved PPDs were not the current version. Current versions don't have this issue any more. So, I've replaced the previous lines with: *ShortNickName: HP OfficeJet 5110 *NickName: HP OfficeJet 5110 Hope this helps anyone. Bye, -- Miguel Manso mmanso at amplitudenet.pt Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Slow windows - cups print (Facts discovered)
Miguel Manso mmanso at amplitudenet.pt Wed Jun 18 19:25:50 GMT 2003 Hi there, The ones I've installed on my windows machine are in: http://www.adobe.com/support/downloads/product.jsp?product=pdrvplatform=win Printing works fine and I don't have the 15/20 seconds delay I get with the HP drivers (installed on the windows machine with the smb printer on linux + cups). My problem is in the fact that with that postscript driver from Adobe, I can't print colors. [You don't say which version of Windows you're using...] A PostScript driver on Window always uses a PPD (PostScript Printer Description) file with it. It is normally in %WINDOWS%\system32\spool\driver\W32x86\2\ (or ...\3\) Check which one is used for your printer. See what the line says if you grep for the ^*ColorDevice keyword. If you find a *ColorDevice: True, then there should be an additional *ColorModel line somewhere. If you find a *ColorDevice: False, you can't print color with it. Change the PPD (== reinstall the driver). Also, you can toggle between Color and Black/White from within the Windows driver. If you check B/W here, your client doesn't sent color and your printer will print B/W only If you guys find the solution, I'd appreciate some help. Bye, -- Miguel Manso mmanso at amplitudenet.pt 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] how to make unix password and samba password same
Hi. Is it possible to have UNIX password and samba password same so that user only need to remember one userid and password ? How to sync both this password ? I had almost the same question a month ago. Pls, revise the archive. You cannot sync those two databases (samba and unix). The only solution is, to make the login script so, that when u create a new user, it will call smbpasswd and adds the same password to the samba database. Or, an other solution to tell the users to use smbpasswd after they logged in. And if they use the same password as their login password, they will have that. I think this can be the best solution. U can avoid a security risc, by not registering users who don't need samba in samba's password file. (users may do this with smbpasswd.) By the way there is an obsolete sync utility for this problem, but that copies only usernames from one password file to the other. It cannot convert the passwords. -- Thomas Elias Tel.: +3630/3299315 - This mail sent through IMP: http://horde.org/imp/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] How can I kill a smbfs mount
I don't know. I suspect there is a reluctance to kill a mount when the remote machine is not responding, which may just be a temporary problem with the network or remote machine. Joel On Wed, Jun 18, 2003 at 09:14:57PM -0700, Jake Johnson wrote: Thanks but isn't there a better way? Wouldn't it be a nice benefit if the mount points could be unmounted even if they were lost (especially since windows machines go down all the time)? Regards, Jake Johnson [EMAIL PROTECTED] -- Plutoid - http://www.plutoid.com Shop Plutoid for the best prices on Rims and Car Audio Products On Mon, 16 Jun 2003, Joel Hammer wrote: I have just used kill -15 pid of the smbmount process. You might need -9. Joel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Slow windows - cups print - CONCLUSION
Hi there, Quoting Kurt Pfeifle [EMAIL PROTECTED]: The illegal chars were the commas. It indicates that your Linuxprinting.org retrieved PPDs were not the current version. Current versions don't have this issue any more. Check for yourself: http://www.linuxprinting.org/ppd-o-matic.cgi?driver=hpijsprinter=HP-OfficeJet_5110show=1 Bye, -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbpasswd -a failure
They need a Unix account before you can create a smbpasswd account. Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] g]On Behalf Of Pushpa Bathini Sent: 18 June 2003 7:14 PM To: [EMAIL PROTECTED] Subject: [Samba] smbpasswd -a failure Hello, I am trying to run Samba 2.2.8a in an embedded linux system and running into problems with smbpasswd. With both smbd and nmbd processes running fine ( the log files at log level 3 don't show errors), when I try to add a user to the smbpasswd file I get the following error. # smbpasswd -a pbathini New SMB password: Retype new SMB passwd: User pbathini does not exist in system passwd file ( usually /etc/passwd). Cannot add accounet without a valid local system user. Failed to modify password entry for user pbathini # My /etc/passwd file looks like this. root::0:0:root:/:/bin/sh nobody::99:99:Nobody:/:/bin/sh pbathini::500:500::/cramfs:/bin/sh Why is smbpasswd unable to find user entry in /etc/passwd file? Can somebody please help? Pushpa -- 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] Slow windows - cups print - CONCLUSION
Miguel Manso wrote: Hi there, Quoting Kurt Pfeifle [EMAIL PROTECTED]: The illegal chars were the commas. It indicates that your Linuxprinting.org retrieved PPDs were not the current version. Current versions don't have this issue any more. Check for yourself: http://www.linuxprinting.org/ppd-o-matic.cgi?driver=hpijsprinter=HP-OfficeJet_5110show=1 Bye, I should have been more precise. PPD-O-Matic previously used commans inside the field tagged be the *ModelName keyword. My guess is that *this* was causing the problem with the Adobe driver. This *is* fixed now. The online PPD spec test at http://www.cups.org/testppd.php now has no complaints with the PPD you refer to above. Could you please re-check with the Adobe driver, if that on still has an issue with a current HP-OfficeJet_5110.ppd from Linuxprinting.org? Could you please report back and confirm or reject? Thanks, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbpasswd -a failure
How you create your /etc/passwd entry? If by hand remove! If your linux is embee... you need use command for adding user to unix and then to samba. 1. # useradd pbathini (or adduser ...) 2. # smbpasswd -a pbathini if this not work then yuor samba need recompile to locate proper password user files of linux. Bye. - Original Message - From: Ken Walker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 1:25 PM Subject: RE: [Samba] smbpasswd -a failure They need a Unix account before you can create a smbpasswd account. Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] g]On Behalf Of Pushpa Bathini Sent: 18 June 2003 7:14 PM To: [EMAIL PROTECTED] Subject: [Samba] smbpasswd -a failure Hello, I am trying to run Samba 2.2.8a in an embedded linux system and running into problems with smbpasswd. With both smbd and nmbd processes running fine ( the log files at log level 3 don't show errors), when I try to add a user to the smbpasswd file I get the following error. # smbpasswd -a pbathini New SMB password: Retype new SMB passwd: User pbathini does not exist in system passwd file ( usually /etc/passwd). Cannot add accounet without a valid local system user. Failed to modify password entry for user pbathini # My /etc/passwd file looks like this. root::0:0:root:/:/bin/sh nobody::99:99:Nobody:/:/bin/sh pbathini::500:500::/cramfs:/bin/sh Why is smbpasswd unable to find user entry in /etc/passwd file? Can somebody please help? Pushpa -- 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] Unexpected IP resolution
hi! Sorry in advance if I am not on the right mailing-list and sorry if my question is cover somewhere is doc (I didn't find anything). The result from nmblookup (same result on all platform) for a given samba server isn't what I expect. The key part of my smb.conf is: [global] netbios name = ourserver2 netbios aliases = ourserverdev ourserverlab ourserver name resolve order = hosts bcast And the key part of my /etc/hosts is: 10.10.10.1 ourserver1 10.10.10.2 ourserver2 10.10.10.10ourserver 10.10.10.11ourserverdev 10.10.10.12ourserverlab (Having it or not in lmhosts doesn't change anything.) My hostname is set to ourserver2. And the last but not the least is my ifconfig : 2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:99:fc:99:99:fc brd ff:ff:ff:ff:ff:ff inet 10.10.10.2/24 brd 10.10.10.255 scope global eth0 inet 10.10.10.10/24 brd 10.10.10.255 scope global secondary eth0:1 inet 10.10.10.11/24 brd 10.10.10.255 scope global secondary eth0:2 inet 10.10.10.12/24 brd 10.10.10.255 scope global secondary eth0:3 On whatever machine I run a nmblookup, I get : $ nmblookup ourserver2 querying ourserver2 on 10.10.10.255 10.10.10.12 ourserver200 $ nmblookup ourserverdev querying ourserverdev on 10.10.10.255 10.10.10.12 ourserverdev00 $ nmblookup ourserverlab querying ourserverlab on 10.10.10.255 10.10.10.12 ourserverlab00 It is the stock samba server (with updates) coming with Redhat 9 : $ rpm -q samba samba-2.2.7a-8.9.0 A tcpdump/ethereal show me that it is really 10.10.10.2 that answers me. Is it normal that I get 10.10.10.12 for every machine ? How comes ? Thanks in advance. Richard -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Replacing Samba PDC with new hardware
Hi, I'm currently running a Samba PDC (2.2.3a) on RedHat 7.3 supporting 10 or so win2k users with roaming profiles. Just got a new Dell box and would like to replace the current PDC machine. My question is this : What is the best way to make the switch without making the current user accounts obsolete. I've duplicated the most of the environment already, my users accounts have already been added to /etc/passwd, /etc/group. I set up smb.conf, the homes and netlogon share. I copied the logon.bat file I've been using from the old box, and added all my users and machine accounts to the smbpasswd file as usual. Now as far as the SID I'm a little fuzzy. I would ideally like the replacement server to have the same netbios name (SERVER) as the de-commissioned machine. For the moment I 've given the new box the name (NEW_SERVER) so that I can copy files over. I ran smbpasswd -S (domain) to suck the SID to the new server already. Now when I shut down the old box for good, and change the netbios name will the SID for the domain be re-written making my user accounts useless/ unable to logon? Is there any way to avoid this? Also is there a better way to move the users home directories to new box? I was planning on tar-ing up the /home dir and just expanding it on the new machine? Does anyone know if I have all the users logged in, swap out the servers, and log the users out will that send the profile back to the home directory on the new server? Much thanks for any help Alex Genna -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Setting up 3.0 to authenticate to AD
After reading through the doc for setting up 3.0beta with ADS, I have gotten it to work along the lines of the the doc said. I can use wbinfo -g or -u top get the users and groups, I can use the net user or net group command to do it as well. I can login with the kinit program, perfectly well as well. Unfortunately, I cannot seem to connect to the linux machine from a Windows machine. I keep getting a The username could not be found error and in the smb.log for that machine I get: [2003/06/19 08:57:29, 1] smbd/sesssetup.c:reply_spnego_kerberos(221) Username bnorris is invalid on this system So it is like it isn't using AD for the usernames. Does anyone have an idea what setting I might have missed in the setup? Brent Norris Assistant DTC, Edmonson County Schools Cell: 270.246.0152 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Setting up 3.0 to authenticate to AD
Sounds like you set up winbind..did you do pam? -Original Message- From: Norris, Brent [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 9:58 AM To: '[EMAIL PROTECTED]' Subject: [Samba] Setting up 3.0 to authenticate to AD After reading through the doc for setting up 3.0beta with ADS, I have gotten it to work along the lines of the the doc said. I can use wbinfo -g or -u top get the users and groups, I can use the net user or net group command to do it as well. I can login with the kinit program, perfectly well as well. Unfortunately, I cannot seem to connect to the linux machine from a Windows machine. I keep getting a The username could not be found error and in the smb.log for that machine I get: [2003/06/19 08:57:29, 1] smbd/sesssetup.c:reply_spnego_kerberos(221) Username bnorris is invalid on this system So it is like it isn't using AD for the usernames. Does anyone have an idea what setting I might have missed in the setup? Brent Norris Assistant DTC, Edmonson County Schools Cell: 270.246.0152 -- 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] the last word on antivirus ?
i've been looking around for antivirus tools for samba. most seem to use the VFS system built into 2.2.x/3.0 only problem with that is 2.2.x does not support stackable modules, so if your using recycle, you can use anything else... yes I know 3 allows stackable modules, but how long before 3 is really stable ? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Setting up 3.0 to authenticate to AD
Ok I changed my samba entries in pam.d and now I get a login box, but I still cannot login. Here is what the log file for my machine shows now: [2003/06/19 09:33:58, 1] smbd/sesssetup.c:reply_spnego_kerberos(175) Failed to verify incoming ticket! [2003/06/19 09:33:58, 1] smbd/sesssetup.c:reply_spnego_kerberos(175) Failed to verify incoming ticket! [2003/06/19 09:33:58, 1] smbd/sesssetup.c:reply_spnego_kerberos(175) Failed to verify incoming ticket! [2003/06/19 09:33:58, 1] smbd/sesssetup.c:reply_spnego_kerberos(175) Failed to verify incoming ticket! [2003/06/19 09:34:03, 1] smbd/sesssetup.c:reply_spnego_kerberos(221) Username bnorris is invalid on this system Anyone got any ideas? Well, I have the same exact problem as you. I have everything setup right so that wbinfo pulls all information fine. I can Kerberos too. But, can't login from the network. I thought it was PAM, but no for me either. I've posted about this a couple of times, to no avail. Hope someone answers yours! -Original Message- From: Norris, Brent [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 10:14 AM To: Chip Bell Subject: RE: [Samba] Setting up 3.0 to authenticate to AD Sounds like you set up winbind..did you do pam? I was under the impression from the documentation that pam only needed to be changed if you wanted to be able to use the accounts to login as far as telnet, ssh, ftp type stuff. It states that winbindd and samba should be working together and that they /etc/pam.d/samba didn't need changing. Though mine looks like this: auth required pam_nologin.so auth required pam_stack.so service=system-auth accountrequired pam_stack.so service=system-auth sessionrequired pam_stack.so service=system-auth password required pam_stack.so service=system-auth While the doc's only has the two lines: authrequired/lib/security/pam_stack.so service=system-auth account required/lib/security/pam_stack.so service=system-auth I wasn't attempting to change it though since that is what the samba rpm put in there. Perhaps I should change it to look like the one in the docs?? Brent -- output from testparm - Load smb config files from /etc/samba/smb.conf Processing section [homes] Processing section [printers] Processing section [public] Loaded services file OK. 'winbind separator = +' might cause problems with group membership. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions # Global parameters [global] workgroup = STU realm = STU.EDMONSON.K12.KY.US server string = Linux File Server security = ADS log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No wins server = 10.76.16.50 winbind separator = + winbind use default domain = Yes [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [public] comment = Public Stuff path = /home/samba write list = bnorris guest ok = Yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbwrapper/smbw.c does not compile (Error 1)
After discovering a bug in the SuSE Samba binary (2.2.7a and 2.2.8a) which prevents some older DOS programs from creating files on a Samba share, I downloaded and built Samba 2.2.8a from the sources. Everything seems to work now (the old DOS programs are able to write to Samba shares) with the exception of smbwrapper which causes the following errors when Samba is built: Test2:/usr/src/samba-2.2.8a/source # make Using FLAGS = -O -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOGFILEBASE=/var/log/samba -DCONFIGFILE=/etc/samba/smb.conf -DLMHOSTSFILE=/etc/samba/lmhosts -DSWATDIR=/usr/share/samba/swat -DSBINDIR=/usr/lib/samba/classic -DLOCKDIR=/var/lock/samba -DCODEPAGEDIR=/usr/share/samba -DDRIVERFILE=/etc/samba/printers.def -DBINDIR=/usr/lib/samba/classic -DPIDDIR=/var/run/samba -DLIBDIR=/usr/share/lib -DHAVE_INCLUDES_H -DPASSWD_PROGRAM=/usr/bin/passwd -DSMB_PASSWD_FILE=/etc/samba/smbpasswd -DTDB_PASSWD_FILE=/etc/samba/smbpasswd.tdb Using FLAGS32 = -O -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOGFILEBASE=/var/log/samba -DCONFIGFILE=/etc/samba/smb.conf -DLMHOSTSFILE=/etc/samba/lmhosts -DSWATDIR=/usr/share/samba/swat -DSBINDIR=/usr/lib/samba/classic -DLOCKDIR=/var/lock/samba -DCODEPAGEDIR=/usr/share/samba -DDRIVERFILE=/etc/samba/printers.def -DBINDIR=/usr/lib/samba/classic -DPIDDIR=/var/run/samba -DLIBDIR=/usr/share/lib -DHAVE_INCLUDES_H -DPASSWD_PROGRAM=/usr/bin/passwd -DSMB_PASSWD_FILE=/etc/samba/smbpasswd -DTDB_PASSWD_FILE=/etc/samba/smbpasswd.tdb Using LIBS = -lcups -lssl -lcrypto -lnsl -lcrypt Compiling smbwrapper/smbw.c with -fPIC smbwrapper/smbw.c: In function `smbw_parse_path': smbwrapper/smbw.c:331: warning: passing arg 1 of `next_token' from incompatible pointer type smbwrapper/smbw.c:339: warning: passing arg 1 of `next_token' from incompatible pointer type smbwrapper/smbw.c:346: warning: passing arg 1 of `next_token' from incompatible pointer type smbwrapper/smbw.c: In function `smbw_lseek': smbwrapper/smbw.c:1258: warning: passing arg 4 of `cli_getattrE' from incompatible pointer type smbwrapper/smbw.c: At top level: smbwrapper/smbw.c:1523: warning: no semicolon at end of struct or union smbwrapper/smbw.c:1523: error: parse error before '.' token smbwrapper/smbw.c:1525: error: parse error before '.' token smbwrapper/smbw.c:1527: error: parse error before '.' token smbwrapper/smbw.c:1531: error: parse error before '}' token smbwrapper/smbw.c: In function `xstat_convert': smbwrapper/smbw.c:1548: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1549: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1550: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1551: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1552: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1553: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1554: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1555: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1556: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1557: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1558: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1559: error: dereferencing pointer to incomplete type smbwrapper/smbw.c:1560: error: dereferencing pointer to incomplete type make: *** [smbwrapper/smbw.po] Error 1 Any suggestions as to what might be causing this problem? Thanks, Arne R. van der Heyde [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/CUPS Printing from Windows
I've got a Samba server that is acting as a member server in a Windows NT Domain. I enabled CUPS printing yesterday and have shared the 4 printers to the domain. I then added the printers onto a Windows 2000 client, and can print just fine to any of them. But I have two problems (read annoyances): 1). When I look at any of the printers from Windows (i.e. Control Panel/Printers) I can see the Samba supplied network printers, but when I click on any of them I see a Status of Access denied, unable to connect. on the left hand side of the printers window. 2). Because of No. 1 (I think) when I double-click on a network printer, I can't see any of the jobs in the queue for that printer as I should. Anyone ran into these issues before? I have included the smb.conf below for inspection. I'm running Red Hat 8.0, Samba 2.2.7, CUPS 1.1.17. [global] workgroup = NESBITT_LEX netbios name = valykyrie server string = Linux Backup/Print Server log file = /var/log/samba/%m.log max log size = 50 security = domain password server = file-server1 print-server encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n \ *passwd:*all*authentication*tokens*updated*successfully* pam password change = yes obey pam restrictions = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = no os level = 0 domain master = no preferred master = no domain logons = no wins server = 10.200.8.3 dns proxy = no winbind separator = + winbind uid = 1-2 winbind gid = 1-2 winbind cache time = 10 winbind enum users = yes winbind enum groups = yes winbind use default domain = yes template shell = /bin/bash template homedir = /home/%U printing = cups printcap name = cups load printers = yes #=== Share Definitions = [printers] comment = All Printers path = /var/spool/samba public = yes guest ok = yes writeable = no printable = yes [homes] comment = Home Directories browseable = no writable = yes valid users = %S create mode = 0664 directory mode = 0775 [backup] comment = Backup Files from Last Night path = /backup browsable = yes writeable = yes valid users = names deleted for security reasons create mode = 0777 directory mode = 0777 [cdburn] comment = Files to be written to CD path = /cdburn browsable = yes writeable = yes -- Kevin L. Collins, MCSE Systems Manager Nesbitt Engineering, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Slow windows - cups print - CONCLUSION
Hi there, Quoting Kurt Pfeifle [EMAIL PROTECTED]: PPD-O-Matic previously used commans inside the field tagged be the *ModelName keyword. My guess is that *this* was causing the problem with the Adobe driver. This *is* fixed now. The online PPD spec test at http://www.cups.org/testppd.php now has no complaints with the PPD you refer to above. Could you please re-check with the Adobe driver, if that on still has an issue with a current HP-OfficeJet_5110.ppd from Linuxprinting.org? Could you please report back and confirm or reject? Thanks, Kurt These are the results on testing the PPD that comes with the Adobe Postscript Printer drivers: Test Results defprtr2.ppd: PASS WARNObsolete PPD version 4.0! REF: Page 42, section 5.2. WARNLanguageEncoding required by PPD 4.3 spec. REF: Pages 56-57, section 5.3. WARNManufacturer required by PPD 4.3 spec. REF: Pages 58-59, section 5.3. WARNShortNickName required by PPD 4.3 spec. REF: Pages 64-65, section 5.3. And these are the results of the HP OfficeJet 5110 PPD I'm using now: Test Results hp.ppd: PASS This gives you any usefull information? Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Slow windows - cups print - CONCLUSION
Miguel Manso wrote: Hi there, Quoting Kurt Pfeifle [EMAIL PROTECTED]: PPD-O-Matic previously used commans inside the field tagged be the *ModelName keyword. My guess is that *this* was causing the problem with the Adobe driver.This *is* fixed now. The online PPD spec test at http://www.cups.org/testppd.php now has no complaints with the PPD you refer to above. Could you please re-check with the Adobe driver, if that on still has an issue with a current HP-OfficeJet_5110.ppd from Linuxprinting.org? Could you please report back and confirm or reject? Thanks, Kurt These are the results on testing the PPD that comes with the Adobe Postscript Printer drivers: Test Results defprtr2.ppd: PASS WARNObsolete PPD version 4.0! REF: Page 42, section 5.2. WARNLanguageEncoding required by PPD 4.3 spec. REF: Pages 56-57, section 5.3. WARNManufacturer required by PPD 4.3 spec. REF: Pages 58-59, section 5.3. WARNShortNickName required by PPD 4.3 spec. REF: Pages 64-65, section 5.3. And these are the results of the HP OfficeJet 5110 PPD I'm using now: Test Results hp.ppd: PASS That's what I said: it passes the test now. This gives you any usefull information? Sorry for not being clear enough. I meant to ask you to use that original (!), current PPD from Linuxprinting.org and load it like you did before, when you encountered the problem, in your own words On the instalation of the Adobe drivers I had erros saying my printed had illegal chars on it's name. So, I've replaced the previous lines... and see if the same still happens with the new generation PPD. Thanks. Thanks, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Calculating file size
Win2K reports: 19,969 Files, 1578 folders Size: 2.36Gb S-O-D: 11.3Gb 15,151 Files, 595 folders Size: 292Mb S-O-D: 7.54Gb 114 Files, 1 folder Size: 857Mb S-O-D: 895Mb This can't be for real! The average net size of your files in #1 is cca. 110 KB but the average disk occupancy is half an MB. In #2 an average file is only 18.5 KB but it occupies agan close to half an MB. Ever tried fscking? Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] RE: Winbind and Organization Unit
I'm using Samba 2.2.8a with winbind on a Red hat System (kernel 2.4.20 + acl) within a W2K Domain compiled with the good options (I hope) Winbind can authentify users when the user is a Global User but not when he's in an Organization Unit. I need that winbind is able to authentify OU's users. Normally I've access only to my OU so how to tell to winbind to check only in a specific. Someone knows how to do that ?? TIA, D. I'm using 2.2.8a against a W2K DC in Native mode, and I see users in OUs perfectly fine; however, if you give permissions based on Groups, normal Winbind won't see Domain Local Groups (only Global + Universal). Try this patch (you have to recompile from source): ftp://ftp.samba.org/pub/tridge/misc/samba_22_local_group.patch The patch is against 2.2.8, so there is this issue with it: I have built a samba rpm based on the samba.org samba-2.2.8a-1 added --with-acl-support applied the samba_22_local_group.patch aside The patch failed one small block of code,(1 Hunk at smbd/trans2.c line 249) but a brief inspection suggests that that Hunk fixes a buffer overflow risk, which was otherwise fixed in the 2.2.8a branch (new SAFE_STRING code) /aside -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] RE: the last word on antivirus ?
Where does one find information on Antivirus w/Samba? Is there a FAQ/HOWTO somewhere? I'd be interested in on-access scanning. Thank you. i've been looking around for antivirus tools for samba. most seem to use the VFS system built into 2.2.x/3.0 only problem with that is 2.2.x does not support stackable modules, so if your using recycle, you can use anything else... yes I know 3 allows stackable modules, but how long before 3 is really stable ? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Fw:
Anyone know why I get this message on my NT when trying to mount unix home to NT. see config etc... below: The account is not authorized to login from this station. -- Ran smbpasswd -u moorej Ran: root-fairchd1: smbclient -L fairchd1 added interface ip=199.254.200.1 bcast=199.254.200.255 nmask=255.255.255.0 Password: Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.2.3a] Sharename Type Comment - --- moorej Disk Home Directory tmpDisk Temporary file space IPC$ IPC IPC Service (Samba Server) ADMIN$ Disk IPC Service (Samba Server) root Disk Home Directories Server Comment ---- FAIRCHD1 Samba Server WorkgroupMaster ---- MYGROUP netstat -a|grep netbios tcp 0 0 localhost.4437 localhost.netbios_ TIME_WAIT tcp 0 0 localhost.4435 localhost.netbios_ TIME_WAIT tcp 0 0 localhost.4433 localhost.netbios_ TIME_WAIT tcp 0 0 localhost.4431 localhost.netbios_ TIME_WAIT tcp 0 0 *.netbios_ *.*LISTEN udp 0 0 fairchd1.netbios_ *.* udp 0 0 fairchd1.netbios_ *.* udp 0 0 *.netbios_ *.* udp 0 0 *.netbios_ *.* --- ON THE NT: C:\net user e: \\199.254.200.1\moorej The password is invalid for \\199.254.200.1\moorej. Type the password for \\199.254.200.1\moorej: The account is not authorized to login from this station. -- smb.conf # Samba config file created using SWAT # from mfg_jsuther_95.sat.faidor.com (172.16.15.242) # Date: 2003/06/19 10:01:07 # Global parameters [global] workgroup = MYGROUP server string = Samba Server security = SHARE unix password sync = Yes log file = /usr/local/samba/var/log.%m max log size = 50 dns proxy = No [homes] comment = Home Directories valid users = %S read only = No browseable = No [moorej] comment = Home Directory path = /home/moorej valid users = moorej read only = No [tmp] comment = Temporary file space path = /tmp - -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbclient
Hello...I searched through at samba.org on this, and posted to blfs-support...thought I would try hear as I keep searching... is there a way tojust install smbclient ...like from the samba source... like a make --smbclient install or something? I realize the client may require some libs of the server, can we pass that to the make as a param as well? liuke a --libexec=X pr lib=... I am building linux appliance and juts wnat to access shares from the appliance to windows smb shares... not vice versa... my OS runs in RAM only so I have limited space Thanks P -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] PDC upgraded from 2.2.7 to 3.0.0beta1,now XP clients can't logon
After upgrading the PDC from 2.2.7 to 3.0.0beta1, W2K clients still work but the XP ones cannot log on to the domain any more. The client pops up a message The procedure is out of range, and smbd logs [2003/06/19 18:21:22, 0] ../rpc_server/srv_pipe.c:(1339) Invalid auth info 68 or level 5 on schannel [2003/06/19 18:21:22, 0] ../rpc_server/srv_pipe_hnd.c:(605) process_request_pdu: failed to do schannel processing. Registry settings (SignOrSeal etc.) are probably not the issue as the XP clients work with Samba 2.2.7 (to which I have to downgrade now). Anybody seen this? Also, all clients log [2003/06/19 18:21:14, 0] ../passdb/pdb_smbpasswd.c:(416) getsmbfilepwent: malformed password entry (no terminating :) but the Win2K ones apparently do not mind as they work. The smbpasswd file seems to be OK by visual inspection, what can this be? Ciao, Lobo -- 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.5-10 and Win XP SP1
Hi all, This is my first try on Samba as a PDC. I have managed to setup Samba as a PDC for my home network. The Win98 pc connects and validates no probs, but not the Win XP pc. The acc on the linux system has been created and is fine as well as the samba passwd's. The XP pc is 'changed' onto the domain with no errors, with the user name that will be used by the user to log on the domain. The Local security policies has been changed and the security patch (reg patch) has been applied. But when the user tries to logon using the setup credentials the following error messages are displayed by XP. Message 1. -- Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you logoff. Possible causes of this error include network problems or insufficient security rights. If this problem persists, contact your network administrator. DETAIL - Access is denied. Meesage 2. -- Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off. I have tried every trick that I know in the M$ world to try and fix it but no luck. I have tried adding the users to the root group in /ect/groups but this did not help either. I then used the XP wizard (hate it) to join to the domain again but this did not have the desired effect either. Can anybody help me ? Please tell me if you need more info etc. Please also find attached copies of the user log file (log.maartin) and samba log file (log.smbd) as well as my config (smb.conf) file. Please any help would be greatly appreciated, bear in mind that I am new 2 linux and have been using M$ for 13+ years now. Thanks, Cheers. Maartin. South-Africa. [2003/06/18 21:27:49, 2] lib/access.c:check_access(329) Allowed connection from (192.168.0.1) [2003/06/18 21:27:49, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050) Returning domain sid for domain RHHOME - S-1-5-21-4135730076-824762648-3913750441 [2003/06/18 21:27:49, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285) samr_io_userinfo_ctr: unknown switch level 0x1a [2003/06/18 21:27:49, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. [2003/06/18 21:27:49, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170) startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was Permission denied [2003/06/18 21:27:49, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416) unable to open passdb database. [2003/06/18 21:27:50, 2] lib/access.c:check_access(329) Allowed connection from (192.168.0.1) [2003/06/18 21:27:50, 2] lib/access.c:check_access(329) Allowed connection from (192.168.0.1) [2003/06/18 21:28:00, 2] smbd/server.c:exit_server(461) Closing connections [2003/06/18 21:28:03, 2] lib/access.c:check_access(329) Allowed connection from (192.168.0.1) [2003/06/18 21:28:03, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050) Returning domain sid for domain RHHOME - S-1-5-21-4135730076-824762648-3913750441 [2003/06/18 21:28:03, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285) samr_io_userinfo_ctr: unknown switch level 0x1a [2003/06/18 21:28:03, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. [2003/06/18 21:28:04, 2] smbd/server.c:exit_server(461) Closing connections [2003/06/18 21:28:04, 2] lib/access.c:check_access(329) Allowed connection from (192.168.0.1) [2003/06/18 21:28:04, 2] lib/access.c:check_access(329) Allowed connection from (192.168.0.1) [2003/06/18 21:28:30, 2] smbd/server.c:exit_server(461) Closing connections [2003/06/18 21:28:31, 2] lib/access.c:check_access(329) Allowed connection from (192.168.0.1) [2003/06/18 21:28:41, 2] smbd/server.c:exit_server(461) Closing connections [2003/06/18 21:30:55, 2] lib/access.c:check_access(329) Allowed connection from (192.168.0.1) [2003/06/18 21:30:55, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050) Returning domain sid for domain RHHOME - S-1-5-21-4135730076-824762648-3913750441 [2003/06/18 21:31:01, 2] smbd/server.c:exit_server(461) Closing connections [2003/06/18 21:32:51, 2] lib/access.c:check_access(329) Allowed connection from (192.168.0.1) [2003/06/18 21:32:51, 2] lib/access.c:check_access(329) Allowed connection from (192.168.0.1) [2003/06/18 21:32:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626) _samr_query_aliasmem: Not yet implemented. [2003/06/18 21:32:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626) _samr_query_aliasmem: Not yet implemented. [2003/06/18 21:32:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626) _samr_query_aliasmem: Not yet implemented. [2003/06/18 21:32:59, 2] lib/access.c:check_access(329) Allowed connection from (192.168.0.1) [2003/06/18 21:32:59, 2]
RE: [Samba] Setting up 3.0 to authenticate to AD
While trying to work on my problem with logging in to my 2000 AD, I decided to try and do it will my account from the NT4.0 domain that I run which has a trust to the AD. That crashed SAMBA, here is the log file: [2003/06/19 12:36:26, 0] lib/fault.c:fault_report(36) === [2003/06/19 12:36:26, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 7188 (3.0.0beta1) Please read the appendix Bugs of the Samba HOWTO collection [2003/06/19 12:36:26, 0] lib/fault.c:fault_report(39) === [2003/06/19 12:36:26, 0] lib/util.c:smb_panic(1462) PANIC: internal error [2003/06/19 12:36:26, 0] lib/util.c:smb_panic(1469) BACKTRACE: 9 stack frames: #0 smbd(smb_panic+0x11c) [0x81b280c] #1 smbd [0x81a1432] #2 /lib/i686/libc.so.6 [0x4016a5d8] #3 smbd(tdb_close+0xe7) [0x81c3ec7] #4 smbd(gencache_shutdown+0x65) [0x81bfa15] #5 smbd(namecache_shutdown+0xb) [0x80f192b] #6 smbd(main+0x4d7) [0x821af17] #7 /lib/i686/libc.so.6(__libc_start_main+0xc7) [0x40157a07] #8 smbd(chroot+0x35) [0x8073381] Thought someone might want that. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Quickbooks revisited
Quickbooks is SO slow, we are having all of the same issues listed here. Our QB file is about 250 MB and is slow as a turtle. It is nearly unusable in a networked environment. If i put the file on the Local Machine, it is fine. It is only Slightly faster on a win2k server, i believe. Im not convinced its samba by any stretch. But can anyone reccomend a better product, cuz this product (QB) is terrible. -Original Message- From: Justin Kreger [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 12:04 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Quickbooks revisited -- 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 NT_STATUS_NO_SUCH_DEVICE
After adding PSMON.DLL, when I run cupsaddsmb, it gives: Running command: rpcclient localhost -N -U'root%secret?' -c 'setdriver ps212erb ps212erb' session setup ok Domain=[CSEENTDOMAIN] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian] cmd = setdriver ps212erb ps212erb setdriver ps212erb ps212erb prs_mem_get: reading data of size 4 would overrun buffer. and /var/log/samba/log.machine says: cli_net_sam_logon_internal: NT_STATUS_NO_SUCH_USER [2003/06/19 14:39:52, 0] smbd/password.c:domain_client_validate(1572) domain_client_validate: unable to validate password for user ROOT in domain to Domain controller *. Error was NT_STATUS_NO_SUCH_USER. I have added this samba server as a member server of CSEENTDOMAIN and after that when I run cupsaddsmb for automatic driver downloads, I get above errors. Any suggestions?? How do I remove samba server from a domain, after I have added it using smbpasswd -j domain?? Shanti On Thu, 2003-06-19 at 06:16, Kurt Pfeifle wrote: [Samba] cupsaddsmb NT_STATUS_NO_SUCH_DEVICE Shanti Katta katta at csee.wvu.edu Tue Jun 17 21:01:43 GMT 2003 Hello, I am using cups-1.1.19final-1.deb and samba-2.2.3a. When I was working with cups-1.1.15 before, cupsaddsmb worked fine, but now with cups-1.1.19 it gives me: Running command: smbclient //localhost/print\$ -N -U'root%secret?' -c 'mkdir WIN40;put /var/spool/cups/tmp/3eef829eea1b8 WIN40/ps948esb.PPD;put /usr/share/cups/drivers/ADFONTS.MFM [] putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (10909.1 kb/s) (average 16587.7 kb/s) /usr/share/cups/drivers/PSMON.DLL does not exist Have you investigated this line? Running command: rpcclient localhost -N -U'root%secret?' -c 'adddriver [] result was NT_STATUS_NO_SUCH_DEVICE [] I checked the permissions on /var/spool/samba and other related directories, but couldn't resolve the error for 2 days now. Any help is highly appreciated. Shanti Cheers, Kurt -- 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] Quickbooks revisited
How about mas90? /me runs On Thu, 2003-06-19 at 14:31, Brandon Lederer wrote: Quickbooks is SO slow, we are having all of the same issues listed here. Our QB file is about 250 MB and is slow as a turtle. It is nearly unusable in a networked environment. If i put the file on the Local Machine, it is fine. It is only Slightly faster on a win2k server, i believe. Im not convinced its samba by any stretch. But can anyone reccomend a better product, cuz this product (QB) is terrible. -Original Message- From: Justin Kreger [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 12:04 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Quickbooks revisited -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba 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] cupsaddsmb NT_STATUS_NO_SUCH_DEVICE
Shanti Katta katta at csee.wvu.edu Thu Jun 19 18:38:09 GMT 2003 After adding PSMON.DLL, *Where* did you add it? Sorry, your problem description is very scarse and non-scientific. Please give the chapters 6.7., 6.8., 7.10., 7.11. and 8.5. of the PDF- or HTML-document on http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/ a try. It could hardly be more verbose. Also, you have been adviced to upgrade to a recent Samba version. I'd take that serious -- the printing and printer driver up- and download code has improved a lot since the days of 2.2.3a. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Quickbooks revisited
Another possible cause, from a windows newsgroup though.. http://tinyurl.com/er42 Go to google groups and type in 2 keywords: QuickBooks slow You will have a lot of reading to do...there are some good suggestions out there. Quickbooks is SO slow, we are having all of the same issues listed here. Our QB file is about 250 MB and is slow as a turtle. It is nearly unusable in a networked environment. If i put the file on the Local Machine, it is fine. It is only Slightly faster on a win2k server, i believe. Im not convinced its samba by any stretch. But can anyone reccomend a better product, cuz this product (QB) is terrible. -Original Message- From: Justin Kreger [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 12:04 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Quickbooks revisited -- 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
Re: [Samba] cupsaddsmb NT_STATUS_NO_SUCH_DEVICE
Kurt Pfeifle wrote: Shanti Katta katta at csee.wvu.edu Thu Jun 19 18:38:09 GMT 2003 After adding PSMON.DLL, *Where* did you add it? Sorry, your problem description is very scarse and non-scientific. Please give the chapters 6.7., 6.8., 7.10., 7.11. and 8.5. of the PDF- or HTML-document on http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/ a try. It could hardly be more verbose. Also, you have been adviced to upgrade to a recent Samba version. I'd take that serious -- the printing and printer driver up- and download code has improved a lot since the days of 2.2.3a. Sorry, Shanti, the above answer is not appropriate to *you*. I disturbed this with a mail to another person, who wrote me in private to get advice on another NT_STATUS_NO_SUCH_USER problem. Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba on Solaris 7 exhibits slow performance when switchfrom SECURITY=USER to SECURITY=DOMAIN on WinXP clients
Dear List: I have a network (about 30 PCs) that was working fine using SECURITY=USER. Last weekend we switched over to take advantage of a Win2K server (recently added to the network) to be used as a PDC, Active Directory, etc. The network clients are a mix of WinXP, Win2K-SP3, and WinNT-SP5. After the switch, the WinXP clients started experiencing a severe slowdown after a short period of time. The time before the symptoms occur varies from a couple of minutes to maybe an hour. If they reboot, the performance is again normal. The slowness symptoms are exhibited as random, major delays in opening a Word doc or Excel spreadsheet, navigating with Explorer, etc. The application will load at normal speed, the document loads, but then the hour glass cursor will stay present for up to 20 or 30 seconds or more before control is returned to the user. Any help / insight would be greatly appreciated! Misc Info: Running Samba 2.2.8 on Sun Ultra 2 server with Solaris 7. Running ftp to retrieve files from the server show performance above 9MB/sec on a 40MB file Copying files from the server to the WinXP PCs seems fine. Running Samba at debug = 2 for that PC shows normal file opens / closes. Running Samba at debug = 3 shows a lot of info, but none discernable as a problem (I'm not a SAMBA expert, but have been using for some 6 or 7 years now.) Using local, not roaming profiles. Win2K Server on a P3-450MHz PC - sole purpose is as a PDC and a license / software metering server Settings were for SECURITY=USER [global] workgroup = SKEES log file = /var/opt/samba/log.%m max log size = 2000 name resolve order = host wins bcast max open files = 1000 socket options = IPTOS_LOWDELAY TCP_NODELAY os level = 255 preferred master = Yes wins support = Yes kernel oplocks = No guest account = guest create mask = 0660 directory mask = 0770 force directory mode = 02000 hosts allow = 192.168.254. hosts deny = 0.0.0.0/0 short preserve case = No Current Settings for USER=DOMAIN [global] security = DOMAIN -Added password server = * --Added workgroup = NTDOMAIN--changed log file = /var/opt/samba/log.%m max log size = 2000 name resolve order = host wins bcast max open files = 1000 socket options = IPTOS_LOWDELAY TCP_NODELAY os level = 255 preferred master = Yes wins support = Yes kernel oplocks = No guest account = guest create mask = 0660 directory mask = 0770 force directory mode = 02000 hosts allow = 192.168.254. hosts deny = 0.0.0.0/0 short preserve case = No encrypt passwords = yes Added -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Quickbooks revisited
Disabling Norton AV made no noticeable difference. -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 2:11 PM To: 'Brandon Lederer'; [EMAIL PROTECTED] Subject: RE: [Samba] Quickbooks revisited Another possible cause, from a windows newsgroup though.. http://tinyurl.com/er42 Go to google groups and type in 2 keywords: QuickBooks slow You will have a lot of reading to do...there are some good suggestions out there. Quickbooks is SO slow, we are having all of the same issues listed here. Our QB file is about 250 MB and is slow as a turtle. It is nearly unusable in a networked environment. If i put the file on the Local Machine, it is fine. It is only Slightly faster on a win2k server, i believe. Im not convinced its samba by any stretch. But can anyone reccomend a better product, cuz this product (QB) is terrible. -Original Message- From: Justin Kreger [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 12:04 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Quickbooks revisited -- 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: How to share the tape drive in samba server
If you're looking to share the tape drive so you You could probably do something clever with a magic script in the Samba config, but it still wouldn't work with native Windows backup utilities. (Are there native Windows backup utilities that can access a remote tape drive?) You could probably get it to work with tar under Cygwin if you tried hard enough. But if Cygwin's tar doesn't have remote-tape access disabled, you'd be better off using that instead--it's much lower overhead. Theoretically you could pipe cygwin tar through rexec but it's really not a good solution. Network connections are seldom fast enough to maintain streaming operation. I get about 37 MB/s between my Samba server and its standby via cross-connected r8169's but W2K clients rarely feed more than about 4-5 MB/s via fast LAN, so that would ruin the tape drive mechanics pretty fast. Cygwin tar can't dump files 8GB, it only dumps the modulo quantity. Therefor smbtar is more advisable: it logs modulo size but dumps the whole file. The bug is reported in sambzilla and waiting for me to find the time to fix it for good. Plus with smbtar you can centralize the backup activity. I'm backing up 12 administrative shares and a samba server on a daily basis with smbtar and tar. It is staged on a striped lvol of four IDE disks (240 GB total capacity). Once a month on a different day each share gets a full backup. For the rest of the month only -N files are tarred. Since a full day's worth of backups lands in an online volume first, a program can inspect the individual tars, fix the 8 GB bug if present, and produce a TOC file which gets saved on the tape ahead of individual tars as well as in an online admin dir. Compressed TOCs average only about 2 MB/day whereas the incrementation gets me about 10 days' worth of tarrings on a single LTO2 cartridge except on the 1st tape of each month which contains fullvol tar of samba server (cca.150 GB) - only 6 more days can fit before the tape gets full. The fancy thing is that you can look for an MIA file in on-line TOC copies as well as directly from tape in an ncurses file browser like this (you need a monofont to see it properly): _ | Size in KBs Dirs Size(KB) Paths| |- --- --| | 95,064 /p01.c || 0 lmhosts | |4,531,101 /p01.d || 2 smb.conf | | 479,649 /p02.c ||=== 15 *smbpasswd| |2,514,664 /p07.c | | |9,939,474 /p12.c | | |4 /p13.c | | | 76 /p17.c | | | 831,730 /p17.d | | |1,907,112 /p18.c | | |1,609,472 /p18.e | | |2,196,652 /p25.e | | | 338,194 /p27.c | | | 26,337,297 /p90.slash | | | 357 | /data2 | | |0 | /dev | | | 88 | /etc | | |0 | | /cups | | |- 17 | | /samba ===| | | 24,823,606 | /local | | | | |select: ?help Restore Quit | |---8| Selecting a file for restore (like smbpasswd above) and pressing (R)estore retrieves the file in about a minute and a half worst case. I probably re-invented the wheel, because I was too lazy to rtfm for any oss, but I have Full Control over it. So next thing I'll reduce the daily increments by about an order of magnitude. Each day will only increment on the previous day and a slightly improved browser will use the TOCs as a kind of multiversioning repository database in which one can browse by dates and bore up and down to multiple versions of a wiggling file. I'll also try remotely spawned ntbackup, the native WinDoze tool, on the wild chance that it may carry along all other attributes not recognized by smbtar, you know streams and stuff. Does anyone have a good CLI for ntbackup.exe? Sorry I got carried away by this fascinating subject. Ah yes, remote tape shares. It's a concept not worth pursuing because of shortcomings already elucidated by preposters, but also counterproductive in terms of low speed yield and potentially contentious chaos. A quick search reveals this software to look at: NovaNet (www.network-backup.com), Arkeia (www.arkeia.com), NetVault Workgroup Edition (www.bakbone.com), (Veritas BackupExec not available for Linux,) anyone know of open-source, multi-platform network-aware backup software? Errm, what I described above was just the last Wintel/Lintel tar branch of a network-aware backup for Veritas's vxfs on HP-UX, Sun and
RE: [Samba] copy files from Linux to NT Server
personally, I always have to use the -w workgroup option too (workgroup=xxx for the mount) to set what workgroup/domain it's using. -Original Message- From: Diana [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 12:07 To: [EMAIL PROTECTED] Subject: Re: [Samba] copy files from Linux to NT Server Thanks, just tried that. using -l does not give me an output into the specified logfile. How do I raise my debug level? Went through smb.conf but did not find something like debug level. As well: my password is working (just did a new login to NT it worked. And the listing works as well (if I give -L ). Thanks for your help! I`m using Redhat 9 professional with the preconfigured Samba 2.2.7a that comes with Redhat. -Original Message- From: Ryan Novosielski [mailto:[EMAIL PROTECTED] Sent: 11 June 2003 16:47 To: Samba Mailing List Subject: Re: [Samba] copy files from Linux to NT Server The syntax for smbclient is: smbclient //server/share -U username ...which I see you have tried. You may want to throw in -l and specify a logfile location (ie. /tmp/smbclient.log) and elevating the debug level to about 3 in the smb.conf. Are you sure the password is correct? _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de -- 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] Quickbooks revisited
We've had pretty good luck with Peachtree Complete with SAMBA (2.3.6). (It doesn't like opportunistic locks though.) We've had very good success even with large databases. Our 130MB database just breezes with speed with 5 Peachtree users. (This is running on a UnixWare 7.1.2 box,(Dell) Dual PIII 1.2 GHz XEON with RAID 5 and 1 GB RAM) -Scott Shackelford -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brandon Lederer Sent: Thursday, June 19, 2003 3:36 PM To: [EMAIL PROTECTED] Subject: RE: [Samba] Quickbooks revisited Disabling Norton AV made no noticeable difference. -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 2:11 PM To: 'Brandon Lederer'; [EMAIL PROTECTED] Subject: RE: [Samba] Quickbooks revisited Another possible cause, from a windows newsgroup though.. http://tinyurl.com/er42 Go to google groups and type in 2 keywords: QuickBooks slow You will have a lot of reading to do...there are some good suggestions out there. Quickbooks is SO slow, we are having all of the same issues listed here. Our QB file is about 250 MB and is slow as a turtle. It is nearly unusable in a networked environment. If i put the file on the Local Machine, it is fine. It is only Slightly faster on a win2k server, i believe. Im not convinced its samba by any stretch. But can anyone reccomend a better product, cuz this product (QB) is terrible. -Original Message- From: Justin Kreger [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 12:04 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Quickbooks revisited -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Winbind problem - id: cannot find name for group ID
I've configured pam to use winbind for login authentication ... the problem is that when I login with my domain user I get id: cannot find name for group ID 10004 ... 10004 should be Domain Users ... and when I do getent groups|grep 10004 I can see this group... although when I do getent group 10004 it returns nothing. Also, when home directories are automatically being created it is simply using the gid instead of the name. I am using Samba 3.0.0beta1 on RedHat 9.0. Stuff that might matter: /etc/samba/smb.conf winbind separator = + winbind cache time = 15 template shell = /bin/bash template homedir = /home/%D/%U winbind uid = 1-2 winbind gid = 1-2 winbind enum users = yes winbind enum groups = yes security = domain password server = * /etc/pam.d/login #%PAM-1.0 auth required /lib/security/pam_securetty.so 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 accountsufficient /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 sessionrequired /lib/security/pam_mkhomedir.so skel=/etc/skel umask=0022 sessionoptional /lib/security/pam_console.so Thanks in advanced for the help. Jeff -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Win(yuck)NT
In migrating to Samba on FreeBSD from Win(yuck)NT, I?ve run into this hitch. Let us say I have 9 users named User1, User2, User3, ? User9 User1 is a member of group wheel User2 User3 have the administrative task (add/change/delete) of managing the content of the directory Dirc1 and all subordinate objects (files and directories). Dirc1 is the directory /usr/Shared/Dirc1. Only User1 will need to delete Dirc1, but if it helps then User2 User3 can also delete Dirc1. All users can read anything in Dirc1 and all subordinate objects as well. All users can contribute (add/change/delete) anything in the Everyone directory which is /usr/Shared/Dirc1/Everyone Shared is a Samba service. As User2 User3 add new objects subordinate to Dirc1 they are to retain the permissions necessary to add/change/delete all current and new objects in Dirc1. All users can add/change/delete anything anywhere else in Shared All end-user efforts are performed from Windows NT workstations. (This is essentially what I have on an NT file system and would like to maintain this structure to prevent confusion.) Finally, Samba ACL support is not compiled into Samba because that option is broken between this version of FreeBSD and this version of Samba. 1) How do I configure the Shared, Dirc1 Everyone directories in terms of the Unix file permissions and ownerships to support this? 2) How do I configure the Shared service in Samba to support this? 3) How do I configure the User2 User3? 4) What else will be necessary? -- 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 start smb and winbind in debug mode?
Log files are empty! ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- 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 start smb and winbind in debug mode?
John Simovic wrote on Thursday, 19 June 2003 10:45 p.m.: Log files are empty! Try setting 'log level' to a higher number (eg. 5) in smb.conf. Cheers, Paul -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] NT ACLs for deny
Hi, Windows NT has 13 permission bits that you can set: permission bit representation in include/smb.h -- --- Traverse Folder/Execute FileFILE_EXECUTE0x020 List Folder/Read Data FILE_READ_DATA 0x001 Read Attributes FILE_READ_ATTRIBUTES0x080 Read Extended AttributesFILE_READ_EA0x008 Create Files/Write Data FILE_WRITE_DATA 0x002 Create Folders/Append Data FILE_APPEND_DATA0x004 Write AttributesFILE_WRITE_ATTRIBUTES 0x100 Write Extended Attributes FILE_WRITE_EA 0x010 Delete Subfolder and Files FILE_DELETE_CHILD 0x040 Delete DELETE_ACCESS 0x0001 Read PermissionsREAD_CONTROL_ACCESS 0x0002 Change Permissions WRITE_DAC_ACCESS0x0004 Take Ownership WRITE_OWNER_ACCESS 0x0008 The above permission bits are the representation for ALLOW. I was wondering if there is representation for the NT ACLs for DENY. Please reply to me, because I am not subscribed to the samba mailing list. Thanks, Eric [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Joined AD, Kerberos working, now what?
I have the kerberos working on a red hat 8.0 box. I can map to shares (in our Windows 2K domain) easly via the shell. Will kerberos let me view shared directories within our Windows 2000 (mixed-mode) domain using a browser such as Nautilus or Konquerer? Also, now that my box is a domain member and I can get a kerberos ticket for the PC - do I still setup winbind to authenticate users agains Active Directory at Log on? Tim -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] RE: NT ACLs for deny
Hi, Disregard my previous post. The permission bits are the same. They are just toggled on/off ALLOW/DENY by *pacl_type = SEC_ACE_TYPE_ACCESS_ALLOWED or *pacl_type = SEC_ACE_TYPE_ACCESS_DENIED -Original Message- From: Eric Chen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 4:20 PM To: [EMAIL PROTECTED] Subject: NT ACLs for deny Hi, Windows NT has 13 permission bits that you can set: permission bit representation in include/smb.h -- --- Traverse Folder/Execute FileFILE_EXECUTE0x020 List Folder/Read Data FILE_READ_DATA 0x001 Read Attributes FILE_READ_ATTRIBUTES0x080 Read Extended AttributesFILE_READ_EA0x008 Create Files/Write Data FILE_WRITE_DATA 0x002 Create Folders/Append Data FILE_APPEND_DATA0x004 Write AttributesFILE_WRITE_ATTRIBUTES 0x100 Write Extended Attributes FILE_WRITE_EA 0x010 Delete Subfolder and Files FILE_DELETE_CHILD 0x040 Delete DELETE_ACCESS 0x0001 Read PermissionsREAD_CONTROL_ACCESS 0x0002 Change Permissions WRITE_DAC_ACCESS0x0004 Take Ownership WRITE_OWNER_ACCESS 0x0008 The above permission bits are the representation for ALLOW. I was wondering if there is representation for the NT ACLs for DENY. Please reply to me, because I am not subscribed to the samba mailing list. Thanks, Eric [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] {VIRUS?} Helvetica, sans
Warning: This message has had one or more attachments removed. Warning: Please read the VirusWarning.txt attachment(s) for more information. This is a message from the MailScanner E-Mail Virus Protection Service -- The original e-mail attachment the entire message was believed to be infected by a virus and has been replaced by this warning message. If you wish to receive a copy of the *infected* attachment, please e-mail helpdesk and include the whole of this message in your request. Alternatively, you can call them, with the contents of this message to hand when you call. At Thu Jun 19 19:54:40 2003 the virus scanner said: Possible Microsoft security vulnerability attack Note to Help Desk: Look on the MailScanner in /var/spool/MailScanner/quarantine (message h5JNsXtH011061). -- Postmaster -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Winbind auth problems
I get foreign connection lost each time I try and login using winbind. Below is the log file entry [2003/06/20 09:37:03, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105) [ 6699]: getpwnam spennington [2003/06/20 09:37:03, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105) [ 6699]: getpwnam spennington [2003/06/20 09:37:03, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105) [ 6699]: getpwnam spennington [2003/06/20 09:37:03, 5] nsswitch/winbindd.c:client_read(419) read failed on sock 15, pid 6699: EOF [2003/06/20 09:37:03, 5] nsswitch/winbindd.c:client_read(419) read failed on sock 13, pid 6699: EOF Any help gladly appreciated ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Regarding Samba as a PDC
Dear Sir, Sir, Samba is great thing. Sir, please tell me how can I make PDC to a Red Hat Linux 8.0 using Samba. Can I have to install Red Hat Linux 8.0 as a Server or I will have to do Custom Installation. Sir, please tell me what to do in SMB.CONF file and where is the option for making it as a PDC. I want that Windows Users can login into Red Hat Linux 8.0 box. I will be grateful to you? Thanks and Regrads, Manish Anand. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
CVS update: samba/source/nsswitch
Date: Thu Jun 19 14:56:46 2003 Author: jerry Update of /data/cvs/samba/source/nsswitch In directory dp.samba.org:/tmp/cvs-serv11268/nsswitch Modified Files: Tag: APPLIANCE_HEAD wb_client.c winbindd_group.c Log Message: * one more fix on CR 2179. Rework winbind_getgroups to nto require 2 calls. * don't free memory that was talloc'd(). No CR. Fix crash bug seen yesterday Revisions: wb_client.c 1.3.2.18 = 1.3.2.19 http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wb_client.c.diff?r1=1.3.2.18r2=1.3.2.19 winbindd_group.c1.3.2.12 = 1.3.2.13 http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.3.2.12r2=1.3.2.13
CVS update: samba/packaging/Debian/debian
Date: Thu Jun 19 17:22:43 2003 Author: peloy Update of /data/cvs/samba/packaging/Debian/debian In directory dp.samba.org:/tmp/cvs-serv25988/debian Modified Files: Tag: SAMBA_3_0 changelog Log Message: Minor Debian updates. Revisions: changelog 1.2.4.1 = 1.2.4.2 http://www.samba.org/cgi-bin/cvsweb/samba/packaging/Debian/debian/changelog.diff?r1=1.2.4.1r2=1.2.4.2
CVS update: samba/packaging/Debian/debian/patches
Date: Thu Jun 19 17:22:43 2003 Author: peloy Update of /data/cvs/samba/packaging/Debian/debian/patches In directory dp.samba.org:/tmp/cvs-serv25988/debian/patches Modified Files: Tag: SAMBA_3_0 fhs.patch Log Message: Minor Debian updates. Revisions: fhs.patch 1.1.6.5 = 1.1.6.6 http://www.samba.org/cgi-bin/cvsweb/samba/packaging/Debian/debian/patches/fhs.patch.diff?r1=1.1.6.5r2=1.1.6.6
CVS update: samba/source/param
Date: Fri Jun 20 01:12:20 2003 Author: jra Update of /data/cvs/samba/source/param In directory dp.samba.org:/tmp/cvs-serv32165/param Modified Files: Tag: SAMBA_3_0 loadparm.c Log Message: Mapping of Windows ACL inheritance and protected bits onto extended attributes if available. Adds new parameter map acl inheritance (docs coming soon) off by default. Allows W2K acl inheritance dialogs to work correctly on POSIX acls. Jeremy. Revisions: loadparm.c 1.397.2.65 = 1.397.2.66 http://www.samba.org/cgi-bin/cvsweb/samba/source/param/loadparm.c.diff?r1=1.397.2.65r2=1.397.2.66
CVS update: samba/source/smbd
Date: Fri Jun 20 01:12:20 2003 Author: jra Update of /data/cvs/samba/source/smbd In directory dp.samba.org:/tmp/cvs-serv32165/smbd Modified Files: Tag: SAMBA_3_0 posix_acls.c Log Message: Mapping of Windows ACL inheritance and protected bits onto extended attributes if available. Adds new parameter map acl inheritance (docs coming soon) off by default. Allows W2K acl inheritance dialogs to work correctly on POSIX acls. Jeremy. Revisions: posix_acls.c1.61.2.22 = 1.61.2.23 http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/posix_acls.c.diff?r1=1.61.2.22r2=1.61.2.23