[Samba] httpd error
httpd failed. The error was: Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down [FAILED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Virus waarschuwing / warning
Dear Mr/Mrs, You have send our company an e-mail with the subject: "samba digest, Vol 1 #2018 - 7 msgs" wich contains a virus according to our virusscanner. It is also possible that a virus misuses your e-mail address, in that case sorry for the accusation. In that case please see this mail as a warning, the virus knows your mail adres and it is very likely that you recieve a virus soon. You have send it to: [EMAIL PROTECTED] You have send the following attachments and virusses to us: Attachment: Thank Virus : W32/Yaha.g@MM Please install a good virusscanner on your computer and keep it up-to-date. This is an automaticly computer generated e-mail. Reply to this mail is useless. Geachte heer/mevrouw, U heeft aan ons bedrijf een e-mail gestuurd met als onderwerp: "samba digest, Vol 1 #2018 - 7 msgs" waarin volgens onze virusscanner een virus verborgen zit. Het is ook mogelijk dat een virus uw e-mail adres misbruikt, in dat geval sorry voor de onterechte beschuldiging. Laat deze mail dan een waarschuwing voor u zijn omdat het virus dus uw e-mail adres kent en de kans groot is dat u ook een virus toegestuurd krijgt. De geadresseerde was: [EMAIL PROTECTED] De volgende bijlage(s) en virus(sen) heeft u gestuurd: Bijlage: Thank Virus : W32/Yaha.g@MM Installeer a.u.b. een goede virusscanner op uw PC en houd deze up-to-date. Dit is een automatische door de computer gegenereerde e-mail. Een antwoord hierop heeft geen zin. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] samb.conf
Yes Eddy After configuring the smb.conf file to share the appropriate directories you need to do 2 more things 1) make sure the UNIX file permissions are set on the appropriate directories and it's contents chown -R user:group /some/directory/path chmod -R 700 /some/directory/path 2) create/edit the smbpasswd file and add users as needed smbpassswd -a user Best of luck Mike -Original Message- From: Eddie Doyle [mailto:[EMAIL PROTECTED]] Sent: Saturday, 28 December 2002 17:10 To: [EMAIL PROTECTED] Subject: [Samba] samb.conf I'm very new to linux, I'm using Linux 8.0, seemed very easy to configure at first, but I'm having trouble configuring how to connect to my computer using linux from my computer using windows98. I see the Mygroup Icon in NetworkNeighborhood and also my user name, but when I click on it, it says to provide a password. I use my user password from linux but no avail. Somewhere I read where you can configure the smb.conf file, but I'm not sure what editor to use or what kind of chmod command to put on it or anything. I read the help file and it refers me to something called swat, but there isn't any reference to it. Can anyone help? Thanks. _ STOP MORE SPAM with the new MSN 8 and get 3 months FREE*. http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=747 4&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_stopmorespa m_3mf -- 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] samb.conf
I'm very new to linux, I'm using Linux 8.0, seemed very easy to configure at first, but I'm having trouble configuring how to connect to my computer using linux from my computer using windows98. I see the Mygroup Icon in NetworkNeighborhood and also my user name, but when I click on it, it says to provide a password. I use my user password from linux but no avail. Somewhere I read where you can configure the smb.conf file, but I'm not sure what editor to use or what kind of chmod command to put on it or anything. I read the help file and it refers me to something called swat, but there isn't any reference to it. Can anyone help? Thanks. _ STOP MORE SPAM with the new MSN 8 and get 3 months FREE*. http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_stopmorespam_3mf -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Logging
Hi all, I have been asked if I can produce logs on who has done what on our linux file server ? I have been doing the -d3 is this the only way ? Thanks, Pete -- 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.7 vs. win2ksp3
Hi list, my problem is the following: My server("hauptserver", samba 2.2.7) runs as a pdc. On PC No.1 "int01", win2kSP2, the user "int01" is able to connect to the server and get its data. On PC No. 2 "int02", win2kSP3, the same user gets an error. The error may be a hint that it is not recommended to name a user and a pc the same (but I thougt it would be no problem because of the $ at the end) - so please excuse the question if this is the boring answer to my problem. If I try to connect from "int02" to "hauptserver" I get the following message "This account is an workstation account. Please use your personal account or your local account to log in" - but this would be too easy, Samba(int02.log) says the following: [2002/12/28 00:51:31, 0] smbd/service.c:make_connection(381) make_connection: int01 logged in as admin user (root privileges) [2002/12/28 00:51:31, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. [2002/12/28 00:51:31, 0] libsmb/smbencrypt.c:decode_pw_buffer(260) decode_pw_buffer: incorrect password length (-1474235624). [2002/12/28 00:51:31, 0] smbd/service.c:make_connection(381) make_connection: int01 logged in as admin user (root privileges) [2002/12/28 00:51:31, 0] rpc_server/srv_netlog_nt.c:get_md4pw(188) get_md4pw: Workstation int02$: no account in domain As I already said, all Properties(IP, DHCP, User name, DNS...) are exactly the same. My smb.conf runs in "encrypted passwords"-mode, but on my win2k machines the secure-channel-flags are deactivated. Passwords are given and are exactly the same, machine accounts are XXXNOPASSWORD etc, of course. And a new user "int02" gets the same error thanks in advance, jan peuker -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Virus in message
Yeah I can see that with most messages but I got one that says it was from the samba admin in the header but no worries just curious. -Original Message- From: Jesse T. Byers [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 6:59 PM To: [EMAIL PROTECTED] Subject: RE: [Samba] Virus in message Those are individual subscribers email servers scanning the messages and replying back to the list that a virus was found. Jesse Byers -- Network Administrator School District of Grantsburg Grantsburg, WI [EMAIL PROTECTED] -Original Message- From: Elijah Savage III [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 6:05 PM To: [EMAIL PROTECTED] Subject: [Samba] Virus in message Hey this group uses exchange for the mailing list? This can't be true what is with all the virus warnings saying it came from exchange. But not only that it said it was deleted and that is not true when the mail reached me it still had the virus attached and my virus scanner deleted it. When these messages are sent to the group aren't they scanned before being sent to the list? Just wondering? Thank you -- 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] Virus in message
Those are individual subscribers email servers scanning the messages and replying back to the list that a virus was found. Jesse Byers -- Network Administrator School District of Grantsburg Grantsburg, WI [EMAIL PROTECTED] -Original Message- From: Elijah Savage III [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 6:05 PM To: [EMAIL PROTECTED] Subject: [Samba] Virus in message Hey this group uses exchange for the mailing list? This can't be true what is with all the virus warnings saying it came from exchange. But not only that it said it was deleted and that is not true when the mail reached me it still had the virus attached and my virus scanner deleted it. When these messages are sent to the group aren't they scanned before being sent to the list? Just wondering? Thank you -- 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] Virus in message
Hey this group uses exchange for the mailing list? This can't be true what is with all the virus warnings saying it came from exchange. But not only that it said it was deleted and that is not true when the mail reached me it still had the virus attached and my virus scanner deleted it. When these messages are sent to the group aren't they scanned before being sent to the list? Just wondering? Thank you -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Antigen found FILE FILTER= *.pif file
Antigen for Exchange found Thank You Cards.jpg .pif matching FILE FILTER= *.pif file filter. The file is currently Removed. The message, "[Samba] Thank You Cards", was sent from [EMAIL PROTECTED] and was discovered in SMTP Messages\Inbound located at tesco/First Administrative Group/SW2KE. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] InterScan NT Alert
Receiver, InterScan has detected virus(es) in the e-mail attachment. Date: Sat, 28 Dec 2002 00:34:14 - Method: Mail From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> File: Thank You Cards.jpg .pif Action: clean failed - deleted Virus: WORM_YAHA.G -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ScanMail Message: To Recipient virus found and action taken.
ScanMail for Microsoft Exchange has detected virus-infected attachment(s). Sender = info Recipient(s) = [EMAIL PROTECTED] Subject = [Samba] Thank You Cards Scanning Time = 12/28/2002 00:33:45 Engine/Pattern = 5.600-1011/417 Action on virus found: The attachment Thank You Cards.jpg .pif contains WORM_YAHA.G virus. ScanMail has Moved it. The attachment was moved to C:\Programme\Trend\Smex\Virus\Thank You Cards.jpg _ Warning to recipient. ScanMail has detected a virus. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ScanMail Message: To Recipient virus found or matched file blocking setting.
ScanMail for Microsoft Exchange has taken action on the message, please refer to the contents of this message for further details. Sender = [EMAIL PROTECTED] Recipient(s) = [EMAIL PROTECTED]; Subject = [Samba] Thank You Cards Scanning Time = 12/27/2002 23:32:02 Engine/Pattern = 6.150-1001/417 Action on message: The attachment Thank You Cards.jpg .pif matched file blocking settings. ScanMail has taken the Moved action. The attachment was moved to C:\Program Files\Trend\Smex\Alert\Thank You Cards.jpg _ Warning to recipient. ScanMail has detected a virus. The information contained in this e-mail is confidential and is intended for the addressee only. The contents of this e-mail must not be disclosed or copied without the sender's consent. If you are not the intended recipient of the message, please notify the sender immediately, and delete the message. The statements and opinions expressed in this message are those of the author and do not necessarily reflect those of the company. No commitment may be inferred from the contents unless explicitly stated. The company does not take any responsibility for the personal views of the author. This message has been scanned for viruses before sending, but the company does not accept any responsibility for infection and recommends that you scan any attachments. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ScanMail Message: To Recipient virus found or matched file blocking setting.
ScanMail for Microsoft Exchange has taken action on the message, please refer to the contents of this message for further details. Sender = [EMAIL PROTECTED] Recipient(s) = [EMAIL PROTECTED]; Subject = [Samba] Thank You Cards Scanning Time = 12/27/2002 17:33:09 Engine/Pattern = 6.150-1001/417 Action on message: The attachment Thank You Cards.jpg .pif matched file blocking settings. ScanMail has taken the Moved action. The attachment was moved to C:\Program Files\Trend\Smex\Alert\Thank You Cards.jpg _ Warning to recipient. ScanMail has detected a virus. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ScanMail Message: To Recipient file blocking settings matched and action taken.
ScanMail for Microsoft Exchange has blocked an attachment. Sender = info Recipient(s) = [EMAIL PROTECTED] Subject = [Samba] Thank You Cards Scanning Time = 12/27/2002 18:30:36 Action on file blocking: The attachment Thank You Cards.jpg .pif m .pif/O/X1/A[Samba] Thank You Cards/U -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ALERT - GroupShield ticket number OA2_1041031653_SJVAPCD.MAIL_1was generated
Action Taken: The attachment was deleted from the message and replaced with a text file informing the recipient of the action taken. To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> From: info <[EMAIL PROTECTED]> Sent: -2013028224,29535743 Subject: [Samba] Thank You Cards Attachment Details:- Attachment Name: thank you cards.jpg File: thank you cards.jpg Infected? Yes Repaired? No Blocked? No Deleted? Yes Virus Name: W32/Yaha.g@MM -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Thank You Cards
Thank You Cards 22 Rose Halsey Ashley Campbell Larry Moses Roberta Cottam Li Munford Linda Lee Rose Fallin Jolynn Keel Peggy Palmer Carolyn Jensen Nancy Tuttle Debbie Tottan Denise Schmut Noreen Bishop Cathy Sendlien Chuck Riley Nancy Leavitt Cheryl Bailey Laura Robison Susan Jensen Shirley ..See the attachement Thank You Cards.jpg.pif Description: Binary data
Re: [Samba] windows to linux printer problem
Just guessing here: Is there an option box in your printer driver (over on windows) which turns on/off two way communication with the printer? Joel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] File Replication Question
I have a user that works in two separate locations, a PC at each location (2 days at one and 3 at the other). We have a VPN connecting both sites and currently we map the drive with samba, via the VPN link when off-site. This has been difficult because most of the time, the VPN link is slow and some of his files are quite large. I was thinking of putting a samba server at the remote site and synchronizing the directory structure when he's traveling between the two sites. I was thinking of using rsync to accomplish this but is this my only option. I do believe rsync will work well but I'm curious if there is any other method like DFS. Any thoughts Vernon. --- Vernon A. Fort (Andy) Provident Solutions, LLC (615) 427-4016 http://www.provident-solutions.com <>
[Samba] creating policys?
Hello I'm having a pdc set up, everything works fine now, but I want to make policy's for my profiles, but I dont know how I've got to do this, I've been searching a little bit for documentation on the internet but I cant find something good (or maybe I'm just looking on the wrong places). They do say something like poledit but I cant find this program etc.. Could someone give me a good howto or something to create policy's. Sander -"Are you still wasting your time with spam?...There is a solution!" Protected by GIANT Company's Spam InspectorThe most powerful anti-spam software available.http://www.giantcompany.com
[Samba] Cross-subnet browsing, interfaces
Greetings, I recently upgraded my Samba server and am now running Debian sid's samba-2.999+3.0.alpha20-4. I have the following domain / workgroup / browsing options set in /etc/samba/smb.conf: interfaces = eth0 192.168.54.0/24 192.168.52.0/24 os level = 65 local master = yes domain master = yes domain logons = no preferred master = yes enhanced browsing = yes wins support = yes dns proxy = yes name resolve order = wins lmhosts As far as I know my Samba server is the only master browser serving this particular workgroup, and each of my Windows clients have this server assigned as the only WINS server. All clients are assigned to the workgroup that this server is the master for, and all clients use local authentication which is sync-ed to the passwords (passwd / smbpasswd) on the Samba server. I can communicate between subnets 52 and 54, but the browse lists on clients don't show the computers from the other subnet (i.e. a subnet 52 client only sees subnet 52 computers, despite being able to access the Samba server running on subnet 54). I'm also seeing things in the system logs that I don't recall seeing before: Dec 27 07:05:05 foobar nmbd[3845]: 192.168.54.20 192.168.54.20 0.0.0.0 192.168.52.102 192.168.52.102 192.168.52.102 192.168.54.196 192.168.54.196 192.168.54.66 192.168.54.66 192.168.54.66 192.168.52.112 192.168.52.112 192.168.54.58 Dec 27 07:05:05 foobar nmbd[3845]: +> and: Dec 27 08:20:50 foobar smbd[4833]: [2002/12/27 08:19:38, 0] lib/access.c:check_access(333) Dec 27 08:20:50 foobar smbd[4833]: [2002/12/27 08:19:38, 0] lib/util_sock.c:get_socket_addr(958) Dec 27 08:20:50 foobar smbd[4833]: getpeername failed. Error was Transport endpoint is not connected Dec 27 08:20:50 foobar smbd[4833]: Denied connection from 0.0.0.0 (0.0.0.0) Anyway, so far I haven't had any reports of problems, but the log entries and the lack of cross-subnet browse lists make me nervous. Am I doing something wrong here? What is the significance of 0.0.0.0 (0.0.0.0)? Thanks very much, Chris -- Christopher S. Swingley email: [EMAIL PROTECTED] IARC -- Frontier Program Please use encryption. GPG key at: University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: CUPS permissions issues
That looks like it did the trick! Thanks much. Tom Tom Hallewell <[EMAIL PROTECTED]> wrote on Samba-digest > Fri Dec 27 16:04:00 2002 > > Hello- > I am running Debian Woody, Samba 2.2.7, and Cups 1.1.14-3. > I can print as any local Linux client, but there is a permissions issue when > I try to print from Windows 2000. > My spool directory is /var/spool/cups, I hope you didn't set the *Samba* spool directory the same as the *CUPS* spool directory?? > the permissions are set 700 to user > lp and group sys. If I chmod the directory to 777, printing works fine, but > when I restart cupsd, the permissions revert back to 700. > I am running Domain-level security, as well as ACLs and winbindd, not sure > if this matters. > It seems like I am missing something really simple, so am giving a simple > description now, but I can supply much more detail if needed. > > Here is the relevant stuff from smb.conf: > load printers = yes > printcap name = cups > printing = cups > > [printers] >comment = All Printers >path = /var/spool/cups Ah, yes, it seems you did. You need to understand: Samba spooling and CUPS (or any other "real" print subsystem in Unix) spooling are two different kinds of birds and need to be kept separate. When you print to Samba from a Windows client, the printfile goes to the Samba (spool) path specified in your smb.conf first, and is under control of smbd. Then, smbd, hands this file to the print daemon (here: "cupsd"), and the file moves to the spool directory of that print daemon (as determined in cupsd.conf; most likely it is also "/var/spool/cups/"). Change your [printers] entry to "path = /var/spool/samba" (and make sure this exists) and your problem will be gone. The permissions change back when cupsd is re-started, because cupsd claims an exclusive right to "its" spool directory. >writable = no >printable = yes >create mode = 0777 >use client driver = yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] WINBINDD set up problem - chgrp fails
I am setting up a RH 8 LINUX machine in my WIN2k corporate network and am having a problem changing the group of the shared directory. I am new to this and so using the instructions in "SAM Teach Yourself SAMBA". I will tell you what works first. The machine has joined the DOMAIN and can enumerate the users and groups with the "getent passwd" and "getent group" commands. When I redirect the output of those commands I see the groups and associated users. When I redirect the output of the wbinfo -u and wbinfo -g commands to files I see the 9,500 user and 32,700 groups including the two groups "DP" and "AUDIT". >From my WIN2k client I can see the LINUX SAMBA server on the network and the directory I setup in the smb.conf file on the LINUX machine named DP-WS67/CDs I want to give all members of the DP group ownership of the directory. When I enter chgrp 'HY-VEE\AUDIT' /RH1dat/CDs it works. When I enter chgrp 'Hy-VEE\DP' /RH1dat/CDs I get chgrp: invalid group name 'HY-VEE\\DP' I ran these 2 commands with strace and compared the output which I include below. I should say that I set up a LINUX user RSS1 before I installed SAMBA and joined the domain which also has a user RSS1. It's me. I am a member of the DP group but not the AUDIT group. I suspect this is causing the problem. Can anyone confirm this by looking at the difference in the strace output? Do you know how to fix it? #=== Global Settings == [global] workgroup = Hy-Vee netbios name = DP-WS67 server string = Samba Server security = domain password server = * encrypt passwords = yes winbind uid = 1000-5 winbind gid = 1000-5 template homedir = /home/%D/%U template shell = /bin/false [CDs] path = /RH1dat/CDs read only = no force group = DP force create mode= 0070 force directory mode = 0070 create mask = 0770 directory mask = 0770 chgrp for AUDIT which works OK execve("/bin/chgrp", ["chgrp", "HY-VEE\\AUDIT", "/RH1dat/CDs"], [/* 33 vars */]) = 0 uname({sys="Linux", node="DP-WS67", ...}) = 0 brk(0) = 0x804d3a8 open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=79092, ...}) = 0 old_mmap(NULL, 79092, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000 close(3)= 0 open("/lib/libacl.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \24\0\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=306366, ...}) = 0 old_mmap(NULL, 25312, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40027000 mprotect(0x4002d000, 736, PROT_NONE)= 0 old_mmap(0x4002d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0x4002d000 close(3)= 0 open("/lib/i686/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220Y\1"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=1395734, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4002e000 old_mmap(0x4200, 1239844, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4200 mprotect(0x42126000, 35620, PROT_NONE) = 0 old_mmap(0x42126000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x126000) = 0x42126000 old_mmap(0x4212b000, 15140, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4212b000 close(3)= 0 open("/lib/libattr.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\n\0"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=31051, ...}) = 0 old_mmap(NULL, 10020, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002f000 mprotect(0x40031000, 1828, PROT_NONE) = 0 old_mmap(0x40031000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40031000 close(3)= 0 munmap(0x40013000, 79092) = 0 brk(0) = 0x804d3a8 brk(0x804e3a8) = 0x804e3a8 brk(0x804f000) = 0x804f000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1830272, ...}) = 0 mmap2(NULL, 1830272, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40032000 close(3)= 0 socket(PF_UNIX, SOCK_STREAM, 0) = 3 connect(3, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory) close(3)= 0 open("/etc/nsswitch.conf", O_RDONLY)= 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1743, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000 read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1743 read(3, "", 4096) = 0 close(3)
Re: [Samba] windows to sco
Search google for skunkware and you should be able to find a pre-compiled version for SCO unix. That is where I found one for here. On Fri, 2002-12-27 at 11:46, Sundar wrote: > > Would i be able to use Samba to Use folders on SCO unix from Windows Server.when i >was trying to download samba i could not find one for SCO. > > > Sundar > > > -- Ken Schneider Senior UNIX Administrator Network Administrator [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] CUPS permissions issues
Tom Hallewell <[EMAIL PROTECTED]> wrote on Samba-digest Fri Dec 27 16:04:00 2002 Hello- I am running Debian Woody, Samba 2.2.7, and Cups 1.1.14-3. I can print as any local Linux client, but there is a permissions issue when I try to print from Windows 2000. My spool directory is /var/spool/cups, I hope you didn't set the *Samba* spool directory the same as the *CUPS* spool directory?? the permissions are set 700 to user lp and group sys. If I chmod the directory to 777, printing works fine, but when I restart cupsd, the permissions revert back to 700. I am running Domain-level security, as well as ACLs and winbindd, not sure if this matters. It seems like I am missing something really simple, so am giving a simple description now, but I can supply much more detail if needed. Here is the relevant stuff from smb.conf: load printers = yes printcap name = cups printing = cups [printers] comment = All Printers path = /var/spool/cups Ah, yes, it seems you did. You need to understand: Samba spooling and CUPS (or any other "real" print subsystem in Unix) spooling are two different kinds of birds and need to be kept separate. When you print to Samba from a Windows client, the printfile goes to the Samba (spool) path specified in your smb.conf first, and is under control of smbd. Then, smbd, hands this file to the print daemon (here: "cupsd"), and the file moves to the spool directory of that print daemon (as determined in cupsd.conf; most likely it is also "/var/spool/cups/"). Change your [printers] entry to "path = /var/spool/samba" (and make sure this exists) and your problem will be gone. The permissions change back when cupsd is re-started, because cupsd claims an exclusive right to "its" spool directory. writable = no printable = yes create mode = 0777 use client driver = yes Any help would be much appreciated. Tom Hallewell -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] windows to sco
Would i be able to use Samba to Use folders on SCO unix from Windows Server.when i was trying to download samba i could not find one for SCO. Sundar
Re: [Samba] smbclient thinks passwordless account is anonymous
On Fri, Dec 27, 2002 at 08:03:40AM -0500, Joel Hammer wrote: > Hmmm... > > I don't know much about windows. The problem likely lies in the windows > server, methinks. smbclient is taking the user personality provided by the > windows server, no? I don't think so, but... What's happening is, I'm using smbclient to connect from the linux machine to the windows machine. The account on the windows machine has no password. When I try to connect using that account, then it fails, and smbclient prints something about an anonymous login succeeding. However, if I give the account a password and try to connect, it works... no message about anonymous logon. On the surface, it _seems_ that smbclient maps an account with no password to an anonymous user. I suspect that that's probably not the case, but I'm hoping someone can tell me what the expected/intended behavior in this situation is and even how to correct it if it is indeed a problem. > I lost your first post. But, does your version of windows (98, for example), > have much of a concept of "user". I'll let you make that call. :) It's XP. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: changing passwords from win2k
Well all I assumed wrong... The problem wasn't with PAM after all. I made the following changes to my smb.conf file and the stangest thing happens. The passwords are actually changed, however, an error still appears on the windows client. I added the following line under [global] smb passwd = /usr/local/private/smbpasswd I commented out the following lines under [global] pam password change = yes passwd chat debug = yes I changed the following line under [global] passwd program = /usr/local/bin/smbpasswd %u If there are any ideas out there you help would be greatly appreciated. Jeff Meyer "Jeffrey R. Meyer" <[EMAIL PROTECTED]> wrote in message aufr26$flr$[EMAIL PROTECTED]">news:aufr26$flr$[EMAIL PROTECTED]... > I having been trouble by this for a few days now and was wondering if anyone > else has had any luck with this? > > I am currently running Samba 2.2.6pre2 on FreeBSD 4.7-RELEASE > I have successfully set up samba to be the PDC > I am unsuccessfully trying to change the passwords on the W2k box and I am > recieving the error that the user name/password are incorrect make sure the > caps lock is not on. > When I check the logs on the BSD box the following appears: > > [2002/12/26 14:49:26, 0] passdb/pampass.c:smb_pam_chauthtok(697) > PAM: Permission denied. > [2002/12/26 14:49:26, 2] passdb/pampass.c:smb_pam_error_handler(71) > smb_pam_error_handler: PAM: Password Change Failed : Permission denied > [2002/12/26 14:49:26, 0] passdb/pampass.c:smb_pam_passchange(865) > smb_pam_passchange: PAM: Password Change Failed for user root! > > I am making the uneducated assumption that my problem is not with samba but > it is with PAM? > If anyone could help me with this problem it would be greatly appreciated!!! > > Thanks, > > Jeff Meyer > > The smb.conf and pam.conf files that I am using are below. > > pam.conf > login authsufficient pam_skey.so > login authsufficient pam_opie.so > no_fake_prompts > #login authrequiredpam_opieaccess.so > login authrequisite pam_cleartext_pass_ok.so > #login authsufficient pam_kerberosIV.so > try_first_pass > #login authsufficient pam_krb5.so > try_first_pass > login authrequiredpam_unix.so > try_first_pass > login account requiredpam_unix.so > login password required pam_permit.so > login session requiredpam_permit.so > > # Same requirement for ftpd as login > ftpdauthsufficient pam_skey.so > ftpdauthsufficient pam_opie.so > no_fake_prompts > #ftpd authrequiredpam_opieaccess.so > ftpdauthrequisite pam_cleartext_pass_ok.so > #ftpd authsufficient pam_kerberosIV.so > try_first_pass > #ftpd authsufficient pam_krb5.so > try_first_pass > ftpdauthrequiredpam_unix.so > try_first_pass > > # OpenSSH with PAM support requires similar modules. The session one is > # a bit strange, though... > sshdauthsufficient pam_skey.so > sshdauthsufficient pam_opie.so > no_fake_prompts > #sshd authrequiredpam_opieaccess.so > #sshd authsufficient pam_kerberosIV.so > try_first_pass > #sshd authsufficient pam_krb5.so > try_first_pass > sshdauthrequiredpam_unix.so > try_first_pass > sshdaccount requiredpam_unix.so > sshdpassword required pam_permit.so > sshdsession requiredpam_permit.so > > # "telnetd" is for SRA authenticated telnet only. Non-SRA uses 'login' > telnetd authrequiredpam_unix.so > try_first_pass > > # Don't break startx > xserver authrequiredpam_permit.so > > # XDM is difficult; it fails or moans unless there are modules for each > # of the four management groups; auth, account, session and password. > xdm authrequiredpam_unix.so > #xdmauthsufficient pam_kerberosIV.so > try_first_pass > #xdmauthsufficient pam_krb5.so > try_first_pass > xdm account requiredpam_unix.so > try_first_pass > xdm session requiredpam_deny.so > xdm password required pam_deny.so > > # GDM (GNOME Display Manager) > gdm authrequiredpam_unix.so > #gdmauthsufficient pam_kerberosIV.so > try_first_pass > #gdmauthsufficient pam_krb5.so > try_first_pass > gdm account requiredpam_unix.so > try_first_pass > gdm session requiredpam_permit.so > gdm password required pam_deny.so > > # Mail services > imapauthrequiredpam_unix.so > try_first_pass > pop3authrequiredpam_unix.so > try_first_pass > > # If we don't match anything else, default to using getpwnam(). > other authsufficient pam_skey.so > other authrequiredpam_unix.so > try_first_pass > other account requiredpam_unix.so > try_first_pass > > samba authrequiredpam_unix.so > try_first_pass > sam
Re: [Samba] Optimizing Samba
Hi Robert. We're big ACT users and haven't noticed the type of problems that you're talking about - in any version of Samba. What size are your ACT databases - in record # and MB's? What version of Samba are you running? How are oplocks configured on your Samba PDC? Is there any difference in erformance across client platforms? How about posing a snippet of smbstatus - u ? I'm just a little curious, because the ACT package is one that we use a lot. -Sam At 10:23 AM 12/27/2002 -0500, Robert Adkins wrote: Hello All, I have put together a Samba PDC for a mixed Bag of Windows Client workstations. We have a few Windwos 9x, some Win NT 4.0 and a handful of Windows 2000 workstations. The server is operating fine as a PDC for all workstations, all the permissions are properly set and things are running mostly smoothly. There are a few things that are somewhat slow moving on the network. For example, a few users utilize ACT! 4.0 and ACT! 6.0 for contact management. Their contact Databases are located on the server, in order to keep them available if they need to change workstations and also for back-up purposes. The only issue they have is when exiting the application both versions of ACT! take an inordinate amount of time to do their shutdown. I believe that both versions reset some lock files and do a few other minor things to the datafiles during the closing process. On our old server, those applications closed down almost instantly. So, what I need is some optimization ideas in order to speed up those close writes to the ACT! DC Files. Another minor issue that I have is that sometimes in Windows Explorer, some files aren't listing properly. The files are all named numerically and normally all list in ascending order. (ie. 12319 comes first, 12320 comes second and so on...) On occasion, one or more files will show up out of order, always at the end of the file listing. (ie. The last file created and numbered is 12319, but the last file in the listing is shown as 11245.) I think that this might have to do with it being accessed by a Windows 98 First Edition system that has occasion to open some of those files. The workstation that normally creates and accesses those files is a Windows 2000 Professional workstation. Any suggestions or help is greatly appreciated. Thanks! Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] re-exporting smb mounted filesystems from Redhat linux 8.0 to Solaris 8.0
Hi, I am trying to mount the windows NT share to solaris 8.0 using Redhat 8.0 nfs. Using smbmount I mounted windows share in Linux as /home/percipia/smb. I setup Linux as NFS Server and exported /home as nfs export. [root@ldap root]# cat /etc/exports/home 192.168.1.0/255.255.255.0(ro,nohide,insecure,sync) [root@ldap root]# rpcinfo -p program vers proto port 10 2 tcp 111 portmapper 10 2 udp 111 portmapper 100024 1 udp 32768 status 100024 1 tcp 32768 status 391002 2 tcp 32769 sgi_fam 100011 1 udp 639 rquotad 100011 2 udp 639 rquotad 100011 1 tcp 642 rquotad 100011 2 tcp 642 rquotad 13 2 udp 2049 nfs 13 3 udp 2049 nfs 100021 1 udp 32787 nlockmgr 100021 3 udp 32787 nlockmgr 100021 4 udp 32787 nlockmgr 15 1 udp 32788 mountd 15 1 tcp 32815 mountd 15 2 udp 32788 mountd 15 2 tcp 32815 mountd 15 3 udp 32788 mountd 15 3 tcp 32815 mountd In Solaris, I was able to mount the Linux nfs share: bash-2.03# showmount -e 192.168.1.135export list for 192.168.1.135:/home 192.168.1.0/255.255.255.0 bash-2.03# mount 192.168.1.135:/home /tmp/mnt bash-2.03# ls /tmp/mntlost+found percipia sysadm zzz bash-2.03# ls /tmp/mnt/percipia/smb No files listing. Its not showing windows files. In the news groups, I saw the following messages ruing nfsd with --re-export option. Redhat 8.0 nfsd man page I don't see the --re-export option. Do I need to install some other NFS package?. [root@ldap root]# rpm -qa | grep -I nfsredhat-config-nfs-1.0.1-3nfs-utils-1.0.1-2 Any help to achine withis Thanks -SR New Group message: === From the Linux man-page nfsd(8): -r or --re-export Allow imported NFS file-systems to be exported. This can be used to turn a machine into an NFS mul- tiplier. Caution should be used when re-exporting loopback NFS mounts because re-entering the mount point will result in deadlock between the NFS client and the NFS server. I would like to thank everybody who has found time to share theirexpertise in this matter. After having played with 3 versions of Red HatLinux(5.1, 6.2, 7.0), recompiling from source two kernels (2.2.18, 2.4.2),experimenting with 3 versions of nfs-utils (0.1.6, 0.1.9, 0.3.1), andfinally coming back to nfs-server-2.2beta, I finally made it work! If youremember, when I had it partially working with nfs-server-2.2beta before,all I had to do is add another modification to the /etc/rc.d/init.d/nfsscript. Turns out that not only rpc.mountd daemon, but also rpc.nfsddaemon has to be started with --re-export option. It will then make thesubdirectory structure of /foo available to A as well. It was a greatexperience, and I learned a lot of new things. Again, thanks for yourhelp.
[Samba] CUPS permissions issues
Hello- I am running Debian Woody, Samba 2.2.7, and Cups 1.1.14-3. I can print as any local Linux client, but there is a permissions issue when I try to print from Windows 2000. My spool directory is /var/spool/cups, the permissions are set 700 to user lp and group sys. If I chmod the directory to 777, printing works fine, but when I restart cupsd, the permissions revert back to 700. I am running Domain-level security, as well as ACLs and winbindd, not sure if this matters. It seems like I am missing something really simple, so am giving a simple description now, but I can supply much more detail if needed. Here is the relevant stuff from smb.conf: load printers = yes printcap name = cups printing = cups [printers] comment = All Printers path = /var/spool/cups writable = no printable = yes create mode = 0777 use client driver = yes Any help would be much appreciated. Tom Hallewell -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Optimizing Samba
Hello All, I have put together a Samba PDC for a mixed Bag of Windows Client workstations. We have a few Windwos 9x, some Win NT 4.0 and a handful of Windows 2000 workstations. The server is operating fine as a PDC for all workstations, all the permissions are properly set and things are running mostly smoothly. There are a few things that are somewhat slow moving on the network. For example, a few users utilize ACT! 4.0 and ACT! 6.0 for contact management. Their contact Databases are located on the server, in order to keep them available if they need to change workstations and also for back-up purposes. The only issue they have is when exiting the application both versions of ACT! take an inordinate amount of time to do their shutdown. I believe that both versions reset some lock files and do a few other minor things to the datafiles during the closing process. On our old server, those applications closed down almost instantly. So, what I need is some optimization ideas in order to speed up those close writes to the ACT! DC Files. Another minor issue that I have is that sometimes in Windows Explorer, some files aren't listing properly. The files are all named numerically and normally all list in ascending order. (ie. 12319 comes first, 12320 comes second and so on...) On occasion, one or more files will show up out of order, always at the end of the file listing. (ie. The last file created and numbered is 12319, but the last file in the listing is shown as 11245.) I think that this might have to do with it being accessed by a Windows 98 First Edition system that has occasion to open some of those files. The workstation that normally creates and accesses those files is a Windows 2000 Professional workstation. Any suggestions or help is greatly appreciated. Thanks! Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] windows to linux printer problem
On Thu, Dec 26, 2002 at 11:52:31PM -0500, Joel Hammer wrote: > Suggestions: > 1. A driver problem. > 2. A two way communication problem. Turn off two way communication in the > printer setup on the windows client. > 3. Add > use client driver = yes >to your share definition. > 4. Monitor the interaction with tcpdump. > 5. Look in log.smbd > 6. Learn how cups works. > Ok, I chcked out the apropriate log and got the following [2002/12/27 06:43:29, 0] lib/util_sock.c:read_data(436) read_data: read failure for 4. Error = Connection reset by peer Any clues, I did a google search but it didn't seem to turn up anything I could use. Of course with me being new to this kinda samba configuration and rarely using samba at all before I probably overlooked it. Here is my smb.conf file. I configured it using swat. [global] workgroup = MSHOME server string = MSHOME LAN encrypt passwords = Yes obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* unix password sync = Yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No printing = cups [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [local] comment = The Linux network printer path = /var/spool/samba guest account = guest read only = No printable = Yes printer name = local oplocks = No -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbclient thinks passwordless account is anonymous
Hmmm... I don't know much about windows. The problem likely lies in the windows server, methinks. smbclient is taking the user personality provided by the windows server, no? I lost your first post. But, does your version of windows (98, for example), have much of a concept of "user". Joel On Thu, Dec 26, 2002 at 10:07:22PM -0800, John Tyner wrote: > I want to connect _from_ the linux box _to_ the windows box. I think the > problem is in smbclient, not samba itself. > > John > > On Thu, Dec 26, 2002 at 11:46:12PM -0500, Joel Hammer wrote: > > Try man smb.conf > > > > It explains how to set up the samba server to assign a user name to a logon with > > no password. > > eg. > > > > [global] > > guest account = ftp > > > > [cdrom1] > > comment = CDROM1 > > path = /mnt/cdrom1 > > guest ok = yes > > > > guest account can be any valid user, like root. This gets rid of all those > > pesky permissions problems. > > > > Joel > > > > > -- > 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] Backing up Windows 2000 PDC, disaster recovery
Hello, I haven't been able to find much information on this topic and maybe some of you can help. I have a Windows 2000 PDC. I'm just trying to figure out some disaster recovery procedures. What do I need to backup on this machine in order to restore another machine as the same PDC in case it fails? As far as I understand I need the user database. Where is this actually stored and can I restore a machine just by copying it back in? What about SID issues? Thanks for any help, Viraj. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Solaris Date getting changed while using samba
HI, I am Using Samba for mapping solaris to my local windows 2000 machine. Date on my solaris shows Fri Dec 27 15:16:01 GMT 2002 when I touch a file called testdate.txt on solaris, ls option shows this: -rw-r--r-- 1 animesh globalfleet 0 Dec 27 15:16 testdate.txt But When I view the same file on my won 2k machine after mapping solaris, I sea this timestamp : 12/28/2002 1:46 am against this file name. My local machine time is the same as of solaris machine. Can Anyone please help me out how to sort out this problem. Thanx in advance Animesh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited.
[Samba] windows to linux printer problem
Jerry M. Howell II wrote on Samba-digest: Message: 28 Date: Thu, 26 Dec 2002 18:07:56 -0700 From: "Jerry M. Howell II" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [Samba] windows to linux printer problem On Fri, Dec 27, 2002 at 12:24:42AM +0100, Mathias Homann wrote: You might not have a permissions problem; I have the same setup here (ok, almost, my server's a SuSE 8.0 instead of a redhat) and I had to enable the raw support in cups to be able to print from samba. locate the file named mime.types that _BELONGS TO CUPS_. dunno where redhat places it, on suse its in /etc/cups/ look for the line "application/octet-stream", most likely near the bottom of the file. make sure it isn't commented out. Thank you for trying. I just uncomented that line If you've read the comments acoompanying this entry in this file, you sure have noticed the hint to uncomment the line in "/etc/cups/mime.convs" as well? Did you do so? It's not only the file "mime.types", it is also "mime.convs" which you need to edit! restarted cups and samba but still no luck. - Jerry M. Howell II -- 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 PDC and Active direcory
Hello all, I'm using samba 2.2.7a acting as PDC on my lan (clients are only Windows 2000 Professional). All is working fine except one thing: Active Directory! I read the documentation and i saw that samba 3.0alpa21 it has support for Active directory. I downloaded this version and before start i read the docs. It seems to be not what i am looking for. I said this because for ADS support, is required the following pieces: Windows 2000 Server ^^^ Samba 3.0 Kerberos5 OpenLdap So, the conclusion is only one: I still required a Windows 2000 Server Platform. I suppose because Samba will connect to W2k Server and import from there Active directory policy. What i want is to use ONLY Windows 2000 Professional (for clients) and a Linux box for Sammba PDC and ADS. If W2k server is still required in this case the Linux and Samba become UNUSEFULL (because all things can be done using W2k server platform not only ADS policy) Can somebody tell me if exist any schema to support ADS on Samba without using a W2k Server? For example: In samba -> netlogon i have a script which sincronize time between Samba server and W2k clients. Without ADS support is necessary to login on each W2k client OS and add using Local Security Policy Editor each particular settings for an user from my domain which want to connect to this station (Time settings is allowed by default only for power users, or if i add a new group with some particular settings). This thing is verry difficult to implement if i have more then 2-3 client stations in my LAN. Can anybody tell me how can i do this job? I need to implement one global policy which will be applied (imported) to all stations located in my LAN. Thanks in advance for your help, Regards, Alex -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba