Re: [Samba] dial up and samba
On Tuesday 22 October 2002 6:49 am, upen wrote: hi all my first mail o this list prob is:i use dialup on linux i want somebudy on internet MS or linux to mount my samba directories is it possible?? how?? You really don't want to do this, even if your isp doesn't block ports 137-139. Which many now do. The smb/CIFS/theotherterm protocols are not inherently secure and you open yourself up for all kinds of bad things (tm) to happen to you and your box. See http://marc.theaimsgroup.com/?l=sambam=101434913901965w=2 for a way to do this over a vpn. Or at least a description of what he did. And while you're there you can do some searches through the archives for what similar discussions. mark -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: AW: [Samba] user root is not accepted anymore
Hi, for me it looks not like a configuration problem. After a new reinstallation of samba i found the message smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User root ! in log.smbd Any more ideas? Regards, Rudi Rudi Labermeier IT Administrator SP3D Chip Design GmbH Phone: +49 8151 270-119 Petersbrunner Str. 17 Fax: +49 8151 270-200 D-82319 Starnberg mailto:rudi.labermeier;philips.com Bradley W. Langhorst To: Rudi Labermeier/STN/SC/PHILIPS@EMEA1 brad@langhorst. cc: [EMAIL PROTECTED] com Subject: Re: AW: [Samba] user root is not accepted anymore Sent by: samba-admin@list Classification: s.samba.org 21.10.02 17:44 On Mon, 2002-10-21 at 11:26, [EMAIL PROTECTED] wrote: Hi, thank you for your help, but it's not the reason. The user root is not managed in the smbpasswd file. Any more ideas? I believe that all samba users must be in the smbpasswd file unless you're using winbind, ldap or some other backend. maybe you had a user mapping between root and some other user before... brad -- 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] Error - should be sent to WINS server
On Mon, 21 Oct 2002 14:19:52 +0200 Frank Matthieß [EMAIL PROTECTED] wrote: On Mon, Oct 21, 2002 at 12:51:20PM +0200, Peter Lustig wrote: On Mon, 21 Oct 2002 13:10:18 +0400 Alexander Kuznetsov [EMAIL PROTECTED] wrote: PL does anyone know what following error-message means ? This message returns any 4 minutes for any client PL in the lan: PL -- PL Oct 21 10:03:18 TE-WET01 nmbd[16353]: [2002/10/21 10:03:18, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(183) PL Oct 21 10:03:18 TE-WET01 nmbd[16353]: process_name_refresh_request: unicast name registration request received for name CLIENTNAME00 from IP 192.168.133.145 on subnet UNICAST_SUBNET. PL Oct 21 10:03:18 TE-WET01 nmbd[16353]: [2002/10/21 10:03:18, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(184) PL Oct 21 10:03:18 TE-WET01 nmbd[16353]: Error - should be sent to WINS server PL -- PL I've tried it with older and newer versions of samba (2.2.1a - 2.2.5) - but the same messages appaers in /var/log/messages. PL Hope anyone can help me ... From source code : We should only get broadcast name registration packets here. Anyone trying to register unicast should be going to a WINS server. If the code gets here, then either we are not a wins server and they sent it anyway, or we are a WINS server and the request was malformed. Either way, log an error here. and send an error reply back. hi, thanx - but is it possible to disable those messages without changing something at the win-client ? The samba-server is not configured as wins-server. Should I enable Wins in smb.conf to prohibitive those messages ? There are two ways to solve this 'problem': 1. You have an windows server, which runs wins You told all windows network systems, that _this_ windows server ip address is fro wins. Depending on static or dhcp ip's you have to manualy assign wins in tcp/ip properties, or chaneg dhcp config and do ipconfig /renew in a command windows. For the samba system you must add wins server = winsserveripadr man smb.conf: wins server (G) This specifies the IP address (or DNS name: IP address for preference) of the WINS server that nmbd(8)should register with. If you have a WINS server on your network then you should set this to the WINS server's IP. You should point this at your WINS server if you have a multi-subnetted network. NOTE. You need to set up Samba to point to a WINS server if you have multiple subnets and wish cross- subnet browsing to work correctly. See the documentation file BROWSING.txt in the docs/ directory of your Samba source distribution. Default: not enabled Example: wins server = 192.9.200.1 2. You want run wins on samba server. Set wins support = yes man smb.conf: wins support (G) This boolean controls if the nmbd(8)process in Samba will act as a WINS server. You should not set this to true unless you have a multi-subnetted net work and you wish a particular nmbd to be your WINS server. Note that you should NEVER set this to true on more than one machine in your network. Default: wins support = no Yep! A simple wins support = yes and no messages were logged any more - thanxxx! -- Thanxx! PL -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] iPlanet ldap authentication: NT password check failed
Hello everybody! Sorry for (maybe) a stupid question... Again: problem with authentication against LDAP (iPlanet Directory Server 4.16), Solaris 8 SPARK server i have compiled samba 2.2.6 --with-ldapsam option When connecting from w2k prof workstation i see the following log files: -- 2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:ldap_open_connection(216) ldap_open_connection: connection opened[2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:ldap_connect_system(250) ldap_connect_system: succesful connection to the LDAP server[2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:ldap_search_one_user(262) ldap_search_one_user: searching for:[((uid=mdorofeev)(objectclass=sambaAccount))][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(360) get_single_attribute: [uid] = [mdorofeev][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:init_sam_from_ldap(495) Entry found for user: mdorofeev[2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [pwdLastSet] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [logonTime] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [logoffTime] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [kickoffTime] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [pwdCanChange] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [pwdMustChange] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(360) get_single_attribute: [cn] = [òò£óòò£ò òòóò£ó òòóòóòòò][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [homeDrive] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [smbHome] = [does not exist][2002/10/22 14:42:21, 4] lib/substitute.c:automount_server(160) Home server: margo[2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [scriptPath] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [profilePath] = [does not exist][2002/10/22 14:42:21, 4] lib/substitute.c:automount_server(160) Home server: margo[2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [description] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [userWorkstations] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(360) get_single_attribute: [rid] = [100][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [primaryGroupID] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [lmPassword] = [does not exist][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(360) get_single_attribute: [ntPassword] = [81030A39A1C251FCAAD3B435B51404EE][2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [acctFlags] = [does not exist][2002/10/22 14:42:21, 4] smbd/password.c:smb_password_ok(475) smb_password_ok: Checking SMB password for user mdorofeev[2002/10/22 14:42:21, 4] smbd/password.c:smb_password_ok(499) smb_password_ok: Checking NT MD4 password[2002/10/22 14:42:21, 4] smbd/password.c:smb_password_ok(504) smb_password_ok: NT MD4 password check failed[2002/10/22 14:42:21, 2] smbd/password.c:pass_check_smb(575) pass_check_smb failed - invalid password for user [mdorofeev][2002/10/22 14:42:21, 2] smbd/reply.c:reply_sesssetup_and_X(972) NT Password did not match for user 'mdorofeev'![2002/10/22 14:42:21, 1] smbd/reply.c:reply_sesssetup_and_X(998) Rejecting user 'mdorofeev': authentication failed -- The QUESTION IS : IS THERE _A_ WAY TO USE userPassword attr for Sambaauthentication ?? What i did is i ran smbpasswd, looked at the password file, copied the string containing the encrypted password and inserted this value into the directory-ntPassword filed. However it didnt match :( Login failed. Or, maybe, there is a way to sync ntPassword and userPassword (taking care of different encryption scheme)? This would be ONLY useful if done by LDAP server means.. I use plain text passwords in the userPassword filed for my eMail auth etc This also works for Solaris PAM Ldap auth Sincerely, mdorofeev
RE: [Samba] can't add w2K client to samba domain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | Message: 25 | Date: Tue, 22 Oct 2002 07:53:42 -0300 | To: [EMAIL PROTECTED] | From: Daniel Bertin [EMAIL PROTECTED] | Subject: RE: [Samba] can't add w2K client to samba domain | | Morning | I re-installed samba 2.2.6 and applied service pack 3 on win2K. same thing; Doens't seem like it ... | | when I try and login with any use | the credentials supplied conflict with an existing set of credentials That's a windows error. Windows it telling you it can't connect to the same server as multiple users. You have probably browsed the machine as an anonymous user already. Log out of windows, log back in, and try and connect to the machine as the first thing you do. If you want to avoid this problem, make sure that your windows username and password match the username and password on the samba server. | | what else can I do. | what would be the steps to follow for a new install. rpm from the | mandrake 9.0 distribution? Remove the old RPM: # urpme samba-common Move the old configuration files, since rpm won't overwrite them, and that's actually what you want: # mv /etc/samba /etc/samba.old Install samba # urpmi samba-server Edit your smb.conf to change the workgroup: # kate /etc/samba/smb.conf (or use the editor of your choice, I use vi, which syntax highlights smb.conf if you have vim-enhanced installed, but kate should also if you have KDE on the machine) Restart samba for good measure # service smb restart Add smbpasswd's for the users: # smbpasswd -a username Connect, and it should all work. BTW, you have a different subject line to your previous mail, I may be on the wrong thread, in which case you should *really* take a look at the original smb.conf with a text editor, and everything should be clearer. Also, http://ranger.dnsalias.com/mandrake/muo/connect/csamba6.html may be useful if the subject of this mail is correct. Buchan - -- |Registered Linux User #182071-| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 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.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9tUVLrJK6UGDSBKcRAgyBAJ9zWhweQdzWGjKbQmzuhStJSVaCBQCcDI0w 4lmPlANa6HojPuvuKLKFdXc= =7XgK -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] Samba Question w/ RH 7.3 and Windows
Hello, A question I'm sure has been answered before, but I'm still relatively new to Samba, and having just moved, have not been able to locate any of my Samba reference materials. Anyways, I'm running a small Samba server at work using RedHat Linux 7.3. I did not set up Samba during the RedHat installation, but rather downloaded it and installed it afterwards. Anyways, the network uses a Windows 2000 Server as the PDC. And we have various groups set up in the server. What I want to do is set up a share that can be accessible only by the members of a specific group that's already created in the Active Directory setup. Can this be done? I've read as much as I have had the time for, and haven't been able to locate anything that helps. If someone can point me in the right direction, it would be much appreciated. Thanks and regards, Scott M. Wrosch __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.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] Roaming Profiles with win 98 - Doesn't work.
Angel Gabriel: This is a multi-part message in MIME format. --=_NextPart_000_0066_01C2787A.F4131630 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit I would like to know if anybody on this list has managed to have a network of 98 clients running off a samba server, and had roaming profiles, i.e. people's settings follow them from machine to machine. I have done everything I find in the guides, and I have no idea why the machines create new local profiles. I've searched the net for documentation, example websites, etc, but it seems the majority of info is for Win NT which is no problem. Can anyone point me in the right direction to get the same effect on win 98? Yes, I have and it does work without too many problems. On Windows, make sure you have (I am paraphrasing here, I only know the dialog boxes in German), 1) Logon to Windows NT Domain set in the properties of the MS Network Client, 2) Check that you have set the workgroup correctly, 3) Enable roaming profiles with the Passwords icon in control panel, the relevant entry should be something along the lines users can change their desktop settings. Upon login, those settings are restored. Viz. not too many problems: Make sure the roaming profiles and user data files do not get too large, otherwise login/logoff times will become unacceptably slow over time and the probability that something goes wrong will increase as well. Offenders are for instance Internet Explorer (temporay internet files are part of a profile) and Outlook Express (mail files are part of the user profile as well). Avoid Outlook Express full stop if you possibly can as it is known to corrupt its own mail files anyway. The temporary internet files of Internet Explorer can be directed to a local disk. best regards, Oh btw: Could you get rid of this stuff (winmail.dat) in your mails? Absolutely useless for quite a few... --=_NextPart_000_0066_01C2787A.F4131630 Content-Type: application/ms-tnef; name=winmail.dat Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=winmail.dat -- Joerg Lenneis email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba Question w/ RH 7.3 and Windows
--- Scott Wrosch [EMAIL PROTECTED] wrote: A question I'm sure has been answered before, but I'm still relatively new to Samba, and having just moved, have not been able to locate any of my Samba reference materials. Anyways, I'm running a small Samba server at work using RedHat Linux 7.3. I did not set up Samba during the RedHat installation, but rather downloaded it and installed it afterwards. Anyways, the network uses a Windows 2000 Server as the PDC. And we have various groups set up in the server. What I want to do is set up a share that can be accessible only by the members of a specific group that's already created in the Active Directory setup. Can this be done? It should be possible using Winbind if your 2000 server is running in mixed mode. Follow the directions here: http://us6.samba.org/samba/docs/Samba-HOWTO-Collection.html#WINBIND I installed RedHat 7.3 and used the samba rpm downloaded from a samba FTP site. I had to add winbind to the nsswitch.conf, then I added the winbind settings to smb.conf, and then I started the winbind service. That was about it. I tested it with getent group, which showed all of our NT groups. Good. Then I could run this: chown -R 'DOMAIN\USER'.'DOMAIN\GROUP' /share/point find /share/point -type d -printf \%p\\n | xargs chmod 770 # Isn't there a better way to do this??? find /share/point -type f -printf \%p\\n | xargs chmod 660 We implemented ACLs into the kernel and Samba but despite the claims of the authors, we're not sure if they are stable (we might be having other problems, though, and are trying to track them down). ACLs allow you to add more than one NT global group to a file. Good luck, /dev/idal __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: AW: [Samba] user root is not accepted anymore
[EMAIL PROTECTED] wrote: Hi, for me it looks not like a configuration problem. After a new reinstallation of samba i found the message smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User root ! in log.smbd Any more ideas? try 'smbpasswd -a root'. Since it said that the user root didn't exist in the smbpasswd file, try adding it back -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Multiple codepage support
Having searched the documentaion and the archive, and having this alluded to, but not addressed directly, I was hoping someone here could set me straight: I need to be able to support multiple languages for separate users: english, simplified chinese, traditional chinese, and korean han. Is it correct that under 2.2.x that I can only get one of those at a time, using the smb.conf options 'character set' and 'client code page ? And that under 3.x with unicode support I will be to have them use whatever alternate character set they wish? I am curently using 2.2.6 (mandrake 9.0). It is ever so much more stable than the win2k server I am migrating the files off of. If there is currently a way to support multple users having their different character sets, I would greatly appreciate a shove in the right direction Thanks Barry Hunter Priest -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] can't install printer driver to samba2.2.6 and 3.0alpha20
Can not install printer driver for zebra printers to samba2.2.6 and 3.0alpha20. I got follow error in log.smbd (loglevel 2): --- 2002/10/22 14:33:29, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(702) spoolss_io_devmode: Unknown specversion in devicemode [0x0] [2002/10/22 14:33:29, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(703) spoolss_io_devmode: please report to [EMAIL PROTECTED]! [2002/10/22 14:33:29, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(799) spoolss_io_devmode: I've parsed all I know and there is still stuff left| [2002/10/22 14:33:29, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(801) spoolss_io_devmode: available_space = [800], devmode_size = [1020]! [2002/10/22 14:33:29, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(802) spoolss_io_devmode: please report to [EMAIL PROTECTED]! [2002/10/22 14:33:29, 0] rpc_server/srv_spoolss.c:api_spoolss_open_printer_ex(75) spoolss_io_q_open_printer_ex: unable to unmarshall SPOOL_Q_OPEN_PRINTER_EX. [2002/10/22 14:33:29, 0] rpc_server/srv_pipe.c:api_rpcTNP(1188) --- Thanks for any help. Khiem
[Samba] rpm -i samba-2.2.6-1.i386.rpm
hi there how can i resolve this problem regards [root@link root]# rpm -i samba-2.2.6-1.i386.rpm error: failed dependencies: libncurses.so.4 is needed by samba-2.2.6-1 libreadline.so.3 is needed by samba-2.2.6-1[root@link root]#
Re: AW: [Samba] user root is not accepted anymore
I tried it but it doesn't work. For me it looks like a problem with PAM. Rejecting sound like ok, you typed in the right password, but you're not allowed to login... We've got a second system for failover and the samba configuration-files are 100% identical - but samba-login as root works. By the way, the smbpasswd file on the failover-system doesn't contain a entry for root, too. So for me it looks like a problem between samba and PAM or PAM is unable to verify the login. But more and more I get lack of ideas Rudi Labermeier IT Administrator SP3D Chip Design GmbH Phone: +49 8151 270-119 Petersbrunner Str. 17 Fax: +49 8151 270-200 D-82319 Starnberg mailto:rudi.labermeier;philips.com Andrew Gaffney agaffney@locutu To: Rudi Labermeier/STN/SC/PHILIPS@EMEA1 s2.yi.orgSamba [EMAIL PROTECTED] cc: 22.10.02 15:08 Subject: Re: AW: [Samba] user root is not accepted anymore Classification: [EMAIL PROTECTED] wrote: Hi, for me it looks not like a configuration problem. After a new reinstallation of samba i found the message smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User root ! in log.smbd Any more ideas? try 'smbpasswd -a root'. Since it said that the user root didn't exist in the smbpasswd file, try adding it back -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 2.2.6 problems
Hi ! I have installed samba 2.2.6. And in my /var/log/messages i got: Oct 22 16:04:11 beer smbd[27622]: ERROR: string overflow by 1 in string_sub(%u, 7) Oct 22 16:04:11 beer smbd[27622]: [2002/10/22 16:04:11, 0] lib/util_str.c:string_sub(1217) Oct 22 16:04:11 beer smbd[27622]: ERROR: string overflow by 1 in string_sub(%u, 7) Oct 22 16:04:11 beer smbd[27622]: [2002/10/22 16:04:11, 0] lib/util_str.c:string_sub(1217) Oct 22 16:04:11 beer smbd[27622]: ERROR: string overflow by 1 in string_sub(%u, 7) Oct 22 16:04:11 beer smbd[27622]: [2002/10/22 16:04:11, 0] lib/util_str.c:string_sub(1217) I have compilled it from tar.gz, build it from samba.spec, rebuild from .src.rpm - same result In my smb.conf i got %u and i thing this is the problem ... my conf rh 7.0 all erratas 2.4.18 greetz boka --- Diety, horoskopy, kosmetyczne nowoci... Wszystko, czego potrzebuje nowoczesna kobieta! www.polki.wp.pl - serwis dostpny w portalu Wirtualna Polska -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] rpm -i samba-2.2.6-1.i386.rpm
These are required libraries to install samba 2.2.6. Go to www.rpmfind.net (I believe thats it) and do a search from these files. Download the newest version of libncurses for your type of computer (probably x86) also download the newest rpms for libreadline for your type of computer. Install these rpms then try installing samba again. Not sure which version of Linux you are using. You may need other files too depending on how old your distribution is. -Josh - Original Message - From: gotcha To: [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 7:03 PM Subject: [Samba] rpm -i samba-2.2.6-1.i386.rpm hi there how can i resolve this problem regards [root@link root]# rpm -i samba-2.2.6-1.i386.rpm error: failed dependencies: libncurses.so.4 is needed by samba-2.2.6-1 libreadline.so.3 is needed by samba-2.2.6-1 [root@link root]# -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] rpm -i samba-2.2.6-1.i386.rpm
You don't say what OS/distro you're using, but as you're working with rpms... I looked on my RH 7.2 system and I have don't have a libncurses.so.4, but I do have /usr/lib/libncurses.so.5... likewise I don't have a libreadline.so.3, but I do have a /usr/lib/libreadline.so.4. They were provided by the ncurses (5.2-12) and readline (4.2-2) rpm's respectively. Are you missing these 2 rpms? If you already had those installed, you might need to get your samba-2.2.6-1 in src.rpm form and do a --rebuild so the linker uses your version of those libraries... but probably this is not the case. You are probably missing them entirely. ~ Daniel [EMAIL PROTECTED] wrote: hi there how can i resolve this problem regards [root@link root]# rpm -i samba-2.2.6-1.i386.rpm error: failed dependencies: libncurses.so.4 is needed by samba-2.2.6-1 libreadline.so.3 is needed by samba-2.2.6-1 [root@link root]#
[Samba] Samba or Win2K Server as Domain Controller?
We are looking at implementing a Windows Domain structure very soon and I have been asked to evaluate/investigate the differences between using Samba as a DC vs a true Win2k DC. We run TCP/IP and Appletalk on a 100Base-T network. I'm the main Microsoft person in the group and have a lot of Windows experience (9x - XP). We currently have a primary NT 4 domain controller mainly acting as a print and software install server. 99% of workstations are in workgroup mode. We have a contingent of Mac users (OS 9 and above) who also utilize the DC for printing and software installation. I know the full capabilities of a Win2K DC, and have just read the Samba 2.2 FAQ from the samba.org web site, so I am generally familiar with what I'll get. Some of the functionality I want include: - Roaming profiles (Samba FAQ says this can be done) - Magically add printers to workstations which become domain members (maybe through a policy or template?) - Permit an account to be used for registration-only so users can make themselves domain members on their own - Enable full auditing with Tripwire so I am kept fully up-to-date on changes (machine adds/removals/changes) - Permit seemless password changes between our UNIX and Windows world - Permit Mac users seemless access to shared printers and file storage (using Services for Mac on an existing NT 4 server) - Implement policies to permit patch pushing or service changes to clients Our model will likely end up being having an external machine (Linux most likely) doing just LDAP. We may authenticate to it, or we may try to implement Kerberos. We'll see how much pain is involved in setting and maintaining our own Kerberos server/realm. Being on the MIT campus, we know how Kerberos works ;-) Thus, we might authenticate to a separate Kerberos server and have the remaining info in a separate LDAP database on its own server. Now, if we have a dedicated LDAP server with possibly also a Kerberos server (neither will be the Win2K Domain Controller), how will I/we get the Windows functionality we want knowing the DC uses LDAP plus some proprietary additions to LDAP, and that the DC wants to be a KDC? It almost looks like the Mac, Linux, and Solaris clients will have no problems, but the Windows world is the obstacle. Can LDAP and Kerberos be disabled/separated/modified to permit even pass-through authentication to the dedicated server(s), thus permitting a domain world, the Windows clients think they are talking to a true DC, and the DC thinks it is the boss, yet it gets its info from external sources? Does this make any sense? Thanks in advance. Scott -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba users on Windows 2000 server
Hello, We have used successfully Samba suite for 5 years and it's a real pleasure to work with these safe and powerful products. ;-) Thank's to samba team. We have a Solaris Server with Samba 2.2.3a and a list of about 20 running volumes. Each person has a private connection with our data sphere via Samba (directly with PC, NFS with UNIX and Samba + DAVE with Mac). We have also a W2K advanced server with 50 simultaneous users which distributes RDP or ICA sessions to thin client users. This server don't manage any data, users have a samba connection to unix data server. Our problem today is : Only one smbd daemon has been started when user comes from W2k server. Behind this unique unix process, there is a management of about 70 - 100 connections This is a result part of smbstatus : rimuno rimuno genra 5319 gene2 (193.50.63.0) Tue Oct 22 15:00:29 2002 wintowintogenra 5319 gene2 (193.50.63.0) Tue Oct 22 15:01:03 2002 thoyon thoyon sepes 5319 gene2 (193.50.63.0) Tue Oct 22 15:00:25 2002 Prod_Contr kurbel genra 5319 gene2 (193.50.63.0) Tue Oct 22 15:00:22 2002 Temporaire bouc lgmd 5319 gene2 (193.50.63.0) Tue Oct 22 16:00:16 2002 sambasambagenra 5319 gene2 (193.50.63.0) Tue Oct 22 15:14:10 2002 Eval bobatgenra 5319 gene2 (193.50.63.0) Tue Oct 22 15:00:22 2002 Imagerie liploce genra 15612 w-laplace (192.168.100.117) Tue Oct 22 12:03:54 2002 When we are using about 90 connections, new connections become impossible !!! So my question : Is it possible to start any different daemons for each connection from W2K server gene2 ? Thanks by advance. Best regards. ¨¨°ºo.,,.oº°¨¨°º (- - -) º°¨¨°ºo.,,.oº°¨¨ Pascal MARTINEZIT Manager GENETHON (www.genethon.fr)+33 (1) 69.47.28.30 - -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Browser elections
On Tue, 22 Oct 2002, Kurt Underhay wrote: Hi What OS level should I set in my smb.conf if I want the Samba server to beat Windows 2000 machines (NT 5.0?) I know that 34 was sufficient for NT 4.0, is NT 5.0 higher than that? -- Hi try add Prefered Master to YES and you will win forewer :) Stepan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Adding a Win2k Server to a Samba PDC
Sorry, but I cant find out where to shut of Active Directory in win2k server. Any clues would be much appreciated! Thanks -Josh Hi Josh, You need to set up your w2k server as a member server and remove AD. It will then be able to join the Domian. Mark On Tue, 2002-10-22 at 03:13, Josh Hiner wrote: Hello. Can anybody tell me if there is any special thing (or if it is possible) to add a Windows 2000 Server to a Samba PDC?? Right now I have all my win2k pro boxes logging in and my winxp boxes but win2k Server will not join (probably because I need to somehow turn off active directory??). thanks for any help.. -Josh -- Regards, Mark Belfanti Mentat IT Pty Ltd tel: [61 2] 9810 1986 fax: [61 2] 9810 1131 mob: 0413 53 6789 e-mail: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Roaming Profiles, My Documents and XP
Hello, I successfully joined an XP machine to my Samba PDC. When looking at the profile folder on the samba server for the user (which I had to create manually. Is there a way this can be done automatically?) I saw the My Documents folder was copied up. I was thinking this was cool because people would have their stuff stored on the server and wouldn't have to teach them anything different. One problem I thought though was if they have like a gigabyte of documents. Would this mean it would have to download all of that before it would finish booting? Also, I created a folder in the My Documents folder and copied some files into it to see if it copied up, it did. I went to delete it and it cleared out. I logged off and back on and files inside the deleted folder were gone, but the folders returned. Is this a problem or do I need to fix something? I have no problem going back to a login script to set a home directory for a mapped drive, but apparently the login scripts for win98 machines aren't same for winxp (location ways), but I will look into that. Adam Lang Systems Engineer Rutgers Casualty Insurance Company http://www.rutgersinsurance.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Bug Report
Hello, this bug occured the first time. I don´t know what the user was doing, when it happened. I guess he was reading email. There is no core-file. We use version 2.2.5. And now the messages in the log-file of the computer brutzer (The first since three days.): [2002/10/21 18:22:56, 0] lib/fault.c:fault_report(38) === [2002/10/21 18:22:56, 0] lib/fault.c:fault_report(39) INTERNAL ERROR: Signal 11 in pid 28195 (2.2.4) Please read the file BUGS.txt in the distribution [2002/10/21 18:22:56, 0] lib/fault.c:fault_report(41) === [2002/10/21 18:22:56, 0] lib/util.c:smb_panic(1092) PANIC: internal error [2002/10/21 18:23:27, 0] smbd/oplock.c:oplock_break(761) oplock_break: receive_smb timed out after 30 seconds. oplock_break failed for file Netscape/Users/brutzer/Mail/Trash (dev = 3009, inode = 1208149, file_id = 2). [2002/10/21 18:23:27, 0] smbd/oplock.c:oplock_break(833) oplock_break: client failure in oplock break in file Netscape/Users/brutzer/Mail/Trash Bye, Arne Roolfs (Novacard GmbH) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Utmp Problem
I currently have a build of samba-2.2.5 running with cups and ldap support. I attempted to reconfigure, i.e. run configure enabling cups, ldap and now utmp. After samba configured I ran make and it made the new binaries. I added utmp = yes to my smb.conf and now I get: $ smbstatus -S Unknown parameter encountered: utmp Ignoring unknown parameter utmp and then the output of smbstatus Also, users do not show up in w or who or finger, etc.. I figure I did something wrong. Thanks for the help Peter Shull -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] problem on user mapping
Hi. It is an email from HK. My company is using Samba to share a web server. We have set a number of people to a group in smb.conf. and made respective setting in the users.map. The problem is that, anyone in the group is able to read files, create files and edit files created by himself only. No one can edit files that are created by others in the group. Did I make some errors in the configuration? I appreciate for your help. Rita Lam -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
AW: [Samba] can't install printer driver to samba2.2.6 and 3.0alpha20
From a W2K PC as describe in Samba How To doc. All other drivers download (hp lasers) worked well. There is only problem with zebra printer drivers (ex. Zebra thermo transfer printer of type Z4M) link for driver at http://www.zebra.com Best regards, Khiem -Ursprüngliche Nachricht- Von: Gerald (Jerry) Carter [mailto:jerry;samba.org] Gesendet: Dienstag, 22. Oktober 2002 17:27 An: Quach Van Khiem Cc: '[EMAIL PROTECTED]' Betreff: Re: [Samba] can't install printer driver to samba2.2.6 and 3.0alpha20 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Oct 2002, Quach Van Khiem wrote: Can not install printer driver for zebra printers to samba2.2.6 and 3.0alpha20. How are you trying to install the driver? 2002/10/22 14:33:29, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(702) spoolss_io_devmode: Unknown specversion in devicemode [0x0] [2002/10/22 14:33:29, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(703) spoolss_io_devmode: please report to [EMAIL PROTECTED]! [2002/10/22 14:33:29, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(799) spoolss_io_devmode: I've parsed all I know and there is still stuff left| [2002/10/22 14:33:29, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(801) spoolss_io_devmode: available_space = [800], devmode_size = [1020]! [2002/10/22 14:33:29, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(802) spoolss_io_devmode: please report to [EMAIL PROTECTED]! [2002/10/22 14:33:29, 0] rpc_server/srv_spoolss.c:api_spoolss_open_printer_ex(75) spoolss_io_q_open_printer_ex: unable to unmarshall SPOOL_Q_OPEN_PRINTER_EX. [2002/10/22 14:33:29, 0] rpc_server/srv_pipe.c:api_rpcTNP(1188) cheers, jerry - Hewlett-Packard - http://www.hp.com SAMBA Team-- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9tW5YIR7qMdg1EfYRAprBAKDAEAKdNz+Uw8iB/sTWDjeErj1vbgCcDYcn MufeTQY8+4oFzbVUQgyasRA= =1QPd -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Strange Share Trouble
Here is a support e-mail from Cadpipe: What are UNC drives?? Dan -Original Message- From: Jerri Ness [mailto:cadpipe;telusplanet.net] Sent: Monday, October 21, 2002 3:56 PM To: Dan Tappin Subject: Re: Cadpipe Question Dan Tappin, With 5.4, if your network is not UNC drives, you should be able to update the cadpipe.ini file in your windows directory to reflect the location of your cadpipe programs. If your network is using UNC drive locations, you should likely upgrade your Cadpipe. Best Regards, Jerri Ness Technical Support AEC Design Group - Orange Technologies www.cadpipe.com -Original Message- From: Paul Vasquez [mailto:paul.vasquez;veritas.com] Sent: Monday, October 21, 2002 3:07 PM To: '[EMAIL PROTECTED]'; Paul Vasquez Subject: RE: [Samba] Strange Share Trouble I agree. Do you know if Cadpipe even supports this functionality? Working for a software company, I would see this as a defect if it did not. At the least, a high priority enhancement. Paul -Original Message- From: Dan Tappin [mailto:dan.tappin;orourke-eng.com] Sent: Monday, October 21, 2002 4:47 PM To: Paul Vasquez Subject: RE: [Samba] Strange Share Trouble Cadpipe's browser only allows you to select local drives. I have mapped both a SMB share and a normal Windows share... both do not work. I think I am SOL. Dan -Original Message- From: Paul Vasquez [mailto:paul.vasquez;veritas.com] Sent: Monday, October 21, 2002 2:29 PM To: '[EMAIL PROTECTED]' Subject: RE: [Samba] Strange Share Trouble I am not running Cadpipe at all. Just thought since Cadpipe has its own browser, it may want IPX/SPX instead of TCP/IP. Does Cadpipe work with a normal Windows share/mapped drive? PV -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Strange Share Trouble
On Tue, 22 Oct 2002, Dan Tappin wrote: Here is a support e-mail from Cadpipe: What are UNC drives?? UNC = Universal Naming Convention ie: \\SERVER\RESOURCE\DIRECTORY\... - John T. Dan -Original Message- From: Jerri Ness [mailto:cadpipe;telusplanet.net] Sent: Monday, October 21, 2002 3:56 PM To: Dan Tappin Subject: Re: Cadpipe Question Dan Tappin, With 5.4, if your network is not UNC drives, you should be able to update the cadpipe.ini file in your windows directory to reflect the location of your cadpipe programs. If your network is using UNC drive locations, you should likely upgrade your Cadpipe. Best Regards, Jerri Ness Technical Support AEC Design Group - Orange Technologies www.cadpipe.com -Original Message- From: Paul Vasquez [mailto:paul.vasquez;veritas.com] Sent: Monday, October 21, 2002 3:07 PM To: '[EMAIL PROTECTED]'; Paul Vasquez Subject: RE: [Samba] Strange Share Trouble I agree. Do you know if Cadpipe even supports this functionality? Working for a software company, I would see this as a defect if it did not. At the least, a high priority enhancement. Paul -Original Message- From: Dan Tappin [mailto:dan.tappin;orourke-eng.com] Sent: Monday, October 21, 2002 4:47 PM To: Paul Vasquez Subject: RE: [Samba] Strange Share Trouble Cadpipe's browser only allows you to select local drives. I have mapped both a SMB share and a normal Windows share... both do not work. I think I am SOL. Dan -Original Message- From: Paul Vasquez [mailto:paul.vasquez;veritas.com] Sent: Monday, October 21, 2002 2:29 PM To: '[EMAIL PROTECTED]' Subject: RE: [Samba] Strange Share Trouble I am not running Cadpipe at all. Just thought since Cadpipe has its own browser, it may want IPX/SPX instead of TCP/IP. Does Cadpipe work with a normal Windows share/mapped drive? PV -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Help for installing Samba on SUN SPARC SOLARIS with OS 8
Dear Samba Team Analyst, I need to install Samba software in order to integrate my unix machine (SUN SPARC SOLARIS) with my NT server. Server details : SUN SPARC SOLARIS with OS 8 I have some question : 1. I download samba-2.2.6.tar.gz , is this the correct file for SUN SPARC SOLARIS with OS 8 ? 2. I unzip samba-2.2.6.tar.gz and run ./configure and I get the following error message : # pwd/software/samba/samba-2.2.6# echo $PATH/opt/SUNWspro/bin/cc:/usr/bin:/usr/ccs/bin:/usr/sbin:/bin:/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/bin:/opt/tng/services/bin:/opt/tng/services/tools:/opt/tng/agents/bin# cd source# ./configureloading cache ./config.cachechecking for gcc... nochecking for cc... noconfigure: error: no acceptable cc found in $PATH# Any suggestion ? why I get that error Thanks Inbal Vahab Oracle DBA New Applicom LTD Mailto: [EMAIL PROTECTED] Desk: +972-9-9598604 Cell: +972-53-606316
Re: [Samba] problem on user mapping
R It is an email from HK. My company is using Samba to share a web server. We R have set a number of people to a group in smb.conf. and made respective R setting in the users.map. R The problem is that, anyone in the group is able to read files, create R files and edit files created by himself only. No one can edit files that R are created by others in the group. R Did I make some errors in the configuration? Try use create mask = 0775 It take permission to write for group for new files. for old files say chmod g+w * Good luck Alexander Kuznetsov -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: AW: [Samba] user root is not accepted anymore
On Tue, 2002-10-22 at 10:10, [EMAIL PROTECTED] wrote: I tried it but it doesn't work. For me it looks like a problem with PAM. Rejecting sound like ok, you typed in the right password, but you're not allowed to login... We've got a second system for failover and the samba configuration-files are 100% identical - but samba-login as root works. By the way, the smbpasswd file on the failover-system doesn't contain a entry for root, too. compare the /etc/pam.d subdirectories on these machines to find out why samba is not allowed to log in... there may be a file calles samba in there that will be the most relevant.Otherwise maybe the default is being used... I believe there is a config setting telling samba to obey PAMs restrictions... You could either configure samba to ignore PAM or fix PAM. brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Help for installing Samba on SUN SPARC SOLARIS with OS 8
On Tuesday, 22. Oktober 2002 12:08 Inbal Vahab wrote: gent s/bin # cd source # ./configure loading cache ./config.cache checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH # Any suggestion ? why I get that error You could try to set a environment variable to your C-Compiler e. g. export CC=/usr/bin/gcc. greetings Florian Rauh -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Help for installing Samba on SUN SPARC SOLARIS with OS 8
Best bet is to go to http://www.sunfreeware.com/ (or a mirror) and download the gcc package from there. It will install in /usr/local, so add /usr/local/bin to your PATH variable and it should work. John Riddoch Unix Project Engineer Shell Information Technology International Limited Loirston House, Wellington Road, Altens, Aberdeen AB12 3BH Tel: +44(0)1224 21 7660 Fax: 7502 Email: [EMAIL PROTECTED] Internet: http://www.shell.com -Original Message- From: Florian Rauh [mailto:florian.rauh;web.de] Sent: 22 October 2002 11:18 To: [EMAIL PROTECTED] Subject: Re: [Samba] Help for installing Samba on SUN SPARC SOLARIS with OS 8 On Tuesday, 22. Oktober 2002 12:08 Inbal Vahab wrote: gent s/bin # cd source # ./configure loading cache ./config.cache checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH # Any suggestion ? why I get that error You could try to set a environment variable to your C-Compiler e. g. export CC=/usr/bin/gcc. greetings Florian Rauh -- 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] Roaming Profiles, My Documents and XP
On Tue, 2002-10-22 at 11:14, Adam Lang wrote: Hello, I successfully joined an XP machine to my Samba PDC. When looking at the profile folder on the samba server for the user (which I had to create manually. Is there a way this can be done automatically?) I saw the My Documents folder was copied up. I was thinking this was cool because people would have their stuff stored on the server and wouldn't have to teach them anything different. One problem I thought though was if they have like a gigabyte of documents. Would this mean it would have to download all of that before it would finish booting? that's true only if you keep my documents in the profile... instead you should redirect my documents to their home directory that way all their docs stay on the server. Also, I created a folder in the My Documents folder and copied some files into it to see if it copied up, it did. I went to delete it and it cleared out. I logged off and back on and files inside the deleted folder were gone, but the folders returned. Is this a problem or do I need to fix something? this won't be a problem if you redirect my documents I have no problem going back to a login script to set a home directory for a mapped drive, but apparently the login scripts for win98 machines aren't same for winxp (location ways), but I will look into that. you don't need a logon script to do this... just configure samba to do it. with logon drive = H: logon home = \\yourserver\%U brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] share a linux box with win2K
I applied the signorseal patch. just now, rebooted windows. same error the credentials supplied conflict with an existing set of credentials isn't this what samba is supposed to do ?? share a linux box on a windows network? what am I doing out of the ordinary? At 09:47 AM 10/22/2002 -0400, you wrote: Daniel, have you applied the signorseal patch AFTER you put service pack 3? FYI: I've had nothing but problems with SAMBA and service pack 3 so I had to remove the service pack. But you can try it with signorseal. -Original Message- From: Daniel Bertin [mailto:danielb;theorix.com] Sent: Tuesday, October 22, 2002 6:52 AM To: Irving Carrion Subject: RE: [Samba] can't add w2K client to samba domain Morning I re-installed samba and applied service pack 3 on win2K. same thing; when I try and login with any user the credentials supplied conflict with an existing set of credentials what else can I do. what would be the steps to follow for a new install. rpm from the mandrake 9.0 distribution? help? Daniel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] repeatedly crashing smbd when printing: broken pipe
for months, we keep fighting issues with smbd (now at released 2.2.6), config is with spoolss, domain logon, and the client in question is an NT4 machine. server is a i386/linux 2.2.19 For a very long time, we thought it was related to oplocks, but now after having them disabled, it still is there. Level 3 Log is as follows: [2002/10/22 17:08:18, 3] smbd/ipc.c:reply_trans(480) trans \PIPE\ data=1224 params=0 setup=2 [2002/10/22 17:08:18, 3] smbd/ipc.c:named_pipe(334) named pipe command on name [2002/10/22 17:08:18, 3] smbd/ipc.c:api_fd_reply(296) Got API command 0x26 on pipe spoolss (pnum 7222)free_pipe_context: destroying talloc pool of size 0 [2002/10/22 17:08:18, 3] rpc_server/srv_pipe.c:api_pipe_request(1148) Doing \PIPE\spoolss [2002/10/22 17:08:18, 3] rpc_server/srv_pipe.c:api_rpcTNP(1180) api_rpcTNP: pipe 29218 rpc command: SPOOLSS_GETPRINTER [2002/10/22 17:08:18, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(448) free_pipe_context: destroying talloc pool of size 1740 [2002/10/22 17:08:18, 0] lib/util_sock.c:write_socket_data(499) write_socket_data: write failure. Error = Broken pipe [2002/10/22 17:08:18, 0] lib/util_sock.c:write_socket(524) write_socket: Error writing 1264 bytes to socket 6: ERRNO = Broken pipe [2002/10/22 17:08:18, 0] lib/util_sock.c:send_smb(704) Error writing 1264 bytes to client. -1. (Broken pipe) And in the end, it will exit: [2002/10/22 17:08:18, 3] smbd/server.c:exit_server(495) Server exit (send_trans_reply: send_smb failed. Any ideas appreciated. And, yes, I will try to capture the event with Log Level 10. Daniel -- Daniel AmmannDirect: +41 1 7227481 u-blox AG Switchboard: +41 1 7227444 Zuercherstrasse 68 Fax: +41 1 7227447 8800 Thalwil, Switzerland http://www.u-blox.ch -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Help for installing Samba on SUN SPARC SOLARIS with OS8
Yes, it means that your Solaris system does not have a C compiler installed. You need either to install the Sun Pro-C compiler or else obtain and install the GNU C compiler. You should be able to find a binary tarball distribution of the GNU C compiler fairly easily. - John T. On Tue, 22 Oct 2002, Inbal Vahab wrote: Dear Samba Team Analyst, I need to install Samba software in order to integrate my unix machine (SUN SPARC SOLARIS) with my NT server. Server details : SUN SPARC SOLARIS with OS 8 I have some question : 1. I download samba-2.2.6.tar.gz , is this the correct file for SUN SPARC SOLARIS with OS 8 ? 2. I unzip samba-2.2.6.tar.gz and run ./configure and I get the following error message : # pwd /software/samba/samba-2.2.6 # echo $PATH /opt/SUNWspro/bin/cc:/usr/bin:/usr/ccs/bin:/usr/sbin:/bin:/usr/bin:/usr/ucb: /etc :/usr/sbin:/usr/bin:/opt/tng/services/bin:/opt/tng/services/tools:/opt/tng/a gent s/bin # cd source # ./configure loading cache ./config.cache checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH # Any suggestion ? why I get that error Thanks Inbal Vahab Oracle DBA New Applicom LTD Mailto: [EMAIL PROTECTED] Desk: +972-9-9598604 Cell: +972-53-606316 -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Disabling Active Directory in Win2k Server
Hello. Does anybody know how to disable Active directory in Win2k Server so I can connect it to a samba PDC?? Thanks I cannot find it anywhere online. Thanks again -Josh
[Samba] Booting win95 with a floppy on a samba drive
Hi folks! Howcan i 'netsetup' windows 95 on a samba share? My installation failed sayed can't write on the partition. Is it possible? Or i will need an nt or a Netware file server? The goal is the be able to boot win95 with a floppy an over the network on a diskless pc. Any ideas? JocelynLèche-vitrine ou lèche-écran ? Yahoo! Magasinage.
Re: [Samba] can't install printer driver to samba2.2.6 and 3.0alp ha20
On Tue, Oct 22, 2002 at 05:49:38PM +0200, Quach Van Khiem wrote: From a W2K PC as describe in Samba How To doc. All other drivers download (hp lasers) worked well. There is only problem with zebra printer drivers (ex. Zebra thermo transfer printer of type Z4M) link for driver at http://www.zebra.com Can you mail the zip file containing the driver to me please so I can fix this. I went to the vendor site but it wants to spam me with email in order to get the driver :-). Thanks, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] XP Reg Hacks
Can anyone point me the way to any/all known XP Registry Hacks that are used to support Samba? Thanks in advance --Gene --[EMAIL PROTECTED]Unix Systems SPU Information TechnologyCity of Seattle206.233.7833
Re: [Samba] share a linux box with win2K
I found 2 passwd files one in /usr/bin/ and one in /etc/ then 2 smbpasswd files one in /usr/bin/ and one in /etc/samba/ is this normal or should there only be one of each?? At 01:31 PM 10/22/2002 -0300, you wrote: another clue maybe when I do net use //testl/danielb in windows run dialog the password or user name is invalid for //testl/danielb I applied the signorseal patch. just now, rebooted windows. same error the credentials supplied conflict with an existing set of credentials isn't this what samba is supposed to do ?? share a linux box on a windows network? what am I doing out of the ordinary? At 09:47 AM 10/22/2002 -0400, you wrote: Daniel, have you applied the signorseal patch AFTER you put service pack 3? FYI: I've had nothing but problems with SAMBA and service pack 3 so I had to remove the service pack. But you can try it with signorseal. -Original Message- From: Daniel Bertin [mailto:danielb;theorix.com] Sent: Tuesday, October 22, 2002 6:52 AM To: Irving Carrion Subject: RE: [Samba] can't add w2K client to samba domain Morning I re-installed samba and applied service pack 3 on win2K. same thing; when I try and login with any user the credentials supplied conflict with an existing set of credentials what else can I do. what would be the steps to follow for a new install. rpm from the mandrake 9.0 distribution? help? Daniel -- 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] Disabling Active Directory in Win2k Server
Hello, if you installed your Windows 2000 server as a PDC then active directory must be installed. You can demote your server to a regular domain member and that will take care of the active directory. You can run the dcpromo.exe which will work both ways one in promoting or demoting. Hope this helps! -Original Message-From: Josh Hiner [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 22, 2002 12:16 PMTo: [EMAIL PROTECTED]Subject: [Samba] Disabling Active Directory in Win2k Server Hello. Does anybody know how to disable Active directory in Win2k Server so I can connect it to a samba PDC?? Thanks I cannot find it anywhere online. Thanks again -Josh
Re: [Samba] repeatedly crashing smbd when printing: broken pipe
On Tue, Oct 22, 2002 at 06:29:30PM +0200, [EMAIL PROTECTED] wrote: for months, we keep fighting issues with smbd (now at released 2.2.6), config is with spoolss, domain logon, and the client in question is an NT4 machine. server is a i386/linux 2.2.19 For a very long time, we thought it was related to oplocks, but now after having them disabled, it still is there. Level 3 Log is as follows: [2002/10/22 17:08:18, 3] smbd/ipc.c:reply_trans(480) trans \PIPE\ data=1224 params=0 setup=2 [2002/10/22 17:08:18, 3] smbd/ipc.c:named_pipe(334) named pipe command on name [2002/10/22 17:08:18, 3] smbd/ipc.c:api_fd_reply(296) Got API command 0x26 on pipe spoolss (pnum 7222)free_pipe_context: destroying talloc pool of size 0 [2002/10/22 17:08:18, 3] rpc_server/srv_pipe.c:api_pipe_request(1148) Doing \PIPE\spoolss [2002/10/22 17:08:18, 3] rpc_server/srv_pipe.c:api_rpcTNP(1180) api_rpcTNP: pipe 29218 rpc command: SPOOLSS_GETPRINTER [2002/10/22 17:08:18, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(448) free_pipe_context: destroying talloc pool of size 1740 [2002/10/22 17:08:18, 0] lib/util_sock.c:write_socket_data(499) write_socket_data: write failure. Error = Broken pipe [2002/10/22 17:08:18, 0] lib/util_sock.c:write_socket(524) write_socket: Error writing 1264 bytes to socket 6: ERRNO = Broken pipe [2002/10/22 17:08:18, 0] lib/util_sock.c:send_smb(704) Error writing 1264 bytes to client. -1. (Broken pipe) And in the end, it will exit: [2002/10/22 17:08:18, 3] smbd/server.c:exit_server(495) Server exit (send_trans_reply: send_smb failed. This means the client disconnected from the server. A debug level 10 probably wouldn't help, capture the ethernet packets with ethereal and find out whether it's the server or client sending a TCP FIN or RST packet - that's who to pin the blame on. In this log my guess would be it's the client that is doing the FIN or RST - there's nothing that smbd can do about it. If I'm correct, as to why the client is doing this, I don't have a clue unfortunately. You will have to wade into the oily pool of Windows :-) :-). Jeremy -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 2.2.6 configure problems
[usernamelocalhost source]# ./configure --with-fhs --prefix=/usr --sysconfdir=/etc --with-privatedir=/etc/samba --with-lockdir=/var/state/samba --localstatedir=/var --with-netatalk --with-smbmount --with-pam --with-syslog --with-sambabook --with-utmp --with-acl-support ~/myconfig.out 21 [usernamelocalhost source]# cat ~/myconfig.out | grep acl checking for sys/acl.h... yes checking for _acl... no checking for __acl... no checking for _facl... no checking for __facl... no checking whether to support ACLs... checking for acl_get_file in -lacl... no The log shows that acl_get_file is not found because: configure:13177: gcc -o conftest -O -O2 -march=i386 -mcpu=i686 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-rpath,/usr/lib conftest.c -lacl -lcups -lssl -lcrypto -lnsl -lcrypt -lpam 15 /lib/libacl.so: undefined reference to `fgetxattr' /lib/libacl.so: undefined reference to `removexattr' /lib/libacl.so: undefined reference to `setxattr' /lib/libacl.so: undefined reference to `fsetxattr' /lib/libacl.so: undefined reference to `getxattr' collect2: ld returned 1 exit status configure: failed program was: #line 13166 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char acl_get_file(); int main() { acl_get_file() ; return 0; } // note how it did find acl_get_file but there were other unresolved symbols immediately after that... configure:13205: checking for ACL support configure:13219: gcc -o conftest -O -O2 -march=i386 -mcpu=i686 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-rpath,/usr/lib conftest.c -lcups -lssl -lcrypto -lnsl -lcrypt -lpam 15 /tmp/ccycWmr0.o: In function `main': /tmp/ccycWmr0.o(.text+0xa): undefined reference to `acl_get_entry' collect2: ld returned 1 exit status configure: failed program was: #line 13211 configure #include confdefs.h #include sys/types.h #include sys/acl.h int main() { acl_t acl; int entry_id; acl_entry_t *entry_p; return acl_get_entry( acl, entry_id, entry_p); ; return 0; } // simply an undefined reference The first one will compile fine if I add in -lattr. The second one will result in the same error as the first if I only include -lacl. If I include both -lattr and -lacl then the second one will also compile fine. I actually had almost identical problems when configuring 2.2.5 and made some sort of a hack to get around it. Is this a problem with the way my system is configured? I'm using XFS with acl-2.0.9 and attr-2.0.7. I have 2.2.5 working fine with ACL support. Should I hack my way through it again, or is there something else that I can do? Thanks. --Kaleb -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] NTFS file property - primary group ID instead of DACL
When I change file property - security from Windows, I can see both from packet sniffer and Samba code, that there are 4 types of security information: Owner ID Reference Primary Group ID Reference Discretionary ACL Reference System ACL Reference So if I want to change the primary group name on a file, by right click on the file-property-security-advanced-select the group-view/edit-change, I got the Discretionary ACL Reference in the packet. My question is, how do I trigger the Primary Group ID Reference in the packet? What should I do from the client side? Thanks, Chere -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Files Missing on smbfs on RH 7.3
So nobody has a clue as to what might be causing this problem or how to fix it? I am REALLY stuck on this issue! All of our automation scripts are now questionable as to their ability to backup and process file on the Windows boxes from our Linux boxes. Desperate for an answer, -Stephen Woodbridge On 21 Oct 2002 at 20:08, [EMAIL PROTECTED] wrote: Hi all, I have been searching the web and the archives about this problem, but have not seen an answer to the problem. I have a Windows XP system with a shared drive, it is mount to a RH 7.3 box using: mount -t smbfs -o username=Administrator //raidserver/doq /doq That seems to work, and I can see files on /doq, but I can NOT see all the files. If is do ls -al /doq/dir1 I can see most of the files but some apparently random ones are dropped from the listing. I have the same problem doing find /doq -print. If is do an ls -l /doq/path/to/missing_file it will list the file. I have seem this other people running into this same problem going back as far as 1996 when I googled on this problem, but no fixes :( Is this a bug or more like did I not configure something correctly. This is a critical problem so any help or pointers would be VERY much appreciated. Best regards, -Stephen Woodbridge -- 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] nmbd dies as soon as it's started
As soon as I start up the daemons using the following commands, nmbd dies. /usr/local/samba/bin/smbd -D /usr/local/samba/bin/nmbd -D When I view the nmbd.log it gives the following. We're trying to set up Samba to work over 2 subnets. Smbd is ok and we can still mount our shares. Does anyone have any suggestions? Thanks for any help. [2002/10/22 10:37:55, 0] lib/util_sock.c:open_socket_in(830) bind failed on port 137 socket_addr = xxx.xx.x.xxx(gateway) Error = Can't assign requested address [2002/10/22 10:37:55, 0] nmbd/nmbd_subnetdb.c:make_subnet(142) nmbd_subnetdb:make_subnet() Failed to open nmb socket on interface xxx.xx.x.xxx(gateway) for port 137. Error was can't assign requested address [2002/10/22 10:37:55, 0] nmbd/nmbd.c:main(842) ERROR: Failed when creating subnet lists. Exiting. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] win2K passwords
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | Message: 3 | Subject: Re: [Samba] win2K passwords | From: Mark Belfanti [EMAIL PROTECTED] | To: Daniel Bertin [EMAIL PROTECTED] | Cc: [EMAIL PROTECTED] | Date: 22 Oct 2002 09:54:10 +1000 | I set encrypted to no, with webmin and manually | | This is the default anyway. No. Mandrake ships with encrypted passwords enabled by default (and has since about 8.1). Why people insist on reg-hacking many windows machines instead of adding an smbpasswd for their users is beyond me. | Should also have security = share | Mandrake defaults to having samba mimic windowsNT/windows2000, which basically do security=user when not in a domain. Generally, security=share is a bad idea (just like it is in windows), and even worse if you use clear-text passwors. Buchan (contributor to Mandrake samba RPMs). - -- |Registered Linux User #182071-| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 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.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9tUKyrJK6UGDSBKcRAoYNAKC4pLuIRGixP69V/fd8AzJDnkHj6wCfaDat dBPcyiGtAdBPZqTPCkrFUH8= =1vGv -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] help
[Samba] username parameter
I have a share for which I have defined the username parameter. It works fine when I'm trying to log in from a Windows 98 machine. However, when I try to log in via an XP machine, the username list does not appear to be used. I turned debugging up to 5 and watched this happen. I saw the server querying all the names in the list when I was logging in from the Win98 machine, but never saw the username/password queries when I was on the XP machine. Any ideas? I'm running Samba 2.2.6 on a Tru64 Unix machine. Ryan Harvey Muskingum College -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] help
A very humble apology from my part The intention was to subscribe to a list but something went wrong Please disregard my previous mail Kind regards Dirk Visser -Oorspronkelijk bericht- Van: Jack Malone [mailto:[EMAIL PROTECTED]] Verzonden: dinsdag 22 oktober 2002 20:59 Aan: Dirk Yvette Visser Onderwerp: Re: [Samba] help It might help if you would state in the message what you are waring help for. It was a blank message to the list. jack At 08:44 PM 10/22/2002 +0200, you wrote: jack malone Network Administrator EAST TEXAS LIGHTHOUSE FOR THE BLIND dba HORIZON INDUSTRIES 903-595-3444 http://www.horizonind.com
[Samba] Wins. Urgente !!!
hi, I´ve already configure my Wins Server with SAMBA, but my Win2000 client, can't see other's workstations. It can use "net use" command, it can use "Start Execute \\workstation\share", but in Network Neigh., they can't see other workstations !!! All my clients just have the same configuration (DHCP). PS. I´ve started Browse option in smb.conf. Why ??? Why ??? Fábio VieiraAnalista de SuporteInterage Integradorahttp://www.interage.com.br
[Samba] Website Safety Test Results
Hello, My name is Delisa, I have used the website testing technologies here at the Safe Shopping Network (http://www.safeshoppingnetwork.com) to test [url] for security, usability and performance. You will be pleased to know that it did quite well. The reason I did the test is because we are currently searching for sites with high scores to add to our very popular (over two million shoppers per month) directory of tested safest shopping websites. If you would please forward this to the appropriate marketing manager, I would be grateful. Safe Shopping Network uses sophisticated testing technologies to test web sites for quality, security and usability. We also have the ability to deliver thousands of targeted, and more importantly, confident consumers proven to be eight times more likely to buy. Listing your site in the Safe Shopping Network is very effective due to the fact that the two million + users who visit each month are shoppers who prefer not to guess at whether they can trust a website. As we reveal your scores to them, they gain confidence in your company increasing the chance that they will make a purchase. The average click-to-purchase rate is 5.4% for our advertisers, far above the average .07% you get from other sources. We provide many high-value pricing packages (http://www.safeshoppingnetwork.com/pricing.cfm) starting at just $350/yr and that includes a 15,000 click guarantee. The different pricing packages include sub-category listings, category listings, full vulnerability/security reports (with solutions), 24/7 website monitoring, and click guarantee for each listing. Our packages are simply the most unique and effective ways to promote your website available. Since it looks like your site fits well into multiple categories, I would be happy to list samba.anu.edu.au in the section of your choice free when you purchase two or more listings. To discuss my proposal further, please feel free to give me a call on my direct line: (818) 344-1622 or call our toll free number (866) 29-TRUST (9-5 Pacific Standard Time) or sign up online at http://www.safeshoppingnetwork.com/pricing.cfm. Thank You, Delisa Foreman - Senior Account Manager Safe Shopping Network Guide to the safest web sites! Web: Http://www.SafeShoppingNetwork.com Toll Free: (866) 29-TRUST Direct Line: (818) 344-1622 Email: [EMAIL PROTECTED] Here are some useful links: Homepage: http://www.safeshoppingnetwork.com Corporate Info: http://www.safeshoppingnetwork.com/aboutus.cfm Slide Show: http://www.safeshoppingnetwork.com/merchantzone.cfm Pricing: http://www.safeshoppingnetwork.com/pricing.cfm -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 2.2.6 file size problems
Hi, running samba 2.2.6 on a solaris 2.6 box we cant copy files 2Gb or larger from a Win 2K PC to the samba share. We had the same problem before but using oplocks = no cured the problem. No such luck this time. The file being copied was called foo. Copying large files from the samba share to the PC works fine. Any ideas? Level 3 debug output is shown below Transaction 34982 of length 61508 [2002/10/22 20:02:09, 3] smbd/process.c:switch_message(685) switch message SMBwriteX (pid 23901) [2002/10/22 20:02:09, 3] smbd/reply.c:reply_write_and_X(2975) writeX fnum=6290 num=61440 wrote=61440 [2002/10/22 20:02:09, 3] smbd/process.c:process_smb(878) Transaction 34983 of length 61508 [2002/10/22 20:02:09, 3] smbd/process.c:switch_message(685) switch message SMBwriteX (pid 23901) [2002/10/22 20:02:09, 0] smbd/fileio.c:seek_file(43) seek_file: (foo) sys_lseek failed. Error was Invalid argument [2002/10/22 20:02:09, 3] smbd/error.c:error_packet(91) error string = Invalid argument [2002/10/22 20:02:09, 3] smbd/error.c:error_packet(110) error packet at smbd/reply.c(2960) cmd=47 (SMBwriteX) NT_STATUS_INVALID_HANDLE [2002/10/22 20:02:09, 3] smbd/process.c:process_smb(878) Transaction 34984 of length 81 [2002/10/22 20:02:09, 3] smbd/process.c:switch_message(685) switch message SMBtrans2 (pid 23901) [2002/10/22 20:02:10, 3] smbd/trans2.c:call_trans2setfilepathinfo(2418) call_trans2setfilepathinfo(8) foo info_level=1013 totdata=1 [2002/10/22 20:02:10, 3] smbd/process.c:process_smb(878) Transaction 34985 of length 45 [2002/10/22 20:02:10, 3] smbd/process.c:switch_message(685) switch message SMBclose (pid 23901) [2002/10/22 20:02:10, 3] smbd/reply.c:reply_close(3156) close fd=23 fnum=6290 (numopen=1) [2002/10/22 20:02:14, 2] smbd/close.c:close_normal_file(213) iain closed file foo (numopen=0) ta iain -- -- Iain Morrison MRC Cognition and Brain Sciences Unit 15 Chaucer Road Tel 01223 355294 xt 581 CambridgeFax 01223 359062 CB2 2EF email [EMAIL PROTECTED] -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] share a linux box with win2K
On Tue, 2002-10-22 at 12:18, Daniel Bertin wrote: I applied the signorseal patch. just now, rebooted windows. same error the credentials supplied conflict with an existing set of credentials this is not the same error message that the signorseal change fixes... in this case you need to log out and log back in with the same user name that is on the samba machine... report your log files of the attempted login if you still have a problem. You could also try net use /d * on the command line isn't this what samba is supposed to do ?? share a linux box on a windows network? yes - thousands (or more?) people use samba to do this... -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Roaming Profiles, My Documents and XP
you the man thanks What I ended up doing was adding those two configs to smb.conf liek recommended. Then I went into gpedit.msc and turned off roaming profiles. Works good. Adam Lang Systems Engineer Rutgers Casualty Insurance Company http://www.rutgersinsurance.com - Original Message - From: Bradley W. Langhorst [EMAIL PROTECTED] To: Adam Lang [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 12:17 PM Subject: Re: [Samba] Roaming Profiles, My Documents and XP On Tue, 2002-10-22 at 11:14, Adam Lang wrote: Hello, I successfully joined an XP machine to my Samba PDC. When looking at the profile folder on the samba server for the user (which I had to create manually. Is there a way this can be done automatically?) I saw the My Documents folder was copied up. I was thinking this was cool because people would have their stuff stored on the server and wouldn't have to teach them anything different. One problem I thought though was if they have like a gigabyte of documents. Would this mean it would have to download all of that before it would finish booting? that's true only if you keep my documents in the profile... instead you should redirect my documents to their home directory that way all their docs stay on the server. Also, I created a folder in the My Documents folder and copied some files into it to see if it copied up, it did. I went to delete it and it cleared out. I logged off and back on and files inside the deleted folder were gone, but the folders returned. Is this a problem or do I need to fix something? this won't be a problem if you redirect my documents I have no problem going back to a login script to set a home directory for a mapped drive, but apparently the login scripts for win98 machines aren't same for winxp (location ways), but I will look into that. you don't need a logon script to do this... just configure samba to do it. with logon drive = H: logon home = \\yourserver\%U brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] pgina / gina
Does anyone have any experience using Gina at http://pgina.cs.plu.edu? does it work / not work Roger -- ** Roger Schmeits System Analyst Clarkson College http://www.clarksoncollege.edu Omaha, NE USA 1-800-647-5500 x22542 * -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] getent passwd fails at 20,000 users
Does anyone know if there is a limit to the number users that getent will show? We have over 30,000+ users in our NT 4 Domain and we are testing winbind and it's authentication process. The Linux box is Redhat 8 and samba 2.2.5x, the default samba with RedHat 8.0. All of the users we tested were able to get a home directory, use shares and permissions assigned. All of the users over the 20k limit, could log in through the PDC, but they weren't able to get a home directory or use the permissions set on the directories. When I run: wbinfo -t secret is good wbinfo -u all users appear in the list wbinfo -g all groups are in the list getent passwd stops to a prompt with no error at exactly 20,000 users. Is there a way around this? Is there a pam issue here? Jason -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP Reg Hacks
On Tue, 2002-10-22 at 13:48, Gene Huft wrote: Can anyone point me the way to any/all known XP Registry Hacks that are used to support Samba? I only know of one the signorseal reg fix which is included with the samba distribution. brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] repeatedly crashing smbd when printing: broken pipe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Oct 2002 [EMAIL PROTECTED] wrote: [2002/10/22 17:08:18, 3] smbd/ipc.c:reply_trans(480) trans \PIPE\ data=1224 params=0 setup=2 [2002/10/22 17:08:18, 3] smbd/ipc.c:named_pipe(334) named pipe command on name [2002/10/22 17:08:18, 3] smbd/ipc.c:api_fd_reply(296) Got API command 0x26 on pipe spoolss (pnum 7222)free_pipe_context: destroying talloc pool of size 0 [2002/10/22 17:08:18, 3] rpc_server/srv_pipe.c:api_pipe_request(1148) Doing \PIPE\spoolss [2002/10/22 17:08:18, 3] rpc_server/srv_pipe.c:api_rpcTNP(1180) api_rpcTNP: pipe 29218 rpc command: SPOOLSS_GETPRINTER [2002/10/22 17:08:18, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(448) free_pipe_context: destroying talloc pool of size 1740 [2002/10/22 17:08:18, 0] lib/util_sock.c:write_socket_data(499) write_socket_data: write failure. Error = Broken pipe [2002/10/22 17:08:18, 0] lib/util_sock.c:write_socket(524) write_socket: Error writing 1264 bytes to socket 6: ERRNO = Broken pipe [2002/10/22 17:08:18, 0] lib/util_sock.c:send_smb(704) Error writing 1264 bytes to client. -1. (Broken pipe) The client went away. smbd will exit once the client goes away. smbd is not crashing here. Please verify that the network layer is working correctly (hardware, drivers, etc...) cheers, jerry - Hewlett-Packard - http://www.hp.com SAMBA Team-- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9tbSWIR7qMdg1EfYRAq1XAJ0Zbz0RV4PF3xPANNiVB8YD3rV14QCfW+Ms C05OufpoTjjuO55Qo51eHuQ= =jeEn -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.6 configure problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Oct 2002, Kaleb Pederson wrote: The first one will compile fine if I add in -lattr. The second one will result in the same error as the first if I only include -lacl. If I include both -lattr and -lacl then the second one will also compile fine. I actually had almost identical problems when configuring 2.2.5 and made some sort of a hack to get around it. Is this a problem with the way my system is configured? I'm using XFS with acl-2.0.9 and attr-2.0.7. I have 2.2.5 working fine with ACL support. Should I hack my way through it again, or is there something else that I can do? I don;t use XFS so take this with a grain of salt, but IIRC this is an XFS issue that was fixed in later XFS releases. chers, jerry - Hewlett-Packard - http://www.hp.com SAMBA Team-- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9tbUzIR7qMdg1EfYRAkabAJsEwpG+UiLYkXiAvsflEprA4Eq3/ACgwsmY PfwfUDGFhBOk735CviyI7r8= =fFEy -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] XP Reg Hacks
thats for xp as client in samba domain ( samba as pdc ) -Original Message- From: Bradley W. Langhorst [mailto:brad;langhorst.com] Sent: Tuesday, October 22, 2002 3:25 PM To: Gene Huft Cc: [EMAIL PROTECTED] Subject: Re: [Samba] XP Reg Hacks On Tue, 2002-10-22 at 13:48, Gene Huft wrote: Can anyone point me the way to any/all known XP Registry Hacks that are used to support Samba? I only know of one the signorseal reg fix which is included with the samba distribution. brad -- 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] 2.2.6 configure problems
On Tue, 22 Oct 2002, Kaleb Pederson wrote: RE: XFS and problems with -lattr and -lacl snip I don;t use XFS so take this with a grain of salt, but IIRC this is an XFS issue that was fixed in later XFS releases. I'll grab the latest versions and see if it is still an issue. If so, I'll post back. --Kaleb -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printing problems.
I have a situation where users authenticate to a samba domain on Windows 2000 clients, but are unable to print to printers that are attached to Windows 2000 PC's (also part of the domain) and being shared. If I login as a user who has sysadmin priviliges there is no problem. If I login as a normal user to a PC, and this printer has a default printer setup, which is in effect a share from another PC, the normal user does not pick up this (i.e. if you view start -- settings -- printers, the machines default printer is not present). If I add the printer manually I can see the printer, but when I try printing although the job appears to be accepted nothing actually prints out. Thanks for any help, CIM. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Group write permissions denied when using username map
Samba 2.2.5, security = domain, using winbind and a username map for users with a corresponding UNIX account. Interesting thing: once I got my username map working and the NT users are getting their correct UNIX UID when they access the shared area from the PC, they are no longer being identified as members of the domain users NT group, which means they can write to the shared directory from the UNIX side (world writable by anyone with access to the UNIX machine), but they can't write to it from the PC side (write list = WALNETNT_Domain Users) of which they are members... Any ideas why this is? Thanks, Karen Wieprecht -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Wishlist for libsmbclient.so
I saw the header for libsmbclient.so, and it looks pretty basic - file access, print job access, share access, but no password modification. Is there a chance this will be modularized into the library in the future? i.e.: add this call to the library: int smbc_change_passwd( char* un, char* wg, char* oldpw, char* newpw ); Or at least something with a callback a-la smbc_init()? This would facilitate the pam_smbpass module to do remote password updates and authentication, looking for a semi-single-sign-on solution. Currently, I can do this and keep unix and smb passwords (mostly) in sync and authenticate through a centralized server. However there are some limitations which could be addressed by this such as doing all passwords on Samba. This of course is NOT preferable to Kerberos, but since no production Samba can do Kerberos V yet, I see few other options. Best Diego -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] getent passwd fails at 20,000 users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Oct 2002, Galecki, Jason wrote: Does anyone know if there is a limit to the number users that getent will show? We have over 30,000+ users in our NT 4 Domain and we are testing winbind and it's authentication process. The Linux box is Redhat 8 and samba 2.2.5x, the default samba with RedHat 8.0. All of the users we tested were able to get a home directory, use shares and permissions assigned. All of the users over the 20k limit, could log in through the PDC, but they weren't able to get a home directory or use the permissions set on the directories. When I run: wbinfo -t secret is good wbinfo -u all users appear in the list wbinfo -g all groups are in the list getent passwd stops to a prompt with no error at exactly 20,000 users. Is there a way around this? Is there a pam issue here? No known limit. We test at HP with extremely large domains on a regular basis. Perhaps you should try 2.2.6. I have no idea what patches RedHat may have added on the their RPM. Researching it has been on my todo list for a few days now. cheers, jerry - Hewlett-Packard - http://www.hp.com SAMBA Team-- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9tc1rIR7qMdg1EfYRAgR7AJ4qiidwGpftUV+03EC+ras0aUOzBwCgrpZi PJPxZmp/G9KXAe3vSFI/6IM= =pFFb -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Delete files
On Tue, 22 Oct 2002, Michael Luevane wrote: Hello, all. What mechanism does samba use to delete a file on a *nix box when deleted from a connected Win2k machine? In other words, does it run the rm -f command? Some other command? Who does it run as? Can I intercept the command and insert my own script? It unlinks the file, but you can use a loadable VFS module to change the way that low level file system calls get handled. I'm interested in creating an undelete shell script that keeps files from accidentally-on-purpose being erased from the fileserver. Have you checked the samba source code. Samba-2.2.6 has a recycle bin facility that might fit your needs. The samba-team binary and source RPM packages for Caldera OpenLinux, SuSE Linux, Red Hat Linux and Mandrake Linux all include ready to run loadable VFS modules for this recycle bin functionality. If you need more info please ask. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Delete files
Yes, I need more info! :P The users here have a bad habit of deleting files that they then need next week. Or the next day. Or whenever later. Any help would be GREATLY appreciated, and I'll start digging myself. /\ | Michael Luevane* Network Administrator | | Quantec, LLC * 503-228-2992 | | [EMAIL PROTECTED] * http://www.quantecllc.com | \/ -Original Message- From: John H Terpstra [mailto:jht;samba.org] Sent: Tuesday, October 22, 2002 4:31 PM To: Michael Luevane Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Delete files On Tue, 22 Oct 2002, Michael Luevane wrote: Hello, all. What mechanism does samba use to delete a file on a *nix box when deleted from a connected Win2k machine? In other words, does it run the rm -f command? Some other command? Who does it run as? Can I intercept the command and insert my own script? It unlinks the file, but you can use a loadable VFS module to change the way that low level file system calls get handled. I'm interested in creating an undelete shell script that keeps files from accidentally-on-purpose being erased from the fileserver. Have you checked the samba source code. Samba-2.2.6 has a recycle bin facility that might fit your needs. The samba-team binary and source RPM packages for Caldera OpenLinux, SuSE Linux, Red Hat Linux and Mandrake Linux all include ready to run loadable VFS modules for this recycle bin functionality. If you need more info please ask. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Coming round to SURS...
On Tue, Oct 22, 2002 at 06:02:35PM +, Luke Kenneth Casson Leighton wrote: i have a question for the people who sponsor the samba team. Rantings and dribble deleted i'm specifically referring to you - andrew - and you - jeremy. here's a proposal for the idmap api; I take it by this message you didn't actually read or understand what this API is meant to do :-). Never mind, wouldn't be the first time (and sadly, probably not the last... :-). Luke, please just go away :-). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba CUPS...
I have an HP Laser connected to the parallel port on a Red hat 8.0 server and I have configured it to print with CUPS. It prints a test page OK, but I would now like to share the printer so that Windows clients can print to it. According to the documentation, all I need to put in the smb.conf file is: printing = cups printcap name = cups I have restarted samba and cups but the printer stil doesn't appear in Network Neighbourhood. Does anyone have any ideas? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ERRDOS -ERRnoaccess Error during smbmount session setup failed
Hii All, I compiled the latest samba code for x86 and powerpc[mpc8xx] I was able to mount a windows-sharepoint successfuly on Linux but not on myboard [linux on motorola-powerpc]. On my board Iam able to mount a linux sharepoint but not windows sharepoint When I dont give my username password It says "anonymous login successful" but it fails as ERRnoaccess tree connect failed. Please suggest me something. thanks, vijayDo you Yahoo!? Y! Web Hosting - Let the expert host your web site
[Samba] mounting a printer shared on a win9x machine
I need to be able to be able to mount a printer share on a win9x machine so that it appears to be a local printer allowing me to add it to printcap and share/manage it from the samba box. problem is when i "smbmount //server/printer /mnt/Kyocera5 -o guest " it appears to mount the printer BUT /mnt/Kyocera5 disappears and when i ls i get the message ls: Kyocera5: No such file or directory. .. So, am i completely barking up the wrong tree is do i have some other problem. help is much appreciated cheers tim smith __tim ICQ#:146359336 Current ICQ status: + More ways to contact me __ online?icq=146359336=21 Description: Binary data
RE: [Samba] share a linux box with win2K
Yes, this is normal. The files in /usr/bin are the programs that you execute and the files in the /etc and /etc/samba directories contain user information. Don Zajic -Original Message- From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org] On Behalf Of Daniel Bertin Sent: Tuesday, October 22, 2002 1:51 PM To: [EMAIL PROTECTED] Subject: Re: [Samba] share a linux box with win2K I found 2 passwd files one in /usr/bin/ and one in /etc/ then 2 smbpasswd files one in /usr/bin/ and one in /etc/samba/ is this normal or should there only be one of each?? At 01:31 PM 10/22/2002 -0300, you wrote: another clue maybe when I do net use //testl/danielb in windows run dialog the password or user name is invalid for //testl/danielb I applied the signorseal patch. just now, rebooted windows. same error the credentials supplied conflict with an existing set of credentials isn't this what samba is supposed to do ?? share a linux box on a windows network? what am I doing out of the ordinary? At 09:47 AM 10/22/2002 -0400, you wrote: Daniel, have you applied the signorseal patch AFTER you put service pack 3? FYI: I've had nothing but problems with SAMBA and service pack 3 so I had to remove the service pack. But you can try it with signorseal. -Original Message- From: Daniel Bertin [mailto:danielb;theorix.com] Sent: Tuesday, October 22, 2002 6:52 AM To: Irving Carrion Subject: RE: [Samba] can't add w2K client to samba domain Morning I re-installed samba and applied service pack 3 on win2K. same thing; when I try and login with any user the credentials supplied conflict with an existing set of credentials what else can I do. what would be the steps to follow for a new install. rpm from the mandrake 9.0 distribution? help? Daniel -- 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] share a linux box with win2K
On Tue, 2002-10-22 at 13:20, Daniel Bertin wrote: At 12:44 PM 10/22/2002 -0400, you wrote: On Tue, 2002-10-22 at 12:18, Daniel Bertin wrote: I applied the signorseal patch. just now, rebooted windows. same error the credentials supplied conflict with an existing set of credentials this is not the same error message that the signorseal change fixes... in this case you need to log out and log back in with the same user name that is on the samba machine... I'm using the login for my linux user. even root does not work where would these log files be?? that depends on how you configured samba... the default is /var/log/samba i saw your post regarding the net use command giving you a bad username or password error. did you use the username and password flags to net use (probably something like -U username) use net use help to figure it out brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Wins. Urgente !!!
## Please don't send HTML next time, it's impossible to quote ## -Original Message- From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org] On Behalf Of Fábio Sent: Friday, July 13, 2001 9:07 PM To: [EMAIL PROTECTED] Subject: [Samba] Wins. Urgente !!! hi, I´ve already configure my Wins Server with SAMBA, but my Win2000 client, can't see other's workstations. It can use net use command, it can use Start Execute \\workstation\share, but in Network Neigh., they can't see other workstations !!! All my clients just have the same configuration (DHCP). PS. I´ve started Browse option in smb.conf. Why ??? Why ??? ## end ## You should check for typos in your clients workgroup name, also it's necessary to insert the IP of your wins server into its tcpip settings (look at advanced tab on tcpip properties or ipconfig /all on commandline). For DHCP configuration, I remember something about configuring node type and option netbios nameserver with the appropriate IP there. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Files Missing on smbfs on RH 7.3
-Original Message- From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 8:06 PM To: [EMAIL PROTECTED] Subject: Re: [Samba] Files Missing on smbfs on RH 7.3 So nobody has a clue as to what might be causing this problem or how to fix it? I am REALLY stuck on this issue! All of our automation scripts are now questionable as to their ability to backup and process file on the Windows boxes from our Linux boxes. You could try out sharity instead of smbmount (www.obdev.at). It basically does the same thing, but works in user space. Are you sure there are no illegal characters like colons in your filenames? Have you tried name mangling stuff? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Coming round to SURS...
On Tue, 2002-10-22 at 14:02, Luke Kenneth Casson Leighton wrote: i have a question for the people who sponsor the samba team. when are you going to realise that your money is being wasted by not sponsoring me as a design architect on NT compatibility software suites for unix? is this a joke? yet another demonstration of how arrogance, pride and cruelty can set a project back years by the simple expedient of not being willing to listen to people who know what they're talking about. I was laughing out loud after i read this part. the arrogance and pride bit is the best. thanks for the levity. brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] XP clients inexplicable pauses
Hi folks, I recently upgraded two client/server pairs to WinXP and Samba 2.2.6 (on Linux). Browsing mounted shares causes hangs when right-clicking or double-clicking/ launching files -- about 15 seconds. During this, precious little network activity is occuring. Something is hanging, locking, sleeping. Appreciate any advice. Hope it's a simple fix. If not, I'd appreciate advice on where in the code I might start instrumenting/debugging. thanks, -jeremy _ jeremy wohl ..: http://igmus.org -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Coming round to SURS...
On Tue, 2002-10-22 at 20:02, Luke Kenneth Casson Leighton wrote: i have a question for the people who sponsor the samba team. when are you going to realise that your money is being wasted by not sponsoring me as a design architect on NT compatibility software suites for unix? Probably you should understand that people may be interested in other features and not sponsoring this particular part of the code. here - yet again, another demonstration of how much money you have been wasting. Well let's look at the TNG printing code status ... hopefully this time this really new proposal - i.e. yet ANOTHER idea and proposal introduced by me almost three years ago - will actually get done, and done properly. This is NOTHING new Luke, we know the SID-[g,u]id mapping problems since a lot of time, the fact that you formalized the problem does not change the problem. I just double checked your draft, and it is just nice useless wording that show the problem but does never even propose an implementation, you always write that implementation is not in the scope of the document. We have not implemented what you call SURS part because of lack of time being busy implementing other more important parts of samba, and part because we wanted to get it right (and we tought your implementation was not). The api proposed by metze is just an api proposal to finally start coding it having found a way to implement it the right way as we finally have found what seem the right way to do it, taking in account all limits and trying to find out the best compromise. This is the part the ask for more hard work. Plus we have not limited ourselves to solve the problem locally, but to solve the problem in a distributed environment. You may claim you have told there was a problem 3 years ago. Well that's true nobody say it different. Problem is that solving it 3 years ago was not possible to do properly, too many pieces of code were missing or were not stable and usable at a point that implementing it 3 years ago would have simply be a waste of time. with sincere esteem, Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
RE: [Samba] Files Missing on smbfs on RH 7.3
Walter, Thanks for the suggestion. I will check out sharity. The problem is not file names. I did a little more experimentation and found that if I use a perl script like: find2perl /smbfs -ls doit.pl perl doit.pl | wc perl doit.pl | wc perl doit.pl | wc perl doit.pl | wc That the number of lines tends to increase until all the files are shown, but I have to do it rapidly. If I wait for a little bit then do: perl doit.pl | wc the count goes down again. If I use: ls -Ral /smbfs | wc find /smbfs -ls | wc these never seem to show all the files. The files are definitely there and accessible via the smbfs. If I compare the file list generated on the linux side to one created on the windows to find which files are not listed, I can list them individually by: ls -l /smbfs/path/to/missing/file without a problem. So you can see why this is a fairly alarming problem. -Steve On 23 Oct 2002 at 6:19, Walter Mautner wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 8:06 PM To: [EMAIL PROTECTED] Subject: Re: [Samba] Files Missing on smbfs on RH 7.3 So nobody has a clue as to what might be causing this problem or how to fix it? I am REALLY stuck on this issue! All of our automation scripts are now questionable as to their ability to backup and process file on the Windows boxes from our Linux boxes. You could try out sharity instead of smbmount (www.obdev.at). It basically does the same thing, but works in user space. Are you sure there are no illegal characters like colons in your filenames? Have you tried name mangling stuff? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Utmp Problem
Subject: [Samba] Utmp Problem I currently have a build of samba-2.2.5 running with cups and ldap support. I attempted to reconfigure, i.e. run configure enabling cups, ldap and now utmp. After samba configured I ran make and it made the new binaries. I added utmp = yes to my smb.conf and now I get: $ smbstatus -S Unknown parameter encountered: utmp Ignoring unknown parameter utmp and then the output of smbstatus Also, users do not show up in w or who or finger, etc.. I figure I did something wrong. Thanks for the help You should do a make clean before you build the new binaries. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: samba -- confirmation of subscription -- request 148282
On Wed, 23 Oct 2002 04:40:38 + [EMAIL PROTECTED] wrote: samba -- confirmation of subscription -- request 148282 We have received a request from 200.171.244.181 for subscription of your email address, [EMAIL PROTECTED], to the [EMAIL PROTECTED] mailing list. To confirm the request, please send a message to [EMAIL PROTECTED], and either: - maintain the subject line as is (the reply's additional Re: is ok), - or include the following line - and only the following line - in the message body: confirm 148282 (Simply sending a 'reply' to this message should work from most email interfaces, since that usually leaves the subject line in the right form.) If you do not wish to subscribe to this list, please simply disregard this message. Send questions to [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] 2.2.6 problems
Subject: [Samba] 2.2.6 problems ... I have installed samba 2.2.6. And in my /var/log/messages i got: Oct 22 16:04:11 beer smbd[27622]: ERROR: string overflow by 1 in string_sub(%u, 7) Oct 22 16:04:11 beer smbd[27622]: [2002/10/22 16:04:11, 0] lib/util_str.c:string_sub(1217) Oct 22 16:04:11 beer smbd[27622]: ERROR: string overflow by 1 in string_sub(%u, 7) Oct 22 16:04:11 beer smbd[27622]: [2002/10/22 16:04:11, 0] lib/util_str.c:string_sub(1217) Oct 22 16:04:11 beer smbd[27622]: ERROR: string overflow by 1 in string_sub(%u, 7) Oct 22 16:04:11 beer smbd[27622]: [2002/10/22 16:04:11, 0] lib/util_str.c:string_sub(1217) I have compilled it from tar.gz, build it from samba.spec, rebuild from .src.rpm - same result In my smb.conf i got %u and i thing this is the problem ... How long are your usernames actually? Does it also appear when you create a really short one? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Asegure su Vida y el Futuro de su Familia
Un accidente mortal o un deceso natural, pueden ocurrir en cualquier instante, por ello, hemos creado Seguros de Vida que se adaptan a las necesidades especificas de cada persona o familia, sin importar el lugar o país en que sucedan. Al contar con un Seguro de Vida, en caso de su ausencia, sus seres queridos contarán con el apoyo económico necesario en esos momentos de gran necesidad. No deje a su Familia desprotegida, haga que tengan una Herencia Segura. Seguro de Vida Temporal Las Pólizas de termino fijo (10, 20 o 30 años) protegen a su Familia con las necesidades financieras inmediatas como deudas, hipotecas, colegiaturas, etc., evitando que se interrumpa el standard de vida de su Familia. Seguro de Vida con Inversiones Estas Pólizas están diseñadas para ofrecer cobertura hasta los 100 años de edad, además de ser un excelente Vehículo de Inversión, proporcionando una oportunidad adicional de ahorro para Fondos de Educación o Fondos de Retiro.No espere mas consulte sus opciones disponibles Hoy ! Si desea mas Información Personalizada, por favor contáctenos: [EMAIL PROTECTED]O visite nuestro Website: www.tusegurointernacional.com Bajo el decreto S.1618 titulo 3ro. aprobado por el 105 congreso base de las normativas internacionales sobre SPAM, este e-mail no podrá ser considerado SPAM mientras incluya una forma de ser removido. (si prefieres en el futuro no recibir similares ofertas de nuestra parte,, contéstanos a: [EMAIL PROTECTED] el asunto borrar de la lista, GRACIAS)
Re: [Samba] XP clients inexplicable pauses
On Wed, 2002-10-23 at 00:26, Jeremy Wohl wrote: Hi folks, I recently upgraded two client/server pairs to WinXP and Samba 2.2.6 (on Linux). Browsing mounted shares causes hangs when right-clicking or double-clicking/ launching files -- about 15 seconds. During this, precious little network activity is occuring. Something is hanging, locking, sleeping. Appreciate any advice. Hope it's a simple fix. If not, I'd appreciate advice on where in the code I might start instrumenting/debugging. look at the logs before you look at the code... you can tail -f them while you do the troublesome actions to get an idea of what the server is getting... could be a client problem brad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Mailing list.
Forgive the wide distribution but I deleted the instructions for getting off the Samba mailing list. Can someone please forward them to me. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Coming round to SURS...
On Tue, Oct 22, 2002 at 06:07:21PM +, [EMAIL PROTECTED] wrote: On Tue, Oct 22, 2002 at 06:02:35PM +, Luke Kenneth Casson Leighton wrote: i have a question for the people who sponsor the samba team. Rantings and dribble deleted i'm specifically referring to you - andrew - and you - jeremy. here's a proposal for the idmap api; I take it by this message you didn't actually read or understand what this API is meant to do :-). 1) if you could kindly include in your message a convenient url reference to such discussions, i would be happy to correct your incorrect assumption that i do not understand this API. 2) the API, from what arguments it takes and returns, is pretty indicative of a couple of things: one is that the SURS issue, even after you still think for three years that you know better than i, _still_ hasn't been resolved let alone correctly resolved; the other is that it's pretty much identical to the SURS api i proposed over three years ago. 3) reviewing the samba technical archives, i cannot find any clear subject lines outlining this issue, and there is only one message under a subject idmap api. finding a subject line by volker of [PATCH] rid allocator in passdb backend i conclude the following: a) the idapi _is_ SURS, the patch by volker does less than SURS, is what i added into TNG well over four years ago, found to be problematic, and devised and designed SURS as a result, to replace and centralise the mess that such patches result in. b) careful consideration and thought demonstrates that the only place where SURS is required is in fact in any location where access to files is needed. i.e. in smbd for file read/write access etc. and likely in _some_ implementations of a spoolss server. therefore, placing the idmap API, or any equivalent that is not SURS, into the passdb backend, is TOTALLY the wrong location, and demonstrates a lack of understanding of the issues involved. Never mind, wouldn't be the first time (and sadly, probably not the last... :-). yet again you demonstrate your ignorance, arrogance and pride. you just don't get it, do you? you just _never_ give up trying to make yourself always in the right. you are so proud that you just cannot even look at what i have achieved, cannot admit that i achieved it, cannot bring yourself to consider that i might beright. the sad fact is that you and andrew just simply couldn't - and still can't - cope with my being able to understand things much faster than you. the sooner you are able to admit - even just once - that you might be wrong, and that someone else might be right, the better off you are going to be. l. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Coming round to SURS...
On Tue, Oct 22, 2002 at 11:56:46PM +0200, Simo Sorce wrote: ask for more hard work. Plus we have not limited ourselves to solve the problem locally, but to solve the problem in a distributed environment. yes: that was - and is - the whole point of sursswitch. having done the surs draft RFC, and outlining the issues in it, and specifically defining the problem and very specifically leaving the decisions up to the implementors, i then turned my focus onto possible implementations. the first actual successful SURS-compliant implementation, with definite limitations, is hard-coded into winbindd. The Plan was always to write sursswitch, with a complementary /etc/sursswitch.conf file, with features similar to nsswitch, but only offering one-to-one and onto SID - uid and SID - gid management. and making the winbindd code then be the first program to actually use sursswitch, followed by the second key point being smbd to use sursswitch, followed by the third one being smbrun, which spoolssd uses (or used to use). i hope that this both addresses your concerns and also hints at the scope of the work i intended (and still feel is necessary). l. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] How Samba let us down
Before you read this, I want to state (for reasons listed below) that I don't expect an answer (advice is welcomed, but please read this email carefully before answering). I'm sharing this with the community with the hope that better software results from our sad experience... BACKGROUND I've been using NT for 4 years, Netware and Linux for 3 years, and Samba for almost 2. I work in the IT department of a medium-sized unit of a global advertising company. We have a Netware and NT environment with a bit of Linux. We installed a 280GB IDE Samba archive server (rare usage) and a 15GB SCSI Mac/Samba file server (medium usage). We also use Samba for more menial tasks like smbmounts and file transfers. We thought we were comfortable with Samba. We knew we were comfortable with other types of file servers. OUR SETUP Going from my tired memory: Athlon MP 1.8GHz (mem=nopentium) 2GB ECC SDRAM Tyan S2460(I think?) Antec 450W PS Lots of cooling 5 IBM DeskStar 120GB drives with 8MB caches in RAID 5 3ware 7580(I think?) 8-port hardware RAID 3ware hot-swappable drive cages Intel e1000 Gigabit NIC, full duplex, 1000MBit, autonegotiation off 3com Gigabit switch, autonegotiation off RedHat 7.3 Kernel 2.4.19 with ACL support ext3 with ACL support Samba 2.2.5 with ACL support installed from a recompiled SRPM from the samba.org FTP site. Winbind NO nfs daemon (I hear it's buggy w/ ACLs) We have a variety of clients, from DOS and OS/2 to Windows (9x-2000) and Linux. The server acts as a print spooling area (the actual queues are on an NT server) and scratch area for database programmers to manipulate their flat database files. As far as I know, these files are not commonly accessed by more than one user at a time. THE PROBLEM For the past year, our heaviest-used Netware server has been under more and more stress.. filling up, running out of licenses, slowing down, etc. Preliminary tests using Samba on a fast Linux box showed anywhere from 70% to 1000% speed improvements, depending on the task. The decision was made to switch it to Linux; the whole company is migrating away from Netware and we (as a unit, not speaking for the company) don't want to be completely trapped into Windows if we can help it. The new hardware arrived and more preliminary tests indicated all looked good. We were set to switch last Saturday night. We turned off logins to the Netware box, backed it up, restored it to the new Linux box, set permissions, then made sure the various computers in the building could log in. Yesterday, our first day, was rough. For most of the day we fought random slow browsing with no explanation. Clients would appear to lock up for several seconds. We found some misconfigurations in smb.conf but the problems reappeared. No errors were seen in any machines' logs on debug level 2. I trimmed the smb.conf to a minimal number of options and that seemed to help with the slowness. Today, however, the problem reappeared a few times with no errors in the logs that we could see. The printers were missing some of the records sent to them to print, something that had never happened with Netware. Every time the missing records were different. Occasionally, it would work right. Oplocks (kernel, level I and II) were left to defaults (turned on). THE OUTCOME Sadly, tonight we are installing a Windows NT server. Installing a brand new server is actually cheaper for us than the 8 or so hours of downtime to back up the server, install NT on it, and restore the data to it. We don't want to revert to Netware because so many clients have been reconfigured to log on only to the domain (DOS, OS/2, etc.) and that would require many more hours reversing those changes. Also, some files have been added since leaving Netware. We also decided to proceed to use NT because is more proven in this capacity. CONCLUSION To be fair, the problems could be related to some misconfiguration. I have pasted the smb.conf below. I fear it might just be an oplock problem, but it is not clear what would result if more than one user happened to try to write to a file with them disabled. Every advice we found said to leave them on to prevent corruption and to improve performance. We ran out of time to test it, and feared what failure would bring. Running this: grep -r -B5 -A5 oplock /var/log/samba/ | grep -B5 -A5 error produced only 5 of these errors oplock_break: receive_smb error (Connection reset by peer) from the same DOS machine from 2 days worth of all machines' logs running at debuglevel 1 (some at level 2). I don't know if that is a good indicator of an oplock problem. I can do other greps on request. Unfortunately, we can't test out your suggestions in production, and our off-production testing apparently can't stress it well enough. So please just take this email as input - I'm not looking for answers here, though advice is appreciated. The problem could also have been environment or hardware. We should know soon,
¬°¦ó¥L¦b¦b¨â¦~¤º±q¤E¤G¤@¨ü¨a¤áÅܦ¨¤ë¤J¤¤Q¸U?????
Title: ¤@Óȱo¤F¸Ñªº¨Æ·~ ³o¬O©e°U¥Ñ±M·~¼s§i¤½¥q¥Nµo¤Åª½±µ¦^«HµLªk±µ¦¬ Ëç ~ ! ¡@ ¤@Óȱo¤F¸Ñªº¨Æ·~¬°¤°»ò¤@Ó¦]¤E¤G¤@¨ü¨a¦Ó°h¥îªº¦~»´¤H¡A¥L¨S¦³¯S§Oªº®a«ÇI´º¡A¨S¦³¶¯«pªº¸ê¥»¡A§ó¨S¦³°ª¤H¤@µ¥ªº¾Ç¾ú¡C¦Ó¥L«o¯à¦b2¦~¤º¡A§â¤ë¦¬¤J±q3¸UÅܦ¨60¸U¡C ¶Ç²Î¤u§@¾aÀV³¡¥H¤UÁÈ¿úµù©w¬¡¨ì¦Ñ¡A°µ¨ì¦Ñ¡A ·Q¶U´Ú§ë¸ê¶}¤½¥q¥¢±Ñ¤@¦¸´N½¤£¤F¨¡A¦ý¦¬¤J¦pªG¤@½ú¤lªº¦¬¤J¥u¬O3¸U5¸U¡A°£¤F¹L¥Í¬¡¡A§ÚÌÁٯ঳¹Ú·Q¶Ü??¤F¸Ñ¤£¦YÁ«¡A§@¹Ú¤£½Òµ|¡Aµ¹¦Û¤v¤@Ó¾÷·|¡A¤U¤@Ó¥¿½T¨M©w!! ¹w¬ù¤F¸Ñ¤@ÓÅý§A«¬B¹Ú·Qªº¦æ·~! ±zªº©m¦W¡G¡@ Ápµ¸¹q¸Ü¡G¡@ ±zªº¦a§}¡G¡@ ¹q¤l«H½c¡G¡@ ²`¤J¤F¸Ñ¡G¡@ §Ú·Q¨£³o¨Ç¤ë¤J¤Q¸Uªº¤H §Ú·Q¤F¸Ñ¨t²Îµ¹§Úªº¤ä´© ¥J²Ó¤F¸Ñ¬°¦ó¥¤Z¤H¤]¯à°÷¦¨¥\ §Ú·Q°Ñ¥[¥[·ù»¡©ú·| ³o¤£¬O¤@Ó¤£³Ò¦ÓÀò©Î§ë¾÷¨ú¥©ªº¥Í·N¡A¦Ó¬OÅý¨S¦³°]¤OI´º«oÄ@·N§V¤O¥I¥X¡A§ïÅܦۤv«D¤Z¦¨¥\ªº¦a¤è¡A§Ú̦b³o¸Ì§ïÅܦۤv¨Ã¾Ç²ß¦¨¥\ªº²ßºD¡A¥Î¹ïªº¤èªk§@¹ïªº¨Æ¡A¤£®ö¶OºN¯Áªº®É¶¡¸òµÛ¨t²Î±Ð¨|§Ö³t¦¨ªø¡A¦pªG§A¬O·Qn¤£³Ò¦ÓÀò©Î°½Ãi¨ú¥©¥ç©Î¬O¤£¯à±µ¨ü¬°¤F¦¨¥\¦Ó§ïÅܦۤvªºÃa²ßºDªº¤H¡A½Ð¤£n¯d¤U¸ê®Æ¥H§K®ö¶O©¼¦¹ªº®É¶¡¡C ¦p¦³¥´ÂZ½Ð¨£½Ì¡A¤£·Q¦A¦¬¨ì¦¹«H½Ð«ö - (©Ú¦¬¼s§i)
SMBClient - Messenger service
Hi. When I use "net send ..." command in windows to send a Winpopup message to other host, theSMB Command associate to this message is single block message (0xD0). To do this, it is only necessary sends oneSMB "frame" to theother host. When I use SMBClient(samba), the SMB Commandassociate is multi-block message (fist it is necessary sends the start comand 0xD5, then a text comand 0xD7 and finallythe end 0xD6). To do this, It is necessary sends 3 SMB"frames". Why SMBClient sends winpopup messages with multi-block message, and not single block message Where I use multi and where I use single message block??? Nuno Cardoso.
Re: CVS update: samba/packaging/RedHat
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Oct 2002, Stefan (metze) Metzmacher wrote: Tag: SAMBA_3_0 samba2.spec.tmpl shouldn't this move to samba3.spec.tmpl Details, Details, Details, . Eventually i will rename it, but just getting it working was the first step. cheers, jerry - Hewlett-Packard - http://www.hp.com SAMBA Team-- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9tUVtIR7qMdg1EfYRAvkGAJ9iH75TAdjVaiWV5gVafiv9yVEPgQCgscJl UDxIJw+OzStuJvtX6aYDj9g= =yU/l -END PGP SIGNATURE-
Re: SMBClient - Messenger service
On Tue, 22 Oct 2002, Nuno Cardoso wrote: When I use net send ... command in windows to send a Winpopup message to other host, the SMB Command associate to this message is single block message (0xD0). To do this, it is only necessary sends one SMB frame to the other host. When I use SMBClient (samba), the SMB Command associate is multi-block message (fist it is necessary sends the start comand 0xD5, then a text comand 0xD7 and finally the end 0xD6). To do this, It is necessary sends 3 SMB frames. Why SMBClient sends winpopup messages with multi-block message, and not single block message Where I use multi and where I use single message block??? The single-frame version can only send a short message (less than 128 bytes), whereas the multi-frame version allows up to 1600 bytes total. See the description of the File Sharing Protocol. (Use Google to search for INTEL Part Number 138446.) Over the last couple of years I have looked at generalising this code in Samba, and made some progress. (In a test implementation, I was able to use UNIX commands such as wall and write to produce WinPopup messages on the client PCs.) This required extracting, and altering, some code from smbclient, but this can be done in a re-useable way. If someone of the Samba Team is willing to facilitate this, I'll willingly submit the changes I made as a possible starting-point. -- : David LeeI.T. Service : : Systems Programmer Computer Centre : : University of Durham : : http://www.dur.ac.uk/t.d.lee/South Road: : Durham: : Phone: +44 191 374 2882 U.K. :
Re: SMBClient - Messenger service
We are always interested in things that add functionality into samba. If you wish to send some patches we can look at, you are welcome. Simo. On Tue, 2002-10-22 at 16:56, David Lee wrote: Why SMBClient sends winpopup messages with multi-block message, and not single block message Where I use multi and where I use single message block??? The single-frame version can only send a short message (less than 128 bytes), whereas the multi-frame version allows up to 1600 bytes total. See the description of the File Sharing Protocol. (Use Google to search for INTEL Part Number 138446.) Over the last couple of years I have looked at generalising this code in Samba, and made some progress. (In a test implementation, I was able to use UNIX commands such as wall and write to produce WinPopup messages on the client PCs.) This required extracting, and altering, some code from smbclient, but this can be done in a re-useable way. If someone of the Samba Team is willing to facilitate this, I'll willingly submit the changes I made as a possible starting-point. -- : David LeeI.T. Service : : Systems Programmer Computer Centre : : University of Durham : : http://www.dur.ac.uk/t.d.lee/South Road: : Durham: : Phone: +44 191 374 2882 U.K. : -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
Re: SMBClient - Messenger service
On Tue, Oct 22, 2002 at 03:56:31PM +0100, David Lee wrote: : The single-frame version can only send a short message (less than 128 bytes), whereas the multi-frame version allows up to 1600 bytes total. See the description of the File Sharing Protocol. (Use Google to search for INTEL Part Number 138446.) Cool. Thanks for the pointer! Over the last couple of years I have looked at generalising this code in Samba, and made some progress. (In a test implementation, I was able to use UNIX commands such as wall and write to produce WinPopup messages on the client PCs.) This required extracting, and altering, some code from smbclient, but this can be done in a re-useable way. If someone of the Samba Team is willing to facilitate this, I'll willingly submit the changes I made as a possible starting-point. I might be able to do that. What do you have in mind. Chris -)- -- Samba Team -- http://www.samba.org/ -)- Christopher R. Hertel jCIFS Team -- http://jcifs.samba.org/ -)- ubiqx development, uninq. ubiqx Team -- http://www.ubiqx.org/ -)- [EMAIL PROTECTED] OnLineBook -- http://ubiqx.org/cifs/-)- [EMAIL PROTECTED]
Domain users listing - speed
I have about 700 users in smbpasswd. When I view properties of a file from Win2000, after Security - Add - I see the list of all users in the domain. However, the scrollbar scrolls about 30 seconds, before all users are shown in the list! Slow! Is there a way to speed it up? Samba 2.2.5, FreeBSD 4.4-Release. smb.conf: [global] workgroup = VSERV netbios name = serv1 server string = File server guest account = guest guest ok = yes null passwords = yes log file = /var/log/samba/log.%m lock dir = /var/log/samba/locks max log size = 50 security = user encrypt passwords = yes socket options = TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384 IPTOS_LOWDELAY local master = yes domain master = yes preferred master = yes domain logons = yes os level = 64 logon script = start.bat logon path = \\%L\%U\files\profiles logon drive = T: logon home = \\%N\%U wins support = yes wins proxy = yes dns proxy = no character set = KOI8-R client code page = 866 time server = True domain admin group = wheel domain guest group = guest admin users = adm add user script = /usr/local/samba/bin/addhost.sh %u delete user script = /usr/local/samba/bin/deletehost.sh %u printing = bsd printcap name = /etc/printcap print command = /usr/bin/lpr -r -P%p %s lpq command = /usr/bin/lpq -P%p %s lppause command = /usr/bin/lp -i %p-%j -H hold lpresume command = /usr/bin/lp -i %p-%j -H resume lprm command = /usr/bin/lprm -P%p %j queuepause command = /usr/sbin/lpc -P%p stop queuepause command = /usr/sbin/lpc -P%p start load printers = yes printer admin = wheel syslog = 1 # Share Definitions == [homes] comment = Home Directories browseable = no writable = yes create mask = 0664 directory mask = 0775 [netlogon] comment = Network Logon Service path = /usr/local/samba/lib/netlogon writable = no write list = adm [info] comment = Distributives path = /mnt/info public = yes writable = yes printable = no create mask = 0664 directory mask = 0775
Re: libsmbclient fails after some time
Just curious... If you are using Java why are you using libsmbclient instead of jCIFS? Is there some functionality in libsmbclient that is missing from the jCIFS client? Chris -)- On Mon, Oct 21, 2002 at 10:27:10AM +0530, Abhijeet Paturkar wrote: Hi, I am using libsmbclient on Linux Red Hat 7.2 We have developed C++ wrapper around libsmbclient 2.2.5. This wrapper is integrated with Java using JNI. And this Java class is used in Application server in JSP The stat for libsmbclient works properly for some time and then fails when the link for the JSP is tried after say 3-4 hours. The perror on stat prints Success. We are using following compiler options for building the wrapper. g++3 -c -pipe -fPIC -Wall -W -O2 -DUSE_GETTIMEOFDAY -DINTEL_LINUX_70 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_GETTIMEOFDAY -DINTEL_LINUX_70 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -D_XOPEN_SOURCE=500 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_POSIX_PTHREAD_SEMANTICS -D_BSD_SOURCE -D__UNIX__ -DUNIX -D_REENTRANT. Does any one encountered such an error ? Regards Abhijeet -- Samba Team -- http://www.samba.org/ -)- Christopher R. Hertel jCIFS Team -- http://jcifs.samba.org/ -)- ubiqx development, uninq. ubiqx Team -- http://www.ubiqx.org/ -)- [EMAIL PROTECTED] OnLineBook -- http://ubiqx.org/cifs/-)- [EMAIL PROTECTED]
Re: SMBClient - Messenger service
On Tue, Oct 22, 2002 at 11:13:34AM -0500, Christopher R. Hertel wrote: : Oh, by the way, I'm getting SEGV when I try to test this using smbclient from 2.2.6. Anyone else see this? Skip that. I cleaned up my build environment, removed config.cache and proto.h, rebuilt things, and the problem went away. I should know better by now. Chridz -)- -- Samba Team -- http://www.samba.org/ -)- Christopher R. Hertel jCIFS Team -- http://jcifs.samba.org/ -)- ubiqx development, uninq. ubiqx Team -- http://www.ubiqx.org/ -)- [EMAIL PROTECTED] OnLineBook -- http://ubiqx.org/cifs/-)- [EMAIL PROTECTED]
Printing with Samba and Intel Inbusiness printstation?
Hello folks, Regarding the story below, has there ever been done some effort to acomplish this? We use several of these so called windows print stations at work, but whatever I have tried with samba, cups, etc, I can't get it to work. Perhaps this is an issue that has allready been solved in the past, but I couldn't find anything in this direction. Any help would be appreciated. Eddie. --- From: Wim Verhoogt Subject: Printing on printers connected to Intel InBusiness print stations Date: Tue, 17 Jul 2001 18:44:39 +0200 L.S., I've been struggling to print with Intel InBusiness print stations. These stations are labeled as for use with Windows only by Intel. I found out that they emulate a Windows machine exporting two printer shares, one for each connector. The NetBIOS name of the stations is the Device ID, and the shares are //device_id/Printer1 and //device_id/Printer2 I tried to print to these shares with smbclient's print command, but received various errors. Some reverse-engineering (tcpdump is your friend :-) ) showed that you have to specify a remote filename of DEV\LPT1 (or DEV\LPT2 for the 2nd share - haven't tested that), and that SMB_COM_WRITE (0x0B) must be used to write to the share. Smbclient uses WRITE_COM_ANDX (0x2F). This doesn't return an error, but garbles the print data. I've patched smbclient to support this. I implemented a new option (-H) which will direct smbclient to write using SMB_COM_WRITE. The put command can now be used to print to the InBusiness stations. The print command won't work because it doesn't support specifying a remote filename.With this hack and a CUPS backend script, my server now exports 3 printers, connected to these stations, and I'm happy :-) I was wondering if this new feature of smbclient can be incorporated in the official SAMBA distribution, so that I don't need to patch smbclient for each new release. I doubt that the new -H option is the best way to do that, it just happened to be a quick and easy way to solve my problem. The patch used was: --- client.c Fri Jul 6 04:01:20 2001 +++ /home/wim/cvs/samba/source/client/client.c Mon Jul 9 16:33:41 2001 -79,6 +79,7 BOOL prompt = True; int printmode = 1; +BOOL inBusiness_hack = False; static BOOL recurse = False; BOOL lowercase = False; -1031,8 +1032,10 DEBUG(0,(Error reading local file: %s\n, strerror(errno) )); break; } - - ret = cli_write(cli, fnum, 0, buf, nread, n); + if (inBusiness_hack) + ret = cli_smbwrite(cli, fnum, buf, nread, n); + else + ret = cli_write(cli, fnum, 0, buf, nread, n); if (n != ret) { DEBUG(0,(Error writing file: %s\n, cli_errstr(cli))); -2415,7 +2418,7 } while ((opt = - getopt(argc, argv,s:O:R:M:i:Nn:d:Pp:l:hI:EU:L:t:m:W:T:D:c:b:A:)) != EOF) { + getopt(argc, argv,s:O:R:M:i:Nn:d:Pp:l:hI:EU:L:t:m:W:T:D:c:b:A:H)) != EOF) { switch (opt) { case 's': pstrcpy(servicesf, optarg); -2571,6 +2574,9 break; case 'b': io_bufsize = MAX(1, atoi(optarg)); + break; + case 'H': + inBusiness_hack = True; break; default: usage(pname); --__--__--