RE: [Samba] Samba 3.0.25c Going Nuts on our Network???
-Original Message- From: Volker Lendecke [mailto:[EMAIL PROTECTED] Sent: Monday, August 27, 2007 2:44 PM To: David C. Rankin Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Samba] Samba 3.0.25c Going Nuts on our Network??? On Mon, Aug 27, 2007 at 08:18:57AM -0500, David C. Rankin wrote: I installed 3.0.25c on SuSE 10 this weekend and I discovered another race condition. I have captured both tcpdumps and level 10 logs. The files are large, but you can get them from www.3111skyline.com/~david The files and sizes are: These are different. The traces you sent in last time had trans2notifies, this time it's a client going mad with asking for print queue status over and over again. Not sure what triggered this, but I would be very surprised if this was triggered with a .25b to .25c upgrade. The race condition here seems related to my print to pdf script, but I have never had any problems with it until 3.0.25b. When the 3.0.25c race occurs, it is *huge* thousands and thousands of packets. I hope you guys can find the culprit. If you need any additional information, please do not hesitated to contact me and I'll send you what you need. I don't think this is a race condition in the real computer science sense of that word. I can't see anything unusual in those logs. What kind of client is that? It's using the old LANMAN style printer calls. Did you set disable spoolss = yes? And, can you get us a debug level 10 log of the trans2findfirst/changenotify loop? Volker ___-- Volker, Jeremy: I'll keep monitoring the 3.0.25c install here at work and try to get a level 10 of the trans2findfirst/changenotify loop issue. I was out of the office most of the day today (yesterday now). I'm sure I'll catch it in the next day or so! I was pretty sure the 3111skyline problems wasn't the same, but I didn't understand what it was doing so I though I would pass it along. Thanks guys and I'll catch the right bug next time! David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0.25c Going Nuts on our Network???
POSTED TO THE LIST W/O ATTACHMENTS Jerry, I am sending this to you directly because it contains the tcpdump information in addition to the samba logs just in case there is sensitive information contained in the files. What is happening is that samba 3.0.25c, after first running smoothly, is becoming very chatty across our LAN. I don't know why, but with no files or applications open, smb is throwing about 4-5 packets a second at each windows XP client. This was causing noticeable network slowness. It is definitely 3.0.25c because after I grabbed the packets and the logs, I did a make revert to 3.0.25 and the noise on the network completely stopped. It seems like there is a race condition somewhere. I may need to send you a level 10, but when this occurred, I didn't have level 10 set so I just grabbed a tcpdump of the traffic and the log files I had. I will switch back to 3.0.25c this evening with level 10 set and see if I can duplicate the problem. In the mean time here are the files. David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba Team - 3.0.25c Seems Well in Standalone
-Original Message- On Behalf Of James Kosin Subject: Re: [Samba] Samba Team - 3.0.25c Seems Well in Standalone David Rankin wrote: -Original Message- From: Gerald (Jerry) Carter Subject: Re: [Samba] Samba Team - 3.0.25c Seems Well in Standalone David C. Rankin wrote: Jerry, Everybody: 3.0.25c compiled from source on a mandriva 2005le server in my no (AD, LDAP, Kerbose) environment. A full day of production and nothing more that a whimper out of the system. So, at least in my case 3.0.25c looks good. Thanks for the feedback David. Jerry, Even my custom print to .pdf script work in 3.0.25c. I still haven't found the reason it stopped working on 2.0.25. Oh well, there are some things you just can't explain. Thanks again. David C. Rankin, J.D., P.E. David, I think I can answer that some. There where some changes in 3.0.25 in how scripts were run due to a security flaw. The fixes broke things and the samba team had to back out some of the changes and correct other inplementation details. Anyway, I believe 3.0.25c may have fixed all the problems created by the security updates and releases. -James Kosin -- James, Thank you for the follow up! I have been tearing 2.0.25b packets apart trying to figure out why the print to pdf stopped working. I thought it was on my end, but I checked everything with a fine toothed comb and still couldn't find the answer. I'll sleep better tonight! -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba Team - 3.0.25c Seems Well in Standalone
-Original Message- From: Gerald (Jerry) Carter Subject: Re: [Samba] Samba Team - 3.0.25c Seems Well in Standalone David C. Rankin wrote: Jerry, Everybody: 3.0.25c compiled from source on a mandriva 2005le server in my no (AD, LDAP, Kerbose) environment. A full day of production and nothing more that a whimper out of the system. So, at least in my case 3.0.25c looks good. Thanks for the feedback David. Jerry, Even my custom print to .pdf script work in 3.0.25c. I still haven't found the reason it stopped working on 2.0.25. Oh well, there are some things you just can't explain. Thanks again. David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com cheers, jerry = Samba--- http://www.samba.org Centeris --- http://www.centeris.com What man is a man who does not make the world better? --Balian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGzar4IR7qMdg1EfYRAnUPAJ0QCB71w9jV52JOcHtC38VyM1tBYACfcMDa n/u/zBgah69PlZRZ4eMiPzQ= =maSW -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba 3.0.25c Available for Download
Original Message- On Behalf Of Gerald (Jerry) Carter To: [EMAIL PROTECTED] Subject: [Samba] Samba 3.0.25c Available for Download --- Hmm Lars going to be spinning the SuSE rpms any time soon? Just checking. David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [computers] Re: [Samba] XP Home and Samba problem
You do, of course, have valid smb accounts and passwords created on borzo for each XP client where the XP account (username) and the XP account (password) are identical and match the Linux user account (username) and the smb (password) created with the smbpasswd -a command, right? Yes, I know that is not a strict requirement, but unless you're doing UID and GID mapping, it never hurts! -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: SG [EMAIL PROTECTED] Cc: samba samba@lists.samba.org Sent: Wednesday, July 11, 2007 6:30 AM Subject: Re: [computers] Re: [Samba] XP Home and Samba problem Problem resolved!, I created a XP user test123 with a null password, logged in and everything worked fine then I logged back to borzo and everything went back to normal. I must say this is the weirdest case i ever had and i stll don't understand what happened. Anyway, thanks for all the help :) SG SG pisze: I Tried XP restarts, and tried removing hosts allow/deny, and I still have the same problem, enforced guest login. I am starting to wonder if this might be somehow related to the fact that I changed the XP's name, except that it shouldn't be a problem as I see the new XP name and shares correctly from Linux. I Will try to add a new user to XP and add that to samba, login with the new user and see if it works then. Gary Dale pisze: You should also try removing your global hosts allow and hosts deny lines. If they aren't done properly, they can cause you to be unable to connect. Gary Dale wrote: Is your borzo password on Unix the same as your borzo password on Windows? And have you tried rebooting your Windows box between attempts to connect? SG wrote: After a couple of minutes of inactivity I tried to access the samba share again and I got the error message I wrote about previously: * Error Message: /x/ is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permission * . The share is accessible locally and so is the XP share from Linux. Gary Dale pisze: You said, I believe, that you are running XP/Home. Are you logged on as borzo (and not Borzo, BORZO or some other variant)? Also, take it back to just including the path, restart samba, and let us know the exact error message Windows gives you. SG wrote: From [global] I have removed valid users At first in [MyFiles] I left only the path, which didn't work at all ( I was presented with an error on XP ), here's what I'm left with: [MyFiles] path = /home/samba/ force user = borzo force group = borzo create mask = 0644 directory mask = 755 but this didn't change the situation, I am still presented by the grayedout login prompt, and by the way the share is accessible through samba locally, aswell as the XP shares. The share's permissions are set to 0777, user and group are set to borzo and borzo is added and enabled with smbpasswd. thanks so far, SG Gary Dale pisze: simo wrote: On Tue, 2007-07-10 at 18:02 +0200, SG wrote: Here's my smb.conf [global] workgroup = GINVEST netbios name = LINACER interfaces = ath0, eth0 bind interfaces only = Yes null passwords = Yes passdb backend = tdbsam username map = /etc/samba/smbusers log level = 3 log file = /var/log/samba/log.%m announce version = 5.0 name resolve order = host wins bcast socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = CUPS os level = 32 wins support = Yes invalid users = root valid users = borzo --^^ you really _don't_ want to put this in the global section, or the only user allowed is borzo everywhere, and guest connections will always be denied. [..] Simo. Yes, but that probably isn't his problem as he also has borzo as the only valid user for his MyFiles share. My concern is that he has so much other unnecessary entries in his share definition. My advice to him would be to clear out all the unnecessary stuff until he can get a working share. Start with just the path and see if that works. If it doesn't then your problem lies elsewhere. What are the Unix directory permissions for the share? Try setting them to allow everyone read-write-execute access. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.25b - A. OK on Standalone system
Jerry, Jeremy, all: Just FYI: 3.0.25b is working great in standalone with XP just like 25a! Thanks team! -- David C. Rankin, J.D., P.E. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Sharp AR-M550N and SAMBA
We have a similar machine, Sharp AR-M355N, that we use for the same purpose. We don't have samba involved in the setup at all. For scanning, we use ftp directly to the server, for printing we use the client drivers on windows. Our server performs as a dhcp server and we have simply set the copier up to obtain an ip from the server. We haven't found a need for samba yet and the copier works wonderfully. -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Thursday, May 24, 2007 3:52 PM Subject: [Samba] Sharp AR-M550N and SAMBA Recently, we added a Sharp AR-M550N copier to our network. This device functions as an MFC (scanner/printer/copier). When I attempt to install the drivers to the SAMBA server, I receive an error message which displays briefly and then I receive the following error message when trying to access the properties of the printer. Function address 0x3119c9f caused a protection fault. (exception code 0xc05). Some or all property pages may not be displayed. I have tried this with the PCL5e and the PCL6 driver with the same results. Has anyone else seen this type of behavior? And, do you think uploading the drivers using rpcclient as opposed to the Add Printer Wizard, would make any difference? Thanks in advance for your assistance. Jay -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] force group to Unix group in 3.0.25
From: Gerald (Jerry) Carter Christian Perrier wrote: Our bug. I fixed it last night for next week's 3.0.25a release (http://wiki.samba.org/index.php/Release_Planning_for_Samba_3.0). You can either retest against the SAMBA_3_0_25 svn tree or I can send you a patch. Jerry, apparently this bug hits Debian's version in etch as it appeared after the security fix for CVE-2007-2444. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=424629 As you certainly know, upgrading the version in etch to 3.0.25a is out of question, so we need to patch the 3.0.24 version to fix this. So, if you have the patch handy, we'd be deeply interested. Ah yeah. I didn't think about that. Attached. Is there a bug report for this issue in Samba's BTS? I can't find one. Note sure. We went back and forth with David Rankin on it getting the necessary information. Jerry, The patch is working fine. I have had it running on the production machine at work since 12:00 am and there have been no *howls* from the rest of the minions and I haven't run into any trouble. -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- === modified file 'source/smbd/uid.c' --- source/smbd/uid.c 2007-05-12 16:45:55 + +++ source/smbd/uid.c 2007-05-18 17:33:11 + @@ -151,7 +151,9 @@ char group_c; BOOL must_free_token = False; NT_USER_TOKEN *token = NULL; - + int num_groups = 0; + gid_t *group_list = NULL; + if (!conn) { DEBUG(2,(change_to_user: Connection not open\n)); return(False); @@ -190,14 +192,14 @@ if (conn-force_user) /* security = share sets this too */ { uid = conn-uid; gid = conn-gid; - current_user.ut.groups = conn-groups; - current_user.ut.ngroups = conn-ngroups; + group_list = conn-groups; + num_groups = conn-ngroups; token = conn-nt_user_token; } else if (vuser) { uid = conn-admin_user ? 0 : vuser-uid; gid = vuser-gid; - current_user.ut.ngroups = vuser-n_groups; - current_user.ut.groups = vuser-groups; + num_groups = vuser-n_groups; + group_list = vuser-groups; token = vuser-nt_user_token; } else { DEBUG(2,(change_to_user: Invalid vuid used %d in accessing @@ -230,8 +232,8 @@ */ int i; - for (i = 0; i current_user.ut.ngroups; i++) { - if (current_user.ut.groups[i] == conn-gid) { + for (i = 0; i num_groups; i++) { + if (group_list[i] == conn-gid) { gid = conn-gid; gid_to_sid(token-user_sids[1], gid); break; @@ -243,6 +245,12 @@ } } + /* Now set current_user since we will immediately also call +set_sec_ctx() */ + + current_user.ut.ngroups = num_groups; + current_user.ut.groups = group_list; + set_sec_ctx(uid, gid, current_user.ut.ngroups, current_user.ut.groups, token); -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] can't browser a samba server from a specific pc in thenetwork
From: )\(@sS hello everyone, i'm not even sure there is something wrong with samba here but im taking all chances... i have a linux samba server and 3 winXP prof pcs in my setup. now from one of the winxp boxes i can not seem to access my shares on the server. that is when i try to go through network neighborhood path. the message that is returned is : \\stargaze is not accessible. You may not have permission to use the shares... please contact sys admin etcetc. it ends by stating 'the Server service is not started'. well i did check the service setting in windows services and the Server service is indeed running automatically. so no problem there,, note that i have mapped a few of the shares on network drives to have quick access to them from windows explorer.. i can STILL access these shares !!! i also tried logging on to my shares (ie with the same (username and pass) from the other pc's and it works fine - thats why i am saying it might not even be a samba misconfigure... any ideas why i can access the shares though from network neighborhood? thank you in advance for your help nass -- Jerry provided a patch that addresses this problem. It will be included in 3.0.25a out next Friday *note* I had to apply the patch my hand to uid.c The patch is: Index: smbd/uid.c === --- smbd/uid.c (revision 22974) +++ smbd/uid.c (working copy) @@ -156,7 +156,9 @@ char group_c; BOOL must_free_token = False; NT_USER_TOKEN *token = NULL; - + int num_groups = 0; + gid_t *group_list = NULL; + if (!conn) { DEBUG(2,(change_to_user: Connection not open\n)); return(False); @@ -195,14 +197,14 @@ if (conn-force_user) /* security = share sets this too */ { uid = conn-uid; gid = conn-gid; - current_user.ut.groups = conn-groups; - current_user.ut.ngroups = conn-ngroups; + group_list = conn-groups; + num_groups = conn-ngroups; token = conn-nt_user_token; } else if (vuser) { uid = conn-admin_user ? 0 : vuser-uid; gid = vuser-gid; - current_user.ut.ngroups = vuser-n_groups; - current_user.ut.groups = vuser-groups; + num_groups = vuser-n_groups; + group_list = vuser-groups; token = vuser-nt_user_token; } else { DEBUG(2,(change_to_user: Invalid vuid used %d in accessing @@ -235,8 +237,8 @@ */ int i; - for (i = 0; i current_user.ut.ngroups; i++) { -if (current_user.ut.groups[i] == conn-gid) { + for (i = 0; i num_groups; i++) { +if (group_list[i] == conn-gid) { gid = conn-gid; gid_to_sid(token-user_sids[1], gid); break; @@ -248,6 +250,12 @@ } } + /* Now set current_user since we will immediately also call +set_sec_ctx() */ + + current_user.ut.ngroups = num_groups; + current_user.ut.groups = group_list; + set_sec_ctx(uid, gid, current_user.ut.ngroups, current_user.ut.groups, token); -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.25 *breaks* stand alone server, 3.0.24 works fine
Gerry, It looks like 3.0.25 breaks stand alone/no winbind/no domain servers. This is remeniscent of the 3.0.23b SID/GID problem. The only thing that jumps out at me is that you can't access your home share and other shares just quit working. Looking at the log files, I see this: [2007/05/14 15:24:55, 10] smbd/open.c:share_conflict(389) share_conflict: entry-access_mask = 0x11, entry-share_access = 0x7, entry-private_options = 0x1 [2007/05/14 15:24:55, 10] smbd/open.c:share_conflict(392) share_conflict: access_mask = 0x81, share_access = 0x3 [2007/05/14 15:24:55, 10] smbd/open.c:share_conflict(441) share_conflict: [1] am (0x11) right (0x6) = 0x0 snip. Nothing else has changed other than installing 3.0.25. make revert to 3.0.24 fixes the problem. The log is attached. -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba v3.0.23a BROKE my network
- Original Message - From: Sherwood Botsford [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Thursday, February 01, 2007 12:11 PM Subject: Re: [Samba] Samba v3.0.23a BROKE my network Mega Munch Here's the problem: Ideally in a production environment you set up a sandbox and test new stuff extensively before committing it. But on days when you want to put your face down on the photocopier and hit 10 copies to keep up with everything, this just doesn't happen. It's supposed to be rolled out yesterday. Here's my take with upgrades: (This is the, What the hell, give it your best shot upgrade technique.) 1. Use ./configure to help. Keep the configuration OUTSIDE the package tree. With samba in particular if there isn't a copy of a conf file, it creates a default one. With major changes you may want that default one. 2. I configure to use /opt/samba. But /opt/samba is a symlink to /opt/samba-2.2.8a 3. Do my make. Once that seems to work... 4. mkdir /opt/samba/3.0.23a; rm /opt/samba/ ; ln -s /opt/samba/3.023a /opt/samba; make install 5. This is best done at a time when the network isn't particularly busy with samba attach/detach, as the old daemon calling the new one sometimes causes odd things to happen. 6. Now if things break, all you do is switch the link back to the old version, and killall running copies. The switch back can be done in a few seconds. And...Never forget: make revert is your friend. -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [opensuse] Open-source leader leaving Novell for Google
Whew.. God that's good news. Best of luck in the new office! -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: Jeremy Allison [EMAIL PROTECTED] To: david rankin [EMAIL PROTECTED] Cc: opensuse opensuse@opensuse.org; samba samba@lists.samba.org Sent: Monday, December 25, 2006 12:02 AM Subject: Re: [Samba] Re: [opensuse] Open-source leader leaving Novell for Google On Sun, Dec 24, 2006 at 11:11:18PM -0600, david rankin wrote: Jesus, I hope it isn't true. But if it is, we will miss him dearly, both here and very much so on the Samba list. However I can under stand and respect the decision. Good luck and God speed Jeremy. Jerry, can you pick up the slack?? An ill wind blows for us all as a result of the MS deal It's true I'm leaving Novell, but why do you think this means I'm not going to be on any Samba lists ? I'm joining Google on 2nd Jan, and believe me when I tell you they're *very* interested in me spending all my time on Samba :-) :-). As Herb once said to me, Same job, different office :-) :-). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: [opensuse] Open-source leader leaving Novell for Google
Jesus, I hope it isn't true. But if it is, we will miss him dearly, both here and very much so on the Samba list. However I can under stand and respect the decision. Good luck and God speed Jeremy. Jerry, can you pick up the slack?? An ill wind blows for us all as a result of the MS deal -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: Fred A. Miller [EMAIL PROTECTED] To: opensuse opensuse@opensuse.org Sent: Friday, December 22, 2006 10:59 PM Subject: [opensuse] Open-source leader leaving Novell for Google Jeremy Allison, a high-profile open-source programmer, has resigned from Novell because of objections over its patent deal with Microsoft and is moving to Google. http://news.zdnet.com/2100-3513_22-6145615.html?tag=nl.e539 -- MickySoft, the ultimate corporate parasite. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows Vista RC2 can't delete Samba Directories
From: Greg J. Zartman, P.E. [EMAIL PROTECTED] First, can you try 3.0.23c? If that does not work either, can you please file a bug report at As requested; I tested using the 3.0.23 with no luck. I've raised a bug in the tracker: https://bugzilla.samba.org/show_bug.cgi?id=4188 I don't know how to run a trace. If you could spell it out for me, I'd be happy to do this and provide the output. Greg, Two things that help when sending logs to the samba team. (1) A level 10 debug. Meaning setting log level = 10 in the global section of smb.conf; restarting samba; and then trying to connect. This will fill the logs with as much information as possible. (2) Capturing and sending the actual network packets between the vista machine and your samba box with either ethereal or the command line utility tcpdump. If you are not familiar with ethereal, simply capture the packets with tcpdump. From man tcpdump: To print all packets arriving at or departing from sundown and save it in outfile: tcpdump host sundown -w outfile Then just send the outfile to the team. Keep the faith. Vista will be made to behave sooner as opposed to later. P.S.-what is your PE in? -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 www.rankinlawfirm.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.11/494 - Release Date: 10/24/06 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba - CUPS - Fax
From: Shaun Marolf [EMAIL PROTECTED] Progress of sending and faxs in queue can user see through web interface (module in moregroupware). We send and receive cca 30 of faxs in day and may store of fax (in g3 or png) have about 1.5GB. Tomas There is a web interface for Hylafax available through Usermin which can be downloaded from www.webmin.com, The Hylafax plugins are available at www.hylafax.org If you use a Postscript driver for Hylafax you can send graphics as well as receive them. I agree, we use both cups and hylafax. Simply install the postscript print driver and the winprinthylafx applet on the Windows machine and I believe it will do exactly what you want. http://winprinthylafax.sourceforge.net/ -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] NMB not starting when SMB started
From: Felipe Augusto van de Wiel [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/14/2006 10:55 AM, ddaran nair escreveu: Hi, NMB service is not started when i start smb service. I got to started manually the nmb service after i have started the smb service. Linux version : SLES10 and SLES9 samba version : 3.0.22 What could be wrong ? Do you see anything special in your logs? Could you please increase the loglevel/debuglevel in smb.conf and attach the important part of the logs (while you are starting the daemons). SuSE separates the init scripts for smbd and nmbd. You have to start them separately. As root: 'rcsmb' and 'rcnmb' -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.23c and CUPS - RESOLVED but not SOLVED
Dale Schroeder wrote: After upgrading to 3.0.23c, only 3 of 12 installed printers reappeared. Which tdb or other file got corrupted? Dale Approximately 23 hours after they disappeared, the missing printers have magically reappeared and seem to work. I have no idea why or how or where they've been in the interim. Maybe it's best that way. :-\ Dale It is always reassuring to know there is a little mystery left in life -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.23c Available for Download
- Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] Binary packages are available at http://download.samba.org/samba/ftp/Binary_Packages/ Woohoo! Way to to Lars!: nemesis:/home/david/Documents/updates/RPMS/samba-3.0.23c # cat getfile http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/cifs-mount-3.0.23c-0.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/ldapsmb-1.34a-31.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/libmsrpc-3.0.23c-0.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/libmsrpc-devel-3.0.23c-0.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/libsmbclient-3.0.23c-0.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/libsmbclient-devel-3.0.23c-0.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/samba-3.0.23c-0.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/samba-client-3.0.23c-0.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/samba-debuginfo-3.0.23c-0.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/samba-krb-printing-3.0.23c-0.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/samba-pdb-3.0.23c-0.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/samba-python-3.0.23c-0.1.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/samba-vscan-0.3.6b-4.6.36.i586.rpm http://us4.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/10.0/samba-winbind-3.0.23c-0.1.36.i586.rpm nemesis:/home/david/Documents/updates/RPMS/samba-3.0.23c # wget -i getfile ..success... nemesis:/home/david/Documents/updates/RPMS/samba-3.0.23c # rpm -Uvh *.rpm nemesis:/home/david/Documents/updates/RPMS/samba-3.0.23c # smbclient -U% -L localhost Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23c-0.1.36-SUSE-SL10.0] Sharename Type Comment - --- law Disk Rankin Law Firm PLLC skyline Disk Skyline Share media Disk Pictures Video Music computerDisk Computer Software and Drivers storage Disk Computer Drivers and Software print$ Disk pdf-gen Printer PDF Generator (only valid users) IPC$IPC IPC Service (Samba 3.0.23c-0.1.36-SUSE-SL10.0) hp_laserjet_4 Printer HP Laserjet 4 Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23c-0.1.36-SUSE-SL10.0] Server Comment ---- KIDSDELL Dell 2400 2.8GHz NEMESIS Samba 3.0.23c-0.1.36-SUSE-SL10.0 RANKIN-P35 P35-S629 Laptop RIPPER XP2800 WorkgroupMaster ---- RB_LAW NEMESIS Hell Yah! It works! Great Job Jerry/team/Lars; we are rocking and rolling again in Nacogdoches -- the oldest town in Texas. with the fewest hillbillies that appreciate good open source (or understand WTH it is..) But I'm one behind the pine curtain, (100' pine trees is all you see) so there is hope! Awsome job guys! -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Rev #2 of the 3.02.3c patch
From: Gerald (Jerry) Carter [EMAIL PROTECTED] Folks, I've uploaded the *final* 3.0.23c roll up patch to http://samba.org/~jerry/patches/patch-3.0.23b-3.0.23c-gwc-2.diffs.gz. I've already cut the 3.0.23c tarballs so unless there is a major problem, this will be the final change set. Please report *any* bugs that you find. I'd like to wrap this one up and do the public 3.0.23c release on Friday. Jerry, Downloaded the patch and installed it. Mandriva 2005LE. (I applied it to a fresh source of 3.0.23b because patch kept complaining when I tried to apply it over the gwc-1.diffs patched source) ./configure --prefix=/usr --infodir=/usr/share --mandir=/usr/share --with-configdir=/etc/samba --enable-cups --with-privatedir=/etc/samba --with-automount --with-smbmount make proto make make install /etc/rc.d/init.d/smb restart All went well For my simple non-domain; non-winbind setup using smbpasswd; all looks great! Samba works like it should and I can connect. My setup (from testparm): [global] workgroup = RB_LAW server string = Samba Server %v map to guest = Bad User log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins lmhosts bcast time server = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups show add printer wizard = No os level = 60 preferred master = Yes dns proxy = No wins support = Yes hosts allow = 192.168.7., 192.168.8., 127., 66.76.63.120 The confirmation: [EMAIL PROTECTED] source]# smbclient -U% -L localhost Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23c-gwc-2] Sharename Type Comment - --- office Disk Shared Office Files rankin Disk Rankin Law Firm PLLC allen Disk T Stefan Allen bertin Disk Darren Bertin guilloryDisk David Guillory jointcases Disk Joint Client Files lawtoolsDisk Case Development - Summation forms Disk Shared Forms and Briefs computerDisk Computer Drivers and Software closed Disk Closed Case Files print$ Disk pdf-gen Printer PDF Generator (only valid users) IPC$IPC IPC Service (Samba Server 3.0.23c-gwc-2) Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23c-gwc-2] Server Comment ---- BACKUP This is the backup computer BONZASamba Server 3.0.23c-gwc-2 CW-DESK cynthia desktop GUILLORY LISHALisha RANKIN-P35 P35-S629 Laptop RECEPTIONDell 2400 2.6 GHz SECRETARYFront Office TSA-LAPTOP stefan laptop WorkgroupMaster ---- RB_LAW BONZA Thanks for all your and the team's hard work! Now if Lars will just build the 3.0.23c binaries for SuSE, well be in great shape. I still can't figure out how to get it to compile with all the options he has in the SuSE spec file. Oh well -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Rev #2 of the 3.02.3c patch
From: Greg Freemyer [EMAIL PROTECTED] Thanks for all your and the team's hard work! Now if Lars will just build the 3.0.23c binaries for SuSE, well be in great shape. I still can't figure out how to get it to compile with all the options he has in the SuSE spec file. Oh well David, I have not been following this too closely, but your comment caught my eye. Have you experimented with rpmbuild? For this situation I think you would just get the old 3.0.23b source rpm from lars. then rpmbuild -bp # this will extract the 23b source and apply any suse specific patches. apply the 3.0.23c patch to the source rpmbuild -bc # this will compile the patched code with the suse options rpmbuild -bi# This should install the compiled code I did not test the above process, but I've used rpmbuild -bb before to back compile suse factory code to a released distro. I did not have any issues. Greg Greg, Thanks! I have thought about doing the rpmbuild, but I hadn't had the time to figure out how to get the patched source into the source rpm other than patching it and then zipping the source up and moving it to the SOURCE directory and then doing a rpmbuild --rebuild on the .srpm. Thanks, I'll give it a try -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Error was Permission denied
From: Dan [EMAIL PROTECTED] David, I run 'smbpasswd -a dsmith' and also 'smbpasswd -a dan'. I created a user dan because I thought that would maybe get it working, but it didn't help. With the creation of 'dan' the user on Windows and Linux are the same. Under map network drive you can specify a different user to login and as and I have tried both dsmith and dan. I have put a line 'username = dsmith' in the dan share and that didn't help either. I have also added both dan and dsmith to valid users, still didn't help. I tried changing security from 'user' to 'share' that didn't help. In fact I can see 'dan on samba server (localhost)' under 'My Network Places' . However I don't seem to be able to get to the files. All the best, Dan Dan, Don't fret. Samba is really a fire and forget solution. It works every time and there are no tricks -- really. I've used it since 2.02 on mandrake 7.2 since '01 and it simply -- just works. If you have created a smbpasswd entry for dan or dsmith, then that is no longer the problem. You say you are running Samba 3.0.23a-1.FC5.1 so the SID/GID problem with 3.0.23b shouldn't be your problem. (it is being worked and a patch is out). You have posted your smb.conf, and I don't see any problems with it. But, I don't know why you have username = dsmith in you share, ... it might be right, I just don't know. First, here is my global settings: [global] workgroup = RB_LAW server string = Samba %v map to guest = Bad User log level = 10 log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins lmhosts bcast time server = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups show add printer wizard = No os level = 60 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes hosts allow = 192.168.7., 192.168.6., 127., 66.76.63.60 Second, here is the way I do all my shares: [skyline] comment = Skyline Share path = /home/samba/skyline valid users = @skyline # (this is just an /etc/group group that has the users I want to have access to the share.) admin users = david# (me obviously) force group = skyline read only = No inherit permissions = Yes Here is the holy grail for diagnosing where the problem is: http://us5.samba.org/samba/docs/man/Samba-HOWTO-Collection/diagnosis.html The only thing that jumps out at me is your username= entry in the share. You can ping each maching right?? (by name and IP)(since you're using the IP in your smbclient test I presume this is OK) Your name resolution is working right?? (/etc/hosts; etc/resolve.conf or bind/dhcpd/dhcpcd) Just a shot in the dark, but what does route -n show?? Your smith workgroup is right on both machines -- right?? From XP can you use windows explorer to browse My Network Places - Entire Network - smith and see both computers?? And, if so, you can open the linux box and see the dan share -- right? That's about is for my guesswork. Really, work the diagnosis.html steps and report back which step gives you the problem. OH, ONE LAST STUPID GUESS, YOU ARE RESTARTING SMB AND NMB AFTER YOU CHANGE THE SMB.CONF FILE RIGHT /etc/rc.d/init.d/smb restart and /etc/rc.d/init.d/nmb restart (I don't know if FC splits them like SuSE or combines the init like RH/Mandriva) Good Luck -- Report back... At 06:35 AM 8/25/2006, you wrote: Dan, A guess, but back to the basics: (1) have you created an entry in the smbpasswd file for yourself? I presume your username on the linux box is 'dsmith.' So have you run 'smbpasswd -a dsmith' ? (2) is your XP login name and password the same as it is on the linux box? (3) you can always add 'valid users = dsmith' to your dan share These are only educated guesses. Dan wrote: Samba version Samba 3.0.23a-1.FC5.1 Linux Fedora 5 (localhost) User: dsmith 192.168.1.104 Windows XP SP2 with lastest updates (T2385) User: dan 192.168.1.100 Linksys 8 port router I have tried a few days on an off to get samba to work, but need some help. I found a couple problems with the checklist and fixed them. A couple problems I wasn't able to solve. Here are the problems: 1) smbclient //192.168.1.104/dan -Udsmith tree connect failed: NT_STATUS_BAD_NETWORK_NAME smbpasswd is set, both dsmith and dan testparm runs fine I have cleared allow hosts, specified allow hosts, etc. Have disable both firewalls, Linux and Windows. 2) nmblookup -d 2 '*' Linux box responds fine. Never have got a response from Windows. 3) cat T2385.log [2006/08/20 01:33:26, 0] smbd/service.c:make_connection_snum (911) '/home/dsmith' does not exist or permission denied when connecting to [dan] Error was Permission denied I have changed permissions on /home and /dsmith to 777.
Re: [Samba] Preliminary 3.0.23c patch for testing and review
From: Gerald (Jerry) Carter [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After applying the patch, run 'make proto' to rebuild include/proto.h Then run make to rebuild. Ok, 3.0.23b with the patch compiled and installed fine. With the plain smbpasswd/no winbind/no PDC/ setup I can now access all of the shares. So, at least from my setup's standpoint, the patch works like a charm! My smb.conf global section is: [global] workgroup = RB_LAW server string = Samba Server %v map to guest = Bad User log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins lmhosts bcast time server = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups show add printer wizard = No os level = 60 preferred master = Yes dns proxy = No wins support = Yes hosts allow = 192.168.7., 192.168.8., 127., 66.76.63.120 printing = cups print command = lpr -P'%p' %s; rm %s lppause command = lp -i '%p-%j' -H hold lpresume command = lp -i '%p-%j' -H resume queuepause command = disable '%p' queueresume command = enable '%p' Confirmation of the install: [EMAIL PROTECTED] source]$ smbclient -U% -L localhost Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23c-gwc-1] Sharename Type Comment - --- office Disk Shared Office Files rankin Disk Rankin Law Firm PLLC allen Disk T Stefan Allen bertin Disk Darren Bertin guilloryDisk David Guillory jointcases Disk Joint Client Files lawtoolsDisk Case Development - Summation forms Disk Shared Forms and Briefs computerDisk Computer Drivers and Software closed Disk Closed Case Files print$ Disk pdf-gen Printer PDF Generator (only valid users) IPC$IPC IPC Service (Samba Server 3.0.23c-gwc-1) Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23c-gwc-1] Server Comment ---- BACKUP This is the backup computer BONZASamba Server 3.0.23c-gwc-1 CW-DESK cynthia desktop DARREN-XPDarren-XP GUILLORY LISHALisha RANKIN-P35 P35-S629 Laptop RECEPTIONDell 2400 2.6 GHz SECRETARYFront Office WorkgroupMaster ---- RB_LAW BONZA -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Access denied
I'm trying to upgrade from Samba 3.0.14a to 3.0.23b. Using the exact same config file that I did in the older version, and using the exact same share directory and file permissions as I did with the old version, a share that I used to be able to access now returns: tree connect failed: NT_STATUS_ACCESS_DENIED See My Recent Thread: [Samba] 3.0.20 - 3.0.23 SID/group error?? Won't connect. I think the problem is the same. The problem will be fixed in 3.0.23c due out later this week. (at least that is Jerry's most recent estimate) In the mean time stick to 3.0.23a or earlier. (your 3.0.14a should be fine unless you need to upgrade for functionality) Great news, then! Thanks for the info. I'll look for an update in the near future. In the mean time, what I ended up doing to get around it was to open up access at the share level and then restricting access to the files through creative use of file and directory permissions. Kevin, I applied Jerry's patch http://samba.org/~jerry/patches/patch-3.0.23b-3.0.23c-gwc-1.diffs.gz; and it seemed to cure my problems. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Preliminary 3.0.23c patch for testing and review
From: Gerald (Jerry) Carter [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Folks, Please report *any* bugs that you find. Don't assume someone else will do it for you. of course, we can't fix all the bugs in this release, but if something is broken that was working in a previous release, we need to know. Thanks. Patch went fine... [EMAIL PROTECTED] source]$ ./configure --prefix=/usr --infodir=/usr/share --mandir=/usr/share --with-co nfigdir=/etc/samba ...went fine... But, it looks like a compile error in rpc_parse/parse_dfs.c See below: [EMAIL PROTECTED] source]# make Using FLAGS = -O -D_SAMBA_BUILD_ -I/home/david/updates/src/samba-3.0.23b/source/popt -I /home/david/updates/src/samba-3.0.23b/source/iniparser/src -Iinclude -I/home /david/updates/src/samba-3.0.23b/source/include -I/home/david/updates/src/sa mba-3.0.23b/source/tdb -I. -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_O FFSET_BITS=64 -D_GNU_SOURCE -I/home/david/updates/src/samba-3.0.23b/source - D_SAMBA_BUILD_ LIBS = -lcrypt -lresolv -lresolv -lnsl -ldl LDSHFLAGS = -shared -Wl,-Bsymbolic LDFLAGS = PIE_CFLAGS = -fPIE PIE_LDFLAGS = -pie Compiling dynconfig.c Compiling smbd/password.c Compiling smbd/share_access.c Compiling smbd/vfs.c Compiling smbd/service.c Compiling smbd/msdfs.c Compiling rpc_server/srv_dfs_nt.c Compiling rpc_parse/parse_dfs.c rpc_parse/parse_dfs.c:1866: error: conflicting types for 'init_netdfs_q_dfs_Enum' include/proto.h:4890: error: previous declaration of 'init_netdfs_q_dfs_Enum' was here rpc_parse/parse_dfs.c:1866: error: conflicting types for 'init_netdfs_q_dfs_Enum' include/proto.h:4890: error: previous declaration of 'init_netdfs_q_dfs_Enum' was here make: *** [rpc_parse/parse_dfs.o] Error 1 Help, Did I do something wrong? Or, is there really a screwed up type/type cast somewhere in the file??? -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 www.rankinlawfirm.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.5/426 - Release Date: 8/23/06 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Access denied
From: ML Samba [EMAIL PROTECTED] I'm trying to upgrade from Samba 3.0.14a to 3.0.23b. Using the exact same config file that I did in the older version, and using the exact same share directory and file permissions as I did with the old version, a share that I used to be able to access now returns: tree connect failed: NT_STATUS_ACCESS_DENIED See My Recent Thread: [Samba] 3.0.20 - 3.0.23 SID/group error?? Won't connect. I think the problem is the same. The problem will be fixed in 3.0.23c due out later this week. (at least that is Jerry's most recent estimate) In the mean time stick to 3.0.23a or earlier. (your 3.0.14a should be fine unless you need to upgrade for functionality) -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.20 - 3.0.23 SID/group error?? Won't connect.
From: Gerald (Jerry) Carter [EMAIL PROTECTED] Please test the patch. Supersedes the previous one. Also available from http://www.samba.org/~jerry/patches/ It's semi-ok that syntax you list doesn't work. You should really only worry about +users for local group names. OK, Help, what am I doing wrong with the patch?? How do is get the patch installed? Here is what I did that didn't work. [EMAIL PROTECTED] src]# ll total 36072 drwxr-xr-x 9 david david 4096 Jul 21 11:26 samba-3.0.23a/ -rw-rw-r-- 1 david david 17683518 Jul 21 11:30 samba-3.0.23a.tar.gz drwxr-xr-x 9 david david 4096 Aug 11 15:08 samba-3.0.23b/ -rwxr--r-- 1 david david11033 Aug 11 12:11 samba-3.0.23b-lookup_name_smbconf_v1.patch* -rw-r--r-- 1 root root 17686227 Aug 8 07:50 samba-3.0.23b.tar.gz [EMAIL PROTECTED] src]# patch -p0 samba-3.0.23b-lookup_name_smbconf_v1.patch patching file samba-3.0.23b/source/auth/auth_util.c Hunk #1 FAILED at 1052. 1 out of 1 hunk FAILED -- saving rejects to file samba-3.0.23b/source/auth/auth_util.c.rej patching file samba-3.0.23b/source/include/smb.h Hunk #1 FAILED at 272. 1 out of 1 hunk FAILED -- saving rejects to file samba-3.0.23b/source/include/smb.h.rej patching file samba-3.0.23b/source/passdb/lookup_sid.c Hunk #1 FAILED at 120. Hunk #2 FAILED at 300. 2 out of 2 hunks FAILED -- saving rejects to file samba-3.0.23b/source/passdb/lookup_sid.c.rej patching file samba-3.0.23b/source/passdb/pdb_interface.c Hunk #1 FAILED at 1532. 1 out of 1 hunk FAILED -- saving rejects to file samba-3.0.23b/source/passdb/pdb_interface.c.rej patching file samba-3.0.23b/source/smbd/service.c Hunk #1 FAILED at 443. 1 out of 1 hunk FAILED -- saving rejects to file samba-3.0.23b/source/smbd/service.c.rej patching file samba-3.0.23b/source/smbd/share_access.c Hunk #1 FAILED at 94. Hunk #2 FAILED at 108. 2 out of 2 hunks FAILED -- saving rejects to file samba-3.0.23b/source/smbd/share_access.c.rej I know this is basic, but I haven't done it before and 'man patch' is not that helpful. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.20 - 3.0.23 SID/group error?? Won't connect.
From: Gerald (Jerry) Carter [EMAIL PROTECTED] david rankin wrote: OK, Help, what am I doing wrong with the patch?? How do is get the patch installed? Here is what I did that didn't work. run the following commands $ wget \ http://www.samba.org/~jerry/patches/samba-3.0.23b-lookup_name_smbconf_v2.patch $ tar zxvf samba-3.0.23b.tar.gz $ cd samba-3.0.23b All done, that's how I compiled it from source the first time. $ patch -p1 ../samba-3.0.23b-lookup_name_smbconf_v1.patch $ cd source $ make proto $ make I must be having a really really bad day [EMAIL PROTECTED] samba-3.0.23b]# patch -p1 ../samba-3.0.23b-lookup_name_smbconf_v1.patch patching file source/auth/auth_util.c Hunk #1 FAILED at 1052. 1 out of 1 hunk FAILED -- saving rejects to file source/auth/auth_util.c.rej patching file source/include/smb.h Hunk #1 FAILED at 272. 1 out of 1 hunk FAILED -- saving rejects to file source/include/smb.h.rej patching file source/passdb/lookup_sid.c Hunk #1 FAILED at 120. Hunk #2 FAILED at 300. 2 out of 2 hunks FAILED -- saving rejects to file source/passdb/lookup_sid.c.rej patching file source/passdb/pdb_interface.c Hunk #1 FAILED at 1532. 1 out of 1 hunk FAILED -- saving rejects to file source/passdb/pdb_interface.c.rej patching file source/smbd/service.c Hunk #1 FAILED at 443. 1 out of 1 hunk FAILED -- saving rejects to file source/smbd/service.c.rej patching file source/smbd/share_access.c Hunk #1 FAILED at 94. Hunk #2 FAILED at 108. 2 out of 2 hunks FAILED -- saving rejects to file source/smbd/share_access.c.rej Go Figure??? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.20 - 3.0.23 SID/group error?? Won't connect.
Gerry, all: HELP! On mandriva, I compiled samba from source and got it running, but I cannot connect from windows. (see my post from earlier [Samba] Compiling and Configuring Samba for Mandrival) I think this relates to the group/SID changes discussed in the release notes. However, I'm not smart enough to figure it out. The tarball compiled and installed fine. It appears to run fine, it just wont take the lookup_name: Unix Group\ochiltree = Unix Group (domain), ochiltree (name) handshake for some reason. The samba tests work fine until: querying __SAMBA__ on 192.168.7.15 192.168.7.15 __SAMBA__00 [EMAIL PROTECTED]:~ nmblookup -B rankin-p35 '*' querying * on 192.168.7.98 name_query failed to find name * [EMAIL PROTECTED]:~ nmblookup -d 2 '*' added interface ip=192.168.7.90 bcast=192.168.7.255 nmask=255.255.255.0 querying * on 192.168.7.255 Got a positive name query response from 192.168.7.15 ( 192.168.7.15 ) 192.168.7.15 *00 [EMAIL PROTECTED]:~ smbclient //bonza/office Password: Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23b] tree connect failed: NT_STATUS_ACCESS_DENIED I have attached a level 10 debug if that will help. This is a standalone server. Right now I am running on 3.0.20 after saving myself with a make revert Gotta love it... What should I do/check/read to find out how to get 3.0.23 to allow my clients to connect??? Any help is appreciated.. I think the problems come in at this point: [2006/08/10 10:11:26, 5] auth/auth.c:check_ntlm_password(296) check_ntlm_password: PAM Account for user [david] succeeded [2006/08/10 10:11:26, 2] auth/auth.c:check_ntlm_password(309) check_ntlm_password: authentication for user [david] - [david] - [david] succeeded [2006/08/10 10:11:26, 5] auth/auth_util.c:free_user_info(1816) attempting to free (and zero) a user_info structure [2006/08/10 10:11:26, 10] auth/auth_util.c:free_user_info(1820) structure was created for david [2006/08/10 10:11:26, 3] lib/privileges.c:get_privileges(261) get_privileges: No privileges assigned to SID [S-1-5-21-3406342033-1696486390-100470924-2002] [2006/08/10 10:11:26, 3] lib/privileges.c:get_privileges(261) get_privileges: No privileges assigned to SID [S-1-5-21-3406342033-1696486390-100470924-2003] [2006/08/10 10:11:26, 5] lib/privileges.c:get_privileges_for_sids(459) get_privileges_for_sids: sid = S-1-1-0 Privilege set: SE_PRIV 0x0 0x0 0x0 0x0 (snip) [2006/08/10 10:11:26, 10] passdb/lookup_sid.c:lookup_name(65) lookup_name: Unix Group\ochiltree = Unix Group (domain), ochiltree (name) [2006/08/10 10:11:26, 10] smbd/share_access.c:user_ok_token(208) User david not in 'valid users' [2006/08/10 10:11:26, 2] smbd/service.c:make_connection_snum(571) user 'david' (from session setup) not permitted to access this share (office) [2006/08/10 10:11:26, 3] smbd/error.c:error_packet(146) error packet at smbd/reply.c(676) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED I am certainly a member of group 'ochiltree', so I'm not sure where to go from here. Help? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.20 - 3.0.23 SID/group error?? Won't connect.
getsampwent (smbpasswd) Got deborah from pwnam_cache pdb_getsampwent getsmbfilepwent endsmbfilepwent_internal david deborah nemesis:/home/david/Documents # net groupmap list | cut -d\( -f1 nemesis:/home/david/Documents # -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 www.rankinlawfirm.com - Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: david rankin [EMAIL PROTECTED] Cc: samba samba@lists.samba.org Sent: Thursday, August 10, 2006 5:44 PM Subject: Re: [Samba] 3.0.20 - 3.0.23 SID/group error?? Won't connect. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 david, HELP! On mandriva, I compiled samba from source and got it running, but I cannot connect from windows. (see my post from earlier [Samba] Compiling and Configuring Samba for Mandrival) [EMAIL PROTECTED]:~ smbclient //bonza/office Password: Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23b] tree connect failed: NT_STATUS_ACCESS_DENIED ... I have attached a level 10 debug if that will help. This is a standalone server. Attachments get stripped from the list. I need your smb.conf, a level 10 debug log from smbd, and output from the following tow commands * pdbedit -L -w | cut -d: -f1 * net groupmap list | cut -d\( -f1 cheers, jerry = Samba--- http://www.samba.org Centeris --- http://www.centeris.com What man is a man who does not make the world better? --Balian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE27a4IR7qMdg1EfYRAu97AKDeKIT8n0t/7Z9gRxzIXMfjjVnz6QCglGzx G/dFUy92rL2FdHw3eJ0z104= =wDgQ -END PGP SIGNATURE- -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.9/416 - Release Date: 8/10/06 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.9/416 - Release Date: 8/10/06 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.20 - 3.0.23 SID/group error?? Won't connect.
Oops, I sent log.dcrlaptop, here is the log.smbd: 0064 mask: 000f01ff [2006/08/10 18:51:21, 8] rpc_parse/parse_prs.c:prs_debug(84) 68 smb_io_dom_sid trustee [2006/08/10 18:51:21, 5] rpc_parse/parse_prs.c:prs_uint8(615) 0068 sid_rev_num: 01 [2006/08/10 18:51:21, 5] rpc_parse/parse_prs.c:prs_uint8(615) 0069 num_auths : 02 [2006/08/10 18:51:21, 5] rpc_parse/parse_prs.c:prs_uint8(615) 006a id_auth[0] : 00 [2006/08/10 18:51:21, 5] rpc_parse/parse_prs.c:prs_uint8(615) 006b id_auth[1] : 00 [2006/08/10 18:51:21, 5] rpc_parse/parse_prs.c:prs_uint8(615) 006c id_auth[2] : 00 [2006/08/10 18:51:21, 5] rpc_parse/parse_prs.c:prs_uint8(615) 006d id_auth[3] : 00 [2006/08/10 18:51:21, 5] rpc_parse/parse_prs.c:prs_uint8(615) 006e id_auth[4] : 00 [2006/08/10 18:51:21, 5] rpc_parse/parse_prs.c:prs_uint8(615) 006f id_auth[5] : 05 [2006/08/10 18:51:21, 5] rpc_parse/parse_prs.c:prs_uint32s(991) 0070 sub_auths : 0020 0220 [2006/08/10 18:51:21, 5] rpc_parse/parse_prs.c:prs_uint16(675) 0062 size : 0018 [2006/08/10 18:51:21, 5] rpc_parse/parse_prs.c:prs_uint16(675) 0016 size : 0064 [2006/08/10 18:51:21, 10] registry/reg_db.c:regdb_store_values(593) regdb_store_values: Looking for value of key [HKLM\SYSTEM\CurrentControlSet\Services\RemoteRegistry\Security] [2006/08/10 18:51:21, 10] registry/reg_db.c:regdb_close(279) regdb_close: decrementing refcount (2) [2006/08/10 18:51:21, 10] registry/reg_db.c:regdb_open(248) regdb_open: incrementing refcount (2) [2006/08/10 18:51:21, 7] registry/reg_frontend.c:regkey_open_internal(359) regkey_open_internal: name = [HKLM\SYSTEM\CurrentControlSet\Services\WINS] [2006/08/10 18:51:21, 10] registry/reg_cachehook.c:reghook_cache_find(95) reghook_cache_find: Searching for keyname [/HKLM/SYSTEM/CurrentControlSet/Services/WINS] [2006/08/10 18:51:21, 10] lib/adt_tree.c:pathtree_find(341) pathtree_find: Enter [/HKLM/SYSTEM/CurrentControlSet/Services/WINS] [2006/08/10 18:51:21, 10] lib/adt_tree.c:pathtree_find(413) pathtree_find: Exit [2006/08/10 18:51:21, 5] registry/reg_frontend.c:registry_access_check(59) registry_access_check: using root's token [2006/08/10 18:51:21, 10] lib/util_seaccess.c:se_access_check(233) se_access_check: requested access 0x000f003f, for NT token with 5 entries and first sid S-1-5-21-3437134916-4280677633-2819608606-1000. [2006/08/10 18:51:21, 3] lib/util_seaccess.c:se_access_check(250) [2006/08/10 18:51:21, 3] lib/util_seaccess.c:se_access_check(251) se_access_check: user sid is S-1-5-21-3437134916-4280677633-2819608606-1000 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 se_access_check: ACE 0: type 0, flags = 0x00, SID = S-1-1-0 mask = 20019, current desired = f003f se_access_check: ACE 1: type 0, flags = 0x00, SID = S-1-5-32-544 mask = f003f, current desired = d0026 [2006/08/10 18:51:21, 5] lib/util_seaccess.c:se_access_check(308) se_access_check: access (f003f) granted. [2006/08/10 18:51:21, 10] registry/reg_db.c:regdb_store_values(593) regdb_store_values: Looking for value of key [HKLM\SYSTEM\CurrentControlSet\Services\WINS] [2006/08/10 18:51:21, 10] registry/reg_db.c:regdb_close(279) regdb_close: decrementing refcount (2) [2006/08/10 18:51:21, 10] registry/reg_db.c:regdb_open(248) regdb_open: incrementing refcount (2) [2006/08/10 18:51:21, 7] registry/reg_frontend.c:regkey_open_internal(359) regkey_open_internal: name = [HKLM\SYSTEM\CurrentControlSet\Services\WINS\Security] [2006/08/10 18:51:21, 10] registry/reg_cachehook.c:reghook_cache_find(95) reghook_cache_find: Searching for keyname [/HKLM/SYSTEM/CurrentControlSet/Services/WINS/Security] [2006/08/10 18:51:21, 10] lib/adt_tree.c:pathtree_find(341) pathtree_find: Enter [/HKLM/SYSTEM/CurrentControlSet/Services/WINS/Security] [2006/08/10 18:51:21, 10] lib/adt_tree.c:pathtree_find(413) pathtree_find: Exit [2006/08/10 18:51:21, 5] registry/reg_frontend.c:registry_access_check(59) registry_access_check: using root's token [2006/08/10 18:51:21, 10] lib/util_seaccess.c:se_access_check(233) se_access_check: requested access 0x000f003f, for NT token with 5 entries and first sid S-1-5-21-3437134916-4280677633-2819608606-1000. [2006/08/10 18:51:21, 3] lib/util_seaccess.c:se_access_check(250) [2006/08/10 18:51:21, 3] lib/util_seaccess.c:se_access_check(251) se_access_check: user sid is S-1-5-21-3437134916-4280677633-2819608606-1000 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 se_access_check: ACE 0: type 0, flags = 0x00, SID = S-1-1-0 mask = 20019, current desired = f003f se_access_check: ACE 1: type 0, flags = 0x00, SID = S-1-5-32-544 mask = f003f, current desired = d0026
[Samba] Please Make 3.0.23a SuSE .rpms available
Jerry, Lars, all: Can you repost the 3.0.23a rpms for SuSE 10. I am dead in the water after installing 3.0.23b. I would like to reload 3.0.23a to get things back to normal. If anybody else has a link I would use, I'd be very thankful. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 www.rankinlawfirm.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.9/416 - Release Date: 8/10/06 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Please Make 3.0.23a SuSE .rpms available
- Original Message - From: David Rankin [EMAIL PROTECTED] To: Samba samba@lists.samba.org Sent: Thursday, August 10, 2006 8:19 PM Subject: [Samba] Please Make 3.0.23a SuSE .rpms available Jerry, Lars, all: Can you repost the 3.0.23a rpms for SuSE 10. I am dead in the water after installing 3.0.23b. I would like to reload 3.0.23a to get things back to normal. If anybody else has a link I would use, I'd be very thankful. PLEASE DISREGARD. I compiled 3.0.23a from source and it is working fine again!! There is definately a 3.0.23b standalone server sid/group problem. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 www.rankinlawfirm.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.9/416 - Release Date: 8/10/06 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.20 - 3.0.23 SID/group error?? Won't connect.
From: Gerald (Jerry) Carter [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 david, HELP! On mandriva, I compiled samba from source and got it running, but I cannot connect from windows. (see my post from earlier [Samba] Compiling and Configuring Samba for Mandrival) [EMAIL PROTECTED]:~ smbclient //bonza/office Password: Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23b] tree connect failed: NT_STATUS_ACCESS_DENIED ... I have attached a level 10 debug if that will help. This is a standalone server. Attachments get stripped from the list. I need your smb.conf, a level 10 debug log from smbd, and output from the following tow commands * pdbedit -L -w | cut -d: -f1 * net groupmap list | cut -d\( -f1 Jerry, There is definately something amiss with 3.0.23b. After I installed the 3.0.23b binaries on SuSE 10 at home, and I could not connect to any share except my home share. (I had deleted the 3.0.23a binaries before the 3.0.23b install -- never again...) This was the same problem I saw with 3.0.23b on mandriva 2005le at work -- that initially started this thread. Anyway, in a panic, I simple got the 3.0.23a tarball and compiled it as a test on the SuSE 10 box to see if the problem was really the 3.0.23b release. It was! This is a problem unique to 3.0.23b. 3.0.23a compiled and installed without a hitch. Now all my shares are accessable again! I didn't even have to reboot the windows clients, they just started connecting and playing nicely with samba again. I've already sent you my level 10 debug, smb.conf and the output you requested above from my SuSE 10 box. Let me know if I can send you anything else to help with this problem. If you need the mandriva info, just let me know. I can just hear the screams going out across the corporate world as 23b gets installed -- at least on standalone servers. Both my mandriva and suse systems are presently such that I can install 23b with a simple 'make install' and get back to a working config with 'make revert' so let me know if you want me to send anything else. I'm not smart enough to know what the difference between 23a and 23b is or why it is causing a problem, but I can confirm the problem. I have installed 23a from rpm and compiled it by hand and it works great. I have installed 23b from rpm and compiled it by hand and I can only connect to my home share -- all other shares fail miserably. Good luck, just put another pot of coffee on. Don't worry, I'm sure it's just a stray comma, semicolon, typo or typecast somewhere in the middle of 764,532 lines of source.. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 www.rankinlawfirm.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.9/416 - Release Date: 8/10/06 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compiling and Configuring Samba for Mandrival
Wait, stop! While all of the following information is correct, I am having problems with 3.0.23b. 3.0.23a works just fine. Before installing 3.0.23b, see the thread [Samba] 3.0.20 - 3.0.23 SID/group error?? Won't connect. From: David Rankin [EMAIL PROTECTED] Mates, Since nobody is building binaries for mandriva, I thought I would share a quick cheat sheet for those who want to compile from source to update 10.2 from 3.20 to 3.23. Here goes: 1.Download samba-3.0.23b.tar.gz to your local machine (a given...) 2.Unzip it: tar xzvf samba-3.0.23b.tar.gz 3.Change to the source directory: cd samba-3.0.23b/source/ 4.Make sure you are root: su root (enter root password) 5.run: ./autogen.sh see (http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html) 6.Now you need to configure the makefile. This is simple, the only pain in the butt is making sure you have the right configure parameters for Mandriva to keep the various pieces of samba from being scattered all over your disto. (i.e. smb.conf in /usr/lib ???) simply run: ./configure --prefix=/usr --infodir=/usr/share --mandir=/usr/share --with-co nfigdir=/etc/samba and the pieces will get placed in the right places. 7.run: make 8.run: make install (this completes the install) 9.now restart samba: /etc/rc.d/init.d/smb restart 10. You should be up and running with the new samba release! If samba fails to start and you are in a panic, simply issue: make revert and then /etc/rc.d/init.d/smb restart and your old version of samba will be restored! (it really works) That's it, hope it helps some other poor Mandrival user. If I missed a step, it is only because it is late. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 www.rankinlawfirm.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.9/416 - Release Date: 8/10/06 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.20 - 3.0.23 SID/group error?? Won't connect.
From: Gerald (Jerry) Carter [EMAIL PROTECTED] david, HELP! On mandriva, I compiled samba from source and got it running, but I cannot connect from windows. (see my post from earlier [Samba] Compiling and Configuring Samba for Mandrival) [EMAIL PROTECTED]:~ smbclient //bonza/office Password: Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23b] tree connect failed: NT_STATUS_ACCESS_DENIED ... I have attached a level 10 debug if that will help. This is a standalone server. Attachments get stripped from the list. I need your smb.conf, a level 10 debug log from smbd, and output from the following tow commands * pdbedit -L -w | cut -d: -f1 * net groupmap list | cut -d\( -f1 Jerry, I went back and compiled 23a from source on my Mandriva 2005le box at work. I have now confirmed on the Mandriva box that 23a works great!, 23b give me the problems described above. [EMAIL PROTECTED] source]$ smbclient -U% -L localhost Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23a] Sharename Type Comment - --- office Disk Shared Office Files rankin Disk Rankin Law Firm PLLC allen Disk T Stefan Allen bertin Disk Darren Bertin guilloryDisk David Guillory jointcases Disk Joint Client Files lawtoolsDisk Case Development - Summation forms Disk Shared Forms and Briefs computerDisk Computer Drivers and Software closed Disk Closed Case Files print$ Disk pdf-gen Printer PDF Generator (only valid users) IPC$IPC IPC Service (Samba Server 3.0.23a) Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.23a] Server Comment ---- BONZASamba Server 3.0.23a CW-DESK cynthia desktop DARREN-XPDarren-XP LISHALisha RANKIN-P35 P35-S629 Laptop RECEPTIONDell 2400 2.6 GHz SECRETARYFront Office TSA-LAPTOP stefan laptop WorkgroupMaster ---- RB_LAW BONZA [EMAIL PROTECTED] source]$ smbclient //bonza/rankin Password: Domain=[BONZA] OS=[Unix] Server=[Samba 3.0.23a] smb: \ dir . D0 Thu Aug 10 12:28:31 2006 .. D0 Mon Jul 17 16:49:17 2006 accounting D0 Thu Aug 10 16:46:30 2006 clients D0 Tue Aug 8 15:23:00 2006 investigation D0 Thu Mar 9 14:53:13 2006 LLC D0 Thu Feb 16 12:03:40 2006 office D0 Tue Jun 6 15:07:08 2006 pllc.docA 6364 Thu Feb 5 12:02:48 2004 tbpeD0 Wed Oct 12 12:28:08 2005 FAA Letter.doc A38912 Tue Nov 1 19:34:47 2005 clients_rejectedD0 Fri Mar 3 09:17:06 2006 clients_potential D0 Mon Jun 12 10:05:32 2006 54209 blocks of size 2097152. 41776 blocks available 3.0.23b won't let me do this Back for another cup of coffee. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 www.rankinlawfirm.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.9/416 - Release Date: 8/10/06 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Compiling and Configuring Samba for Mandrival
Mates, Since nobody is building binaries for mandriva, I thought I would share a quick cheat sheet for those who want to compile from source to update 10.2 from 3.20 to 3.23. Here goes: 1.Download samba-3.0.23b.tar.gz to your local machine (a given...) 2.Unzip it: tar xzvf samba-3.0.23b.tar.gz 3.Change to the source directory: cd samba-3.0.23b/source/ 4.Make sure you are root: su root (enter root password) 5.run: ./autogen.sh see (http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html) 6.Now you need to configure the makefile. This is simple, the only pain in the butt is making sure you have the right configure parameters for Mandriva to keep the various pieces of samba from being scattered all over your disto. (i.e. smb.conf in /usr/lib ???) simply run: ./configure --prefix=/usr --infodir=/usr/share --mandir=/usr/share --with-co nfigdir=/etc/samba and the pieces will get placed in the right places. 7.run: make 8.run: make install (this completes the install) 9.now restart samba: /etc/rc.d/init.d/smb restart 10. You should be up and running with the new samba release! If samba fails to start and you are in a panic, simply issue: make revert and then /etc/rc.d/init.d/smb restart and your old version of samba will be restored! (it really works) That's it, hope it helps some other poor Mandrival user. If I missed a step, it is only because it is late. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 www.rankinlawfirm.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.8/415 - Release Date: 8/9/06 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Anybody building Mandriva rpms?
Mates, Mandriva binaries for 2005LE have not been built since Sept. 2005. Is anyone maintaining them? Lars does a fantastic job for SuSE. We need another Lars for Mandriva.. Any thoughts? My SuSE boxes are all up to date, but my Mandrake boxes are many releases behind -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Anybody building Mandriva rpms?
Thanks Gemes: Gerry, do you have any additional info on this??? -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 www.rankinlawfirm.com - Original Message - From: Gémes Géza [EMAIL PROTECTED] To: david rankin [EMAIL PROTECTED] Cc: samba samba@lists.samba.org Sent: Wednesday, July 19, 2006 4:01 PM Subject: Re: [Samba] Anybody building Mandriva rpms? david rankin Ãrta: Mates, Mandriva binaries for 2005LE have not been built since Sept. 2005. Is anyone maintaining them? Lars does a fantastic job for SuSE. We need another Lars for Mandriva.. Any thoughts? My SuSE boxes are all up to date, but my Mandrake boxes are many releases behind -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com If I remember Buchan Millne was the maintainer of the samba packages, and he did a great job, at least until autumn, when I said goodbye to Mandriva boxes, switching to Debian. Good luck! Geza -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/391 - Release Date: 7/18/06 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/391 - Release Date: 7/18/06 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Cannot write over root owned file
From: Larry Alkoff [EMAIL PROTECTED] david rankin wrote: From: Larry Alkoff [EMAIL PROTECTED] david rankin wrote: From: Larry Alkoff [EMAIL PROTECTED] If you have security = share it looks to me like everyone would see the samba icon but could not access it since they didn't have the password (and maybe 'valid user = david' would prevent access also). Or did you mean 'access the samba share' by see? I have security=share, and Yes I meant 'see' the share. browseable=no takes care of that. [samba] comment = Base Samba Share path = /home/samba valid users = david force user = david force group = ochiltree admin users = david browseable = no writeable = Yes inherit permissions = yes What I've worked out is to mount tillie in my smbmt script with the line: smbmount //tillie/all /mnt/tillie which picks up the $USER. So if I run the script as $USER=root I'm root, otherwise a user even though my $UID=0 when I su to run the script and smbmount. I wish there was some way to su into a share but haven't seen it yet. Well for me, its fire up PuTTy; www.chiark.greenend.org.uk/~sgtatham/putty/ ssh server, log in as me, su and you are in. I haven't done much PuTTy yet. At this point I'm trying to access all shares from the Linux boxes. I'm on a compaign to eliminate all Windows computers from my house except one or two, including changing out my wife's to a Mac. Most of my computing time is spent at one Linux box and I only access the Windows boxen by cli to transfer a few files and to backup. Ok, I think I understand now. You were smbmounting the windows boxes on your linux box and then from your linux box using the cli to do what you needed to do on the windows shares, right? I'm no expert on this, but I think you have found also found the answer, So if I run the script as $USER=root I'm root. From man smbmount: username=arg specifies the username to connect as. If this is not given, then the environment variable USER is used. This option can also take the form user%password or user/workgroup or user/work- group%password to allow the password and workgroup to be speci- fied as part of the username. So what you want is: smbmount //tillie/all /mnt/tillie -o username=root; which I presume you would have to be root to do. Using su to execute some commands has always been problematic where the command being issues relies on evironment variables. cron is a good example. I think the user environment as seen by smbmount was what was biting you in this case. Others with far more knowledge than I may want to weigh in or add more detail if required. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] printer admin deprecated: please explain
From: Gerald (Jerry) Carter [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Franz Pfoertsch wrote: I am Running a printserver using SLES9 SP3 with Samba 3.0.20b and cups 1.1.20 Since the update to Samba 3.0.20 every start of a client program tells me WARNING: The printer admin option is deprecated Ok, I understood I should use net rpc rights grant User or Group SePrintOperatorPrivilege -U .. But I haven't any adminuser to grant this rights. Either root or a Domain Admin is able to grant rights. Hmm... Herr Jerry, what causes this? [EMAIL PROTECTED]:~ smbclient -U% -L localhost WARNING: The printer admin option is deprecated Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.20b-3.3-SUSE] -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Cannot write over root owned file
From: Larry Alkoff [EMAIL PROTECTED] However, when I tried to copy over a root owned file, first as su and then as su -, the operation failed. Why can't I copy over a root owned file when I'm root? I also noticed that, when I touched as su or su -, I could create the file but in each case owner was lba:users. However, when I did the same touch within my own file system, the file owner became root. I smbmounted the share with a simple _root_ script containing: smbmount //tillie/all /mnt/tillie -o uid=0 Shouldn't that have given me root priviledges? Which leads to the question, how do I act as root on a samba share? Or perhaps the question is how do I become root on the share? Is sharing as root okay or is it bad practice? Why? Larry, in your smb.conf, try this: valid users = you force user = root force group = root admin users = you I believe if you just set admin users = whoever, that will force the user and group to root by default. It has been a while since I played with this, but I still use it and it works... Aside: Next time you are at the Salt Lick in Driftwood, don't forget to order the blueberry cobbler and vanilla ice cream desert. Yes, after the family style all you can eat, it will hurt, but it is worth it... -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Cannot write over root owned file
From: Larry Alkoff [EMAIL PROTECTED] david rankin wrote: From: Larry Alkoff [EMAIL PROTECTED] Which leads to the question, how do I act as root on a samba share? Or perhaps the question is how do I become root on the share? Is sharing as root okay or is it bad practice? Why? Larry, in your smb.conf, try this: valid users = you force user = root force group = root admin users = you I believe if you just set admin users = whoever, that will force the user and group to root by default. It has been a while since I played with this, but I still use it and it works... I'm a little hesitant to access a share with full root access all the time. Do you consider this safe? Yes, it's safe as long and you don't go wild hitting the [del] key in a willie-nillie fashion. What I usually do that masks this from all users except me is to create the user shares say: /home/samba/office /home/samba/forms /home/samba/jointcase Then for my use I include an additional share for my use only which give me root access to all share data; and that also hides the share from all users. YMMV, but it works for me. [samba] comment = Base Samba Share path = /home/samba valid users = david force user = david force group = ochiltree admin users = david browseable = no writeable = Yes inherit permissions = yes What I've worked out is to mount tillie in my smbmt script with the line: smbmount //tillie/all /mnt/tillie which picks up the $USER. So if I run the script as $USER=root I'm root, otherwise a user even though my $UID=0 when I su to run the script and smbmount. I wish there was some way to su into a share but haven't seen it yet. Well for me, its fire up PuTTy; www.chiark.greenend.org.uk/~sgtatham/putty/ ssh server, log in as me, su and you are in. Aside: Next time you are at the Salt Lick in Driftwood, don't forget to order the blueberry cobbler and vanilla ice cream desert. Yes, after the family style all you can eat, it will hurt, but it is worth it... Ahh, Salt Lick. I live close by, off Camp Ben Macoulough Rd about two miles from Hwy 290 West so I've been there more times than is good for me g Come to town some town and I'll treat you. I'm in the book. You are on! Both grand parents lived in Austin. 1807 Pearl, and the other in Jonestown on lake Travis. Ahh the days, the hike-n-bike, the lake, chasing squirrels with bb guns in Pease Park, Barton Springs (before it was topless), Town Lake. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] How do I create the samba user
From: Adam Nielsen [EMAIL PROTECTED] [2006/01/23 23:05:46, 1] smbd/service.c:make_connection_snum(415) Couldn't find user samba Usually I would've though that this would only happen when you connect as a guest - there's a 'map to guest' option that lets you change the user Samba uses, I usually set it to 'nobody'. As an alternative you could just create the Samba user, but rather than choosing a difficult password just make it so the user can't log in, like the user 'nobody'. If your adding a new user, why not (as root): (1) useradd username (2) passwd username (type the password) (3) smbpasswd -a username (type same password) If you already have the unix account for the user, just do step (3) above, then samba will be happy. Also, if you use the same username/password in windows, authentication is automatic.. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP to Samba printer access delay
Sorry for the top post, but, in XP try: (1) regedit, then (2) HKEY_CURRENT_USER\Printers\DevModePerUser (delete all printers of the form \\machine\printer) (3) HKEY_CURRENT_USER\Printers\DevModes2 (delete all printers of the form \\machine\printer) try properties again. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: Andriy Rysin [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Wednesday, January 11, 2006 10:47 PM Subject: [Samba] XP to Samba printer access delay Hi all, I've got a question, may be somebody can help me: 1. I've got a printer (Epson Stylus Photo R220) 2. Attached to Linux box via usb (Mandriva 2006+) 3. Configured with cups (cups-1.2.0-0.4892.1mdk) 4. Shared with samba (samba-server-3.0.21a-1mdk), user - tried guest and real linux user 5.On WinXP native driver install from CD (later updated from Espon site) 6.From WinXP I can see the printer and can print ok, except one thing: 7.Every time when I open properties of the printer, print preview, every page of the print wizard etc... I have a big delay (1st could up to 1min), during which WiFi card is blinking hard but network throughput is far from reaching the limit of 802.11g I tried to turn on debuggin on samba but even at level 3 it gives about 1.5-2 Mb of logs for each such delay, though that log info did not help me to find the source of the problem. Part of the log (the rest of the megabytes are almost the same pattern) and config is listed below. I also tried to turn off bidirectional option in the printer properties on XP but that did not help. Thanks in advance, Andriy P.S. myWinXpBox.log Transaction 10152 of length 63 switch message SMBreadX (pid 12820) conn 0x803f5088 change_to_user: Skipping user change - already user search for pipe pnum=72d7 readX-IPC pnum=72d7 min=4280 max=4280 nread=4280 Transaction 10153 of length 63 switch message SMBreadX (pid 12820) conn 0x803f5088 change_to_user: Skipping user change - already user search for pipe pnum=72e5 readX-IPC pnum=72e5 min=4280 max=4280 nread=4280 Transaction 10154 of length 63 switch message SMBreadX (pid 12820) conn 0x803f5088 change_to_user: Skipping user change - already user search for pipe pnum=72d7 readX-IPC pnum=72d7 min=4280 max=4280 nread=4280 smb.conf ... printcap name = cups load printers = yes # printcap cache time, so samba will automatically load new cups printers printcap cache time = 60 # It should not be necessary to spell out the print system type unless # yours is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx, cups printing = cups ... security = user ... [printers] comment = All Printers path = /var/spool/samba browseable = yes # to allow user 'guest account' to print. guest ok = yes writable = no printable = yes create mode = 0700 # = # print command: see above for details. # = print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. # print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients). -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [SLE] SuSE 9.3 and Latest Binaries - Library Conflict [solved]
I don't know what happened or changed, but I downloaded the binaries again fro us4.samba.org and they installed just fine?? Go figure -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: Marcus Meissner [EMAIL PROTECTED] Cc: david rankin [EMAIL PROTECTED]; samba samba@lists.samba.org; Suse Linux suse-linux-e@suse.com Sent: Tuesday, September 13, 2005 9:53 AM Subject: Re: [Samba] Re: [SLE] SuSE 9.3 and Latest Binaries - Library Conflict -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus Meissner wrote: | On Mon, Sep 12, 2005 at 04:30:38PM -0500, david rankin wrote: |Mates, | | Still can't get the latest samba binaries to inatall on SuSE 9.3. I've |downloaded them from the samba site and from |ftp://ftp.primastasys.com/pub/Samba-Packages/ still no joy. The problem is |library related: | | Use the ones from ftp://ftp.suse.com/pub/projects/samba/ These are identical to the ones posted on samba.org Lars maintains both sets last time I checked. cheers, jerry = Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDJufMIR7qMdg1EfYRAob5AKC77chIUaKf+E7I6ZiXmWBlZqvPLwCglo7P +AYpgNayPMdriG9nx5YF50I= =GWVa -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] SuSE 9.3 and Latest Binaries - Library Conflict
Mates, Still can't get the latest samba binaries to inatall on SuSE 9.3. I've downloaded them from the samba site and from ftp://ftp.primastasys.com/pub/Samba-Packages/ still no joy. The problem is library related: nemesis:/home/david/Documents/linux/rpms/samba320 # rpm -Uvh * warning: cifs-mount-3.0.20-0.1.i586.rpm: V3 DSA signature: NOKEY, key ID 414a57c3 error: Failed dependencies: perl-ldap is needed by ldapsmb-1.33-3 liblber.so.2 is needed by libsmbclient3-3.0.20-1 libldap.so.2 is needed by libsmbclient3-3.0.20-1 liblber.so.2 is needed by samba3-3.0.20-1 libldap.so.2 is needed by samba3-3.0.20-1 liblber.so.2 is needed by samba3-client-3.0.20-1 libldap.so.2 is needed by samba3-client-3.0.20-1 libreadline.so.4 is needed by samba3-client-3.0.20-1 libmysqlclient.so.12 is needed by samba3-pdb-3.0.20-1 python 2.3.99 is needed by samba3-python-3.0.20-1 liblber.so.2 is needed by samba3-python-3.0.20-1 libldap.so.2 is needed by samba3-python-3.0.20-1 liblber.so.2 is needed by samba3-winbind-3.0.20-1 libldap.so.2 is needed by samba3-winbind-3.0.20-1 Now in SuSE 9.3, the installed libraries are: [EMAIL PROTECTED]:~/Documents/linux/rpms/samba320 ls /usr/lib/libl* /usr/lib/liblber-2.2.so.7 /usr/lib/libldapcpp.so.0 /usr/lib/liblirc_client.so/usr/lib/libltdl.so.3 /usr/lib/liblber-2.2.so.7.0.16 /usr/lib/libldapcpp.so.0.0.3 /usr/lib/liblirc_client.so.0 /usr/lib/libltdl.so.3.1.1 /usr/lib/liblcms.so.1 /usr/lib/libldap_r-2.2.so.7 /usr/lib/liblirc_client.so.0.0.0 /usr/lib/liblwres.so.1 /usr/lib/liblcms.so.1.0.14 /usr/lib/libldap_r-2.2.so.7.0.16 /usr/lib/libltdl.a/usr/lib/liblwres.so.1.2.2 /usr/lib/libldap-2.2.so.7 /usr/lib/liblirc_client.a /usr/lib/libltdl.la /usr/lib/libldap-2.2.so.7.0.16 /usr/lib/liblirc_client.la /usr/lib/libltdl.so I've contacted Lars about this. Anybody got the binaries to work with 9.3??? Any other thoughts??? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RE: [SLE] SuSE 9.3 and Latest Binaries - Library Conflict
-Original Message- From: david rankin [mailto:[EMAIL PROTECTED] Sent: Mon 9/12/2005 5:30 PM To: samba; Suse Linux Subject: [SLE] SuSE 9.3 and Latest Binaries - Library Conflict Mates, Still can't get the latest samba binaries to inatall on SuSE 9.3. I've downloaded them from the samba site and from ftp://ftp.primastasys.com/pub/Samba-Packages/ still no joy. The problem is library related: nemesis:/home/david/Documents/linux/rpms/samba320 # rpm -Uvh * warning: cifs-mount-3.0.20-0.1.i586.rpm: V3 DSA signature: NOKEY, key ID 414a57c3 error: Failed dependencies: perl-ldap is needed by ldapsmb-1.33-3 liblber.so.2 is needed by libsmbclient3-3.0.20-1 libldap.so.2 is needed by libsmbclient3-3.0.20-1 liblber.so.2 is needed by samba3-3.0.20-1 libldap.so.2 is needed by samba3-3.0.20-1 liblber.so.2 is needed by samba3-client-3.0.20-1 libldap.so.2 is needed by samba3-client-3.0.20-1 libreadline.so.4 is needed by samba3-client-3.0.20-1 libmysqlclient.so.12 is needed by samba3-pdb-3.0.20-1 python 2.3.99 is needed by samba3-python-3.0.20-1 liblber.so.2 is needed by samba3-python-3.0.20-1 libldap.so.2 is needed by samba3-python-3.0.20-1 liblber.so.2 is needed by samba3-winbind-3.0.20-1 libldap.so.2 is needed by samba3-winbind-3.0.20-1 Now in SuSE 9.3, the installed libraries are: [EMAIL PROTECTED]:~/Documents/linux/rpms/samba320 ls /usr/lib/libl* /usr/lib/liblber-2.2.so.7 /usr/lib/libldapcpp.so.0 /usr/lib/liblirc_client.so/usr/lib/libltdl.so.3 /usr/lib/liblber-2.2.so.7.0.16 /usr/lib/libldapcpp.so.0.0.3 /usr/lib/liblirc_client.so.0 /usr/lib/libltdl.so.3.1.1 /usr/lib/liblcms.so.1 /usr/lib/libldap_r-2.2.so.7 /usr/lib/liblirc_client.so.0.0.0 /usr/lib/liblwres.so.1 /usr/lib/liblcms.so.1.0.14 /usr/lib/libldap_r-2.2.so.7.0.16 /usr/lib/libltdl.a/usr/lib/liblwres.so.1.2.2 /usr/lib/libldap-2.2.so.7 /usr/lib/liblirc_client.a /usr/lib/libltdl.la /usr/lib/libldap-2.2.so.7.0.16 /usr/lib/liblirc_client.la /usr/lib/libltdl.so I've contacted Lars about this. Anybody got the binaries to work with 9.3??? Any other thoughts??? - Original Message - From: Marlier, Ian [EMAIL PROTECTED] Have you looked at the latest RPMs for SuSE, from ftp://ftp.suse.com/pub/projects/samba/ ? Yes, I downloaded them and tried the install with the same result. They've worked like a charm for me, thus far (revision after revision, a simple rpm -U * seems to work...) Hmm.. Lucky you. I'm not so lucky. Here is the problem. The 9.3 binaries from (1) the samba site; (2) ftp.primastasys.com/pub/Samba-Packages and from ftp.suse.com/pub/projects/samba/ are all looking for the following files to satisfy dependancies: liblber.so.2 is needed by libsmbclient3-3.0.20-1 libldap.so.2 is needed by libsmbclient3-3.0.20-1 I don't and those libraries. That is the problem. I have: /usr/lib/liblber-2.2.so.7 /usr/lib/libldap-2.2.so.7 It may be a glibc problem, I dunno. The so.2 libraries were present in suse 8.2-9.0 according to google. Anybody else got any thoughts?? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SuSE 9.3 samba binaries FUBAR??
- Original Message - From: John H Terpstra [EMAIL PROTECTED] David, What is the source of your samba RPM packages? Did you obtain the correct one for each SuSE Linux platform? The binary files are very specific to each release and can not be installed across releases. With each SuSE Linux release come later generation libraries. Samba will be linked with the version of those libraries on the machine on which it has been compiled. You can obtain Samba packages that were built for SuSE 9.3 from: ftp://ftp.primastasys.com/pub/Samba-Packages/ The i586 packages are in the directory SuSE93i586, the 64-bit packages for AMD Athalon 64, AMD Opteron 64, Xeon systems are in the directory, SuSE93x86_64. The packages available there are from SVN build 9663 (post 3.0.20 release). - John T. J.T., I got the binaries from http://us1.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/i386/9.3/ I'll dl the primastasys packages and see if there are any differences. Thanks -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] SuSE 9.3 samba binaries FUBAR??
Mates, I dunno if nobody else is using the samba binaries to put 3.0.20-1 on SuSE 9.3 -- or -- if I'm just doing something stupid, but there seem to be library problems. Specifically, we are getting library errors for the *.so.2 libraries, regardless of whether we try via YAST or RPM. [EMAIL PROTECTED]:~/Documents/linux/rpms/samba320 ll total 19970 -rw-r--r-- 1 david users 60998 2005-09-09 22:24 cifs-mount-3.0.20-0.1.i586.rpm -rwx-- 1 david users 61244 2005-09-09 22:24 ldapsmb-1.33-3.i586.rpm -rwx-- 1 david users 747362 2005-09-09 22:24 libsmbclient3-3.0.20-1.i586.rpm -rwx-- 1 david users 714166 2005-09-09 22:24 libsmbclient3-devel-3.0.20-1.i586.rpm -rwx-- 1 david users 2955213 2005-09-09 22:24 samba3-3.0.20-1.i586.rpm -rwx-- 1 david users 8008179 2005-09-09 22:24 samba3-client-3.0.20-1.i586.rpm -rwx-- 1 david users 72193 2005-09-09 22:24 samba3-pdb-3.0.20-1.i586.rpm -rwx-- 1 david users 5744281 2005-09-09 22:24 samba3-python-3.0.20-1.i586.rpm -rwx-- 1 david users 154476 2005-09-09 22:24 samba3-vscan-0.3.6-1.i586.rpm -rwx-- 1 david users 1892868 2005-09-09 22:24 samba3-winbind-3.0.20-1.i586.rpm nemesis:/home/david/Documents/linux/rpms/samba320 # rpm -Uvh * warning: cifs-mount-3.0.20-0.1.i586.rpm: V3 DSA signature: NOKEY, key ID 414a57c3 error: Failed dependencies: perl-ldap is needed by ldapsmb-1.33-3 liblber.so.2 is needed by libsmbclient3-3.0.20-1 libldap.so.2 is needed by libsmbclient3-3.0.20-1 liblber.so.2 is needed by samba3-3.0.20-1 libldap.so.2 is needed by samba3-3.0.20-1 liblber.so.2 is needed by samba3-client-3.0.20-1 libldap.so.2 is needed by samba3-client-3.0.20-1 libreadline.so.4 is needed by samba3-client-3.0.20-1 libmysqlclient.so.12 is needed by samba3-pdb-3.0.20-1 python 2.3.99 is needed by samba3-python-3.0.20-1 liblber.so.2 is needed by samba3-python-3.0.20-1 libldap.so.2 is needed by samba3-python-3.0.20-1 liblber.so.2 is needed by samba3-winbind-3.0.20-1 libldap.so.2 is needed by samba3-winbind-3.0.20-1 Now in SuSE 9.3, the installed libraries are: [EMAIL PROTECTED]:~/Documents/linux/rpms/samba320 ls /usr/lib/libl* /usr/lib/liblber-2.2.so.7 /usr/lib/libldapcpp.so.0 /usr/lib/liblirc_client.so/usr/lib/libltdl.so.3 /usr/lib/liblber-2.2.so.7.0.16 /usr/lib/libldapcpp.so.0.0.3 /usr/lib/liblirc_client.so.0 /usr/lib/libltdl.so.3.1.1 /usr/lib/liblcms.so.1 /usr/lib/libldap_r-2.2.so.7 /usr/lib/liblirc_client.so.0.0.0 /usr/lib/liblwres.so.1 /usr/lib/liblcms.so.1.0.14 /usr/lib/libldap_r-2.2.so.7.0.16 /usr/lib/libltdl.a/usr/lib/liblwres.so.1.2.2 /usr/lib/libldap-2.2.so.7 /usr/lib/liblirc_client.a /usr/lib/libltdl.la /usr/lib/libldap-2.2.so.7.0.16 /usr/lib/liblirc_client.la /usr/lib/libltdl.so So, it looks like the SuSE 3.0.20-1 libraries are looking for outdated libraries?? I had no trouble installing 3.0.20 on my SuSE 9.0 box, but it is a no-go on the 9.3 box. So, what say the experts -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
- Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mogens Kjaer wrote: | |I am seeing the exact same problem. It first started seeing the | problem after moving to 3.0.20a. I have 3.0.20a running on SuSE 9.0 | and I have the exact printer problems you describe. I am also running | 3.0.13 on Mdk 2005LE and I have *no* problems at all. | | Me Too: | | Server running: | | Redhat 9, samba-2.2.12-0.90.6.legacy:Slow print from XP | Fedora 3, samba-3.0.10-1.fc3:Fast print from XP | Fedora 4, samba-3.0.14a-2:Slow print from XP This is an XP client bug. It has been covered before in the Samba ml archives. You need to clean out the cached devmodes from the HCU portion of the registry on the client machine. Also check network traffic and I expect that you will see a stream of GetPrinterData() requests coming from the client looking up the value for ChangeID In English Jerry ... in English Is this what you are talking about?? Procedure: 1. Edit the registry observing usual caution. 2. Locate the key HKEY_CURRENT_USER\Printers\DevModePerUser 3. Remove all VALUES for Network printers of the form: \print_server_name printer_queue_name 4. Locate the key HKEY_CURRENT_USER\Printers\DevModes2 5. Remove all VALUES for Network printers of the form: \print_server_nameprinter_queue_name Also, the issues described in http://www.24help.info/t310486-samba-xp-bug-client-spooler-loop-ms-kb-329234.html seem to still me lurking around. As you put it, Some old bugs never die I guess. cheers, jerry This one still has some life left in it... The KB article describes the following: When a client opens several network printers that are all on a *single* server and then selects printer properties and preferences on *all these printers at the same time*, the spooler on the client side may not respond as expected. Additionally, the CPU-utilization of the print server may increase and remain high. In this scenario, a network capture shows that the client repeatedly queries the print server for printer properties. A network capture displays the following remote procedure call (RPC) request from the client: MSRPC: c/o RPC Request: call 0x3845 opnum 0x8 context 0x0 hint 0x734 In our case now, the new xp service packs have been installed that were designed to remedy this. I dunno, something is still nuts. I get thousands of packets generated trying to access the printers. It seems to be some kind of loop. Here are the ethereal summary packet lines for 50 packets. Notice the SMB-DCERPC-TCP-TCP-TCP loop: No. TimeSourceDestination Protocol Info 1 0.00192.168.6.14 192.168.6.93 NBSS NBSS Continuation Message 2 0.000132192.168.6.93 192.168.6.14 SMB Read AndX Request, FID: 0x713f, 4280 bytes at offset 0 3 0.001936192.168.6.14 192.168.6.93 SMB Read AndX Response, FID: 0x713f, 4280 bytes 4 0.002445192.168.6.14 192.168.6.93 TCP [Continuation to #3] microsoft-ds 1118 [ACK] Seq=2883 Ack=63 Win=10220 Len=1460 5 0.002460192.168.6.93 192.168.6.14 TCP 1118 microsoft-ds [ACK] Seq=63 Ack=4343 Win=17520 Len=0 6 0.003420192.168.6.14 192.168.6.93 TCP [Continuation to #3] microsoft-ds 1118 [PSH, ACK] Seq=4343 Ack=63 Win=10220 Len=1423 7 0.003509192.168.6.93 192.168.6.14 SMB Read AndX Request, FID: 0x713f, 4280 bytes at offset 0 8 0.005264192.168.6.14 192.168.6.93 SMB Read AndX Response, FID: 0x713f, 2352 bytes 9 0.005619192.168.6.14 192.168.6.93 TCP [Continuation to #8] microsoft-ds 1118 [PSH, ACK] Seq=7226 Ack=126 Win=10220 Len=955 10 0.005639192.168.6.93 192.168.6.14 TCP 1118 microsoft-ds [ACK] Seq=126 Ack=8181 Win=17520 Len=0 11 0.005973192.168.6.93 192.168.6.14 DCERPC Request: call_id: 1742 opnum: 53 ctx_id: 0 12 0.006004192.168.6.93 192.168.6.14 TCP [Continuation to #11] 1118 microsoft-ds [ACK] Seq=1586 Ack=8181 Win=17520 Len=1460 13 0.006026192.168.6.93 192.168.6.14 TCP [Continuation to #11] 1118 microsoft-ds [PSH, ACK] Seq=3046 Ack=8181 Win=17520 Len=1428 14 0.008359192.168.6.14 192.168.6.93 TCP microsoft-ds 1118 [ACK] Seq=8181 Ack=3046 Win=10220 Len=0 15 0.008799192.168.6.14 192.168.6.93 SMB Write AndX Response, FID: 0x713f, 4280 bytes 16 0.008900192.168.6.93 192.168.6.14 DCERPC Request: call_id: 1742 opnum: 53 ctx_id: 0 17 0.008927192.168.6.93 192.168.6.14 TCP [Continuation to #16] 1118 microsoft-ds [ACK] Seq=5934 Ack=8232 Win=17469 Len=1460 18 0.008948192.168.6.93 192.168.6.14 TCP
Re: [Samba] network printer not working
- Original Message - From: py [EMAIL PROTECTED] Hi, I'm trying to setup network printing for my winXP machine using samba. My hp920c printer is connected to a FreeBSD4.11 box. The printer works locally and samba can share directory just fine. However, I am getting the worst possible error -- no error, but nothing gets printed It seems like samba can recognize the printer just fine. It shows up as a network printer that is ready(Earlier on I had some access deny error that went away after adding guest account). When I try to print, everything seems to go through on the windows side. But nothing happens at the printer. I check the printer log file defined in printcap and it's not getting any new entry. any idea? See all the Re: [Samba] Samba Printing Extremely Slow from Windows XP Posts earlier this week... -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
- Original Message - From: Cabbar Duzayak [EMAIL PROTECTED] Hi, I have setup samba server on my linux box (Fedora Core 4 with latest samba, just updated via RHN) and has configured file sharing via samba for this server and connecting to it from my windows xp box. So far, everything works fine and it is very fast. Then, I configured a printer, and shared it via samba. And, I can see+connect to it from Windows XP and can even print. But, everything related to printing is extreemeeely slow on Windows XP, i.e. open notepad - File Menu-Print, and at that point notepad just freezes for couple of minutes, and then brings the printer dialog... Send a print out, it just freezes for a while, then prints out fine. Below is the log file I am getting from Samba, and for some reason it tries to connect to the samba server on Windows XP??? Have no idea what this means, and how I can fix this. Can you please provide any suggestions? Cabbar, I am seeing the exact same problem. It first started seeing the problem after moving to 3.0.20a. I have 3.0.20a running on SuSE 9.0 and I have the exact printer problems you describe. I am also running 3.0.13 on Mdk 2005LE and I have *no* problems at all. That pretty much eliminates the problem being the latest xp patch since I connect with a laptop on both systems and I can print fine under 3.0.13, but I have major slowness with printing under 3.0.20. Ethereal shows some looping that seems to be caused by DCERPC error in the communicatons. Since Bartlett did his thesis on DCERPC, maybe he can shed some light on the issue. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
- Original Message - From: Chris [EMAIL PROTECTED] On Tuesday 06 September 2005 11:16 am, david rankin wrote: after moving to 3.0.20a. I have 3.0.20a running 3.0.20a? Sorry, I meant: [EMAIL PROTECTED]:~ smbclient -U% -L localhost Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.20-SUSE] [EMAIL PROTECTED]:~ rpm -qa | grep samba samba3-pdb-3.0.20-1 yast2-samba-client-2.8.10-3 samba3-python-3.0.20-1 samba3-vscan-0.3.6-1 samba3-doc-3.0.7-1 samba3-client-3.0.20-1 samba3-3.0.20-1 samba3-winbind-3.0.20-1 I've got a's on my brain. That sould be -1 not a -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.7 - NT Create AndX Response, Error:, QUERY_PATH_INFO, Error:
- Original Message - From: Damen, Frank (damenf) [EMAIL PROTECTED] I noticed your comments on the samba web site about the performance issue you were experiencing with the delay in opening files. I am having similar issues when accessing files off the server, I was wondering if you ever found a resolution or cause to the problem. The strange thing is that I have two identical computers and am experiencing the issue only on one. Frank: Is the one you are experiencing problems with a laptop with mapped drives for 2 different servers?? Like home and work?? I had all problems solved in 3.0.14a, but 3.0.20 has brought new challenges with printer support, but file access is flawless. If you are using windows clients make sure you don't have any stray drives mapped that are not mapped to the current server. This drives Samba nuts with the AndX chatter. Also, delete all of the stray network locations under the My Network Places. Also, printers can kill you. If you have a laptop with priters configured for work and home, when you connect at home if your default printer is set for work, this also creates the chatter. I don't fully understand it yet, but by process of elimination I know what makes it better and worse. JT, Gerry: (A follow up to our call JT) I'm looking into this printer deal. I installed 3.0.20-1 on my SuSE 9.0 box and it killed printing to the laserjet 4 attached to lp0 on the SuSE box. What is strange is the clients are dual-boot and if I boot linux, the clients have no problem printing to the lj4 on the suse box. Nothing else changed. No changes to smb.conf or cupsd.conf. (all have been shut down and restarted along with nmb) So it is definately a smb win XP issue -- feels like an authentication issue. Same loop, tcp, smb and dcerp packets. Take XP out of the equation and everything works flawlessly (funny how that works). What is strange is that after the 3.0.20 update, it also killed my pdf-gen on the 9.0 box that is nothing more than a share that passes ps to the ps2pdf13 utility. Any thoughts?? Anything I can send you?? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] HELP - Can't See the Forest for The TREES???
Mates, I have configured samba 100 times, but this time, I'm doing something increadibly stupid that I just cannot see. Please HELP! I'm about to jump.. Background, Old samba sever (nemesis) being replaced with new one (bonza). Both are up and operating. All networking is OK, Name resolution is fine, etc. The problem is that all users can see all the shares on the new machine (bonza) just fine. They can map and browse their home share, but *cannot* browse any of the other shares. I on the other hand, as admin user, can connect and browse the shares just fine. All users have unix accounts and entries in the smbpasswd file. All access groups are set up. All users can run net view \\bonza from the dos prompt and see all shares. The permissions of the shares are: [EMAIL PROTECTED] samba]# ls -l total 36 drw-rw 3 root bertin4096 Aug 13 10:54 bertin/ drw-rw 8 root ochiltree 4096 Aug 11 23:58 closed/ drw-rw 4 root ochiltree 4096 Aug 13 10:47 computer/ drw-rw 34 root ochiltree 4096 Aug 15 22:52 forms/ drw-rw 3 root guillory 4096 Aug 13 10:54 guillory/ drw-rw 5 root ochiltree 4096 Aug 16 23:31 joint/ drw-rw 3 root ochiltree 4096 Aug 13 10:54 office/ drw-rw 3 root rankin4096 Aug 13 10:54 rankin/ drw-rw 3 root ochiltree 4096 Mar 16 17:27 visionary/ Now, here is the problem I encounter with the smbclient test when attempting to connect as another user: [EMAIL PROTECTED] /home]$ smbclient -U% -L bonza Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.13] Sharename Type Comment - --- config Disk Admin Config Share office Disk Shared Office Files rankin Disk Rankin Law Firm PLLC bertin Disk Darren Bertin guilloryDisk David Guillory jointcases Disk Joint Client Files lawtoolsDisk Case Development - Summation forms Disk Shared Forms and Briefs computerDisk Computer Drivers and Software closed Disk Rankin Law Firm PLLC print$ Disk pdf-gen Printer PDF Generator (only valid users) IPC$IPC IPC Service (Samba Server 3.0.13) ADMIN$ IPC IPC Service (Samba Server 3.0.13) Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.13] Server Comment ---- BONZASamba Server 3.0.13 NEMESIS RB_LAW Samba Server 3.0.7 WorkgroupMaster ---- RB_LAW NEMESIS [EMAIL PROTECTED] /home]$ smbclient '\\bonza\rankin' Password: Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.13] tree connect failed: NT_STATUS_BAD_NETWORK_NAME [EMAIL PROTECTED] /home]$ I've even set the share permissions as 0777 and still no joy. This is killing me. I really can't see the forest for the trees. Can anybody see what I'm doing stupidly wrong??? I have worked chapter 12 DIAGNOSIS in Using Samba and I'm still stuck. My smb.conf is shown below. Thank you for any help. Load smb config files from /etc/samba/smb.conf Processing section [homes] Processing section [config] Processing section [office] Processing section [rankin] Processing section [bertin] Processing section [guillory] Processing section [jointcases] Processing section [lawtools] Processing section [forms] Processing section [computer] Processing section [closed] Processing section [printers] Processing section [print$] Processing section [pdf-gen] Global parameter printcap name found in service section! Loaded services file OK. Server role: ROLE_DOMAIN_PDC Press enter to see a dump of your service definitions # Global parameters [global] workgroup = RB_LAW server string = Samba Server %v map to guest = Bad User log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins lmhosts bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups show add printer wizard = No domain logons = Yes dns proxy = No wins server = 192.168.7.14 printer admin = @adm hosts allow = 192.168.7., 127., 66.76.63.120 [homes] comment = Home Directories read only = No browseable = No [config] comment = Admin Config Share path = / valid users = david admin users = david force user = root force group = root read only = No [office] comment = Shared Office Files path = /home/samba/office valid users = @ochiltree admin users = david force group = ochiltree read only = No inherit permissions = Yes [rankin] comment = Rankin Law Firm PLLC path = /home/samba/rankin valid users = @rankin
Re: [Samba] NT_Create_AndX
From: Gerald (Jerry) Carter [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zach Seils wrote: | Hi - | | Is there a way to tell Samba to use the NT_Create_AndX | style of commands (vs SMB_COM_OPEN)? In smbclient ? Not currently. The last time I looked A month or so ago, the SMBOpen was still hard coded. There was an NTcreateX test in there somewhere but it is not used for actually reading/writing files. Jerry, is there any chance that this is related to the MS Office 2003 file-open or file-save dialog NT_Create_AndX errors I'm getting that is causing 30 sec delays in changing directories? I still haven't gotten to the bottom of this, but it is definately Office 2003 related. The users running Office 2000 do not see any of the delays that the 2003 users do. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] NT_Create_AndX
From: Jeremy Allison [EMAIL PROTECTED] On Mon, Apr 11, 2005 at 03:47:59PM -0500, david rankin wrote: From: Gerald (Jerry) Carter [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zach Seils wrote: | Hi - | | Is there a way to tell Samba to use the NT_Create_AndX | style of commands (vs SMB_COM_OPEN)? In smbclient ? Not currently. The last time I looked A month or so ago, the SMBOpen was still hard coded. There was an NTcreateX test in there somewhere but it is not used for actually reading/writing files. Jerry, is there any chance that this is related to the MS Office 2003 file-open or file-save dialog NT_Create_AndX errors I'm getting that is causing 30 sec delays in changing directories? I still haven't gotten to the bottom of this, but it is definately Office 2003 related. The users running Office 2000 do not see any of the delays that the 2003 users do. No, this is a client library issue, not a server one. I thought someone had posted info on Microsoft information on this problem ? Jeremy. Darn! The MS writeup only addresses level II oplock problems and not the delay issue. Any other ideas? Has anybody else posted regarding Office 2003 slowness problems? Were the ethereal dumps I sent of any help? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: JT, Jerry, Chris, Andrew??? Anything new was:Re: [Samba] Extremely slow duringbrowsing some directories
Jerry penned: David, First off could you give 3.0.12rc1 a test. There's been a lot of changes since 3.0.7. Along another path is that it sounds like are having oplock break timeouts. Trying setting 'oplocks = no' in one share just as a temporary test. JT, Jerry, Chris, etc.. I can confirm that the problem I see is Office 2003 related. The AndX and Tans2 problems are unique to the file-open or file-save/save as dialog behavior of the package. XP windows explorer can descend the directories w/o problem. Office 2000 has no problem either. I am not smart enough to tell you what the problem is. The MS 'lack' of knowledge base doesn't address the issue at all (at least that I can find). This is a BIG issue. It takes literally 30 seconds 'per folder' to use the Office 2003 dialogs to get to the folder you need. I don't know how busy you guys are right now, or how pressing this issue is, but when you get a spare moment, it is definately worth a look. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: JT, Jerry, Chris, Andrew??? Anything new was:Re: [Samba] Extremely slow during browsing some directories
Jerry penned: David, First off could you give 3.0.12rc1 a test. There's been a lot of changes since 3.0.7. Along another path is that it sounds like are having oplock break timeouts. Trying setting 'oplocks = no' in one share just as a temporary test. Sure. I'll give load it tomorrow and let you know what I see. For the record, below is my smb.conf (from the mdk 7.2 box). I am seeing this problem on my Mandrake 7.2, Mandrake 10.1 and Suse 9.0 boxes. It is not kernel or distro dependent: Linux Nemesis.rbpllc.com 2.2.19-4.1mdk #1 Mon Apr 9 10:34:05 MDT 2001 i686 unknown Linux bonza.rbpllc.com 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004 i686 AMD Athlon(tm) XP 2800+ unknown Linux skyline 2.4.21-199-default #1 Fri Mar 12 08:27:41 UTC 2004 i586 i586 i386 GNU/Linux # Global parameters [global] workgroup = RB_LAW server string = RB_LAW Samba Server %v encrypt passwords = Yes update encrypted = Yes smb passwd file = /etc/smbpasswd passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *new*password* %n\n *success* passwd chat debug = Yes unix password sync = Yes log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins lmhosts hosts bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 use sendfile = No logon script = %U.bat domain logons = Yes time server = yes os level = 34 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes hosts allow = 192.168.7. localhost 66.76.63.120 load printers = yes printcap name = cups printing = cups [netlogon] comment = Rankin-Bertin logon services path = /home/samba/logon browseable = No [Rankin-Bertin] comment = Rankin-Bertin PLLC path = /home/samba/rbpllc valid users = @rbpllc force group = rbpllc admin users = david writeable = Yes map archive = Yes inherit permissions = Yes [guillory] comment = David Guillory path = /home/samba/guillory valid users = @guillory force group = guillory admin users = david map archive = Yes writeable = Yes inherit permissions = Yes [Bertin] comment = Darren Bertin path = /home/samba/bertin valid users = @bertin force group = bertin admin users = david map archive = Yes writeable = Yes inherit permissions = Yes [Rankin] comment = Rankin Law Firm PLLC path = /home/samba/rankin valid users = @rankin force group = rankin admin users = david writeable = Yes map archive = Yes inherit permissions = Yes [homes] comment = Homes Directory writeable = Yes browseable = No [Applications] comment = Windows Applications path = /home/samba/winapps valid users = @rbpllc,@guillory force group = rbpllc admin users = david writeable = Yes map archive = Yes inherit permissions = Yes [printers] comment = Rankin*Bertin Printers path = /var/spool/samba browseable = no public = yes guest ok = Yes writable = no printer admin = root, sys printable = Yes Any glaring errors that could explain the delay problem?? I'll try .12 and report back -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: david rankin [EMAIL PROTECTED] Cc: samba samba@lists.samba.org Sent: Saturday, March 12, 2005 8:52 AM Subject: Re: JT, Jerry, Chris, Andrew??? Anything new was:Re: [Samba] Extremely slow during browsing some directories -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 david rankin wrote: | John, Jerry, Chris and, yes you too Bartlett (mate): | |Have you thought any more about this problem?? It has been posted under: | Samba errors with smb QUERY_PATH_INFO,Error: STATUS_OBJECT_NAME_NOT_FOUND | | 3.0.7 - NT Create AndX Response, Error:, QUERY_PATH_INFO,Error: cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCMwIgIR7qMdg1EfYRAnaoAKC8+MbUbNJkUDqLkiboucucDcmMRACg11q/ SJ/37+99eSoqRzAubxaw/3I= =6lNz -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
JT, Jerry, Chris, Andrew??? Anything new was:Re: [Samba] Extremely slow during browsing some directories
John, Jerry, Chris and, yes you too Bartlett (mate): Have you thought any more about this problem?? It has been posted under: Samba errors with smb QUERY_PATH_INFO,Error: STATUS_OBJECT_NAME_NOT_FOUND 3.0.7 - NT Create AndX Response, Error:, QUERY_PATH_INFO,Error: Extremely slow during browsing some directories Basically Linwei and myself are having 30 second delays descending directory trees within the file-open dialogs from MS applications. (Yes I know, it's an MS thing, but I thought you guys would want to know) The problem does NOT affect windows explorer, only the MS Office application's file-open function. I've posted the ethereal dump of the communications, but, interpreting what it is telling me is beyond this idiot engineer/lawyer. Anyway, what happens is that if you open say: MS Word, and go to open a file -- and click on the directory list box, the process freezes for 18-30 seconds. That generates the AndX response error, QUERY_PATH_INFO error, etc... Yes, it is MS related, BUT, it only happens on trying to access files on a samba share. No doubt, MS has thrown a wrench into the equation, but we need to understand it and find out how to fix in on our side. The problem is I AINT smart enough to do it on my own. Damn, it hurts to admit it, but it's so. My proposal is for you guys to Tell me what you want me to capture/send/whatever and I'll do it I'm too old to try and learn this trick. (You know Play golf -- and your tennis game suffers so pick your sport) That's it. Enough philosophy. I think we have a real problem to work. I am more than willing to do what I can, but at this level, I am drawing from a shallow pool of knowledge. Your thoughts? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: Linwei Cheng [EMAIL PROTECTED] To: david rankin [EMAIL PROTECTED]; samba@lists.samba.org Sent: Friday, March 04, 2005 2:44 PM Subject: Re: [Samba] Extremely slow during browsing some directories Hello, I've read the relative thread on STATUS_OBJECT_NAME_NOT_FOUND, and I think that's part of my issue: 1. When I map the shared folder as a disk to my windowsXP and Windows2K machine, then every step exploring the mapped disk or directories under this disk, takes more than 30sec to response from the samba server. I use ethereal to trace the network, and found that there are a lot of SMB Trans2 request, QUERY_PATH_INFO and SMB Trans2 response QUERY_PATH_INFO roundtrip while my windows machine waiting. 2. When I don't map the shared folder to my windows machines, things are better -- the slowness doesn't happen frequently, but it does happend randomly. When it happens, I got STATUS_OBJECT_PATH_NOT_FOUND error reported. I just updated my Samba to 3.0.12pre-1 from 3.0.10.fc3, but it seems all my issues remain as before. Does this issue introduced in certain Samba version? Does anybody suffer the same problem as mine now or before? Regards, linwei - Original Message - From: david rankin [EMAIL PROTECTED] To: Linwei Cheng [EMAIL PROTECTED] Sent: Thursday, March 03, 2005 7:32 PM Subject: Re: [Samba] Extremely slow during browsing some directories See all of the posts from the last few days with the subject: Re: [Samba] Re: Samba errors with smb QUERY_PATH_INFO,Error: STATUS_OBJECT_NAME_NOT_FOUND -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: Linwei Cheng [EMAIL PROTECTED] To: Jason Balicki [EMAIL PROTECTED]; samba@lists.samba.org Sent: Thursday, March 03, 2005 7:35 PM Subject: Re: [Samba] Extremely slow during browsing some directories I disabled the web client service on my computer, but it does no good. ( There are also other sharing folders from windows machinces on my network, but I didn't suffer the same problem from those windows sharings...). And I also tried to work on the samba server machine locally using smbclient, and it seems no this kind of issue - Original Message - From: Jason Balicki [EMAIL PROTECTED] To: Linwei Cheng [EMAIL PROTECTED] Sent: Thursday, March 03, 2005 5:16 PM Subject: Re: [Samba] Extremely slow during browsing some directories Linwei Cheng wrote: hi, I am quite new on using Samba and sorry maybe ask a silly question here. I set up simple Samba server on Fedora3 using the samba rpm package comes with fedora3( version 3.0.10-1.fc3). I use the SHARE security level to make things easier. Everything goes fine so far, except that for some windows user, some times, on browsing some directories, it takes extremely long time to display the folders/files list. This seems weird because it happened radomly: sometimes for the same user, same machine and browse same directory, it works quickly, but sometimes it take
Re: [Samba] Extremely slow during browsing some directories
From: Linwei Cheng [EMAIL PROTECTED] Hello, The issues I had before seems all disappeared after I rebooted my machine( Fedora3, kernel 2.6.10-1.770_FC3 ). I don't really understand what benefited the samba on rebooting... The information is, before this reboot, I updated the kernel from 2.6.10-1.760_FC3, and updated samba from 3.0.10 to 3.0.12pre1-1. I really doubt it's the client requirement of GET FULL FS SIZE caused the slowness. Before rebooting, I tried using smbclient on another linux machine to connect the shared folder on samba server, and found that when I use ls to list the directories, the directories can be returned immediately but it get stuck on display the filesystem size information at the bottom until timeout. I think it's the same issue for mapping a disk on windows machines, since the windows will try to grab filesystem size information on every operation as well. After rebooting, the ... block of size . blocks available returned immediately and everything goes smoothly. linwei I am seeing the exact same problem and I can confirm that a reboot of Win XP helps the problem temporarily. (this is my laptop so it is restarted regularly) It seems something is getting cached or stuck somewhere after XP is up and running for a while that is causing the 30 second delay descending down the directory tree when using the file-open dialog from MS office applications. There is nothing on the MS lack of knowledge base and google hasn't been my friend on this issue. Do you have any other ideas that might help get this issue resolved?? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: Linwei Cheng [EMAIL PROTECTED] Hello, I've read the relative thread on STATUS_OBJECT_NAME_NOT_FOUND, and I think that's part of my issue: 1. When I map the shared folder as a disk to my windowsXP and Windows2K machine, then every step exploring the mapped disk or directories under this disk, takes more than 30sec to response from the samba server. I use ethereal to trace the network, and found that there are a lot of SMB Trans2 request, QUERY_PATH_INFO and SMB Trans2 response QUERY_PATH_INFO roundtrip while my windows machine waiting. 2. When I don't map the shared folder to my windows machines, things are better -- the slowness doesn't happen frequently, but it does happend randomly. When it happens, I got STATUS_OBJECT_PATH_NOT_FOUND error reported. I just updated my Samba to 3.0.12pre-1 from 3.0.10.fc3, but it seems all my issues remain as before. Does this issue introduced in certain Samba version? Does anybody suffer the same problem as mine now or before? Regards, linwei - Original Message - From: david rankin [EMAIL PROTECTED] To: Linwei Cheng [EMAIL PROTECTED] Sent: Thursday, March 03, 2005 7:32 PM Subject: Re: [Samba] Extremely slow during browsing some directories See all of the posts from the last few days with the subject: Re: [Samba] Re: Samba errors with smb QUERY_PATH_INFO,Error: STATUS_OBJECT_NAME_NOT_FOUND -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: Linwei Cheng [EMAIL PROTECTED] To: Jason Balicki [EMAIL PROTECTED]; samba@lists.samba.org Sent: Thursday, March 03, 2005 7:35 PM Subject: Re: [Samba] Extremely slow during browsing some directories I disabled the web client service on my computer, but it does no good. ( There are also other sharing folders from windows machinces on my network, but I didn't suffer the same problem from those windows sharings...). And I also tried to work on the samba server machine locally using smbclient, and it seems no this kind of issue - Original Message - From: Jason Balicki [EMAIL PROTECTED] To: Linwei Cheng [EMAIL PROTECTED] Sent: Thursday, March 03, 2005 5:16 PM Subject: Re: [Samba] Extremely slow during browsing some directories Linwei Cheng wrote: hi, I am quite new on using Samba and sorry maybe ask a silly question here. I set up simple Samba server on Fedora3 using the samba rpm package comes with fedora3( version 3.0.10-1.fc3). I use the SHARE security level to make things easier. Everything goes fine so far, except that for some windows user, some times, on browsing some directories, it takes extremely long time to display the folders/files list. This seems weird because it happened radomly: sometimes for the same user, same machine and browse same directory, it works quickly, but sometimes it take about a minute to get the response from server. What's the possibilities for this issue? Deperately need help. Try turning off the webclient service on the windows client machines. --J(K) -- To unsubscribe from this list go to the following URL and read the instructions: https
Re: [Samba] Re: Samba errors with smb QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND
- Original Message - From: John H Terpstra [EMAIL PROTECTED] To: samba@lists.samba.org Cc: david rankin [EMAIL PROTECTED]; Timothy D Newcomb [EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 11:41 PM Subject: Re: [Samba] Re: Samba errors with smb QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND Tim/David, What version of Samba? I saw a similar failure with 3.0.12pre code about a week back, however Jeremy applied a patch last Thursday that apparently fixed this. Suggest you try current SVN code tree for 3.0.12. - John T. Thanks John! Sorry for not telling you, but I'm seeing this with 3.0.7 on Suse 9.0, Mandrake 7.2 and 10.1. I'll try 3.0.12 and see if it is fixed. Do you know if anyone is building rpms for mandrake 10.1? -- David C. Rankin, J.D., P.E. -- On Wednesday 02 March 2005 19:44, david rankin wrote: Samba errors with smb QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUNDFrom: Timothy D Newcomb Subject: Samba errors with smb QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND Did you get an answer for this ? I am seeing it on an XP box and I have the same problem..slow load time...in my computer Tim, No I didn't, thanks for the reply. I just figured that JT, Gerry and Chris were busy with 3.0.12 and didn't have time to respond (either that or they just started hating me for some reason) I still haven't got to the bottom of it. I can use ethereal without a problem, but I am no expert in deciphering the results. The problem seems to come from either the SMB Trans2 Response or the SMB Create AndX Response as shown below: SMB Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: \personal\soccer\foo SMB Trans2 Response, QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND 3 second snip SMB NT Create AndX Request, Path: \personal\soccer\wiashext.dll SMB NT Create AndX Response, Error: STATUS_OBJECT_NAME_NOT_FOUND NBNS Name query NB NEMESIS20 DNS Standard query A Nemesis.3111skyline.com NBNS Name query response[Malformed Packet] DNS Standard query response, No such name DNS Standard query A Nemesis.3111skyline.com DNS Standard query response, No such name NBNS Name query NB NEMESIS00 NBNS Name query response[Malformed Packet] Once the AndX Response error occurs, it seems to through XP into some sort of loop where it queries each of the mapped drives or each of the folders listed under My Network Places with netbios and dns requests. This cause fits for a laptop where some of the connections are not established (like when your working at home - the work server isn't there, etc..) Who knows, maybe John, Gerry or Chris will show some mercy on us this time and give us a response? Or at least tell us to RTFM and point us to a link we missed googling the issue. Thanks for the reply Tim. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba errors with smb QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND
From: Gerald (Jerry) Carter [EMAIL PROTECTED] david rankin wrote: | SMB NT Create AndX Request, Path: \personal\soccer\wiashext.dll | SMB NT Create AndX Response, Error: STATUS_OBJECT_NAME_NOT_FOUND | NBNS Name query NB NEMESIS20 | DNS Standard query A Nemesis.3111skyline.com | NBNS Name query response[Malformed Packet] | DNS Standard query response, No such name | DNS Standard query A Nemesis.3111skyline.com | DNS Standard query response, No such name | NBNS Name query NB NEMESIS00 | NBNS Name query response[Malformed Packet] | |Once the AndX Response error occurs, it seems | to through XP into some sort of loop where it queries | each of the mapped drives or each of the folders listed | under My Network Places with netbios and dns requests. | This cause fits for a laptop where some of the | connections are not established (like when your | working at home - the work server isn't there, etc..) This sounds like expected XP behavior to me. Looks like perhaps the client is search the PATH for libraries or *.exe's. Jerry, I agree ... and ... that is what doesn't make sense. Specifically, note the Create AndX Request: | SMB NT Create AndX Request, Path: \personal\soccer\wiashext.dll In the request, for some reason unexplained, it is looking for the path \personal\soccer\wiashext.dll The weird part is that there is no file called waishext.dll in that path. The questiona posed are: (1) Why is Create AndX looking for a file called waishext.dll in my soccer directory?? I coach my 5 year olds team and there is nothing in the soccer directory except word files, etc... (2) Is it XP or Samba that causes Create AndX to look for the file? (3) Which ever package it is that causes the search, how do we tell it to stop? Literally, it causes a 15 second delay between hitting the File - Open - (directory drop down list box) and actually getting the new directory list shown. I googled the waishext.dll file and found the following: General information File Name: wiashext.dll File Size: 589312 bytes (575 KB) Extended file information: File Version: 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) Company Name: Microsoft Corporation File Description Imaging Devices Shell Folder UI Product Name Microsoft® Windows® Operating System OS info NT-Win32 File Type DLL File SubType N/A Any idea why Create AndX is looking for a .dll that relates to an Imaging Devices Shell Folder UI?? I'm seeing this on 3.0.7. It occurs on both Suse 9.0 and Mandrake 7.2. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba errors with smb QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND
From: Gerald (Jerry) Carter [EMAIL PROTECTED] Have you searched the MS KB for help on this ? My guess is that there will be a registry change to fix or workaround it. And that you will seem similar issues even when dealing solely with MS servers. Yes, the KB is no help. However, I did pick around in the XP registry and found the following that might be of use. HKEY_CLASSES_ROOT\CLSID\{E211B736-43FD-11D1-9EFB-F8757FCD} HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E211B736-43FD-11D1-9EFB-F8757FCD} (type) REG_EXPAND_SZ InfoTip @%SystemRoot%\system32\wiashext.dll,-330 LocalizedString @%SystemRoot%\system32\wiashext.dll,-331 HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E211B736-43FD-11D1-9EFB-F8757FCD}\AddDevice\shell\open\command (type) REG_SZ (default) rundll32 wiashext.dll,AddDeviceWasChosen I don't know if it matters to samba, but it looks like the InfoTip and LocalizedString entries cause the expansion. Why in the heck it happens accessing my personal/soccer share via samba is the mystery. It looks like there might be something strange in the way samba is handling the @%SystemRoot% string. Does any of this make sense?? cheers, jerry = Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCJz8HIR7qMdg1EfYRAljzAJ9Bxxg3oI9HjIQPBAqLTjj8WTKFAgCdFlR9 ik6uRjUjR0qT1TMl8rucpbI= =BZQE -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba errors with smb QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND
Samba errors with smb QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUNDFrom: Timothy D Newcomb Subject: Samba errors with smb QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND Did you get an answer for this ? I am seeing it on an XP box and I have the same problem..slow load time...in my computer Tim, No I didn't, thanks for the reply. I just figured that JT, Gerry and Chris were busy with 3.0.12 and didn't have time to respond (either that or they just started hating me for some reason) I still haven't got to the bottom of it. I can use ethereal without a problem, but I am no expert in deciphering the results. The problem seems to come from either the SMB Trans2 Response or the SMB Create AndX Response as shown below: SMB Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: \personal\soccer\foo SMB Trans2 Response, QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND 3 second snip SMB NT Create AndX Request, Path: \personal\soccer\wiashext.dll SMB NT Create AndX Response, Error: STATUS_OBJECT_NAME_NOT_FOUND NBNS Name query NB NEMESIS20 DNS Standard query A Nemesis.3111skyline.com NBNS Name query response[Malformed Packet] DNS Standard query response, No such name DNS Standard query A Nemesis.3111skyline.com DNS Standard query response, No such name NBNS Name query NB NEMESIS00 NBNS Name query response[Malformed Packet] Once the AndX Response error occurs, it seems to through XP into some sort of loop where it queries each of the mapped drives or each of the folders listed under My Network Places with netbios and dns requests. This cause fits for a laptop where some of the connections are not established (like when your working at home - the work server isn't there, etc..) Who knows, maybe John, Gerry or Chris will show some mercy on us this time and give us a response? Or at least tell us to RTFM and point us to a link we missed googling the issue. Thanks for the reply Tim. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.7 - NT Create AndX Response, Error:, QUERY_PATH_INFO, Error:
earlier, David Rankin wrote to no avail: Mates, I have been watching a developing problem over the past few weeks. Most likely a M$ patch to XP that has caused problems. What happens is that XP clients try to open the standard File - Open dialog (like in word, or whatever) and the file open dialog hangs and stops responding for 15 seconds or so. I have captured this occurence with ethereal and included the packet summary below. The 80 packets below represent the 23 second hang. I am running 3.0.7. Does anybody have any idea what could be happening? Note the 3 second delay between packet 27 28. It also appears that XP does some dns caching that is persistant during shutdown and restart. I have the laptop at home right now, but you can see the NBNS packets still looking for Nemesis and Bonza which are two samba servers at work. Go figure?? Any ideas what is happening or how to fix it?? No. TimeSourceDestination Protocol Info 1 0.00rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: \personal\soccer\foo 2 0.002022www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND 3 0.002591rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: \personal\soccer 4 0.004184www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_PATH_INFO 5 0.004569rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: 6 0.005798www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_PATH_INFO 7 0.005889rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_FS_INFO, Query FS Attribute Info 8 0.007271www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_FS_INFO 9 0.007794rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, FIND_FIRST2, Pattern: \personal 10 0.009805www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, FIND_FIRST2, Files: personal 11 0.009994rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: \personal 12 0.011386www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_PATH_INFO 13 0.011486rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, FIND_FIRST2, Pattern: \personal\soccer 14 0.014312www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, FIND_FIRST2, Files: soccer 15 0.014530rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, FIND_FIRST2, Pattern: \personal\soccer\* 16 0.019445www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, FIND_FIRST2, Files: . .. Summary - Raptors fall 03.doc raptors fall04 email.txt soccermanual.pdf Roster.doc fields.jpg coaches_email.txt NYSA revised MasterFall03-U6_U12gb.9-11-03xls.xls FIELD SIGN-UPS.doc[Unreassembled Packet] 17 0.019911www.3111skyline.com rankin-p35.3111skyline.com TCP [Continuation to #16] microsoft-ds 1388 [ACK] Seq=2255 Ack=828 Win=10056 Len=1460 18 0.019932rankin-p35.3111skyline.com www.3111skyline.com TCP 1388 microsoft-ds [ACK] Seq=828 Ack=3715 Win=17520 Len=0 19 0.021182www.3111skyline.com rankin-p35.3111skyline.com TCP [Continuation to #16] microsoft-ds 1388 [PSH, ACK] Seq=3715 Ack=828 Win=10056 Len=1156 20 0.021636rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_FS_INFO, Query FS Attribute Info 21 0.022928www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_FS_INFO 22 0.074918rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, FIND_FIRST2, Pattern: \personal\soccer\* 23 0.079857www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, FIND_FIRST2, Files: . .. Summary - Raptors fall 03.doc raptors fall04 email.txt soccermanual.pdf Roster.doc fields.jpg coaches_email.txt NYSA revised MasterFall03-U6_U12gb.9-11-03xls.xls FIELD SIGN-UPS.doc[Unreassembled Packet] 24 0.080386www.3111skyline.com rankin-p35.3111skyline.com TCP [Continuation to #23] microsoft-ds 1388 [ACK] Seq=6411 Ack=1024 Win=10056 Len=1460 25 0.080431rankin-p35.3111skyline.com www.3111skyline.com TCP 1388 microsoft-ds [ACK] Seq=1024 Ack=7871 Win=17520 Len=0 26 0.080891www.3111skyline.com rankin-p35.3111skyline.com TCP [Continuation to #23] microsoft-ds 1388 [PSH, ACK] Seq=7871 Ack=1024 Win=10056 Len=1156 27 0.208734rankin-p35.3111skyline.com www.3111skyline.com TCP 1388 microsoft-ds [ACK] Seq=1024 Ack=9027 Win=16364 Len=0 28 3.096180rankin-p35.3111skyline.com www.3111skyline.com SMB NT Create AndX Request, Path: \personal
[Samba] Win XP hangs on file open dialog
Mates, I have been watching a developing problem over the past few weeks. Most likely a M$ patch to XP that has caused problems. What happens is that XP clients try to open the standard File - Open dialog (like in word, or whatever) and the file open dialog hangs and stops responding for 15 seconds or so. I have captured this occurence with ethereal and included the packet summary below. The 80 packets below represent the 23 second hang. I am running 3.0.7. Does anybody have any idea what could be happening? Note the 3 second delay between packet 27 28. It also appears that XP does some dns caching that is persistant during shutdown and restart. I have the laptop at home right now, but you can see the NBNS packets still looking for Nemesis and Bonza which are two samba servers at work. Go figure?? Any ideas what is happening or how to fix it?? No. TimeSourceDestination Protocol Info 1 0.00rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: \personal\soccer\foo 2 0.002022www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND 3 0.002591rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: \personal\soccer 4 0.004184www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_PATH_INFO 5 0.004569rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: 6 0.005798www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_PATH_INFO 7 0.005889rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_FS_INFO, Query FS Attribute Info 8 0.007271www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_FS_INFO 9 0.007794rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, FIND_FIRST2, Pattern: \personal 10 0.009805www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, FIND_FIRST2, Files: personal 11 0.009994rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_PATH_INFO, Query File Basic Info, Path: \personal 12 0.011386www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_PATH_INFO 13 0.011486rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, FIND_FIRST2, Pattern: \personal\soccer 14 0.014312www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, FIND_FIRST2, Files: soccer 15 0.014530rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, FIND_FIRST2, Pattern: \personal\soccer\* 16 0.019445www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, FIND_FIRST2, Files: . .. Summary - Raptors fall 03.doc raptors fall04 email.txt soccermanual.pdf Roster.doc fields.jpg coaches_email.txt NYSA revised MasterFall03-U6_U12gb.9-11-03xls.xls FIELD SIGN-UPS.doc[Unreassembled Packet] 17 0.019911www.3111skyline.com rankin-p35.3111skyline.com TCP [Continuation to #16] microsoft-ds 1388 [ACK] Seq=2255 Ack=828 Win=10056 Len=1460 18 0.019932rankin-p35.3111skyline.com www.3111skyline.com TCP 1388 microsoft-ds [ACK] Seq=828 Ack=3715 Win=17520 Len=0 19 0.021182www.3111skyline.com rankin-p35.3111skyline.com TCP [Continuation to #16] microsoft-ds 1388 [PSH, ACK] Seq=3715 Ack=828 Win=10056 Len=1156 20 0.021636rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, QUERY_FS_INFO, Query FS Attribute Info 21 0.022928www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, QUERY_FS_INFO 22 0.074918rankin-p35.3111skyline.com www.3111skyline.com SMB Trans2 Request, FIND_FIRST2, Pattern: \personal\soccer\* 23 0.079857www.3111skyline.com rankin-p35.3111skyline.com SMB Trans2 Response, FIND_FIRST2, Files: . .. Summary - Raptors fall 03.doc raptors fall04 email.txt soccermanual.pdf Roster.doc fields.jpg coaches_email.txt NYSA revised MasterFall03-U6_U12gb.9-11-03xls.xls FIELD SIGN-UPS.doc[Unreassembled Packet] 24 0.080386www.3111skyline.com rankin-p35.3111skyline.com TCP [Continuation to #23] microsoft-ds 1388 [ACK] Seq=6411 Ack=1024 Win=10056 Len=1460 25 0.080431rankin-p35.3111skyline.com www.3111skyline.com TCP 1388 microsoft-ds [ACK] Seq=1024 Ack=7871 Win=17520 Len=0 26 0.080891www.3111skyline.com rankin-p35.3111skyline.com TCP [Continuation to #23] microsoft-ds 1388 [PSH, ACK] Seq=7871 Ack=1024 Win=10056 Len=1156 27 0.208734rankin-p35.3111skyline.com www.3111skyline.com TCP 1388 microsoft-ds [ACK] Seq=1024 Ack=9027 Win=16364 Len=0 28 3.096180rankin-p35.3111skyline.com www.3111skyline.com SMB NT Create AndX Request, Path:
Re: [Samba] Prints ok, but says Access denied, unable to connect. win2k and samba 2.2.1a
I have a small Samba 2.2.1a plus Win2k workgroup. Samba is running on Redhat 7.2. There is a networked laserjet 5000 using a static IP which I can print to successfuly from the linux box, and from the win2k workstations via the queue on the linux box. The weird thing is that, on the win2k worksations, if I double click on the printer icon the status of the printer is reported as Access denied, unable to connect. Yet it works??? I have the exact same message in XP with my HP LJ4 on a Suse 9.0 box. All the printing works, but the printer status reports Access denied, unable to connect, but yes, it works? Solution: IGNORE IT ; -)It is something funky on the XP, win2K side. If you find out what it is, let me know -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 2/10/2005 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smb log error-Transport end point/getpeername
From: Josh Kelley [EMAIL PROTECTED] david rankin wrote: Well, no, I'm not positive, but when whatever hangs, I get a big slowdown in file access, file open, etc.. from XP. When I then go and check the logs the transport end point and getpeername is the only thing that shows up in the log. I admit I haven't had time to put up a console and check in the past few days. It is definately an XP issue. It occurs on both Suse 9.0 and Mandrake 7.2 with 3.0.7. It occurred with all the 2.0 and 2.2 sambas as well. I'll keep an eye on it and report back. This is a bit of a shot in the dark, but do you have port 80 firewalled off on your Samba server? It's my understanding that by default, XP will try to access network drives via WebDAV before trying SMB, and a firewall that drops attempted connections to port 80 or that doesn't respond with a TCP reset can cause noticeable slowdowns in connections from XP. Thanks for the 'shot', but in my case, port 80 is wide open -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 2/10/2005 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smb log error-Transport end point/getpeername
From: Gerald (Jerry) Carter [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 david rankin wrote: | |I'm trying to solve some log errors I getting. I | have samba 3.0.7 installed on Suse 9.0. It has been | happening intermittently for several months. I don't know | if this is XP client related or what. Any thoughts: | The errors are: | | Feb 9 20:00:33 skyline smbd[14408]: [2005/02/09 20:00:33, 0] | lib/util_sock.c:get_peer_addr(1000) | Feb 9 20:00:33 skyline smbd[14408]: getpeername failed. Error was | Transport endpoint is not connected I know that Windows XP clients try to connect to port 139 and 445 in parallel and drop the connection to port 139 if the connect to 445 is successful. This is probably what you are seeing. Thanks Jerry, That makes sense. No doubt an intentional feature from M$. Is there any way to get around it? When it occurs, there is a real slowdown in the connection. It is intermittent so it doesn't last that long, but it is sure annoying when it does. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smb log error-Transport end point/getpeername
From: Gerald (Jerry) Carter [EMAIL PROTECTED] david rankin wrote: | | I know that Windows XP clients try to connect to port | 139 and 445 in parallel and drop the connection to port | 139 if the connect to 445 is successful. This is probably | what you are seeing. | | | Thanks Jerry, | |That makes sense. No doubt an intentional feature from | $. Is there any way to get around it? When it occurs, there is | a real slowdown in the connection. It is intermittent so | it doesn't last that long, but it is sure annoying when | it does. You could set 'smb ports = 139' for force netbios connections. Are you sure this is causing a slowdown ? Other than the overhead of forking a new smbd temporarily. Well, no, I'm not positive, but when whatever hangs, I get a big slowdown in file access, file open, etc.. from XP. When I then go and check the logs the transport end point and getpeername is the only thing that shows up in the log. I admit I haven't had time to put up a console and check in the past few days. It is definately an XP issue. It occurs on both Suse 9.0 and Mandrake 7.2 with 3.0.7. It occurred with all the 2.0 and 2.2 sambas as well. I'll keep an eye on it and report back. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] smb log error-Transport end point/getpeername
Mates, I'm trying to solve some log errors I getting. I have samba 3.0.7 installed on Suse 9.0. It has been happening intermittently for several months. I don't know if this is XP client related or what. Any thoughts: The errors are: Feb 9 20:00:33 skyline smbd[14408]: [2005/02/09 20:00:33, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:00:33 skyline smbd[14408]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:00:33 skyline smbd[14408]: [2005/02/09 20:00:33, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:00:33 skyline smbd[14408]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:00:33 skyline smbd[14408]: [2005/02/09 20:00:33, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:00:33 skyline smbd[14408]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:00:33 skyline smbd[14408]: [2005/02/09 20:00:33, 0] lib/access.c:check_access(328) Feb 9 20:00:33 skyline smbd[14408]: [2005/02/09 20:00:33, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:00:33 skyline smbd[14408]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:00:33 skyline smbd[14408]: [2005/02/09 20:00:33, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:00:33 skyline smbd[14408]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:00:33 skyline smbd[14408]: Denied connection from 0.0.0.0 (0.0.0.0) Feb 9 20:00:33 skyline smbd[14408]: [2005/02/09 20:00:33, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:00:33 skyline smbd[14408]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:00:33 skyline smbd[14408]: Connection denied from 0.0.0.0 Feb 9 20:00:33 skyline smbd[14408]: [2005/02/09 20:00:33, 0] lib/util_sock.c:write_socket_data(430) Feb 9 20:00:33 skyline smbd[14408]: write_socket_data: write failure. Error = Connection reset by peer Feb 9 20:00:33 skyline smbd[14408]: [2005/02/09 20:00:33, 0] lib/util_sock.c:write_socket(455) Feb 9 20:00:33 skyline smbd[14408]: write_socket: Error writing 5 bytes to socket 22: ERRNO = Connection reset by peer Feb 9 20:00:33 skyline smbd[14408]: [2005/02/09 20:00:33, 0] lib/util_sock.c:send_smb(647) Feb 9 20:00:33 skyline smbd[14408]: Error writing 5 bytes to client. -1. (Connection reset by peer) Feb 9 20:04:07 skyline smbd[14432]: [2005/02/09 20:04:07, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:04:07 skyline smbd[14432]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:04:07 skyline smbd[14432]: [2005/02/09 20:04:07, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:04:07 skyline smbd[14432]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:04:07 skyline smbd[14432]: [2005/02/09 20:04:07, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:04:07 skyline smbd[14432]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:04:07 skyline smbd[14432]: [2005/02/09 20:04:07, 0] lib/access.c:check_access(328) Feb 9 20:04:07 skyline smbd[14432]: [2005/02/09 20:04:07, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:04:07 skyline smbd[14432]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:04:07 skyline smbd[14432]: [2005/02/09 20:04:07, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:04:07 skyline smbd[14432]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:04:07 skyline smbd[14432]: Denied connection from 0.0.0.0 (0.0.0.0) Feb 9 20:04:07 skyline smbd[14432]: [2005/02/09 20:04:07, 0] lib/util_sock.c:get_peer_addr(1000) Feb 9 20:04:07 skyline smbd[14432]: getpeername failed. Error was Transport endpoint is not connected Feb 9 20:04:07 skyline smbd[14432]: Connection denied from 0.0.0.0 Feb 9 20:04:07 skyline smbd[14432]: [2005/02/09 20:04:07, 0] lib/util_sock.c:write_socket_data(430) Feb 9 20:04:07 skyline smbd[14432]: write_socket_data: write failure. Error = Connection reset by peer Feb 9 20:04:07 skyline smbd[14432]: [2005/02/09 20:04:07, 0] lib/util_sock.c:write_socket(455) Feb 9 20:04:07 skyline smbd[14432]: write_socket: Error writing 5 bytes to socket 5: ERRNO = Connection reset by peer Feb 9 20:04:07 skyline smbd[14432]: [2005/02/09 20:04:07, 0] lib/util_sock.c:send_smb(647) Feb 9 20:04:07 skyline smbd[14432]: Error writing 5 bytes to client. -1. (Connection reset by peer) -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem logon WinXP SP2 to samba domain
Not to nit pick J.T., but isn't it: http://www.samba.org/samba/docs/Samba-Guide.pdf I know, it's getting late... -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- - Original Message - From: John H Terpstra [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Thursday, February 03, 2005 6:53 PM Subject: Re: [Samba] Problem logon WinXP SP2 to samba domain Marcos, Have you followed chapter 6 of the Samba-Guide? You can download it from: http://ww.samba.org/samba/docs/Samba-Guide.pdf Cheers, John T. On Thursday 03 February 2005 17:46, Marcos Ribeiro wrote: Hi! No, dont have any faiulere of hardware, i can share files between the machines, but i need use like a PDC, the windows machine need to make login in domain of the linux machine with SAMBA + LDAP. I include a machine windows in domain,i can see the register in LDAP database but when i try to make login it appears the following error: the system can´t make logon due to the following error: A device hardware connected to the system is not working. Thank´s for help me... Marcos A. Adi Nugraha ([EMAIL PROTECTED]) escrito: Are you sure it's not a Hardware failure ?? can you connect to the share by calling the IP address ? - Original Message - From: Marcos Ribeiro [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Thursday, February 03, 2005 5:41 PM Subject: [Samba] Problem logon WinXP SP2 to samba domain I am with problems to logon WindowsXP SP2 in the samba. I have the fofollowing packages installed in machine. (Fedora Core 3 kernel 2.6.10-1.741) system-config-samba-1.2.26-0.fc3.1 samba-common-3.0.10-1.fc3 samba-3.0.10-1.fc3 samba-swat-3.0.10-1.fc3 samba-client-3.0.10-1.fc3 The samba shares files with Windows machine normally,using ldap. I follow the steps to logon in the domain the windows machine, it includes the machine in ldap server normally, but when trying to logon in domain generates the following error: ' the system can't make logon due to the following error: A device hardwired to the system this not functioning ' I would really apreciatte some help from you, If it's possible. Thanks for the attention. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Logon Hours problems (really stuck)
Hi guys, The time offset option unfortunately did not solve my problem. Users that are meant to be kicked off at 21:00 keep getting kicked off at 19:00. The time on the server is right. What else could be causing my problem ? If you made changes, did you remember to restart samba? (stranger things have happened) -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: David Wilson [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Saturday, January 29, 2005 5:01 AM Subject: [Samba] Re: Logon Hours problems (really stuck) Hi guys, I'm really sorry to bother you with this but I'm really battling and can't find any info to solve my problem. Please have a look at my issue below and give me some guidance as to what could be causing it. Thanks in advance. Kindest regards David Wilson ___ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za [EMAIL PROTECTED] Powered by Linux, driven by passion ! ___ Computers are not intelligent. They only think they are. - Original Message - From: David Wilson To: samba@lists.samba.org Sent: Thursday, January 27, 2005 3:43 PM Subject: Re: Logon Hours problems Kindest regards David Wilson ___ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za [EMAIL PROTECTED] Powered by Linux, driven by passion ! ___ Computers are not intelligent. They only think they are. - Original Message - From: David Wilson To: samba@lists.samba.org Sent: Tuesday, January 25, 2005 10:16 PM Subject: Re: Logon Hours problems I've found the time offset option from the smb.conf man page. In South Africa we are GMT+2, so I've set time offset = 120 in my smb.conf. Do you think this is the right thing to do ? Kindest regards David Wilson ___ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za [EMAIL PROTECTED] Powered by Linux, driven by passion ! ___ Computers are not intelligent. They only think they are. - Original Message - From: David Wilson To: samba@lists.samba.org Sent: Tuesday, January 25, 2005 2:11 PM Subject: Logon Hours problems More information on my problem below. It seems that users that were only meant to kicked off at 21:00 were kicked off at 19:00. I've checked the time and timezone on the Linux server and all seems correct. I think I've messed up something somewhere to do with Samba and time and Logon Hours restrictions. Please point me in the right direction. Many thanks David Wilson From: David Wilson [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Sunday, January 23, 2005 6:26 PM Subject: [Samba] Logon hours Hi guys, Sorry to bug you on this. Any ideas on my query below ? I saw something about all samba-3.x versions requiring a patch to implement the logon hours restrictions 100% ? Thanks in advance. Kindest regards David Wilson ___ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za [EMAIL PROTECTED] Powered by Linux, driven by passion ! ___ - Original Message - From: David Wilson [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Friday, January 21, 2005 11:02 AM Subject: Logon hours Hi guys, Another quick question: I'm running Samba-3.0.9 with an LDAP backend. User logon restrictions, in terms of allowed logon hours are set by using NT's User Manager.exe which connects to the Samba controlled domain. The restrictions appear to work OK except when there are multiple rules for the logon hours. .e.g Logon restrictions work pefectly if the logon time is: 13:00-17:00, but not when there is more than one 'rule' e.g. 13:00-14:00 and 15:00-17:00. As soon as there is more than one rule users cannot log on and if I try to use smbclient I get something like and error like INVALID_LOGON_HOURS. Any ideas ? Your assistance is greatly appreciated. Kindest regards David Wilson ___ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za [EMAIL PROTECTED] Powered by Linux, driven by passion ! ___ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba Kindest regards David Wilson ___ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za [EMAIL PROTECTED] Powered by Linux, driven by passion ! ___ Computers are not intelligent. They only think they are. -- To unsubscribe from this list go to the following URL and read the instructions:
Re: [Samba] Inherit permissions question (Please help)(disclaimer)
David, I'm kinda shooting in the dark here, but from what I remember, you need to be able to manage various user files without affecting the user ownership and while preserving the 'security' of each users files from being seen from everybody else. What I would do is create a group in /etc/groups -- called 'manager' or whatever. The member(s) of the manager group would be whoever would need read/write access to every users files. I would then set user and group ownership of the user's home directories to user.manager via chown. That way cron or whatever is running as 'manager' could do whatever is needed globally for all users while preserving the individual user security. In that vein, force group = manager would assure access to the manager. The only fly in the ointment would be if you had a common share that all needed to access while you are still trying to preserve individual security to. But, heck, if that's the case, then individual security would be irrelevant unless you simply wanted to grant write access to each. Like I said, I'm shooting in the dark, but that is my .02 on what you are looking at. Linux/samba is flexible enough from a permissions standpoint that you can do about anything you want to. The Linux basic permissions of user.group.world coupled with force user, force group and inherit permissions along with your /etc/group definitions are the basic building blocks for just about anything you can think of. One other option would be to define an 'admin users = ' for the shares you want to manage. That is another option for giving a user or group of users rwx access to any share while preserving user privacy. Hope this helps. And of course the disclaimer: I'm a lawyer, who use to be an engineer, who still 'thinks' he can stay reasonably current on his OS of choice, but has to regrettably admit that I am no authority on the finer points of coding/samba/Linux anymore. (that stopped when I quit babysitting 750,000 lines of FORTRAN known as SVDS (space vehicle dynamic simulation - the shuttle ascent launch processor in '89) (Yes that was at the time DIBS and DOLILU was coming online) (... and for the curious DOLILU = day of launch I-Load update)(uhh.. GNC, Pitch-Yaw-Roll stuff from SRB ignition to MECO)(uhh.. it's supposed to keep the wings from coming off going uphill)(and uhh.. again, ET foam shedding was never an issue while Martin-Marietta built the tank)(and uhh.. the Martin-Thiokol booster o-ring problem had been found and addressed by then [51-L] -- STS26) -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: David Wilson [EMAIL PROTECTED] To: david rankin [EMAIL PROTECTED]; samba samba@lists.samba.org Sent: Friday, January 28, 2005 12:51 AM Subject: Re: [Samba] Inherit permissions question (Please help) Hi David, Thanks for your reply. That would work but then because it's on the share for user's profiles each user would then be able to access everyone elses profile. Please correct me if I'm wrong. Kindest regards David Wilson ___ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za [EMAIL PROTECTED] Powered by Linux, driven by passion ! ___ Computers are not intelligent. They only think they are. - Original Message - From: david rankin [EMAIL PROTECTED] To: samba samba@lists.samba.org Sent: Friday, January 28, 2005 6:13 AM Subject: Re: [Samba] Inherit permissions question (Please help) Sorry I'm late on this thread, but would 'force user = ' force group = ' work? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: David Wilson [EMAIL PROTECTED] To: Craig White [EMAIL PROTECTED]; samba@lists.samba.org Sent: Wednesday, January 26, 2005 3:26 AM Subject: Re: [Samba] Inherit permissions question (Please help) Hi Craig, Thanks for your reply. My suggestions for using a preexec script is a sort of last resort option. I could rather configure a job in cron that checks permissions. Ideally I need the inherit permissions option but with the ability to also include user group ownership. To get this done samba would require root privileges to change the ownership of files to that of the parent folder - which probably wouldn't be a good idea ? Thanks for your help so far. Any assistance/input would be greatly appreciated. Kindest regards David Wilson ___ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za [EMAIL PROTECTED] Powered by Linux, driven by passion ! ___ Computers are not intelligent. They only think they are. - Original Message
Re: [Samba] Inherit permissions question (Please help)
Sorry I'm late on this thread, but would 'force user = ' force group = ' work? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: David Wilson [EMAIL PROTECTED] To: Craig White [EMAIL PROTECTED]; samba@lists.samba.org Sent: Wednesday, January 26, 2005 3:26 AM Subject: Re: [Samba] Inherit permissions question (Please help) Hi Craig, Thanks for your reply. My suggestions for using a preexec script is a sort of last resort option. I could rather configure a job in cron that checks permissions. Ideally I need the inherit permissions option but with the ability to also include user group ownership. To get this done samba would require root privileges to change the ownership of files to that of the parent folder - which probably wouldn't be a good idea ? Thanks for your help so far. Any assistance/input would be greatly appreciated. Kindest regards David Wilson ___ D c D a t a Tel +27 33 342 7003 Fax +27 33 345 4155 Cell +27 82 4147413 http://www.dcdata.co.za [EMAIL PROTECTED] Powered by Linux, driven by passion ! ___ Computers are not intelligent. They only think they are. - Original Message - From: Craig White [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Wednesday, January 26, 2005 10:41 AM Subject: Re: [Samba] Inherit permissions question (Please help) Am I the only one that thinks it's a terrible idea? When I need to make changes to user profiles, I use things like... logon script perl/shell script updates on actual samba server but I suppose that you could have a 'pre-exec' script that changes the ownership of all files in a person's profile be changed upon login. Craig -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] time for a poll -- does anyone use the testprns tool ?
testprns Been around since 2.0.7 (mdk 7.2), never heard of, or used 'testprns'. Maybe I'm missing something that could make life easier, but then again, I'm a slow learner... -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: Adam Tauno Williams [EMAIL PROTECTED] To: Gerald (Jerry) Carter [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, December 26, 2004 8:23 PM Subject: Re: [Samba] time for a poll -- does anyone use the testprns tool ? I am considering marking testprns as deprecated (or just remove it). It doesn't seem to be that useful anymore. Does anyone use it on a regular basis and would therefore be distraught if it were gone in a future 3.0.x release ? Haven't used it in ages. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] STOP PAYING FEDERAL TAXES - LEGALLY!
Subject: [Samba] STOP PAYING FEDERAL TAXES - LEGALLY! Jerry, Jeremy, You guys are awesome! I knew samba was great! But, now it will help me stop paying federal taxes - legally... Great new feature guys, keep up the good work. Do you think you can add an estate tax and child support option as well? Maybe in 3.0.11? Talk about a Merry Christmas Woohoo -- David C. Rankin, J.D., P.E. Rankin * Bertin, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] NT Status: STATUS_OBJECT_PATH_NOT_FOUND
Mates, I am experiencing slowness over my wireless connection when trying to access files through M$ word on my samba server (3.07). Looking at the packets, the following looks curious: NT Create AndX NT AndX Response, Error: NT Status: STATUS_OBJECT_PATH_NOT_FOUND Has anyone else noticed this problems when browsing or opening files in Office 2003? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying between physical drives within samba mount - veryslow.
when I move files from /master/drive1 to /master/drive2 the copy process is very slow. why does samba send the whole file across the network and back? is there a way to avoid this? why not rsync from /master/drive1 to /master/drive2? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: Panos Koutsoyannis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 11, 2004 3:10 PM Subject: [Samba] Copying between physical drives within samba mount - veryslow. I have a situation with a linux box that has several drives mounted under /master say /master/drive1 and /master/drive2 ..etc. I mount /master on my windows machine or os x machine using samba. Here is my config red hat 9 samba 3.0.x system drive = / data drive 1= /master/drive1 data drive 2 = /master/drive2 mounted system on pc under /master so I see on my pc drive1 folder and drive2 folder. Dragging from drive1 to drive2 seems to pass the whole file across the network from drive1 to drive2. If I create folders ... say /master/folder1 and /master/folder2. these folders are not seperate drives. Then movign files between them is lightening fast as expected. Hope someone can help. panos -- 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] smbd won't start - new installation
Al, Never used swat, but on Suse, use: #rcnmb stop #rcsmb stop to kill the processes. Then just start them manually and check to logs. #rcnmb start #rcsmb start Suse has split the scripts that start smbd and nmbd so it is possible swat is having problems. I have samba 3.07 running fine on Suse 9.0 and Mdk 7.2. Another possibility is that one of the processes has died and has left a lock file or PID file around that is giving you problems. After stopping the daemons, check for leftover lock of PID files and nuke them if found and try restarting. (These are just stabs from past posts I have read) -- David C. Rankin, J.D., P.E. Rankin * Bertin, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 4:22 PM Subject: [Samba] smbd won't start - new installation Hi all, I installed SuSe 9.1 with Samba 3.0.4-suse. I can not get the smbd to start from swat, but nmbd is running, When I start smdb and nmbd with the SWAT restat then ps -A shows that the processes are there and it seems to run, but not according to the 'status' of swat. Copying files from samba and printing with the shared printers work though. The printers show access denied, no connection in the W$ print status. Is it a bug or do I miss some configuration with localhost:901 and SWAT? -- Greetings, :-) Al Active ___ Experience: the most brutal of teachers but you learn, my God, you learn - C S Lewis - -- 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] Cann't get Windows XP system to find Samba printers
Jeff, I have my laserjet working well. I have pasted bits and pieces of my config for comparison below: I have a Brothre HL-1440 laser on my Linux system I wish to share. But, I can not get the Windows system to see it. I already have disk shares That the windows system can access, so something is working Here is my entries in smb.conf load printers = yes printcap name = cups printing = cups security = share [printers] comment = All Printers browseable = yes printable = yes public = yes create mode = 0700 guest only = yes use client driver = yes guest account = smbprint path = /home/smbprint Try [printers] comment = The Printers path = /var/spool/samba guest ok = Yes public = Yes writeable = no printable = Yes browseable = no in cups.conf Location /printers # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # AuthType None Order Deny,Allow Deny From None Allow From All /Location mine.convs application/octet-streamapplication/vnd.cups-raw0 - mime.types application/octet-stream But, when I try to add a network printer on the XP system it lists the network and the name of the Linux system. But, no printers under the Linux system. Running cups adminisration shows the printer named 1440 and ready for jobs. What else do I need to do? tj Mine works like this: Location / Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 127.0.0.2 Allow From @LOCAL /Location #Location /printers # # You may wish to limit access to printers and classes (I don't use this at all) # #/Location Make sure cups has created the printers.conf for your printer (example): # Printer configuration file for CUPS v1.1.19 # Written by cupsd on Mon 17 May 2004 06:57:09 PM CDT DefaultPrinter HP_LJ4 Info HP Laserjet 4 Location DeviceURI parallel:/dev/lp0 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 /Printer Also, are you able to access cups via http://localhost:631 -- 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] account on winXP system unable to access workgroup
no PDC, setup login account with same name and passwd on Desktop as on the server (used smbpasswd -a - to add passwd) Did you create a regular Unix account and password for the XP User with useradd?? Also, I always make the Unix password and smbpasswd the same to allow password sync to work. -- David C. Rankin, J.D., P.E. Rankin * Bertin, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: bill eight [EMAIL PROTECTED] To: sambalist [EMAIL PROTECTED] Sent: Monday, October 11, 2004 4:56 PM Subject: [Samba] account on winXP system unable to access workgroup Hi Please Help... Adding winXP pro user into Samba 2.2.12, no PDC, setup login account with same name and passwd on Desktop as on the server (used smbpasswd -a - to add passwd) following the guide www.faqs.org/docs/samba/ch03.html trouble - Can't access the server MP samba looks like it is running from the trouble shooting I have done... smbstatus returns the following on the test user.. [EMAIL PROTECTED] init.d]# smbstatus [..] data test samba14342 mp16 (192.168.10.116) Mon Oct 11 15:22:59 2004 thanks r -- other details -- [EMAIL PROTECTED] data]# echo hello | telnet localhost 139 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. [EMAIL PROTECTED] data]# testparm Load smb config files from /etc/samba/smb.conf Processing section [homes] Processing section [netlogon] Processing section [printers] Processing section [data] Processing section [acctng] Loaded services file OK. Press enter to see a dump of your service definitions [..] [EMAIL PROTECTED] init.d]# smbstatus Samba version 2.2.12 Service uid gid pid machine -- data mp002samba14342 mp16 (192.168.10.116) Mon Oct 11 12:42:01 2004 data mp001samba14090 mep-0001 (192.168.10.21) Mon Oct 11 15:43:43 2004 data test samba14342 mp16 (192.168.10.116) Mon Oct 11 15:22:59 2004 acctng mp001samba14090 mep-0001 (192.168.10.21) Mon Oct 11 12:19:36 2004 No locked files [EMAIL PROTECTED] init.d]# ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] testparm bug in 3.0.7?
Can someone verify that testparm in 3.0.7 always reports the [printers] share as browseable = no ? I think this is a bug in 3.0.7. It might be affecting smbclient listing of printer shares too. Misty, There is certainly something strange in testparm for 3.0.7 and cups. Here is why (this might be normal, but is sure doesn't look like it) On Mandrake 7.2 smb.conf load printers = yes printcap name = cups printing = cups testparm printing = cups print command = /usr/bin/lp -d '%p' %s; rm %s lpq command = /usr/bin/lpstat -o '%p' lprm command = /usr/bin/cancel '%p-%j' lppause command = lp -i '%p-%j' -H hold lpresume command = lp -i '%p-%j' -H resume queuepause command = /usr/bin/disable '%p' queueresume command = /usr/bin/enable '%p' On Suse 9.0 smb.conf same testparm min print space = 2000 Go figure??? -- David C. Rankin, J.D., P.E. Rankin * Bertin, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: Misty Stanley-Jones [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 3:17 PM Subject: [Samba] testparm bug in 3.0.7? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printer Share Not Shown by smbclient on 3.0.7
Mates, What would cause smbclient not to list my printer share?? (mandrake 7.2, 2.2.19 kernel) [EMAIL PROTECTED] david]$ smbclient -U% -L localhost Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.7] Sharename Type Comment - --- guilloryDisk David Guillory Bertin Disk Darren Bertin Rankin Disk Rankin Law Firm PLLC config Disk Admin Config Share ApplicationsDisk Windows Applications IPC$IPC IPC Service (RB_LAW Samba Server 3.0.7) ADMIN$ IPC IPC Service (RB_LAW Samba Server 3.0.7) Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.7] Server Comment ---- DARREN Darren's Dell NEMESIS RB_LAW Samba Server 3.0.7 RANKIN-XP SECRETARYPIII 866 20G WorkgroupMaster ---- RB_LAW NEMESIS The smb.conf is (in relevant part): [global] ... load printers = yes printcap name = cups printing = cups [printers] comment = Rankin*Bertin Printers path = /var/spool/samba browseable = no public = yes guest ok = Yes writable = no printer admin = root, sys printable = Yes [EMAIL PROTECTED] david]# cat /etc/cups/printers.conf # Printer configuration file for CUPS v1.1.18 # Written by cupsd on Fri 24 Sep 2004 08:46:38 PM GMT DefaultPrinter laserjet4200 Info HP Laserjet 4200 Location Front Office DeviceURI smb://secretary/lj4200 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 /Printer -- David C. Rankin, J.D., P.E. Rankin * Bertin, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] sendfile failed
Mates, I'm trying to learn a little more. I have 3.0.7 running on Mandrake 7.2. I could see all the shares, but couldn't access the files sendfile failed. I set use sendfile = No and all is well. I have a separate system Suse 9.0 pro with use sendfile = yes and I have no problems. What is the difference??? -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] mdk 7.2 init.d script Mystery....
James, I have sent this to you directly and cc:ed the list for reasons that should become apparent below. THE SITUATION OS: mdk 7.2, 2.2.19 kernel - basically bone stock Latest addtions: samba 3.0.7-1 compiled from source (working fine); cups-1.1.18-1 from mdk rpm Reasons for additions: XP SP2 fun and games THE MYSTERY As any normal person does, I use /etc/rc.d/init.d/smb to start and stop and restart the smbd and nmbd daemons. For a day and a half (post upgrade) execution of the init.d script resulted in the comforting [OK] or [Failed] feedback to let you know the script did its job. At 17:45 CDT today -- that all changed? Now, for some reason unexplained to me, when I execute the ../init.d/smb script NOTHING HAPPENS AT ALL?? No feedback whatsoever. The script has no effect at all. Case in point: [EMAIL PROTECTED] /root]# /etc/rc.d/init.d/smb stop(notice no [OK] or [Failed] response.) [EMAIL PROTECTED] /root]# smbclient -U% -L localhost Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.7] Sharename Type Comment - --- guilloryDisk David Guillory Bertin Disk Darren Bertin Rankin Disk Rankin Law Firm PLLC config Disk Admin Config Share ApplicationsDisk Windows Applications IPC$IPC IPC Service (RB_LAW Samba Server 3.0.7) ADMIN$ IPC IPC Service (RB_LAW Samba Server 3.0.7) Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.7] Server Comment ---- BACKUP This is the backup computer DARREN Darren's Dell NEMESIS RB_LAW Samba Server 3.0.7 RANKIN-XP SECRETARYPIII 866 20G WorkgroupMaster ---- RB_LAW NEMESIS [EMAIL PROTECTED] /root]# ps ax | grep mbd 1233 ?S 0:00 smbd -D 1234 ?S 0:00 smbd -D 1236 ?S 0:00 nmbd -D SMBD and NMBD should be dead dead dead. The only way to get samba going is to manually start the daemons via #smbd -D and #nmbd -D. Puzzling because: [EMAIL PROTECTED] /root]# ls -al /etc/rc.d/init.d/s* -rwxr-xr-x1 root root 1550 Jan 17 2001 /etc/rc.d/init.d/single* -rwxr-xr-x1 root root 1523 May 10 2001 /etc/rc.d/init.d/smb* -rwxr-xr-x1 root root 749 Jan 17 2001 /etc/rc.d/init.d/snmpd* -rwxr-xr-x1 root root 2772 Jan 17 2001 /etc/rc.d/init.d/sound* -rwxr-xr-x1 root root 2306 Oct 3 2000 /etc/rc.d/init.d/squid* -rwxr-xr-x1 root root 2647 Jun 24 2002 /etc/rc.d/init.d/sshd* -rwx--1 root root 1296 Jan 17 2001 /etc/rc.d/init.d/syslog* the script is still is there and presumably doing its job. Bottom line -- HAVE YOU EVER HEARD OF AN INIT SCRIPT DYING?? Or, did I do someting stupid like stick a process or PID somewhere?? I haven't a clue (If I'm called on that statement, I'll deny it) I was so desperate (embarrisingly - like with Windows) I rebooted and killed 317 days uptime to make sure nothing was lingering around. No Joy Any help will be greatly appreciated. -- David C. Rankin, J.D., P.E. Rankin * Bertin, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] mdk 7.2, Upgrade 2.0.9 to 3.0.7, Help with ./configure
Well, I'm responding to myself hoping to get a little more guidance: I have compiled 3.0.7-1 for Mandrake 7.2 (gcc 2.95.3) from source using: # ./configure --prefix=/usr --with-smbmount the only meaningful warning was the Unicode character translation message # make looks like it worked and it produced the following binaries were created in (source)/bin. My question is: Does it look like all the binaries that were supposed to be built are there?? Do they look to be about the right size?? I'm just seeking a little reassurance before doing # 'make install'. Also, does anyone have experience with 'make revert' Does it really work?? [EMAIL PROTECTED] source]# ls -al bin/ total 23012 drwxrwxr-x2 783 783 4096 Sep 22 16:33 ./ drwxrwxr-x 42 783 783 4096 Sep 22 16:28 ../ -rw-r--r--1 root root0 Sep 22 16:25 .dummy -rwxr-xr-x1 root root 7397 Sep 22 16:33 CP437.so* -rwxr-xr-x1 root root 7273 Sep 22 16:33 CP850.so* -rwxr-xr-x1 root root 9065 Sep 22 16:33 audit.so* -rwxr-xr-x1 root root12627 Sep 22 16:33 cap.so* -rwxr-xr-x1 root root 6799 Sep 22 16:33 default_quota.so* -rwxr-xr-x1 root root 9532 Sep 22 16:33 expand_msdfs.so* -rwxr-xr-x1 root root12676 Sep 22 16:33 extd_audit.so* -rwxr-xr-x1 root root 6038 Sep 22 16:33 fake_perms.so* -rwxr-xr-x1 root root24971 Sep 22 16:33 full_audit.so* -rw-r--r--1 root root 1709266 Sep 22 16:33 libsmbclient.a -rwxr-xr-x1 root root 1308121 Sep 22 16:33 libsmbclient.so* -rwxr-xr-x1 root root 1444954 Sep 22 16:27 net* -rwxr-xr-x1 root root11640 Sep 22 16:33 netatalk.so* -rwxr-xr-x1 root root 915802 Sep 22 16:26 nmbd* -rwxr-xr-x1 root root 562580 Sep 22 16:28 nmblookup* -rwxr-xr-x1 root root 536202 Sep 22 16:28 ntlm_auth* -rwxr-xr-x1 root root 680531 Sep 22 16:28 pdbedit* -rwxr-xr-x1 root root17821 Sep 22 16:28 profiles* -rwxr-xr-x1 root root18176 Sep 22 16:33 readonly.so* -rwxr-xr-x1 root root17523 Sep 22 16:33 recycle.so* -rwxr-xr-x1 root root 1393303 Sep 22 16:28 rpcclient* -rwxr-xr-x1 root root 9810 Sep 22 16:33 shadow_copy.so* -rwxr-xr-x1 root root 1195899 Sep 22 16:28 smbcacls* -rwxr-xr-x1 root root 815459 Sep 22 16:27 smbclient* -rwxr-xr-x1 root root 592811 Sep 22 16:28 smbcontrol* -rwxr-xr-x1 root root 1178954 Sep 22 16:28 smbcquotas* -rwxr-xr-x1 root root 2466684 Sep 22 16:25 smbd* -rwxr-xr-x1 root root17667 Sep 22 16:28 smbmnt* -rwxr-xr-x1 root root 668740 Sep 22 16:28 smbmount* -rwxr-xr-x1 root root 1303781 Sep 22 16:28 smbpasswd* -rwxr-xr-x1 root root 668683 Sep 22 16:27 smbspool* -rwxr-xr-x1 root root 579702 Sep 22 16:27 smbstatus* -rwxr-xr-x1 root root 744879 Sep 22 16:28 smbtree* -rwxr-xr-x1 root root15334 Sep 22 16:28 smbumount* -rwxr-xr-x1 root root 1396021 Sep 22 16:26 swat* -rwxr-xr-x1 root root37388 Sep 22 16:28 tdbbackup* -rwxr-xr-x1 root root34906 Sep 22 16:28 tdbdump* -rwxr-xr-x1 root root 527933 Sep 22 16:27 testparm* -rwxr-xr-x1 root root 451630 Sep 22 16:27 testprns* -rwxr-xr-x1 root root 481431 Sep 22 16:28 wbinfo* -rwxr-xr-x1 root root 1470818 Sep 22 16:27 winbindd* -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: David Rankin [EMAIL PROTECTED] To: samba [EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 10:56 AM Subject: [Samba] mdk 7.2, Upgrade 2.0.9 to 3.0.7, Help with ./configure Mates, In following chapter 35 How to Compile Samba I have looked at ./configure --help and I have a few questions. Originally I installed 2.0.9 via RPM, and of course there are no longer RPMs for mdk 7.2. On 7.2, smbd and nmbd are installed in /usr/sbin. The docs are in /usr/share/doc/samba-2.0.9. I don't know where the rest of the pieces of the puzzle were scattered by mdk by default. mdk 7.2 doesn't put anything in /usr/local by default. Will simply doing a ./configure get things in the right places? Or, do I need to hunt and find all the pieces and explicitly specify each configuration option?? If so, What do I do with: --prefix=PREFIX --exec-prefix=EPREFIX It looks like --exec-prefix=/usr/sbin is what I need, but what about --prefix=? Does it get set to --prefix=/usr The confusion comes in looking at Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR
Re: [Samba] checking a users last login
Where and what should I look for to determine users last login? /var/log/samba/log.(username) -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: Randy S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 23, 2004 2:12 PM Subject: [Samba] checking a users last login Where and what should I look for to determine users last login? Thanks. /R -- 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] checking a users last login
Hmmm Why not just: # tail -n50 /var/log/samba/log.(machine) -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: Randy S [EMAIL PROTECTED] To: samba [EMAIL PROTECTED] Sent: Thursday, September 23, 2004 3:53 PM Subject: Re: [Samba] checking a users last login David Rankin wrote: Where and what should I look for to determine users last login? /var/log/samba/log.(username) I only have logs that correspond to machine names, not user names. I assume these will work. Is there a certain call or something to grep for? -- 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] Compile from source FAILED - Mandrake 7.2
Mates, The saga continues, but THANK GOD 'make revert' WORKS. Here is my problem. I am trying to compile 3.0.7 from source and install it on my Mandrake 7.2 box. The gcc compiler is 2.95.3. Here is what I have done: [stop samba] # ./configure --prefix=/usr --with-smbmount # make # make install # /etc/rc.d/init.d/smb start Here is what I get: [EMAIL PROTECTED] david]# tail /var/log/messages Sep 23 21:01:28 Nemesis smb: smbd startup failed Sep 23 21:01:28 Nemesis smb: nmbd startup failed # make revert (pray with fingers crossed) Sep 23 21:01:59 Nemesis smb: smbd startup succeeded Sep 23 21:01:59 Nemesis smb: nmbd startup succeeded [EMAIL PROTECTED] david]# smbclient -U% -L localhost added interface ip=192.168.7.14 bcast=192.168.7.255 nmask=255.255.255.0 Domain=[RB_LAW] OS=[Unix] Server=[Samba 2.0.9] Sharename Type Comment - --- Rankin-Bertin Disk Rankin-Bertin PLLC guillory Disk David Guillory Bertin Disk Darren Bertin Rankin Disk Rankin Law Firm PLLC config Disk Admin Config Share Applications Disk Windows Applications printers Printer All the Damn Printing SOB's IPC$ IPC IPC Service (RB_LAW Samba Server 2.0.9) Server Comment ---- BACKUP This is the backup computer DARREN Darren's Dell DAVIDG Guillory Box JANICE computer LIBRARY Dell 2400 2.6 GHz NEMESIS RB_LAW Samba Server 2.0.9 RANKIN-XP WorkgroupMaster ---- RB_LAW NEMESIS (Big sigh of relief) Ok, so what went wrong?? ./configure went ok. make seemed to go ok. The following binaries were built: [EMAIL PROTECTED] source]# ls bin/ CP437.so* expand_msdfs.so* libsmbclient.so* ntlm_auth* rpcclient* smbcquotas* smbspool* tdbbackup* winbindd* CP850.so* extd_audit.so*net* pdbedit* shadow_copy.so* smbd*smbstatus* tdbdump* audit.so* fake_perms.so*netatalk.so* profiles* smbcacls*smbmnt* smbtree*testparm* cap.so*full_audit.so*nmbd* readonly.so* smbclient* smbmount*smbumount* testprns* default_quota.so* libsmbclient.anmblookup*recycle.so* smbcontrol* smbpasswd* swat* wbinfo* Where do I start looking to find out what failed?? Has anybody else got this working?? -- David C. Rankin, J.D., P.E. Rankin * Bertin, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[SOLVED] Re: [Samba] Compile from source FAILED - Mandrake 7.2
WOHOO - doing a dance.. It works, the problem was the --with-configdir defaulting to ($libdir) which sent samba looking for the smb.conf in /usr/lib instead of /etc. Damn, that wasn't that hard was it?? -- David C. Rankin, J.D., P.E. Rankin * Bertin, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: David Rankin [EMAIL PROTECTED] To: samba [EMAIL PROTECTED] Sent: Thursday, September 23, 2004 9:23 PM Subject: [Samba] Compile from source FAILED - Mandrake 7.2 Mates, The saga continues, but THANK GOD 'make revert' WORKS. Here is my problem. I am trying to compile 3.0.7 from source and install it on my Mandrake 7.2 box. The gcc compiler is 2.95.3. Here is what I have done: [stop samba] # ./configure --prefix=/usr --with-smbmount # make # make install # /etc/rc.d/init.d/smb start Here is what I get: [EMAIL PROTECTED] david]# tail /var/log/messages Sep 23 21:01:28 Nemesis smb: smbd startup failed Sep 23 21:01:28 Nemesis smb: nmbd startup failed # make revert (pray with fingers crossed) Sep 23 21:01:59 Nemesis smb: smbd startup succeeded Sep 23 21:01:59 Nemesis smb: nmbd startup succeeded [EMAIL PROTECTED] david]# smbclient -U% -L localhost added interface ip=192.168.7.14 bcast=192.168.7.255 nmask=255.255.255.0 Domain=[RB_LAW] OS=[Unix] Server=[Samba 2.0.9] Sharename Type Comment - --- Rankin-Bertin Disk Rankin-Bertin PLLC guillory Disk David Guillory Bertin Disk Darren Bertin Rankin Disk Rankin Law Firm PLLC config Disk Admin Config Share Applications Disk Windows Applications printers Printer All the Damn Printing SOB's IPC$ IPC IPC Service (RB_LAW Samba Server 2.0.9) Server Comment ---- BACKUP This is the backup computer DARREN Darren's Dell DAVIDG Guillory Box JANICE computer LIBRARY Dell 2400 2.6 GHz NEMESIS RB_LAW Samba Server 2.0.9 RANKIN-XP WorkgroupMaster ---- RB_LAW NEMESIS (Big sigh of relief) Ok, so what went wrong?? ./configure went ok. make seemed to go ok. The following binaries were built: [EMAIL PROTECTED] source]# ls bin/ CP437.so* expand_msdfs.so* libsmbclient.so* ntlm_auth* rpcclient* smbcquotas* smbspool* tdbbackup* winbindd* CP850.so* extd_audit.so*net* pdbedit* shadow_copy.so* smbd*smbstatus* tdbdump* audit.so* fake_perms.so*netatalk.so* profiles* smbcacls*smbmnt* smbtree*testparm* cap.so*full_audit.so*nmbd* readonly.so* smbclient* smbmount*smbumount* testprns* default_quota.so* libsmbclient.anmblookup*recycle.so* smbcontrol* smbpasswd* swat* wbinfo* Where do I start looking to find out what failed?? Has anybody else got this working?? -- David C. Rankin, J.D., P.E. Rankin * Bertin, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Updated 2.2.8a to 3.0.7-1 and Cups went South
John T. wrote Sure! The permission on /var/spool/samba needs to be: chmod 01777 /var/spool/samba Thanks John, that did it! -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: John H Terpstra [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 12:24 AM Subject: Re: [Samba] Updated 2.2.8a to 3.0.7-1 and Cups went South On Tuesday 21 September 2004 23:13, David Rankin wrote: Mates, On my Suse 9.0 pro installation, I updated Samba from 2.2.8a to 3.0.7. The upgrade went flawlessly, Samba is happily sharing all the files it was before. However, I can no longer print via cups. I have a HP LJ4 attached to the Linux box that worked great before the upgrade. I have 2 XP clients. Now from the Windows side, I get the printer status showing 'access denied, unable to connect' I can browse all the shares without problems. ... Any ideas what I need to set the permissions or ownership to? Sure! The permission on /var/spool/samba needs to be: chmod 01777 /var/spool/samba - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 OpenLDAP by Example, ISBN: 0131488732 Other books in production. -- 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] mdk 7.2, Upgrade 2.0.9 to 3.0.7, Help with ./configure
Mates, In following chapter 35 How to Compile Samba I have looked at ./configure --help and I have a few questions. Originally I installed 2.0.9 via RPM, and of course there are no longer RPMs for mdk 7.2. On 7.2, smbd and nmbd are installed in /usr/sbin. The docs are in /usr/share/doc/samba-2.0.9. I don't know where the rest of the pieces of the puzzle were scattered by mdk by default. mdk 7.2 doesn't put anything in /usr/local by default. Will simply doing a ./configure get things in the right places? Or, do I need to hunt and find all the pieces and explicitly specify each configuration option?? If so, What do I do with: --prefix=PREFIX --exec-prefix=EPREFIX It looks like --exec-prefix=/usr/sbin is what I need, but what about --prefix=? Does it get set to --prefix=/usr The confusion comes in looking at Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIRmodifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIRC header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] From this it looks like I should just set --prefix=/usr, forget about setting --exec-prefix and let it default to --prefix=/usr and the rest will take care of itself. Which is right? -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Compiled 3.0.7-1 on Mandrake 7.2 -- Did it work?
Mates, Just got done configuring and compiling 3.0.7-1 on my Mandrake 7.2 box. The process was as follows: ./configure --prefix=/usr --with-smbmount make The following is a listing of the ../bin directory. Does it look like all the pieces got built and are about the right size?? Any feedback before doing the 'make install' would be appreciated. [EMAIL PROTECTED] source]# ls -al bin/ total 23012 drwxrwxr-x2 783 783 4096 Sep 22 16:33 ./ drwxrwxr-x 42 783 783 4096 Sep 22 16:28 ../ -rw-r--r--1 root root0 Sep 22 16:25 .dummy -rwxr-xr-x1 root root 7397 Sep 22 16:33 CP437.so* -rwxr-xr-x1 root root 7273 Sep 22 16:33 CP850.so* -rwxr-xr-x1 root root 9065 Sep 22 16:33 audit.so* -rwxr-xr-x1 root root12627 Sep 22 16:33 cap.so* -rwxr-xr-x1 root root 6799 Sep 22 16:33 default_quota.so* -rwxr-xr-x1 root root 9532 Sep 22 16:33 expand_msdfs.so* -rwxr-xr-x1 root root12676 Sep 22 16:33 extd_audit.so* -rwxr-xr-x1 root root 6038 Sep 22 16:33 fake_perms.so* -rwxr-xr-x1 root root24971 Sep 22 16:33 full_audit.so* -rw-r--r--1 root root 1709266 Sep 22 16:33 libsmbclient.a -rwxr-xr-x1 root root 1308121 Sep 22 16:33 libsmbclient.so* -rwxr-xr-x1 root root 1444954 Sep 22 16:27 net* -rwxr-xr-x1 root root11640 Sep 22 16:33 netatalk.so* -rwxr-xr-x1 root root 915802 Sep 22 16:26 nmbd* -rwxr-xr-x1 root root 562580 Sep 22 16:28 nmblookup* -rwxr-xr-x1 root root 536202 Sep 22 16:28 ntlm_auth* -rwxr-xr-x1 root root 680531 Sep 22 16:28 pdbedit* -rwxr-xr-x1 root root17821 Sep 22 16:28 profiles* -rwxr-xr-x1 root root18176 Sep 22 16:33 readonly.so* -rwxr-xr-x1 root root17523 Sep 22 16:33 recycle.so* -rwxr-xr-x1 root root 1393303 Sep 22 16:28 rpcclient* -rwxr-xr-x1 root root 9810 Sep 22 16:33 shadow_copy.so* -rwxr-xr-x1 root root 1195899 Sep 22 16:28 smbcacls* -rwxr-xr-x1 root root 815459 Sep 22 16:27 smbclient* -rwxr-xr-x1 root root 592811 Sep 22 16:28 smbcontrol* -rwxr-xr-x1 root root 1178954 Sep 22 16:28 smbcquotas* -rwxr-xr-x1 root root 2466684 Sep 22 16:25 smbd* -rwxr-xr-x1 root root17667 Sep 22 16:28 smbmnt* -rwxr-xr-x1 root root 668740 Sep 22 16:28 smbmount* -rwxr-xr-x1 root root 1303781 Sep 22 16:28 smbpasswd* -rwxr-xr-x1 root root 668683 Sep 22 16:27 smbspool* -rwxr-xr-x1 root root 579702 Sep 22 16:27 smbstatus* -rwxr-xr-x1 root root 744879 Sep 22 16:28 smbtree* -rwxr-xr-x1 root root15334 Sep 22 16:28 smbumount* -rwxr-xr-x1 root root 1396021 Sep 22 16:26 swat* -rwxr-xr-x1 root root37388 Sep 22 16:28 tdbbackup* -rwxr-xr-x1 root root34906 Sep 22 16:28 tdbdump* -rwxr-xr-x1 root root 527933 Sep 22 16:27 testparm* -rwxr-xr-x1 root root 451630 Sep 22 16:27 testprns* -rwxr-xr-x1 root root 481431 Sep 22 16:28 wbinfo* -rwxr-xr-x1 root root 1470818 Sep 22 16:27 winbindd* -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Updated 2.2.8a to 3.0.7-1 and Cups went South
Mates, On my Suse 9.0 pro installation, I updated Samba from 2.2.8a to 3.0.7. The upgrade went flawlessly, Samba is happily sharing all the files it was before. However, I can no longer print via cups. I have a HP LJ4 attached to the Linux box that worked great before the upgrade. I have 2 XP clients. Now from the Windows side, I get the printer status showing 'access denied, unable to connect' I can browse all the shares without problems. A tail of /var/log shows: Sep 21 23:45:14 skyline smbd[6803]: [2004/09/21 23:45:14, 0] printing/printing.c:print_job_start(2103) Sep 21 23:45:14 skyline smbd[6803]: print_job_start: insufficient permissions to open spool file /var/spool/samba/smbprn.0008.VNOJIk. Sep 21 23:46:04 skyline smbd[6803]: [2004/09/21 23:46:04, 0] printing/printing.c:print_job_start(2103) Sep 21 23:46:04 skyline smbd[6803]: print_job_start: insufficient permissions to open spool file /var/spool/samba/smbprn.0009.EfTyaH. Sep 21 23:46:29 skyline smbd[6803]: [2004/09/21 23:46:29, 0] smbd/service.c:make_connection(800) Sep 21 23:46:29 skyline smbd[6803]: ripper (192.168.6.100) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d} Sep 21 23:49:08 skyline smbd[6803]: [2004/09/21 23:49:08, 0] printing/printing.c:print_job_start(2103) Sep 21 23:49:08 skyline smbd[6803]: print_job_start: insufficient permissions to open spool file /var/spool/samba/smbprn.0010.vrhiRO. The permissions are: skyline:/var/spool # ls -al total 4 drwxr-xr-x 17 root root 448 May 17 22:30 . drwxr-xr-x 17 root root 432 Apr 13 22:49 .. drwx--2 at at 72 Apr 13 21:39 atjobs drwx--2 at at 48 Sep 23 2003 atspool drwxrwx---2 mail mail 48 Sep 23 2003 clientmqueue drwx--4 root root 120 Apr 13 21:44 cron drwx--x---3 lp lp 3072 Sep 17 14:24 cups drwxr-xr-x 17 fax uucp 496 Apr 21 01:51 fax lrwxrwxrwx1 root root7 Apr 13 21:16 locks - ../lock drwxr-xr-x2 lp lp 48 Sep 23 2003 lpd drwxrwxrwt2 root root 72 Sep 15 11:32 mail drwxrwxr-x9 news news 216 Apr 13 22:36 news drwxr-xr-x 14 root root 336 Apr 13 21:43 postfix drwxr-xr-x2 root root 48 Sep 16 05:17 samba drwx--4 uucp root 96 Apr 13 22:42 smtpd drwxr-xr-x3 uucp uucp 72 Apr 13 21:16 uucp drwxrwxrwt2 root root 72 Apr 13 22:41 uucppublic drwxr-xr-x4 root root 96 Apr 13 22:06 voice Any ideas what I need to set the permissions or ownership to? -- David C. Rankin, J.D., P.E. Rankin * Bertin, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Best way to update old Mdk box w/2.09 to 3.06??
Mates, I am at the point that I will have to update my trusty samba 2.0.9 to 3.0.6 or 2.2.11. (damn SP2) Problem is that my production machine is still running Mandrake 7.2 and, of course, there aren't any RPMs for the old distro. So, I guess my option is to install from source. Do I need to rpm -e the 2.0.9 before attempting to compile and install 2.2.11 or 3.0.6? My server is a simple server that doesn't rely on ldap, kerbose, winbind, etc. Does is make sense to go to 3.0.6 instead of 2.2.11? Any pointers or gotchas?? Installing from source, is there anything other than ./configure, make, make install and rtfm for the new smb.conf entries?? -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: samba printing
Doug, don't know if this will help, but mine is working from XP clients printing to a laserjet attached to my server. Here are the permissions for the various spool directories: skyline:/var # ls -al ... drwxr-xr-x 17 root root 448 May 17 22:30 spool ... skyline:/var # ls -al spool ... drwx--x---3 lp lp 2328 Aug 22 15:02 cups drwxr-xr-x2 lp lp 48 Sep 23 2003 lpd drwxrwxrwx2 nobody nobody 48 Aug 22 15:02 samba my cupsd.conf is: skyline:/etc/cups # cat cupsd.conf | grep -v '#' LogLevel info Printcap /etc/cups/printcap User lp Group lp RunAsUser Yes Port 631 BrowseAllow @LOCAL BrowseDeny All Location / Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 127.0.0.2 Allow From @LOCAL /Location Location /admin AuthType BasicDigest AuthClass Group AuthGroupName sys Order Deny,Allow Deny From All Allow From 127.0.0.1 /Location My printers.conf is: DefaultPrinter HP_LJ4 Info HP Laserjet 4 Location DeviceURI parallel:/dev/lp0 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 /Printer -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: Douglas Sterner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 26, 2004 1:12 PM Subject: [Samba] Re: samba printing Well upgrading to 3.06 did not fix any of my issues with printing from the client. Once again I can print from the server cups see's the job and logs it the client can't print at all. No errors no messages. Any more ideas. This errored out ldd smbd | grep cups This did nothing su user who cannot print cd spooldir of the printer touch test Douglas Sterner -- 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] XP difficulties on 2.09
Guys, I think the answer to my question is to upgrade samba. However, since this is my production machine, I thought I would try and understand the problems I'm having a little better to insure that an upgrade will correct my issues. My setup - Mandrake 7.2, samba 2.09. Win98, ME and XP clients. The 98 and ME machines have no problems. The XP machine has some intermittent slowness accessing files and printing to a printer hanging off a ME machine. The smb log shows the following: This seems to be associated with the printing delay: [2004/05/24 08:38:22, 0] smbd/nttrans.c:call_nt_transact_ioctl(2516) call_nt_transact_ioctl: Currently not implemented. This seems to be associated with the file access slowness: [2004/05/24 08:49:27, 0] smbd/oplock.c:oplock_break(976) oplock_break: receive_smb timed out after 30 seconds. oplock_break failed for file rankinlawfirm/clients/Rosenberger, Fran/Pleadings/NOTICE Second Amended- Deposition Crawford.doc (dev = 308, inode = 1371033). [2004/05/24 08:49:27, 0] smbd/oplock.c:oplock_break(1050) oplock_break: client failure in oplock break in file rankinlawfirm/clients/Rosenberger, Fran/Pleadings/NOTICE Second Amended- Deposition Crawford.doc [2004/05/24 08:49:27, 0] smbd/reply.c:reply_lockingX(4163) reply_lockingX: Error : oplock break from client for fnum = 5056 and no oplock granted on this file (rankinlawfirm/clients/Rosenberger, Fran/Pleadings/NOTICE Second Amended- Deposition Crawford.doc). Obviously the file access problem is oplock related. I haven't a clue as to the call_nt_transact_ioctl message. Anybody know if an upgrade to 2.2.9 or 3.0.4 will resolve the issues? Any bits of wisdom will be greatly appreciated. -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba