Fw: [Samba] Performance Problem
Hello your NIC is ??? and samba version ??? Try modify samba tcp parameters as delay and buff or update your nic driver. > - Original Message - > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, November 05, 2002 9:08 AM > Subject: [Samba] Performance Problem > > > > Hello, > > > > I have a severe performance problem when connecting a M$-Client PC with a > > Bootdisk and TCP/IP-Stack to my Samba server. > > Both machines are linked via a 100Mbit crosslink connection. > > The server is running a SuSE Linux 7.2 with Kernel 2.4.19, the smb-fs and > > the NIC is compiled into the kernel. > > The Client uses a DOS 6.2 bootdisk with the M$ TCPIP-stack version 1.02. > > All M$ drivers load fine, the 'net use' command works too. > > Then I start Symantecs 'ghost' to create an image from the clients HD and > > put it to the used Samba share on the server. > > The Performance is pr (<1Mbyte/min), tests with a W2K server on the > same > > hardware showed better values (>200Mbyte/min) :-( . > > What can I do to improve this poor samba throughput??? > > > > Regards > > Ferdi > > > > -- > > +++ GMX - Mail, Messaging & more http://www.gmx.net +++ > > NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! > > > > -- > > 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] samba-ldap-pdc
Hello Readers, I have a problem with samba-ldap-pdc. I am using debian woody with samba 2.2.3a and openldap 2.0.23-6. Everything works fine when loggin onto the domain when using windows 98se. But when i try too add a windows 2000 computer to the domain it says this in the logfiles : [2002/11/05 15:46:29, 2] passdb/pdb_ldap.c:init_sam_from_ldap(511) init_sam_from_ldap: User [pc-marco$] does not ave a uid! But I do know that samba works pdc works and ldap works. Cause windows 98 has no problems and logs nicely in. Does anyone know how too solve this? I used the manual from http://samba.idealx.org Thanx in advance. Greetings , Martijn -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Daily smb_trans2_request errors
Every morning at 2:02am, and 6:25am, I get the following two lines in my /var/log/messages: Nov 6 06:25:15 borgCube kernel: smb_trans2_request: result=-104, setting invalid Nov 6 06:25:16 borgCube kernel: smb_retry: successful, new pid=28929, generation=37 The pid always stays the same, and generation increases by 1 everytime it happens. Currently I got one share from a W2K computer mounted on my filesystem, and one share from the samba server mounted on the W2K box. The shares aren't related. Running on a Debian 3.0, samba 2.2.3a-6, kernel 2.4.18. Any help on getting rid of these messages would be appreciated :) Met vriendelijke groet, Cipriano Groenendal Campai Business Solutions B.V Darwinstraat 6 2722 PX Zoetermeer Tel : 079-3432943 Fax : 079-3432521 http://www.campai.nl [EMAIL PROTECTED]§²æìr¸yúèØb²X¬¶ -¢Ø^~e£§DKjwky§m 觲ÚîrبÈm¶ÿ+-²Æ¦mª+ùYùb²Ø§~ìjfÚ
[Samba] Roaming Profiles + Win2000 + XP
Hi, Ive got my PDC up and running under samba, it is serving several windows 2000 machines and a windows XP machine. The problem is when using Roaming Profiles... Were using Outlook XP + IMAP Mail for the users emails, which works fine the only problem comes when logging off the machine and back to another. The windows 2000 machines seem to update the profile changes back to the server. The windows XP machines update NEW files (eg on the desktop if i make a new text document) but not remove files which should be deleted, or update edits to files. (eg if i delete a file off the desktop of the profile when on the XP machine, it wont be deleted from the server when I log off, and i do mean files, not shortcuts). I assume this must be some sort of caching problem with XP, or maybe its something I can manage from my smb.conf, totally lost at the moment :( I also cannot get the U: drive to be automounted to the users home directory... although I had that working at one point (as i said, totally lost at the moment) Any suggestions on the problem + my smb.conf (below) would be much appreciated. -James # Global parameters [global] workgroup = BENCE netbios name = FAIRVIEW server string = BENCE PDC encrypt passwords = Yes update encrypted = Yes log file = /var/log/samba/%m.log max log size = 0 time server = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain admin group = root logon script = /etc/samba/login.%.bat logon path = \\%L\profiles\%U logon drive = u: logon home = \\%L\%U domain logons = Yes os level = 255 preferred master = True domain master = True dns proxy = No [homes] comment = Home Directories path = /users/%U/smbhome guest account = valid users = %S read only = No browseable = No [netlogon] comment = Logon scripts and policies path = /samba/netlogon create mask = 0644 [profiles] comment = Roaming profiles directory path = /samba/profiles read only = No create mask = 0600 directory mask = 0700 share modes = No -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Default use Local Profiles
How can I configure the use Local Profiles, when evertime logon to the Samba PDC Server. Vincent
Re: [Samba] Nothing work : Win2k Nethwork path not found
Hello in your config is more errors !!! How you means work fine when ping is completely lost??? lmhost files configuration is not need. On config you have max protocol COREPLUS why? on win2k try net view \\192.168.123.179 check your win2k and linux firewall settings. set samba by default rpm config! only set name of workgroup and machine and security. > > - Original Message - > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, September 03, 2002 9:46 PM > Subject: [Samba] Nothing work : Win2k Nethwork path not found > > > > HI all, > > > > ok. I read all the entries of this mailinglist with the subject nethwork > path. I try everything but > > nothing happens. I have no more ideas what i can do. Pleaaa > hellp. > > (I also tried to walk throught document.txt) > > > > The problem: > > -Client Win2k > > -Server Suse Linux 8.0 with Samba > > -I completely installed and configured Samba. I walk throught the document > of Samba. I tried > > all steps of the issue to solve problems with samba. But in step, I > think 7 the failure appears. > > I tried to enter "net view \\server ", but the answer is "Network path > not found System error 53" > > -the ping is allright and everything works fine I can see the server in > the network neigbourhood > > but I can't see any folders. > > -I can log in by the server itself with smbclient. > > -All deamons work and listen to the right ports. > > -lmhosts on both machines are right configured. ( The ping : "ping server" > and "ping linux" > > worked, but "ping linux" only send to the client. It looses 100%. > > -The users are already set. Also the password (both Win2k and Samba > without password > > encrypt). > > -All rights to access the folders are all rights > > > > > > In the log.nmbd (loglevel 10) I found 2 things: > > First: master browser not found > > Second: subnet 192.168.123.157 (<--- that should be wrong because the > broadcast is > > 255.255.255.0), but in other steps in the logfile it seems samba has no > problem with this > > > > So i hope you can understand my problem and perhaps solve it. > > Please don't say walk thropugh this or this doc. I walk through ALL docs > in the net and on the > > machine. > > > > If you need a ogfile of nmbd or smbd I can send it to you. > > > > [EMAIL PROTECTED] > > > > Thnaks a lot, > > Carl > > > > Here my smb.conf: > > > > # Samba config file created using SWAT > > # from linux (192.168.123.179) > > # Date: 2002/09/03 22:49:37 > > > > # Global parameters > > [global] > > workgroup = FIREMUN > > netbios name = SERVER > > map to guest = Bad User > > null passwords = Yes > > username map = /etc/samba/user.map > > log level = 10 > > protocol = COREPLUS > > max protocol = COREPLUS > > socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY > > character set = ISO8859-15 > > os level = 2 > > wins support = Yes > > default service = global > > comment = Rootverzeichnis > > path = / > > username = onewaypub,root > > valid users = onewaypub,root > > read list = onewaypub > > write list = root > > force user = root > > read only = No > > hosts allow = 192.168.123. > > hosts deny = 192.168.123.254 > > max connections = 5 > > sync always = Yes > > veto files = /*.eml/*.nws/riched20.dll/*.{*}/ > > > > [homes] > > comment = Home Directories > > create mask = 0640 > > directory mask = 0750 > > > > [cdrom] > > comment = Linux CD-ROM > > path = /media/cdrom > > locking = No > > > > [printers] > > comment = All Printers > > path = /var/tmp > > create mask = 0600 > > printable = Yes > > browseable = No > > > > [Root] > > invalid users = nobody > > > > [Public] > > path = /public > > > > [tmp] > > comment = temporary files > > path = /tmp > > read only = Yes > > > > -- > > 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] Refresh jobs in samba queues
Hi all, I have working properly a print server with samba-2.2.6 and using the printing system lprng. I have just the following problem, when I open the window queue to see the jobs in it from Win2K and WinNT workstation the queues are not refreshing, I have to push F5 key continously to refresh the queue jobs information. Is there a way in samba or windows (I don't know where is the origin of the problem) so that it refreshs automaticly every n seconds ?? Thanks in advance to any reply, My smb.conf parameters regarding the priting system: = [global] printcap name = /etc/printcap load printers = yes show add printer wizard = yes printer admin = @admin printing = lprng [printers] comment = Impresoras path = /var/spool/samba browseable = yes printable = yes public = yes writable = yes create mode = 0700 guest ok = yes print command = /usr/bin/lpr -P %p %s && rm %s lpq command = /usr/bin/lpq -P %p lprm command = /usr/bin/lprm -P %p %j lppause command = /usr/sbin/lpc hold %p %j lpresume command = /usr/sbin/lpc release %p %j [print$] path = /usr/local/samba/printers guest ok = yes browseable = yes public = yes read only = yes write list = @admin = Regards, = Fernando Ruza Rodríguez [EMAIL PROTECTED] ___ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://messenger.yahoo.es -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Force User -
Why you dont use ftp? Is more flexible as samba to web. When you must use samba try disable force user and create cron job to change owner on new files to apache. It creates flexibility to users can change uploaded files only by its owner and only by time to cron job. After this only admin user can change or delete. > - Original Message - > From: "info" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, November 05, 2002 1:21 AM > Subject: [Samba] Force User - > > > > Hello, > > I am using Samba shares as a way for my users to publish files from their > > Windows XP PC's to my Apache Web Server on Red Hat Linux. > > > > The username I use for Apache is apache and it has full read,write and > > execute access on all the files within my webserver root directory. In > the > > Samba Shares I use force user = apache so this means that any files > created > > using the share actually get apache as the owner. However, this actually > > gives the person who connects using the samba share the power of the user > > apache which means they can change anything. I dont want this. I just > want > > to set it so that the owner of any files created by using the samba share > is > > set as apache. I do not want people to have the power of apache! Is this > > possible? > > > > Or does anyone know a better way of publishing to the apache webserver? > > PLease help, thanks > > > > > > Mr. Gerard O'Reilly > > Intranet Manager > > Siam Stars Ltd/ Thai-Belgium Industrial Co. Ltd > > 21/6 Moo 3, Soi Kayha Bangbua, > > Viphavadee Rangsit Road, > > 60 Talad Bangkhen, > > Laksi Bangkok 10210 > > Tel: 02-561-4649 or 02-940-8750 > > Fax: (66-2) 5611486 > > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Not visable server
Problem with browsing is from microsoft method.. broadcast must be eq not mask. If broadcast is not eq must by routed or bridged. - Original Message - From: "Håkan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 05, 2002 12:26 AM Subject: Re: [Samba] Not visable server > I have a find the solution my self and I think I have > an addition to the DIAGNOSIS.txt and the FAQ > > The DIAGNOSIS.txt did not give me anything. > All test pass thru without half of the last. > The problem was that the Linux Samba server had a different > network IP mask than the windows client. > The Linux Server had network address 192.168.7.2 with mask 255.255.0.0 > broadcast 192.168.255.255 > but the client had 192.168.7.3/255.255.240.0 broadcast 192.168.15.0 > After setting them to same everthing worked. > Must they be the same?? > If yes: Maybe samething to write in the DIAGNOSIS.txt file... > /Håkan > > - Original Message - > From: "Joel Hammer" <[EMAIL PROTECTED]> > To: "Håkan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Sunday, November 03, 2002 11:41 PM > Subject: Re: [Samba] Not visable server > > > > Have you walked through DIAGNOSIS.txt in the source docs? > > On Sun, Nov 03, 2002 at 11:36:49PM +0100, Håkan wrote: > > > Hi list > > > > > > I have a problem. > > > Running Samba 2.2.1a on a Redhat Linux 7.2 kernel 2.4.18 > > > Client is a Microsoft Windows2000pro > > > > > > I can connect to all shares but I can not see my server in network > > > neighborhood. > > > I can see the the clients but not the server??? > > > What have I missed? Some configuration I can test > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] route NetBIOS protocol throught SAMBA.
You must download Microsoft DOS client 3.0 that support tcpip. - Original Message - From: "Ivan Martynov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 2:17 PM Subject: [Samba] route NetBIOS protocol throught SAMBA. > Hello,all. > > I have Microsoft DOS client that only supports NetBIOS protocol > Can SAMBA route NetBIOS protocol and how can I do it? > > Sorry if this question was asked by many users before me. > I'm first time here. > > Ivan. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba wins
You dont need diferent wins-server for diferent groups this is poor idea best is only one wins. Then clients work ok on all workgroups. - Original Message - From: "Alexander Kuznetsov" <[EMAIL PROTECTED]> To: "Gerald (Jerry) Carter" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 10:35 AM Subject: Re: [Samba] Samba wins > >> >From my understanding Samba WINS can only be a standalone server - there is > >> no code to communicate with other WINS servers. > > G(C> Correct. There is some experimental WINS replication code in HEAD. > G(C> Feel free to play around with it. > > In another words, if I won't use two workgroups with different names > with samba-wins-server in each group, clients in different group can't > access client in another group, because samba-wins-server can't exchange wins-reconds > between himself ? > > This future in TODO ? :) > > Thanks > > Alexander Kuznetsov > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: samba digest, Vol 1 #1828 - 23 msgs
U moet bij mij langs komen om uw opgaven op te halen. M.v.g. Koos de Wilde ir. Jac. de Wilde | email: [EMAIL PROTECTED] Technische Universiteit Delft | phone: 015 278 3757 of Faculteit Ontwerp, Constructie | 015 278 4872 (secr.) en Productie | fax : 015 278 4264 Maritieme Techniek | Mekelweg 2 | 2628 CD Delft | -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba wins
MMI> You dont need diferent wins-server for diferent groups this is poor idea MMI> best is only one wins. Then clients work ok on all workgroups. Ok. But in the different ethernet-network clients can't browse computers in another workgroup, because wins-server belong to only one workgroup and not collect browse info about another workgroups. Can samba help me in this way ? MMI> - Original Message - MMI> From: "Alexander Kuznetsov" <[EMAIL PROTECTED]> MMI> To: "Gerald (Jerry) Carter" <[EMAIL PROTECTED]> MMI> Cc: <[EMAIL PROTECTED]> MMI> Sent: Monday, November 04, 2002 10:35 AM MMI> Subject: Re: [Samba] Samba wins >> >> >From my understanding Samba WINS can only be a standalone server -there is >> >> no code to communicate with other WINS servers. >> >> G(C> Correct. There is some experimental WINS replication code in HEAD. >> G(C> Feel free to play around with it. >> >> In another words, if I won't use two workgroups with different names >> with samba-wins-server in each group, clients in different group can't >> access client in another group, because samba-wins-server can't exchange >wins-reconds >> between himself ? >> >> This future in TODO ? :) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba problems
Hi! I tried to set up a Samba PDC but so far it is not yet working (3 weeks passed). I posted my Samba problems to news groups and discussion forums, but the suggestions given were not able to solve my problems. I went through a few HOWTOs and followed the step-by-step guide, still can not solve my problem. I am realy new to Linux and Samba and hope sameone will guide me through. (1) What I did: - (a) I installed the samba samba-swat, samba-common, samba-client, and edited /etc/samba/smb.conf files as following: - # Samba config file created using SWAT # from chee_ch.com (127.0.0.1) # Date : 2002/10/26 # Global parmeters [global] ;Basic server setting 3/11/2002 workgroup = CH LINUX SER netbios name = CH-HOMES server string = Primary Domain Server running Samba %v socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF = 8192 SO_SNDBUF = 8192 ;PDC and master browser setting os level = 64 preferred master = yes local master = yes domain master = yes domain logons = yes dns proxy = No ;Security and logging settings security = user encrypt passward = Yes log file = /var/log/samba/%m.log log level = 2 max log size = 0 host allow = 127.0.0.1 192.168.0.0/255.255.255.0 samba passwd file = /etc/samba/ambpasswd passward program = /usr/bin/passwd %u passwd chat = *New*passward* %n\n* *Retype*new*passwd*%n\n*passwd:*all* *authentication*token*updated*successfully* add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Mechine Account' -s /bin/false -M %u # Domain groups: domain admin group = root@adm [homes] comment = Home Directories browseable = no writable = yes [profiles] path = /home/samba/profiles writable = yes brawseable = no create mask = 0600 directory mask = 0700 [netlogon] comment = Network Logon Services path = /home/netlogon read only = yes browseable = no write list = @admins [printers] comment = All printer path = /var/spool/samba printeble = Yes brawsable = No (b) I added the Samba user Peter and Secretary: - #useradd -m Peter #passwd Peter . #cat /etc/passwd | /usr/bin/mksmbpasswd.sh > /etc/samba/smbpasswd #smbpasswd Peter . (c) I repeated the steps to create account for Secretary. (d) I added root passward to the Samba #smbpasswd -a root .. (e) I did #groupadd -g 200 admins #groupadd -g 201 machines #mkdir -m 0775 /home/netlogon #chown root.admins /home/netlogon #mkdir /home/samba /home/samba/profiles #chmod 1757 /home/samba/profiles (f) At the Windows 98 client I change to Client for Microsoft Networks, Primary Network Logon, Logon to NT Domain. (g) I copied AutoCAD files to /home/Peter/tmp/ and /home/Secretary/tmp/ (2) What happened I re-booted the Samba PDC and Samba started fine. From the Network Neighborhood of window client (Peter and Secretary) I can see CH LINUX SER. I double clicked it I can see CH-HOMES (netbios name). I double clicked CH-HOMES, it prompted for passwd, I enter and I went in CH-HOMES. But, it is an ***empty*** folder. I supposted be able to see to Peter and Secretary folders. And and in Peter and Secretary I supposted be able to see tmp ... I rechecked the smb.conf file many, many times to ensure no spelling error etc, nothing worked out. In the CH-HOMES folder of window client, it is still an empty folder. (3) What I like to see A Samba PDC serving 10 over window clients, each window client login to their respective /home diectory. What has happened?! I am new to Linux and Samba, and help will be greatly appreciated. Thank you Oswald
[Samba] Samba 2.5 PDC + WinXP problem
Hey ppl ! My WinXP workstations are not able to join my domain. I tried to apply the registry fix for plain-text passwords but it has no effects :( My PDC seems to work fine cause i've got no problems with Win2K Workstations... Is there anything i've omitted ? Regards, Amaury
Re: [Samba] cross subnet browsing (win Xp problem)
W dniu Wed, Nov 06, 2002 at 07:38:42AM +0100, Marian Mlcoch, Ing wystukał(a): >Hi Daniel >Browsing on mixed subnets network cross routers is problem. >I dont undestand how is configured your leased line and routers but if your >Win98 clients on second network ok see first segment PCs then problem is >exatly in XP . You must set only tcpip protocol on XP and workgroup must be >some. And wins on XP must be set to samba IP. I now that the problem is in XP, and yes, there's only tcp/ip protocol, and yes again it has WINS server set to Samba fileserver IP. Configuration is set properly (this XP sees all network when connected directly to network with Samba(WINS) server. Some suggestions? -- Daniel Fenert --==> [EMAIL PROTECTED] <==-- ==-P o w e r e d--b y--S l a c k w a r e-=-ICQ #37739641-== The UNIX philosophy basically involves giving you enough rope to hang yourself. And then a couple of feet more, just to be sure. ===- http://daniel.fenert.net/ -===< +48604628083 > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba 2.2.6 and Winbind
You need to look at the documentation for changes to your PAM configuration. Be careful to leave some logged in sessions as fiddling with your PAM setup can lock you out of the machine. HTH -Original Message-From: Lynn [mailto:[EMAIL PROTECTED]]Sent: 05 November 2002 22:25To: [EMAIL PROTECTED]Subject: [Samba] Samba 2.2.6 and Winbind On Samba 2.2.6 and Winbind I used the following command and all are working:/usr/local/samba/bin/wbinfo -u (it did list all win 2000 users)/usr/local/samba/bin/wbinfo -g (it did list all win 2000 groups) root# getent passwd (it list all Linux users)root# getent group (it list all Linux groups)== The problem is. When I am at a Linux command line and I tryto logon to Windows 2000 Server it won 't work. DOMAIN+usernameIn my case it is user logon:WEBOFFICE+biguserpassword: (password entered) It prompt for a password, I enter the password, and it said "invaliduser account." I then log on using just a username and leave out WEBOFFICE user logon: biguser password: (password entered) It still gives me the same errorWhat do I need to do to be able to log onto a Win 2000 server from a Linux computer ? Do you Yahoo!?HotJobs - Search new jobs daily now ---Incoming mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
RE: [Samba] Samba 2.5 PDC + WinXP problem
Did you use the reqsignorseal reg patch as well? Noel -Original Message-From: Amaury DAILLIEZ [mailto:[EMAIL PROTECTED]]Sent: 06 November 2002 09:52To: [EMAIL PROTECTED]Subject: [Samba] Samba 2.5 PDC + WinXP problem Hey ppl ! My WinXP workstations are not able to join my domain. I tried to apply the registry fix for plain-text passwords but it has no effects :( My PDC seems to work fine cause i've got no problems with Win2K Workstations... Is there anything i've omitted ? Regards, Amaury ---Incoming mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
Re: [Samba] Samba wins
Browsing network nothing is work by wins-server. Wins not colect any browsing info! Wins only translate name to ip for all workgroup clients that have set this one wins. Then all clients in all nets and workgroups can use \\name\service ok but not all browse network ok. When you need browse ok you must route broadcast trafic or you must have in all subnets one samba server with browse master and browse sync setup ok. Wins server can by only one. Try read chapter 2.4.1 on http://us2.samba.org/samba/ftp/cvs_current/docs/htmldocs/improved-browsing.h tml - Original Message - From: "Alexander Kuznetsov" <[EMAIL PROTECTED]> To: "Marian Mlcoch, Ing" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 10:24 AM Subject: Re: [Samba] Samba wins > MMI> You dont need diferent wins-server for diferent groups this is poor idea > MMI> best is only one wins. Then clients work ok on all workgroups. > > Ok. But in the different ethernet-network clients can't browse computers > in another workgroup, because wins-server belong to only one workgroup > and not collect browse info about another workgroups. > > Can samba help me in this way ? > > MMI> - Original Message - > MMI> From: "Alexander Kuznetsov" <[EMAIL PROTECTED]> > MMI> To: "Gerald (Jerry) Carter" <[EMAIL PROTECTED]> > MMI> Cc: <[EMAIL PROTECTED]> > MMI> Sent: Monday, November 04, 2002 10:35 AM > MMI> Subject: Re: [Samba] Samba wins > > > >> >> >From my understanding Samba WINS can only be a standalone server -there is > >> >> no code to communicate with other WINS servers. > >> > >> G(C> Correct. There is some experimental WINS replication code in HEAD. > >> G(C> Feel free to play around with it. > >> > >> In another words, if I won't use two workgroups with different names > >> with samba-wins-server in each group, clients in different group can't > >> access client in another group, because samba-wins-server can't exchange wins-reconds > >> between himself ? > >> > >> This future in TODO ? :) > -- > 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] win2k profiles
Hey .. i got a lil question .. trying to get 2k on the domain (samba) with out the prifiles ? everythigns sweet apart from 2k machines make a profile dir .. theres ntohing in the smb.conf file in regards to letting them do that Out line of what im trying to achieve I want the 2k and eventually xp machines to have a windows98 style logon .. ive got the logons going and logon scrtips and that’s working very well. But now I want to get it to not store profiles on the network for any users and what would be awesome is if all domain uses had the same local profile so as we don’t need to setup 3000 profiles Thankyou for any help you might be able to give me
[Samba] cupsaddsmb: cli_pipe: return critical error. Error was SUCCESS - 0
hi list, We got the following problem: We try to use samba 2.2.5 as a printserver for windoze clients (samba 2.2.5 on RH linux 8 w/ CUPS 1.1.15). CUPS works w/o any problems, but when we try to generate the drivers for the windoze clients (by using cupsaddsmb), we get the following error: >> cli_pipe: return critical error. Error was SUCCESS - 0 result was NT_STATUS_UNSUCCESSFUL << Does anybody know this problem, and can point me to a solution? Thanx in advance. Marco PS: Here's the complete output of cupsaddsmb -v -U root phaser: [stdout] added interface ip=192.168.0.12 bcast=192.168.0.255 nmask=255.255.255.0 Domain=[PAION-BERLIN] OS=[Unix] Server=[Samba 2.2.5] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86 putting file /var/spool/cups/tmp/3dc809fc30b6f as \W32X86/phaser.PPD (2189.4 kb/s) (average 2189.5 kb/s) putting file /usr/share/cups/drivers/ADOBEPS5.DLL as \W32X86/ADOBEPS5.DLL (20312.4 kb/s) (average 14649.0 kb/s) putting file /usr/share/cups/drivers/ADOBEPSU.DLL as \W32X86/ADOBEPSU.DLL (15115.3 kb/s) (average 14783.8 kb/s) putting file /usr/share/cups/drivers/ADOBEPSU.HLP as \W32X86/ADOBEPSU.HLP (6549.6 kb/s) (average 14269.1 kb/s) added interface ip=192.168.0.12 bcast=192.168.0.255 nmask=255.255.255.0 Domain=[PAION-BERLIN] OS=[Unix] Server=[Samba 2.2.5] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40 putting file /var/spool/cups/tmp/3dc809fc30b6f as \WIN40/phaser.PPD (1990.4 kb/s) (average 1990.4 kb/s) putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM (20817.8 kb/s) (average 15367.8 kb/s) putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV (20109.1 kb/s) (average 18325.3 kb/s) putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP (17529.0 kb/s) (average 18234.5 kb/s) putting file /usr/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD (4392.1 kb/s) (average 17879.6 kb/s) putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (14419.7 kb/s) (average 17658.1 kb/s) putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (11199.8 kb/s) (average 17409.8 kb/s) cmd = adddriver "Windows NT x86" "phaser:ADOBEPS5.DLL:phaser.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL" cli_pipe: return critical error. Error was SUCCESS - 0 result was NT_STATUS_UNSUCCESSFUL cmd = adddriver "Windows 4.0" "phaser:ADOBEPS4.DRV:phaser.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS. MFM, DEFPRTR2.PPD,ICONLIB.DLL" cli_pipe: return critical error. Error was SUCCESS - 0 result was NT_STATUS_UNSUCCESSFUL cmd = setdriver phaser phaser Succesfully set phaser to driver phaser. Running command: smbclient file://192.168.0.12/print\$ -N -U'root%SECRET' -c 'mkdir W32X86;put /var/spool/cups/tmp/3dc809fc30b6f W32X86/phaser.PPD;put /usr/share/cups/drivers/ADOBEPS5.DLL W32X86/ADOBEPS5.DLL;put /usr/share/cups/drivers/ADOBEPSU.DLL W32X86/ADOBEPSU.DLL;put /usr/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP' Running command: smbclient file://192.168.0.12/print\$ -N -U'root%SECRET' -c 'mkdir WIN40;put /var/spool/cups/tmp/3dc809fc30b6f WIN40/phaser.PPD;put /usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put /usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put /usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put /usr/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put /usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put /usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;' Running command: rpcclient 192.168.0.12 -N -U'root%SECRET' -c 'adddriver "Windows NT x86" "phaser:ADOBEPS5.DLL:phaser.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL" ' Running command: rpcclient 192.168.0.12 -N -U'root%SECRET' -c 'adddriver "Windows 4.0" "phaser:ADOBEPS4.DRV:phaser.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS. MFM, DEFPRTR2.PPD,ICONLIB.DLL"' Running command: rpcclient 192.168.0.12 -N -U'root%SECRET' -c 'setdriver phaser phaser' [end stdout] Now the smbd.log (debug level 10): >>> [2002/11/05 19:37:39, 2] param/loadparm.c:do_section(3042) Processing section "[phaser]" doing parameter printer = phaser doing parameter browseable = yes doing parameter printable = yes doing parameter path = /var/spool/cups doing parameter public = yes doing parameter guest ok = yes doing parameter writeable = no doing parameter printer admin = root [2002/11/05 19:37:39, 2] param/loadparm.c:do_section(3042) Processing section "[print$]" doing parameter printable = yes doing parameter path = /etc/samba/drivers doing parameter browseable = no doing parameter guest ok = yes doing parameter read only = yes doing parameter write list = root [2002/11/05 19:37:39, 4] param/loadparm.c:lp_load(3472) pm_process() returned Yes [2002/11/05 19:37:39, 7] param/loadparm.c:lp_servicenumber(3581) lp_servicenumber: couldn't find homes [2002/11/05 19:37:39, 3] param/loadparm.c:lp_add_ipc(2011) adding IPC service IPC$ [2002/11/05 19:37:39, 3] param/loadparm.c:lp_add_ipc(2011) adding IPC service
Re: [Samba] ms dfs? What is it?
Hi all, >From: David Shapiro <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: [Samba] ms dfs? What is it? >Date: Tue, 5 Nov 2002 15:09:45 -0500 > >What is msdfs? What can you do with it that you could not do without it? > Your first question has been well answered already on this list. To answer your second, we use paths of the form:- \\net\software\antivirus \\net\software\msoffice \\net\users\homes as permanent pathsnames in our setup and configuration of PCs. Because these are all DFS shae, each can point to a different (real) Samba server share, and we can move and change those servers and shares without having to reconfigure all our site's PCs. Another good thing is that the (real) Samba servers don't even know they're the target of the DFS link, because each client (having been redirected to them by \\net) makes a direct connection in the normal way. One problem we have found, is that WinXP (and maybe others) only use the original users's logon name when contacting the (real) Samba servers, so 'Connect As' is not an option. The other problem is the Win95 only sees the DFS tree as an ordinary share, unless you install the DFS client upgrade on to it. Not difficult at all, but an annoyance. Win98 and later have it built in. One huge advantage of Samba over NT/2000 server is (AFAIK) that only Samba can host multiple DFS trees (e.g. 'software', 'users') on a single machine. Windows is limited to one DFS tree per server (or domain). Mac Assistant Systems Adminstrator @nibsc.ac.uk [EMAIL PROTECTED] Work: +44 1707 641000 x285 Everything else: +44 7956 237670 (anytime) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] cross subnet browsing (win Xp problem)
When you connect XP to segment with samba then samba is master browser and all is ok but when you connect to secondary segment without samba then problem is in priority and forwarding broadcast. Try laborate with registry and parameter MaintainServerList=No as described on http://www.buildorbuy.org/browsemaster.html - Original Message - From: "Daniellek" <[EMAIL PROTECTED]> To: "Marian Mlcoch, Ing" <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 10:57 AM Subject: Re: [Samba] cross subnet browsing (win Xp problem) > W dniu Wed, Nov 06, 2002 at 07:38:42AM +0100, Marian Mlcoch, Ing wystukał(a): > >Hi Daniel > >Browsing on mixed subnets network cross routers is problem. > >I dont undestand how is configured your leased line and routers but if your > >Win98 clients on second network ok see first segment PCs then problem is > >exatly in XP . You must set only tcpip protocol on XP and workgroup must be > >some. And wins on XP must be set to samba IP. > > I now that the problem is in XP, and yes, there's only tcp/ip protocol, and yes > again it has WINS server set to Samba fileserver IP. > Configuration is set properly (this XP sees all network when connected > directly to network with Samba(WINS) server. > > Some suggestions? > > -- > Daniel Fenert --==> [EMAIL PROTECTED] <==-- > ==-P o w e r e d--b y--S l a c k w a r e-=-ICQ #37739641-== > Malarstwo: przedstawianie w dwóch wymiarach rzeczy zupeĽnie nieciekawych >nawet w trzech wymiarach. - [Ambrose Bierce] > ===- http://daniel.fenert.net/ -===< +48604628083 > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [SAMBA] Retaining ownership of files
> [EMAIL PROTECTED] wrote: > > > -Original Message- > > From: Yura Pismerov [mailto:ypismerov@;tucows.com] > > Sent: 5. november 2002 15:59 > > To: Fallsen, Tommy > > Cc: [EMAIL PROTECTED] > > Subject: Re: [SAMBA] Retaining ownership of files > > > > > > chown -R group /path/to/the/share > > chmod -R g+w /path/to/the/share group > > find /path/to/the/share -type d -exec chmod g+s {} \; > > > > In smb.conf you will need only 2 options: > > > > create mode = 0664 > > directory mode = 0775 > > > > But all those 60+ developers should be in that group if they also > have > > direct (shell) access to the files. You also should change umask to > 002 > > for their shells. > > > > If you want to maintain different groups within the same > share/directory > > you can run the > > same 3 commands I mentioned but replace "share" with particular > > sub-directory name and "group" with particular group. > > This setup will allow to maintain proper group ownership on OS level > > > (which takes precedence over Samba setup), so on the Samba level you > > > will only have to take care of the proper modes on the > > files/directories. > > > > I hope this helps. > > > > I didn't notice this before, but I found a option inherit permissions, > I assume this allows developers to create new dirs without worry about > setting setgid on them? Using the settings you provided MS Word docs I don't know much about how that option behaves, but what I suggested will take care of setgid and group ownership of any newly created directories and files. > still would change owner, but not group. I don't see this as a Group stays whatever parent directory has it set to. Isn't it what you wanted ? > problem, but I have to > > Make sure the developers know this is how samba behave. > > Tommy Fallsen > > > > > > [EMAIL PROTECTED] wrote: > > > > > > Hi > > > I want users to edit each other files, but not having the > ownership > > > changed at all I.e. user1 create a word doc, user2 can edit it, > but > > > the ownership is not changed to user2. > > > > > > force create mode > > > force directory mode > > > force user > > > force group > > > > > > I know of these , but our share have tons of dirs with files that > have > > > different users and groups, 60+ developers working together. > > > > > > Are there any new options in 2.2.6 that can fix this? > > > > > > thanks > > > > > > ~ > > > Tommy Fallsen System Administrator > > > Kongsberg Defence & Aerospace > > > Email: [EMAIL PROTECTED] > > > TEL: +47 32287783 MOB +47 93057326 > > > WEB: http://www.kongsberg.com/eng/kog/ > > > > > > > > > "The information in this e-mail and in any attachments is > > > confidential and intended solely for the attention and use > > > of the named addressee(s). This information may be subject > > > to legal, professional or other privilege and further > > > distribution of it is strictly prohibited without our > > > authority. If you are not the intended recipient, you > > > are not authorised to and must not disclose, copy, distribute, > > > or retain this message or any part of it, and should notify > > > us immediately." -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] cross subnet browsing (win Xp problem)
W dniu Wed, Nov 06, 2002 at 11:44:27AM +0100, Marian Mlcoch, Ing wystukał(a): >Try laborate with registry and parameter MaintainServerList=No as described >on >http://www.buildorbuy.org/browsemaster.html Thanks, I'll try. -- Daniel Fenert --==> [EMAIL PROTECTED] <==-- ==-P o w e r e d--b y--S l a c k w a r e-=-ICQ #37739641-== QOTD: "He eats like a bird... five times his own weight each day." ===- http://daniel.fenert.net/ -===< +48604628083 > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba problems
Hello for newbies is configuration PDC not best way. Try replace your global section with this simply conf workgroup is default named WORKGROUP leave this first. [global] printing = lprng dns proxy = No security = user encrypt passwords = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 netbios name = CH-HOMES log file = /var/log/samba/%m.log domain master = yes local master = yes preferred master = yes os level = 65 username map = /etc/samba/smbusers max log size = 100 and on clients not set logon to NT but only clasic login to windows ms net but use name and password from smbpasswd Primary problem is home/Peter/tmp directory you copy this but you must change owner of this all to Peter afther copy you run chown -R Peter /home/Peter chmod -R 700 /home/Peter ... then restart samba and try clients. You can try this with your global section PDC then. - Original Message - From: CH ENGINEERING CO. To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 10:47 AM Subject: [Samba] Samba problems Hi! I tried to set up a Samba PDC but so far it is not yet working (3 weeks passed). I posted my Samba problems to news groups and discussion forums, but the suggestions given were not able to solve my problems. I went through a few HOWTOs and followed the step-by-step guide, still can not solve my problem. I am realy new to Linux and Samba and hope sameone will guide me through. (1) What I did: - (a) I installed the samba samba-swat, samba-common, samba-client, and edited /etc/samba/smb.conf files as following: - # Samba config file created using SWAT # from chee_ch.com (127.0.0.1) # Date : 2002/10/26 # Global parmeters [global] ;Basic server setting 3/11/2002 workgroup = CH LINUX SER netbios name = CH-HOMES server string = Primary Domain Server running Samba %v socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF = 8192 SO_SNDBUF = 8192 ;PDC and master browser setting os level = 64 preferred master = yes local master = yes domain master = yes domain logons = yes dns proxy = No ;Security and logging settings security = user encrypt passward = Yes log file = /var/log/samba/%m.log log level = 2 max log size = 0 host allow = 127.0.0.1 192.168.0.0/255.255.255.0 samba passwd file = /etc/samba/ambpasswd passward program = /usr/bin/passwd %u passwd chat = *New*passward* %n\n* *Retype*new*passwd*%n\n*passwd:*all* *authentication*token*updated*successfully* add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Mechine Account' -s /bin/false -M %u # Domain groups: domain admin group = root@adm [homes] comment = Home Directories browseable = no writable = yes [profiles] path = /home/samba/profiles writable = yes brawseable = no create mask = 0600 directory mask = 0700 [netlogon] comment = Network Logon Services path = /home/netlogon read only = yes browseable = no write list = @admins [printers] comment = All printer path = /var/spool/samba printeble = Yes brawsable = No (b) I added the Samba user Peter and Secretary: - #useradd -m Peter #passwd Peter . #cat /etc/passwd | /usr/bin/mksmbpasswd.sh > /etc/samba/smbpasswd #smbpasswd Peter . (c) I repeated the steps to create account for Secretary. (d) I added root passward to the Samba #smbpasswd -a root .. (e) I did #groupadd -g 200 admins #groupadd -g 201 machines #mkdir -m 0775 /home/netlogon #chown root.admins /home/netlogon #mkdir /home/samba /home/samba/profiles #chmod 1757 /home/samba/profiles (f) At the Windows 98 client I change to Client for Microsoft Networks, Primary Network Logon, Logon to NT Domain. (g) I copied AutoCAD files to /home/Peter/tmp/ and /home/Secretary/tmp/ (2) What happened I re-booted the Samba PDC and Samba started fine. From the Network Neighborhood of window client (Peter and Secretary) I can see CH LINUX SER. I double clicked it I can see CH-HOMES (netbios name). I double clicked CH-HOMES, it prompted for passwd, I enter and I went in CH-HOMES. But, it is an ***empty*** folder. I supposted be able to see to Peter and Secretary folders. And and in Peter and Secretary I supposted be able to see tmp ... I rechecked the smb.conf file many, many times to ensure no spelling error etc, nothing worke
[Samba] Password synchronization with PAM
I have looked at pam_smbpass recently. It works well. However, this module can only synchronize the passwords with a local smbpasswd file. Now, suppose we have a NIS domain with many unix hosts and users can change passwords on any of those hosts. Is there a PAM module that would allow synchronize passwords with a Samba server that's running on some other host? -akop -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba-ldap-pdc
hi, > I have a problem with samba-ldap-pdc. > I am using debian woody with samba 2.2.3a and openldap 2.0.23-6. > Everything works fine when loggin onto the domain when using windows > 98se. But when i try too add a windows 2000 computer to the domain it > says this in the logfiles : > > [2002/11/05 15:46:29, 2] passdb/pdb_ldap.c:init_sam_from_ldap(511) > init_sam_from_ldap: User [pc-marco$] does not ave a uid! could it be that you haven't created a workstationaccount for the w2k-box? > But I do know that samba works pdc works and ldap works. Cause windows > 98 has no problems and logs nicely in. w98 doesn't need a ws-account because the networkfunctionallity is different then the one of nt, w2k or xp! lg thomas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] "primary domain controller"+"internet access"
Hello, Iam just planning to go with samba as a primary domain controller.And i just had an idea whether the LAN users once authenticated in PDC has an access to the file and print services.Can i use the same PDC and untill a user is authorized there is no internet access given.Did anyone have the same idea or worked before at anytime.Please guide me . thanks in advance prasad. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba 2.5 PDC + WinXP problem
Look under http://samba.mirror.ac.uk/samba/docs/ for this one: The Unoffical Samba HOWTO, by David Lechnyr http://hr.uoregon.edu/davidrl/samba.html search for 'requiresignorseal' Noel -Original Message-From: Amaury DAILLIEZ [mailto:[EMAIL PROTECTED]]Sent: 06 November 2002 11:42To: Noel KellySubject: Re: [Samba] Samba 2.5 PDC + WinXP problem i didn't heard about that reg patch :( where can i find it ? Regards, Amaury - Original Message - From: Noel Kelly To: 'Amaury DAILLIEZ' ; [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 11:07 AM Subject: RE: [Samba] Samba 2.5 PDC + WinXP problem Did you use the reqsignorseal reg patch as well? Noel -Original Message-From: Amaury DAILLIEZ [mailto:[EMAIL PROTECTED]]Sent: 06 November 2002 09:52To: [EMAIL PROTECTED]Subject: [Samba] Samba 2.5 PDC + WinXP problem Hey ppl ! My WinXP workstations are not able to join my domain. I tried to apply the registry fix for plain-text passwords but it has no effects :( My PDC seems to work fine cause i've got no problems with Win2K Workstations... Is there anything i've omitted ? ---Incoming mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
Re: [Samba] Valid characters in NT user/pass, wbinfo -a
I was trying to avoid having users type the whole MY_DOMAIN_HERE+user thing, and have just the user be sufficient. It's been said recently on the list that winbind use default domain should not be used in the 2.x series, and it's appearance in the 2.x series was accidental. without use default domain, is there any way to use pam_winbind to add the domain name to the front? ~ Daniel [EMAIL PROTECTED] wrote: On Wed, 2002-11-06 at 00:27, [EMAIL PROTECTED] wrote: Samba 2.2.6. I've been looking for (without success) a doc that specifies what characters are valid in an NT login/password. A script will popen '/usr/bin/wbinfo -a MY_DOMAIN+"'+user+'"%"'+passw+'"' where user and passw are untrusted submitted values, so you can understand my concern. I want to keep things tight but not reject valid user/pass combinations. Don't use it like that. Instead use pam_winbind. (Because this is a standard interface that won't change). If you are using perl for your scripting language, then you can use Authen::PAM to hook in with it. Andrew Bartlett -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] PDC and logon script - try 2
Hi everyone, I have a question about the logon script command. I've read and read and read the man page for smb.conf. In essence, I've duplicated the settings on the PDC how-to document to create a PDC with a logon script. However, when I log in, the scrips doesn't run. The only thing I don't have enabled, like the how-to, is roaming profiles. I'll include my smb.conf for review. I'm running 2.2.5 at work. I have a second Samba at home, with roaming profiles, but it doesn't work there, either (it's running 2.2.6). A second issue I am having is, after upgrading from 2.2.5 to 2.2.6, all my CUPS printers are not visible over the netowrk. Cups seems them as installed, but I can't see them over the netowrk. I stopped samba before doing the update. I did the update, in which I recieved an error (which I think I've posted to the list), then I started the samba service. since then, I've had nothing but trouble. I can't see any printers and I can't get connected to the network (although I don't believe this is due to the update...I think). Any help would be appreciated as I'm about to update the production server to CUPS. I was also wanting to update the samba server to 2.2.6 smb.conf: [global] coding system = client code page = 850 code page directory = /usr/share/samba/codepages workgroup = TE* netbios name = LINUX1 netbios aliases = netbios scope = server string = Linux Server interfaces = bind interfaces only = No security = USER encrypt passwords = Yes update encrypted = No allow trusted domains = Yes hosts equiv = min passwd length = 5 map to guest = Never null passwords = No obey pam restrictions = Yes password server = smb passwd file = /etc/samba/smbpasswd root directory = pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* passwd chat debug = No username map = password level = 0 username level = 0 unix password sync = Yes restrict anonymous = No lanman auth = Yes use rhosts = No log level = 2 syslog = 1 syslog only = No log file = /var/log/samba/%m.log max log size = 0 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 = Yes unix extensions = 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 SO_RCVBUF=8192 SO_SNDBUF=8192 stat cache size = 50 use mmap = Yes total print jobs = 0 load printers = Yes printcap name = /etc/printcap 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 = @root domain guest group = machine password timeout = 604800 add user script = /usr/sbin/adduser -d /dev/null -g 100 -s /bin/false -M %m$ delete user script = logon script = logon.cmd logon path = \\%N\%U\profile logon drive = logon home = \\%N\%U domain logons = Yes os level = 99 lm announce = Auto lm interval = 60 preferred master = True local master = Yes domain master = True browse list = Yes enhanced browsing = Yes dns proxy = No wins proxy = No wins server = 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 = /var/cache/samba utmp directory = wtmp directory = utmp = No default service = message command = dfree command = valid chars = remote ann
[Samba] Multiple Groups Assigned to a File
I'm new to this group so I hope that this is the right place to ask this question (if not, let me know): We are setting up several Samba servers and we've run into a problem with file permissions. We've have a few shared folders that we'd like for some GROUPS to have read/write access and other GROUPS to have only read access. I cannot figure out how to do this because Linux/Unix seems to have the limitation that a file can only be owned by one user and one group, and the permissions are only applicable to the owner (user and group). Is there a way to assign more than one group to a file, and make it so the different groups have different permissions (Like NDS and Microsoft do)? If not, how do people get around this? Thanks for any help. Jess Cannata Systems Administrator Advanced Research Computing Georgetown University _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Can't print duplex
Title: Can't print duplex I am using Samba 2.2.6 on a Solaris 2.8 print server. When I try to print from an XP client to an HP LaserJet 8000 or 8150 printer with the drivers installed locally, everything works fine including "Duplex" printing. When I try to print to a printer with the drivers stored on the Samba server, the "Duplex" feature is not available to the application. The client is able to turn on Duplexing in the "Printers and Faxes" folder and it appears to be installed, but when you try to select Duplex from the "Layout" tab from within an application, two sided printing is not available. Has anyone seen this problem?
RE: [Samba] Multiple Groups Assigned to a File
Check out the smb.conf parameters 'read list=' & 'write list=' with which you can assign users and groups these permissions to shares. HTH Noel -Original Message- From: Jess Cannata [mailto:doubtful500@;hotmail.com] Sent: 06 November 2002 14:28 To: [EMAIL PROTECTED] Subject: [Samba] Multiple Groups Assigned to a File I'm new to this group so I hope that this is the right place to ask this question (if not, let me know): We are setting up several Samba servers and we've run into a problem with file permissions. We've have a few shared folders that we'd like for some GROUPS to have read/write access and other GROUPS to have only read access. I cannot figure out how to do this because Linux/Unix seems to have the limitation that a file can only be owned by one user and one group, and the permissions are only applicable to the owner (user and group). Is there a way to assign more than one group to a file, and make it so the different groups have different permissions (Like NDS and Microsoft do)? If not, how do people get around this? Thanks for any help. Jess Cannata Systems Administrator Advanced Research Computing Georgetown University _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Multiple Groups Assigned to a File
Should have added that if you want more sophisticated (and therefore more complex administration) permissions then you can use ACLs. However at the moment this requires that you compile your kernel with ACL support using patches or grab an ACL enabled kernel/filesystem like XFS from SGI. Noel -Original Message- From: Jess Cannata [mailto:doubtful500@;hotmail.com] Sent: 06 November 2002 14:28 To: [EMAIL PROTECTED] Subject: [Samba] Multiple Groups Assigned to a File I'm new to this group so I hope that this is the right place to ask this question (if not, let me know): We are setting up several Samba servers and we've run into a problem with file permissions. We've have a few shared folders that we'd like for some GROUPS to have read/write access and other GROUPS to have only read access. I cannot figure out how to do this because Linux/Unix seems to have the limitation that a file can only be owned by one user and one group, and the permissions are only applicable to the owner (user and group). Is there a way to assign more than one group to a file, and make it so the different groups have different permissions (Like NDS and Microsoft do)? If not, how do people get around this? Thanks for any help. Jess Cannata Systems Administrator Advanced Research Computing Georgetown University _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] PDC and logon script - try 2
What permissions do you have on your netlogon directory? Should be r-x for everyone. Noel -Original Message- From: Darin Bawden [mailto:dbawden@;teamdme.com] Sent: 06 November 2002 14:22 To: Samba List Subject: [Samba] PDC and logon script - try 2 Hi everyone, I have a question about the logon script command. I've read and read and read the man page for smb.conf. In essence, I've duplicated the settings on the PDC how-to document to create a PDC with a logon script. However, when I log in, the scrips doesn't run. The only thing I don't have enabled, like the how-to, is roaming profiles. I'll include my smb.conf for review. I'm running 2.2.5 at work. I have a second Samba at home, with roaming profiles, but it doesn't work there, either (it's running 2.2.6). A second issue I am having is, after upgrading from 2.2.5 to 2.2.6, all my CUPS printers are not visible over the netowrk. Cups seems them as installed, but I can't see them over the netowrk. I stopped samba before doing the update. I did the update, in which I recieved an error (which I think I've posted to the list), then I started the samba service. since then, I've had nothing but trouble. I can't see any printers and I can't get connected to the network (although I don't believe this is due to the update...I think). Any help would be appreciated as I'm about to update the production server to CUPS. I was also wanting to update the samba server to 2.2.6 smb.conf: [global] coding system = client code page = 850 code page directory = /usr/share/samba/codepages workgroup = TE* netbios name = LINUX1 netbios aliases = netbios scope = server string = Linux Server interfaces = bind interfaces only = No security = USER encrypt passwords = Yes update encrypted = No allow trusted domains = Yes hosts equiv = min passwd length = 5 map to guest = Never null passwords = No obey pam restrictions = Yes password server = smb passwd file = /etc/samba/smbpasswd root directory = pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* passwd chat debug = No username map = password level = 0 username level = 0 unix password sync = Yes restrict anonymous = No lanman auth = Yes use rhosts = No log level = 2 syslog = 1 syslog only = No log file = /var/log/samba/%m.log max log size = 0 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 = Yes unix extensions = 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 SO_RCVBUF=8192 SO_SNDBUF=8192 stat cache size = 50 use mmap = Yes total print jobs = 0 load printers = Yes printcap name = /etc/printcap 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 = @root domain guest group = machine password timeout = 604800 add user script = /usr/sbin/adduser -d /dev/null -g 100 -s /bin/false -M %m$ delete user script = logon script = logon.cmd logon path = \\%N\%U\profile logon drive = logon home = \\%N\%U domain logons = Yes os level = 99 lm announce = Auto lm interval = 60 preferred master = True local master = Yes domain master = True browse list = Yes enhanced browsing = Yes dns proxy = No wins proxy = No wins server = wins support = No wins hook = kernel oplocks = Yes oplock break wait time = 0 add share command = change share command = delete share command =
[Samba] can't quite get share working on w2k
Hello, I am running a samba server on freebsd as a workgroup. When i try to access the server through My Network Places -> computers near me, i see my bsd samba share...when i double click on the server i get an error saying the server is not accessible. here are parts of my smb.conf file... [global] workgroup = THE-MATRIX netbios name = trinity hosts allow = 192.168.1. . . . security = user . . . [homes] comment = Home Directories browseable = no writable = yes valid users = %S valid users = henninb create mode = 0664 directory mode = 0775 can anyone see a problem with my setup? i am not sure why it is not working... thanks, b -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba-ldap-pdc
hi martijn, which rid does the client have? -) i had similar problems at testing the system, but i found out that i had to set the rid like the following formula: rid = (uidNumber * 2) + 1000 don't ask me why, but (in my case) it works without any problems since those modifications! lg thomas > Hi Thomas, > > Thanks for your response. But the computer has got a trusted account > for sure. Logfile show me that authentication is done, and the trusted > account is found. But it keeps saying User[pc-marco$] does not ave a > uid. But when I look into the ldap-dir it has a uid for sure. > > Greets, > > Martijn > On Wednesday 06 November 2002 13:30, you wrote: >> hi, >> >> > I have a problem with samba-ldap-pdc. >> > I am using debian woody with samba 2.2.3a and openldap 2.0.23-6. >> > Everything works fine when loggin onto the domain when using windows >> > 98se. But when i try too add a windows 2000 computer to the domain >> > it says this in the logfiles : >> > >> > [2002/11/05 15:46:29, 2] passdb/pdb_ldap.c:init_sam_from_ldap(511) >> > init_sam_from_ldap: User [pc-marco$] does not ave a uid! >> >> could it be that you haven't created a workstationaccount for the >> w2k-box? >> >> > But I do know that samba works pdc works and ldap works. Cause >> > windows 98 has no problems and logs nicely in. >> >> w98 doesn't need a ws-account because the networkfunctionallity is >> different then the one of nt, w2k or xp! >> >> lg >> thomas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
FW: [Samba] Odd Service Outages
This is the error clients sometimes receive: "No service is operating at the destination network endpoint on the remote system." We removed the "socket options" from the config. We added the local IPs into the /etc/hosts file. Machines that may have connectivity to Samba are working away without a problem, while people who are just trying to connect may get that message. We have not figured out why some people get this error while others are able to browse Samba okay. Thanks, Scott Moseman -Original Message- From: [EMAIL PROTECTED] [mailto:samba-admin@;lists.samba.org] On Behalf Of Scott Moseman Sent: Monday, November 04, 2002 9:24 AM To: [EMAIL PROTECTED] Subject: [Samba] Odd Service Outages Red Hat 7.2 Samba 2.2.1 Recently configured Samba, and I am the only user right now while I review out the server integrity. I mapped a drive to my Samba share, it works fine. But occasionally, when I come into work, I have to endure a couple timeouts trying to connect to the Samba server until it works. Sometimes when I get to the office it works fine on the first connect. Is there a config option I should look at using? This is the only option in the config which I am not sure what it does (copied from a sample): (Maybe this is wrong and/or needs adjustment?) socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Thanks, Scott Moseman -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] NT4 Standalone Server How to join a Samba PDC
Is is possible to join a NT standalone Server ( NT4 Terminal server) to a Samba PDC ? In the documantations only Windows clients are mentioned. Has any one done it already ? Or must I wait until somewhere into Relase 3.xx ? Regards Heinrich Schoene begin:vcard n:Schöne;Heinrich tel;fax:(+ 49 40) 23855 201 oder (+49 30 6104) 64 201 tel;work:(+ 49 40) 23855 316 oder (+49 30 6104) 64 316 x-mozilla-html:TRUE org:DeTeWe Ag & Co;Entwicklung Hamburg adr:;;Frankenstr. 10;Hamburg;;D20097;Germany version:2.1 email;internet:[EMAIL PROTECTED] title:Dipl. Inform. note:SW-Developement & Sytem Administration x-mozilla-cpt:;-9288 fn:Heinrich Schöne end:vcard
[Samba] why is netlogon sharing accessed twice?
Hello, I´m doing some test using preexec and postexec in netlogon sharing. It´s a little bit odd, but when a user logon in the PDC, he goes in netlogon, exit, and then go back in the sharing to run the netlogon.bat script I´ve created. So on, the preexec and postexec commands are runned twice instead just once. This is normal? I´ve commented the login script option, and the commands are executed just once. But the user do not reach the batch file. Seems to be that netlogon sharing is look for at logon time because domain logon is setup as "yes". There is anyway to chance that without losing functionality? Thanks, = Alceu Rodrigues de Freitas Junior -- [EMAIL PROTECTED] http://www.imortais.cjb.net -- Hell is empty and all the devils are here. -- Wm. Shakespeare, "The Tempest" ___ Yahoo! GeoCities Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e acessórios. http://br.geocities.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba wins
MMI> Browsing network nothing is work by wins-server. Wins not colect any MMI> browsing info! MMI> Wins only translate name to ip for all workgroup clients that have set this MMI> one wins. MMI> Then all clients in all nets and workgroups can use \\name\service ok but MMI> not all browse network ok. MMI> When you need browse ok you must route broadcast trafic or you must have in MMI> all subnets one samba server MMI> with browse master and browse sync setup ok. MMI> Wins server can by only one. MMI> Try read chapter 2.4.1 on MMI> http://us2.samba.org/samba/ftp/cvs_current/docs/htmldocs/improved-browsing.h MMI> tml "If after several attempts of nothing it turns out, read, at last, the instruction." :)) Big thanks. All problem is solved. MMI> - Original Message - MMI> From: "Alexander Kuznetsov" <[EMAIL PROTECTED]> MMI> To: "Marian Mlcoch, Ing" <[EMAIL PROTECTED]> MMI> Cc: <[EMAIL PROTECTED]> MMI> Sent: Wednesday, November 06, 2002 10:24 AM MMI> Subject: Re: [Samba] Samba wins >> MMI> You dont need diferent wins-server for diferent groups this is poor MMI> idea >> MMI> best is only one wins. Then clients work ok on all workgroups. >> >> Ok. But in the different ethernet-network clients can't browse computers >> in another workgroup, because wins-server belong to only one workgroup >> and not collect browse info about another workgroups. >> >> Can samba help me in this way ? >> >> MMI> - Original Message - >> MMI> From: "Alexander Kuznetsov" <[EMAIL PROTECTED]> >> MMI> To: "Gerald (Jerry) Carter" <[EMAIL PROTECTED]> >> MMI> Cc: <[EMAIL PROTECTED]> >> MMI> Sent: Monday, November 04, 2002 10:35 AM >> MMI> Subject: Re: [Samba] Samba wins >> >> >> >> >> >From my understanding Samba WINS can only be a standalone MMI> server -there is >> >> >> no code to communicate with other WINS servers. >> >> >> >> G(C> Correct. There is some experimental WINS replication code in MMI> HEAD. >> >> G(C> Feel free to play around with it. >> >> >> >> In another words, if I won't use two workgroups with different names >> >> with samba-wins-server in each group, clients in different group can't >> >> access client in another group, because samba-wins-server can't MMI> exchange wins-reconds >> >> between himself ? >> >> >> >> This future in TODO ? :) >> -- >> 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] Linux trust
I have a Linux Samba PDC with a tenth of win2k machines and 1 Linux machines. With windows everything works fine, but It often happend that the Linux machine loses her trusr account and I have to reboot both to have the linux access Domain user list. I can't explain this and with normal debug I don't have any hint. Davide Parise [EMAIL PROTECTED]
[Samba] smb_trans2_request: result=-104, setting invalid
I'm having problems with smb connections either timing out or becoming corrupted after about 5 minutes of inactivity??? We mount all our user homedirs (smb shares) through pam_mount at login. The workaround is to logout and login again. /var/log/messages has a line that looks related: kernel: smb_trans2_request: result=-104, setting invalid Please help! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Creating Samba PDC
I currently have a samba server running (2.2.5) on Solaris8. I would like to make it a PDC. The question: Can I make the samba server a PDC without effecting the other users/ machines that are still looking at the workgroup? Can both exist at the same time and have users/machines join the domain latter. I realize this is a vague question, I hope someone can answer this. Thanks, Mike -- Michael G. Noble RF Magic, Inc. Senior System Administrator 10182 Telesis Ct., 4th Floor San Diego, CA. 92121 mailto:mnoble@;rfmagic.com voice: (858) 546-2401 x207 fax: (858) 546-2402 -- There is Sanity in my Madness! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] LifeTips.com Questions for Review
Hello, Heather Welborn, one of our Editors and Gurus at LifeTips.com, thought your site samba.anu.edu.au would be of great interest to our network of 1+ million members. Could you please forward this e-mail to your Marketing Manager or Affiliate Program Manager? Thanks if so. I would like to learn more about your site and/or affiliate program. And get your help in selecting 10 sites and groups in our network that would benefit from your site. LifeTips.com is a community of hundreds of Guru sites all owned at operated by LifeTips.com, Inc. Our targeted Guru sites offer 50,000+ free time-saving tips, inside knowledge, tricks of the trade and links to sites like yours. We send 1 million+ opt-in Guru TipLetters monthly to members. And each Guru site is packed with content that helps search engine rankings and traffic growth. Please call me at 877-454-3384 x 203. And for a quick overview of LifeTips.com, visit our Marketing Services page: http://www.LifeTips.com/advertise/advertise.asp LifeTips.com can guarantee quality traffic to your site and marketing success. Our click through rates (1-7%), earnings per click ($2.08) and conversions rate (1-5%) are among the highest on the web. We charge only a yearly setup fee starting at $100 that helps separate the leaders from the pack. And we guarantee at least 10,000 clicks or many more on your campaigns that run in our network 24 x 7 x 365. In only 10 minutes, load your 88 x 31, 468 x 60, text links AND opt-ins text promos using our Ad Engine on up to ten sites YOU select in our network. It is first-come, first-served; and we limit the number of advertisers on each site. We are growing like wildflowers, launching another 400+ additional Gurus sites in the next few months. Who you, a Guru? Yes you. Become a Guru and earn as you help your fans learn! Look forward to hearing from you. And use this code 1068 for a $25 discount. Byron White LifeTips.com [EMAIL PROTECTED] 877-4LifeTips.com x 203 877-454-3384 x 203 To Unsubscribe to this e-mail, simply visit the LifeTips.com home page, click on Unsubscribe in the top nav bar, enter your e-mail, and remove your e-mail address from our mailing list permanently. Is it magic? Our clients think so. "I am hugely impressed with the amount of quality traffic and clicks I have received in so short a time. Also, as a search engine placement guru, I was nevertheless astounded to find top listings in some Big search engines directly quoting the simple text ads I had placed with LifeTips.com. This is LifeTips.com magic. Congratulations to us both! I recommend and will definitely re-new with Lifetips.com!" Jeff Frieberg http://www.shopping-as-seen-on-tv.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printing to pdf
Hi there! I have recently installed linux and samba on one server. I would like to know if I can make Windows machines use the pdf-generator printer that is shared by default with samba? When I try to add this printer to a W2K machine I always get the message "The driver is not the appropriate. Do you want to install the right driver locally on your machine?" Could anyone help me out with this. Thanks, Stefan Tunsch -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] PDC and logon script - try 2
Thanks to everyone. The permissions on the directory and CMD file was the problem (Ok, I feel like a dope now). Anyway, can anyone help with the other problem concerning the printers? I'm afraid I'm gonna have to reinstall RedHat now, since I can't get either NIC card onto the network. Can a samba upgrade kill hardware? LOL Darin Bawden TeamDME! Technical Support Phone: (615)333-1900 x.19 [EMAIL PROTECTED] -Original Message- From: Noel Kelly [mailto:nkelly@;citrusnetworks.net] Sent: Wednesday, November 06, 2002 9:10 AM To: 'Darin Bawden'; Samba List Subject: RE: [Samba] PDC and logon script - try 2 What permissions do you have on your netlogon directory? Should be r-x for everyone. Noel -Original Message- From: Darin Bawden [mailto:dbawden@;teamdme.com] Sent: 06 November 2002 14:22 To: Samba List Subject: [Samba] PDC and logon script - try 2 Hi everyone, I have a question about the logon script command. I've read and read and read the man page for smb.conf. In essence, I've duplicated the settings on the PDC how-to document to create a PDC with a logon script. However, when I log in, the scrips doesn't run. The only thing I don't have enabled, like the how-to, is roaming profiles. I'll include my smb.conf for review. I'm running 2.2.5 at work. I have a second Samba at home, with roaming profiles, but it doesn't work there, either (it's running 2.2.6). A second issue I am having is, after upgrading from 2.2.5 to 2.2.6, all my CUPS printers are not visible over the netowrk. Cups seems them as installed, but I can't see them over the netowrk. I stopped samba before doing the update. I did the update, in which I recieved an error (which I think I've posted to the list), then I started the samba service. since then, I've had nothing but trouble. I can't see any printers and I can't get connected to the network (although I don't believe this is due to the update...I think). Any help would be appreciated as I'm about to update the production server to CUPS. I was also wanting to update the samba server to 2.2.6 smb.conf: [global] coding system = client code page = 850 code page directory = /usr/share/samba/codepages workgroup = TE* netbios name = LINUX1 netbios aliases = netbios scope = server string = Linux Server interfaces = bind interfaces only = No security = USER encrypt passwords = Yes update encrypted = No allow trusted domains = Yes hosts equiv = min passwd length = 5 map to guest = Never null passwords = No obey pam restrictions = Yes password server = smb passwd file = /etc/samba/smbpasswd root directory = pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* passwd chat debug = No username map = password level = 0 username level = 0 unix password sync = Yes restrict anonymous = No lanman auth = Yes use rhosts = No log level = 2 syslog = 1 syslog only = No log file = /var/log/samba/%m.log max log size = 0 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 = Yes unix extensions = 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 SO_RCVBUF=8192 SO_SNDBUF=8192 stat cache size = 50 use mmap = Yes total print jobs = 0 load printers = Yes printcap name = /etc/printcap 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 = @root domain guest group = machine password timeout = 604800 add user script = /usr/sbin/adduser -d /dev/null -g 100 -s /bin/false -M %m$ delete user script =
[Samba] Help!!
Hi, I am trying to use samba 2.2.6 (Under RedHat 7.3) to replace a NT file server. But I would like to have the folder and file security as offered by NT. I also like to validate the domain users via NT 4.0 SP6a domain. I am having hard time making it work. Please help.. My smb.conf file looks like this. [global] workgroup = AMSIDOMN netbios name = ISLINUX ; allow trusted domains = yes ; nt acl support = yes server string = Test Server %v log file = /var/log/samba/log.%m max log size = 50 security = domain password server = * encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no large readwrite = Yes # Share Definitions == [data] comment = Data Folder path = /usr/data read only = no create mask = 0765 directory mask = 0777 delete readonly = yes writable = yes Samba server joined the NT domain successfully. I can view the samba server and the data folder but it still asks me for user name and password when I am trying to access the data folder. I would like to maintain the user name and password only on NT domain controller. Also I would like to optimize this samba server for Microsoft network. I am not sure what I am doing wrong. Forgive me, I am a new user as far as samba and Linux goes. Thanks in advance, Rana Huq
Re: [Samba] Printing to pdf
Hi Stefan, > I have recently installed linux and samba on one server. which linux distribution? > I would like to know if I can make Windows machines use the pdf-generator > printer that is shared by default with samba? AFAIK there is no distribution, which comes with a pdf-printing-share by default . If you are using eisfair with samba package 1.0.9 and ghostscript package 1.0.2, then you have to install an postscript driver on the client: For colored pdf try Apple Color LW 12/660 PS, for black/white Apple Laserwriter 12/640. > When I try to add this printer to a W2K machine I always get the message "The > driver is not the appropriate. Do you want to install the right driver > locally on your machine?" You have to install the driver local - I tried an automatic download but I guess there is a problem with printers, which are not associated with an printcap entry. > Could anyone help me out with this. HTH tom Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Can't print duplex
Hi, > I am using Samba 2.2.6 on a Solaris 2.8 print server. > When I try to print from an XP client to an HP LaserJet 8000 or 8150 > printer with the drivers installed locally, everything works fine > including "Duplex" printing. > > When I try to print to a printer with the drivers stored on the Samba > server, the > "Duplex" feature is not available to the application. The client is > able to turn on > Duplexing in the "Printers and Faxes" folder and it appears to be > installed, but > when you try to select Duplex from the "Layout" tab from within an > application, > two sided printing is not available. > Has anyone seen this problem? Yes. We are experiencing this problem for several months now, but no solution in sight *sigh* I am afraid Jerry didn't catch all bugs concerning printing... Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Help!!
- Original Message - From: Rana Huq To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 3:35 PM Subject: [Samba] Help!! Hi, I am trying to use samba 2.2.6 (Under RedHat 7.3) to replace a NT file server. But I would like to have the folder and file security as offered by NT. I also like to validate the domain users via NT 4.0 SP6a domain. I am having hard time making it work. Please help.. My smb.conf file looks like this. For NT like file permissions you need a file system or ACL kernel support. You don't appear to be using Winbind? Read the HOWTO If you have any problems with winbind please mail back to the list. PS don't mail in HTML. Shaolin - IT Systems WB Ltd. .: http://www.security-forums.com :. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Newbie Question - installing Samba
Title: Message I'm trying to use a simplified version of the online manual that you can view at: http://members.rogers.com/freeballer/Downloads/samba-howto.pdf My Lan Being:Downstairs (Samba/Linux Machine) 192.168.1.101Laptop 192.168.1.100Wacko 192.168.1.102 Everything was going good so far until this point[root@Downstairs root]# killall -HUP inetdinetd: no process killed[root@Downstairs root]# kate /etc/smb.conf*** REDIRECTED: lan://localhost/[root@Downstairs root]# /etc/rc.d/init.d/smb stopShutting down SMB services: [FAILED][root@Downstairs root]# /etc/rc.d/init.d/smb startStarting SMB services: [ OK ][root@Downstairs root]# smbclient -L localhost added interface ip=192.168.1.101 bcast=192.168.1.255 nmask=255.255.255.0 added interface ip=172.16.187.1 bcast=172.16.187.255 nmask=255.255.255.0 added interface ip=172.16.170.1 bcast=172.16.170.255 nmask=255.255.255.0 added interface ip=172.16.171.1 bcast=172.16.171.255 nmask=255.255.255.0 error connecting to 127.0.0.1:139 (Connection refused) Error connecting to 127.0.0.1 (Connection refused) Connection to localhost failed [root@Downstairs root]# I created the host, lmhost file entries and all that EXCEPT FOR tcp wrappers, I did not create entries in the /etc/hosts.deny and /etc/hosts.allow files. The manual says that a single entry "ALL" should be in the deny file and allow file sould have: "swat : 127.0.0.1 192.168.0.1" Which I'm guessing is why swat didn't allow me to connect to it Am I right! I just couldn't find any simple explanation on the "tcp wrappers"!!!I opened the /etc/smb.conf file and found no entries at all in it But I went to one of the windows PCs and found a new workgroup (MyGroup). Which my LAN is using "Freeballer" Please help me out, I know kind of stupid questions but this is my first time installing/configuration samba and the other online manuals aren't for newbies (at least the ones I found, in my opinion)... Hey at least i'm trying huh?! (trying to learn something besides windows) There Are No Stupid Questions "It is better to look foolish for a moment than to be ignorant for a lifetime." -Chinese proverb
Re: [Samba] ms dfs? What is it?
On Wed, Nov 06, 2002 at 02:37:20PM +1100, Matthew Hannigan wrote: > On Tue, Nov 05, 2002 at 04:39:59PM -0600, Michael Heironimus wrote: > > It's a "distributed filesystem" for Windows, allowing you to split the > > logical view of shares from the physical locations. You have one > > top-level DFS share that can be mounted by 95 and newer clients (as far > > [ ... ] > > But I guess it uses the SMB protocol for the basics? Right, the actually share connections are done with SMB. I don't think the real servers even know they're being accessed via a DFS mount. -- Michael Heironimus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing to pdf
Hi Thomas, The distribution is Mandrake Linux 9.0 OK, I install driver local, but which driver? W2K doesn't come with a pdf printer driver, does it? Regards, Stefan Tunsch El Mié 06 Nov 2002 18:49, Thomas Bork escribió: > Hi Stefan, > > > I have recently installed linux and samba on one server. > > which linux distribution? > > > I would like to know if I can make Windows machines use the pdf-generator > > printer that is shared by default with samba? > > AFAIK there is no distribution, which comes with a pdf-printing-share by > default . If you are using eisfair with samba package 1.0.9 and ghostscript > package 1.0.2, then you have to install an postscript driver on the client: > > For colored pdf try Apple Color LW 12/660 PS, for black/white Apple > Laserwriter 12/640. > > > When I try to add this printer to a W2K machine I always get the message > > "The driver is not the appropriate. Do you want to install the right > > driver locally on your machine?" > > You have to install the driver local - I tried an automatic download but I > guess there is a problem with printers, which are not associated with an > printcap entry. > > > Could anyone help me out with this. > > HTH > > tom > > Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! > Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing to pdf
Hallo Stefan Tusch, you wrote: > The distribution is Mandrake Linux 9.0 > OK, I install driver local, but which driver? W2K doesn't come with a > pdf printer driver, does it? please read carefully. I wrote: >> [...] then you have to >> install an postscript driver on the client: >> >> For colored pdf try Apple Color LW 12/660 PS, for black/white Apple >> Laserwriter 12/640. Sorry, I don't using Mandrake, but I think, this is the same case: A postcript driver on the windows clients and a script, which uses ghostscript for converting postscript printjobs to pdf. tom -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Windows XP domain login problems solved
Title: Meddelelse I can see that people are still having problems with domain login from XP, and so did I. The solution was given by Sebastian Schinzel who pointed us to http://www.annoyances.org/exec/forum/winxp/r1009126072 It turns out that the signorseal setrings was not sufficient. Kind regards Lars L. Madsen
Re: [Samba] Printing to pdf
Le Mercredi 6 Novembre 2002 20:37, Stefan Tusch a écrit : > Hi Thomas, > > The distribution is Mandrake Linux 9.0 > OK, I install driver local, but which driver? W2K doesn't come with a pdf > printer driver, does it? > > Regards, Stefan Tunsch Personnally, I use the HP color laserjet 5500 for color pdf. Cheers, -- Sylvestre Taburet - Project Manager - 1024D/030E1B7E Mandrakesoft S.A. - 43, rue d'Aboukir, 75002 Paris - FRANCE +33 (1) 40 41 00 41 - http://www.mandrakelinux.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing to pdf
Hallo Sylvestre Taburet, you wrote: > Personnally, I use the HP color laserjet 5500 for color pdf. this is also a postscript driver, isn't it? tom -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba ACL and EA problems
Hello, I'm currently experiencing a problem concerning Samba 2.2.3a which is running on RedHat 7.3 kernel 2.4.18 configured with ACLS. While trying to upgrade the kernel to support LFS 2GB files, a reboot was performed after the successful recompilation and installation of new filesystem tools. The system halted at mounting the /samba partition reporting errors on the filesystem. The problem is e2fsck was run on ext3 partition while upgrading ACLs/EAs, and now it seems the inodes holding the ext_attr info inodes were cleared and have now screwed up the base dirs on the samba partition. When typing 'ls' under the Samba dir the following error messages appear: ls: .Bad Address ls: homes: Bad Address etc. The problem is not letting us rm, rmdir, mv, etc.. these dirs as well as /homes/username dirs. Our current work around for creating new users is to create an alternate /home dir which is /samba/home instead of /samba/homes. Other than that, the users have not reported any problems. If anybody has any ideas or input it would be greatly appreciated. We are stuck in a bit of a pickle. We don't know exactly how this occurred and if it will get any worse. If this is unclear, please let me know. Regards, Matthew Shaw Network Administrator MarkIV Industries/IVHS Division Phone: 905.624.7910 Fax: 905.625.6197 E-mail: [EMAIL PROTECTED]¢éì¹»®&Þ~º&¶¬+-h¶¢YhÂ)àQÚÚÞiÛaz)춻¶*'²m§ÿåËl±©jàþf¢f§þX¬¶)ߣû¶
Re: [Samba] Printing to pdf
Le Mercredi 6 Novembre 2002 21:23, Thomas Bork a écrit : > Hallo Sylvestre Taburet, > > you wrote: > > Personnally, I use the HP color laserjet 5500 for color pdf. > > this is also a postscript driver, isn't it? > > > tom Of course, you have to use the postscript version. Actually, any postscript driver should work fine. We just happen to have that printer at the office, and as I already downloaded that driver to test it on my windows + samba server, I used it again... It actually works very well. Cheers -- Sylvestre Taburet - Project Manager - 1024D/030E1B7E Mandrakesoft S.A. - 43, rue d'Aboukir, 75002 Paris - FRANCE +33 (1) 40 41 00 41 - http://www.mandrakelinux.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing to pdf
Hi! I succesfully printed from my XP box to print-pdf using adobe generic postcript driver http://www.adobe.com/products/printerdrivers/windows.html . Obtaining pdf and ps files on my home share, but I don't know why all the "printouts" were greyscaled, while the adobe testpapge was color (only the Adobe logo is actualy red) Another problem is that because this driver doesn't have inf files I couldn't upload and install the printer drivers on the Samba Server via the APW capabilty, so that clients could automaticaly download it from the server at the first access. I think the printerdrivers haven't anithing to do with /etc/printcap, or so like, but they are stored at /var/lib/samba/printers with driver list residing in the printing related tdb files in /var/cache/samba ( At least with Mandrake 9.0) Geza Ghemes The distribution is Mandrake Linux 9.0 OK, I install driver local, but which driver? W2K doesn't come with a pdf printer driver, does it? Regards, Stefan Tunsch El Mié 06 Nov 2002 18:49, Thomas Bork escribió: > Hi Stefan, > > > I have recently installed linux and samba on one server. > > which linux distribution? > > > I would like to know if I can make Windows machines use the pdf-generator > > printer that is shared by default with samba? > > AFAIK there is no distribution, which comes with a pdf-printing-share by > default . If you are using eisfair with samba package 1.0.9 and ghostscript > package 1.0.2, then you have to install an postscript driver on the client: > > For colored pdf try Apple Color LW 12/660 PS, for black/white Apple > Laserwriter 12/640. > > > When I try to add this printer to a W2K machine I always get the message > > "The driver is not the appropriate. Do you want to install the right > > driver locally on your machine?" > > You have to install the driver local - I tried an automatic download but I > guess there is a problem with printers, which are not associated with an > printcap entry. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] "hiding" and "vetoing" files (for Samba 2.2.2 & WindowsExplorer)
We're running Samba 2.2.2 on an RS/6000 (AIX 4.3.3) using Windows 95 clients. We've tried the "hide files" and "veto files" option in smb.conf, but when the shares are mapped, we can still see the contents in Windows Explorer. We used the wildcard for all the contents of the shares (ex. hide files = /*.*/). The Samba manual only makes reference to Windows 98, so is this even applicable on 95? Once we test on 95, we'll be upgrading to Windows 2000. If at all possible, we wanted to hide the entire share on Windows Explorer (not just the contents). We were told when mapping, we could specify a "$" at the end of the share within the "net use" syntax and this would hide the entire share, but it doesn't work and they were doing this on an NT system (so we're not sure if Windows 95, 98 or 2000 even supports this). Thanks in advance for any help. Darin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] "hiding" and "vetoing" files (for Samba 2.2.2 & Windows Explorer)
On Wed, Nov 06, 2002 at 02:00:59PM -0800, Darin DeCounter wrote: > If at all possible, we wanted to hide the entire share on > Windows Explorer (not just the contents). Set `browseable = no' in your smb.conf in the share settings. HTH Martin msg08064/pgp0.pgp Description: PGP signature
[Samba] Problem joining a Linux computer to a Windows 2000 domain server
I issued this command to join a Linux computer to a Windows 2000 domain /usr/bin/net rpc join, and I got an error message: [2002/11/06 16:04:50, 1] utils/net.c:net_find_server(229) no server to connect to Unable to find a suitable server[2002/11/06 16:04:53, 1] utils/net.c:net_find_server(229) no server to connect to Unable to find a suitable server= To create the computer account on the Windows 2000 server, I run this command /usr/bin/net ads join I got this error message, ADS support not compiled in === I try to connect to Windows shares using Samba's smbclient /usr/bin/smbclient //win-2000-server/c\$ -k added interface ip=10.1.0.214 bcast=10.1.0.255 nmask=255.255.255.0 (External Sales) added interface ip=10.0.0.1 bcast=10.0.0.255 nmask=255.255.255.0 (Internal Sales) added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 No kerberos support compiled in The Kerberos kinit command will test for communication connection between the Linux and the Windows server. To test for connection, I run the command /usr/local/kerberos5/bin/kinit [EMAIL PROTECTED] Password for [EMAIL PROTECTED]:linh The above command is the only one that works. Please tell me how to fix this problem.Do you Yahoo!? HotJobs - Search new jobs daily now
[Samba] Samba (v.3) LDAP passwd sync
in samba v.3 there is a smb.conf directive - ldap passwd sync this provides several ldap passwd sync options on the fly including updating the ldap, nt, and lm passwords or just the ldap password. to accomplish this you can use the options: yes, no, or only Im not sure if this is the place to ask, but what if the ldap server is using kerberos5 as a backend to store passwords? .. maybe we could add an option to ldap passwd sync = kerberos and then require a few more parameters including the a krb5.keytab file location and the fqdn of the kerberos server. Then directly update the kerberos s user principal password at the time of syncronization? ... the users principal would be available from the ldap structure because its stored in the userPassword in the form of {KERBEROS}username@KERB_DOMAIN anyway.. im not a great programmer or I would try to do this.. Jonathan Higgins Network Service Specialist IV [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] Roaming Profiles + Win2000 + XP
I don't guarantee it will work, but try adding the following line to your profiles share: csc policy = disable It disables client side caching on a share - so this might help the XP problem. Glen Gibb Ridley College On Wed, 6 Nov 2002, James wrote: > Hi, > > Ive got my PDC up and running under samba, it is serving several windows > 2000 machines and a windows XP machine. > > The problem is when using Roaming Profiles... > > Were using Outlook XP + IMAP Mail for the users emails, which works fine > the only problem comes when logging off the machine and back to another. The > windows 2000 machines seem to update the profile changes back to the server. > The windows XP machines update NEW files (eg on the desktop if i make a new > text document) but not remove files which should be deleted, or update edits > to files. (eg if i delete a file off the desktop of the profile when on the > XP machine, it wont be deleted from the server when I log off, and i do mean > files, not shortcuts). > > I assume this must be some sort of caching problem with XP, or maybe its > something I can manage from my smb.conf, totally lost at the moment :( > > I also cannot get the U: drive to be automounted to the users home > directory... although I had that working at one point (as i said, > totally lost at the moment) > > Any suggestions on the problem + my smb.conf (below) would be much > appreciated. > > -James > > # Global parameters > [global] > workgroup = BENCE > netbios name = FAIRVIEW > server string = BENCE PDC > encrypt passwords = Yes > update encrypted = Yes > log file = /var/log/samba/%m.log > max log size = 0 > time server = Yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > domain admin group = root > logon script = /etc/samba/login.%.bat > logon path = \\%L\profiles\%U > logon drive = u: > logon home = \\%L\%U > domain logons = Yes > os level = 255 > preferred master = True > domain master = True > dns proxy = No > > [homes] > comment = Home Directories > path = /users/%U/smbhome > guest account = > valid users = %S > read only = No > browseable = No > > [netlogon] > comment = Logon scripts and policies > path = /samba/netlogon > create mask = 0644 > > [profiles] > comment = Roaming profiles directory > path = /samba/profiles > read only = No > create mask = 0600 > directory mask = 0700 > share modes = No > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba (v.3) LDAP passwd sync
On Thu, 2002-11-07 at 09:20, Jonathan Higgins wrote: > in samba v.3 there is a smb.conf directive - ldap passwd sync > > this provides several ldap passwd sync options on the fly including > updating the ldap, nt, and lm passwords or just the ldap password. > to accomplish this you can use the options: yes, no, or only > > Im not sure if this is the place to ask, but what if the ldap server > is using kerberos5 as a backend to store passwords? .. maybe we could > add an option to ldap passwd sync = kerberos and then require a few > more parameters including the a krb5.keytab file location and the fqdn > of the kerberos server. Then directly update the kerberos s user > principal password at the time of syncronization? ... the users > principal would be available from the ldap structure because its > stored in the userPassword in the form of > {KERBEROS}username@KERB_DOMAIN > > anyway.. im not a great programmer or I would try to do this.. This is what 'unix password sync' and 'pam passwd sync' are about. The LDAP option really should not exist - almost the exact same effect can be had by the use of pam_ldap. However, this avoided the need to tell pam_ldap your admin dn and password, and allowed us to say 'the ldap server takes care of all that'. So, for your situation you could write a wrapper around kadmin, or PAM a module (see pam_krb5_migrate for a start) to do the job. Samba then calls that. I'm looking at fixing this another way however - using Heimdal kerberos, it's LDAP backend and teach the LDAP server how to update the kerberos passwords directly as kerberos attributes. (This tries to avoid the multiple points of failure I've been fighting at my site all this year). 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 signature.asc Description: This is a digitally signed message part
[Samba] Printing: Access denied, unable to connect
I have been having a printing problem recently on a setup that has worked for quite some time. Configs below. The symtoms are slightly different on a W2K and a WinME workstation, but the result is the same; no printed output. However, when I print from the local Unix server or from any other Unix server in the network the output is as expected. The W2K machine reports 'Access denied, unable to connect' when the printer is selected via the Printers window. When I add in the 'use client driver = yes' directive the symptoms are masked in that the printer shows as 'Ready' in the Printers window but, still, no printed output and the printing process hangs. I've tried all kinds of things to fix this, I've looked thru mail archives and I've run smbd interactively with debugging turned on to no avail. I have seen this same question asked by others in the archives but no resolution. Any further pointers for troubleshooting would be much appreciated. -Steve smb.conf: [global] log file = /var/log/samba/log.%m printing = BSD printcap name = /etc/printcap print command = /usr/bin/lpr -P%p -r %s [printer] # use client driver = yes path = /var/spool/lpd/spit printable = yes printer name = lp read only = yes guest ok = yes printcap: dj932c|color|HP DeskJet 932c:\ :sh:mx#0:\ :lp=/dev/lpt0:sd=/var/spool/lpd/spit:\ :if=/usr/local/libexec/magicfilter/dj550c-filter:\ :lf=/var/log/lpd-errors: -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Get Your IE Toolbar!
Make your customers and visitors always have the link to your site on their Explorer toolbar. Custom Toolbars increase your ability to market your site anywhere within millions of Internet browsers and takes only seconds to install. Custom IE Toolbar with unlimited menu items - 200$US! Advanced IE Toolbar with Update Module - 400$US! Unlimited IE Toolbar features with the plain rate of 20$US p/h for programming! http://www.besttoolbars.net You may distribute your Toolbar to your Web site visitors, employees, etc. This provides quick access to your Web site and other useful links you find appropriate for those who would download your Toolbar. If you're a business owner, use your company custom IE Toolbar to make your team share common Web resources. If you're working on several computers (home, office, etc.) you can have an IE Toolbar that will store all your "favorites" on the server. That means, that you will never ever have to update your favorite links again and again on all your computers - you can do it just once! Features: - One-click access to your website and pages through an always-present browser toolbar - Personal Buttons, Dynamic Buttons and Menus Items to IE Toolbar - Customizable search features/ Integrated Search Engines - Live News Feeds - Custom Icons and Superb Branding - Instant Messaging Broadcasting to Users - Instantly deploy new web products remotely on customer's desktops and make them immediately usable. - Targeted and Non-Targeted Marketing - and much much more... Order online at http://www.besttoolbars.net Please feel free to contact me [EMAIL PROTECTED] Your e-mail was taken from a public place. There is no need to unsubscribe as it's one time mailing. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing: Access denied, unable to connect
Further to this, I ran the following putting smbd into interactive mode anc capturing the output: # script -t 1 logger /usr/local/sbin/smbd -i -d 4 -l /tmp There is a whole section in the debug output that ends with an access denied message. There are two messages; "access check was FAILURE" and "access DENIED for printer open". I haven't a clue what the debug leading up to that means. Any pointers? -Steve --- vfs_ChDir to /tmp trans <\PIPE\> data=2316 params=0 setup=2 named pipe command on <> name search for pipe pnum=744b Got API command 0x26 on pipe "spoolss" (pnum 744b)free_pipe_context: destroying talloc pool of size 0 Doing \PIPE\spoolss api_rpcTNP: api_spoolss_rpc op 0x45 - api_rpcTNP: pipe 29771 rpc command: SPOOLS S_OPENPRINTEREX checking name: \\good\printer Opened policy hnd[2] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D ... . ...= [010] B8 81 00 00 Setting printer type=\\good\printer Printer is a printer Setting printer name=\\good\printer (len=14) set_printer_hnd_name: Printer found: printer -> printer Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D ...= [010] B8 81 00 00 Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D ...= [010] B8 81 00 00 short name:printer se_access_check: user sid is S-1-5-21-1188926781-616364094-2007133261-3002 se_access_check: also S-1-5-21-1188926781-616364094-2007133261-1001 se_access_check: also S-1-5-21-1188926781-616364094-2007133261-1107 se_access_check: also S-1-5-21-1188926781-616364094-2007133261-2801 se_access_check: also S-1-5-21-1188926781-616364094-2007133261-21001 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 access check was FAILURE access DENIED for printer open Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D ...= [010] B8 81 00 00 Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D ...= [010] B8 81 00 00 Closed policy * Steve Carter <[EMAIL PROTECTED]> [021106 16:53]: > I have been having a printing problem recently on a setup that has worked > for quite some time. Configs below. The symtoms are slightly different > on a W2K and a WinME workstation, but the result is the same; no printed > output. However, when I print from the local Unix server or from any > other Unix server in the network the output is as expected. > > The W2K machine reports 'Access denied, unable to connect' when the > printer is selected via the Printers window. > > When I add in the 'use client driver = yes' directive the symptoms are > masked in that the printer shows as 'Ready' in the Printers window but, > still, no printed output and the printing process hangs. > > I've tried all kinds of things to fix this, I've looked thru mail archives > and I've run smbd interactively with debugging turned on to no avail. I > have seen this same question asked by others in the archives but no > resolution. > > Any further pointers for troubleshooting would be much appreciated. > > -Steve > > > > smb.conf: > > [global] > log file = /var/log/samba/log.%m > > printing = BSD > printcap name = /etc/printcap > print command = /usr/bin/lpr -P%p -r %s > [printer] > # use client driver = yes > path = /var/spool/lpd/spit > printable = yes > printer name = lp > read only = yes > guest ok = yes > > printcap: > > dj932c|color|HP DeskJet 932c:\ > :sh:mx#0:\ > :lp=/dev/lpt0:sd=/var/spool/lpd/spit:\ > :if=/usr/local/libexec/magicfilter/dj550c-filter:\ > :lf=/var/log/lpd-errors: -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Warning when updating Samba via mandrake update
On Tuesday 05 November 2002 10:46 am, Buchan Milne honored me with this communique: > > Message: 19 > > From: Ken Walker <[EMAIL PROTECTED]> > > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > > Date: Tue, 5 Nov 2002 11:16:53 - > > Subject: [Samba] Warning when updating Samba via mandrake update > > > > I've just done a update of Samba from 2.2.4 to 2.2.6. > > Not with MandrakeUpdate, unless you have screwed up your update > configuration. There is only an update to 2.2.6 that went out late > yesterday, and only applies to 9.0, which originally shipped with > 2.2.6pre2. There should be no update for 2.2.5 or earlier, since you > would be running on something earlier than Mandrake 9.0, in which case > you should be using the RPMs for Mandrake 8.x which are available from > two sites: > > http://ranger.dnsalias.com/mandrake/samba > http://people.mandrakesoft.com/~staburet/samba > > These RPMs have been submitted to the samba team, and should have been > available on the samba ftp mirrors, but I think Gerry ran out of time ... > > > After installing everything it says some files were modified, ie > > smb.conf, and gives you the option to view the changes. > > No, it warns you that yuo have changed the supplied default config, and > should show you what has changed in the default config, and the option > to update your config to take these changes into account. > > Unfortunately these updates haven't arrived on our mirror yet, so I > can't test it right now. > > > It removed all my shared folders, removed settings from 'global' and > > changed > > > lines for cups and other bits and pieces. > > Did it actually remove things without input from you, or did it just > show you what differed between yours and the supplied default? > > > Some changes are highlighted in > > green and the ones it removes are in red with '-' stuck in front of them. > > Standard diff-type output. > > > I'm not sure if anything happens if you just click on ok after the update > > and don't see what's been changed. > > If you just click ok, it *should not* change anything, assuming then > that you don't want any of the added features added to your smb.conf. > > > So be warned, if everything stops working after an update then check your > > smb.conf file > > Maybe it would be better to back up your configs, specifically when > doing updates. We commit our configs to cvs whenever we change them, so > we can't lose them. > > > Mr Smiley ( not smiling ) > > Did something break? > > FYI, the fact that you see a dialog is a feature, otherwise you would > have the old config as you had set it up kept in place, and a > /etc/samba/smb.conf.rpmnew added, which has the new default config. You > would then manually have to use etc-update to get any new entries in > your smb.conf. > > In fact, you don't get the dialog if you update via urpmi (which is what > we do here): > > # urpmi.update updates > # urpmi --auto-select --auto --update > > Regards, > Buchan > > -- > > |Registered Linux User #182071-| > > Buchan MilneMechanical 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 It sounds like Ken was using rpmdrake and updating from a cooker mirror; and yes, it does trash your setup if you let it. But first it creates the new settings as .rpmnew and lets you review the way it has reset a lot of things back to the default settings. "Caveat updator." Updater beware. Yep. Saw it myself, and since nothing of consequence had changed, I kept my current smb.conf. Jay -- Drinking makes such fools of people, and people are such fools to begin with, that it's compounding a felony. -- Robert Benchley -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Printing: Access denied, unable to connect
I'm no expert with printer problems but have you tried setting the perms on your /var/spool/lpd/spit directory to 777? Just a thought, Noel -Original Message- From: Steve Carter [mailto:scarter@;pobox.com] Sent: 07 November 2002 00:54 To: [EMAIL PROTECTED] Subject: Re: [Samba] Printing: Access denied, unable to connect Further to this, I ran the following putting smbd into interactive mode anc capturing the output: # script -t 1 logger /usr/local/sbin/smbd -i -d 4 -l /tmp There is a whole section in the debug output that ends with an access denied message. There are two messages; "access check was FAILURE" and "access DENIED for printer open". I haven't a clue what the debug leading up to that means. Any pointers? -Steve --- vfs_ChDir to /tmp trans <\PIPE\> data=2316 params=0 setup=2 named pipe command on <> name search for pipe pnum=744b Got API command 0x26 on pipe "spoolss" (pnum 744b)free_pipe_context: destroying talloc pool of size 0 Doing \PIPE\spoolss api_rpcTNP: api_spoolss_rpc op 0x45 - api_rpcTNP: pipe 29771 rpc command: SPOOLS S_OPENPRINTEREX checking name: \\good\printer Opened policy hnd[2] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D ... . ...= [010] B8 81 00 00 Setting printer type=\\good\printer Printer is a printer Setting printer name=\\good\printer (len=14) set_printer_hnd_name: Printer found: printer -> printer Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D ...= [010] B8 81 00 00 Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D ...= [010] B8 81 00 00 short name:printer se_access_check: user sid is S-1-5-21-1188926781-616364094-2007133261-3002 se_access_check: also S-1-5-21-1188926781-616364094-2007133261-1001 se_access_check: also S-1-5-21-1188926781-616364094-2007133261-1107 se_access_check: also S-1-5-21-1188926781-616364094-2007133261-2801 se_access_check: also S-1-5-21-1188926781-616364094-2007133261-21001 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 access check was FAILURE access DENIED for printer open Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D ...= [010] B8 81 00 00 Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D ...= [010] B8 81 00 00 Closed policy * Steve Carter <[EMAIL PROTECTED]> [021106 16:53]: > I have been having a printing problem recently on a setup that has worked > for quite some time. Configs below. The symtoms are slightly different > on a W2K and a WinME workstation, but the result is the same; no printed > output. However, when I print from the local Unix server or from any > other Unix server in the network the output is as expected. > > The W2K machine reports 'Access denied, unable to connect' when the > printer is selected via the Printers window. > > When I add in the 'use client driver = yes' directive the symptoms are > masked in that the printer shows as 'Ready' in the Printers window but, > still, no printed output and the printing process hangs. > > I've tried all kinds of things to fix this, I've looked thru mail archives > and I've run smbd interactively with debugging turned on to no avail. I > have seen this same question asked by others in the archives but no > resolution. > > Any further pointers for troubleshooting would be much appreciated. > > -Steve > > > > smb.conf: > > [global] > log file = /var/log/samba/log.%m > > printing = BSD > printcap name = /etc/printcap > print command = /usr/bin/lpr -P%p -r %s > [printer] > # use client driver = yes > path = /var/spool/lpd/spit > printable = yes > printer name = lp > read only = yes > guest ok = yes > > printcap: > > dj932c|color|HP DeskJet 932c:\ > :sh:mx#0:\ > :lp=/dev/lpt0:sd=/var/spool/lpd/spit:\ > :if=/usr/local/libexec/magicfilter/dj550c-filter:\ > :lf=/var/log/lpd-errors: -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing: Access denied, unable to connect
Thanks for the thought, I have tried that ... :) -Steve * Noel Kelly <[EMAIL PROTECTED]> [021106 18:26]: > I'm no expert with printer problems but have you tried setting the perms on > your /var/spool/lpd/spit directory to 777? > > Just a thought, > Noel > > -Original Message- > From: Steve Carter [mailto:scarter@;pobox.com] > Sent: 07 November 2002 00:54 > To: [EMAIL PROTECTED] > Subject: Re: [Samba] Printing: Access denied, unable to connect > > > Further to this, I ran the following putting smbd into interactive mode > anc capturing the output: > > # script -t 1 logger /usr/local/sbin/smbd -i -d 4 -l /tmp > > There is a whole section in the debug output that ends with an access > denied message. There are two messages; "access check was FAILURE" and > "access DENIED for printer open". I haven't a clue what the debug leading > up to that means. Any pointers? > > -Steve > > --- > > > > vfs_ChDir to /tmp > trans <\PIPE\> data=2316 params=0 setup=2 > named pipe command on <> name > search for pipe pnum=744b > Got API command 0x26 on pipe "spoolss" (pnum 744b)free_pipe_context: > destroying > talloc pool of size 0 > Doing \PIPE\spoolss > api_rpcTNP: api_spoolss_rpc op 0x45 - api_rpcTNP: pipe 29771 rpc command: > SPOOLS > S_OPENPRINTEREX > checking name: \\good\printer > Opened policy hnd[2] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 > 3D ... > . ...= > [010] B8 81 00 00 > Setting printer type=\\good\printer > Printer is a printer > Setting printer name=\\good\printer (len=14) > set_printer_hnd_name: Printer found: printer -> printer > Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D > > ...= > [010] B8 81 00 00 > Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D > > ...= > [010] B8 81 00 00 > short name:printer > se_access_check: user sid is S-1-5-21-1188926781-616364094-2007133261-3002 > se_access_check: also S-1-5-21-1188926781-616364094-2007133261-1001 > se_access_check: also S-1-5-21-1188926781-616364094-2007133261-1107 > se_access_check: also S-1-5-21-1188926781-616364094-2007133261-2801 > se_access_check: also S-1-5-21-1188926781-616364094-2007133261-21001 > se_access_check: also S-1-1-0 > se_access_check: also S-1-5-2 > se_access_check: also S-1-5-11 > access check was FAILURE > access DENIED for printer open > Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D > > ...= > [010] B8 81 00 00 > Found policy hnd[0] [000] 00 00 00 00 02 00 00 00 00 00 00 00 00 B6 C9 3D > > ...= > [010] B8 81 00 00 > Closed policy > > > > * Steve Carter <[EMAIL PROTECTED]> [021106 16:53]: > > I have been having a printing problem recently on a setup that has worked > > for quite some time. Configs below. The symtoms are slightly different > > on a W2K and a WinME workstation, but the result is the same; no printed > > output. However, when I print from the local Unix server or from any > > other Unix server in the network the output is as expected. > > > > The W2K machine reports 'Access denied, unable to connect' when the > > printer is selected via the Printers window. > > > > When I add in the 'use client driver = yes' directive the symptoms are > > masked in that the printer shows as 'Ready' in the Printers window but, > > still, no printed output and the printing process hangs. > > > > I've tried all kinds of things to fix this, I've looked thru mail archives > > and I've run smbd interactively with debugging turned on to no avail. I > > have seen this same question asked by others in the archives but no > > resolution. > > > > Any further pointers for troubleshooting would be much appreciated. > > > > -Steve > > > > > > > > smb.conf: > > > > [global] > > log file = /var/log/samba/log.%m > > > > printing = BSD > > printcap name = /etc/printcap > > print command = /usr/bin/lpr -P%p -r %s > > [printer] > > # use client driver = yes > > path = /var/spool/lpd/spit > > printable = yes > > printer name = lp > > read only = yes > > guest ok = yes > > > > printcap: > > > > dj932c|color|HP DeskJet 932c:\ > > :sh:mx#0:\ > > :lp=/dev/lpt0:sd=/var/spool/lpd/spit:\ > > :if=/usr/local/libexec/magicfilter/dj550c-filter:\ > > :lf=/var/log/lpd-errors: > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002 > > > --- > Outgoing mail is certified V
[Samba] smbd and nmbd refuses to run
hi. i need some urgent help. all of a sudden my domain started missing. i could not save my profile either. i decided to reboot my linux machine and samba refused to run. it was working before. when i rebooted it said domain is not available. so i checked the processes in my linux machine. but smbd and nmbd was not running. i ran this /usr/local/samba/bin/nmbd -D /usr/local/samba/bin/smbd -D but when i did a ps axf .. i could not see the samba process running. meaning the above 2 commands.. something is going on .. please help. the log file does not even get updated. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Can't update profile 3r floppy
Hi, I used samba as PDC in redhat 7.2. Some users found a problems when logoff. It war shown "Windows can't update profile \\server\Docu...\SentTo\3r Floppy(A)" and their profiles at samba have many prf???.tmp files in their "SentTo" directories. I must delete ...\SentTo\3r Floppy(A).lnk from their profiles both local and samba, It will disappear. How can I solve this problem? Thank you.Get a bigger mailbox -- choose a size that fits your needs.
Re: [Samba] smbd and nmbd refuses to run
netstate -apn | grep 139 to see if any process is listening to that port. Have you tried: smbd -d6 to see if anything useful shows up? Joel On Thu, Nov 07, 2002 at 02:36:27AM +, Elliot Williams wrote: > hi. i need some urgent help. all of a sudden my domain started missing. i > could not save my profile either. i decided to reboot my linux machine and > samba refused to run. it was working before. when i rebooted it said domain > is not available. so i checked the processes in my linux machine. but smbd > and nmbd was not running. > > i ran this > > /usr/local/samba/bin/nmbd -D > /usr/local/samba/bin/smbd -D > > but when i did a ps axf .. i could not see the samba process running. > meaning the above 2 commands.. something is going on .. please help. the > log file does not even get updated. > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Trouble with groups
I agree, it felt messy. By the time I got here I was just trying to pile more junk on top to reach the sky. :) Just to be clear, the "domain admin group" directive expects samba users, not unix users and not unix groups correct? I've found that the "Using Samba" book published by O'Reilly seems to be a bit light in documentation when it comes to using Samba as a PDC. http://www.oreilly.com/catalog/samba/chapter/book/ Do you have a book you recommend or another source? I've also found the samba.org docs a little light when looking for PDC issues. Noel Kelly wrote: This sounds awfully messy Bert. All those mappings might not be necessary. I setup a Samba PDC the other week for a customer and we simply used the 'domain admin group =' parameter like this: domain admin group = admin nkelly root and other samba users This means when I (nkelly) log in on a workstation I have complete control over it. HTH Noel -Original Message- From: Bert Rapp [mailto:bert@;rappsonline.com] Sent: 05 November 2002 19:13 To: Samba List Subject: Re: [Samba] Trouble with groups Have I wandered into uncharted territory? They has to be someone out there that can point me in the right direction. Please help me. :) Bert Rapp wrote: I'm having trouble getting myself in to the administrators group. I'm using samba as a domain controller. I have a samba account called administrator. I have these settings in my smb.conf:: domain group map = /etc/samba/groups.mapping domain user map = /etc/samba/domainuser.mapping local group map = /etc/samba/localgroup.mapping This is in my domainuser.mapping to alias the administrator samba account to the linux root account: root = \\NORTHTRAILRV\\Administrator This is in my groups.mapping to alias admins to the Administrators groups admins = Administrators This is the group listing in /etc/group: admins:x:200:root And for fun I have a local group mapping like this: admins = BUILTIN\Administrators For some reason though, when I log on to the domain as administrator, I still do not have permission to change the time or anything else. Does anyone have any suggestions? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbd and nmbd refuses to run
Hi. Thanks for your prompt reply It was a problem with the smb.conf When I ran the testparm program it was reporting some error. But I have had it eliminated. Thanks a lot for ya help -Original Message- From: Joel Hammer [mailto:Joel@;HammersHome.com] Sent: Thursday, November 07, 2002 10:38 AM To: Elliot Williams; [EMAIL PROTECTED] Subject: Re: [Samba] smbd and nmbd refuses to run netstate -apn | grep 139 to see if any process is listening to that port. Have you tried: smbd -d6 to see if anything useful shows up? Joel On Thu, Nov 07, 2002 at 02:36:27AM +, Elliot Williams wrote: > hi. i need some urgent help. all of a sudden my domain started > missing. i could not save my profile either. i decided to reboot my > linux machine and samba refused to run. it was working before. when i > rebooted it said domain is not available. so i checked the processes > in my linux machine. but smbd and nmbd was not running. > > i ran this > > /usr/local/samba/bin/nmbd -D > /usr/local/samba/bin/smbd -D > > but when i did a ps axf .. i could not see the samba process running. > meaning the above 2 commands.. something is going on .. please help. > the log file does not even get updated. > -- > 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] (no subject)
ÉÌÇé¿ìµÝ ²ñÓÍ£¬ÆûÓÍϵÁÐ:P4 1.8G 580Ôª Ðͺŵ¥Î»¼Û¸ñ£¨Ôª) P4 1.7G 550Ôª -20#²ñÓꦅ 1600P4 1.7G 500Ôª -10#²ñÓꦅ 1800P4 1.6G 490Ôª -5#²ñÓÍ ¶Ö 1700P4 1.5G 480Ôª 0#²ñÓÍ ¶Ö 1800P4 1.4G 400Ôª -5#²ñÓÍ ¶Ö 1400P4 1.3G 380Ôª 97#ÆûÓꦅ 1920PIII 933EB 400Ôª 93#ÆûÓÍ ¶Ö 1850PIII 866 390Ôª 90#ÆûÓÍ ¶Ö 1700PIII 800EB 330Ôª 0#ÆûÓÍ ¶Ö 1550PIII 850 400Ôª 14#ÆûÓÍ ¶Ö 1900PIII 733 300Ôª Ó²ÅÌ ÄÚ´æ ÂõÍØ ÐÇ×êÈý´ú 160G 5400rpm¡¢µ¥µúÈÝÁ¿40G¡¢ ÏÖ´ú HY-256M 150Ôª 2M»º´æ¡¢Ö§³ÖATA133 900Ôª ÏÖ´ú HY-128M 90Ôª ÂõÍØ ÐÇ×êÈý´ú 20G 5400rpm¡¢µ¥µúÈÝÁ¿40GB¡¢ ÏÖ´ú HY-128MPC133 150Ôª 2M»º´æ¡¢½Ó¿ÚËٶȴﵽ133MB/s 250Ôª KINGSTON 512MB 300Ôª ÂõÍØ ÐÇ×êÈý´ú 40G 5400rpm¡¢µ¥µúÈÝÁ¿40GB¡¢ KINGSTON 512MB 400Ôª 2M»º´æ¡¢½Ó¿ÚËٶȴﵽ133MB/s 300Ôª KINGSTON 256MB 200Ôª ÂõÍØ ÐÇ×êÈý´ú 80G 5400rpm¡¢µ¥µúÈÝÁ¿40G¡¢KINGSTON 128MB 95Ôª 2M»º´æ¡¢½Ó¿ÚËٶȴﵽ133MB/s 410Ôª KINGSTON 128M 100Ôª ÂõÍØ ½ð×êÆß´ú 20G 7200rpm¡¢µ¥µúÈÝÁ¿40G¡¢KINGSTON 128M PC 90Ôª Ö§³ÖATA133 Íⲿ´«ÊäËÙÂÊ133MB/s 300ÔªKINGSTON 256M 250Ôª WD 100G(BB) WD100G ÐÂÓã×Ó½´BBϵÁУ¬KINGSTON 512M 500Ôª 7200rpm 2M DMA100 700Ôª GL-2000 ǧìûÌõ 64M £¨±Ê¼ÇÐÍ£©50Ôª WD 80G(AB) WD80G ÐÂÓã×Ó½´ABϵÁУ¬ GL-2000 ǧìûÌõ 64M 500Ôª 5400rpm 2M DMA100 420ÔªGL-2000 ǧìûÌõ 512M 350Ôª WD 40G(AB) WD40G ÐÂÓã×Ó½´ABϵÁУ¬ GL-2000 ǧìûÌõ 256M 180Ôª 5400rpm 2M DMA100 200Ôª GL-2000 ǧìûÌõ 256M £¨±Ê¼ÇÐÍ£©125Ôª WD 20G(BB) WD20.5GB ÐÂÓã×Ó½´BBϵÁУ¬ Ö÷°å 7200rpm 2M DMA100 220Ôª»ªË¶ P4B266-c 400Ôª WD 10.2G(AB) WD100G ÐÂÓã×Ó½´ABϵÁУ¬ »ªË¶ P4B266 550Ôª 5400rpm 2M DMA100 200Ôª»ªË¶ CUV4X-DLS 750Ôª IBM Travelstar 20GNϵÁÐDJSA-22 »ªË¶ CUV266 280Ôª IBM Traveistar »ªË¶ CUV4X-D 350Ôª 20GNϵÁÐ20GN 4200RPM 512KB »º´æ 300Ôª »ªË¶ CUSL2-C(ÎÞÉù¿¨) 350Ôª IBM Travelstar 30GNϵÁÐDJSA-23ÃæÏò »ªË¶ CUSL2-C(ÓÐÉù¿¨) 350Ôª ±Ê¼Ç±¾µçÄÔµÄIDE Ó²ÅÌ 4200RPM 400Ôª IBM Ultrastra 36LZX DDYF 36.7GB ÃæÏò¸ß¶ËÏÔʾÆ÷ ·þÎñÆ÷¼°¹¤×÷Õ¾ Ã÷»ùFP553 15.0´ç 900Ôª µÄSCSIÓ²ÅÌ 36.70G 1RPM 1000Ôª Ã÷»ù78g 17´¿Æ½ 580Ôª CPULG-77SFT 17Ó¢´ç 600Ôª P4 1.8G 650Ôª LG-77M 17 500Ôª P4 1.8G 620Ôª ÈýÐÇ 17´ç 800Ôª ÈýÐÇ17´ç 700Ôª KINGHORSE 256MB RUMBUS ÄÚ´æ ×î´ó ÈýÐÇ17´ç 500Ôª¿í¶È´ï1.6GB/Ãë 280Ôª ÈýÐÇ17´ç 580Ôª KINGHORSE 256MB DDR NO-ECC ÄÚ´æ ÈýÐÇ15Ó¢´ç 500Ôª 256MB 266MHZ ÄÚ´æ 300Ôª ÈýÐÇ15´ç 450Ôª KINGHORSE 256MB RUMBUS ECC ÄÚ´æ ×î ÈýÐÇ151S 15´ç 1250Ôª ´ó¿í¶È´ï1.6GB/Ãë 380Ôª ÏÔ¿¨ KINGHORSE 256MB DDR ECC ÄÚ´æ 256MB °¬¼ÎAJAR îѽðÁú64 280Ôª266MHZ ÄÚ´æ 250Ôª °¬¼Î»Æ½ðÑÛ »ÃÓ°2000 100ÔªKINGHORSE 128MB RUMBUS ÄÚ´æ ×î´ó °¬¼Î»Æ½ðÑÛ »ÃÓ°2000+ 120Ôª ¿í¶È´ï1.6GB/Ãë 130Ôª °¬¼ÎAJAR îѽðÁú32 250Ôª KINGHORSE 128M£¨Ì¨Ê½»úÄڴ棩 168PIN DIMM Ì«Ñô»¨ ÀØ 3000 300ÔªSDRAMPC-133 3.3V 16MB*64 100Ôª ӯͨG4400 ×îÐÂNVIDIA 350Ôª KINGHORSE 128MB DDR NO-ECC ÄÚ´æ Ì«Ñô»¨ ÀØ3000£¨ATLRADEON£© 330Ôª 128MB 266MHZ ÄÚ´æ 125Ôª »ªË¶V8200/T2/64M 900Ôª ½ð°î½ðÌõ 256M 7ns/168pin SDRAM/PC133 135Ôª »ªË¶V8200/T5/64M 1050Ôª ½ð°î½ðÌõ 256M £¨±Ê¼ÇÐÍ£©7ns/168pin »ªË¶V7700GTS PRO/32MB DDR 330Ôª 330Ôª SDRAM/PC133 160Ôª »ªË¶AGP-V7100/T/32 110Ôª ½ð°î½ðÌõ 128M £¨±Ê¼ÇÐÍ£©7ns/168pin »ªË¶V6600/32M 115Ôª SDRAM/PC133 80Ôª ±Ê¼Ç±¾µçÄÔ ½ð°î½ðÌõ 128M 7ns/168pin SDRAM/PC133 75Ôª ÁªÏëPIII M1G/128M/30G/14.1TFT 6500Ôª ´´¼û 512M ECC Reggister(10ns) 10ns/168pin ÁªÏëPIII M1G/128M/30G/14.1TFT 4500ÔªSDRAM/PC100(YK) 800Ôª ÁªÏëPIII M1G/128M/20G/13.3TFT 4000Ôª ´´¼û 256M PC800 RAMBUS 184pin/16Ƭ(BL) 250Ôª ÁªÏëPG/256M/30G/14.1/DVD 4500Ôª ´´¼û 256M PC800 ECC RAMBUS 184pin/18 ÁªÏëPG/128M/20G/14.1/CD 4200Ôª Ƭ£¨BL£© 280Ôª ÁªÏëPG/128M/20G/13.3/CD 4
[Samba] Samba problems
Thank you for your helps. After I corrected all the spellings and did chown -R Secretary /home/Secretarychmod -R 700 /home/Secretary ... I double clicked the LINUXSERV at the Secretary window client, it did not prompt me for password instead went right to the CH-HOMES folder. When I double clicked the CH-HOMES, again it is an ***empty*** folder. I supposed to see Peter and Secretary folder in the CH-HOMES folder. My new sam.conf file is as following: - # Samba config file created using SWAT # from chee_ch.com (127.0.0.1) # Date : 2002/10/26 # Global parmeters [global] ;Basic server setting 3/11/2002 workgroup = CH LINUX SER netbios name = CH-HOMES server string = Primary Domain Server running Samba %v socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF = 8192 SO_SNDBUF = 8192 ;PDC and master browser setting os level = 64 preferred master = yes local master = yes domain master = yes domain logons = yes dns proxy = No ;Security and logging settings security = user encrypt password = Yes log file = /var/log/samba/%m.log log level = 2 max log size = o host allow = 127.0.0.1 192.168.0.0/255.255.255.0 samba passwd file = /etc/samba/smbpasswd password program = /usr/bin/passwd %u passwd chat = *New*password* %n\n* *Retype*new*passwd*%n\n*passwd:*all* *authentication*token*updated*successfully* add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u # Domain groups: domain admin group = root@adm [homes] comment = Home Directories browseable = no writable = yes [profiles] path = /home/samba/profiles writable = yes browseable = no create mask = 0600 directory mask = 0700 [netlogon] comment = Network Logon Services path = /home/netlogon read only = yes browseable = no write list = @admins [printers] comment = All printer path = /var/spool/samba printable = Yes browseable = No Any help will be greatly appreciated. Thank you. Oswald p/s My previous posting is as following: - Hi! I tried to set up a Samba PDC but so far it is not yet working (3 weeks passed). I posted my Samba problems to news groups and discussion forums, but the suggestions given were not able to solve my problems. I went through a few HOWTOs and followed the step-by-step guide, still can not solve my problem. I am realy new to Linux and Samba and hope sameone will guide me through. (1) What I did: - (a) I installed the samba samba-swat, samba-common, samba-client, and edited /etc/samba/smb.conf files as following: - # Samba config file created using SWAT # from chee_ch.com (127.0.0.1) # Date : 2002/10/26 # Global parmeters [global] ;Basic server setting 3/11/2002 workgroup = CH LINUX SER netbios name = CH-HOMES server string = Primary Domain Server running Samba %v socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF = 8192 SO_SNDBUF = 8192 ;PDC and master browser setting os level = 64 preferred master = yes local master = yes domain master = yes domain logons = yes dns proxy = No ;Security and logging settings security = user encrypt passward = Yes log file = /var/log/samba/%m.log log level = 2 max log size = 0 host allow = 127.0.0.1 192.168.0.0/255.255.255.0 samba passwd file = /etc/samba/ambpasswd passward program = /usr/bin/passwd %u passwd chat = *New*passward* %n\n* *Retype*new*passwd*%n\n*passwd:*all* *authentication*token*updated*successfully* add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Mechine Account' -s /bin/false -M %u # Domain groups: domain admin group = root@adm [homes] comment = Home Directories browseable = no writable = yes [profiles] path = /home/samba/profiles writable = yes brawseable = no create mask = 0600 directory mask = 0700 [netlogon] comment = Network Logon Services path = /home/netlogon read only = yes browseable = no write list = @admins [printers] comment = All printer path = /var/spool/samba printeble = Yes brawsable = No (b) I added the Samba user Peter and Secretary: - #useradd -m Peter #passwd Peter . #cat /etc/passwd | /usr/bin/mksmbpasswd.sh > /etc/samba/smbpasswd #smbpasswd Peter . (c) I repeated the steps to create account for Secretary. (d) I added root passward to the Samba #smbpasswd -a root .. (e) I did #groupadd -g 200 admins #groupadd -g 201 machines #mkdir -m 0775 /home/netlogon #chown root.admins /home/netlogon #mkdir /home/samba /home/samba/profiles #chmod 1757 /home/samba/profiles (f) At the Windows 98 cl
[Samba] Help needed...
Hi Everyone... I have having problem conecting my linux (laptop) to internet via windows machine that has two ethernet cards. one connected to cable modem and one to my laptop. anyone have any idea how to connect them. Till next time, Samip - Samip K.Banker, B.S, M.S Assistant System Administrator, Dept. Of Computer Science, University Of Massachusetts, Lowell E-Mail : [EMAIL PROTECTED] Web: www.cs.uml.edu/~sbanker Phone : (978) 452 - 5861 Mobile : (978) 884 - 9198 Work : (978) 934 - 3636 - -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba idealx
Hello! Is the samba idealx project stopped? I did not see any changes the last month and the scripts are not usefulll with new samba and openldap packages. To use it with new samba and openldap packages I had to modify them... greetings, Philipp Hellmich -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Nothing work : Win2k Nethwork path not found
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 5 Nov 2002, William R. Knox wrote: > Is there any explanation for the number of e-mails (dozens) that I've seen > in the past few weeks that seem to be over a month old (see example > below)? There were resends from martin. Check the headers. The original mail went to samba-admin or something which is a postmaster alias on samba.org I think. cheers, jerry - Hewlett-Packard - http://www.hp.com SAMBA Team-- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2"SAMS Teach Yourself Samba in 24 Hours" 2ed "I never saved anything for the swim back." Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9yhnBIR7qMdg1EfYRAhJzAKCXGjwbhUtP/FP7bhtUH1Qihy+TlgCg4HxN 0Pojf6gAFkpG8u1ArJmg2OA= =IKPN -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba problems
Read carefully http://samba.linuxbe.org/en/samba/config/pdc-1.html and first try off PDC domain logon=no When you log on win9x as peter you must in netwark give share peter not secretary. In yuor netlogon share miss guest ok... Why you use PDC? Add user script is not need for win9x machines. And more more miss. - Original Message - From: CH ENGINEERING CO. To: [EMAIL PROTECTED] Sent: Thursday, November 07, 2002 5:37 AM Subject: [Samba] Samba problems Thank you for your helps. After I corrected all the spellings and did chown -R Secretary /home/Secretarychmod -R 700 /home/Secretary ... I double clicked the LINUXSERV at the Secretary window client, it did not prompt me for password instead went right to the CH-HOMES folder. When I double clicked the CH-HOMES, again it is an ***empty*** folder. I supposed to see Peter and Secretary folder in the CH-HOMES folder. My new sam.conf file is as following: - # Samba config file created using SWAT # from chee_ch.com (127.0.0.1) # Date : 2002/10/26 # Global parmeters [global] ;Basic server setting 3/11/2002 workgroup = CH LINUX SER netbios name = CH-HOMES server string = Primary Domain Server running Samba %v socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF = 8192 SO_SNDBUF = 8192 ;PDC and master browser setting os level = 64 preferred master = yes local master = yes domain master = yes domain logons = yes dns proxy = No ;Security and logging settings security = user encrypt password = Yes log file = /var/log/samba/%m.log log level = 2 max log size = o host allow = 127.0.0.1 192.168.0.0/255.255.255.0 samba passwd file = /etc/samba/smbpasswd password program = /usr/bin/passwd %u passwd chat = *New*password* %n\n* *Retype*new*passwd*%n\n*passwd:*all* *authentication*token*updated*successfully* add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u # Domain groups: domain admin group = root@adm [homes] comment = Home Directories browseable = no writable = yes [profiles] path = /home/samba/profiles writable = yes browseable = no create mask = 0600 directory mask = 0700 [netlogon] comment = Network Logon Services path = /home/netlogon read only = yes browseable = no write list = @admins [printers] comment = All printer path = /var/spool/samba printable = Yes browseable = No Any help will be greatly appreciated. Thank you. Oswald p/s My previous posting is as following: - Hi! I tried to set up a Samba PDC but so far it is not yet working (3 weeks passed). I posted my Samba problems to news groups and discussion forums, but the suggestions given were not able to solve my problems. I went through a few HOWTOs and followed the step-by-step guide, still can not solve my problem. I am realy new to Linux and Samba and hope sameone will guide me through. (1) What I did: - (a) I installed the samba samba-swat, samba-common, samba-client, and edited /etc/samba/smb.conf files as following: - # Samba config file created using SWAT # from chee_ch.com (127.0.0.1) # Date : 2002/10/26 # Global parmeters [global] ;Basic server setting 3/11/2002 workgroup = CH LINUX SER netbios name = CH-HOMES server string = Primary Domain Server running Samba %v socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF = 8192 SO_SNDBUF = 8192 ;PDC and master browser setting os level = 64 preferred master = yes local master = yes domain master = yes domain logons = yes dns proxy = No ;Security and logging settings security = user encrypt passward = Yes log file = /var/log/samba/%m.log log level = 2 max log size = 0 host allow = 127.0.0.1 192.168.0.0/255.255.255.0 samba passwd file = /etc/samba/ambpasswd passward program = /usr/bin/passwd %u passwd chat = *New*passward* %n\n* *Retype*new*passwd*%n\n*passwd:*all* *authentication*token*updated*successfully* add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Mechine Account' -s /bin/false -M %u # Domain groups: domain admin group = root@adm [homes] comment = Home Directories browseable = no writable = yes [profiles] path = /home/samba/profiles writable = yes brawseable = no create mask = 0600 directory mask = 0700 [netlogon] comment = Network Logon Services path = /home/netlogon read only = yes browseable = no write list = @admins