Hi friends We want communciate our windows 2000 computers with samba. We want use samba as domain controller. Before we had NT computers. Now we want install windows 2000 computers. For that reason we do all things again. At first step we have a problem. We want to add the computers to a domain. But when we try to do that it displays a message to enter the username and password. We do not know what to do at that point. Before we did not have such an problem. We could easily add computers witout asking password. What is the problem? What should we do? \|/// \ - - // _\=/_ ( @ @ ) (o o) +--------oOOo-(_)-oOOo-----------------------------oOOo-(_)-oOOo---+ | SERDAR ASLAN | METU/ANKARA/TURKEY TEL:0312 4834428 THANK YOU. | | | oOOo oOOo | | ( ) oOOo ( ) oOOo | +--------\ (----( )-----------------------------\ ( -----( )--+ _) ) / _) ) / (_/ (_/
> We could easily add computers witout asking password. What is the > problem? What should we do?You need to enter the username/password of a samba user which has rights to add a user to the domain. I believe the "root" user by default has this right; but there is a "domain admin" or similar option for smb.conf aswell. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>' Key retrival: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20030129/91693943/attachment.bin
Hello,> > Cannot see the share from windows system > > I just install Red Hat Linux 8 and samba system, but > the share cannot be seen from windows system. I have > followed the DIAGNOSIS.txt to do testing > > 1. testparm run OK. > 2. Ping bothe Linux server and windows client > computers OK. > 3. Run smbclient 朙 Server OK. > 4. Run nmblookup 朆 Server__SAMBA__ return > nothing.(not OK) > 5. Run nmblookup 朆 Client return nothing. > 6. Run nmblookup 杁 2 OK. > 7. Run smbclient //Server/share OK. > > I have checked nmbd deamon, it seem running OK. Can > someone help me solve the problem?Thanks Martin Mai __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/
Can Samba be installed on QNX2 version 2.21? Bill bcarroll@leoneglass.com
Hi, I have been trying to configure my linux RH7.1 system to ping the windows desktops. I have setup winbind correctly (to my knowledge) but still not able to ping windows desktops. SOme info : samba version 2.2.7a did a make with 'make nsswitch/libnss_wins.so' have copied the lib to proper place and made the links. updated the /etc/nsswitch.conf for hosts line as: 'hosts: files wins dns' 'wbinfo -N <windows desktop name>' properly shows the IP address resolved from winbindd. Am I missing something here. Please let me know your experiences here if any. Please let me know if anymore info is required for debugging. thanks in advance, Amarnath.
> -----Original Message----- > From: Kurt Weiss [mailto:input.maillists@kwnet.at] > Sent: Friday, March 07, 2003 3:48 PM > To: Amarnath B S > Subject: Re: [Samba] None > > > > > Amarnath B S schrieb: > > Hi, > > I have been trying to configure my linux RH7.1 system to ping the > > windows desktops. I have setup winbind correctly (to my > knowledge) but still > > not able to ping windows desktops. > > is ping <ip adress> broken, or/and > is ping <name> broken???ping <name> is the one that is broken. I am able to ping the IP-address of the windoze box.> > ping has nothing to do with samba - if ping not successes, your > netconnection is not correct. > (except u ping with names, but ping uses DNS/hosts for nameresolving not > wins)But wins name-resolution is exactly what libnss_wins library supposed to do right? And the NSS entry in nsswitch.conf file is for name-resolution only, if i am right. checkout.... http://us2.samba.org/samba/ftp/cvs_current/source/nsswitch/> > > > > Am I missing something here. Please let me know your experiences here if > > any. Please let me know if anymore info is required for debugging. > > > > thanks in advance, > > Amarnath. > > > >
Content-Type: text/plain; charset="us-ascii" From: Wu Yongwei <adah@pku.edu> To: samba@samba.org Subject: Problem accessing Windows printer from Linux side Date: Wed, 19 Mar 2003 12:06:26 +0800 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200303191205.16578.adah@pku.edu> I am using Red Hat 8.0 with KDE, and I have installed samba-common and=20 samba-client packages, version 2.2.7-4.8.0. The Windows server is a Windows=20 2000 Server with a HP LaserJet 4500. I can use "smbclient -L //server -U=20 user" to view the shares. After setting up in the Red Hat Printer Config, now=20 I can see the status of the printer is "Idle (accepting jobs)" in the Print=20 dialog, but whenever I print, nothing occurs. Checking=20 /var/spool/lpd/LaserJet4500/status.pr I found the folowing lines: IF filter 'mf_wrapper' filter msg - '/usr/sbin/lpdomatic: postscript job=20 line1=3D>%!PS-Adobe-3.0' at 2003-03-19-10:45:41.787 ## A=3Droot@wuyw+671=20 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - '<' at 2003-03-19-10:45:41.787 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - '/usr/sbin/lpdomatic: prepended:' at=20 2003-03-19-10:45:41.789 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - '<</PageSize[612 792]/ImagingBBox=20 null>>setpagedevice' at 2003-03-19-10:45:41.789 ## A=3Droot@wuyw+671 number=3D671=20 process=3D1743 IF filter 'mf_wrapper' filter msg - 'gs PID pid2=3D1765' at=20 2003-03-19-10:45:41.793 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - 'closing *main::KID3' at=20 2003-03-19-10:45:41.807 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - 'closed *main::KID3' at=20 2003-03-19-10:45:41.807 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - 'error closing *main::STDOUT at=20 /usr/sbin/lpdomatic line 812, <KID4_IN> line 586.' at 2003-03-19-10:45:41=2E823=20 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - 'KID3 finished' at 2003-03-19-10:45:41.831=20 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - 'Main process finished' at=20 2003-03-19-10:45:41.838 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter finished at 2003-03-19-10:45:41.861 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1743 printing finished at 2003-03-19-10:45:41.862 ## A=3Droot@wuyw+671 number=3D671=20 process=3D1743 LP filter msg - 'cat: write error: Broken pipe' at 2003-03-19-10:45:41.862 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1743 waiting for printer filter to exit at 2003-03-19-10:45:41.863 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1743 accounting at end at 2003-03-19-10:45:41.863 ## A=3Droot@wuyw+671 number=3D671=20 process=3D1743 finished 'root@wuyw+671', status 'JFAIL' at 2003-03-19-10:45:41.863 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1743 subserver pid 1743 exit status 'JFAIL' at 2003-03-19-10:45:41.864 ## A=3D<NULL>=20 number=3D0 process=3D1679 job 'root@wuyw+671', attempt 3, allowed 3 at 2003-03-19-10:45:41.865 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1679 send_failure_action 'JREMOVE' at 2003-03-19-10:45:41.865 ## A=3Droot@wuyw+671=20 number=3D671 process=3D1679 job 'root@wuyw+671', removing job - status JREMOVE at 2003-03-19-10:45:41=2E865=20 ## A=3Droot@wuyw+671 number=3D671 process=3D1679 keeping error job 'root@wuyw+671' at 2003-03-19-10:45:41.866 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1679 [root@wuyw LaserJet4500]# cat status.pr IF filter 'mf_wrapper' filter msg - '/usr/sbin/lpdomatic: postscript job=20 line1=3D>%!PS-Adobe-3.0' at 2003-03-19-10:45:41.787 ## A=3Droot@wuyw+671=20 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - '<' at 2003-03-19-10:45:41.787 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - '/usr/sbin/lpdomatic: prepended:' at=20 2003-03-19-10:45:41.789 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - '<</PageSize[612 792]/ImagingBBox=20 null>>setpagedevice' at 2003-03-19-10:45:41.789 ## A=3Droot@wuyw+671 number=3D671=20 process=3D1743 IF filter 'mf_wrapper' filter msg - 'gs PID pid2=3D1765' at=20 2003-03-19-10:45:41.793 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - 'closing *main::KID3' at=20 2003-03-19-10:45:41.807 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - 'closed *main::KID3' at=20 2003-03-19-10:45:41.807 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - 'error closing *main::STDOUT at=20 /usr/sbin/lpdomatic line 812, <KID4_IN> line 586.' at 2003-03-19-10:45:41=2E823=20 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - 'KID3 finished' at 2003-03-19-10:45:41.831=20 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter msg - 'Main process finished' at=20 2003-03-19-10:45:41.838 ## A=3Droot@wuyw+671 number=3D671 process=3D1743 IF filter 'mf_wrapper' filter finished at 2003-03-19-10:45:41.861 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1743 printing finished at 2003-03-19-10:45:41.862 ## A=3Droot@wuyw+671 number=3D671=20 process=3D1743 LP filter msg - 'cat: write error: Broken pipe' at 2003-03-19-10:45:41.862 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1743 waiting for printer filter to exit at 2003-03-19-10:45:41.863 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1743 accounting at end at 2003-03-19-10:45:41.863 ## A=3Droot@wuyw+671 number=3D671=20 process=3D1743 finished 'root@wuyw+671', status 'JFAIL' at 2003-03-19-10:45:41.863 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1743 subserver pid 1743 exit status 'JFAIL' at 2003-03-19-10:45:41.864 ## A=3D<NULL>=20 number=3D0 process=3D1679 job 'root@wuyw+671', attempt 3, allowed 3 at 2003-03-19-10:45:41.865 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1679 send_failure_action 'JREMOVE' at 2003-03-19-10:45:41.865 ## A=3Droot@wuyw+671=20 number=3D671 process=3D1679 job 'root@wuyw+671', removing job - status JREMOVE at 2003-03-19-10:45:41=2E865=20 ## A=3Droot@wuyw+671 number=3D671 process=3D1679 keeping error job 'root@wuyw+671' at 2003-03-19-10:45:41.866 ##=20 A=3Droot@wuyw+671 number=3D671 process=3D1679 What can be the problems? I tried searching in the documentation, but found=20 little information on accessing Windows printer from Linux side. Thanks in advance. Best regards, Wu Yongwei
hi, i am student and try to configure samba server in my network. but i have problem. The nmbd service,which is suite of samba service is not running. the status in SWAT show that. plz give me solution for this quickly. thank you. __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com
Ref >>plz give me solution for this quickly. I sugguest you go and RTFM, that will give you a quick solution. S ----- Original Message ----- From: "patel hasmukh" <hasu12282@yahoo.com> To: <samba@lists.samba.org> Sent: Sunday, April 06, 2003 12:19 PM Subject: [Samba] None> hi, > i am student and try to configure samba server in my > network. > but i have problem. > The nmbd service,which is suite of samba service is > not running. the status in SWAT show that. > plz give me solution for this quickly. > thank you. > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
> From: Paul Kaplan <pkaplan1@attbi.com> > To: samba@lists.samba.org > Subject: [Samba] Peaceful coexistence; 2.2.7 & 3.0a > Message-ID: <200304141147.14429.pkaplan1@attbi.com> > Content-Type: text/plain; > charset="us-ascii" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Precedence: list > Message: 3 > > I have installed Samba 2.2.7 and 3.0a22 side by side. The 3.0 install > is from > Mandrake contrib rpms and is set up so all commands, files, and paths > are of > the form: <command>3 instead of <command>, e.g., smbmnt3 coexists with > smbmnt. > I would like to use swat to handle the configuration. How do I invoke > swat3 > to edit /etc/samba3/smb.conf since http://localhost:901 invokes swat to > edit/etc/samba/smb.conf?I am the maintainer of samba3 in Mandrake contrib, and it's my fault that swat3 isn't setup out the box (I have an aversion to SWAT, since I think vi /etc/samba/smb.conf + man smb.conf is better ... and if you want a GUI, use ksambaplugin - also in contrib ... IMHO of course). Anyway, it is not possible to have both swat and swat3 running on the same port, so you probably need to edit /etc/xinetd.d/swat3. OK, after some experimenting, it seems that authentication is broken in swat3 in the Mandrake 9.1 contrib packages. You could use swat from samba-2.2.x to configure samba3, but you will be missing some features etc. To do it, so something like this: 1)Edit your /etc/services file, and add something like this (one line): swat3 8901/tcp # Samba3 Web Administration Tool 2)Edit your /etc/xinetd.d/swat3 file so the meat of the file looks like this: service swat3 { port = 8901 socket_type = stream wait = no only_from = 127.0.0.1 user = root # server = /usr/sbin/swat3 server = /usr/sbin/swat server_args = -s /etc/samba3/smb.conf log_on_failure += USERID disable = no 3)Reload xinetd: # service xinetd reload Now, swat with /etc/samba/smb.conf will be available on port 901, and swat with /etc/samba3/smb.conf will be available on port 8901 You can try commenting out the server and server_args entries in /etc/xinetd.d/swat3, and uncommenting the server = /usr/sbin/swat3 to try swat3, but I couldn't get it to work in the 5 minutes I have spent on this. Oh yes, step 0 should be to backup the original configs which we kindly comment well, and which normally contain pre-tested working configs for almost any situation. Swat wipes that all out the first time you run it, and IMHO, you then waste half an hour getting a good config with SWAT that was available in the default config and would take 5 minutes to get right with more features (which we can't enable by default, and some which aren't applicable without package from contrib such as ntlogon). I guess I should get around to rebuilding alpha23 on 9.1 to see if swat works there, or just test it on cooker when I get back to the office on Tuesday. Regards, Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
Hello dear,> ???? ??? ???? ????????, ?? ????????... > > Samba 1.... ?? Solaris 2.7 sparc ????? ?????? ???????? ? > /var/adm/log/message > ??????????? ?????? > > ?? ???????? ????? ????????????... > > > netbios-ns/udp server failing(looping) terminated > /opt/samba/bin/nmbd Hangup > netbios-ns/udp server failing(looping) terminated > /opt/samba/bin/nmbd Hangup > netbios-ns/udp server failing(looping) terminated > /opt/samba/bin/nmbd Hangup > > > ????? ?? ??? ???????? ? ??? ?????? ?????????, ???? ?? ????? ????, ?? ??? > ????.. > > > ?? ???? ?????? ??? ????? ????? ? ???? ??????????, > > ??? ?? ???? ??????? ???????????\ > > ??????? ??????????! > > >WBR, Galiba mailto:isgali@banknet.kz
I have Question, I have a school running on samba. I want none of the users to have the right to delete files, but they must be able to write to the files. How do I do that? Joe jleipert@lowertwpschools.com
In a message dated 5/7/03 7:02:08 PM Pacific Daylight Time, jleipert@lowertwpschools.com writes:> > I have Question, I have a school running on samba. I want none of the users > to have the right to delete files, but they must be able to write to the > files. How do I do that? > > Joe > jleipert@lowertwpschools.com >Not that I am an expert but this sounds like you need to incorporate a CVS(whats the name of that UNIX/Linux version control thing SCCS??) type of thing... Samba is not the key if you ask me. Just that the CVS will run on top of samba.
On Tue, 6 May 2003, Joseph Leipert wrote:> I have Question, I have a school running on samba. I want none of the > users to have the right to delete files, but they must be able to write > to the files. How do I do that?You sure do have a question here! Under Unix/Linux the right to write to a file means the right and ability to delete the file. If you can get that changed, then we can accommodate your request. Until then, we live and die by the operating system we live on top of. - John T. -- John H Terpstra Email: jht@samba.org
On Thu, May 08, 2003 at 02:22:00AM +0000, John H Terpstra wrote:> On Tue, 6 May 2003, Joseph Leipert wrote: > > > I have Question, I have a school running on samba. I want none of the > > users to have the right to delete files, but they must be able to write > > to the files. How do I do that? > > You sure do have a question here! > > Under Unix/Linux the right to write to a file means the right and ability > to delete the file. If you can get that changed, then we can accommodate > your request. Until then, we live and die by the operating system we live > on top of.Errr, actually no - UNIX *can* do this. The ability to delete a file is held in the *directory* the file is contained in, not the file itself. So to create a directory with files users can write to, but not delete, set the directory permissions to disallow writing to the group containing the users (or "other") and set the file permissions to allow the group containing the users (or "other") to write to the file. Cheers, Jeremy.
On Thu, 8 May 2003 jra@dp.samba.org wrote:> On Thu, May 08, 2003 at 02:22:00AM +0000, John H Terpstra wrote: > > On Tue, 6 May 2003, Joseph Leipert wrote: > > > > > I have Question, I have a school running on samba. I want none of the > > > users to have the right to delete files, but they must be able to write > > > to the files. How do I do that? > > > > You sure do have a question here! > > > > Under Unix/Linux the right to write to a file means the right and ability > > to delete the file. If you can get that changed, then we can accommodate > > your request. Until then, we live and die by the operating system we live > > on top of. > > Errr, actually no - UNIX *can* do this. The ability to delete a file is > held in the *directory* the file is contained in, not the file itself.Doh! So true! Thanks Jeremy. - John T.> So to create a directory with files users can write to, but not delete, > set the directory permissions to disallow writing to the group containing > the users (or "other") and set the file permissions to allow the group > containing the users (or "other") to write to the file. > > Cheers, > > Jeremy. >-- John H Terpstra Email: jht@samba.org
John H Terpstra jht at samba.org> Thu May 8 02:29:01 GMT 2003 > > On Thu, 8 May 2003 jra at dp.samba.org wrote: > >> On Thu, May 08, 2003 at 02:22:00AM +0000, John H Terpstra wrote: >> > On Tue, 6 May 2003, Joseph Leipert wrote: >> > >> > > I have Question, I have a school running on samba. I want none of the >> > > users to have the right to delete files, but they must be able to write >> > > to the files. How do I do that? >> > >> > You sure do have a question here! >> > >> > Under Unix/Linux the right to write to a file means the right and ability >> > to delete the file. If you can get that changed, then we can accommodate >> > your request. Until then, we live and die by the operating system we live >> > on top of. >> >> Errr, actually no - UNIX *can* do this. The ability to delete a file is >> held in the *directory* the file is contained in, not the file itself. > > Doh! So true! Thanks Jeremy.I guess it still can not be recommended as a safe method to achieve what the request intended. Couln't I "write" a zero-length (or 1-Byte length, if zero is disallowed) content to tha file and so, in effect delete what it represented? Cheers, Kurt> - John T. > >> So to create a directory with files users can write to, but not delete, >> set the directory permissions to disallow writing to the group containing >> the users (or "other") and set the file permissions to allow the group >> containing the users (or "other") to write to the file. >> >> Cheers, >> >> Jeremy. >> >
Must be pointed out however, that removing write bit from the directory will meet the objective, it will also make it impossible for users to create new files. On Thu, 8 May 2003 jra@dp.samba.org wrote: On Thu, May 08, 2003 at 02:22:00AM +0000, John H Terpstra wrote:> On Tue, 6 May 2003, Joseph Leipert wrote: > > > I have Question, I have a school running on samba. I want none of the > > users to have the right to delete files, but they must be able to write > > to the files. How do I do that? > > You sure do have a question here! > > Under Unix/Linux the right to write to a file means the right and ability > to delete the file. If you can get that changed, then we can accommodate > your request. Until then, we live and die by the operating system we live > on top of.Errr, actually no - UNIX *can* do this. The ability to delete a file is held in the *directory* the file is contained in, not the file itself. So to create a directory with files users can write to, but not delete, set the directory permissions to disallow writing to the group containing the users (or "other") and set the file permissions to allow the group containing the users (or "other") to write to the file. Cheers, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba