[Samba] /etc/fstab
G'day all Is it possible to get fstab to mount a samba share? I see it can mount nfs shares, but I need to know about samba shares Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ×ð¾´µÄÐÂÀÏ¿Í»§£ºÄúºÃ!
×ð¾´µÄÐÂÀÏ¿Í»§£ºÄúºÃ! ¸ÐлÄúµÄ´óÁ¦Ö§³Ö£¬ÔÚÖÐÇ¹úÇìÆڼ䣬±¾¹«Ë¾ÊµÐÐÓŻݴó³ê±ö£¬»¶Ó´ó¼ÒÇÀ¹º¡£ ¸£½¨Ê¡EÉÌÎñÍøÌṩÓòÃû×¢²á£¬Ö÷»ú×âÓã¬Ö÷»úÍйܵȷþÎñ¡£½üÆÚÄÚ¹«Ë¾²úÆ·´ó´ÙÏú»ù±¾ÐÍ(200M HTML¿Õ¼ä + 1¸ö ¹ú¼ÊÓòÃûÒ»ÄêÖ»Ðè150Ôª)¡£²É¹º¶à¶àÓŻݶà¶à¡£»¶Ó´ó¼Ò¶©¹º»òÀ´µç0592-5557492»òQQ£º755139×Éѯ¡£ ÒÔÉÏÖ»ÊÇÁãÊÛ¼Û¸ñ¡£»¶ÓÑ¡¹º£¬Ò²»¶ÓÄú³ÉΪÎÒÃǵĴúÀíÉÌ! ÍøÂçʵÃû×¢²áÖ»Ðè500¸ö/Äê ÎÒÃÇ»¹Óиü¶àµÄÀñ°üºÍÓŻݼ۸ñ£¬ÏêÇéÇë½ø http://www.comdns.com ¸£½¨Ê¡EÉÌÎñÍø mailto:[EMAIL PROTECTED] = ¹ã¸æÓʼþ¶ÔÓÐÓõÄÈËÀ´ËµÊÇÐÅÏ¢£¬¶ÔÎÞÓÃÈË˵µÄÊÇÀ¬»ø¡£Èç¹û¶ÔÄúûÓã¬ÎÒÃÇÍò·Ö±§Ç¸£¡±¾Óʼþ¾ø ¶Ô³Ðŵֻ·¢ËÍÒ»´Î¡£Èç¹ûÄúÏ£ÍûÎÒÃÇ´ÓÁбíÖÐɾ³ýÄúµÄµØÖ·£¬ÇëÀ´ÐŸæËßÎÒÃÇÄúµÄµØÖ·¡£Ð»Ð»£¡ == --- ·ÐµãȺ·¢Óʼþ,À´×ÔÈí¼þ¹¤³Ìר¼ÒÍø(http://www.21cmm.com) ½øCMMÍøУ(http://www.21cmm.com)£¬³ÉÏîÄ¿¹ÜÀíר¼Ò -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Win2K problem
What protocols do you have setup on the nic cards. This is usually a common problem with seeing other computers. Sometimes it ends up try to use netbeui instead of TCP/IP. I would just have TCP/IP setup on all the nics. Can you still get to the server by doing a Start > Run > \\servername --- Geoffrey Engelstein <[EMAIL PROTECTED]> wrote: > I am trying to set up a very simple Samba setup here > (v 2.2.3a), and > am having an odd problem. I am just setting > everything up as a > workgroup (no domain controller). All PCs are set to > the same > workgroup. The problem I am having is: > > 1. All Win 98 and Win ME see the Samba server and > work great > > 2. Most Win2K (and our one NT4) machines see the > Samba server > and work great > > 3. Two machines (one of which is my laptop) do not > see the server. > > By 'see the server' I mean through Network > Neighborhood/Places and > being able to map a drive to the share. > > I can't figure out what is different about those two > machines. Does > anyone have any suggestions??? > > Thanks - > > - Geoff Engelstein > > -- > To unsubscribe from this list go to the following > URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] (no subject)
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] pam_mount permissions
G'day All Thank you to every one who has helped me get pam_mount and winbind working. I can now use winbind to use the passwords from a samba HEAD PDC to do authentications and pam_mount to mount the users home directory. YAY Does any one know what the option is to change the permissions on a mounted directory in pam_mount? at present it gives me rwxr-xr-x, which is fine. But I run startx and it gives me a "cannot lock .Xauthority" message. Im thinking is it the permissions that are wrong or would there be something else? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] "@" doesn't work in the NT domain name
On Thu, Sep 19, 2002 at 04:30:44PM -0400, [EMAIL PROTECTED] wrote: > > I am part of a large worldwide Active Directory and all of our individual > site NT domain names have an ampersand symbol in them > (for example: VWS@ROCHESTER) Samba 2.2.6pre2 and older won't join this > domain name, or allow connections to it from users in this domain. The > logs state that the domain name is "VWS_ROCHESTER", the code is squashing > the @ to an _ causing all authentification attempts to fail. Since we are > migrating to this domain, all of our samba servers will NOT function for > users connecting from the AD domains due to the domain-name mangling. > > I was told this was done as part of a security audit to the samba code, but > it breaks compatibility in a major way. Ampersands are VALID in a netbios > domain name, just not in a machine name (AFAIK), but samba doesn't comply > in this regard. Since changing the netbios domain names of our win2k > domains is not possible, I need a fix ASAP. Any suggestions? Try the following patch - please let me know if it fixes the problem. Thanks, Jeremy. Index: smbd/reply.c === RCS file: /data/cvs/samba/source/smbd/reply.c,v retrieving revision 1.240.2.117 diff -u -r1.240.2.117 reply.c --- smbd/reply.c11 Sep 2002 01:05:18 - 1.240.2.117 +++ smbd/reply.c20 Sep 2002 02:20:13 - @@ -860,7 +860,7 @@ /* don't allow strange characters in usernames or domains */ alpha_strcpy(user, user, ". _-$", sizeof(user)); - alpha_strcpy(domain, domain, ". _-", sizeof(domain)); + alpha_strcpy(domain, domain, ". _-@", sizeof(domain)); if (strstr(user, "..") || strstr(domain,"..")) { return ERROR_BOTH(NT_STATUS_LOGON_FAILURE,ERRSRV,ERRbadpw); } -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba-3.0
Is it possible to login to a unix box without a user account entry in /etc/passwd or /etc/shadow using samba-3.0 to pull account information from Windows Active Directory. If so could someone point me to a "detailed" document on setting this capability up. Thanks, David
Re: [Samba] Samba 2.2.6pre2 doesn't try to lookup for user user name by SID +pdbedit
[EMAIL PROTECTED] wrote: > > I have instaled samba 2.2.6pre2 (due problems with printr drivers download > in 2.2.5) and I have also tried to install it using ldapsam backend. > > It seems be working, but there are two problems: > > - if I try to display directory ACL (file - properties - security) I show > only the user name, group name and others field are shown only as SIDs. > There is no hit to LDAP (OK, groups seems be supported only in samba TNG) > and I am not seeing any relevant error message in logs Real group support is really only in TNG and HEAD. We are currently doing work to bring HEAD's support up to scratch, but 2.2 has next to nothing. > - if I try to open a user in user manager for domains, the samba hit into > LDAP by RID and gets relevant info. I see in log, that the parameters are > filled from LDAP in init_ldap_from_sam to right places, but the client > says, that is was not able to find user in domain. > > - the pdbedit tool is very useful, but it should also fill in the > displayName field, while importing smbpasswd. With smbpasswd backend is > displayed Full name from /etc/passwd, with LDAP is the field after import > empty and the names aren't shown. pdbedit is much improved in 3.0 - and the import functionality compleatly replaced. You might want to give that a go. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba password sync question
I found it. In gpedit.msc Navigate to : User Configuration > Administrative Templates > System > Ctrl-Alt-Del Options In the right pane select Remove Change Password and then select enable. Prevents users from changing their Windows password on demand. This setting disables the "Change Password" button on the Windows Security dialog box (which appears when you press Ctrl+Alt+Del). However, users are still able to change their password when prompted by the system. The system prompts users for a new password when an administrator requires a new password or their password is expiring. --- Jethran Waugh <[EMAIL PROTECTED]> wrote: > Dear All > > I would like to know if there is a simple way to > disable the Change > Password button available under XP. I have tried > all the registry > entries and they wont work. When a limited user > account is created the > relevant entry is not copied from > HKEY_USERS\.DEFAULT into > HKEY_CURRENT_USER. The system I am using is Samba > 2.2.5 running as a > PDC with XP clients. I don't want to have to give > all my users admin > rights as that's a bit nasty. > > The solution I have come up with at the moment is to > set passwd program > in smb.conf to a script which I have written that > just returns a non > zero exit status. This then tells the users that > the password change > failed due to an invalid username or password. If > it is not possible to > disable the change password button is it possible to > edit the error > message windows displays when the password change > fails? > > > Thanks > Jethran Waugh > > -- > To unsubscribe from this list go to the following > URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Win2K problem
I am trying to set up a very simple Samba setup here (v 2.2.3a), and am having an odd problem. I am just setting everything up as a workgroup (no domain controller). All PCs are set to the same workgroup. The problem I am having is: 1. All Win 98 and Win ME see the Samba server and work great 2. Most Win2K (and our one NT4) machines see the Samba server and work great 3. Two machines (one of which is my laptop) do not see the server. By 'see the server' I mean through Network Neighborhood/Places and being able to map a drive to the share. I can't figure out what is different about those two machines. Does anyone have any suggestions??? Thanks - - Geoff Engelstein -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba password sync question
Have you tried Group Policy editor (gpedit.msc) I am pretty sure there is a setting in there somewhere to disallow passoword changing. --- Jethran Waugh <[EMAIL PROTECTED]> wrote: > Dear All > > I would like to know if there is a simple way to > disable the Change > Password button available under XP. I have tried > all the registry > entries and they wont work. When a limited user > account is created the > relevant entry is not copied from > HKEY_USERS\.DEFAULT into > HKEY_CURRENT_USER. The system I am using is Samba > 2.2.5 running as a > PDC with XP clients. I don't want to have to give > all my users admin > rights as that's a bit nasty. > > The solution I have come up with at the moment is to > set passwd program > in smb.conf to a script which I have written that > just returns a non > zero exit status. This then tells the users that > the password change > failed due to an invalid username or password. If > it is not possible to > disable the change password button is it possible to > edit the error > message windows displays when the password change > fails? > > > Thanks > Jethran Waugh > > -- > To unsubscribe from this list go to the following > URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] "@" doesn't work in the NT domain name
I am part of a large worldwide Active Directory and all of our individual site NT domain names have an ampersand symbol in them (for example: VWS@ROCHESTER) Samba 2.2.6pre2 and older won't join this domain name, or allow connections to it from users in this domain. The logs state that the domain name is "VWS_ROCHESTER", the code is squashing the @ to an _ causing all authentification attempts to fail. Since we are migrating to this domain, all of our samba servers will NOT function for users connecting from the AD domains due to the domain-name mangling. I was told this was done as part of a security audit to the samba code, but it breaks compatibility in a major way. Ampersands are VALID in a netbios domain name, just not in a machine name (AFAIK), but samba doesn't comply in this regard. Since changing the netbios domain names of our win2k domains is not possible, I need a fix ASAP. Any suggestions? "This e-mail message is intended only for the use of the named recipient(s). The information contained therein may be confidential or privileged, and its disclosure or reproduction is strictly prohibited. If you are not the named recipient, please return it immediately to its sender at the above address and destroy it." -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba-2.2.* slow when lock files are on a NFS file system
On Thu, Sep 19, 2002 at 04:16:43PM -0400, Thomas Schulz wrote: > Note that I also posted this to comp.protocols.smb under the subject > Lock files must not be on an NFS file system. I don't know how closely > you follow that group. > > On Feb 7 2002 I sent out a message titled > samba-2.2.2 slower than samba-2.0.7 on Solaris > where I described a problem where any file access encountered a 3 to 4 > second delay to open the file. After trying again with samba-2.2.5 and > finding the same problem, I decided to work harder to find the cause of > the problem. What I discovered is that if the lock files are placed on > an NFS file system, samba-2.2.* takes 3 to 4 seconds to open any file. > If the lock files are on a local disk then there is no such delay. > I don't know if this is a bug or just the way it works. If this is to > be a restriction, it would be a good thing if this were documented > somewhere. Perhaps a note in the man page for smb.conf under the > lock directory section. > > Some details on how I have this set up. We are running Samba on four > Solaris 8 machines, one of them is a Sparc 10 (a slow machine). I > installed Samba in /opt/local/samba which is mounted by the automounter. > This ends up being local on one machine and nfs mounted on the other three. > In order to keep the log and lock files seperate, I had the following in > my smb.conf: > log file = /opt/local/samba/var/logs/%h/log.%m > lock directory = /opt/local/samba/var/locks/%h > For samba-2.2.5 I added: > pid directory = /opt/local/samba/var/locks/%h > This worked fine for samba-2.0.7. It was a big problem for samba-2.2.5. > After changing the lock directory to /var/samba/locks, the 3 to 4 second > delay went away. > > After doing the above, I realized that the secrets.tdb file in the private > directory was also on an NFS file system and was being shared by all four > machines. This did not seem like a good thing. I replaced the secrets.tdb > file with a symbolic link to /var/samba/private/secrets.tdb and found that > Samba is happy to follow the link and create the secrets.tdb file in > /var/samba/private. I expect that this is more correct although I had not > observed any problem with it the old way. Do *not* share any of the Samba lock files or the tdb files. This *will* break Samba. Also, putting tdb files on an NFS drive is not recommended as tdb makes heavy use of fcntl locking (slow over NFS). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba-2.2.* slow when lock files are on a NFS file system
Note that I also posted this to comp.protocols.smb under the subject Lock files must not be on an NFS file system. I don't know how closely you follow that group. On Feb 7 2002 I sent out a message titled samba-2.2.2 slower than samba-2.0.7 on Solaris where I described a problem where any file access encountered a 3 to 4 second delay to open the file. After trying again with samba-2.2.5 and finding the same problem, I decided to work harder to find the cause of the problem. What I discovered is that if the lock files are placed on an NFS file system, samba-2.2.* takes 3 to 4 seconds to open any file. If the lock files are on a local disk then there is no such delay. I don't know if this is a bug or just the way it works. If this is to be a restriction, it would be a good thing if this were documented somewhere. Perhaps a note in the man page for smb.conf under the lock directory section. Some details on how I have this set up. We are running Samba on four Solaris 8 machines, one of them is a Sparc 10 (a slow machine). I installed Samba in /opt/local/samba which is mounted by the automounter. This ends up being local on one machine and nfs mounted on the other three. In order to keep the log and lock files seperate, I had the following in my smb.conf: log file = /opt/local/samba/var/logs/%h/log.%m lock directory = /opt/local/samba/var/locks/%h For samba-2.2.5 I added: pid directory = /opt/local/samba/var/locks/%h This worked fine for samba-2.0.7. It was a big problem for samba-2.2.5. After changing the lock directory to /var/samba/locks, the 3 to 4 second delay went away. After doing the above, I realized that the secrets.tdb file in the private directory was also on an NFS file system and was being shared by all four machines. This did not seem like a good thing. I replaced the secrets.tdb file with a symbolic link to /var/samba/private/secrets.tdb and found that Samba is happy to follow the link and create the secrets.tdb file in /var/samba/private. I expect that this is more correct although I had not observed any problem with it the old way. Tom schulz Applied Dynamics Intl. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Mailing List
--- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] URL: www.amadmax.com "It said, ""Insert disk #3,"" but only two will fit!" "One picture is worth 128K words." -Original Message- From: Aaron Axelsen [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 2:01 PM To: 'Aaron Axelsen'; 'John Benedetto' Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Mailing List --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] URL: www.amadmax.com "It said, ""Insert disk #3,"" but only two will fit!" "One picture is worth 128K words." -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Aaron Axelsen Sent: Wednesday, September 18, 2002 7:13 PM To: 'John Benedetto' Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Mailing List I am sure .. Your message that you sent me I received 3 of. Somehow I must be double subsribed. --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] URL: www.amadmax.com "It said, ""Insert disk #3,"" but only two will fit!" "One picture is worth 128K words." -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of John Benedetto Sent: Wednesday, September 18, 2002 6:51 PM To: Aaron Axelsen; [EMAIL PROTECTED] Subject: Re: [Samba] Mailing List Are you sure you are not receiving two of every message that are simply responses to your own posting to the list? Most mail programs will send a reply to both the original poster AND the list address. My program did that, too, so you should be seeing my message twice as well! It is normal behavior. - john --On Wednesday, September 18, 2002 3:52 PM -0500 Aaron Axelsen <[EMAIL PROTECTED]> wrote: > Can someone please tell me why I receive 2 of every message on the > list? > > --- > Aaron Axelsen > AIM: AAAK2 > Email: [EMAIL PROTECTED] > URL: www.amadmax.com > > "It said, ""Insert disk #3,"" but only two will fit!" > "One picture is worth 128K words." > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- John Thomas Benedetto, Analyst/Programmer [EMAIL PROTECTED] UNM General Library (505)277-7202/277-8945 Library IT Department http://eLibrary.unm.edu/ University of New Mexicohttp://www.unm.edu/~lithelp/ Albuquerque, NM 87131-1496 -- 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] Mailing List
--- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] URL: www.amadmax.com "It said, ""Insert disk #3,"" but only two will fit!" "One picture is worth 128K words." -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Aaron Axelsen Sent: Wednesday, September 18, 2002 7:13 PM To: 'John Benedetto' Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Mailing List I am sure .. Your message that you sent me I received 3 of. Somehow I must be double subsribed. --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] URL: www.amadmax.com "It said, ""Insert disk #3,"" but only two will fit!" "One picture is worth 128K words." -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of John Benedetto Sent: Wednesday, September 18, 2002 6:51 PM To: Aaron Axelsen; [EMAIL PROTECTED] Subject: Re: [Samba] Mailing List Are you sure you are not receiving two of every message that are simply responses to your own posting to the list? Most mail programs will send a reply to both the original poster AND the list address. My program did that, too, so you should be seeing my message twice as well! It is normal behavior. - john --On Wednesday, September 18, 2002 3:52 PM -0500 Aaron Axelsen <[EMAIL PROTECTED]> wrote: > Can someone please tell me why I receive 2 of every message on the > list? > > --- > Aaron Axelsen > AIM: AAAK2 > Email: [EMAIL PROTECTED] > URL: www.amadmax.com > > "It said, ""Insert disk #3,"" but only two will fit!" > "One picture is worth 128K words." > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- John Thomas Benedetto, Analyst/Programmer [EMAIL PROTECTED] UNM General Library (505)277-7202/277-8945 Library IT Department http://eLibrary.unm.edu/ University of New Mexicohttp://www.unm.edu/~lithelp/ Albuquerque, NM 87131-1496 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbd/error.c:error_packet(110) (and more...)
Hello, I got a strange error which I could not understand... I am trying to connect to a read only world readable share and I get strange timeouts, but it's not persistent so I can't tell why and when exactly... samba 2.2.5, flagless configured, heavily patched Slackware 8.0, 2.4.18. Windows machine is a Windows XP pro SP1. logfile shows: [2002/09/19 21:51:20, 3] smbd/error.c:error_packet(110) error packet at smbd/nttrans.c(745) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_PATH_NOT_FOUND Here's my smb.conf: [global] workgroup = DISATNIK server string = Gils server log level = 8 lock directory = /opt/samba/var/locks security = user encrypt passwords = Yes hosts allow = 192.168.1. 127.0.0. interfaces = eth0 192.168.1.0/255.255.255.0 bind interfaces only = yes maxopenfiles=32768 socketoptions=iptos_lowdelay tcp_nodelay local master=yes log file = /var/adm/samba/%m [tmp] comment = Temporary file space path = /tmp read only = No browseable = no guest ok = Yes [ozen] comment = Ozen Project path = /archive/ozen read only = No browseable = yes guest ok = No user = gibson [rockfour] comment = RockFour Project path = /archive/rockfour read only = No browseable = yes guest ok = No user = gibson [archive] comment = archive path = /archive read only = No browseable = yes guest ok = No user = gibson [gibson] comment = Gibsondir path = /home/gibson read only = No browseable = yes guest ok = No user = gibson [shared] comment = shared dir path = /shared read only = Yes browseable = yes guest ok = Yes Please reply to my email as well, Thanks. Regards Gil Disatnik UNIX system/security administrator. GibsonLP@EFnet _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ "Windows NT has detected mouse movement, you MUST restart your computer before the new settings will take effect, [ OK ]" Windows is a 32 bit patch to a 16 bit GUI based on a 8 bit operating system, written for a 4 bit processor by a 2 bit company which can not stand 1 bit of competition. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3 alpha19 - some testing results and problems
On Thu, Sep 19, 2002 at 02:06:19PM +0500, [EMAIL PROTECTED] wrote about '[Samba] Samba 3 alpha19 - some testing results and problems': > 1. First of all, source/include/includes.h file contains wrong refence to file > popt.h. In supposed to be "popt/popt.h" instead of "popt.h". > After this correction source compiles OK. This should be handled correctly by configure - what does config.log say about your popt ? Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> Pending (unfinished) patches http://samba.org/~jelmer/diffs.php -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re[2]: [Samba] about uidnumber
On Thu, 19 Sep 2002, Koriun A. Margarian wrote: > Yes, i see that , but it say uid and displayName is in > cosine.schema and inetorgperson.schema. But it does not > mean, that uidNumber and gidNumber also there. They are in > nis.schema. > > I want understand what is different ? why u have not problem > with uidNumber and gidNumber. May be you include nis.schema? > Then some one must correct documentation. This was some experimental objectclass in samba.schema that got left in my accident. I've commented out the gidPool abd uidPool objectclasses in CVS. Should not need nis.schema now. 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
Re: [Samba] Samba Log file format
On Wed, 18 Sep 2002, Carl B. Constantine wrote: > The logs in 2.2.* are not very UNIX like at all. They seem more geared > to the programmer, and not the admin. A Programmer version of a log is > fine to send back to the samba team for debugging, but the admin should > be kept in mind when writting log output. True. They are more like glorified (and very helpful) printf statements. > It would be nice if samba gave up management of the logs to syslog and > the like. syslog could then control WHEN logs should roll over, where > they are stored, and so forth. Samaba should not be controlling this at > all. ummm... have you looked at --with-syslog when compiling? > It would also be nice to have the flexability to have samba produce a > single log for all machines connecting to the samba server instead of or > as well as separate log.netbiosname files. It will do this by default. You have overridden the "log file" parameter in smb.conf to get this behavior. 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
[Samba] Samba & Win2000
Hi All, I installed samba-2.2.2 on the Sun ultra10 (SunOS 5.8) successfully. But if I try to connect to that from windows 2000 clients, I get to see the annoying message: \\Ultra10 is not accessible The account is not authorized to log in from this station. Can somebody help me? Regards, Rajesh. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] users/passwds
Note: the mksmbpasswd creates the users in the smbpasswd file that match your system users, but it doesn't convert the passwords (at least when I did it) - you then have to go in and enter the passwords using the smbpasswd command. Frank Matthieß wrote: Donnerstag den 19.09.2002 um 16:19 CEST +0200, schrieb P. Jourdan: Could somebody please explain just how one is supposed to set up samba users, groups and passwords so connections can be established to Win2k clients to connect to FBSD samba server for file sharing and to use cups for printing. I am afraid that the manuals and config files and various examples I have found on the Internet are quite confusing. How is the Windows username/passord related to samba access? Must the same username/password be created with smbpasswd? You have to make sure that you create unix user and groups, that should be used by samba/windows client. For the first time it's easier to generate from your actual passwd the corresponding smbpasswd: cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd What users/groups need to exist or be created on the Unix machine? Are any created automatically by samba installation? samba itself runs as root, but switch to the assigned windows/unix user, to make sure to access with the correct rights. What users/groups need to be set up for "guest" access? It's up to you, which unix user would be the "guest". But hopefully not "root". What is the difference between smb.conf entries "public = yes (or no)" and "guest ok = yes (or no)"? man smb.conf and last but not least: http://www.samba.org/samba/docs/Samba-HOWTO-Collection.html
[Samba] logsnip -- sorry, not much detail
I'm not sure what this means, but it references BUGS.txt as if the information may be of use. I'm not in the position to diagnose further. smbd didn't die totally, but the process reporting this is not my main smbd. My main smbd is at 5000 something, and is still up. This was a child process of some sort. I imagine this may be because I upgraded my openssl recently. After doing so, I tried to restart everything linked to it. I didn't notice smbd, though. I've just killed and restarted my smbd&nmbd and on SIGTERM, I get the same error dumped to the logfile and an exit. However, that may just have been part of the state of things. reference for searches: SIGBUS signal 7 libcrypto libssl lib/util.c:smb_panic(1092) samba 2.2.4 Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com Sep 18 21:44:49 froggy smbd[8288]: [2002/09/18 21:44:49, 0] lib/util_sock.c:read_data(434) Sep 18 21:44:49 froggy smbd[8288]: read_data: read failure for 4. Error = Connection reset by peer Sep 18 21:44:49 froggy smbd[8288]: [2002/09/18 21:44:49, 0] lib/fault.c:fault_report(38) Sep 18 21:44:49 froggy smbd[8288]: === Sep 18 21:44:49 froggy smbd[8288]: [2002/09/18 21:44:49, 0] lib/fault.c:fault_report(39) Sep 18 21:44:49 froggy smbd[8288]: INTERNAL ERROR: Signal 7 in pid 8288 (2.2.4) Sep 18 21:44:49 froggy smbd[8288]: Please read the file BUGS.txt in the distribution Sep 18 21:44:49 froggy smbd[8288]: [2002/09/18 21:44:49, 0] lib/fault.c:fault_report(41) Sep 18 21:44:49 froggy smbd[8288]: === Sep 18 21:44:49 froggy smbd[8288]: [2002/09/18 21:44:49, 0] lib/util.c:smb_panic(1092) Sep 18 21:44:49 froggy smbd[8288]: PANIC: internal error Sep 18 21:44:49 froggy smbd[8288]:
Re: [Samba] users/passwds
Donnerstag den 19.09.2002 um 16:19 CEST +0200, schrieb P. Jourdan: > Could somebody please explain just how one is supposed to set up samba > users, groups and passwords so connections can be established to Win2k > clients to connect to FBSD samba server for file sharing and to use cups > for printing. > > I am afraid that the manuals and config files and various examples I have > found on the Internet are quite confusing. > > How is the Windows username/passord related to samba access? Must the same > username/password be created with smbpasswd? You have to make sure that you create unix user and groups, that should be used by samba/windows client. For the first time it's easier to generate from your actual passwd the corresponding smbpasswd: cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd > What users/groups need to exist or be created on the Unix machine? Are any > created automatically by samba installation? samba itself runs as root, but switch to the assigned windows/unix user, to make sure to access with the correct rights. > What users/groups need to be set up for "guest" access? It's up to you, which unix user would be the "guest". But hopefully not "root". > What is the difference between smb.conf entries "public = yes (or no)" and > "guest ok = yes (or no)"? man smb.conf and last but not least: http://www.samba.org/samba/docs/Samba-HOWTO-Collection.html -- Frank Matthieß [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] users/passwds
Could somebody please explain just how one is supposed to set up samba users, groups and passwords so connections can be established to Win2k clients to connect to FBSD samba server for file sharing and to use cups for printing. I am afraid that the manuals and config files and various examples I have found on the Internet are quite confusing. How is the Windows username/passord related to samba access? Must the same username/password be created with smbpasswd? What users/groups need to exist or be created on the Unix machine? Are any created automatically by samba installation? What users/groups need to be set up for "guest" access? What is the difference between smb.conf entries "public = yes (or no)" and "guest ok = yes (or no)"? Phil -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Error log?
That sets it to 5 mB. It is in kB. Jason Naughton wrote: Jason, You can set a parameter in the smb.conf `max log size = ` that will ease at least it consuming all of /var partition. I think. man smb.conf to make sure that is the right syntax. Good luck. Cheers Hi Tony, The odd thing is that it's set to 5000... But it seems not to stop generating a whole lot more... -- Joseph Loo [EMAIL PROTECTED]
Re: [Samba] Problems Using SAMBA as Fileserver
Donnerstag den 19.09.2002 um 14:21 CEST +0200, schrieb Martin Elshuber: > Hi! > > I've set up Samba 2.2.5 as Fileserver, using w2k clients, and all > works well, nearly! But there is one Problem! > > I cannot work with mp3-files! > I can play a mp3; I can copy a mp3; I can even delete a mp3; But it is > not possible to rename a mp3 or change the TAG. > > Everytime i try to do this, my w2k mashine says "Access denied! Mybe > file open!", but no one works on this file (no winamp, kazaa, ...)! > Trying to do this on a linux console works fine, too! I think it's a locking problem. > > If the file has another extension i don't have any Problems. It seems to be an windows issue. > > I think this is a very strange Problem! > Perhaps someone has an idea how to slove this. If you a familar with strace on linux, you got a chance to look what the client should to with samba on the system. smbstatus will give you a list of users/pids and a list of locked files/pids. As root you ar eable to connect to this pis via strace -p . After you do that, try to rename the mp3 file. The output can redirect with -o parameter as strace paramater. -- Frank Matthieß [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Winbind and trusted domains
Hello, I have set up the NT authentication using the Winbind daemon. It does authenticate the users in the domain set in the smb.conf file - WORKGROUP variable, but does NOT authenticate the users from other trusted domain, while domain trusts are defined correctly. - I tried to export WINBINDD_DOMAIN variable, but with no effect. - getent passwd/group command returns only "WORKGROUP variable" domain members Thaks for help! Ondrej Foukal -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Error joining windows 2000 to Samba 3.0alpha19 domain
I am using ldap backend, users and machine accounts are being added correctly. Authentication while accessing shares works fine. The problem occurs when I try to join this domain. I created the machine account on unix and in ldap for samba. When trying to join the domain from win2k client machine the following error is recieved. "The following error occured attempting to joing domain "head": The parameter is incorrect." smb.conf contains the following lines relating domain controller activity workgroup = head security = user domain logons = yes password server = * passdb backend = ldapsam:ldap://my_ldap_server_ip use spnego = No domain master = yes local master = yes wins support = yes os level = 64 ldap suffix = dc=head,dc=com ldap machine suffix = ou=Computers ldap user suffix = ou=Users ldap admin dn = "cn=Manager,dc=head,dc=com" ldap ssl = no [netlogon] path=/usr/local/samba/lib read only = yes write list = ntadmin __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: Re[2]: [Samba] about uidnumber
Donnerstag den 19.09.2002 um 15:15 CEST +0200, schrieb Koriun A. Margarian: > FM> Donnerstag den 19.09.2002 um 13:58 CEST +0200, schrieb Frank Matthieß: > FM> Only one part. Sorry: The comment at the beginning of my samba.schema > FM> told me: > FM> > FM> ## Prerequisite schemas - uid (cosine.schema) > FM> ## - displayName (inetorgperson.schema) > FM> > FM> -- > FM> Frank Matthieß [EMAIL PROTECTED] > > Yes, i see that , but it say uid and displayName is in > cosine.schema and inetorgperson.schema. But it does not > mean, that uidNumber and gidNumber also there. They are in > nis.schema. > > I want understand what is different ? why u have not problem > with uidNumber and gidNumber. May be you include nis.schema? > Then some one must correct documentation. To read more carefully, what is requested, seems to help ;-) Ok. The reason, why i have no problem with that is, it's just on the todo list. I think inluding the nis.schema is the right way. And this should/must be documented in the header or corrected in the samba.schema. -- Frank Matthieß [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problems Using SAMBA as Fileserver
Hi! I've set up Samba 2.2.5 as Fileserver, using w2k clients, and all works well, nearly! But there is one Problem! I cannot work with mp3-files! I can play a mp3; I can copy a mp3; I can even delete a mp3; But it is not possible to rename a mp3 or change the TAG. Everytime i try to do this, my w2k mashine says "Access denied! Mybe file open!", but no one works on this file (no winamp, kazaa, ...)! Trying to do this on a linux console works fine, too! If the file has another extension i don't have any Problems. I think this is a very strange Problem! Perhaps someone has an idea how to slove this. Thanks Martin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba password sync question
Dear All I would like to know if there is a simple way to disable the Change Password button available under XP. I have tried all the registry entries and they wont work. When a limited user account is created the relevant entry is not copied from HKEY_USERS\.DEFAULT into HKEY_CURRENT_USER. The system I am using is Samba 2.2.5 running as a PDC with XP clients. I don't want to have to give all my users admin rights as that's a bit nasty. The solution I have come up with at the moment is to set passwd program in smb.conf to a script which I have written that just returns a non zero exit status. This then tells the users that the password change failed due to an invalid username or password. If it is not possible to disable the change password button is it possible to edit the error message windows displays when the password change fails? Thanks Jethran Waugh -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re[2]: [Samba] about uidnumber
Hello Frank, Thursday, September 19, 2002, 4:01:40 PM, you wrote: FM> Donnerstag den 19.09.2002 um 13:58 CEST +0200, schrieb Frank Matthieß: >> Donnerstag den 19.09.2002 um 14:32 CEST +0200, schrieb Koriun A. Margarian: >> > Hello samba, >> > >> > I have 2 question. >> > >> > 1. what is uidnumber ? where is it defined ? >> > I looked samba.schema, there is no definition, only >> > use. and as result openldap failed: >> > >> > /usr/local/etc/openldap/schema/samba.schema: line >> > 147: AttributeType not found: "uidNumber" >> >> You have to add samba.schema at the end of inlcudes in the slapd.conf. >> Before this include there must be a line with inetorgperson.schema. FM> Only one part. Sorry: The comment at the beginning of my samba.schema FM> told me: FM> ## Prerequisite schemas - uid (cosine.schema) FM> ## - displayName (inetorgperson.schema) FM> -- FM> Frank Matthieß [EMAIL PROTECTED] Yes, i see that , but it say uid and displayName is in cosine.schema and inetorgperson.schema. But it does not mean, that uidNumber and gidNumber also there. They are in nis.schema. I want understand what is different ? why u have not problem with uidNumber and gidNumber. May be you include nis.schema? Then some one must correct documentation. -- Best regards, Koriunmailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re[2]: [Samba] about uidnumber
Hello Frank, Thursday, September 19, 2002, 3:58:07 PM, you wrote: FM> Donnerstag den 19.09.2002 um 14:32 CEST +0200, schrieb Koriun A. Margarian: >> Hello samba, >> >> I have 2 question. >> >> 1. what is uidnumber ? where is it defined ? >> I looked samba.schema, there is no definition, only >> use. and as result openldap failed: >> >> /usr/local/etc/openldap/schema/samba.schema: line >> 147: AttributeType not found: "uidNumber" FM> You have to add samba.schema at the end of inlcudes in the slapd.conf. FM> Before this include there must be a line with inetorgperson.schema. FM> -- FM> Frank Matthieß [EMAIL PROTECTED] In samba.schema is included after inetorgperson.schema, uidnumber contained only in nis.schema, must I include this file also in samba.schema ? -- Best regards, Koriunmailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] about uidnumber
Donnerstag den 19.09.2002 um 13:58 CEST +0200, schrieb Frank Matthieß: > Donnerstag den 19.09.2002 um 14:32 CEST +0200, schrieb Koriun A. Margarian: > > Hello samba, > > > > I have 2 question. > > > > 1. what is uidnumber ? where is it defined ? > > I looked samba.schema, there is no definition, only > > use. and as result openldap failed: > > > > /usr/local/etc/openldap/schema/samba.schema: line > > 147: AttributeType not found: "uidNumber" > > You have to add samba.schema at the end of inlcudes in the slapd.conf. > Before this include there must be a line with inetorgperson.schema. Only one part. Sorry: The comment at the beginning of my samba.schema told me: ## Prerequisite schemas - uid (cosine.schema) ## - displayName (inetorgperson.schema) -- Frank Matthieß [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] about uidnumber
Donnerstag den 19.09.2002 um 14:32 CEST +0200, schrieb Koriun A. Margarian: > Hello samba, > > I have 2 question. > > 1. what is uidnumber ? where is it defined ? > I looked samba.schema, there is no definition, only > use. and as result openldap failed: > > /usr/local/etc/openldap/schema/samba.schema: line > 147: AttributeType not found: "uidNumber" You have to add samba.schema at the end of inlcudes in the slapd.conf. Before this include there must be a line with inetorgperson.schema. -- Frank Matthieß [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] about uidnumber
Hello samba, I have 2 question. 1. what is uidnumber ? where is it defined ? I looked samba.schema, there is no definition, only use. and as result openldap failed: /usr/local/etc/openldap/schema/samba.schema: line 147: AttributeType not found: "uidNumber" How can I correct this.? 2. Can I use smbpasswd file, without ldap, if I compile samba with flag --ldapsam ? openldap 2.14 samba 2.2.5 solaris 2.6 -- Best regards, Koriun mailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] (no subject)
Hello, how recuperer the name of the user logger using the package samba which functionality to use thanks
Re: [Samba] samba + unix passwd sync when using LDAP
On Tue, Sep 17, 2002 at 09:55:53AM -0400, Bradley W. Langhorst wrote: > On Tue, 2002-09-17 at 09:14, Louis-David Mitterrand wrote: > > Hi, > > I noticed that when using (on debian unstable, samba 3.0pre): > > > > passdb backend = ldapsam > > > > the "unix passwd sync" in no longer performed, even if "pam password > > change" is on. > are you sure? Actually it works when I change the password as a user, but not as root on behalf of a user. Does that make sense? -- [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing problem - Spooled files won't print
Which printing system are you using? Have you looked at the printing logs on the server for clues? Have you considered putting the nawk script into the print filter of the queue and using a simpler print command in samba? Shouldn't there be some reference in the samba logs to calling nawk? Is this a problem for all your samba related printing, or just this one queue? Have you run testparm? Joel On Thu, Sep 19, 2002 at 12:04:53PM +0200, P-O Yliniemi wrote: > > > I have dropped the 'nawk' command (again) and there is no difference. Can't > find anything in the Samba logs telling me about the execution of the print > command. > > The purpose of using 'nawk' was to remove windows-trash from the postscript > file. > > >From /var/logs/samba.smb: > > ... > Processing other sections... > ... > [2002/09/19 12:02:27, 2] param/loadparm.c:do_section(2241) > Processing section "[pagepro6]" > [2002/09/19 12:02:27, 2] smbd/server.c:main(716) > Changed root to / > [2002/09/19 12:02:27, 2] smbd/reply.c:reply_special(96) > netbios connect: name1=SOLARISBOX-1 name2=LATITUDE > > >From /var/logs/samba.latitude: > > [2002/09/19 12:02:27, 1] smbd/service.c:make_connection(521) > latitude (172.16.0.6) connect to service pagepro6 as user samba (uid=1006, gid=1) >(pid 4857) > [2002/09/19 12:02:27, 2] smbd/open.c:open_file(582) > samba opened file SAMBA.mZaiFj read=No write=Yes (numopen=1) > [2002/09/19 12:02:27, 0] smbd/nttrans.c:call_nt_transact_ioctl(2387) > call_nt_transact_ioctl: Currently not implemented. > [2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(355) > del_share_modes Deleting share mode entry dev=1980085 ino=120965 > [2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(376) > del_share_modes num entries = 0, deleting share_mode dev=1980085 ino=120965 > [2002/09/19 12:02:27, 2] smbd/close.c:close_normal_file(165) > samba closed file SAMBA.mZaiFj (numopen=0) > [2002/09/19 12:02:27, 2] smbd/open.c:open_file(582) > samba opened file SAMBA.nZaiFj read=No write=Yes (numopen=1) > [2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(355) > del_share_modes Deleting share mode entry dev=1980085 ino=120965 > [2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(376) > del_share_modes num entries = 0, deleting share_mode dev=1980085 ino=120965 > > The only suspect line is " call_nt_transact_ioctl: Currently not implemented." > but the spool file is created and works > > /PeO > > > Is there a reason you don't use the simpler command in your smb.conf? > > Could this be a permissions problem? (nawk won't work for your smb user). > > What do you see in your smb logs? > > I forget my nawk, but, it seems that nawk is just deleting any extraneous > > lines in your postscript print files. Is that necessary? > > > > Joel > > > > > > > > On Thu, Sep 19, 2002 at 03:51:16AM +0200, P-O Yliniemi wrote: > > > Hi, > > > > > > I have some trouble getting files printed on my Solaris 8 machine running > > > Samba 2.0.5. > > > > > > The client is a winxp installed laptop, the printer is configured as a > > > postscript printer (Minolta PagePro 12 PS), although it is a PCL printer > > > (Minolta PagePro 6). > > > > > > >From the client side, everything works as it is supposed to, and when I check > > > in the selected spool directory for Samba printers, I find the spooled printouts: > > > > > > solarisbox-1:[/var/spool/samba]# ls -l > > > total 176 > > > -rwxr--r-- 1 sambaother 28851 Sep 19 03:23 SAMBA.2Wa40i > > > -rwxr--r-- 1 sambaother 60073 Sep 19 03:22 SAMBA.9HayZi > > > solarisbox-1:[/var/spool/samba]# > > > > > > I can print the files manually using the command > > > > > > /usr/bin/lp -c -o nobanner -T postscript -d pagepro6 SAMBA.2Wa40i > > > > > > or, as I have found somewhere (this is in my smb.conf) > > > /usr/bin/nawk '/^%!PS/, /^%%EOF/' SAMBA.2Wa40i | /usr/bin/lp -c -o nobanner -T >postscript -d pagepro6 > > > > > > .. the only problem is that it seems like the "print command" is never executed > > > once a print request arrives. > > > > > > The complete contents of my smb.conf (that has to do with printing) follows: > > > > > > [global] > > > debug level = 2 > > > ... > > > log file=/var/log/samba.%m > > > ... > > > printing = bsd > > > printcap name = /etc/printers.conf > > > load printers = yes > > > ... > > > ...disk shares... > > > [printers] > > > comment = "All printers" > > > path = /var/spool/samba > > > browseable = no > > > printable = yes > > > public = yes > > > writable = no > > > create mode = 0700 > > > [pagepro6] > > > path = /var/spool/samba > > > printer name = pagepro6 > > > writable = yes > > > public = yes > > > printable = yes > > > print command = /usr/bin/nawk '/^%!PS/, /^%%EOF/' %s | /usr/bin/lp -c -o >nobanner -T postscript -d %p; rm
Re: [Samba] Printing to file
Well, the printcap below, and the print filter: #!/bin/bash ps2pdf - and a file /var/spool/lpd/text/textprint with chmod 777 works fine for me to convert postscrpt to pdf and save it to the file. You may have to mess with std in and out with the ps2pdf command. So, what was the problem again? Joel On Thu, Sep 19, 2002 at 05:41:03AM -0400, [EMAIL PROTECTED] wrote: > > The file needs to be converted to pdf (I use ps2pdf) > Greetz Maxor > > >Joel > >On Wed, Sep 18, 2002 at 08:53:50PM +0200, Sander van Vliet wrote: > >> The print jobs arrive in PostScript. (apple laserwriter) > >> > >> Greetz Maxor > >> > >> - Original Message - > >> From: "Joel Hammer" <[EMAIL PROTECTED]> > >> To: "Sander van Vliet" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > >> Sent: Wednesday, September 18, 2002 6:13 PM > >> Subject: Re: [Samba] Printing to file > >> > >> > >> > I use lprng. > >> > > >> > text:\ > >> > :sd=/var/spool/lpd/text:\ > >> > mx#0:\ > >> > :lp=/var/spool/lpd/text/textprint:\ > >> > :if=/var/spool/lpd/text/filter:\ > >> > :sh: > >> > > >> > This works for me. > >> > Make sure the file is permissive. Your printer daemon has to be able to > >> > print to it. > >> > The filter is a question. Since you aren't printing to a printer, you > >> woon't > >> > use the same filter you would use for a real print queue. What format will > >> > the print job arrive in? What format do you want it to be once it is in > >> the > >> > file? > >> > Run checkpc -f to make sure things look right. > >> > Don't forget, after you make these changes, you have to restart lpd. > >> > Joel > >> > > >> > > >> > On Wed, Sep 18, 2002 at 02:10:06PM +0200, Sander van Vliet wrote: > >> > > Hello does anyone have an example printcap config to print to a file? > >> > > I need this because I use the pdfprint script posted here earlier but if > >> you print to that printer the program that prints hangs until the program > >> finishes. > >> > > > >> > > TIA Maxor > >> > -- > >> > 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] Printing problem - Spooled files won't print
I have dropped the 'nawk' command (again) and there is no difference. Can't find anything in the Samba logs telling me about the execution of the print command. The purpose of using 'nawk' was to remove windows-trash from the postscript file. >From /var/logs/samba.smb: ... Processing other sections... ... [2002/09/19 12:02:27, 2] param/loadparm.c:do_section(2241) Processing section "[pagepro6]" [2002/09/19 12:02:27, 2] smbd/server.c:main(716) Changed root to / [2002/09/19 12:02:27, 2] smbd/reply.c:reply_special(96) netbios connect: name1=SOLARISBOX-1 name2=LATITUDE >From /var/logs/samba.latitude: [2002/09/19 12:02:27, 1] smbd/service.c:make_connection(521) latitude (172.16.0.6) connect to service pagepro6 as user samba (uid=1006, gid=1) (pid 4857) [2002/09/19 12:02:27, 2] smbd/open.c:open_file(582) samba opened file SAMBA.mZaiFj read=No write=Yes (numopen=1) [2002/09/19 12:02:27, 0] smbd/nttrans.c:call_nt_transact_ioctl(2387) call_nt_transact_ioctl: Currently not implemented. [2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(355) del_share_modes Deleting share mode entry dev=1980085 ino=120965 [2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(376) del_share_modes num entries = 0, deleting share_mode dev=1980085 ino=120965 [2002/09/19 12:02:27, 2] smbd/close.c:close_normal_file(165) samba closed file SAMBA.mZaiFj (numopen=0) [2002/09/19 12:02:27, 2] smbd/open.c:open_file(582) samba opened file SAMBA.nZaiFj read=No write=Yes (numopen=1) [2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(355) del_share_modes Deleting share mode entry dev=1980085 ino=120965 [2002/09/19 12:02:27, 2] locking/locking_shm.c:shm_del_share_mode(376) del_share_modes num entries = 0, deleting share_mode dev=1980085 ino=120965 The only suspect line is " call_nt_transact_ioctl: Currently not implemented." but the spool file is created and works /PeO > Is there a reason you don't use the simpler command in your smb.conf? > Could this be a permissions problem? (nawk won't work for your smb user). > What do you see in your smb logs? > I forget my nawk, but, it seems that nawk is just deleting any extraneous > lines in your postscript print files. Is that necessary? > > Joel > > > > On Thu, Sep 19, 2002 at 03:51:16AM +0200, P-O Yliniemi wrote: > > Hi, > > > > I have some trouble getting files printed on my Solaris 8 machine running > > Samba 2.0.5. > > > > The client is a winxp installed laptop, the printer is configured as a > > postscript printer (Minolta PagePro 12 PS), although it is a PCL printer > > (Minolta PagePro 6). > > > > >From the client side, everything works as it is supposed to, and when I check > > in the selected spool directory for Samba printers, I find the spooled printouts: > > > > solarisbox-1:[/var/spool/samba]# ls -l > > total 176 > > -rwxr--r-- 1 sambaother 28851 Sep 19 03:23 SAMBA.2Wa40i > > -rwxr--r-- 1 sambaother 60073 Sep 19 03:22 SAMBA.9HayZi > > solarisbox-1:[/var/spool/samba]# > > > > I can print the files manually using the command > > > > /usr/bin/lp -c -o nobanner -T postscript -d pagepro6 SAMBA.2Wa40i > > > > or, as I have found somewhere (this is in my smb.conf) > > /usr/bin/nawk '/^%!PS/, /^%%EOF/' SAMBA.2Wa40i | /usr/bin/lp -c -o nobanner -T >postscript -d pagepro6 > > > > .. the only problem is that it seems like the "print command" is never executed > > once a print request arrives. > > > > The complete contents of my smb.conf (that has to do with printing) follows: > > > > [global] > > debug level = 2 > > ... > > log file=/var/log/samba.%m > > ... > > printing = bsd > > printcap name = /etc/printers.conf > > load printers = yes > > ... > > ...disk shares... > > [printers] > > comment = "All printers" > > path = /var/spool/samba > > browseable = no > > printable = yes > > public = yes > > writable = no > > create mode = 0700 > > [pagepro6] > > path = /var/spool/samba > > printer name = pagepro6 > > writable = yes > > public = yes > > printable = yes > > print command = /usr/bin/nawk '/^%!PS/, /^%%EOF/' %s | /usr/bin/lp -c -o >nobanner -T postscript -d %p; rm -f %s > > > > > > Any suggestion besides sett ing up a cron job to print everything in > > the spool directory every minute or so, but this isn't the optimal > > solution to the problem ? > > > > /PeO > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba -- /* PeO - AMiGA owner since 1990, CGI, Perl, Assembly language & HTML-fanatic *\ \* Amiga 4000TE/060-50/604e 200, 146Mb, 33.4Gb, ZIP, JAZ, CVPPC/8 */ /* IIyama VM Pro 21", CP-SW2 Subwoofer system, NEC-222 *\ \* Plextor 12-Plex, Yamaha CRW 4416S, Artec A6000C+, Stylus Color 500*/ /*
[Samba] Samba 2.2.6pre2 doesn't try to lookup for user user name by SID +pdbedit
I have instaled samba 2.2.6pre2 (due problems with printr drivers download in 2.2.5) and I have also tried to install it using ldapsam backend. It seems be working, but there are two problems: - if I try to display directory ACL (file - properties - security) I show only the user name, group name and others field are shown only as SIDs. There is no hit to LDAP (OK, groups seems be supported only in samba TNG) and I am not seeing any relevant error message in logs - if I try to open a user in user manager for domains, the samba hit into LDAP by RID and gets relevant info. I see in log, that the parameters are filled from LDAP in init_ldap_from_sam to right places, but the client says, that is was not able to find user in domain. - the pdbedit tool is very useful, but it should also fill in the displayName field, while importing smbpasswd. With smbpasswd backend is displayed Full name from /etc/passwd, with LDAP is the field after import empty and the names aren't shown. I think, that at least the first one has been working in previos versions. cheers dan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba and windows 2000 server
Help needed Currenly i'm running samba on a RedHat 7.3 system. The primary domain contreller in the network in a windows 2000 server machine. I'm using the windows 2000 server to authenticate my users in the domain. Each time a new user is created in windows 2000, i have to create the same user in linux inorder to allow the user to have access to the samba shares. Is the re a script or method that can automatically create users in linux as new users being created in windows 2000 ? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: PDC backup server
> Just a "simple" goal! > > I have a linux RH7.1 server with Samba 2.2.2 configured as a > in-prodduction PDC. I want to move Samba domain to another server. > > How I can do this without reconfigure everything? > Meanwhile i was waiting some information to do my job, i have prepared a new machine with RH7.1 and samba 2.2.5-4 standard Raw hide RPM. I have copied all the account above uid 500 of the passwd and group database. I have also copied the smbpasswd samba passwd database and all the script in the netlogon share. The directory tree structure and permmission is replicated. After that i had shutdown the old samba server and started the new one. As a result of this job, i can browse the shares of the server but i cannot view the list of the machine nor logging on into any workstation. It seems that the domain is not available or the master browser for the domain was not elected. I looked into the nmbd log file and the election process was there. My new server would be the domain and local master broser. Any idea? thanks Hermes collini P.S. Sorry for bad english. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Password problem
We have a Linux PDC running RH7.2 and W2K workstations. We are having issues with users changing there passwords from there Win2K workstations. They change there password but when they try to log back on they cannot logon because it says there username or password is incorrect. But when we try the new password on the Linux server (logging on to the server locally) it works just fine. I would think that this has something to do with the Samba configuration. It seems like the samba password file cannot save passwords that are over a certain character limit or has special characters. It is changing the password in the shadow file. We are thinking that this has something to do with either too long of a password or the special characters they use. If they change there password to something simple like joe123456 everything works fine. We are big on security and we like our users to use 14 characters with at least one special character and number. The following password did not work when changed thru the workstation. t1@503karenoc5 This is only 14 characters and has one special character. When I logged off and logged back on it did not work. But I then logged on the server locally with the new password and it worked fine. __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba 3.0 Features
On Thursday 19 September 2002 09:00, Kalkoul Morad wrote: > Hi everybody, > > About Samba 3.0 or less , does manages ACTIVATE DIRECTORY and GROUP > POLICIES OBJECT ? Have you even attempted to find the answer to this out yourself? :) The *very first* page of samba.org (and its mirrors) links to answer to your question : http://www.samba.org/samba/roadmap-3.html -- Thanks, Andrew McCall Internet/Linux System Administrator I.C.T. Division Oldham MBC Civic Centre West Street Oldham OL1 1UU Tel : 0161 911 3990 Fax : 0161 911 3998 Email : [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.oldham.gov.uk ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba 3.0 Features
Hi everybody, About Samba 3.0 or less , does manages ACTIVATE DIRECTORY and GROUP POLICIES OBJECT ? Mo -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3 alpha19 - some testing results and problems
1. First of all, source/include/includes.h file contains wrong refence to file popt.h. In supposed to be "popt/popt.h" instead of "popt.h". After this correction source compiles OK. 2.After the installation on new alpha19 (I used alpha17 before) swat stopped authenticating (I use same credentials for Samba 2.2.5 and samba 3 swat). 3. Samba-3 shares are accessible through Active Directory only when security is SERVER. There is an option to choose ADS, but it is not documented and did not work. 4. Printers are visible but can not be accessed. Questions: How to make SWAT authenticating on alpha19? What is ADS type of security and how to configure it? Is it possible to use AD group names when configuring admin/read/write lists on Smaba -3 shares and printers? Regards, Sardar Azari. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] auth error on domain controler (2)
I'm using Samba 2.2.4 by the way sorry for this 2nd message :( Amaury
[Samba] auth error on domain controler
Hey All, The samba-ntdom ML doesn't seem to work (at this time), so i hope you'll accept this post about domain controlers. I've configured my Samba as a PDC, the auth process seems to work cause i can access to my home directory with my user profile... I think the problem is with my machine profile. i've got the following errors in smbd logs : [2002/09/19 10:14:27, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.[2002/09/19 10:14:27, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416) unable to open passdb database. even if the smbpasswd file exists any idea ?
[Samba] Access denied in bats with long path
Hi! I'm new in the list, and I'd like to post this problem. Sorry if it's an old matter. My server is SuSE Enterprise Server 7 running Samba 2.2.4-2. Samba works fine, but I've this problem. In a share carpet, with a long path (/u/aplic/utilidades in server, L:\aplic\utilidades from the W98 point of view), I have several .bat. If I run this .bat from a W2000 machine, all works fine. But if I run this .bat from a W98 machine (first or second edition, no matter), I get an "Access denied - L:\aplic\utili~-3\x.bat" message, where x is the name of the .bat. The bat is successfully executed, but the error cause an application hang, so I have to solve this problem. If I put these same .bat in other carpet with a short name (utils, for instance), all works fine. It seems a problem with W98 running .bat from a share with long path. This error occurs only from Window explorer, in a DOS Windows works fine. Why this message? Any idea? Best regards, Vicente. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] need help accessing samba share
sir, below is the transcript of what i faced when i tried to access a share fm by linux m/c it would be grate if u could help me out [root@linux/root]# smbclient //servername/sharename -U root add interface ip=192.168.1.100 bcast=192.168.1.255netmask=255.255.255.0 Password: Domain=workgroup OS=Unix Server=2.0.7 tree connect failed ERRSRV-ERR invnetname(Invalid network name in tree connect) Thanks; S.S.Anu. _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba