Re: samba cause kernel panic on my server !
On Wed, 25 Sep 2002, Eric Belhomme wrote: hi, I installed and configured on my GNU/linux Debian Woody the official Debian binary package of samba (2.2.3a-6). Its configuration is viewable here : http://www.ricospirit.net/phpsysinfo This server is on a workgroup with Windows 2000 Pro workstations with SP2. My problem is when I copy big files on my stockage share (more than 500Mb per file) from the win2k workstation, smbd causes a kernel panic and my server I completely crashed :( My smb.conf file is here : http://www.ricospirit.net/temp/smb.conf.txt And my system log is here : http://www.ricospirit.net/temp/crash.txt I have no idea about the cause, so I hope someone here will be able to give me some pointer... Eric, If you are using an official debuian package on an official debian, you probably get more response by querying one of the debian user/admin lists. There are no known issues in Samba that cause a Linux kernel panic. However, you might want to try the 2.2.5 Samba release since it is the latest stable source distribution. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sams Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca--
Re: samba cause kernel panic on my server !
On Wed, Sep 25, 2002 at 11:37:12AM -0500, Eloy A. Paris wrote: We are not aware of any problems in the Debian Samba packages that could cause a kernel Oops. And I don't see how smbd could cause a kernel Oops. Maybe there is a kernel bug here? What kernel version are you running? Maybe Vorlon has some suggestions. Vorlon? Definitely a kernel bug or a hardware bug. I would suggest upgrading to the latest kernel in whichever (2.2,2.4) series you're running, if you haven't already done so, and seeing if that fixes the problem. If it doesn't, you probably need to talk to the Linux kernel developers about this, or perhaps try to test it on a different set of hardware. Steve Langasek postmodern programmer On Wed, Sep 25, 2002 at 02:41:30PM +, Eric Belhomme wrote: hi, I installed and configured on my GNU/linux Debian Woody the official Debian binary package of samba (2.2.3a-6). Its configuration is viewable here : http://www.ricospirit.net/phpsysinfo This server is on a workgroup with Windows 2000 Pro workstations with SP2. My problem is when I copy big files on my stockage share (more than 500Mb per file) from the win2k workstation, smbd causes a kernel panic and my server I completely crashed :( My smb.conf file is here : http://www.ricospirit.net/temp/smb.conf.txt And my system log is here : http://www.ricospirit.net/temp/crash.txt I have no idea about the cause, so I hope someone here will be able to give me some pointer... Best regards, msg00103/pgp0.pgp Description: PGP signature
[Samba] Windows 95/98 will not connect to Samba 2.2.5 please help
Hi, we have several Solaris 8 file print servers running Samba 2.0.6 I know this is quite an old version, so we upgraded one of them to 2.2.5 recently. Now, all the Win 98 95 clients cannot connect to the upgraded server (incorrect password for Server/IPC$) However Win NT, 2000 seem to connect to the new server just fine. The 95/98 clients can still connect ok to the other samba servers that we have not upgraded. The conf file on the new Samba is basically identical to the old conf file. Has anyone got a solution to this problem? Any advice welcome. Thanks -peter. Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or National Transport Secretariat, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] (no subject)
Hi, I alreadied install samba but I want to recompile it for supporting ldap (./configure --with-ldapsam).How to do that?Thank you.Get a bigger mailbox -- choose a size that fits your needs.
AW: AW: [Samba] duplex settings [ was Re: parsing fix for spoolss s amba-2.2.5]
Hello Jerry Of course, here the Details: Samba2.2.6pre2 is running on a Sun Sparc Solaris 8 machine as standalone. I am testing with an lj4050tn printer by using both postscript and PCL drivers (HP drivers). All the Driver download and Printer configuration (duplex,trays...) from a Win2000Pro works no problem. After the driver has been downloaded and the printer properties has configured (with duplex unit and 3 trays), I go to the printer properties via the Printers section in control panel on the windows2000 clients as Administrator - All the settings I applied to samba before are correctly set (duplex, 3 trays). However, as regular users these settings are not correctly set. (Only default settings: no duplex, only 2 trays) When I select the properties for the printer in any application like text pad, word, IE... (As Administrator or regular User) All the printer properties (duplex/trays) I applied to samba before were not there. (Only standard settings with no duplex and 2 trays are available) At the moment, when I chose the printer from the application, log.smbd (level 2) says: [2002/09/03 09:36:58, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. It seems, that the problem is some how under certain circumstances still there. But what and when? Thanks a lot in advance for any help. Best regards, Khiem --- Our smb.conf # Global parameters [global] template homedir = /export/home/%U domain master = False password server = XXX,XXX preferred master = False encrypt passwords = Yes printer admin = @XXX+Domain Admins winbind uid = 1-2 server string = Server Backup (Samba 2.2.5) workgroup = XXX update encrypted = Yes template shell = /usr/bin/bash winbind use default domain = Yes netbios name = SERVER-BACKUP local master = No security = DOMAIN wins server = XXX log level = 2 admin users = @XXX+Domain Admins winbind separator = + name resolve order = wins lmhosts bcast host public = yes winbind gid = 1-2 [homes] comment = Home Dir read only = No browseable = No [print$] comment = Printer Drivers path = /usr/local/samba/printers write list = @XXX+Domain Admins guest ok = Yes [lasinf1] comment = test1 path = /tmp guest ok = Yes printable = Yes printer name = lasinf1 -Ursprüngliche Nachricht- Von: Gerald Carter [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 24. September 2002 23:32 An: Quach Van Khiem Cc: '[EMAIL PROTECTED]' Betreff: Re: AW: [Samba] duplex settings [ was Re: parsing fix for spoolss s amba-2.2.5] On Tue, 24 Sep 2002, Quach Van Khiem wrote: We are using samba2.2.6pre2 and still have the problem with the printer duplex/tray settings like in samba2.2.5 (although the duplex/tray options are configured on samba, they are not correctly set to w2k clients) This should be fixed. Forgive me if I'm a little skeptic, but can you provide some more details? 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] Multiple NT users on a single box
I have a win2000 box for multiple users. Each user has their own user name and password which is authenticated on the same box. I also have a Linux/Samba box serving up files and shared directories. The users and passwords are duplicated on the linux box - I'm not using user/pass synchronization or anything like that, I just duplicate the effort (for now). Each winNT user has a drive mapped to their home directory. Therefore, Fred has H:\ mapped to the linux /home/fred/samba share, and Russel has H:\ mapped to the linux /home/russel/samba share (remember is is all on the same box). However, when Fred logs off, and Russel logs on, Russel is able to browse through the network neighborhood and see Freds share. It seems as though once Fred has logged in, his share is still browsable even after he has logged off from the winNT box and another user has logged in (to the same box). How do I prevent this? __ 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] Client errors
On a network we see sometimes this error in the logfile: read_data: read failure for 4. Error = No route to host We think we have to interpret this failure as a network failure: the client can't communicate with the SMB server within a reasonable time. It this correct and are there other reasons why this error may occur? Met vriendelijke groet/Regards Prompt R.J. Baart Marktveldpassage 35c 5261ED Vught tel: +31 73 6567041 mailto:[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] samba ssh
Dienstag den 24.09.2002 um 18:09 CEST +0200, schrieb Elijah Chancey: I've got a situation where my webdesigners (win2k) are located on a different subnet (and location) than the samba server. I need a way of using a local (to the webdesigners) machine (linux) to use SSH and port forward to the remote samba server. How does one go about doing such a thing? Give OpenVPN a try: http://openvpn.sourceforge.net Based on openssl and easy to maintain. -- 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] CUPS / SAMBA / HP930C / WINDOWS CLIENTS!
Major bug in samba.Replace -P %p in the print command with the absolute path to the printer. Let me hear how it goes. --- Rodrigo Sirio Coelho [EMAIL PROTECTED] skrev: Server Samba 2.2.5! Printing = cups! Printing local all OK! the printer is atached in a Print Server (PLANET) on IP 192.168.0.8. The cups is using LPD to print local! the another 2 printers atached on the print server and mapped on CUPS are all working good! the hp930c is only working local(on the linux), when printing from windows 98, the server gives a error message gis-01 (192.168.0.51) connect to service hp930c as user xico (uid=500, gid=104) (pid 19088) [2002/09/24 19:01:54, 0] printing/print_cups.c:cups_job_submit(655) Unable to print file to hp930c - client-error-document-format-not-supported [2002/09/24 19:05:36, 1] smbd/service.c:close_cnum(681) gis-01 (192.168.0.51) closed connection to service hp930c Anyone knows what is this??? ! :) Thank you __ Se den nye Yahoo! Mail på http://no.yahoo.com/ Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Fwd: Re: [Samba] Windows 95/98 will not connect to Samba 2.2.5 please help
--- linux power [EMAIL PROTECTED] skrev: Dato: Wed, 25 Sep 2002 10:26:33 +0200 (CEST) Fra: linux power [EMAIL PROTECTED] Tema: Re: [Samba] Windows 95/98 will not connect to Samba 2.2.5 please help Til: [EMAIL PROTECTED] Can you connect as root.Usually u get this error message when the user/passwd pairs are not equal for samba windoze and linux server. --- [EMAIL PROTECTED] skrev: Hi, we have several Solaris 8 file print servers running Samba 2.0.6 I know this is quite an old version, so we upgraded one of them to 2.2.5 recently. Now, all the Win 98 95 clients cannot connect to the upgraded server (incorrect password for Server/IPC$) However Win NT, 2000 seem to connect to the new server just fine. The 95/98 clients can still connect ok to the other samba servers that we have not upgraded. The conf file on the new Samba is basically identical to the old conf file. Has anyone got a solution to this problem? Any advice welcome. Thanks -peter. Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or National Transport Secretariat, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba __ Se den nye Yahoo! Mail på http://no.yahoo.com/ Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok __ Se den nye Yahoo! Mail på http://no.yahoo.com/ Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbd process with high cpu utilization.
One of my smbd processes used 100% cpu. I straced the process and the output follows: washington:~# strace -p 3416 fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 sendto(12, \3\0X\r\0\0\0\0\0\0\0\0\0\'\374\f\0\0\0\0\0\16\0\0\0, 26, 0, {sin_family=AF_INET, sin_port=htons(41373), sin_addr=inet_addr(127.0.0.1)}}, 16) = 26 fcntl64(13, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 kill(3382, SIG_0) = 0 fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 sendto(12, \3\0X\r\0\0\0\0\0\0\0\0\0\'\374\f\0\0\0\0\0\16\0\0\0, 26, 0, {sin_family=AF_INET, sin_port=htons(41373), sin_addr=inet_addr(127.0.0.1)}}, 16) = 26 fcntl64(13, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 kill(3382, SIG_0) = 0 fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 sendto(12, \3\0X\r\0\0\0\0\0\0\0\0\0\'\374\f\0\0\0\0\0\16\0\0\0, 26, 0, {sin_family=AF_INET, sin_port=htons(41373), sin_addr=inet_addr(127.0.0.1)}}, 16) = 26 fcntl64(13, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 kill(3382, SIG_0) = 0 fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 sendto(12, \3\0X\r\0\0\0\0\0\0\0\0\0\'\374\f\0\0\0\0\0\16\0\0\0, 26, 0, {sin_family=AF_INET, sin_port=htons(41373), sin_addr=inet_addr(127.0.0.1)}}, 16) = 26 fcntl64(13, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 kill(3382, SIG_0) = 0 fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 sendto(12, \3\0X\r\0\0\0\0\0\0\0\0\0\'\374\f\0\0\0\0\0\16\0\0\0, 26, 0, {sin_family=AF_INET, sin_port=htons(41373), sin_addr=inet_addr(127.0.0.1)}}, 16) = 26 fcntl64(13, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 kill(3382, SIG_0) = 0 fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 sendto(12, \3\0X\r\0\0\0\0\0\0\0\0\0\'\374\f\0\0\0\0\0\16\0\0\0, 26, 0, {sin_family=AF_INET, sin_port=htons(41373), sin_addr=inet_addr(127.0.0.1)}}, 16) = 26 fcntl64(13, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 kill(3382, SIG_0) = 0 fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 sendto(12, \3\0X\r\0\0\0\0\0\0\0\0\0\'\374\f\0\0\0\0\0\16\0\0\0, 26, 0, {sin_family=AF_INET, sin_port=htons(41373), sin_addr=inet_addr(127.0.0.1)}}, 16) = 26 fcntl64(13, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 Then comes the interesting part: The process with 100% cpu utilization (pid 3416) is owned by UID 23347 while the process it tries to kill (pid 3382) is owned by UID 21194. Both users are connected from the same TS. We are running samba 2.2.5 using windows 2k DC for authentication with security=domain. The server is running linux 2.4.18. Is there anyone who has experienced something similar or who perhaps might know what causes this problem? -- Magnus Nordseth echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Domain name contains '(' and ')'
I am using NT Server as my PDC, and Samba 2.2.5 as my file server. The Samba joined a domain called DM(CN) successfully and see in the network neighborhood. When I click on the Samba, it ask me username and password. Using the same configuration, I try to join another domain called DM_CN, it works fine. Do samba support domain name contains '(' or ')'? Best regards, Jesse __ Scott Wilson Ltd celebrates its 50th year in Hong Kong! This e-mail and any attachments to it are intended only for the party to whom they are addressed. They may contain privileged and/or confidential information. If you have received this transmission in error please notify the sender immediately and delete any digital copies and destroy any paper copies. Thank you. Scott Wilson accepts no contractual liabilities or commitments arising from this e-mail unless subsequently confirmed by fax or letter or as an e-mail attachment giving company name, address, registration number and authorized signatory. __ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Roaming profiles problem
Hi, I have the following problem: I made a PDC controler using samba-2.2.5 (Slackware 8.1)and almost everything works fine - I can login onto a Worksations (Win2k) and profiles are updated but when I log-off from Workstation still have a copy of the profile on Workstation and furthermore even being local Administrator on W2k box I can't delete taht local profile copy- it says sth like that: Can not delete files. Files mayby in use I'm just wonder wheather it is Windows problem or Samba configure problem? Could anybody can help me? Cheers, Richard -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbd process with high cpu utilization.
Magnus Nordseth: One of my smbd processes used 100% cpu. I straced the process and the output follows: [Snip] I work for the same company as Magnus. Later we found several other instances that used up all the cpu. In total the user 'sydnes' had 6 process running. Stracing one of them yielded: kill(5663, SIG_0) = 0 kill(5532, SIG_0) = 0 fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=496, len=1}, 0xbfffefa0) = 0 fcntl64(13, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=496, len=1}, 0xbfffefa0) = 0 repeated over and over again. However smbstatus | grep 5532 yielded: larswist larswist iikt_s1 5532 ts-intro12 (129.241.107.172) Wed Sep 25 11:03:09 2002 groh groh tall_s3 5532 ts-intro12 (129.241.107.172) Wed Sep 25 11:01:50 2002 www sveinelo tall_s1 5532 ts-intro12 (129.241.107.172) Wed Sep 25 11:03:09 2002 www sydnes kall_s5532 ts-intro12 (129.241.107.172) Wed Sep 25 11:01:51 2002 sydnes sydnes kall_s5532 ts-intro12 (129.241.107.172) Wed Sep 25 11:03:09 2002 www skuncke fidi_s5532 ts-intro12 (129.241.107.172) Wed Sep 25 11:01:51 2002 reinas reinas fall_s5532 ts-intro12 (129.241.107.172) Wed Sep 25 11:01:51 2002 www sigrunm gall_s5532 ts-intro12 (129.241.107.172) Wed Sep 25 11:01:50 2002 www michelh fidi_s5532 ts-intro12 (129.241.107.172) Wed Sep 25 11:01:50 2002 5532 DENY_NONE 0x20089 RDONLY LEVEL_II /local/www.stud.users/sydnes/oving4/teori.jsp Wed Sep 25 11:01:51 2002 Note that ts-intro12 is a terminal server running w2k. But I could not find the process with ps. Any help regarding what might be wrong, would be much appreciated. Thanks in advance! -- Marius Grannæs I see fragged people. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows 95/98 will not connect to Samba 2.2.5 please help
Is the an encrypt password problem? Joel On Wed, Sep 25, 2002 at 05:02:36PM +1000, [EMAIL PROTECTED] wrote: Hi, we have several Solaris 8 file print servers running Samba 2.0.6 I know this is quite an old version, so we upgraded one of them to 2.2.5 recently. Now, all the Win 98 95 clients cannot connect to the upgraded server (incorrect password for Server/IPC$) However Win NT, 2000 seem to connect to the new server just fine. The 95/98 clients can still connect ok to the other samba servers that we have not upgraded. The conf file on the new Samba is basically identical to the old conf file. Has anyone got a solution to this problem? Any advice welcome. Thanks -peter. Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or National Transport Secretariat, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. -- 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] Slow browsing windows shares from linux/samba
Hello all I have been searching around the internet and even used the searchable samaba mailing list archive. It seems I have a rare case of where my problem is reversed to the common slow samba problem. My problem is this: I have a network of 3 PCs, one Linux 2 Windows XP. They are connected via a hardware router (switched) on the 190.190.1.0 network. On the linuxbox I have a collection of files that I want to access via the Windows PCs. This works fine, even fast (thanks to socket options). But now, if I want to browse the Windows PCs from Linux it takes ages to do so. I can get the listing of available shares via Linneighborhood real quick. Mounting works flawlessy. Then I open the mountpoint and it takes between 30secs to 4 minutes to open the share and display its contents. I noticed that if I am very fast and have a filebrowser ready, that after mounting the share I can browse at realtime speed for about 2 secs. After that the above behavior takes place, and even a directorylisting for a share with only 2 files takes 30 secs. This is true for both Windows XP PCs. Why does it work fine in the direction Windows-Linux but is horribly slow from Linux-Windows? Any help would be appreciated. Here is my smb.conf: # Samba config file created using SWAT # from debian.linxhome (190.190.1.25) # Date: 2002/09/24 21:35:17 # Global parameters [global] workgroup = ARBEITSGRUPPE netbios name = DEBIAN guest account = pcguest log level = 3 log file = /usr/local/samba/log.%m change notify timeout = 120 paranoid server security = No read size = 32768 socket options = TCP_NODELAY, IPTOS_LOWDELAY, SO_SNDBUF 8192, SO_RCVBUF 8192 hostname lookups = Yes os level = 33 wins support = Yes username = benjamin hosts allow = 190.190.1.0/255.255.255.0 [homes] comment = Home Directories read only = No create mask = 0750 browseable = No [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable = No [bilder] comment = Bilder path = /home/benjamin//Bilder valid users = benjamin read only = No -- Benjamin Weber -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is nmbd running?
I would really suggest you use swat only for reading documentation easily and use vi to edit smb.conf and run the scripts manually. You'll never learn to troubleshoot things if you don't. Even for documentation, I find man smb.conf faster and easier to use than swat. Get out of the GUI habit as fast as you can. Now, for your problem. What does ps ax | grep mbd show? Find your startup scripts. I don't know where suse puts them, and start these things by hand. Here is all I need to get my daemons running. I suspect your script is more complicated, needlessly IMHO. Your paths may be different. #!/bin/bash case $1 in start) killall smbd killall nmbd /usr/local/samba/bin/smbd -D /usr/local/samba/bin/nmbd -D ;; stop) killall smbd killall nmbd ;; reload) kill -SIGHUP `cat /usr/local/samba/var/locks/smbd.pid` kill -SIGHUP `cat /usr/local/samba/var/locks/nmbd.pid` ;; *) echo Usage: echo start stop reload ;; esac exit 0 Joel On Wed, Sep 25, 2002 at 04:00:05PM +1000, John Blue wrote: I am using Suse V8 with KDE3 and running Samba 2.2.3a, and very much feeling my way as I get into Linux. Using Swat I checked Status and it said smbd running, nmbd not running. If I use KDE process table I can see nmbd as PID 714 and smbd as PID 719. I cannot start or restart nmbd from Swat ? Any clues as to what the problem is here? John This email has been pre-scanned using the latest Anti Virus software for your peace of mind. Please remember to maintain your own anti virus up to date with the latest reference files. -- To unsubscribe from this list go to the following URL and read the instruction -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is nmbd running?
Hi On Wednesday 25 September 2002 08:00, John Blue wrote: I am using Suse V8 with KDE3 and running Samba 2.2.3a, and very much feeling my way as I get into Linux. Using Swat I checked Status and it said smbd running, nmbd not running. If I use KDE process table I can see nmbd as PID 714 and smbd as PID 719. I cannot start or restart nmbd from Swat ? What do you mean exactly? What does the status-folder of swat look like? How did you start smbd and nmbd? greetings Axel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is nmbd running?
On Wednesday 25 September 2002 10:48 am, Axel Heinrici wrote: Hi On Wednesday 25 September 2002 08:00, John Blue wrote: I am using Suse V8 with KDE3 and running Samba 2.2.3a, and very much feeling my way as I get into Linux. Using Swat I checked Status and it said smbd running, nmbd not running. If I use KDE process table I can see nmbd as PID 714 and smbd as PID 719. I cannot start or restart nmbd from Swat ? What do you mean exactly? What does the status-folder of swat look like? How did you start smbd and nmbd? If it started from init.d try this : /etc/init.d/smb status I don't have samba running for instance and I get this : jupiter:~ # /etc/init.d/smb status Checking for SAMBA nmbdunused Checking for SAMBA smbdunused jupiter:~ # Hope that helps. -- 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
Re: [Samba] hi
On Monday 23 September 2002 9:52 pm, Jovert Sumagang wrote: My name is jovert and i really want to know about samba. I have SuSe operating System on my computer and i want to set up a peer to peer network using Suse and Microsoft. I have been asking people around and they told me that i need to install samba. But, i dont know what samba is? Or im just wondering if it is already in Suse operating system one of those CD. Please email me right away .if you can. @ [EMAIL PROTECTED] jovert s If you want to check what packages you ahve installed, you can use rpm : rpm -qa This will query the RPM database and show you everything obviously your not that interested in everything, so you want to filter out some sort of search pattern, in this case samba. grep is a pattern matching program, so in the UNIX tradition, you can piece different programs together to get the result you want : rpm -qa | grep samba If this returns something like samba-2.2.0a-0 then you have samba installed! If not, use YaST2 to install the samba packages. Check out the man pages used here, with man rpm man grep and man samba. As regards to setting up your network read : http://samba.mirror.ac.uk/samba/docs/Samba-HOWTO-Collection.html Make backups of the original files before you alter them incase you mess-up totally, have a go at configuring yourself, and if you can't ask again here. Hope thats enough information for you to be getting on with. -- 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
Re: [Samba] Is nmbd running?
Hi Axel, Hi On Wednesday 25 September 2002 08:00, John Blue wrote: I am using Suse V8 with KDE3 and running Samba 2.2.3a, and very much feeling my way as I get into Linux. Using Swat I checked Status and it said smbd running, nmbd not running. If I use KDE process table I can see nmbd as PID 714 and smbd as PID 719. I cannot start or restart nmbd from Swat ? What do you mean exactly? What does the status-folder of swat look like? How did you start smbd and nmbd? It seems that I have indirectly resolved my problem. I had an error in the interfaces in smb.conf and through switching to root and modifying this then stopping and restarting smbd nmbd all works again. Thanks for taking the time to respond. John greetings Axel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba This email has been pre-scanned using the latest Anti Virus software for your peace of mind. Please remember to maintain your own anti virus up to date with the latest reference files. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is nmbd running?
Hi Andrew, Thanks for the advice. All seems OK now after some changes I had to make to smb.conf and then a stop restart of smbd nmbd. I appreciate you taking the time to respond. John On Wednesday 25 September 2002 10:48 am, Axel Heinrici wrote: Hi On Wednesday 25 September 2002 08:00, John Blue wrote: I am using Suse V8 with KDE3 and running Samba 2.2.3a, and very much feeling my way as I get into Linux. Using Swat I checked Status and it said smbd running, nmbd not running. If I use KDE process table I can see nmbd as PID 714 and smbd as PID 719. I cannot start or restart nmbd from Swat ? What do you mean exactly? What does the status-folder of swat look like? How did you start smbd and nmbd? If it started from init.d try this : /etc/init.d/smb status I don't have samba running for instance and I get this : jupiter:~ # /etc/init.d/smb status Checking for SAMBA nmbd unused Checking for SAMBA smbd unused jupiter:~ # Hope that helps. -- 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 This email has been pre-scanned using the latest Anti Virus software for your peace of mind. Please remember to maintain your own anti virus up to date with the latest reference files. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Wierdness using Samba PDC with WinXP-Pro and Win2K-Pro clients
On Tuesday 24 September 2002 14:42, Kenneth Illingsworth wrote: See if the following Q article helps: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q259716 Thanks for the reply, Ken. I read the article on enabling or disabling disk write caching. I'm not sure if you meant that I should try enabling or disabling disk write caching on one or both of the clients, or if you meant that I should try experimenting with disk write caching on the samba server. Maybe you meant that I should try everything related to disk write caching? In any case, I did try experimenting with disk write caching on the server by trying both Boolean values for the samba tuning options, strict sync and sync always. As expected, the application slowed way down when these options were set to yes, but otherwise, there was no change in the wierdness I mentioned in my original post. It is still the case that if I start the database application on the WinXP Pro client first and then start it on the Win2K client subsequently, the app running on the XP client crashes with the next operation that I attempt. I also tried disabling disk write caching on the XP client and on the 2K client (each has only one local disk). I didn't expect this to affect anything because it is the network file system offered up by the samba server where all of the reads and writes are taking place, but I tried it anyway. No change in the wierdness, so I returned disk write caching to enabled on both clients. If anyone has any other ideas for solving the problem, I would really appreciate hearing them! Regards, Joe -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printer settings problem 2.2.6pre2
I am trying to apply some settings to a printer shared by Samba, including installing the drivers. I notice that I must be in printer admin or be root in order to do this, and I am. The logs say that I'm logged in as admin user (root privileges) which I assume is correct. I go into properties, click no when it asks me if I want to install drivers, and then go to New Driver and install one. The driver copies fine to the Samba server, but as soon as I click OK or Apply, I get Printer settings could not be saved. Access is Denied. Now, I'm running an LDAP server for a current working domain in which all printer stuff works without Access Denied errors, and I am using that server to serve all the user stuff to this 2.2.6 server. I am using the same smb.conf as well, apart from domain logons = no in the 2.2.6 one. I have tried deleting all the printer related tdb files and restarting Samba but I just get the same error. My thought is that it's a simple file permission I've missed, because it uploads the drivers without a problem, but I can't seem to find it! Anyone got any suggestions? Phil. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Active Directory causes bad response times
Hi, We have an Active Directory domain and use Sun/Solaris file servers with Samba 2.2.2. We use security = DOMAIN. From time to time, Windows users complain about bad response times. We have checked the traffic with a sniffer and have discovered that the delays take place when the Samba server calls the domain controller for user authentication. Samba gets the response, Invalid username or password, waits 10-15 secs, then asks again. At the end the authentication is given. Any ideas what to do? Best regards, Alex Alexander Karnovsky, D.Sc. Application and System Manager CASE Department ELTA Electronics Industries Ltd. P.O.Box 330, Ashdod 77102, Israel Voice: +972-8-857-7135, Fax: +972-8-857-2746 E-mail: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Permanent Samba Network Drive Logon
Buddies, maybe this question has been posted. I have windows 2000 installed in my PC. I mapped a Network Drive from a Linux Machine and I want this virtual drive to be connected automatically at logon. The problem is that every time I boot my PC, W2000 ask me for connection password. Why W2000 does not remember samba drives passwords and it yes does remember Windows shares passwords? Is there any way to prevent this password asking? Thanks a lot Claudio PiresDesarrollo de Software de GestiónDepartamento de Desarrollo de SoftwareNEC ARGENTINAAv. San Martín 5020 - (B1604CDY) FloridaProvincia de Buenos Aires - República ArgentinaTel: (54-11) 4730-6000 (Conm.) - (54-11) 4730-6072 (Directo)Fax: (54-11) 4730-6060E-mail: [EMAIL PROTECTED]http://www.nec.com.ar/
[Samba] Max length of hosts allow param
Hi, What is max length of host allow param ? My Samba 2.2.5 cut off configuration string. How can I make longer this param ? Thank's. Best regards, Alexandr Chiberev, Project Manager, JSC Vimcom Optic TS www.vimcom.ru Tel. +7 (095) 737-3757 Fax. +7 (095) 737-3755 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Unable to map SID to uid or gid...
Hi. I have a problem with mapping SIDs to uids in Samba 2.2.6pre2. I am using Mandrake linux 8.2 with acls, and samba acting as PDC on my local net. My problem is what when I viewing permissions on my test WinXP box, it shows to me SIDs, but not a user or group, and of cource everyone... For example, I created user test on my linux box and added him to smbpasswd. Then, when I logon to windows, and trying to view permissions on my share, it shows to me only SIDs... What I'm doing wrong? This is my smb.conf file: [global] workgroup = TESTPDC netbios name = test1 server string = Netfinity3000 encrypt passwords = Yes pam password change = no unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *all*authentication*tokens*updated*successfully* log file = /var/log/samba/%m.log log level = 1 max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain logons = Yes os level = 80 preferred master = True domain master = True dns proxy = No wins support = Yes time server = yes dos filetimes = yes fake directory create times = yes dos filetime resolution = yes delete readonly = yes printing = lprng logon home = \\%L\%U logon drive = H: logon path = \\%L\profiles\%U logon script = %m.bat map archive = yes map system = yes map hidden = yes create mask = 0777 force create mode = 00 security mask = 0777 force security mode = 00 directory mask = 0777 force directory mode = 00 directory security mask = 0777 force directory security mode = 00 map to guest = bad user username map = /etc/samba/smbusers hide local users = yes hide files = /desktop.ini/Thumbs.db/ inherit permissions = yes inherit acls = yes nt acl support = yes client code page = 866 character set = koi8-r add user script = /etc/samba/scripts/pc_add %m delete user script = /etc/samba/scripts/pc_del %m domain admin group = root,admins [homes] comment = %u's home directory read only = No browseable = No [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon guest ok = Yes root preexec = /etc/samba/scripts/logon.sh %N %u %m root postexec = /etc/samba/scripts/logout.sh %N %u %m [profiles] path = /var/lib/samba/profiles writeable = yes browseable = no guest ok = yes root preexec = /etc/samba/scripts/profilecheck.sh %N %u [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [CD-ROM] comment = CDROM drive on %N path = /mnt/cdrom read only = yes browseable = yes [public] path = /mnt/files/public read only = No guest ok = Yes [resource] path = /mnt/files/resource writeable = yes browseable = yes guest ok = yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] looping logins
I first sent a message about this problem 8 days ago, but have still not resolved it. However, I now have a much clearer idea of what is happening, so can provide a better description. We have a SAMBA_2_2_5 PDC (using LDAP) with dozens of XP PCs as members of the domain. This all seems to work OK as such. We also have on the same network loads of XP PCs which are not members of the domain, but are just members of various workgroups. Our problem is that there are times when (so it seems to me) some of these non-domain PCs are thrashing away trying to get at the IPC$ share on one or more of the PCs which are members of SAMBA's domain. I have used a sniffer on the network connection of a domain member while this is happening (this PC was sitting on the XP login window at the time). This is the sequence of packets to/from the PC: From non-domain PC: SMB command 73 (Setup Account AndX) To non-domain PC: SMB response to 73 with status code C016 From non-domain PC: SMB command 73 (Setup Account AndX) To SAMBA PDC: SMB command 2F (Write AndX) (containing username of user logged in on non-domain PC.) From SAMBA PDC: SMB response to 2F with status code 0 (OK) To SAMBA PDC: SMB command 2E (Read AndX) (no sign of username in this packet) From SAMBA PDC: SMB response to 2E with status code 0 (OK) To non-domain PC: SMB response to 73 with status code 0 (OK) From non-domain PC: SMB command 75 (Tree connect to \\DomainPC\IPC$) To non-domain PC: SMB response to 75 with status code C35C The whole of the above continues ad infinitum. Note that the user of the non-domain PC is logged in with a username and password which is valid on the SAMBA domain. It seems to me that the non-domain PC is trying to connect to the IPC$ share on the domain PC. That machine is asking the PDC to authenticate the request, which it does. However the connection to the share is then being rejected with a code of C35C. Instead of accepting this rejection, the non-domain PC is immediately trying again. Can anyone explain this please? If so, how can I stop it? The continuous requests for authentication are driving the PDC and LDAP into the ground! Can anyone tell me what status code C35C means? We really have to get this sorted out before our students start next week!! Any help will be very much appreciated. Phil. --- Phil Chambers ([EMAIL PROTECTED]) University of Exeter -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: RE: [Samba] odd: everything SHOULD work... winbind
Restarting winbind didn't change things at all... I honestly have no idea what caused it, but I rejoined my server to the domain with smbpasswd, and the problems dissappeared. Go figure. [EMAIL PROTECTED] writes: I've seen a similar problem to that when running winbind... Try restarting winbind? I'm starting to have a feeling that if the machine password is reset by nmbd, winbindd never finds out. Anyone have any comments to that regard? I'm trying to reproduce the problem in a controlled environment right now, but have yet to see it again. Nir. -- Nir Soffer -=- Software Engineer, Exanet Inc. -=- Father, why are all the children weeping? / They are merely crying son O, are they merely crying, father? / Yes, true weeping is yet to come -- Nick Cave and the Bad Seeds, The Weeping Song -Original Message- From: David Leuser II [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 21, 2002 12:04 AM To: [EMAIL PROTECTED] Subject: [Samba] odd: everything SHOULD work... winbind Hi all, i had everything samba working PERFECT a few days ago, meantime something has changed or something i've changed, i know not what, is causing me to not be able to authenticate domain users... it just plain doesn't work. i haven't changed anything in /etc/pam.d/, but i checked on it and everything there is still ok wbinfo -u lists all the users just swell. One wierd thing i noticed (beside the problem), if i do ps -aux | grep winbind winbind doesn't show, but if i just ps -aux it IS in THAT list... i was messing around with red hats print manager utility (which somehow is supposed to use samba's smbclient, didn't work btw)... i don't know if that broke something? any ideas? thanks David M. Leuser, II Assistant Network Administrator New Hampton School (603) 744-3182 x121 [EMAIL PROTECTED] Picture the root account as a magic hat that gives you lots of power, with which you can, by waving your hands, create or destroy entire cities. Because it is easy to wave your hands in a destructive manner, it is not a good idea to wear the magic hat when it is not needed, despite the wonderful feeling. -- Gnome User's Guide -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba David M. Leuser, II Assistant Network Administrator New Hampton School (603) 744-3182 x121 [EMAIL PROTECTED] Picture the root account as a magic hat that gives you lots of power, with which you can, by waving your hands, create or destroy entire cities. Because it is easy to wave your hands in a destructive manner, it is not a good idea to wear the magic hat when it is not needed, despite the wonderful feeling. -- Gnome User's Guide -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] WinXP-SP1 breaks profiles...
Just thought you'd like to know that SP1 for Windows XP breaks romaing profiles up to and including 2.2.5. This has been confirmed by MIT at the following link: http://web.mit.edu/swrt/winxp/ See the section Software Compatiblity Test Matix/Testing SP1 We have found this to be the case as well I'm cross-posting this to samba-technical as wellwe will work on some traces for you guys Some (maybe) helpful messages when logging on are: The data area passed to a system call is too small The system cannot find the path specified Bill -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Multiple NT users on a single box
Each winNT user has a drive mapped to their home directory. Therefore, Fred has H:\ mapped to the linux /home/fred/samba share, and Russel has H:\ mapped to the linux /home/russel/samba share (remember is is all on the same box). However, when Fred logs off, and Russel logs on, Russel is able to browse through the network neighborhood and see Freds share. It seems as though once Fred has logged in, his share is still browsable even after he has logged off from the winNT box and another user has logged in (to the same box). How do I prevent this? In your smb.conf under the [homes] def add valid users = %S This should make sure that only the user can see there home share. I also add browseable = No Because I map h: to home with the login script. This way they can't see one another shares, so they will not get errors. Hope this helps. Mailed Lee -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: WinXP-SP1 breaks profiles...
I posted this a while ago... there was a fix just posted to HEAD you can get around the problem with a client change in gpedit.msc (search the archive i don't remember exactly what it was) brad On Wed, 2002-09-25 at 10:22, William Jojo wrote: Just thought you'd like to know that SP1 for Windows XP breaks romaing profiles up to and including 2.2.5. This has been confirmed by MIT at the following link: http://web.mit.edu/swrt/winxp/ See the section Software Compatiblity Test Matix/Testing SP1 We have found this to be the case as well I'm cross-posting this to samba-technical as wellwe will work on some traces for you guys Some (maybe) helpful messages when logging on are: The data area passed to a system call is too small The system cannot find the path specified Bill -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Roaming profiles problem
Ryszard Hodiak wrote: I have the following problem: I made a PDC controler using samba-2.2.5 (Slackware 8.1)and almost everything works fine - I can login onto a Worksations (Win2k) and profiles are updated but when I log-off from Workstation still have a copy of the profile on Workstation and furthermore even being local Administrator on W2k box I can't delete taht local profile copy- it says sth like that: Can not delete files. Files mayby in use I'm just wonder wheather it is Windows problem or Samba configure problem? Could anybody can help me? Not sure about 2k, but with XP there is a setting in the default policy that will delete local copies of roaming profiles at logout. Run the mmc, add the group policy snap-in, and it is under administrative templates, profile settings or something like that. Nathan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Password expiration
Well, now that my feet are wet, I thought I would ask another, hopefully less confusing question. As I said in the confusing email about printing, I've set Samba to be a PDC. What I'm wondering is if I can setup the users' passwords to expire after a specific time frame? If so, how do I get it to warn users ahead of time? Thanks once again :) Darin Bawden TeamDME! Technical Support (615) 333-1900 ext. 19 [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Where can i find document swat_ssl.html ?
Hi, i tried to find the document swat_ssl.html on the samba.org site but had no luck. Could somebody give me a hint, where i can find it ? Greets Harry -- Werden Sie mit uns zum OnlineStar 2002! Jetzt GMX wählen - und tolle Preise absahnen! http://www.onlinestar.de -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: WinXP-SP1 breaks profiles...
On Wed, 25 Sep 2002, William Jojo wrote: Just thought you'd like to know that SP1 for Windows XP breaks romaing profiles up to and including 2.2.5. This has been confirmed by MIT at the following link: http://web.mit.edu/swrt/winxp/ See the section Software Compatiblity Test Matix/Testing SP1 We have found this to be the case as well I'm cross-posting this to samba-technical as wellwe will work on some traces for you guys Some (maybe) helpful messages when logging on are: The data area passed to a system call is too small The system cannot find the path specified Jeremy is working on this for 2.2.6. There is a workaround by setting up a policy about profiles not having to be owned by the user. Don't remember the link off the top of my head. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sams 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] Where can i find document swat_ssl.html ?
On Wed, 25 Sep 2002, Harry Rüter wrote: Hi, i tried to find the document swat_ssl.html on the samba.org site but had no luck. Could somebody give me a hint, where i can find it ? http://www.samba.org/samba/docs/swat_ssl.html cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sams 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 2.2.3a SUID root etc.
I have done a brief search on this topic, and have come up with nothing really useful. So if someone knows where this answer lies for this version on samba, please let me know. I am running Redhat 7.3 along with samba2.2.3a, my problem is my users need to be able to mount windowsnt shares from within their home directories on the redhat machine. I have chmod +s /usr/bin/smbmount so that they are able to run this. But now I am getting this error mount.smbfs //mis/abm /home/ian/mis -o username=,password=,rw libsmb based programs must *NOT* be setuid root. 19764: Connection to mis failed SMB connection failed Is there a way to fix this, I am also taking this as a security feature?? Thanks any help greatly appreciated. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Installing in a different directory
I'm trying to install Samba in a different directory that it'll be installed on the system so I can pack it and install it on other systems. Is there a way I can do this? Jean-Rene Cormier -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: WinXP-SP1 breaks profiles...
Title: RE: [Samba] Re: WinXP-SP1 breaks profiles... Here's the link for the fix : http://marc.theaimsgroup.com/?l=samba=103211434202051=2 -Original Message- From: Gerald Carter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:11 AM To: William Jojo Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [Samba] Re: WinXP-SP1 breaks profiles... On Wed, 25 Sep 2002, William Jojo wrote: Just thought you'd like to know that SP1 for Windows XP breaks romaing profiles up to and including 2.2.5. This has been confirmed by MIT at the following link: http://web.mit.edu/swrt/winxp/ See the section Software Compatiblity Test Matix/Testing SP1 We have found this to be the case as well I'm cross-posting this to samba-technical as wellwe will work on some traces for you guys Some (maybe) helpful messages when logging on are: The data area passed to a system call is too small The system cannot find the path specified Jeremy is working on this for 2.2.6. There is a workaround by setting up a policy about profiles not having to be owned by the user. Don't remember the link off the top of my head. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org Sams 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 and WinXP problem
Greets to all, Recently, I was given the task of setting up a Samba server where I work, to accept domain logons for Win9x machines and also NT-based machines, which consist of mostly XP boxes, with a couple 2K machines as well. This domain would be replacing an older one, that was using a very out of date Samba (from RedHat 6.1) that couldn't do XP/2K at all. The new one is from RedHat 7.3, which has v.2.2.3a-6 of Samba. As I have learned in the past, XP can sometimes be a great pain to get to join a Samba domain. This time, however, using what I learned in the past, it went pretty flawlessly. I did my testing mostly on 2 machines, a 2K box, and an XP box. All went well, until it was time for the server to go live. I had to change the domain name on the server, and before doing so, I had the 2 machines un-join the domain, just in case that would cause a problem. After changing the domain name and restarting Samba, I had the machines join the new domain. The 2K box was OK with this, but the XP box, however, was not. I went ahead and prepared the rest of the XP boxes in the building for joining the domain, by changing the signorseal registry entry, adding their machine accounts to Samba, etc., and they all joined the domain just fine, and are doing the domain logon thing perfectly. The original XP box I tested with, though, still gives me problems. It always gives the following error: The following error occurred attempting to join the domain techland: Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. The only thing that was changed on the Samba server, was the domain/workgroup name. I'm totally stumped. I've tried changing the netbios name of the XP box, and added the new machine account to the server, and got the same error. I tried refreshing the network adaptor on the XP box, and got the same thing. I tried deleting the machine account from the server and then re-adding it, to no avail. Checking the Samba logs for this particular machine, shows nothing. I even did a tail -f on the log, while trying to have the machine join the domain, and it shows nothing. I searched Google for this problem, and only got one Samba-related hit, and it wasn't quite the same problem I'm experiencing. I'm about ready to wipe the machine and reformat/reinstall XP, but before going to that extreme, I figured I'd try this list. So, does anyone have any ideas? :-) Stace -- Stacy J. Dunkle LAN Manager, Pennswoods.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
AW: [Samba] Slow browsing windows shares from linux/samba
Well I got it. And I have to apologize for my own stupidity. First off: SO_SNDBUF 8192 Well, if you miss the = in it, it cannot work. Doing that fixed my browsing issue. But I was back to 80 mins copy time for a 600 MB file. So I set it to 4096 and it was reduced to less than 10 mins. Thats how it looks like right now. Hope it doesn't change. I learned quite a lot through this. Guess I will stay on the list for a while and try to offer some of the knowledge I gained to make up for spaming you =) -- Benjamin -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Benjamin Weber Gesendet: Mittwoch, 25. September 2002 12:32 An: [EMAIL PROTECTED] Betreff: [Samba] Slow browsing windows shares from linux/samba Hello all I have been searching around the internet and even used the searchable samaba mailing list archive. It seems I have a rare case of where my problem is reversed to the common slow samba problem. My problem is this: I have a network of 3 PCs, one Linux 2 Windows XP. They are connected via a hardware router (switched) on the 190.190.1.0 network. On the linuxbox I have a collection of files that I want to access via the Windows PCs. This works fine, even fast (thanks to socket options). But now, if I want to browse the Windows PCs from Linux it takes ages to do so. I can get the listing of available shares via Linneighborhood real quick. Mounting works flawlessy. Then I open the mountpoint and it takes between 30secs to 4 minutes to open the share and display its contents. I noticed that if I am very fast and have a filebrowser ready, that after mounting the share I can browse at realtime speed for about 2 secs. After that the above behavior takes place, and even a directorylisting for a share with only 2 files takes 30 secs. This is true for both Windows XP PCs. Why does it work fine in the direction Windows-Linux but is horribly slow from Linux-Windows? Any help would be appreciated. Here is my smb.conf: # Samba config file created using SWAT # from debian.linxhome (190.190.1.25) # Date: 2002/09/24 21:35:17 # Global parameters [global] workgroup = ARBEITSGRUPPE netbios name = DEBIAN guest account = pcguest log level = 3 log file = /usr/local/samba/log.%m change notify timeout = 120 paranoid server security = No read size = 32768 socket options = TCP_NODELAY, IPTOS_LOWDELAY, SO_SNDBUF 8192, SO_RCVBUF 8192 hostname lookups = Yes os level = 33 wins support = Yes username = benjamin hosts allow = 190.190.1.0/255.255.255.0 [homes] comment = Home Directories read only = No create mask = 0750 browseable = No [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable = No [bilder] comment = Bilder path = /home/benjamin//Bilder valid users = benjamin read only = No -- Benjamin Weber -- 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] Profiles replication problems
I experienced some sporadic problem in the profiles replication on Samba PDC. With the configuration attached in some case when a user log in from a windows 2000 professional client with all the microsoft patches applied, recive the error that says that is not possible to load the profile and that a local profile will be used. No error is detected in samba log with log level up to 5. The problem is temporanly solved deleting the local copy of the user profile on the client. This problem seems to me extremly random. Any idea or past experience about it? The Server is a Slackware 8.0 Linux with samba 2.2.5 compiled with the following options ./configure --prefix=/usr --with-configdir=/etc/samba --with-logfilebase=/va r/log/samba --with-privatedir=/etc/samba/private --with-lockdir=/var/locks - -with-swatdir=/usr/swat Davide Parise E-Mail: [EMAIL PROTECTED] Cel.: +39 063640 FAX: +39 06233241981 smb.conf Description: Binary data
Re: [Samba] Samba and WinXP problem
Recently, I was given the task of setting up a Samba server where I work, to accept domain logons for Win9x machines and also NT-based machines, which consist of mostly XP boxes, with a couple 2K machines as well. This domain would be replacing an older one, that was using a very out of date Samba (from RedHat 6.1) that couldn't do XP/2K at all. The new one is from RedHat 7.3, which has v.2.2.3a-6 of Samba. [...] The following error occurred attempting to join the domain techland: Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again. Not sure if you did this as well, there are two things that helped me against this message. 1) when asked for credentials to join the domain, try different combinations of plain admin username and admin username prefixed with domainname\ and xpclientsname\ (no quotes) 2) try changing the XP client from domain to workgroup mode, making sure that the workgroup name does not equal the domain's name, reboot as asked and then try again. Just tried all that you suggested, and nothing worked. Interestingly, though, is that no matter what username/pass I try, I get the exact same error, and the attempts are still not showing up on the samba logs for the machine. It has to be something screwy with Windows, since it's apparently not even attempting to authenticate with the domain server. The task, is just finding exactly what it is. But, OTOH, what would make XP prompt for username/pass at all, if it's not authenticating with the domain server? If I try entering an invalid domain, it knows, since it doesn't prompt for anything, and just tells me the server wasn't found. Any other ideas? I highly appreciate the help! :-) Stace -- Stacy J. Dunkle LAN Manager, Pennswoods.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.6pre2 (and previous?) tiny bug with log file attribute
On Wed, Sep 25, 2002 at 03:32:09PM -0400, Pierre Belanger wrote about '[Samba] 2.2.6pre2 (and previous?) tiny bug with log file attribute': I never thought I would need to change the default log file path, but I had and found a bug. When changing my default log file from /usr/local/samba/var/log.%m to /usr/local/samba/var/log/log.%m there are always files created in the default compiled log directory /usr/local/samba/var when nmbd and smbd start. Could you post the contents of these files? Jelmer -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.6pre2 (and previous?) tiny bug with log file attribute
Jelmer Vernooij wrote: On Wed, Sep 25, 2002 at 03:32:09PM -0400, Pierre Belanger wrote about '[Samba] 2.2.6pre2 (and previous?) tiny bug with log file attribute': I never thought I would need to change the default log file path, but I had and found a bug. When changing my default log file from /usr/local/samba/var/log.%m to /usr/local/samba/var/log/log.%m there are always files created in the default compiled log directory /usr/local/samba/var when nmbd and smbd start. Could you post the contents of these files? I guess it can help... Here we go, for example: [2002/09/25 15:49:16, 0] nmbd/nmbd.c:main(794) Netbios nameserver version 2.2.6pre2 started. Copyright Andrew Tridgell and the Samba Team 1994-2002 [2002/09/25 15:49:16, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235 ) find_response_record: response packet id 2157 received with no matching recor d. [2002/09/25 15:49:16, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235 ) find_response_record: response packet id 2158 received with no matching recor d. etc. Pierre B. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] spool directory
Usually, the print command for samba includes a rm %s or uses the -r (?) options for lpr. Joel On Wed, Sep 25, 2002 at 02:04:34PM -0500, Matt Lung wrote: I'm using CUPS and Samba for my printing needs and was wondering if there was a way to remove the files in the samba spool directory automatically when a job completes? I just noticed that it is shrinking the remaining space on my /var partition. Thanks for any help -- 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] solaris/2.2.2 authentication against NT domain (ie. root canal)
Greetings, This is my first post (hopefully not too newbie for this group). Thank you in advance to anyone who feels compelled to help. I'm trying to get a copy of Samba 2.2.2 running on Solaris 9 to authenticate against an NT domain. I have successfully done this on a Redhat 7.2 box which is running Samba 2.2.4 on the same domain. As best as I can tell, the configurations of these sambas seem the same but something must be wrong. I can successfully add the box to the domain and access it fine using 'share' authentication but when I try to use 'domain' authentication, I get Incorrect password or unknown username and the following is generated in log.smbd [2002/09/25 15:54:04, 0] smbd/password.c:domain_client_validate(1554) domain_client_validate: could not fetch trust account password for domain DOMAINP [2002/09/25 15:54:04, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171) startsmbfilepwent_internal: unable to open file /usr/local/samba/private/smbpasswd. Error was No such file or directory [2002/09/25 15:54:04, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368) unable to open passdb database. [2002/09/25 15:54:04, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171) startsmbfilepwent_internal: unable to open file /usr/local/samba/private/smbpasswd. Error was No such file or directory [2002/09/25 15:54:04, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368) unable to open passdb database. My username map file is essentially... !root = me nobody = * ...and here's my configuration... # Global parameters [global] coding system = client code page = 850 code page directory = /usr/local/samba/lib/codepages workgroup = DOMAINNAME netbios name = BOXNAME netbios aliases = netbios scope = server string = Samba 2.2.2 interfaces = bind interfaces only = No security = DOMAIN encrypt passwords = Yes update encrypted = Yes allow trusted domains = Yes hosts equiv = min passwd length = 5 map to guest = Never null passwords = No obey pam restrictions = No password server = server1 server2 server3 smb passwd file = /usr/local/samba/private/smbpasswd root directory = pam password change = No passwd program = passwd chat = *new*password* %n\n *new*password* %n\n *changed* passwd chat debug = No username map = /etc/usernamemap password level = 0 username level = 0 unix password sync = No restrict anonymous = No lanman auth = Yes use rhosts = No log level = 0 syslog = 1 syslog only = No log file = max log size = 5000 timestamp logs = Yes debug hires timestamp = No debug pid = No debug uid = No protocol = NT1 large readwrite = No max protocol = NT1 min protocol = CORE read bmpx = No read raw = Yes write raw = Yes nt smb support = Yes nt pipe support = Yes announce version = 4.5 announce as = NT max mux = 50 max xmit = 65535 name resolve order = lmhosts host wins bcast max packet = 65535 max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = No change notify timeout = 60 deadtime = 0 getwd cache = Yes keepalive = 300 lpq cache time = 10 max smbd processes = 0 max disk size = 0 max open files = 1 read size = 16384 socket options = TCP_NODELAY stat cache size = 50 use mmap = Yes total print jobs = 0 load printers = Yes printcap name = lpstat disable spoolss = No enumports command = addprinter command = deleteprinter command = show add printer wizard = Yes os2 driver map = strip dot = No character set = mangled stack = 50 stat cache = Yes domain admin group = domain guest group = machine password timeout = 604800 add user script = delete user script = logon script = logon path = \\%N\%U\profile logon drive = logon home = \\%N\%U domain logons = No os level = 20 lm announce = Auto lm interval = 60 preferred master = Auto local master = Yes domain master = Auto browse list = Yes enhanced browsing = Yes dns proxy = Yes wins proxy = No wins server = 172.16.10.5 wins support = No wins hook = kernel oplocks = Yes oplock break wait time = 0 add share command = change share command = delete share command = config file = preload = lock dir =
Re: [Samba] 2.2.6pre2 (and previous?) tiny bug with log file attribute
Pierre Belanger wrote: Hi, I never thought I would need to change the default log file path, but I had and found a bug. When changing my default log file from /usr/local/samba/var/log.%m to /usr/local/samba/var/log/log.%m there are always files created in the default compiled log directory /usr/local/samba/var when nmbd and smbd start. Yes - we need to start logging before we have parsed the configuration file. There is a lot that can go wrong before we get there, and the admin needs to have some chance of finding it. There is a command line optin if you would prefer, and that is parsed very early. 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] password change in windows
Mikael Olsson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have Rh7.3 installed, with samba server 2.2.2 Does anyone now how to prevent windoze users from changing password from the client. All clients are in the domain. I have read in the list that many others having problem with the opposite, the problem is that i dont know what parameter i should change. i have tried almost everything Quick hack - set a 'unix password sync' program that doesn't match the chat, or doesn't even exist. We don't yet have the ability to prevent password changes on a per-account basis. 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] Password expiration
Andrew, I haven't tinkered at all with 3.0. Meaning this next question with all respect...how stable is it? Is it stable enough to use on a production file/login/print server? At 04:20 PM 9/25/2002, Andrew Bartlett wrote: Darin Bawden wrote: Well, now that my feet are wet, I thought I would ask another, hopefully less confusing question. As I said in the confusing email about printing, I've set Samba to be a PDC. What I'm wondering is if I can setup the users' passwords to expire after a specific time frame? If so, how do I get it to warn users ahead of time? You can use Samba 3.0 and a backend like ldapsam, as it will inform the remote OS at logon time, which gives the use warning. (2.2 can do this much) 3.0 adds the ability to enforce this warning, and actually lock poeple out until they change it. 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 Darin Bawden TeamDME! Technical Support (615) 333-1900 ext. 19 [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] hide the other computer and share in the localnetwork of windows
I want to know if there is a configuration for samba to hide the other computer and share in the localnetwork of windows, so a windows computer can't see the other computers and their share I think samba in server broadcast must accept broadcast from other computers but it must send ans empty list and I thing it's possible.. Thanks for the answer and tell me how can I do -- 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.3a Connection reset by peer problem
Hi!! I have 4 boxes with RH7.3 and Samba 2.2.3a, and since we put them in a production enviroment we are having a lot of problems, 90% of the clients are win2k sp2. Sometimes when I try to copy a little file (20k) it lasts abot 30 seconds, and if I try to copy multiple files (about 200) or a bigger file (about 100Mb) start copying but in a few seconds it freezes and after about 2 minutes, ends with a windows error, The drive have been disconected, or can't get access to the file x. Here are some logs: /var/log/messages: Sep 25 18:42:30 serv003 smbd[1311]: [2002/09/25 18:42:30, 0] lib/util_sock.c:read_data(436) Sep 25 18:42:30 serv003 smbd[1311]: read_data: read failure for 4. Error = Connection reset by peer /var/log/mymachine.log: [2002/09/25 18:46:17, 2] smbd/process.c:timeout_processing(1130) Closing idle connection [2002/09/25 18:46:17, 2] smbd/server.c:exit_server(461) Closing connections smbstatus | grep myfile shows: 1327 DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH /home/archive/promocion/Ofertas/OFERTAS 2002/myfile.doc I tried with the regedit tricks EnableDownLevelLogOff and Sign or Seal, and doesn't work. As a clue, if I reset samba, seems to fix all the things up, but in a few hours the problem starts again. Someone can guess what's happening?? I'm completely lost. Finally I have convinced my boss to change to linux and now is thinking to go back to windows again :-( Thanks in advance. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows 95/98 will not connect to Samba 2.2.5 please help
Yes, unless someone has changed the registry to use unencrypted passwords, I THINK. You can check this out. run tcpcump and watch the interaction during the login phase. Maybe the samba logs will show it too, but I would hope the log wouldn't show a password. Joel On Thu, Sep 26, 2002 at 08:04:51AM +1000, [EMAIL PROTECTED] wrote: Joel, from what I read, the encrypt problem does not affect Windows 98. Is that your understanding also? thanks -peter. Is the an encrypt password problem? Joel On Wed, Sep 25, 2002 at 05:02:36PM +1000, [EMAIL PROTECTED] wrote: Hi, we have several Solaris 8 file print servers running Samba 2.0.6 I know this is quite an old version, so we upgraded one of them to 2.2.5 recently. Now, all the Win 98 95 clients cannot connect to the upgraded server (incorrect password for Server/IPC$) However Win NT, 2000 seem to connect to the new server just fine. The 95/98 clients can still connect ok to the other samba servers that we have not upgraded. The conf file on the new Samba is basically identical to the old conf file. Has anyone got a solution to this problem? Any advice welcome. Thanks -peter. Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or National Transport Secretariat, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Win95 .bat Issue
For some reason I'm getting Access denied errors when I try to execute a .bat file that resides on a TRU64 samba share, from a Win95 command prompt. The drive is mapped as x:\ for the sake of testing, the directory has been recursively set to 777 (chmod). Command prompt output: x:\ x:\r235\src\ntprpst\sharc\mta\src\build_sharc_fta.bat Access denied - x:\r235\src\ntprpst\sharc\mta\src\build~XM.bat X:\ X:\ x:\r235\src\ntprpst\sharc\mta\src\no_such_file.bat No file of directory - x:\r235\src\ntprpst\sharc\mta\src\no_such_file.bat X:\ Normally, I would assume this is some 8.3 filename quirk, but what's odd is where that ~xm.bat comes from. Why no ~1.bat, like standard Win9x format? Here are some Samba debugging info (log level 3): [2002/09/25 18:03:37, 3] smbd/dir.c:dptr_create(487) creating new dirptr 195 for path r235/src/ntprpst/sharc/mta/src, expect_close = 0 [2002/09/25 18:03:37, 3] smbd/dir.c:get_dir_entry(647) get_dir_entry mask=[BUILD~XMBAT] found r235/src/ntprpst/sharc/mta/src/build_sharc_fta.bat fname=BUILD~XM.BAT [2002/09/25 18:03:37, 3] smbd/process.c:process_smb(877) Transaction 437201 of length 114 [2002/09/25 18:03:37, 3] smbd/process.c:switch_message(684) switch message SMBopenX (pid 16345) [2002/09/25 18:03:37, 3] lib/util.c:unix_clean_name(387) unix_clean_name [/R235/SRC/NTPRPST/SHARC/MTA/SRC/BUILD~XM.BAT] I'll also state that I was able to move r235 (top directory) over to the localhard drive with no problem. And the Access denied went away as well. Any suggestions? -Rob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Password expiration
Darin Bawden wrote: Andrew, I haven't tinkered at all with 3.0. Meaning this next question with all respect...how stable is it? Is it stable enough to use on a production file/login/print server? That's really up to you. It's often a matter of 'pick your day' on CVS. Most days are pretty good, but the debian folks had horrible luck and kept getting 'the bad days'... 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] Password expiration
On Wednesday, September 25, 2002, at 06:59 PM, Andrew Bartlett wrote: That's really up to you. It's often a matter of 'pick your day' on CVS. Most days are pretty good, but the debian folks had horrible luck and kept getting 'the bad days'... tell me about it... I'm still trying to get 'smbpasswd -a working with LDAP, and I keep hoping for a Debian-snapshot that works... :-) D -- 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.5 - RedHat 7.1 - ClearCase ....
Title: samba 2.2.5 - RedHat 7.1 - ClearCase Hi, is it a good configuration when turning on oplocks for samba under RedHat 7.1 (Kernel 2.4.2-2smp) when using it with ClearCase? Anyone who could share a smb.conf? Thanks, Christian
[Samba] ShenZhen Suncomm Communications Technology CO.,Ltd.is
Dear sir, We are ShenZhen Suncomm corp. Which specilized in magnet. We provide all ki ds of magnets to diffrent countries. such as America, canada, Germeny etc. The p roduction reaches 2000m/TS. We got to know you from internet. That you are interested in magnet. We hop e to establish the business relation wish you please lat us know your specifics and requirements. About the qualities and the price of our magnet. You can find them from our E-mail :[EMAIL PROTECTED] Looking for ward to you early reply. Thanks and regards. Fax: 86-0755-25352418 E-mail: [EMAIL PROTECTED] Linkman: Liu Ning Homepage: www.nd-fe-b.net == ÖÐ×ÊÔ´¹«Ë¾http://www.net001.net ÌṩÓòÃûÏÈ×¢²áºó¸¶¿î;Ö÷»úÏÈ¿ªÍ¨ºóÊÕ·Ñ·þÎñ, ÖÐ;¿ÉÍË¿î¡£ÌØ»ÝÍƼö£ºÓòÃû+100MÖ÷»ú²¢¸½ËÍ5¸ö10MÆóÒµÓÊÏ䣬ÿÄêÖ»Ðè350Ôª£¡£¡ ʹÓü«ÐÇÓʼþȺ·¢£¬ÎÞÐëͨ¹ýÓʼþ·þÎñÆ÷£¬Ö±´ï¶Ô·½ÓÊÏ䣬ËٶȾø¶ÔÒ»Á÷£¡ ÏÂÔØÍøÖ·£ºhttp://www.lovexin.com£¬¸ü¶àÃâ·ÑµÄ³¬¿áÈí¼þµÈÄãÀ´Ï¡¡ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] SOLVED: (maybe) Re:Windows 95/98 will not connect to Samba 2.2.5
Ok, I think I fixed the problem, but I'm still a bit puzzled. You see, a lot of our users are mapped to the user 'nobody' When I checked the log file, I noticed that it was having a problem because 'nobody' has a null password. So, putting the parameter 'null passwords = yes' into the conf file fixed the problem. What I don't understand is that it connected fine with Samba 2.0.6 servers and the parameter was not set in their conf files either. Can anyone explain this? Did this parameter not work at one time? As far as I know, the default has always been 'null passwords = no'. It's not that important to know, I'm just curious. Also just if anyone would like to comment, is it a problem to be mapping people to a No Password account? thanks everyone for your help. -peter. Yes, unless someone has changed the registry to use unencrypted passwords, I THINK. You can check this out. run tcpcump and watch the interaction during the login phase. Maybe the samba logs will show it too, but I would hope the log wouldn't show a password. Joel On Thu, Sep 26, 2002 at 08:04:51AM +1000, [EMAIL PROTECTED] wrote: Joel, from what I read, the encrypt problem does not affect Windows 98. Is that your understanding also? thanks -peter. Is the an encrypt password problem? Joel On Wed, Sep 25, 2002 at 05:02:36PM +1000, [EMAIL PROTECTED] wrote: Hi, we have several Solaris 8 file print servers running Samba 2.0.6 I know this is quite an old version, so we upgraded one of them to 2.2.5 recently. Now, all the Win 98 95 clients cannot connect to the upgraded server (incorrect password for Server/IPC$) However Win NT, 2000 seem to connect to the new server just fine. The 95/98 clients can still connect ok to the other samba servers that we have not upgraded. The conf file on the new Samba is basically identical to the old conf file. Has anyone got a solution to this problem? Any advice welcome. Thanks -peter. Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or National Transport Secretariat, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Handle is unvalid
I have just installed Samba as a PDC controller. When trying to join a Windows XP machine I keep getting this error on the last step in the process of joinng the domain and it gives me this error on a pop up message Your computer could not be joined to the domain because of the following error has occurred: The handle is invalid. Any suggestions, I already applied the WinXP_SignOrSeal.reg patch Thanks for the help in advance, Brandon
[Samba] Win2K Server and Samba Server
I have a Win2K server with ADS. I am in the process of setting up a Firewall on RH7.3. We need to be able to connect to the win2k network from remote sites, some are home users and some are computers we have located in other companies. I'm able to get a VPN connection between Redhat and a windows PC using poptop pptp software. What I was wondering iswould i be able to install samba on the firewall and make it part of the win2k network. So that when our users VPN into the firewall box they will have access to the win2k shares etc.. And all i have to worry about it entering the users/passwords on the win2k server. The vpn users would have to be able to browse win2k network, connect to shares on the win2k server and print to both remote and local printers.. Is this something that Samba can help me accomplish? Is so, are there any books or websites that can help walk me thru the setup? Or provide detailed information?? Jayson -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Roaming profiles problem
On Wed, Sep 25, 2002 at 10:32:01AM -0700, Jay Ts wrote: Ryszard Hodiak wrote: I can login onto a Worksations (Win2k) and profiles are updated but when I log-off from Workstation still have a copy of the profile on Workstation and furthermore even being local Administrator on W2k box I can't delete taht local profile copy- it says sth like that: Can not delete files. Files mayby in use I'm just wonder wheather it is Windows problem or Samba configure problem? That seems like normal behavior. Windows always keeps a local copy of the roaming profiles - that's just how they work. It copies the profile from the server during logon, then uses the local copy. Any updates to the profile are copied back to the server during logoff. And yes, the profiles are difficult to delete from the local system! There are different ACLs in use, and some of them have a really tight hold on the files they protect. But, if you really want to delete a local profile, it can be done. To delete a local profile from a system (I've been doing this a *lot* whilst developing the profile workaround fix) you need to take ownership as administrator, and click all the inherit style boxes in the ACL gui. Then you can delete it, else you get the file in use error. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ShenZhen Suncomm Communications Technology CO.,Ltd.is
Dear sir, We are ShenZhen Suncomm corp. Which specilized in magnet. We provide all ki ds of magnets to diffrent countries. such as America, canada, Germeny etc. The p roduction reaches 2000m/TS. We got to know you from internet. That you are interested in magnet. We hop e to establish the business relation wish you please lat us know your specifics and requirements. About the qualities and the price of our magnet. You can find them from our E-mail :[EMAIL PROTECTED] Looking for ward to you early reply. Thanks and regards. Fax: 86-0755-25352418 E-mail: [EMAIL PROTECTED] Linkman: Liu Ning Homepage: www.nd-fe-b.net == ÖÐ×ÊÔ´¹«Ë¾http://www.net001.net ÌṩÓòÃûÏÈ×¢²áºó¸¶¿î;Ö÷»úÏÈ¿ªÍ¨ºóÊÕ·Ñ·þÎñ, ÖÐ;¿ÉÍË¿î¡£ÌØ»ÝÍƼö£ºÓòÃû+100MÖ÷»ú²¢¸½ËÍ5¸ö10MÆóÒµÓÊÏ䣬ÿÄêÖ»Ðè350Ôª£¡£¡ ʹÓü«ÐÇÓʼþȺ·¢£¬ÎÞÐëͨ¹ýÓʼþ·þÎñÆ÷£¬Ö±´ï¶Ô·½ÓÊÏ䣬ËٶȾø¶ÔÒ»Á÷£¡ ÏÂÔØÍøÖ·£ºhttp://www.lovexin.com£¬¸ü¶àÃâ·ÑµÄ³¬¿áÈí¼þµÈÄãÀ´Ï¡¡ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: Roadmap to 3.0
Look here for more information to see what I am talking about: http://www.kixtart.org BTW, it is widely used in a lot of production environments. Eddie. - Original Message - From: Richard Sharpe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Eddie Lania [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 9:40 AM Subject: Re: Roadmap to 3.0 On Wed, 25 Sep 2002 [EMAIL PROTECTED] wrote: On Wed, Sep 25, 2002 at 07:45:36AM +0200, Eddie Lania wrote: Loadable RPC implementations yes o o o Does this mean that it will support KIXTART as well? I've yet to see a good definition of what KIXTART needs, so I can't say if we will support it. I suspect that it has something to do with being violent towards prostitutes. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Re: Roadmap to 3.0
I have done some very basic testing with login scripts using KIXTART on 3.0Alpha19 from an NT4 Workstation and all that I did worked. By basic I mean testing for Domain Group memberships, enumerating group membership etc, nothing fancy. On Wed, 25 Sep 2002 18:39, Eddie Lania wrote: Look here for more information to see what I am talking about: http://www.kixtart.org BTW, it is widely used in a lot of production environments. Eddie. - Original Message - From: Richard Sharpe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Eddie Lania [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 9:40 AM Subject: Re: Roadmap to 3.0 On Wed, 25 Sep 2002 [EMAIL PROTECTED] wrote: On Wed, Sep 25, 2002 at 07:45:36AM +0200, Eddie Lania wrote: Loadable RPC implementations yes o o o Does this mean that it will support KIXTART as well? I've yet to see a good definition of what KIXTART needs, so I can't say if we will support it. I suspect that it has something to do with being violent towards prostitutes. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Compile problem under HP-UX 11.00
I'm tying to compile Samba 2.2.5 under HP-ux 11.00 with gcc version 3.0 and i get the following error. Did anyone encouterd this problem and how did u solve it because i tried everything except hacking the source. I get the following error after a ./configure make Compiling lib/snprintf.c lib/snprintf.c:775: conflicting types for `vsnprintf' /opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux/3.0/include/stdio.h:494: previous declaration of `vsnprintf' lib/snprintf.c:790: conflicting types for `snprintf' /opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux/3.0/include/stdio.h:493: previous declaration of `snprintf' *** Error exit code 1 Greetz, Ernst Cozijnsen -- This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is only intended for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Re: Roadmap to 3.0
On Windows XP it doesn't work properly, or it must be that I have some misconfigured settings. These are some of the error messages I get in the apllication log: - UserGetLocalGroups failed Error : Toegang geweigerd. (0x5/5). - GetPrimaryGroup failed Error : Er is geen toewijzing uitgevoerd tussen accountnamen en beveiligings-ID's. (0x534/1332). Also, KiXtart indetifies me as Guest user when I log in from the XP box, while I am an Administrator. For the rest it works ok here too. Eddie. - Original Message - From: Mike Brady [EMAIL PROTECTED] To: Eddie Lania [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 8:55 AM Subject: Re: Roadmap to 3.0 I have done some very basic testing with login scripts using KIXTART on 3.0Alpha19 from an NT4 Workstation and all that I did worked. By basic I mean testing for Domain Group memberships, enumerating group membership etc, nothing fancy. On Wed, 25 Sep 2002 18:39, Eddie Lania wrote: Look here for more information to see what I am talking about: http://www.kixtart.org BTW, it is widely used in a lot of production environments. Eddie. - Original Message - From: Richard Sharpe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Eddie Lania [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 9:40 AM Subject: Re: Roadmap to 3.0 On Wed, 25 Sep 2002 [EMAIL PROTECTED] wrote: On Wed, Sep 25, 2002 at 07:45:36AM +0200, Eddie Lania wrote: Loadable RPC implementations yes o o o Does this mean that it will support KIXTART as well? I've yet to see a good definition of what KIXTART needs, so I can't say if we will support it. I suspect that it has something to do with being violent towards prostitutes. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
RE: Compile problem under HP-UX 11.00
Hello Greetz, Compiling Samba 2.2.5 under HP-UX 11.00 with gcc2.95.2 and using make, i had the problem : Compiling lib/snprintf.c In file included from lib/snprintf.c:69: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:29: warning: conflicting types for built-in function `memcmp' /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:85: warning: conflicting types for built-in function `memcpy' /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:87: warning: conflicting types for built-in function `memset' lib/snprintf.c:790: conflicting types for `snprintf' /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/stdio.h:447: previous declaration of `snprintf' *** Error exit code 1 = I solve the problem using gcc2.95.3 and gmake 3.79.1 Bye Patrick GIRARD -Message d'origine- De : ernst.cozijnsen [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 25 septembre 2002 09:19 À : samba-technical Objet : Compile problem under HP-UX 11.00 I'm tying to compile Samba 2.2.5 under HP-ux 11.00 with gcc version 3.0 and i get the following error. Did anyone encouterd this problem and how did u solve it because i tried everything except hacking the source. I get the following error after a ./configure make Compiling lib/snprintf.c lib/snprintf.c:775: conflicting types for `vsnprintf' /opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux/3.0/include/stdio.h:494: previous declaration of `vsnprintf' lib/snprintf.c:790: conflicting types for `snprintf' /opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux/3.0/include/stdio.h:493: previous declaration of `snprintf' *** Error exit code 1 Greetz, Ernst Cozijnsen -- This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is only intended for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Re: approaching release of 3.0alpha20
At 10:01 23.09.2002 -0500, Gerald Carter wrote: Everyone, I would like to do another alpha snapshot release of the 3.0 code base later this week. Does anyone know of any code that is too unstable for a release (seg faults, etc...)? domain master = Auto is broken... metze - Stefan metze Metzmacher [EMAIL PROTECTED]
Re: approaching release of 3.0alpha20
At 10:01 23.09.2002 -0500, Gerald Carter wrote: Everyone, I would like to do another alpha snapshot release of the 3.0 code base later this week. Does anyone know of any code that is too unstable for a release (seg faults, etc...)? metze there's a bug in pdb_interface.c: in context_setsampwent @ctrlsoft what's the bug? metze we don't check if they backend has a valid setsampwent function metze (*pdb_method)-setsampwent = NULL; metze (*pdb_method)-endsampwent = NULL; metze (*pdb_method)-getsampwent = NULL; metze in pdb_unix metze will cause seg faults metze - Stefan metze Metzmacher [EMAIL PROTECTED]
Re: approaching release of 3.0alpha20
On Wed, Sep 25, 2002 at 01:32:16PM +0200, Stefan (metze) Metzmacher wrote about 'Re: approaching release of 3.0alpha20': At 10:01 23.09.2002 -0500, Gerald Carter wrote: Everyone, I would like to do another alpha snapshot release of the 3.0 code base later this week. Does anyone know of any code that is too unstable for a release (seg faults, etc...)? metze there's a bug in pdb_interface.c: in context_setsampwent ctrlsoft what's the bug? metze we don't check if they backend has a valid setsampwent function metze (*pdb_method)-setsampwent = NULL; metze (*pdb_method)-endsampwent = NULL; metze (*pdb_method)-getsampwent = NULL; metze in pdb_unix metze will cause seg faults Fixed
Re: Bug in HEAD: srv_samr_nt.c and smbgroupedit assume algorithmic RIDs.
On Wed, Sep 25, 2002 at 02:21:07PM +0200, [EMAIL PROTECTED] wrote: srv_samr_nt.c assumes algorithmic mapping for creation of new users. In lines 3891 and 3956 it calls pdb_gid_to_group_rid to create ^ Oops, sorry, this should read 'groups' obviously. Volker msg03189/pgp0.pgp Description: PGP signature
Re: Bug in HEAD: srv_samr_nt.c and smbgroupedit assume algorithmic RIDs.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As you work into this area, you will see why we decided on the 'start over'... My concern is that we will not be able to finish that work in any reasonable time frame. I would like to see 3.0 released. I completely agree that a redesign is desirable, but I would like to have a decently working PDC with 3.0. Otherwise we might simply want to dump 'net rpc vampire' completely. I would then take it out again so that people don't even expect something like this to work. Currently there is no consensus upon how to replicate group mapping information to a Samba BDC. We should drop that support as well. Simply remove the 'server role BDC'. Volker -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Key-ID ADE377D8, Fingerprint available: phone +49 551 370 iD8DBQE9ka6/ZeeQha3jd9gRAmX0AJ9JelfYh5qSIDTcLVDlyR6SdJOTlACaAkJz d12SzfNtoRoth/2XXwRnmx4= =dsaO -END PGP SIGNATURE-
Re: Bug in HEAD: srv_samr_nt.c and smbgroupedit assume algorithmic RIDs.
At 14:40 25.09.2002 +0200, [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As you work into this area, you will see why we decided on the 'start over'... My concern is that we will not be able to finish that work in any reasonable time frame. I would like to see 3.0 released. I completely agree that a redesign is desirable, but I would like to have a decently working PDC with 3.0. Otherwise we might simply want to dump 'net rpc vampire' completely. I would then take it out again so that people don't even expect something like this to work. Currently there is no consensus upon how to replicate group mapping information to a Samba BDC. We should drop that support as well. Simply remove the 'server role BDC'. Please remove nothing from HEAD! if you really want to take something out make it in the 3_0 branch when jerry starts to maintain it. metze - Stefan metze Metzmacher [EMAIL PROTECTED]
[PATCH] better handling of copy_id2X...
Hi Andrew, here're the copy_id2X patches. copy_id21-02.diff from the last patch then copy_id2X-06.diff remove warnings. it should fix this problem (it's not perfect but it handles it MUCH better now!): the current code of copy_id2* is bad!: if you use usrmgr.exe and watch the properties of a user and click 'ok' after it samba overwrites all times (pass must change, lastchange ...) and do some other stupid things. metze - Stefan metze Metzmacher [EMAIL PROTECTED] diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=.#* HEAD/source/lib/time.c HEAD-fix/source/lib/time.c --- HEAD/source/lib/time.c Sat Aug 31 15:36:28 2002 +++ HEAD-fix/source/lib/time.c Sat Aug 31 15:47:25 2002 @@ -1,8 +1,8 @@ /* Unix SMB/CIFS implementation. time handling functions - Copyright (C) Andrew Tridgell 1992-1998 - + Copyright (C) Andrew Tridgell 1992-1998 + Copyright (C) Stefan (metze) Metzmacher 2002 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -748,3 +748,13 @@ void init_nt_time(NTTIME *nt) nt-high = 0x7FFF; nt-low = 0x; } + +/ +check if NTTIME is 0 +/ +BOOL nt_time_is_zero(NTTIME *nt) +{ + if(nt-high==0) + return True; + return False; +} diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=.#* HEAD/source/rpc_server/srv_samr_util.c HEAD-fix/source/rpc_server/srv_samr_util.c --- HEAD/source/rpc_server/srv_samr_util.c Wed Jul 3 09:37:54 2002 +++ HEAD-fix/source/rpc_server/srv_samr_util.c Wed Sep 25 15:43:47 2002 @@ -1,10 +1,11 @@ /* Unix SMB/CIFS implementation. SAMR Pipe utility functions. - Copyright (C) Jeremy Allison1996-2001 + Copyright (C) Luke Kenneth Casson Leighton 1996-1998 Copyright (C) Gerald (Jerry) Carter 2000-2001 Copyright (C) Andrew Bartlett 2001-2002 + Copyright (C) Stefan (metze) Metzmacher 2002 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,55 +33,185 @@ void copy_id23_to_sam_passwd(SAM_ACCOUNT *to, SAM_USER_INFO_23 *from) { + time_t unix_time; if (from == NULL || to == NULL) return; - - pdb_set_logon_time(to,nt_time_to_unix(from-logon_time), True); - pdb_set_logoff_time(to,nt_time_to_unix(from-logoff_time), True); - pdb_set_kickoff_time(to, nt_time_to_unix(from-kickoff_time), True); - pdb_set_pass_can_change_time(to, nt_time_to_unix(from-pass_can_change_time), True); - pdb_set_pass_must_change_time(to, nt_time_to_unix(from-pass_must_change_time), True); - - pdb_set_pass_last_set_time(to, nt_time_to_unix(from-pass_last_set_time)); - - if (from-uni_user_name.buffer) + if (!nt_time_is_zero(from-logon_time)) { + unix_time=nt_time_to_unix(from-logon_time); + DEBUG(10,(INFO_23 LOGON_TIME: %lu - %lu\n,(long unsigned +int)pdb_get_logon_time(to), (long unsigned int)unix_time)); + pdb_set_logon_time(to, unix_time, True); + } + if (!nt_time_is_zero(from-logoff_time)) { + unix_time=nt_time_to_unix(from-logoff_time); + DEBUG(10,(INFO_23 LOGOFF_TIME: %lu - %lu\n,(long unsigned +int)pdb_get_logoff_time(to), (long unsigned int)unix_time)); + pdb_set_logoff_time(to, unix_time, True); + } + + if (!nt_time_is_zero(from-kickoff_time)) { + unix_time=nt_time_to_unix(from-kickoff_time); + DEBUG(10,(INFO_23 KICKOFF_TIME: %lu - %lu\n,(long unsigned +int)pdb_get_kickoff_time(to), (long unsigned int)unix_time)); + pdb_set_kickoff_time(to, unix_time , True); + } +#if 0 + /* doesn't work here, + usrmgr.exe doesn't send it! + --metze*/ + else { + DEBUG(10,(INFO_23 KICKOFF_TIME: %lu - %lu\n,(long unsigned +int)pdb_get_kickoff_time(to),(long unsigned int)get_time_t_max())); + pdb_set_kickoff_time(to, get_time_t_max() , True); + } +#endif + + if (!nt_time_is_zero(from-pass_can_change_time)) { + unix_time=nt_time_to_unix(from-pass_can_change_time); + DEBUG(10,(INFO_23 PASS_CAN_CH: %lu - %lu\n,(long unsigned +int)pdb_get_pass_can_change_time(to), (long unsigned int)unix_time)); + pdb_set_pass_can_change_time(to, unix_time, True); + } + if (!nt_time_is_zero(from-pass_last_set_time)) { +
Re: Bug in HEAD: srv_samr_nt.c and smbgroupedit assume algorithmic RIDs.
Volker Lendecke wrote: On Wed, Sep 25, 2002 at 10:54:40PM +1000, Andrew Bartlett wrote: Despite all the fuss, the changes there really are not that big, just fundamental ;-) vlendec@delphin:~/head/source find -name \*.c | xargs grep pdb\_ | wc -l 1596 As I said, not that big. 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
Re: approaching release of 3.0alpha20
I think we should never put a NULL value in function handlers, but always a stub function !! Simo. On Wed, 2002-09-25 at 13:32, Stefan (metze) Metzmacher wrote: At 10:01 23.09.2002 -0500, Gerald Carter wrote: Everyone, I would like to do another alpha snapshot release of the 3.0 code base later this week. Does anyone know of any code that is too unstable for a release (seg faults, etc...)? metze there's a bug in pdb_interface.c: in context_setsampwent @ctrlsoft what's the bug? metze we don't check if they backend has a valid setsampwent function metze (*pdb_method)-setsampwent = NULL; metze (*pdb_method)-endsampwent = NULL; metze (*pdb_method)-getsampwent = NULL; metze in pdb_unix metze will cause seg faults metze - Stefan metze Metzmacher [EMAIL PROTECTED] -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
Re: approaching release of 3.0alpha20
Then that would be a function that always returns False / NT_STATUS_NOT_IMPLEMENTED - I think the system can figure that out as well... On Wed, Sep 25, 2002 at 03:14:18PM +0200, Simo Sorce wrote about 'Re: approaching release of 3.0alpha20': I think we should never put a NULL value in function handlers, but always a stub function !! Simo. On Wed, 2002-09-25 at 13:32, Stefan (metze) Metzmacher wrote: At 10:01 23.09.2002 -0500, Gerald Carter wrote: Everyone, I would like to do another alpha snapshot release of the 3.0 code base later this week. Does anyone know of any code that is too unstable for a release (seg faults, etc...)? metze there's a bug in pdb_interface.c: in context_setsampwent @ctrlsoft what's the bug? metze we don't check if they backend has a valid setsampwent function metze (*pdb_method)-setsampwent = NULL; metze (*pdb_method)-endsampwent = NULL; metze (*pdb_method)-getsampwent = NULL; metze in pdb_unix metze will cause seg faults metze - Stefan metze Metzmacher [EMAIL PROTECTED] -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 -- Jelmer Vernooij [EMAIL PROTECTED] - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listening to 15:18:27 up 3:18, 8 users, load average: 0.35, 0.17, 0.12
Re: approaching release of 3.0alpha20
Simo Sorce wrote: This way to fix, without any DEBUG in is obscure and may hide implementation errors imho. A crash is much more easier to understand while developing. We (ctrlsoft and I) had decided that implementing those functions was optinal - I think we had the stub functions before, and removed them... In any case, as long as it doesn't break, I'm not too fussed - but I actually like the ability to say 'not implemented' in a way much clearer than than trying to infer it from a BOOL return. 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
Re: approaching release of 3.0alpha20
Yes, returning always NT_STATUS_NOT_IMPLEMENTED is the way to go imho. Simo. On Wed, 2002-09-25 at 15:18, Jelmer Vernooij wrote: Then that would be a function that always returns False / NT_STATUS_NOT_IMPLEMENTED - I think the system can figure that out as well... On Wed, Sep 25, 2002 at 03:14:18PM +0200, Simo Sorce wrote about 'Re: approaching release of 3.0alpha20': I think we should never put a NULL value in function handlers, but always a stub function !! Simo. On Wed, 2002-09-25 at 13:32, Stefan (metze) Metzmacher wrote: At 10:01 23.09.2002 -0500, Gerald Carter wrote: Everyone, I would like to do another alpha snapshot release of the 3.0 code base later this week. Does anyone know of any code that is too unstable for a release (seg faults, etc...)? metze there's a bug in pdb_interface.c: in context_setsampwent @ctrlsoft what's the bug? metze we don't check if they backend has a valid setsampwent function metze (*pdb_method)-setsampwent = NULL; metze (*pdb_method)-endsampwent = NULL; metze (*pdb_method)-getsampwent = NULL; metze in pdb_unix metze will cause seg faults metze - Stefan metze Metzmacher [EMAIL PROTECTED] -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 -- Jelmer Vernooij [EMAIL PROTECTED] - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listening to 15:18:27 up 3:18, 8 users, load average: 0.35, 0.17, 0.12 -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
Re: approaching release of 3.0alpha20
Simo Sorce wrote: It's not so difficult to change pdb code to NTSTATUS errors .. I'll do it. On the inside interface it's OK - if you change the external interface then it's a big search/replace job. (But a job I would *love* to see picked up, becouse it makes later conversions to other code much easier!). 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
Re: approaching release of 3.0alpha20
On Wed, 2002-09-25 at 15:48, Stefan (metze) Metzmacher wrote: At 23:34 25.09.2002 +1000, Andrew Bartlett wrote: Simo Sorce wrote: Yes, returning always NT_STATUS_NOT_IMPLEMENTED is the way to go imho. This is in the old pdb code, so we don't have NTSTATUS there yet - so for there I think the null pointer works. For the new code, then certainly I think the NTSTATUS return makes sense. yep. But we always have to check for NULL pointers :-) sorry ? -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
WinXP-SP1 breaks profiles...
Just thought you'd like to know that SP1 for Windows XP breaks romaing profiles up to and including 2.2.5. This has been confirmed by MIT at the following link: http://web.mit.edu/swrt/winxp/ See the section Software Compatiblity Test Matix/Testing SP1 We have found this to be the case as well I'm cross-posting this to samba-technical as wellwe will work on some traces for you guys Some (maybe) helpful messages when logging on are: The data area passed to a system call is too small The system cannot find the path specified Bill
Re: Roadmap to 3.0
On Wed, 25 Sep 2002, Eddie Lania wrote: Loadable RPC implementations yes o o o Does this mean that it will support KIXTART as well? This has nothing to do with Win32 applications. It means that the RPC functions for a given RPC service will be loaded from a shared library. It is an architectural change, not a functional one (yet). cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sams Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca--
Re: Problem with Winbind.
Maybe you might want to try to give winbind a username and password to authenticate with when querying the PDC for users. This is done with wbinfo -A user%password Hope that helps, Volker It's so simple when you know how.. Seems fine now. Thanks a lot Volker. Gareth Davies - IT Systems Willowbrook Ltd. Ext 235. - Original Message - From: Volker Lendecke [EMAIL PROTECTED] To: Gareth Davies [EMAIL PROTECTED] Cc: Samba Technical [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 3:36 PM Subject: Re: Problem with Winbind.
Re: The need for a special SMB receive system call
On Wed, 25 Sep 2002, Andrew Bartlett wrote: Richard Sharpe wrote: Hi, In the course of hacking Samba to use the recv variant of sendfile I have had to modify the low level routines that read in an SMB off of a socket. Currently, Samba makes two system calls to reveive an SMB, one to receive the length and the other to receive the rest of the SMB[1]. Because I wanted to leave write data on the socket for WriteX calls, and have this data transferred directly to the open file in the case where it can be safely done (Ie, we have an oplock on the file etc), I had to split that into a minumum of three reads: One to read the length, another to read to the end of the fixed header of the SMB so we can check the command type, and that last one to read out the rest of the data if it is not a WriteX request. I was wondering about a much less elegent solution: Why can't we do a non-blocking read on the socket, into a (large) buffer? My main goal was to avoid copying the data that is to be written to the file out to userland and back to kernelland. That is, to avoid two user/kernel crossings. This is such a big win with sendfile (in terms of reducing the CPU utilization and thus being able to handle more clients). While copying lots of requests at once amortizes the system call(s) across lots of requests, it is going to hurt latency and will still cost lots more CPU when handling write requests from clients. Also, as an aside, I am not convinced that aggressive header spliting and zero copy is all that useful (esp considering that tricks with simply remapping the underlying pages to file buffers from mbufs/skbufs will only work if the write request is file block aligned), but do believe that Theory of Everything (TOE) chips have a place to play. We would then process the commands one-by one, until we reached one that had a length beyond the end of the buffer. Then we memmove it to the start, read to it's end, process and start the game again. I am trying to solve a different problem, and reduce the complexity of solving this problem. Every system call I can eliminate, or push into the kernel (as in the fstat call in the sendfile code) means more CPU for yet another client and gets us closer to handling 10,000 clients :-) What am I missing here... (I'm sure there must be somthing). Andrew Bartlett -- Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Re: Running smbd and nmbd using daemontools!!
Animesh [EMAIL PROTECTED] wrote: Hi everybody,, I want to run samba using the combination of daemontools and ucspi-tcp and not inetd..i.e, what i intend to do is to run smbd and nmbd using tcpserver but the problem is with nmbd as tcpserver, as the name suggests supports only TCP and not UDP...So is there anything that can be done. Animesh Depending on what clients you have, i'd not use a nmbd process at all. We've run some servers with smbd only, that seems to work fine on nt4/w2k clients. Magnus
RE: [Samba] Re: WinXP-SP1 breaks profiles...
Title: RE: [Samba] Re: WinXP-SP1 breaks profiles... Here's the link for the fix : http://marc.theaimsgroup.com/?l=samba=103211434202051=2 -Original Message- From: Gerald Carter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:11 AM To: William Jojo Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [Samba] Re: WinXP-SP1 breaks profiles... On Wed, 25 Sep 2002, William Jojo wrote: Just thought you'd like to know that SP1 for Windows XP breaks romaing profiles up to and including 2.2.5. This has been confirmed by MIT at the following link: http://web.mit.edu/swrt/winxp/ See the section Software Compatiblity Test Matix/Testing SP1 We have found this to be the case as well I'm cross-posting this to samba-technical as wellwe will work on some traces for you guys Some (maybe) helpful messages when logging on are: The data area passed to a system call is too small The system cannot find the path specified Jeremy is working on this for 2.2.6. There is a workaround by setting up a policy about profiles not having to be owned by the user. Don't remember the link off the top of my head. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org Sams 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 3.0 and UserManager?
I haven't got this to work altough I have read several mails now on this list of people that seem to have it working. I was wondering how this should be done. I can start UserManager for windows NT and see the accounts and groups, but whenever I try to open one of them I get a permission denied. Please, can somebody help me? Eddie.
Re: Running smbd and nmbd using daemontools!!
On Wed, 25 Sep 2002, Magnus Naeslund(f) wrote: Animesh [EMAIL PROTECTED] wrote: Hi everybody,, I want to run samba using the combination of daemontools and Anyone know where the daemontools patch is at ? I've been meaning to look at getting it in one of these days. cheers, jeery
Setting the time through a logon script
How do I set the clock through a logon script if I wish to keep the user a standard user line of logon script net time \\viagra /set /yes Shane [EMAIL PROTECTED]
Re: Setting the time through a logon script
On Wed, 25 Sep 2002, Shane Tapper wrote: How do I set the clock through a logon script if I wish to keep the user a standard user line of logon script net time \\viagra /set /yes Hmmm, are you telling us or asking us? The above command is what I use. You might need to make sure all your users are in the right group, though. Local Power Users seems to be the group you need. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Re: Setting the time through a logon script
line of logon script net time \\viagra /set /yes Hmmm, are you telling us or asking us? The above command is what I use. You might need to make sure all your users are in the right group, though. Local Power Users seems to be the group you need. Don't you also have to enable the time server in smb.conf or is that for something else? Of course this setting wouldn't have anything to do with his error. -- David W. Chapman Jr. [EMAIL PROTECTED] Raintree Network Services, Inc. www.inethouston.net [EMAIL PROTECTED] FreeBSD Committer www.FreeBSD.org
Re: Setting the time through a logon script
On Wed, 25 Sep 2002, David W. Chapman Jr. wrote: line of logon script net time \\viagra /set /yes Hmmm, are you telling us or asking us? The above command is what I use. You might need to make sure all your users are in the right group, though. Local Power Users seems to be the group you need. Don't you also have to enable the time server in smb.conf or is that for something else? Of course this setting wouldn't have anything to do with his error. That works by default. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Re: approaching release of 3.0alpha20
Stefan (metze) Metzmacher wrote: Hi Jerry, please don't kick 3.0alpha20 before this is fixed. Andrew B. optimizes my patch... metze, I want to get that patch 'right', so I may take some time... In particular, you changed the parsing for the info21, but not info23, and I want to track the difference between null pointers and zero length strings correctly. 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
Re: approaching release of 3.0alpha20
On Thu, 26 Sep 2002, Andrew Bartlett wrote: Stefan (metze) Metzmacher wrote: Hi Jerry, please don't kick 3.0alpha20 before this is fixed. Andrew B. optimizes my patch... metze, I want to get that patch 'right', so I may take some time... It's not going to happen today, but I think the alpha will get out tomorrow. So whatever state the code is in, I'm throwing a snapshot out there. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sams Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca--
ShenZhen Suncomm Communications Technology CO.,Ltd.is
Dear sir, We are ShenZhen Suncomm corp. Which specilized in magnet. We provide all ki ds of magnets to diffrent countries. such as America, canada, Germeny etc. The p roduction reaches 2000m/TS. We got to know you from internet. That you are interested in magnet. We hop e to establish the business relation wish you please lat us know your specifics and requirements. About the qualities and the price of our magnet. You can find them from our E-mail :[EMAIL PROTECTED] Looking for ward to you early reply. Thanks and regards. Fax: 86-0755-25352418 E-mail: [EMAIL PROTECTED] Linkman: Liu Ning Homepage: www.nd-fe-b.net == ÖÐ×ÊÔ´¹«Ë¾http://www.net001.net ÌṩÓòÃûÏÈ×¢²áºó¸¶¿î;Ö÷»úÏÈ¿ªÍ¨ºóÊÕ·Ñ·þÎñ, ÖÐ;¿ÉÍË¿î¡£ÌØ»ÝÍƼö£ºÓòÃû+100MÖ÷»ú²¢¸½ËÍ5¸ö10MÆóÒµÓÊÏ䣬ÿÄêÖ»Ðè350Ôª£¡£¡ ʹÓü«ÐÇÓʼþȺ·¢£¬ÎÞÐëͨ¹ýÓʼþ·þÎñÆ÷£¬Ö±´ï¶Ô·½ÓÊÏ䣬ËٶȾø¶ÔÒ»Á÷£¡ ÏÂÔØÍøÖ·£ºhttp://www.lovexin.com£¬¸ü¶àÃâ·ÑµÄ³¬¿áÈí¼þµÈÄãÀ´Ï¡¡
ShenZhen Suncomm Communications Technology CO.,Ltd.is
Dear sir, We are ShenZhen Suncomm corp. Which specilized in magnet. We provide all ki ds of magnets to diffrent countries. such as America, canada, Germeny etc. The p roduction reaches 2000m/TS. We got to know you from internet. That you are interested in magnet. We hop e to establish the business relation wish you please lat us know your specifics and requirements. About the qualities and the price of our magnet. You can find them from our E-mail :[EMAIL PROTECTED] Looking for ward to you early reply. Thanks and regards. Fax: 86-0755-25352418 E-mail: [EMAIL PROTECTED] Linkman: Liu Ning Homepage: www.nd-fe-b.net == ÖÐ×ÊÔ´¹«Ë¾http://www.net001.net ÌṩÓòÃûÏÈ×¢²áºó¸¶¿î;Ö÷»úÏÈ¿ªÍ¨ºóÊÕ·Ñ·þÎñ, ÖÐ;¿ÉÍË¿î¡£ÌØ»ÝÍƼö£ºÓòÃû+100MÖ÷»ú²¢¸½ËÍ5¸ö10MÆóÒµÓÊÏ䣬ÿÄêÖ»Ðè350Ôª£¡£¡ ʹÓü«ÐÇÓʼþȺ·¢£¬ÎÞÐëͨ¹ýÓʼþ·þÎñÆ÷£¬Ö±´ï¶Ô·½ÓÊÏ䣬ËٶȾø¶ÔÒ»Á÷£¡ ÏÂÔØÍøÖ·£ºhttp://www.lovexin.com£¬¸ü¶àÃâ·ÑµÄ³¬¿áÈí¼þµÈÄãÀ´Ï¡¡