Re: [Samba] WinXP print problem
I believe that should be 01777, should it not? Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Thu, 13 Jan 2005, John H Terpstra wrote: Date: Thu, 13 Jan 2005 08:35:14 -0700 To: samba@lists.samba.org Subject: Re: [Samba] WinXP print problem Jean, I am guessing from the information that you have provided that there may be a Samba spool directory permissions problem. What are the permissions on /var/spool/samba? They should be set to: drwxrwxrwt which is achieved by: chmod 02777 /var/spool/samba - John T. On Thursday 13 January 2005 02:32, Jean Lee wrote: Hello, I am using samba to acces a printer on my Linux server from Windows XP Home SP2 clients. It was working very well until yesterday evening. Since yesterday, I can print from the server (with cups) but I can't print from the Windows clients. And all the shared folders are still OK. There is only printing from Windows clients which doesn't work. We changed nothing on the server neither on the client side. When I try to print a test page from Windows, I get the following error: Unable to create a print task I tried the following things : Uninstall then reinstall printer from the windows client Uninstall then reinstall printer from the server reboot the server I always have the problem Here is a part of my /etc/smb.conf [printers] comment = All Printers valid users = user gp pm cm path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print public = no writable = no printable = yes I don't know where to search. I tried Ethereal but it is to complex for me. Does anybody experienced this problem ? If no, where and what can I start to search ? THank you for any help, Jean Lee -- 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] Domain authentication failing after a period of time
OK, I've now downgraded back to an older, formerly working version of Samba (3.0.2a), and the same behavior is still happening (i.e. after rejoining the domain, it works for 15 minutes and then stops with a NT_STATUS_NO_LOGON_SERVERS error). I tried adding the domain after deleting the secrets.tdb file with Samba up and with it down, and it always has the same effect. I even uninstalled samba, blew away the secrets.tdb file, had the machine account removed from the domain, waited overnight to confirm that the machine account would be removed across the domain, reinstalled samba, rejoined the domain, and restarted samba. Same dang problem. Is there anything else that anyone can suggest that I try? Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Wed, 24 Nov 2004, William R. Knox wrote: Date: Wed, 24 Nov 2004 15:02:04 -0500 (EST) From: William R. Knox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] Domain authentication failing after a period of time OK, I tried removing and readding the machine account from the domain, and still no luck - logons work for 15 minutes and then stop. Anyone else seeing anything like this? Anyone have any ideas? At this point, I'll try nearly anything. As I said, everything had been working like a charm under 3.0.2a, through a few upgrades and everything. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Fri, 19 Nov 2004, William R. Knox wrote: Date: Fri, 19 Nov 2004 13:02:47 -0500 (EST) From: William R. Knox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] Domain authentication failing after a period of time Adding a little bit more detail: It still happens with a just upgraded 3.0.9 install The period of time appears to be 15 minutes (tested twice, connecting every 30 seconds, 15 minutes both times) - until then, connections work fine. After that, see below. Here is the output from a debug level 3 smbclient connection: $ smbclient -d 3 -L server_name -U user%pass lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file /path/to/smb.conf Processing section [global] added interface ip=XXX.XXX.XXX.XXX bcast=XXX.XXX.XXX.XXX nmask=255.255.255.0 Client started (version 3.0.9). resolve_lmhosts: Attempting lmhosts lookup for name server_name0x20 resolve_wins: Attempting wins lookup for name server_name0x20 resolve_wins: using WINS server XXX.XXX.XXX.XXX and tag '*' Got a positive name query response from XXX.XXX.XXX.XXX ( XXX.XXX.XXX.XXX ) Connecting to XXX.XXX.XXX.XXX at port 445 Doing spnego session setup (blob length=58) got OID=1 3 6 1 4 1 311 2 2 10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x60890215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60080215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60080215 SPNEGO login failed: No logon servers session setup failed: NT_STATUS_NO_LOGON_SERVERS Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Thu, 18 Nov 2004, William R. Knox wrote: Date: Thu, 18 Nov 2004 14:36:53 -0500 (EST) From: William R. Knox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] Domain authentication failing after a period of time I am having an unusual bit of behavior with a recently upgraded 3.0.8 installation (from 3.0.2a). I upgraded the server and retained the secrets.tdb file. The server itself is using security = domain, and it had been joined to the domain prior to the upgrade. Now, once I started the new version, I couldn't log on, and would get the error There are no logon servers available to service the logon request. If I rejoin the domain (using the net join command), I can access the shares, but only for a period of time. After a few minutes (there doesn't seem to be a specific interval), that same message is returned. Running a smbclient -L against the system yields session setup failed: NT_STATUS_NO_LOGON_SERVERS. I haven't tried failing back to 3.0.2a yet, but I will if that will help in any diagnoses. Thanks in advance for any help anyone may be able to give. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions
Re: [Samba] Domain authentication failing after a period of time
I have the output (collected from a snoop session on the Samba server - I have no access to run Ethereal on the Windows boxes) and will forward it to you directly (all 1504 packets). Please do let me know if you need anything else, and thanks. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Tue, 30 Nov 2004, Jeremy Allison wrote: Date: Tue, 30 Nov 2004 08:55:49 -0800 From: Jeremy Allison [EMAIL PROTECTED] To: William R. Knox [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Domain authentication failing after a period of time On Tue, Nov 30, 2004 at 09:23:23AM -0500, William R. Knox wrote: OK, I've now downgraded back to an older, formerly working version of Samba (3.0.2a), and the same behavior is still happening (i.e. after rejoining the domain, it works for 15 minutes and then stops with a NT_STATUS_NO_LOGON_SERVERS error). I tried adding the domain after deleting the secrets.tdb file with Samba up and with it down, and it always has the same effect. I even uninstalled samba, blew away the secrets.tdb file, had the machine account removed from the domain, waited overnight to confirm that the machine account would be removed across the domain, reinstalled samba, rejoined the domain, and restarted samba. Same dang problem. Is there anything else that anyone can suggest that I try? Ok, I hate to see you in such a bind. Can you set an ethereal trace running to monitor the DC for the 15 minutes, and see what, if anything is going between the Samba server and DC. I must confess I haven't been following your problem but this can't be impossible to solve (famous last words :-). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Domain authentication failing after a period of time
I didn't see that the 1c server wasn't being queried until after 15 minutes (thanks to Jeremy for taking hold of my hand and pointing this out - I will never, EVER get my head wrapped around Windows browsing and why that isn't queried until fifteen minutes after I join the domain). It turned out that I was able to alert my Windows admin brethren to a problem wherein one of their domain controller had a tombstone for their logon server (1c) records, and so were not responding properly. One final note - though I hadn't had it before, during the course of some testing, I put in a second domain controller that did have the 1c entries, and that didn't help the situation, i.e. only the first wins server parameter entry seems to get queried for the DOMAIN#1C servers. I don't know if this is a bug or the expected behavior, but I thought I would mention it as part of the final wrap-up. Thanks again to Jeremy for picking up my calls for help and pointing out the flaw in my investigation. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Tue, 30 Nov 2004, Jeremy Allison wrote: Date: Tue, 30 Nov 2004 10:06:41 -0800 From: Jeremy Allison [EMAIL PROTECTED] To: William R. Knox [EMAIL PROTECTED] Cc: Jeremy Allison [EMAIL PROTECTED] Subject: Re: [Samba] Domain authentication failing after a period of time On Tue, Nov 30, 2004 at 12:47:52PM -0500, William R. Knox wrote: Here is the session - I ran the following commands during the session: 12:11:46 net join -U username%password 12:11:51 smbclient -L corpdev2 -U username (prompted for and typed in password) - success 12:25:54 same smbclient command as above - success 12:27:01 same smbclient command as above, but this time it fails with the session setup failed: NT_STATUS_NO_LOGON_SERVERS error Your problem is that the NetBIOS name MITRE1C (ie. the NetBIOS name of the primary domain controller) can't be found. You can see these queries in packets 1489 onwards. The client domain join isn't broken, it's fine, you've got a problem with name resolution. What are you using for name resolution ? Wins ? Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Domain authentication failing after a period of time
Thanks for the clarification. Cheers! Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Tue, 30 Nov 2004, Jeremy Allison wrote: Date: Tue, 30 Nov 2004 14:23:50 -0800 From: Jeremy Allison [EMAIL PROTECTED] To: William R. Knox [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Domain authentication failing after a period of time On Tue, Nov 30, 2004 at 04:31:44PM -0500, William R. Knox wrote: One final note - though I hadn't had it before, during the course of some testing, I put in a second domain controller that did have the 1c entries, and that didn't help the situation, i.e. only the first wins server parameter entry seems to get queried for the DOMAIN#1C servers. I don't know if this is a bug or the expected behavior, but I thought I would mention it as part of the final wrap-up. Actually that wasn't what was happening in your case. The WINS server in question was responding to the name query - it was just responding name unknown (ie. the tombstone). If the server hadn't responded at all then the other WINS servers would have been queried. So it wasn't missing data, it was incorrect data that did you in :-). Cheers, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Domain authentication failing after a period of time
Thanks for the advice - unfortunately, I don't think it applies, as we are not in an Active Directory domain (or at least the NT compatibility is turned on). And we aren't using winbind - this is strictly CIFS access from Windows or via smbclient that is failing. (Forwarded to list after contacting original sender off list). Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Wed, 24 Nov 2004, [EMAIL PROTECTED] wrote: Date: Wed, 24 Nov 2004 08:38:32 -1200 From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: William R. Knox [EMAIL PROTECTED] Subject: Re: [Samba] Domain authentication failing after a period of time Anyone else seeing anything like this? Anyone have any ideas? At this point, I'll try nearly anything. As I said, everything had been working like a charm under 3.0.2a, through a few upgrades and everything. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation I had a similar problem with my test box of SuSE 9.1 + WinAD in that authentication would fail after some hours with 3.0.4. I finally have the system stable as follows: I updated to all the Samba 3.0.9 packages for Suse including heimdal kerberos update. Authentication then failed so I reverted to samba-winbind-3.0.8 and all has been working for well since Monday. But now I have a mix of samba-* packages. As I can't risk these problems on a production box I ordered SLES 9. If you have not yet done so I suggest you check that you have any available patches for your version of kerberos. Good luck. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Domain authentication failing after a period of time
OK, I tried removing and readding the machine account from the domain, and still no luck - logons work for 15 minutes and then stop. Anyone else seeing anything like this? Anyone have any ideas? At this point, I'll try nearly anything. As I said, everything had been working like a charm under 3.0.2a, through a few upgrades and everything. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Fri, 19 Nov 2004, William R. Knox wrote: Date: Fri, 19 Nov 2004 13:02:47 -0500 (EST) From: William R. Knox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] Domain authentication failing after a period of time Adding a little bit more detail: It still happens with a just upgraded 3.0.9 install The period of time appears to be 15 minutes (tested twice, connecting every 30 seconds, 15 minutes both times) - until then, connections work fine. After that, see below. Here is the output from a debug level 3 smbclient connection: $ smbclient -d 3 -L server_name -U user%pass lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file /path/to/smb.conf Processing section [global] added interface ip=XXX.XXX.XXX.XXX bcast=XXX.XXX.XXX.XXX nmask=255.255.255.0 Client started (version 3.0.9). resolve_lmhosts: Attempting lmhosts lookup for name server_name0x20 resolve_wins: Attempting wins lookup for name server_name0x20 resolve_wins: using WINS server XXX.XXX.XXX.XXX and tag '*' Got a positive name query response from XXX.XXX.XXX.XXX ( XXX.XXX.XXX.XXX ) Connecting to XXX.XXX.XXX.XXX at port 445 Doing spnego session setup (blob length=58) got OID=1 3 6 1 4 1 311 2 2 10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x60890215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60080215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60080215 SPNEGO login failed: No logon servers session setup failed: NT_STATUS_NO_LOGON_SERVERS Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Thu, 18 Nov 2004, William R. Knox wrote: Date: Thu, 18 Nov 2004 14:36:53 -0500 (EST) From: William R. Knox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] Domain authentication failing after a period of time I am having an unusual bit of behavior with a recently upgraded 3.0.8 installation (from 3.0.2a). I upgraded the server and retained the secrets.tdb file. The server itself is using security = domain, and it had been joined to the domain prior to the upgrade. Now, once I started the new version, I couldn't log on, and would get the error There are no logon servers available to service the logon request. If I rejoin the domain (using the net join command), I can access the shares, but only for a period of time. After a few minutes (there doesn't seem to be a specific interval), that same message is returned. Running a smbclient -L against the system yields session setup failed: NT_STATUS_NO_LOGON_SERVERS. I haven't tried failing back to 3.0.2a yet, but I will if that will help in any diagnoses. Thanks in advance for any help anyone may be able to give. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Domain authentication failing after a period of time
Adding a little bit more detail: It still happens with a just upgraded 3.0.9 install The period of time appears to be 15 minutes (tested twice, connecting every 30 seconds, 15 minutes both times) - until then, connections work fine. After that, see below. Here is the output from a debug level 3 smbclient connection: $ smbclient -d 3 -L server_name -U user%pass lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file /path/to/smb.conf Processing section [global] added interface ip=XXX.XXX.XXX.XXX bcast=XXX.XXX.XXX.XXX nmask=255.255.255.0 Client started (version 3.0.9). resolve_lmhosts: Attempting lmhosts lookup for name server_name0x20 resolve_wins: Attempting wins lookup for name server_name0x20 resolve_wins: using WINS server XXX.XXX.XXX.XXX and tag '*' Got a positive name query response from XXX.XXX.XXX.XXX ( XXX.XXX.XXX.XXX ) Connecting to XXX.XXX.XXX.XXX at port 445 Doing spnego session setup (blob length=58) got OID=1 3 6 1 4 1 311 2 2 10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x60890215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60080215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60080215 SPNEGO login failed: No logon servers session setup failed: NT_STATUS_NO_LOGON_SERVERS Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Thu, 18 Nov 2004, William R. Knox wrote: Date: Thu, 18 Nov 2004 14:36:53 -0500 (EST) From: William R. Knox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] Domain authentication failing after a period of time I am having an unusual bit of behavior with a recently upgraded 3.0.8 installation (from 3.0.2a). I upgraded the server and retained the secrets.tdb file. The server itself is using security = domain, and it had been joined to the domain prior to the upgrade. Now, once I started the new version, I couldn't log on, and would get the error There are no logon servers available to service the logon request. If I rejoin the domain (using the net join command), I can access the shares, but only for a period of time. After a few minutes (there doesn't seem to be a specific interval), that same message is returned. Running a smbclient -L against the system yields session setup failed: NT_STATUS_NO_LOGON_SERVERS. I haven't tried failing back to 3.0.2a yet, but I will if that will help in any diagnoses. Thanks in advance for any help anyone may be able to give. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation -- 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] Problem with VFS audit and recycle
OK, I have not heard from anyone in the last week who is using vfs objects on Solaris 8. I have also recompiled my Samba 3.0.4 build and seen no errors during the course of the build related to the vfs modules or to the object in question (nss_files_netgroup_constr). The object does not exist in any Solaris library under /usr/lib or any other location where I have installed libraries. Does anyone have any suggestions at this point as to what to try out next? I would be happy to attach my config.log or the output of the build process or anything else someone may want, but don't want to clutter the list with junk, so I won't attach it unless someone thinks it may be useful. Again, as I would love to find out if it appears to be something with my fairly vanilla system setup, anyone who has VFS working under Samba on Solaris 8, please do let me know. Thanks. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Thu, 27 May 2004, William R. Knox wrote: Date: Thu, 27 May 2004 11:48:16 -0400 (EDT) From: William R. Knox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] Problem with VFS audit and recycle Is there anyone running Samba 3.0.X on Solaris 8 that has VFS working? I am dying to know if this is a problem with my setup or if there is something else going on. If you do have it working, please let me know which module. Thanks. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation -- Forwarded message -- Date: Tue, 25 May 2004 13:54:26 -0400 (EDT) From: William R. Knox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] Problem with VFS audit and recycle (fwd) This object does not seem to exist in ANY library file included in Solaris 8, or in any that I have installed locally either. Hmmm...is there a test recorded in config.log that should have checked for this? I can't find one, but I'm by no means an expert on autoconfigure. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Tue, 25 May 2004, Jeremy Allison wrote: Date: Tue, 25 May 2004 09:53:54 -0700 From: Jeremy Allison [EMAIL PROTECTED] To: William R. Knox [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Problem with VFS audit and recycle (fwd) On Fri, May 21, 2004 at 10:13:33AM -0400, William R. Knox wrote: I have included a level 10 debug of the vicinity of the failure in the debug log - if anyone would like more detail, I would be happy to provide it. Just so as to help to rule out my environment or how I built samba, is there anyone using the vfs objects parameter successfully on Solaris 8? Please feel free to respond to me individually so as to not flood the list if I am being a bonehead and this is a problem that only Giovanni and I are having. Thanks. [2004/05/20 14:52:50, 3] smbd/vfs.c:vfs_init_default(203) Initialising default vfs hooks [2004/05/20 14:52:50, 3] smbd/vfs.c:vfs_init_custom(229) Initialising custom vfs hooks from [audit] [2004/05/20 14:52:50, 5] lib/module.c:smb_probe_module(101) Probing module 'audit' [2004/05/20 14:52:50, 5] lib/module.c:smb_probe_module(112) Probing module 'audit': Trying to load from /usr/local/lib/vfs/audit.so [2004/05/20 14:52:50, 0] lib/module.c:do_smb_load_module(57) Error trying to resolve symbol 'init_module' in /usr/local/lib/vfs/audit.so: ld.so.1: /usr/local/sbin/smbd: fatal: _nss_files_netgroup_constr: can't find symbol This has got to be a link failure when you're building audit.so. You need to ensure the library containing nss_files_netgroup_constr is linked into it. Look for this symbol using nm in the libraries on Solaris 8. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with VFS audit and recycle
Is there anyone running Samba 3.0.X on Solaris 8 that has VFS working? I am dying to know if this is a problem with my setup or if there is something else going on. If you do have it working, please let me know which module. Thanks. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation -- Forwarded message -- Date: Tue, 25 May 2004 13:54:26 -0400 (EDT) From: William R. Knox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] Problem with VFS audit and recycle (fwd) This object does not seem to exist in ANY library file included in Solaris 8, or in any that I have installed locally either. Hmmm...is there a test recorded in config.log that should have checked for this? I can't find one, but I'm by no means an expert on autoconfigure. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Tue, 25 May 2004, Jeremy Allison wrote: Date: Tue, 25 May 2004 09:53:54 -0700 From: Jeremy Allison [EMAIL PROTECTED] To: William R. Knox [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Problem with VFS audit and recycle (fwd) On Fri, May 21, 2004 at 10:13:33AM -0400, William R. Knox wrote: I have included a level 10 debug of the vicinity of the failure in the debug log - if anyone would like more detail, I would be happy to provide it. Just so as to help to rule out my environment or how I built samba, is there anyone using the vfs objects parameter successfully on Solaris 8? Please feel free to respond to me individually so as to not flood the list if I am being a bonehead and this is a problem that only Giovanni and I are having. Thanks. [2004/05/20 14:52:50, 3] smbd/vfs.c:vfs_init_default(203) Initialising default vfs hooks [2004/05/20 14:52:50, 3] smbd/vfs.c:vfs_init_custom(229) Initialising custom vfs hooks from [audit] [2004/05/20 14:52:50, 5] lib/module.c:smb_probe_module(101) Probing module 'audit' [2004/05/20 14:52:50, 5] lib/module.c:smb_probe_module(112) Probing module 'audit': Trying to load from /usr/local/lib/vfs/audit.so [2004/05/20 14:52:50, 0] lib/module.c:do_smb_load_module(57) Error trying to resolve symbol 'init_module' in /usr/local/lib/vfs/audit.so: ld.so.1: /usr/local/sbin/smbd: fatal: _nss_files_netgroup_constr: can't find symbol This has got to be a link failure when you're building audit.so. You need to ensure the library containing nss_files_netgroup_constr is linked into it. Look for this symbol using nm in the libraries on Solaris 8. Jeremy. -- 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] Problem with VFS audit and recycle (fwd)
This object does not seem to exist in ANY library file included in Solaris 8, or in any that I have installed locally either. Hmmm...is there a test recorded in config.log that should have checked for this? I can't find one, but I'm by no means an expert on autoconfigure. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Tue, 25 May 2004, Jeremy Allison wrote: Date: Tue, 25 May 2004 09:53:54 -0700 From: Jeremy Allison [EMAIL PROTECTED] To: William R. Knox [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Problem with VFS audit and recycle (fwd) On Fri, May 21, 2004 at 10:13:33AM -0400, William R. Knox wrote: I have included a level 10 debug of the vicinity of the failure in the debug log - if anyone would like more detail, I would be happy to provide it. Just so as to help to rule out my environment or how I built samba, is there anyone using the vfs objects parameter successfully on Solaris 8? Please feel free to respond to me individually so as to not flood the list if I am being a bonehead and this is a problem that only Giovanni and I are having. Thanks. [2004/05/20 14:52:50, 3] smbd/vfs.c:vfs_init_default(203) Initialising default vfs hooks [2004/05/20 14:52:50, 3] smbd/vfs.c:vfs_init_custom(229) Initialising custom vfs hooks from [audit] [2004/05/20 14:52:50, 5] lib/module.c:smb_probe_module(101) Probing module 'audit' [2004/05/20 14:52:50, 5] lib/module.c:smb_probe_module(112) Probing module 'audit': Trying to load from /usr/local/lib/vfs/audit.so [2004/05/20 14:52:50, 0] lib/module.c:do_smb_load_module(57) Error trying to resolve symbol 'init_module' in /usr/local/lib/vfs/audit.so: ld.so.1: /usr/local/sbin/smbd: fatal: _nss_files_netgroup_constr: can't find symbol This has got to be a link failure when you're building audit.so. You need to ensure the library containing nss_files_netgroup_constr is linked into it. Look for this symbol using nm in the libraries on Solaris 8. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with VFS audit and recycle (fwd)
I have included a level 10 debug of the vicinity of the failure in the debug log - if anyone would like more detail, I would be happy to provide it. Just so as to help to rule out my environment or how I built samba, is there anyone using the vfs objects parameter successfully on Solaris 8? Please feel free to respond to me individually so as to not flood the list if I am being a bonehead and this is a problem that only Giovanni and I are having. Thanks. [2004/05/20 14:52:50, 3] smbd/vfs.c:vfs_init_default(203) Initialising default vfs hooks [2004/05/20 14:52:50, 3] smbd/vfs.c:vfs_init_custom(229) Initialising custom vfs hooks from [audit] [2004/05/20 14:52:50, 5] lib/module.c:smb_probe_module(101) Probing module 'audit' [2004/05/20 14:52:50, 5] lib/module.c:smb_probe_module(112) Probing module 'audit': Trying to load from /usr/local/lib/vfs/audit.so [2004/05/20 14:52:50, 0] lib/module.c:do_smb_load_module(57) Error trying to resolve symbol 'init_module' in /usr/local/lib/vfs/audit.so: ld.so.1: /usr/local/sbin/smbd: fatal: _nss_files_netgroup_constr: can't find symbol [2004/05/20 14:52:50, 0] smbd/vfs.c:vfs_init_custom(256) Can't find a vfs module [audit] [2004/05/20 14:52:50, 0] smbd/vfs.c:smbd_vfs_init(319) smbd_vfs_init: vfs_init_custom failed for audit [2004/05/20 14:52:50, 0] smbd/service.c:make_connection_snum(502) vfs_init failed for service Windows software Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Tue, 18 May 2004, William R. Knox wrote: Date: Tue, 18 May 2004 08:51:39 -0400 (EDT) From: William R. Knox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] Problem with VFS audit and recycle (fwd) This problem continues under 3.0.4 on Solaris 8 - attempting to use the vfs object parameter in a share prevents access to the share and results in the following in the log files: [2004/05/10 16:04:57, 0] lib/module.c:do_smb_load_module(57) Error trying to resolve symbol 'init_module' in /usr/local/lib/vfs/audit.so: ld.so.1: /usr/local/sbin/smbd: fatal: _nss_files_netgroup_constr: can't find symbol [2004/05/10 16:04:57, 0] smbd/vfs.c:vfs_init_custom(256) Can't find a vfs module [audit] [2004/05/10 16:04:57, 0] smbd/vfs.c:smbd_vfs_init(319) smbd_vfs_init: vfs_init_custom failed for audit [2004/05/10 16:04:57, 0] smbd/service.c:make_connection_snum(502) vfs_init failed for service Admin area Access to the other shares remains unaffected. This is currently happening with ANY module that I have used, not just audit. I would be happy to perform any stack trace that is required - however, smbd does not appear to be panicking, so I am unsure exactly how to proceed with that. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation -- Forwarded message -- Date: Wed, 08 Oct 2003 13:56:18 +0200 From: Giovanni Romanenghi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] Problem with VFS audit e recycle I have compiled samba 3.0 on solaris 8 with default options. It's ok. I have problem with the parameters vfs objects. This is my smb.conf Global parameters [global] workgroup = SAMBATESTPDC netbios name = samba3sun preferred master = Yes domain master = Yes wins support = Yes domain logons = yes local master = yes encrypt passwords = yes security = user ldap suffix = o=arcafondi,c=it ldap machine suffix = ou=people,o=samba,c=it ldap user suffix = ou=people,o=samba,c=it ldap group suffix = ou=group ldap admin dn = uid=sambauser,cn=config ldap ssl = no passdb backend = ldapsam:ldap://10.10.5.160/ guest ldap passwd sync = yes logon home = logon path = admin users = @helpdesk [netlogon] path = /samba/netlogon comment = Netlogon [home] comment = Cartelle Personali path = /sambapriv read only = No create mask = 0777 directory mask = 0777 [test] comment = Cartelle Condivise dal gruppo path = /sambapub read only = No create mask = 0777 directory mask = 0777 vfs object = recycle recycle: repository = .recycle recycle: version=True recycle: touch=True recycle: keeptree=True recycle: noversion = *.doc|*.xls|*.ppt recycle: exclude = *.tmp *.temp *.cache recycle: maxsize = 0 With the home share i don't have a problem . With the test share I have this error on the file log.smbd Error trying to resolve symbol 'init_module' in /sambabin/samba/lib/vfs/recycle.so: ld.so.1: ./smbd: fatal: _nss_files_netgroup_constr: can't find symbol [2003/10/08 12
[Samba] Problem with VFS audit and recycle (fwd)
This problem continues under 3.0.4 on Solaris 8 - attempting to use the vfs object parameter in a share prevents access to the share and results in the following in the log files: [2004/05/10 16:04:57, 0] lib/module.c:do_smb_load_module(57) Error trying to resolve symbol 'init_module' in /usr/local/lib/vfs/audit.so: ld.so.1: /usr/local/sbin/smbd: fatal: _nss_files_netgroup_constr: can't find symbol [2004/05/10 16:04:57, 0] smbd/vfs.c:vfs_init_custom(256) Can't find a vfs module [audit] [2004/05/10 16:04:57, 0] smbd/vfs.c:smbd_vfs_init(319) smbd_vfs_init: vfs_init_custom failed for audit [2004/05/10 16:04:57, 0] smbd/service.c:make_connection_snum(502) vfs_init failed for service Admin area Access to the other shares remains unaffected. This is currently happening with ANY module that I have used, not just audit. I would be happy to perform any stack trace that is required - however, smbd does not appear to be panicking, so I am unsure exactly how to proceed with that. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation -- Forwarded message -- Date: Wed, 08 Oct 2003 13:56:18 +0200 From: Giovanni Romanenghi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] Problem with VFS audit e recycle I have compiled samba 3.0 on solaris 8 with default options. It's ok. I have problem with the parameters vfs objects. This is my smb.conf Global parameters [global] workgroup = SAMBATESTPDC netbios name = samba3sun preferred master = Yes domain master = Yes wins support = Yes domain logons = yes local master = yes encrypt passwords = yes security = user ldap suffix = o=arcafondi,c=it ldap machine suffix = ou=people,o=samba,c=it ldap user suffix = ou=people,o=samba,c=it ldap group suffix = ou=group ldap admin dn = uid=sambauser,cn=config ldap ssl = no passdb backend = ldapsam:ldap://10.10.5.160/ guest ldap passwd sync = yes logon home = logon path = admin users = @helpdesk [netlogon] path = /samba/netlogon comment = Netlogon [home] comment = Cartelle Personali path = /sambapriv read only = No create mask = 0777 directory mask = 0777 [test] comment = Cartelle Condivise dal gruppo path = /sambapub read only = No create mask = 0777 directory mask = 0777 vfs object = recycle recycle: repository = .recycle recycle: version=True recycle: touch=True recycle: keeptree=True recycle: noversion = *.doc|*.xls|*.ppt recycle: exclude = *.tmp *.temp *.cache recycle: maxsize = 0 With the home share i don't have a problem . With the test share I have this error on the file log.smbd Error trying to resolve symbol 'init_module' in /sambabin/samba/lib/vfs/recycle.so: ld.so.1: ./smbd: fatal: _nss_files_netgroup_constr: can't find symbol [2003/10/08 12:37:22, 0] smbd/vfs.c:vfs_init_custom(254) Can't find a vfs module [recycle] [2003/10/08 12:37:22, 0] smbd/vfs.c:smbd_vfs_init(317) smbd_vfs_init: vfs_init_custom failed for recycle Any ideas? Bye Giovanni P.S. excume for my english -- 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] force user vs read list
I am in the process of expanding access to a share that currently has the following configuration: [uniqname] comment = Unique comment path = /path/to/the/stuff public = no writable = yes printable = no valid users = user1,user2,user3 force user = cooluser I want to add read-only access to an additional set of users. The smb.conf man page and the Samba-HOWTO are not clear (to me) about the precedence of the force user option versus the read list option - if I add user4 to a read list parameter entry, will they also get logged on as that user and have write permissions (as determined by the underlying filesystem)? I wanted to ask before even trying just to make sure that any discovery isn't later deemed a bug and changed. If the force user overrides the read list, I suppose I can just set up an alternate share pointing to the samba path that is read only with a different set of valid users, but that just feels so kludgey... The samba version in use is 2.2.8a, but I will be upgrading to 3.0.2a in the very near future, in case there is any difference. Thanks in advance for any help. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Bug in installclientlib
There is a bug in the installclientlib section of the Makefile. If you redefine your LIBDIR during the configure step via a --libdir argument, the lib directory never gets created by the installdirs section, and the installation of the libsmbclient.* files gets done to a $(DESTDIR)${prefix}/lib file, not to the directory. The easy fix is to put @$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/lib at the beginning of the installclientlib section. Attached is the patch. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation --- samba-3.0.1pre3/source/Makefile Thu Nov 20 15:56:13 2003 +++ samba-3.0.1pre3/source/Makefile.new Tue Nov 25 12:03:46 2003 @@ -1237,6 +1237,7 @@ @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR)$(SWATDIR) $(srcdir) installclientlib: installdirs libsmbclient + @$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/lib -$(INSTALLCLIENTCMD_SH) bin/libsmbclient.so $(DESTDIR)${prefix}/lib -$(INSTALLCLIENTCMD_A) bin/libsmbclient.a $(DESTDIR)${prefix}/lib @$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/include -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Bug in installclientlib
Needless to say, this patch should be against Makefile.in. Here is the proper patch. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Tue, 25 Nov 2003, William R. Knox wrote: Date: Tue, 25 Nov 2003 12:07:15 -0500 (EST) From: William R. Knox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] Bug in installclientlib There is a bug in the installclientlib section of the Makefile. If you redefine your LIBDIR during the configure step via a --libdir argument, the lib directory never gets created by the installdirs section, and the installation of the libsmbclient.* files gets done to a $(DESTDIR)${prefix}/lib file, not to the directory. The easy fix is to put @$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/lib at the beginning of the installclientlib section. Attached is the patch. Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation --- samba-3.0.1pre3/source/Makefile.in Thu Nov 13 22:40:36 2003 +++ samba-3.0.1pre3/source/Makefile.in.new Tue Nov 25 12:12:08 2003 @@ -1237,6 +1237,7 @@ @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR)$(SWATDIR) $(srcdir) installclientlib: installdirs libsmbclient + @$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/lib -$(INSTALLCLIENTCMD_SH) bin/[EMAIL PROTECTED]@ $(DESTDIR)${prefix}/lib -$(INSTALLCLIENTCMD_A) bin/libsmbclient.a $(DESTDIR)${prefix}/lib @$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/include -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Max Print Jobs Problem
I think you need to set longnumber in your lpd.conf (or on this particular printer in the printcap file) - this will increase the 3 digit job number to 6 digits in length. Your best bet may be to ask on the LPRng mailing list if this doesn't work, as it is likely a problem in there. However, this should do it. Good luck! Bill Knox Senior Operating Systems Programmer/Analyst The MITRE Corporation On 5 Jul 2003, Chuck Stuettgen wrote: Date: 05 Jul 2003 14:35:10 -0500 From: Chuck Stuettgen [EMAIL PROTECTED] To: samba [EMAIL PROTECTED] Subject: [Samba] Max Print Jobs Problem I have setup a dedicated print server running on RH 8 with Samba 2.2.5-10 and LPRng-3.8.9-6 to service a HP9000 printer. The print queue for this HP9000 gets it print jobs from a Windows server via a script and the queue is set to HOLDALL status. The HOLDALL status is necessary because the script runs overnight to produce the print jobs which can total anywhere from 500 to 12,000 individual print jobs. My problem is that samba defaults to accepting up to 1000 print jobs then starts discarding print jobs. I have edited smb.conf and added both Max Print Jobs = 2 Total Print Jobs = 21000 But it still doesn't work. Once the queue reaches 1000 print jobs it starts deleting print jobs to make room for the newer print jobs being created by the script. Can anyone give me some advice on what I'm missing.. -- Chuck Stuettgen [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Patch for relocatable installs
I remember seeing a patch here a long while back that I thought was going to be committed for making the install relocatable (i.e. allowing for a DESTDIR to be specified during a make install). I can't find it, and I'm not sure I am remembering correctly, anyway, so here is a shot at it. Tested both the install and uninstall, run as make install DESTDIR=/new/top/level. I find the ability to do this invaluable for creating packages, so would love to see it in any new versions (I didn't check HEAD - maybe it's already there, so this would only apply to users of 2.2.X). Have fun with it. Any bugs, while my fault, are not my problem. ;-) Bill Knox Senior Operating Systems Programmer/Analyst The MITRE Corporation --- MakefileMon Mar 17 10:45:27 2003 +++ Makefile.oldMon Mar 17 10:45:27 2003 @@ -4,8 +4,6 @@ # Copyright Andrew Tridgell 1992-1998 ### -DESTDIR= - prefix=/usr/local exec_prefix=${prefix} mandir=${prefix}/man @@ -704,29 +702,29 @@ install: installbin installman installscripts installcp installswat installdirs: - $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(DESTDIR)/$(BASEDIR) - $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(DESTDIR)/$(SBINDIR) - $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(DESTDIR)/$(BINDIR) - $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(DESTDIR)/$(LIBDIR) - $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(DESTDIR)/$(VARDIR) - $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(DESTDIR)/$(PIDDIR) - $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(DESTDIR)/$(CODEPAGEDIR) + $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(BASEDIR) + $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(SBINDIR) + $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(BINDIR) + $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(LIBDIR) + $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(VARDIR) + $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(PIDDIR) + $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) $(CODEPAGEDIR) installservers: all installdirs - @$(SHELL) $(srcdir)/script/installbin.sh $(INSTALLPERMS) $(DESTDIR)/$(BASEDIR) $(DESTDIR)/$(SBINDIR) $(DESTDIR)/$(LIBDIR) $(DESTDIR)/$(VARDIR) $(SPROGS) + @$(SHELL) $(srcdir)/script/installbin.sh $(INSTALLPERMS) $(BASEDIR) $(SBINDIR) $(LIBDIR) $(VARDIR) $(SPROGS) installbin: all installdirs - @$(SHELL) $(srcdir)/script/installbin.sh $(INSTALLPERMS) $(DESTDIR)/$(BASEDIR) $(DESTDIR)/$(SBINDIR) $(DESTDIR)/$(LIBDIR) $(DESTDIR)/$(VARDIR) $(SPROGS) $(WINBIND_SPROGS) - @$(SHELL) $(srcdir)/script/installbin.sh $(INSTALLPERMS) $(DESTDIR)/$(BASEDIR) $(DESTDIR)/$(BINDIR) $(DESTDIR)/$(LIBDIR) $(DESTDIR)/$(VARDIR) $(PROGS) $(WINBIND_PROGS) + @$(SHELL) $(srcdir)/script/installbin.sh $(INSTALLPERMS) $(BASEDIR) $(SBINDIR) $(LIBDIR) $(VARDIR) $(SPROGS) $(WINBIND_SPROGS) + @$(SHELL) $(srcdir)/script/installbin.sh $(INSTALLPERMS) $(BASEDIR) $(BINDIR) $(LIBDIR) $(VARDIR) $(PROGS) $(WINBIND_PROGS) installscripts: installdirs - @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS) $(DESTDIR)/$(BINDIR) $(SCRIPTS) + @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS) $(BINDIR) $(SCRIPTS) installcp: installdirs installbin - @$(SHELL) $(srcdir)/script/installcp.sh $(srcdir) $(DESTDIR)/$(LIBDIR) $(DESTDIR)/$(CODEPAGEDIR) $(DESTDIR)/$(BINDIR) $(CODEPAGELIST) + @$(SHELL) $(srcdir)/script/installcp.sh $(srcdir) $(LIBDIR) $(CODEPAGEDIR) $(BINDIR) $(CODEPAGELIST) installswat: installdirs - @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR)/$(SWATDIR) $(srcdir) + @$(SHELL) $(srcdir)/script/installswat.sh $(SWATDIR) $(srcdir) installclientlib: -$(INSTALLCLIENTCMD_SH) bin/libsmbclient.so @@ -736,26 +734,26 @@ # revert to the previously installed version revert: - @$(SHELL) $(srcdir)/script/revert.sh $(DESTDIR)/$(SBINDIR) $(SPROGS) ${WINBIND_SPROGS} - @$(SHELL) $(srcdir)/script/revert.sh $(DESTDIR)/$(BINDIR) $(PROGS) $(SCRIPTS) ${WINBIND_PROGS} + @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SPROGS) ${WINBIND_SPROGS} + @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(PROGS) $(SCRIPTS) ${WINBIND_PROGS} installman: - @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)/$(MANDIR) $(srcdir) + @$(SHELL) $(srcdir)/script/installman.sh $(MANDIR) $(srcdir) uninstall: uninstallman uninstallbin uninstallscripts uninstallcp uninstallman: - @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)/$(MANDIR) $(srcdir) + @$(SHELL) $(srcdir)/script/uninstallman.sh $(MANDIR) $(srcdir) uninstallbin: - @$(SHELL) $(srcdir)/script/uninstallbin.sh $(INSTALLPERMS) $(DESTDIR)/$(BASEDIR) $(DESTDIR)/$(SBINDIR)
Re: [Samba] Samba Print server
Not to try and break any records, but we have servers that each serve up ~1500 printers under 2.0.X. Needless to say, attempts to upgrade to 2.2 resulted in some difficulty (servers coming nearly instantly to their knees as dozens of Windows boxes attempted to initiate RPC, etc.). But performance under 2.0.X is actually not at all bad. Bill Knox Senior Operating Systems Programmer/Analyst The MITRE Corporation On Wed, 12 Mar 2003, John H Terpstra wrote: Date: Wed, 12 Mar 2003 04:22:33 + (GMT) From: John H Terpstra [EMAIL PROTECTED] To: Joseph Loo [EMAIL PROTECTED] Cc: samba [EMAIL PROTECTED] Subject: Re: [Samba] Samba Print server On Tue, 11 Mar 2003, Joseph Loo wrote: I rember awhile back someone mention there was a limitiation about 50 printers for samba. Does this still hold true or was it my imagination. I guess your imagination - I am sure someone will correct me if I am wrong! I had a site that had well over 100 on one server in the days of samba-2.0.7. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] library problem
However, it shouldn't require it at all if you built smbclient from source on a system that didn't have GNU readline installed. Did you build from source, or are you installing a package obtained from somewhere else? Bill Knox Senior Operating Systems Programmer/Analyst The MITRE Corporation On Thu, 16 Jan 2003, Michael Heironimus wrote: Date: Thu, 16 Jan 2003 05:33:27 -0600 From: Michael Heironimus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] library problem On Thu, Jan 16, 2003 at 07:23:03PM +0800, Macjune Tolentino wrote: i just installed samba on a Solaris 8 system running on a Sun Ultra 10. whenever i run, smbclient. it gives me an error... it is looking for libreadline.so.4 where do i get such library? It's part of the GNU readline package. I just checked on sunfreeware.com and they do have a Solaris 8 package for readline 4.2. If you can't or don't want to use a package from there it shouldn't be difficult to compile readline from source. -- Michael Heironimus -- 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] Nothing work : Win2k Nethwork path not found
Is there any explanation for the number of e-mails (dozens) that I've seen in the past few weeks that seem to be over a month old (see example below)? Bill Knox Senior Operating Systems Programmer/Analyst The MITRE Corporation On Tue, 3 Sep 2002 [EMAIL PROTECTED] wrote: Return-Path: [EMAIL PROTECTED] Received: from smtpsrv2.mitre.org ([128.29.154.2]) by mailsrv1.mitre.org (Netscape Messaging Server 4.15) with ESMTP id H530DO00.D41 for [EMAIL PROTECTED]; Mon, 4 Nov 2002 21:32:12 -0500 Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpsrv2.mitre.org (8.11.3/8.11.3) with ESMTP id gA52V6t11064 for [EMAIL PROTECTED]; Mon, 4 Nov 2002 21:31:06 -0500 (EST) Received: from lists.samba.org (dp.samba.org [66.70.73.150]) by smtpproxy2.mitre.org (8.11.3/8.11.3) with ESMTP id gA52V4V11133 for [EMAIL PROTECTED]; Mon, 4 Nov 2002 21:31:04 -0500 (EST) Received: from dp.samba.org (localhost [127.0.0.1]) by lists.samba.org (Postfix) with ESMTP id CB5F92C0FC; Mon, 4 Nov 2002 21:30:27 -0500 (EST) Delivered-To: [EMAIL PROTECTED] Received: by lists.samba.org (Postfix, from userid 568) id 8C0192C11F; Mon, 4 Nov 2002 21:27:54 -0500 (EST) Delivered-To: [EMAIL PROTECTED] Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by lists.samba.org (Postfix) with SMTP id 7D71C2C054 for [EMAIL PROTECTED]; Tue, 3 Sep 2002 16:51:21 -0400 (EDT) Received: (qmail 27238 invoked by uid 0); 3 Sep 2002 20:51:20 - Received: from p3e9ed082.dip.t-dialin.net (HELO linux) (62.158.208.130) by mail.gmx.net (mp004-rz3) with SMTP; 3 Sep 2002 20:51:20 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] MIME-Version: 1.0 Message-ID: 3D753BD1.23602.32AE135@localhost Priority: normal X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Keywords: X-UID: 82 Resent-From: [EMAIL PROTECTED] Resent-Date: Tue, 5 Nov 2002 13:27:54 +1100 Resent-To: [EMAIL PROTECTED] Resent-Message-Id: [EMAIL PROTECTED] Subject: [Samba] Nothing work : Win2k Nethwork path not found Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: mailto:samba-request;lists.samba.org?subject=help List-Post: mailto:samba;lists.samba.org List-Subscribe: http://lists.samba.org/mailman/listinfo/samba, mailto:samba-request;lists.samba.org?subject=subscribe List-Id: General questions regarding Samba samba.lists.samba.org List-Unsubscribe: http://lists.samba.org/mailman/listinfo/samba, mailto:samba-request;lists.samba.org?subject=unsubscribe List-Archive: http://lists.samba.org/pipermail/samba/ X-Original-Date: Tue, 03 Sep 2002 22:46:41 +0200 Date: Tue, 03 Sep 2002 22:46:41 +0200 HI all, ok. I read all the entries of this mailinglist with the subject nethwork path. I try everything but nothing happens. I have no more ideas what i can do. Pleaaa hellp. (I also tried to walk throught document.txt) The problem: -Client Win2k -Server Suse Linux 8.0 with Samba -I completely installed and configured Samba. I walk throught the document of Samba. I tried all steps of the issue to solve problems with samba. But in step, I think 7 the failure appears. I tried to enter net view \\server , but the answer is Network path not found System error 53 -the ping is allright and everything works fine I can see the server in the network neigbourhood but I can't see any folders. -I can log in by the server itself with smbclient. -All deamons work and listen to the right ports. -lmhosts on both machines are right configured. ( The ping : ping server and ping linux worked, but ping linux only send to the client. It looses 100%. -The users are already set. Also the password (both Win2k and Samba without password encrypt). -All rights to access the folders are all rights In the log.nmbd (loglevel 10) I found 2 things: First: master browser not found Second: subnet 192.168.123.157 (--- that should be wrong because the broadcast is 255.255.255.0), but in other steps in the logfile it seems samba has no problem with this So i hope you can understand my problem and perhaps solve it. Please don't say walk thropugh this or this doc. I walk through ALL docs in the net and on the machine. If you need a ogfile of nmbd or smbd I can send it to you. [EMAIL PROTECTED] Thnaks a lot, Carl Here my smb.conf: # Samba config file created using SWAT # from linux (192.168.123.179) # Date: 2002/09/03 22:49:37 # Global parameters [global] workgroup = FIREMUN netbios name = SERVER map to guest = Bad User null passwords = Yes username map = /etc/samba/user.map log
Re: [Samba] One more empty page printig via samba.
The problem is that Windows by default sends a Ctrl-D character at the close of the print job, and LPRng (and every other well behaved print spooler) attached one as well. The second one causes the additional page. The easiest solution (at least for a few clients) is to go to the client and remove this (I have put detailed instructions for this that we have at the bottom (unfortunately, we haven't updated for Win2K, but you get the idea)). Good luck! Bill Knox Senior Operating Systems Programmer/Analyst The MITRE Corporation On Fri, 25 Oct 2002, Stepan Potocky wrote: Date: Fri, 25 Oct 2002 14:57:19 +0200 (MET DST) From: Stepan Potocky [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] One more empty page printig via samba. Hi, when printing localy everything is OK. When anybody else prints to this local printer then it's printed last empty page. I'm using lprng and printing command is lpr -r -P%p %s Thanks Stepan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba Windows 95 The following instructions must be completed for every printer with which you are experiencing this problem. 1.Go to the printer listings by clicking on the Start Button, then going up to the Settings selection and over the Printers selection. This will bring up a window with all your printers in it. 2.Right-click once on the printer you want to fix, and click once on the Properties selection on the menu which should pop up (it may take a few seconds to pop up -- be patient). This will bring up the properties window for that printer. 3.On the Properties window which comes up, there should be a tab which says PostScript on it. Click once on this tab. 4.Near the middle of the window, near the middle there is a box beside which it says Print PostScript errors. This box is checked by default. Click once in the box to uncheck it. 5.Lower in the same window, there should be a button which says Advanced... on it. Click once on this button. This will bring up bring up another window. 6.Near the bottom of the new window, there should now be a box which says Send CTRL+D after job beside it. This box is checked by default. Click once in the box to uncheck it. 7.Hit the OK button in the new window. This will close this window. 8.Hit the OK button in the original window. This will close this window. 9.Close the window which contains all the printers opened in step 1. Windows NT The following instructions must be completed for every printer with which you are experiencing this problem. 1.Go to the printer listings by clicking on the Start Button, then going up to the Settings selection and over the Printers selection. This will bring up a window with all your printers in it. 2.Right-click once on the printer you want to fix, and click once on the Document Defaults... selection on the menu which should pop up (it may take a few seconds to pop up -- be patient). This will bring up the Default Document Properties window for that printer. 3.If the Advanced tab in the window isn't the one in front, click on it once to bring it to the front. 4.There is a hierarchical list on options in the upper portion of the window. Under the Document Options heading, there is a selection called PostScript Options with a plus sign beside it. Click once on the plus sign, which will bring a number of options up below it. 5.Click once on the option Send CTRL+D After Each Job: Yes, which will change what appears in the lower half of the window. 6.In the lower half of the window, two radio buttons will have appeared to the right of a yellow light bulb. The button on the top has Yes beside it (which is the button which is on) and one on the bottom which has No beside it. Click once in the button beside No. The light bulb to the left of the buttons will turn grey. 7.Click once on the OK button at the bottom of the window. The window will close. 8.Close the window which contains all the printers opened in step 1. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Canon ImageRUNNER 600, Samba and LPRng
Actually, we use the postscript parameter on some of our printer shares that are specifically used by a poorly behaved (with regards to printing, anyway) DOS-based contract program that generates PostScript output that requires the prefixing of a %!. We could also do this with a print filter, but the availability of the postscript parameter made things nice and easy. This is likely one of those things (much like share modes) that, once it exists, is a hard thing of which to rid oneself. Bill Knox Senior Operating Systems Programmer/Analyst The MITRE Corporation On Thu, 18 Apr 2002, Gerald Carter wrote: Date: Thu, 18 Apr 2002 08:27:10 -0500 (CDT) From: Gerald Carter [EMAIL PROTECTED] To: Glenn Sieb [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], Samba Mailing List [EMAIL PROTECTED], Patrick Powell [EMAIL PROTECTED] Subject: [Samba] Re: Canon ImageRUNNER 600, Samba and LPRng On Tue, 16 Apr 2002, Glenn Sieb wrote: A few days ago, on the LPRng mailing list, I posted a weird problem with our Canon ImageRUNNER 600 and LPRng... turns out it's not a problem with LPRng... rather, it's an issue with a slightly-misleading option for Samba printers, and a bug with Canon's PCL processor. In Samba, you have the option to say Postscript = Yes, which doesn't mean This is a postscript printer but rather this printer takes postscript all the time, so please add %! to the beginning of all jobs to it! HP Printers are smart enough to see the PCL code in the job and go Oh gee--this isn't really postscript... we'll just process it with PCL... The Canon goes Oh--oops--here's a %!.. must be plaintext cuz there's an Escape and some PCL.. I'll just print the %! and a pagefeed So mystery solved... hopefully this will help others out there with the Canon ImageRUNNER class copiers--and Samba guys--can you change that option to say Force Postscript? *duckrun* :)) To be honest, I don't know why this parameter is even still around. :-) :-) Maybe just to confuse people. I'll look into it. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca-- -- 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] Beeweeb, Samba killer?
By free, folks should bear in mind that it is not free in both the free beer sense as well as the free speech sense, i.e. it costs money to buy it and it is both closed source (as far as I can tell from the web site, anyway) and restrictively licensed (compared to the GPL or BSD licenses). Bill Knox Senior Operating Systems Programmer/Analyst The MITRE Corporation On Tue, 16 Apr 2002, Douglas G. Phillips wrote: Date: Tue, 16 Apr 2002 10:03:34 -0500 From: Douglas G. Phillips [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] Beeweeb, Samba killer? I doubt it's going to kill samba - it's not free. On Tue, Apr 16, 2002 at 09:44:36AM -0400, [EMAIL PROTECTED] wrote: http://www.beeweeb.com Some of my folks here pressured me to try it out. So I did. Works pretty well but I know nothing about it other than it works for windows and mac clients and works across public networks like nothing if you open the needed ports. It's kinda bothersome. I don't know where this software came from or how it works. I've been using Samba for 7 years, and Netatalk for 5. I don't want to change, but this software offers some functionality that is user friendly and I'm afraid my users are going to start demanding it. Does anyone on the list know anything about this software? Thanks in advance. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Douglas G. Phillips ITS/User Services Eastern Illinois University -- 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