Re: [Samba] A (maybe)_ easy solution to global login script for group checking
Amadeus schrieb: Hello While searching the archives and googling for : -login script to map drives according to group membership I saw lots of complicated solutions (on-the-fly scripts, group directories) etc. but the following works very well for me: I downloade dthe ifmember.exe from the microsoft website, and stuck it in the netlogon directory (not the scripts directory) http://www.microsoft.com/windows2000/techinfo/reskit/tools/new/ifmember-o.asp Then the script is: @echo off ifmember DOMAIN\group1 if not errorlevel 1 goto group2 net use r: \\SERVER\group1files :group2 ifmember DOMAIN\group2 if not errorlevel 1 goto group3 net use s: \\SERVER\group2files :group3 So according toi group the network drives get mapped. It's all in one login script and makes things easy! I couldn't find this in the archives so I thought I'd share this. What's nice is that you have the ifmember only on the server. Hope it's not just repeating something I missed somewhere, Amadeus Hi, I use something like this as default.bat for every user the other bat files which are called must be either exist or created by root preexec at the netlogonshare by netlogon.pl ( included in the smb examples but must be modified to use this bat default ) on the fly @echo off REM default login script [EMAIL PROTECTED] for bdc1tk REM this script is only valid for win2000/NT/XP REM sync time net time \\pdc /set /yes REM - REM exec bat for logged in machine ( maybe software status or machine data ) echo %COMPUTERNAME% call %COMPUTERNAME%.bat REM --- rem exec bat for login user echo %USERNAME% call %USERNAME%.bat REM - REM exec bat for different groups REM ifmember.exe must be in the netlogon share download it at microschrott REM be aware that ifmember will give result in the current win language REM unlike normal dos, positive result from ifmember will match in errorlevel 1 ifmember /v /l KOESLING\Domain Users if errorlevel 1 call domainusers.bat ifmember /v /l KOESLING\Domain Admins if errorlevel 1 call domainadmin.bat ifmember /v /l KOESLING\rdusers if errorlevel 1 call rdusers.bat ifmember /v /l KOESLING\tkusers if errorlevel 1 call tkusers.bat Best Regards -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing not working after upgrading to 3.0.4
Kurt Pfeifle schrieb: Skip Morrow skip-samba at pelorus.org Sat May 22 22:54:26 GMT 2004 I had been running Samba to share my HP printer among my Windows XP clients. When I upgraded to 3.0.4, I can no longer print. When I start the print job in Windows XP, the printer lights blinks for a few seconds, and then stops. No pages come out. The print job is shown as complete in the CUPS web intrface. Printing from the Linux box works just fine. I read the Samba pages concerning printing, and the chapter on CUPS, but I don't see anything that could cause this problem. I read your mail, but I don't see anything that could cause your problem. Please re-post with a few more details. Tell us about your printer type(s), the driver(s) you use on the Win clients, which Samba version you was using previously, what the settings of your smb.conf are (please strip comments), which CUPS version you use, which OS version your Samba is installed on, etc. The share is still listed in smbclient, and I have tried re-installing the printer from Windows. Cheers, Kurt Hi, i had many printing Problems as i upgraded to sernet suse samba rpms 3.04, i now use suse orginal rpms from ftp.suse.com projects samba ( which seems now is the valid update path ) and the problems are gone , so it looks like a compile problem to cups devel by sernet .. or something like this , this just for info Regards -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing not working after upgrading to 3.0.4
I read your mail, but I don't see anything that could cause your problem. Please re-post with a few more details. Tell us about your printer type(s), the driver(s) you use on the Win clients, which Samba version you was using previously, what the settings of your smb.conf are (please strip comments), which CUPS version you use, which OS version your Samba is installed on, etc. I have an HP, 2100M printer. The driver that I have loaded in Windows is HP Laserjet 2100 Series PS Unfortunately, I don't have any more information about the driver becasue I can't print the test page. Here are the pertinent setting from smb.conf: [global] netbios name = PELORUS server string = samba server interfaces = 192.168.0.1 bind interfaces only = yes encrypt passwords = yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No hosts allow = 192.168.0. 127. printing = cups load printers = yes security = SHARE printcap name = cups guest ok = yes [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printable = yes printer admin = skip, suzanne, sfm, root, @ntadmin, smorrow I do not remember what version of Samba I had before. I installed it so long ago, and it worked fine for so long, I really didn't think about it too much. I am using CUPS version 1.1.20 #printers.conf DefaultPrinter HP_LJ_2100M Info HP LaserJet 2100M Location Pelorus DeviceURI parallel:/dev/lp0 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 /Printer #cupsd.conf ServerName localhost Classification none DefaultCharset UTF-8 DefaultLanguage en Printcap /etc/printcap PrintcapFormat BSD RemoteRoot remroot SystemGroup sys ServerCertificate /etc/cups/ssl/server.crt ServerKey /etc/cups/ssl/server.key Location / Encryption IfRequested Satisfy All Order deny,allow Deny From All Allow From 127.0.0.1 Allow From 192.168.0.* /Location Location /admin AuthType Basic AuthClass System Encryption IfRequested Satisfy All Order deny,allow Deny From All Allow From 127.0.0.1 /Location HostnameLookups On KeepAlive On KeepAliveTimeout 60 MaxClients 100 MaxRequestSize 0m Timeout 300 Listen *:631 AccessLog /var/log/cups/access_log ErrorLog /var/log/cups/error_log PageLog /var/log/cups/page_log MaxLogSize 1m LogLevel debug2 PreserveJobHistory On PreserveJobFiles No AutoPurgeJobs No MaxJobs 0 MaxJobsPerPrinter 0 MaxJobsPerUser 0 User lp Group sys RIPCache 80m FilterLimit 0 DataDir /usr/share/cups DocumentRoot /usr/share/cups/doc RequestRoot /var/spool/cups ServerBin /usr/lib/cups ServerRoot /etc/cups TempDir /var/spool/cups/tmp Browsing On BrowseProtocols CUPS BrowsePort 631 BrowseInterval 30 BrowseTimeout 300 BrowseAddress @IF(eth1) BrowseOrder allow,deny ImplicitClasses On ImplicitAnyClasses Off HideImplicitMembers Yes BrowseShortNames Yes # $Id: mime.convs,v 1.17 2002/08/09 00:00:54 mike Exp $ application/pdf application/postscript 33 pdftops application/postscript application/vnd.cups-postscript 66 pstops application/vnd.hp-HPGL application/postscript 66 hpgltops application/x-cshellapplication/postscript 33 texttops application/x-perl application/postscript 33 texttops application/x-shell application/postscript 33 texttops text/plain application/postscript 33 texttops text/html application/postscript 33 texttops image/gif application/vnd.cups-postscript 66 imagetops image/png application/vnd.cups-postscript 66 imagetops image/jpeg application/vnd.cups-postscript 66 imagetops image/tiff application/vnd.cups-postscript 66 imagetops image/x-photocd application/vnd.cups-postscript 66 imagetops image/x-portable-anymap application/vnd.cups-postscript 66 imagetops image/x-portable-bitmap application/vnd.cups-postscript 66 imagetops image/x-portable-graymap application/vnd.cups-postscript66 imagetops image/x-portable-pixmap application/vnd.cups-postscript 66 imagetops image/x-sgi-rgb application/vnd.cups-postscript 66 imagetops image/x-xbitmap application/vnd.cups-postscript 66 imagetops image/x-xpixmap application/vnd.cups-postscript 66 imagetops image/x-xwindowdump application/vnd.cups-postscript 66 imagetops image/x-sun-raster application/vnd.cups-postscript 66 imagetops image/gif application/vnd.cups-raster 100 imagetoraster image/png application/vnd.cups-raster 100 imagetoraster image/jpeg application/vnd.cups-raster 100 imagetoraster image/tiff
[Samba] Printing not working after upgrading to 3.0.4
Skip Morrow skip-samba at pelorus.org Sun May 23 10:47:12 GMT 2004 I read your mail, but I don't see anything that could cause your problem. Please re-post with a few more details. Tell us about your printer type(s), the driver(s) you use on the Win clients, which Samba version you was using previously, what the settings of your smb.conf are (please strip comments), which CUPS version you use, which OS version your Samba is installed on, etc. I have an HP, 2100M printer. The driver that I have loaded in Windows is HP Laserjet 2100 Series PS. *How* did you install that driver? And the printer you own is in fact a PostScript-enabled modell? (Sorry, I don't know by heart if that 2100M defaults to include PS, or if PS is only an upgrade option) If you installed it as a local client driver, you have to use use client driver = yes in smb.conf (this is not the recommended setting, but works also). A locally installed driver (for a shared printer) on the client can be more exposed with this commandline (in a Samba host shell), even if the test page isn't printing: rpcclient -Uwindowsuser%windowspassword -c enumdrivers 3 windowshostname This command shows up pretty much the same info as a printed testpage would do If you installed it via Point'n'Print, you should be able to use that command in a Samba host shell: rpcclient -Uroot%smbpasswd-of-root -c enumdrivers 3 localhost Unfortunately, I don't have any more information The operating system? Linux? Which distro? Who built the Samba packages? Is CUPS support compiled into the Samba binaries? about the driver becasue I can't print the test page. See above. Here are the pertinent setting from smb.conf: Is this the same smb.conf you inherited from your previous Samba installation? [global] netbios name = PELORUS server string = samba server interfaces = 192.168.0.1 bind interfaces only = yes encrypt passwords = yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No hosts allow = 192.168.0. 127. printing = cups load printers = yes security = SHARE Change that to security = user as the Samba HOWTO Collections suggests. (Don't forget to set Samba passwords with smbpasswd -a root and smbpasswd -a username) printcap name = cups guest ok = yes [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printable = yes printer admin = skip, suzanne, sfm, root, @ntadmin, smorrow I do not remember what version of Samba I had before. I installed it so long ago, and it worked fine for so long, I really didn't think about it too much. I am using CUPS version 1.1.20 So your old Samba with the same smb.conf setup did work with CUPS-1.1.20 ?? #printers.conf DefaultPrinter HP_LJ_2100M Info HP LaserJet 2100M Location Pelorus DeviceURI parallel:/dev/lp0 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 /Printer #cupsd.conf ServerName localhost This setting doesn't work for any other host as a client. (It works for Samba, since smbd transmits the file to cupsd from localhost...). You should either comment the line out (in which case cupsd will default to use the hostname for ServerName, or use ServerName your host's IP address or explicitely go for ServerName your hostname. Classification none DefaultCharset UTF-8 DefaultLanguage en Printcap /etc/printcap PrintcapFormat BSD RemoteRoot remroot SystemGroup sys ServerCertificate /etc/cups/ssl/server.crt ServerKey /etc/cups/ssl/server.key Location / Encryption IfRequested Satisfy All Order deny,allow Deny From All Allow From 127.0.0.1 Allow From 192.168.0.* /Location Location /admin AuthType Basic AuthClass System Encryption IfRequested Satisfy All Order deny,allow Deny From All Allow From 127.0.0.1 /Location HostnameLookups On KeepAlive On KeepAliveTimeout 60 MaxClients 100 MaxRequestSize 0m Timeout 300 Listen *:631 AccessLog /var/log/cups/access_log ErrorLog /var/log/cups/error_log PageLog /var/log/cups/page_log MaxLogSize 1m LogLevel debug2 LogLevel debug2 will drown you in error messages. Considering that you have limited the error_log file size to 1 MByte, this will effectively prevent you from ever finding anything useful in the log. 1 MByte of debug2 output fills the file in seconds before it log-rotates. Better use MaxLogSize 10m LogLevel debug and have all the relevant info at your fingertips. In case there is really a severe problem, you can always go for debug2 and 50 MByte for a limited period of troubleshooting. What do you see in the /var/cups/log/error_log as noted when the job arrives at CUPS? Look for a line containing print_job: auto-typing file... and the following print_job: request file type is What is it? Also
RE: [Samba] getent ??
Sorry for asking this question again, I'm hoping someone can answer it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Mason Sent: Saturday, May 22, 2004 5:16 PM To: Samba-List Subject: [Samba] getent ?? I've installed Fedora Core 2 from scratch, got my DNS and VNC to work, next is Samba. I was running previously SAMBA 2.28a but now I'm working with 3.04. I've since bought Samba-3 by Example, and I'm following it fairly closely. I've got samba to work with no shares yet, I've run initgrps.sh to create my Domain Groups. Winbind is working. I do a getent groups and this is what I get ~~ --- shortened the output of getent baubba:x:500: public:x:501: ntadmin:x:502: BUILTIN\System Operators:x:1: BUILTIN\Replicators:x:10001: BUILTIN\Guests:x:10002: BUILTIN\Power Users:x:10003: BUILTIN\Print Operators:x:10004: BUILTIN\Administrators:x:10005: BUILTIN\Account Operators:x:10006: BUILTIN\Backup Operators:x:10007: BUILTIN\Users:x:10008: Now my Domain is MEPHISTOPHELES. Shouldn't the output be more MEPHISTOPHELES\System Operators. or is this correct? -- 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: Proof of concept
L'adresse que vous demandez n'est plus valide. Soucieux d'ameliorer son support technique par mail, Free vous informe qu'un formulaire est desormais a votre disposition sur http://www.free.fr/contact/. Ce formulaire vise a faciliter et accelerer le traitement du probleme que vous nous soumettez en le prequalifiant. C'est pourquoi nous vous remercions de vous conformer a cette page et de renseigner les differents champs afin que notre service technique mail puisse vous apporter la reponse adequate. Nous vous prions de bien vouloir nous excuser de la gene occasionnee, et nous vous remercions de la confiance que vous nous temoignez. Le service Assistance Technique de Free. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problems upgrading from 2.2.7a to 3.0.2a
Do you think the session ID would have anything to do with the lost Windows settings, themes, icons, etc? -Jeremy --- Gary MacKay [EMAIL PROTECTED] wrote: The biggest thing you need is the SID from the old samba. I think it _might_ have gone better if you had copied over all of the samba files and got 2.2.7 running first, then upgrade it to 3.x. Microsoft networking/domains tie alot of stuff, to the network SID. Look on the old server for /var/lib/samba or /var/cache/samba folders. I 'think' what you are looking for is in the /var/cache/samba folder. Something to try: remove 3.x on new server install 2.2.7 on new server copy all files from /var/cache/samba from old server test that machines login to 2.2.7 as before but with new server down all workstations upgrade 3.04 on top of 2.2.7 modify smb.conf file appropriately (ie. valid users = @users now is valid users = +users ) The @ is still supposed to work but I never could get it to. Test login a workstation - Gary Jeremy wrote: First, a little background: For over a year now, we've had a 400 Mhz celeron running Samba 2.2.7 on RedHat 9, acting as a PDC for an office of about 8 Windows XP client PCs. It has done a great job, but we recently bought a new Dell Poweredge 400 sc (2.4 Ghz P-4) to replace it. I installed Gentoo on it, with Samba 3.0.2a. I also copied the entire /home tree from the old box to the new one, preserving permissions. (Yes, I copied the users entries from /etc/passwd, all the UIDs and GIDs match.) (Profiles are subdirectories of each users home dir). I also copied over the smbpasswd file. I didn't copy the smb.conf file though, I went through it, line by line, and copied configuration info by hand, making sure everything was correct. Ok, so, after all this, I thought I was good to make the switch. I thought I'd be smart and shut down all the client PCs, shut down the old server, configure the new server to have the same hostname and IP address, start Samba, and start the client PCs, and hope they'd just use the new machine as the domain server. Nope. Oh well, I'll just go in and re-join the domain... Wrong again. The infamous There cannot be multiple connections to the server... crap. Took me several hours of searching the net to figure out that -Shortcuts- to files/folders on the server can cause that message. Ok, so I got it to join the domain. I log off Administrator, and log in as a domain user. Login works wonderfully. I am so happy. But, after everything is loaded, i notice things are off. Background is gone, I get a message about Could not reconnect all network drives (There are usually two drives mapped to the server, Y and Z. The Z drive maps just fine. (Y maps to the 'public' shared directory for all users, while Z maps to the users home directory). I'm dumbfounded, so I click 'Start' to go into control panel, and another suprise, the icons on the left side of XP's two sides start menu, are gone. When I go to the display control panel, the theme box is entirely black, when you try to change any settings, you get Cannot access C:\Windows\some obscure file error). I have dug and dug, I cannot find anything anywhere on the net about anyone having any problem even remotely similiar to this. Any help, is -greatly- appreciated. This is the most confounding issue I've ever seen. It's almost like the 'settings' for the profile aren't getting copied over. -Jeremy __ Do you Yahoo!? Yahoo! Domains Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer __ Do you Yahoo!? Yahoo! Domains Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Problems upgrading from 2.2.7a to 3.0.2a
Jeremy Also try this. I had the same stuff happen to me and I'm still experiencing some issues but trying to get through them. This seemed to work also net groupmap modify ntgroup=Domain Users unixgroup=users net groupmap modify ntgroup=Domain Admins unixgroup=admins net groupmap modify ntgroup=Domain Guests unixgroup=nobody Jose -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Sent: Sunday, May 23, 2004 1:44 PM To: [EMAIL PROTECTED] Subject: Re: [Samba] Problems upgrading from 2.2.7a to 3.0.2a Do you think the session ID would have anything to do with the lost Windows settings, themes, icons, etc? -Jeremy --- Gary MacKay [EMAIL PROTECTED] wrote: The biggest thing you need is the SID from the old samba. I think it _might_ have gone better if you had copied over all of the samba files and got 2.2.7 running first, then upgrade it to 3.x. Microsoft networking/domains tie alot of stuff, to the network SID. Look on the old server for /var/lib/samba or /var/cache/samba folders. I 'think' what you are looking for is in the /var/cache/samba folder. Something to try: remove 3.x on new server install 2.2.7 on new server copy all files from /var/cache/samba from old server test that machines login to 2.2.7 as before but with new server down all workstations upgrade 3.04 on top of 2.2.7 modify smb.conf file appropriately (ie. valid users = @users now is valid users = +users ) The @ is still supposed to work but I never could get it to. Test login a workstation - Gary Jeremy wrote: First, a little background: For over a year now, we've had a 400 Mhz celeron running Samba 2.2.7 on RedHat 9, acting as a PDC for an office of about 8 Windows XP client PCs. It has done a great job, but we recently bought a new Dell Poweredge 400 sc (2.4 Ghz P-4) to replace it. I installed Gentoo on it, with Samba 3.0.2a. I also copied the entire /home tree from the old box to the new one, preserving permissions. (Yes, I copied the users entries from /etc/passwd, all the UIDs and GIDs match.) (Profiles are subdirectories of each users home dir). I also copied over the smbpasswd file. I didn't copy the smb.conf file though, I went through it, line by line, and copied configuration info by hand, making sure everything was correct. Ok, so, after all this, I thought I was good to make the switch. I thought I'd be smart and shut down all the client PCs, shut down the old server, configure the new server to have the same hostname and IP address, start Samba, and start the client PCs, and hope they'd just use the new machine as the domain server. Nope. Oh well, I'll just go in and re-join the domain... Wrong again. The infamous There cannot be multiple connections to the server... crap. Took me several hours of searching the net to figure out that -Shortcuts- to files/folders on the server can cause that message. Ok, so I got it to join the domain. I log off Administrator, and log in as a domain user. Login works wonderfully. I am so happy. But, after everything is loaded, i notice things are off. Background is gone, I get a message about Could not reconnect all network drives (There are usually two drives mapped to the server, Y and Z. The Z drive maps just fine. (Y maps to the 'public' shared directory for all users, while Z maps to the users home directory). I'm dumbfounded, so I click 'Start' to go into control panel, and another suprise, the icons on the left side of XP's two sides start menu, are gone. When I go to the display control panel, the theme box is entirely black, when you try to change any settings, you get Cannot access C:\Windows\some obscure file error). I have dug and dug, I cannot find anything anywhere on the net about anyone having any problem even remotely similiar to this. Any help, is -greatly- appreciated. This is the most confounding issue I've ever seen. It's almost like the 'settings' for the profile aren't getting copied over. -Jeremy __ Do you Yahoo!? Yahoo! Domains Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer __ Do you Yahoo!? Yahoo! Domains Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer -- 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] Victory at last
Thank you for your mor tg age application, which we received yesterday. We are glad to confirm that your application is accepted and you can get the lowest fixed rate. Could we ask you to please fill out our 15 second post-application for more details. http://realnetvalue.com/?partid=saving Yours sincerely, Kevin T. Leslie Mor tg age Broker Association. cardiovascular opportune sac pigroot questionnaire saddle wreak danish motto steroid disputant band beside confederacy alchemy bouquet deviate element aviate coil shallow tyrannic To modify your future preference with us: http://realnetvalue.com/st.html committeemen stopwatch bridesmaid nancy pathos clearance inexhaustible communique desirous authoritarian dry etymology windowsill bryophyte lisle sidle bauhaus mermaid lomb windup colorado pelican dying telegraph epistolatory -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Problems upgrading from 2.2.7a to 3.0.2a
Ok, an update: I've been trying all kinds of things. The closest thing to making it work, was doing the following on the new server: stop samba delete all files in /var/cache/samba start samba log in to an empty profile log out copy profile over recursively delete all desktop.ini files in my profile log back in. I now get a desktop with no missing icons, my background comes up, etc. However, my experience is that I have to repeat this horrid process for every user. Before I go through all this, does anyone know why this is happening? What's in these desktop.ini files that can't handle switching to a different server? Oh, and get this: After I got a user working on the new server under the domain name 'testworkgroup', I decided I would see what would happen if I changed the domain name to 'newworkgroup'. I changed it, and joined the new domain. Logged in my domain user, and the start menu/desktop/theme/settings were screwed up in exactly the same was as they were when I switched to the new server with the SAME domain name. To sum: 1.) If you switch from one server to another, even if the servers have the same hostname, IP address and domainname, Windows whacks out. 2.) If the server stays the same, and the ONLY thing you change is the domainname, Windows -still- whacks out. So it's not the server, and it's not the IP address, not the hostname, and not the domain name. What is it exactly that is being changed that Windows does not like? I am at a total loss. -Jeremy __ Do you Yahoo!? Yahoo! Domains Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] debian unstable 3.0.4-3 panics
Hi All, I had been doing some testing with the Debian 3.0.4-x versions of samba. On two sepearte systems, running different configs, I've found that smbd panics unless the [printers] section is removed from smb.conf. Errors generated as follows... (System #1) Server role: ROLE_DOMAIN_MEMBER Smb.conf... [Global] security = DOMAIN printcap name = cups printing = cups [printers] comment = All Printers path = /tmp printer admin = root, MYDOMAIN/lewis guest ok = Yes printable = Yes browseable = No Smbd.log... [2004/05/24 09:37:23, 0] smbd/server.c:main(757) smbd version 3.0.4-Debian started. Copyright Andrew Tridgell and the Samba Team 1992-2004 Fatal error: Cannot allocate memory [2004/05/24 09:37:23, 0] lib/fault.c:fault_report(36) === [2004/05/24 09:37:23, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 6 in pid 6729 (3.0.4-Debian) Please read the appendix Bugs of the Samba HOWTO collection [2004/05/24 09:37:23, 0] lib/fault.c:fault_report(39) === [2004/05/24 09:37:23, 0] lib/util.c:smb_panic2(1388) smb_panic(): calling panic action [/usr/share/samba/panic-action 6729] /etc/samba/gdbcommands:1: Error in sourced command file: Previous frame inner to this frame (corrupt stack?) [2004/05/24 09:52:15, 0] lib/util.c:smb_panic2(1396) smb_panic(): action returned status 0 [2004/05/24 09:52:15, 0] lib/util.c:smb_panic2(1398) PANIC: internal error [2004/05/24 09:52:15, 0] lib/util.c:smb_panic2(1406) BACKTRACE: 23 stack frames: #0 /usr/sbin/smbd(smb_panic2+0x111) [0x81cd0d1] #1 /usr/sbin/smbd(smb_panic+0x1a) [0x81ccfba] #2 /usr/sbin/smbd [0x81babe8] #3 /lib/libc.so.6 [0x401b44a8] #4 /lib/libc.so.6(abort+0x178) [0x401b5838] #5 /usr/lib/libgcrypt.so.7 [0x40383f37] #6 /usr/lib/libgcrypt.so.7 [0x40384c95] #7 /usr/lib/libgcrypt.so.7 [0x403b5558] #8 /usr/lib/libgcrypt.so.7 [0x403b544e] #9 /usr/lib/libgcrypt.so.7(gcry_mpi_scan+0x2a1) [0x403ba741] #10 /usr/lib/libgnutls.so.7(_gnutls_mpi_scan+0x39) [0x4034be29] #11 /usr/lib/libgnutls.so.7(_gnutls_dh_calc_mpis+0x7b) [0x4035389b] #12 /usr/lib/libgnutls.so.7(gnutls_global_init+0xc2) [0x4034dd82] #13 /usr/lib/libcups.so.2(httpInitialize+0x5d) [0x40118bad] #14 /usr/lib/libcups.so.2(httpConnectEncrypt+0x22) [0x40118d22] #15 /usr/lib/libcups.so.2(httpConnect+0x38) [0x40118cf8] #16 /usr/sbin/smbd(cups_printer_fn+0x41) [0x81b23b1] #17 /usr/sbin/smbd(pcap_printer_fn+0x8b) [0x81b1fbb] #18 /usr/sbin/smbd(add_all_printers+0x22) [0x81b7712] #19 /usr/sbin/smbd(reload_services+0x6a) [0x823a0ca] #20 /usr/sbin/smbd(main+0x26e) [0x823a89e] #21 /lib/libc.so.6(__libc_start_main+0xc6) [0x401a0dc6] #22 /usr/sbin/smbd(ldap_msgfree+0x89) [0x80780c1] (System 2) Server role: ROLE_DOMAIN_PDC Smb.conf... [Global] domain logons = Yes os level = 33 preferred master = Yes domain master = Yes local master = Yes printcap name = cups printing = cups [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable = No guest ok = Yes printer admin = root Smbd.log... [2004/05/16 15:16:52, 0] smbd/server.c:main(757) smbd version 3.0.4 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/05/16 15:16:52, 2] param/loadparm.c:do_section(3400) Processing section [homes] [2004/05/16 15:16:52, 2] param/loadparm.c:do_section(3400) Processing section [printers] [2004/05/16 15:16:52, 2] param/loadparm.c:do_section(3400) Processing section [print$] [2004/05/16 15:16:52, 2] param/loadparm.c:do_section(3400) Processing section [HPLaser1200] [2004/05/16 15:16:52, 2] param/loadparm.c:do_section(3400) Processing section [OMA_Share] Fatal error: Cannot allocate memory [2004/05/16 15:16:53, 0] lib/fault.c:fault_report(36) === [2004/05/16 15:16:53, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 6 in pid 24143 (3.0.4) Please read the appendix Bugs of the Samba HOWTO collection [2004/05/16 15:16:53, 0] lib/fault.c:fault_report(39) === [2004/05/16 15:16:53, 0] lib/util.c:smb_panic2(1388) smb_panic(): calling panic action [/usr/share/samba/panic-action 24143] [2004/05/16 15:16:53, 0] lib/util.c:smb_panic2(1396) smb_panic(): action returned status 127 [2004/05/16 15:16:53, 0] lib/util.c:smb_panic2(1398) PANIC: internal error [2004/05/16 15:16:53, 0] lib/util.c:smb_panic2(1406) BACKTRACE: 25 stack frames: #0 /usr/sbin/smbd(smb_panic2+0x176) [0x8192bb6] #1 /usr/sbin/smbd(smb_panic+0x13) [0x8192a3b] #2 /usr/sbin/smbd [0x8183133] #3 /usr/sbin/smbd [0x8183195] #4 /lib/libc.so.6 [0x401b94a8] #5
[Samba] Logs and one mount point
Hi list, I have a Samba with ADS and I have some questions: 1. About log I need to log, if possible in a separeted file, all the changes that a user make in the files (for example, delete a file). What the operations can I make with the logs? 2. I have many groups of users from ADS (like g1, g2 and g3). I need to construct directores like this: data/list1 data/list2 data/list3 with access: list1: access by g1 and g2 list2: access by g2 list3: access by all (for example) I need that the clients machines mount the data directory, for easiest manager (and not mount list1, list2 and list3). How can I do to preserve this structure? Thanks in advance, Luiz. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Ready to try 3.0.4
Kevin Kallsen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have samba 2.2.8 installed on mandrake 9.1 as a domain PDC. I am ready to upgrade to 3.0.4 and was wondering if I have to make any special changes before I urpmi samba off the cooker? I assume that 2.2.8 is running in a production environment. I would strongly suggest that you set up a test network and get familiar with Samba 3.x. This is a good thing to do for any type of system change. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Ready to try 3.0.4
Jamrock posts: suggest that you set up a test network and get familiar with Samba 3.x. Suggest that you read the excellent Samba Guide written by our own list member John Terpstra which is available from the download mirrors. This excellent documentation work by John would be a great help in your leap forward with Samba 3.0.4. Invaluable effort by John Terpstra! Ask your friends to buy and read this guide when they say that free software lacks good books -- ragOO Amateur Radio VU2RGU Join us now and share the software, You'll be free, hackers, You'll be free! http://puggy.symonds.net/~fsug-kochi -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] quota under samba
Hi, Since I failed to find info about quota setting in official document, may I ask for a brief instruction about quota setting with Samba3.0.4 please? I'm using winbind to get NT domain user and group, smb.conf as following, thankyou very much. [global] workgroup = PBE server string = Central File Server security = DOMAIN log file = /var/log/samba/%m.log wins server = 192.168.1.9, 192.168.1.35 ldap ssl = no idmap uid = 1-2 idmap gid = 1-2 template homedir = /public/home/%U template shell = /bin/bash winbind cache time = 5 veto oplock files = |.xls|.XLS| Best Regards, Steven -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba 3 keeps trying to authenticate with the nt4 pdc using port 445
Hello, I'm running redhat enterprise as 3.2 with the included samba 3.0.2-6.3E. I'm trying to make this a domain member server in a nt4 domain. I've successfully joined the domain only after using the net join -p 139 option to force samba to use port 139, otherwise it kept trying to communicate over port 445. (I was watching the syn packets with tethereal). Typing wbinfo -g comes back with Error looking up domain groups. smbd, nmbd, and winbind all all running with no errors. I tried to use the smb ports = 139 option in the smb.conf to try to get the server to communicate only with 139, but it seems that it does not work, maybe from xp client to samba server, but not from samba server to nt4 pdc. Is there anyway to force samba to do communicate with my pdc using 139? Thanks in advance, jamie CAPTURE OF DATA BETWEEN SAMBA SERVER AND PDC 2004-05-23 21:55:05.580707 IP OF SAMBA SERVER - IP OF PDC TCP 32770 445 [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=14036 TSER=0 WS=0 2004-05-23 21:55:12.917997 IP OF SAMBA SERVER - IP OF PDC NBNS Name query NBSTAT CENTRAL1c 2004-05-23 21:55:12.919868 IP OF PDC - IP OF SAMBA SERVER NBNS Name query response NBSTAT 2004-05-23 21:55:12.920274 IP OF SAMBA SERVER - IP OF PDC TCP 32771 445 [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=14769 TSER=0 WS=0 2004-05-23 21:55:15.910702 IP OF SAMBA SERVER - IP OF PDC TCP 32771 445 [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=15069 TSER=0 WS=0 2004-05-23 21:55:21.910705 IP OF SAMBA SERVER - IP OF PDC TCP 32771 445 [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=15669 TSER=0 WS=0 2004-05-23 21:55:33.910707 IP OF SAMBA SERVER - IP OF PDC TCP 32771 445 [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=16869 TSER=0 WS=0 2004-05-23 21:55:53.580710 IP OF SAMBA SERVER - IP OF PDC TCP 32770 445 [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=18836 TSER=0 WS=0 2004-05-23 21:55:57.910703 IP OF SAMBA SERVER - IP OF PDC TCP 32771 445 [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=19269 TSER=0 WS=0 SMB.CONF FILE [global] winbind separator = + idmap uid = 1-2 idmap gid = 1-2 winbind enum users = yes winbind enum groups = yes smb ports = 139 workgroup = mydomain server string = Samba Server printcap name = /etc/printcap load printers = yes log file = /var/log/samba/%m.log max log size = 50 security = domain password server = nameofpdc encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no # Share Definitions == [homes] comment = Home Directories browseable = no writable = yes [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writable = no printable = yes NSSWITCH.CONF FILE # # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. # # The entry '[NOTFOUND=return]' means that the search for an # entry should stop if the search in the previous entry turned # up nothing. Note that if the search failed due to some other reason # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # nisplus or nis+ Use NIS+ (NIS version 3) # nis or yp Use NIS (NIS version 2), also called YP # dns Use DNS (Domain Name Service) # files Use the local files # db Use the local database (.db) files # compat Use NIS on compat mode # hesiod Use Hesiod for user lookups # [NOTFOUND=return] Stop searching if not found so far # # To use db, put the db in front of files for entries you want to be # looked up first in the databases # # Example: #passwd:db files nisplus nis #shadow:db files nisplus nis #group: db files nisplus nis passwd: files winbind shadow: files group: files winbind #hosts: db files nisplus nis dns hosts: files dns # Example - obey only what nisplus tells us... #services: nisplus [NOTFOUND=return] files #networks: nisplus [NOTFOUND=return] files #protocols: nisplus [NOTFOUND=return] files #rpc:nisplus [NOTFOUND=return] files #ethers: nisplus [NOTFOUND=return] files #netmasks: nisplus [NOTFOUND=return] files bootparams: nisplus [NOTFOUND=return] files ethers: files netmasks: files networks: files protocols: files rpc:files services: files netgroup: files publickey: nisplus automount: files aliases:files nisplus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Smaba 2.2.8. Cant get file properties
I've just installed Samba 2.2.8 from the http://www.pi-net.dyndns.org/anonymous/jyc/ web site. I couldn't link it as it didn't find snprintf and friends. So I compiled from source. I undefed HAS_SNPRINTF etc. from config.h and added a #define for IFF_UP. Then everything compiled and linked. This is with DEC C V5.7-004 on OpenVMS Alpha V7.2-1 and DIGITAL TCP/IP Services for OpenVMS Alpha Version V5.0A - ECO 3 on a COMPAQ Professional Workstation P running OpenVMS V7.2-1 Now it seems to work. But... I connect my W98 SE box over an ssh tunnel for port 139 and I can see the VMS directories. I can even delete and copy files. Cool. But whenever I try to get file properties via the right mouse click or ALT/Enter the box freezes for about 2 minutes. After that I get fairly empty information in the property sheet of the file and the LOG.box file in SAMBA_LOG has something like [2004/05/23 21:22:32, 0] TMP:[AI26.SAMBA-2_2_8-SRC.SOURCE.LIB]UTIL_SOCK.C;3:(441) read_data: read failure for 4. Error = connection reset by peer [2004/05/23 21:22:38, 1] TMP:[AI26.SAMBA-2_2_8-SRC.SOURCE.SMBD]SERVICE.C;2:(636) micha (xxx.xxx.xxx.xx) connect to service ai26 as user ai26 (uid=8388765, gid=128) (pid 557909691) This also happens if I try a `cd' in a cygwin window. `cd' in a DOS box works. Double click on a .txt file also freezes, `more' via cygwin works. Any ideas what might be wrong? Do I have to forward other ports? Thanks, Michael PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING: http://www.catb.org/~esr/faqs/smart-questions.html
Internet.Com Format Error
Sorry, your email containing an attachment can not be distributed through Internet.Com discussion lists. The only acceptable format for posting to isp-dsl is ASCII Text, with NO attachments. Please, re-send your post to continue your discussion on isp-dsl. PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING: http://www.catb.org/~esr/faqs/smart-questions.html
svn commit: samba r828 - in branches/SAMBA_4_0/source/lib/registry: common reg_backend_nt4 tools
Author: jelmer Date: 2004-05-23 12:01:20 + (Sun, 23 May 2004) New Revision: 828 Modified: branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c branches/SAMBA_4_0/source/lib/registry/common/reg_objects.c branches/SAMBA_4_0/source/lib/registry/common/registry.h branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4/reg_backend_nt4.c branches/SAMBA_4_0/source/lib/registry/tools/regshell.c branches/SAMBA_4_0/source/lib/registry/tools/regtree.c Log: Some fixes in the core and regshell concerning hives and unicode WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/source/lib/registryrev=828nolog=1
svn commit: samba r829 - in branches/SAMBA_4_0/source/lib/registry: common tools
Author: jelmer Date: 2004-05-23 12:12:50 + (Sun, 23 May 2004) New Revision: 829 Modified: branches/SAMBA_4_0/source/lib/registry/common/reg_objects.c branches/SAMBA_4_0/source/lib/registry/tools/regshell.c Log: Implement 'hive' command WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/source/lib/registryrev=829nolog=1
svn commit: samba-docs r77 - branches/SAMBA_4/manpages
Author: jelmer Date: 2004-05-23 12:31:20 + (Sun, 23 May 2004) New Revision: 77 Added: branches/SAMBA_4/manpages/regshell.1.xml Log: Add manpage for regshell WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba-docspath=/rev=77nolog=1
svn commit: samba r831 - branches/SAMBA_4_0/source/lib
Author: abartlet Date: 2004-05-23 12:44:53 + (Sun, 23 May 2004) New Revision: 831 Modified: branches/SAMBA_4_0/source/lib/charcnv.c Log: These functions duplicate the push/pull charcnv interfaces that we use everywhere else in the Samba code, so remove them for clarity. (ok, so also just never liked the names ;-) Andrew Bartlett WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=831nolog=1
svn commit: samba-docs r78 - branches/SAMBA_4/manpages
Author: jelmer Date: 2004-05-23 12:49:18 + (Sun, 23 May 2004) New Revision: 78 Added: branches/SAMBA_4/manpages/regdiff.1.xml Log: Add manpage for regdiff WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba-docspath=/rev=78nolog=1
svn commit: samba-docs r79 - branches/SAMBA_4/manpages
Author: jelmer Date: 2004-05-23 12:55:47 + (Sun, 23 May 2004) New Revision: 79 Added: branches/SAMBA_4/manpages/regpatch.1.xml Log: Document regpatch WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba-docspath=/rev=79nolog=1
svn commit: samba-docs r80 - branches/SAMBA_4/manpages
Author: jelmer Date: 2004-05-23 13:09:44 + (Sun, 23 May 2004) New Revision: 80 Added: branches/SAMBA_4/manpages/regtree.1.xml Log: Document regtree WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba-docspath=/rev=80nolog=1
svn commit: samba-docs r81 - in branches/SAMBA_4: . manpages
Author: jelmer Date: 2004-05-23 13:24:59 + (Sun, 23 May 2004) New Revision: 81 Added: branches/SAMBA_4/TODO branches/SAMBA_4/manpages/ldbadd.1.xml Log: - Add manpage for ldbadd. - Add TODO file. WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba-docspath=/branches/SAMBA_4rev=81nolog=1
svn commit: samba r832 - in branches/SAMBA_4_0/source/lib/registry: common tools
Author: jelmer Date: 2004-05-23 13:50:56 + (Sun, 23 May 2004) New Revision: 832 Modified: branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c branches/SAMBA_4_0/source/lib/registry/tools/gregedit.c Log: Only show menu items for backends if they're present WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/source/lib/registryrev=832nolog=1
svn commit: samba r833 - branches/SAMBA_4_0/source/lib/registry/common
Author: jelmer Date: 2004-05-23 13:55:52 + (Sun, 23 May 2004) New Revision: 833 Modified: branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c Log: Compile error WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=833nolog=1
svn commit: samba-web r69 - trunk/support
Author: deryck Date: 2004-05-24 03:29:54 + (Mon, 24 May 2004) New Revision: 69 Modified: trunk/support/austria.html Log: Adding a company back to list that had been deleted in error. WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba-webpath=/rev=69nolog=1
svn commit: samba r835 - in branches/SAMBA_2_2/source: . include rpcclient
Author: sharpe Date: 2004-05-24 03:36:14 + (Mon, 24 May 2004) New Revision: 835 Modified: branches/SAMBA_2_2/source/configure.in branches/SAMBA_2_2/source/include/config.h.in branches/SAMBA_2_2/source/rpcclient/cmd_reg.c Log: Patches from Rudolf Cejka to properly handle getopt on FreeBSD for rpcclient. WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_2_2/sourcerev=835nolog=1
svn commit: samba r836 - branches/SAMBA_4_0/source/include
Author: tridge Date: 2004-05-24 04:53:12 + (Mon, 24 May 2004) New Revision: 836 Modified: branches/SAMBA_4_0/source/include/rpc_secdes.h Log: get rid of SEC_DESC and related structure definitions WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=836nolog=1
svn commit: samba r838 - in branches/SAMBA_4_0/source: include param
Author: tridge Date: 2004-05-24 05:07:04 + (Mon, 24 May 2004) New Revision: 838 Removed: branches/SAMBA_4_0/source/include/rpc_misc.h Modified: branches/SAMBA_4_0/source/include/smb.h branches/SAMBA_4_0/source/param/loadparm.c Log: got rid of rpc_misc.h WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=838nolog=1
svn commit: samba r839 - in branches/SAMBA_4_0/source/rpc_server: . samr
Author: tridge Date: 2004-05-24 05:35:59 + (Mon, 24 May 2004) New Revision: 839 Added: branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.h branches/SAMBA_4_0/source/rpc_server/samr/samr_password.c Modified: branches/SAMBA_4_0/source/rpc_server/config.m4 branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c branches/SAMBA_4_0/source/rpc_server/samr/samdb.c Log: password set/change in the samr server is complex enough that it deserves its own C module WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/source/rpc_serverrev=839nolog=1