Re: [Samba] samba option for users to have admin rights for theirmachine
Access rights on a w2k workstation are completely separate from access rights within a domain; similarly users in a domain are completely different (in MS terms) from users on a W2K workstation. If your users are logging on to a domain then they will have user accounts within the domain and when you look at the users on a w2k box you will see something like \domain\user name as the fully qualified user name (may be 2 leading slashes ie \\ or mayeb none I forget which - just don't hang me forthis lapse :-) ). A user defined for the local machine will have a similar fully qualified user name but the 'domain' will be the name of the local machine. To give a domain user administrator privileges on the local workstation you will have to add that (fully qualified) domain user to the administrators group on the local machine. Log on as the local machine administrator (I'm assuming you don't have a domain user with administrator privileges on the local machine as yet), open the control panel and click the Users and Passwords icon. This will list all the users for the local machine. Click the 'Add' button and then click the Browse button. On my workstations this brings up a dialog pointing out that you don't have acess to browse the domain and asks for the username and password of someone who does; so enter the username and password of the user that you used to join the workstation to your samba domain. Now you can browse through a list of domain users and add them as users with (Administrator) rights on the local machine by adding them to the local machine's administrator group. Neil Bilal Dar,5726133 wrote: Hi, I want to know something, i configured samba and its working fine so far. But i was told by boss that the user of a machine should hav administrative rights for their own machine. I have no idea how to do this and i cant find it in documentation as well. Kindly if anyone knows about it do letme know. Thanks Regards, Dar. Bilal Dar, e-mail: [EMAIL PROTECTED] -- Go Net The right way to go ... http://www.go.net.pk -- Neologix Pty Ltd ABN 89 080 124 965 www:http://www.neologix.net email: [EMAIL PROTECTED] mob:0408 977 976 office: +61 2 6287 5900 fax:+61 2 6287 6911 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Compilation problem with samba2.2.4
Hello from Finland. I have couple problem to compile Samba 2.2.4 I need LDAP options, and when I run ./configure --with-ldapsam everything going ok, but when I run make It gives couple error messages, thats are below: Compiling passdb/pdb_ldap.c passdb/pdb_ldap.c, line 76: undefined symbol: LDAP_OPT_X_TLS_HARD passdb/pdb_ldap.c, line 96: undefined symbol: LDAP_OPT_SUCCESS passdb/pdb_ldap.c, line 128: undefined symbol: LDAP_OPT_X_TLS cc: acomp failed for passdb/pdb_ldap.c *** Error code 2 make: Fatal error: Command failed for target `passdb/pdb_ldap.o' I run Sun Netra X1, with Solaris 8 and I using iPlanet LDAP-server, I allready download iPlanet SDK ldapcsdk5.08-SunOS5.8_64_OPT.OBJ.tar. I copy ldap.h and lber.h from this kits, but it doesn't help. I think I need some library or headers files more, but what and where I can fount it? I can compile Samba 2.2.4 with default okey. And if I first compile only default and it work, and after that I run ./configure --with-ldapsam and when I run make it compile anly one files not that , can I do that and make Samba work with LDAP? I use to Sun Forte C 6.0 compiler. Regards: Jukka Holopainen VTT Electronics Kaitoväylä 1 90570 Oulu [EMAIL PROTECTED] P.S If somebody of yor group are planning coming to Finland and Oulu I buy Pizza to him or her -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Oracle
Anybody knows about any problems with Samba and Oracle on the same server? We are in the process of deciding wheater to put Samba and Oracle on the same server or use two separate servers for that. B. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re[2]: [Samba] Win2k and Samba
Hello Jason, Thanks for responds :) I think i havenot crossing subnets. here we have some(4-5)w2k workstation and one w2k server(with PCD , which is not in use) and one sun station as inet server(mail, proxy, others) All machines are in same network and in same cable. all machines use DNS and now one WINS. But Samba server netBios name is not its DNS name.(? problem is from here) I set on my workstation wins to samba and all go ok (?) but I still dont understand whats problem? (others workstations works without wins) Monday, May 20, 2002, 4:37:45 PM, you wrote: JS Are you crossing subnets? If so, you might need to use WINS. JS Cheers, JS Jason JS At 02:12 PM 5/20/2002 +0400, you wrote: Hello sambas, some days ago I configured a samba server(2.2.4) and it works fine Now i cannot connect to it from my workstation(win2k) by using samba server netbios name. but i can connetc using it IP addres. ping to samba server by it netbios name work, so it is not DNS problem. which is problem?? -- Best regards, Koriun mailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba JS Jason Stewart JS Systems Administrator/Programmer JS Right to Life of Michigan JS Tel: (616)532-2300 JS Fax: (616)532-3461 JS To find out where Michigan Gubernatorial Candidate Jennifer Granholm really JS stands, please visit http://www.granholmgarble.com/ -- Best regards, Koriunmailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Apple cannot connect to RHLinux Samba
Hi All I have a working samba server on RH Linux 7.3 (samba v2.2.4). My shares and printers can be connected and used by my W95, W98 and XP clients - no problems there. However, my Apple (Powerbook G4 running OSX 10.1.4) cannot connect using the Connect To Server option: smb://10.0.1.200/data Or smb:[EMAIL PROTECTED]/data The nmblookup -B MAC_MACHINE '*' command does not see the Apple Powerbook. By the way, Appletalk to/fro the Linux server is working fine. Any ideas? Smb.conf [global] workgroup = LSL server string = LSL_SAMBA printcap name = /etc/printcap load printers = yes printing = lpr print command = /usr/bin/lpr -r -P%p %s log file = /var/log/samba/%m.log max log size = 0 security = user encrypt passwords = yes smb passwd file = /usr/local/samba/lib/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = 10.0.1.200 remote announce = 10.0.1.255 dns proxy = no [homes] comment = Home Directories browseable = no writable = yes valid users = %S create mode = 0664 directory mode = 0775 [printers] comment = All Printers path = /var/spool/samba browseable = yes printable = yes guest ok = yes public = yes writable = no use client driver = yes create mode = 0700 valid users = alan gerry [data] comment = Data Folder path = /data/Shared read only = no public = yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Symantec Ghost
Hello, I saw this posting by Christopher Robert Woods. I am having the identical problem with Samba on Suse Linux 7.2 (OS/390). Is there any known workaround? To: Multiple recipients of list SAMBA [EMAIL PROTECTED] Subject: Symantec Ghost and Samba From: Christopher Robert Woods [EMAIL PROTECTED] Date: Thu, 1 Jun 2000 22:29:43 +1000 Reply-To: [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] Hello all. Trying to save the lone linux box in the organization. Any help would be appreciated. Our desktop support team makes extensive use of Symantec Ghost to make images of NT desktops for recovery purposes. I managed to talk them into using our lone linux server as the Ghost repository. The way the process works is that you boot the about to be imaged machine via a DOS boot disk, then run Ghost off of the network, and choose a drive mapped to a share on the linux server as the destination for the ghost image. To any NT box, the average ghost time takes about 20 minutes. But to the linux/samba machine doing the above takes an hour and a half!! I am at a loss as to what to do. Copying a large file to the linux server goes no slower than copying to an NT box. However Ghost just seems to choke when writing to the Samba box. Attached below is our smb.conf. Any thoughts would be much appreciated. Please help me stop the EVIL desktop group from getting Linux excommunicated from our NT network. FWIW, the share that they are trying to connect to is either [Images] or [Images1]. Both of which are on different physical drives. THANKS!! --- [global] workgroup = FFG server string = Linux Profile Server printcap name = /etc/printcap load printers = yes log file = /var/log/samba/log.%m max log size = 50 security = share socket options = TCP_NODELAY local master = no name resolve order = wins lmhosts bcast wins server = 10.0.128.50 dns proxy = no # Share Definitions [Profiles] comment = Temporary space for Profiles path = /ts/profiles read only = no public = yes browseable = yes [Images] comment = Image Repository path = /ts/images read only = no public = yes browseable = yes [Images1] comment = 2nd Image Repository path = /ts/images1 read only = no public = yes browseable = yes [Logs] comment = Syslog Logs path = /var/log read only = no public = yes browseable = yes Brian Mays - CCNP Director of Network Computing Boscov's Department Store, LLC 3135 Marion Ave. Laureldale, PA 19605 610-929-7312 (Phone) 610-929-7336 (Fax) [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem printing with CUPS through SMBd
Hi, I seem to be having this problem with printers.. on the Windoze 98 clients the network printer appears as offline. However, from the cups web interface I can print test pages fine, and also from the command line on the server. I have these messages in my smb logs.. [2002/05/20 12:46:33, 0] printing/print_cups.c:cups_queue_get(776) Unable to get jobs for ipp://localhost/printers/acc1hp2200n - client-error-not-authorized [2002/05/20 12:46:33, 0] printing/print_cups.c:cups_printername_ok(281) Unable to get printer status for acc1hp2200n - client-error-not-authorized and this section in my smb.conf: [global] -snip- printing = cups printcap name = cups [printers] comment = Printers path = /var/spool/samba browseable = no guest ok = yes printable = yes Can anyone tell me what im doing wrong? Im still not sure if the problem lies with my CUPS or SAMBA configuration.. thanks in advance for any help -- Jamie Heckford Network Manager Trident Microsystems Ltd Tel: 01737 780790 Fax: 01737 771908 http://www.tridentmicrosystems.co.uk *** This e-mail message contains confidential information for the above addressee only. Any opinion or views contained in this e-mail message are those of the sender and do not necessarily represent those of the Company. Unless otherwise stated this e-mail message is not intended to be contractually binding. E-mail transmission cannot be guaranteed to be secure or error-free and the sender therefore does not accept liability for any errors or omissions in the contents of this message. Trident Microsystems Ltd Group of Companies Perrywood Business Park, Honeycrock Lane, Salfords, Redhill, Surrey, RH1 5JQ Tel: (44) (0) 1737 780790 Fax: (44) (0) 1737 771908 Registered office: Abacus House, Bone Lane, Newbury, Berkshire, RG14 5SF -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] NFS Mounting Exported SMB MOUNT
On Mon, 20 May 2002, Wayne S. Gabree wrote: I'm trying to NFS mount an export of a SMB mounted share: Windows Box - Linux Box - Solaris Box Windows Share - Linux SMB Mounted/Exported as NFS - Solaris NFS mount \\windows\share - /mnt/windows/share- /mnt/windows/share The problem is that I get a permission denied when attempting to mount the exported file system on the Solaris box. I'm I trying to do something that is not doable? Possibly. I think nfs (knfsd) wants the filesystem to provide it with a unique stable id through some special methods. smbfs doesn't do that. There is a userspace nfs daemon too, maybe that works differently. But it could also be that the permissions you use to mount smbfs doesn't allow something that nfs wants ... You should check if you can get some debug info out of your nfsd. /Urban -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Symantec Ghost
Try starting ghost with the -slowfile switch I've seem performance go from 2 MB / min to 100+ MB / min writing an image to a samba share. (seen with Ghost 5.1d / samba 2.2.4) Adam At 09:16 AM 5/20/2002 -0400, Brian Mays wrote: Hello, I saw this posting by Christopher Robert Woods. I am having the identical problem with Samba on Suse Linux 7.2 (OS/390). Is there any known workaround? To: Multiple recipients of list SAMBA [EMAIL PROTECTED] Subject: Symantec Ghost and Samba From: Christopher Robert Woods [EMAIL PROTECTED] Date: Thu, 1 Jun 2000 22:29:43 +1000 Reply-To: [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] Hello all. Trying to save the lone linux box in the organization. Any help would be appreciated. Our desktop support team makes extensive use of Symantec Ghost to make images of NT desktops for recovery purposes. I managed to talk them into using our lone linux server as the Ghost repository. The way the process works is that you boot the about to be imaged machine via a DOS boot disk, then run Ghost off of the network, and choose a drive mapped to a share on the linux server as the destination for the ghost image. To any NT box, the average ghost time takes about 20 minutes. But to the linux/samba machine doing the above takes an hour and a half!! I am at a loss as to what to do. Copying a large file to the linux server goes no slower than copying to an NT box. However Ghost just seems to choke when writing to the Samba box. Attached below is our smb.conf. Any thoughts would be much appreciated. Please help me stop the EVIL desktop group from getting Linux excommunicated from our NT network. FWIW, the share that they are trying to connect to is either [Images] or [Images1]. Both of which are on different physical drives. THANKS!! --- [global] workgroup = FFG server string = Linux Profile Server printcap name = /etc/printcap load printers = yes log file = /var/log/samba/log.%m max log size = 50 security = share socket options = TCP_NODELAY local master = no name resolve order = wins lmhosts bcast wins server = 10.0.128.50 dns proxy = no # Share Definitions [Profiles] comment = Temporary space for Profiles path = /ts/profiles read only = no public = yes browseable = yes [Images] comment = Image Repository path = /ts/images read only = no public = yes browseable = yes [Images1] comment = 2nd Image Repository path = /ts/images1 read only = no public = yes browseable = yes [Logs] comment = Syslog Logs path = /var/log read only = no public = yes browseable = yes Brian Mays - CCNP Director of Network Computing Boscov's Department Store, LLC 3135 Marion Ave. Laureldale, PA 19605 610-929-7312 (Phone) 610-929-7336 (Fax) [EMAIL PROTECTED] -- 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] directories not visible on win9X but share is
Hi Some one please help maybe i'm a ponds(most proberly) I had samba running for some time but since redhat 7.2 and the last 2 releases of samba i can setup everything and connect to the share but on win 9x systems ican't see directories except for the share on 2000 and XP all is fine so what is cooking except my brains I can create dirs and view files i can even chage to the dirs but viewing them n o that i can't do I'm missing something so if someone knows what please help Are you ready for Telkom's 10-digit dialling? To find out how this will affect your Internet connection in the not too distant future, go to www.mweb.co.za/ten -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Linux server, Win2k client: Almost works, what am I missing?
Keith G. Murphy wrote: Kris, I had a *very* similar problem, which your postings helped me solve just now. I, too, couldn't map Samba shares from a Win2K box. Your posting gave me the idea of trying to map a drive specifying a user that didn't exist on the Win2K box. Sure enough, that worked. Happy to see some good has come out of this. Hopefully more will follow. ...I suggest you look for a username on your Win2K box that is the same as the Linux host name you are trying to access. Delete that bad boy, or something less drastic that works... I don't think we have a Windows user name that's the same name as this linux box (SKUNKWORX), but I will certainly double-check that. I will also take a look at the article. The good news is, using smbmount to go the other way, accessing shares on a Win2k box from the linux box, seems to have worked without a hitch. Thanks for the info! ---Kris Kelley -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2 4 inherit acls problem on IRIX 6.5
Hi I hope the attached file helps solve the problem. Nick Andrew Bartlett wrote: Nicholas Brealey wrote: Hi With inherit acls = yes and Samba 2.2.4 on IRIX 6.5 I cannot create an new folder using Windows Explorer: I can't help much if it is IRIX-specific (herb should be able to help however) but you will need attach a debugger (set the 'panic action = /bin/sleep 9000' and attach a debugger when it crashes). Get a 'bt full' out of gdb. You might need to recompile --enable-debug to get anything useful. Mail this backtrace, and a high level debug (snipped down to the relevent bits) back to the list and see where we can go from there. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba [2002/05/20 17:31:34, 10] smbd/mangle.c:(309) is_mangled: New Folder : False [2002/05/20 17:31:34, 5] smbd/filename.c:(354) New file New Folder [2002/05/20 17:31:34, 8] lib/util.c:(1143) is_in_path: nick/New Folder [2002/05/20 17:31:34, 8] lib/util.c:(1148) is_in_path: no name list. [2002/05/20 17:31:34, 3] lib/util.c:(387) unix_clean_name [nick/New Folder] [2002/05/20 17:31:34, 2] smbd/dosmode.c:(59) unix_mode(nick/New Folder) inheriting from nick [2002/05/20 17:31:34, 2] smbd/dosmode.c:(67) unix_mode(nick/New Folder) inherit mode 40755 [2002/05/20 17:31:34, 3] smbd/dosmode.c:(111) unix_mode(nick/New Folder) returning 040755 [2002/05/20 17:31:34, 0] lib/fault.c:(38) === [2002/05/20 17:31:34, 0] lib/fault.c:(39) INTERNAL ERROR: Signal 11 in pid 299117 (2.2.4) Please read the file BUGS.txt in the distribution [2002/05/20 17:31:34, 0] lib/fault.c:(41) === dbx version 7.3 MR 55458_Apr30_MR Apr 30 1999 13:44:41 Process 299117 (smbd) stopped at [__waitsys:24 +0x8,0xfabc498] Source (of /xlv43/6.5.7m/work/irix/lib/libc/libc_n32_M4/proc/waitsys.s) not available for Process 299117 (dbx) where 0 __waitsys(0x0, 0x4905b, 0x7fff1a60, 0x3, 0x0, 0x12, 0x7fff1a40, 0x7fff1a20) [/xlv43/6.5.7m/work/irix/lib/libc/libc_n32_M4/proc/waitsys.s:24, 0xfabc498] 1 _system(0x, 0x4905b, 0x7fff1a60, 0x3, 0x0, 0x12, 0x7fff1a40, 0x7fff1a20) [/xlv43/6.5.7m/work/irix/lib/libc/libc_n32_M4/stdio/system.c:87, 0xfad6e60] 2 smb_panic(0x0, 0x4905b, 0x7fff1a60, 0x3, 0x0, 0x12, 0x7fff1a40, 0x7fff1a20) [/home/spica/nick/samba-2.2.4/source/lib/util.c:1090, 0x1015d088] 3 fault_report(0x0, 0x4905b, 0x7fff1a60, 0x3, 0x0, 0x12, 0x7fff1a40, 0x7fff1a20) [/home/spica/nick/samba-2.2.4/source/lib/fault.c:43, 0x1014122c] 4 sig_fault(0x0, 0x4905b, 0x7fff1a60, 0x3, 0x0, 0x12, 0x7fff1a40, 0x7fff1a20) [/home/spica/nick/samba-2.2.4/source/lib/fault.c:63, 0x101412a0] 5 _sigtramp(0x0, 0x4905b, 0x0, 0x3, 0x0, 0x12, 0x7fff1a40, 0x7fff1a20) [/xlv43/6.5.7m/work/irix/lib/libc/libc_n32_M4/signal/sigtramp.s:71, 0xfad03fc] 6 sys_acl_free_acl(0x0, 0x0, 0x101ff510, 0xfb523dc, 0x1, 0x0, 0x101ff1e0, 0x0) [/home/spica/nick/samba-2.2.4/source/lib/sysacls.c:2177, 0x100763cc] 7 vfswrap_sys_acl_free_acl(0x0, 0x0, 0x101ff510, 0xfb523dc, 0x1, 0x0, 0x101ff1e0, 0x0) [/home/spica/nick/samba-2.2.4/source/smbd/vfs-wrap.c:805, 0x1007010c] 8 directory_has_default_acl(0x102266d0, 0x0, 0x101ff510, 0xfb523dc, 0x1, 0x0, 0x101ff1e0, 0x0) [/home/spica/nick/samba-2.2.4/source/smbd/posix_acls.c:2370, 0x10075d10] 9 vfswrap_mkdir(0x102266d0, 0x7fff2010, 0x41ed, 0xfb523dc, 0x1, 0x0, 0x101ff1e0, 0x0) [/home/spica/nick/samba-2.2.4/source/smbd/vfs-wrap.c:79, 0x1006ecd8] 10 vfs_mkdir(0x102266d0, 0x0, 0x41ed, 0xfb523dc, 0x1, 0x0, 0x101ff1e0, 0x0) [/home/spica/nick/samba-2.2.4/source/smbd/vfs.c:232, 0x1006d568] 11 mkdir_internal(0x102266d0, 0x7fff2590, 0x101ff510, 0xfb523dc, 0x1, 0x0, 0x101ff1e0, 0x0) [/home/spica/nick/samba-2.2.4/source/smbd/reply.c:3439, 0x100540ac] 12 reply_mkdir(0x102266d0, 0x0, 0x0, 0xfb523dc, 0x1, 0x0, 0x101ff1e0, 0x0) [/home/spica/nick/samba-2.2.4/source/smbd/reply.c:3464, 0x1005418c] 13 switch_message(0x0, 0x10247c11, 0x0, 0x0, 0x0, 0x0, 0x101ff1e0, 0x0) [/home/spica/nick/samba-2.2.4/source/smbd/process.c:762, 0x10077444] 14 construct_reply(0x10247c11, 0x10268061, 0x0, 0x0, 0x1, 0x0, 0x101ff1e0, 0x0) [/home/spica/nick/samba-2.2.4/source/smbd/process.c:791, 0x10077644] 15 process_smb(0x0, 0x10268061, 0x101ff510, 0xfb523dc, 0x1, 0x0, 0x101ff1e0, 0x0) [/home/spica/nick/samba-2.2.4/source/smbd/process.c:885, 0x10077830] 16 smbd_process(0x0, 0x0, 0x101ff510, 0xfb523dc, 0x1, 0x0, 0x101ff1e0, 0x0) [/home/spica/nick/samba-2.2.4/source/smbd/process.c:1273, 0x100786a0] 17 main(0x3,
RE: [Samba] WinY2k Access Denied on Printing
Is this documented anywhere in layman's terms? (NT/2k considers a Printer Connection as a different thing that a local printer) 1. Which section of the registry is the proper location for each type of printer. 2. How to install a Printer Connection for all users on the PC (not just CurrentUser) 3. Advantages/disadvantages of both types when printing to network printers via samba, lpr, etc Jim -Original Message- From: Gerald Carter [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 18, 2002 5:59 AM To: Fabiano Mucillo - func Cc: Adam Williams; [EMAIL PROTECTED] Subject: RE: [Samba] WinY2k Access Denied on Printing On Fri, 17 May 2002, Fabiano Mucillo - func wrote: I understand (pretty much) what disable spoolss and use client driver does but what is the behaviour of the no/yes configuration. It seems that use client driver=yes implies disable spoolss=no I don't think so. I understood that if you use use client driver=yes you'll continue using spoolss, but with PRINTER_ACCESS_ADMINISTER right is mapped to PRINTER_ACCESS_USE instead. Thus allowing the OpenPrinterEx() call to succeed. Correct. This broken behavior was observed on NT clients when using SPOOLSS calls for printing but having the driver installed locally. Remember that NT/2k considers a Printer Connection as a different thing that a local printer. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca-- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Fwd: Re: [Samba] Apple cannot connect to RHLinux Samba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -- Továbbított üzenet -- Subject: Re: [Samba] Apple cannot connect to RHLinux Samba Date: Mon, 20 May 2002 09:38:38 -0700 From: Jamie McParland [EMAIL PROTECTED] To: Balatoni Denes [EMAIL PROTECTED] Just install netatalk. It works great! Makes your apples think its connection to an appleshare server. Plus it WAY less troublesome than samba. - - jamie On 5/20/02 9:25 AM, Balatoni Denes [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi $$$ Hi All $$$ $$$ I have a working samba server on RH Linux 7.3 (samba v2.2.4). My shares and $$$ printers can be connected and used by my W95, W98 and XP clients - no $$$ problems there. $$$ $$$ However, my Apple (Powerbook G4 running OSX 10.1.4) cannot connect using Maybe the apple is not using smb over tcp/ip by default, but smb over something else ? best regards Denes - - -- Experience the power of Linux! - -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE86R3yaQToeq3jgogRAqQ7AJ91wwurSWlHKYACJj9tLV3gZbcD1gCeNyc8 sU3CFaZ2XCBwvIt4dpAdiQ0= =GxqI - -END PGP SIGNATURE- -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE86SN6aQToeq3jgogRAgICAJ9azEFm6+kglcMgXoi8GCNUpk/UUACePVXQ hryE0UF6nvmscverMwfkgoU= =XUxZ -END PGP SIGNATURE- - --- - -- Experience the power of Linux! -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE86SgzaQToeq3jgogRAkWKAJ9DE47UcrJ5sbsCaA5ddlmaExLttACdFQTR a5U5soOCrXrpIkIwuVmEPfc= =W13c -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbmount question
I'm on a Redhat 7.1, Samba 2.2.3a server in a share called Public. I'm logged into the server as root, from the console and have cd'd to the Public directory. I'm trying to use smbmount to mount an NT share from a WinNT Server 4.0, SP3. The share on that server is called manage. The IP of the NT server is 192.168.204.100. The Samba server is on a different network at 210.111.222.123. There is a directory named Man that will be used as the mount point on the samba server. I issue the command: smbmount //210.111.222.123/manage Man then press the Enter key. password: I enter the password then press the Enter key. I now get 2 error messages on the console: 955: session request to 210.111.222.123 failed (Called name not present). 955: session request to 210 failed (Called name not present). When I inspect the Man directory, all the appropriate files and directories are there. I see them with Network Neighborhood and with Windows Explorer. Does smbmount really do what I'm expecting it to do with a shared NT directory files or is the above responses normal? Is there something else to do??? Thanks in advance, Marion D. Haines Network Administrator Board of County Commissioners Brevard County, Florida == EMail: [EMAIL PROTECTED] Phone: 321-617-7398 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Printer: User Intervention Required - Use Printer Off line
Check to see what port the second printer was assigned to... -Original Message- From: Karl E. Jorgensen [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 12:41 PM To: Samba Mailing List Subject: [Samba] Printer: User Intervention Required - Use Printer Offline For some reason, I cannot get samba (or Win98, depending on how you look at it...) to allow a win98 client to print. I search the list archives, but I didn't find anything s imilar. So here goes. Symptoms: - Win98 client can access fileshares OK. The printers show up OK as well in network neighbourhood. - On Linux, printing (lprng) works OK. - In win98, e.g. dir \\server\someprinter *always* queues a job on the linux side. Just as expected. - When adding the printer on win98, the Add Printer wizard warns that the printer is currently offline (its online, spooling and printing is enabled on the linux side!?) N ow for the really weird bit: When I add the printer as the *native* model (it's an Epson Stylus color 600), then printing a test page works (even though it won't let me untick the Use Printer Offline...) But I need to make windows believe that i have a postscript printer (works better with Quark that way). So I added the (same) printer, but this time with the Digital turbo printerserver 20/net; (magicfilter on the Linux side will take care of the postscript-epson co nversion). But printing through this printer does *not* work; it just queues up on the windows side !? Even when trying to un-tick Use Printer Offline, windows claims that it cannot connect to the printer share in question, as asks me to check cabling etc [expletive deleted] I realise that the above is (probably) not a samba problem, but a windows problem. But I'm out of ideas. Does this ring any bells for anyone? Feel free to point me at relevant documentation; I've b een RTFM'ing quite a bit to fix this, but none of the FMs seem to mention anything similar... -- Karl E. Jørgensen ... An rfc2324 advocate http://www.rfc.net/rfc2324.html -- 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] Printer: User Intervention Required - Use Printer Offline
For some reason, I cannot get samba (or Win98, depending on how you look at it...) to allow a win98 client to print. I search the list archives, but I didn't find anything similar. So here goes. Symptoms: - Win98 client can access fileshares OK. The printers show up OK as well in network neighbourhood. - On Linux, printing (lprng) works OK. - In win98, e.g. dir \\server\someprinter *always* queues a job on the linux side. Just as expected. - When adding the printer on win98, the Add Printer wizard warns that the printer is currently offline (its online, spooling and printing is enabled on the linux side!?) Now for the really weird bit: When I add the printer as the *native* model (it's an Epson Stylus color 600), then printing a test page works (even though it won't let me untick the Use Printer Offline...) But I need to make windows believe that i have a postscript printer (works better with Quark that way). So I added the (same) printer, but this time with the Digital turbo printerserver 20/net; (magicfilter on the Linux side will take care of the postscript-epson conversion). But printing through this printer does *not* work; it just queues up on the windows side !? Even when trying to un-tick Use Printer Offline, windows claims that it cannot connect to the printer share in question, as asks me to check cabling etc [expletive deleted] I realise that the above is (probably) not a samba problem, but a windows problem. But I'm out of ideas. Does this ring any bells for anyone? Feel free to point me at relevant documentation; I've been RTFM'ing quite a bit to fix this, but none of the FMs seem to mention anything similar... -- Karl E. Jørgensen ... An rfc2324 advocate http://www.rfc.net/rfc2324.html -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbclient
This is going to sound like a rediculously dumb question, but I have just finished reloaing RedHat 7.2 (from 7.1), a clean install, and samba appears to be running, but I cannot log into my shares. I am rejected with a bad password - name/password pair... Now, I've been though this setup a dozen times before, I have a very garden variety configuration, and my shared directory not only exists, but has 777 permissions. I've added the user to both Linux and to smbpasswd, as prescribed, but for some reason I cannot fathom, smbclient won't even access the share. I can 'smbclient -NL hp' and that reports that the share exists, but when I attempt to log into the share, I'm kicked out. Where else should I be looking? I'm completely Stumped. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount question
I can reproduce this error on my home system in the following way. My home system has two subnets. If I try to smbclient -L a server (XP) on a different subnet, using smbclient -L 192.168.1.9 I get the following error: INFO: Debug class all level = 3 (pid 24708 from pid 24708) added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0 session request to 192.168.1.9 failed (Called name not present) session request to 192 failed (Called name not present) However, the shares are all listed and things seem to be normal. If I use the server winsbios name (which is the same as the dsn name) smbclient -L elsa, I get the shares listed without any error messages. This only occurs when I try to smbclient -L to a different subnet. So, what happens when you try the NT server winsbios name, instead of the server IP address, assuming you have got a winserver and your linux box knows about it with the wins server parameter in smb.conf? Joel On Mon, May 20, 2002 at 03:51:51PM -0400, Marion Haines wrote: I'm on a Redhat 7.1, Samba 2.2.3a server in a share called Public. I'm logged into the server as root, from the console and have cd'd to the Public directory. I'm trying to use smbmount to mount an NT share from a WinNT Server 4.0, SP3. The share on that server is called manage. The IP of the NT server is 192.168.204.100. The Samba server is on a different network at 210.111.222.123. There is a directory named Man that will be used as the mount point on the samba server. I issue the command: smbmount //210.111.222.123/manage Man then press the Enter key. password: I enter the password then press the Enter key. I now get 2 error messages on the console: 955: session request to 210.111.222.123 failed (Called name not present). 955: session request to 210 failed (Called name not present). When I inspect the Man directory, all the appropriate files and directories are there. I see them with Network Neighborhood and with Windows Explorer.Does smbmount really do what I'm expecting it to do with a shared NT directory files or is the above responses normal? Is there something else to do???Thanks in advance, Marion D. Haines Network Administrator Board of County Commissioners Brevard County, Florida == EMail: [EMAIL PROTECTED] Phone: 321-617-7398 == -- 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] smbclient
I am very bad with password questions because I avoid all such things by using guest ok = yes and guest account = ftp and security = share in my global smb.conf section. If you go this route, you might need to change security in each of your shares, too. Don't know. Joel On Mon, May 20, 2002 at 04:08:35PM -0500, Mark Petryk wrote: This is going to sound like a rediculously dumb question, but I have just finished reloaing RedHat 7.2 (from 7.1), a clean install, and samba appears to be running, but I cannot log into my shares. I am rejected with a bad password - name/password pair... Now, I've been though this setup a dozen times before, I have a very garden variety configuration, and my shared directory not only exists, but has 777 permissions. I've added the user to both Linux and to smbpasswd, as prescribed, but for some reason I cannot fathom, smbclient won't even access the share. I can 'smbclient -NL hp' and that reports that the share exists, but when I attempt to log into the share, I'm kicked out. Where else should I be looking? I'm completely Stumped. -- 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] Problems accessing files with (lib)smbclient
Hi! Seems like I need some help with a really awkward problem I stumbled over today. In a remote access solution I developed, a Perl CGI script accesses a Windows NT 4.0 Server through Filesys::SmbClient and thus libsmbclient. Browsing the shares and the directories works perfectly but as soon as I try to get any file, it fails with a Permission denied, even if I try it with the Administrator account. The installed Samba is version 2.0.7 (SuSE 7.1) but I compiled libsmbclient.so from the 2.2.4 sources. A try with smbclient (2.0.7) on the same machine gives me the following (the same happens with every other file in whichever directory it is): | paul:/var/log/httpd # smbclient //ntserver/Projekte -UAdministrator | added interface ip=192.168.0.99 bcast=192.168.0.255 nmask=255.255.255.0 | added interface ip=127.0.0.254 bcast=127.255.255.255 nmask=255.0.0.0 | Password: | Domain=[KONSTRUKTION] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] | smb: \ ls |[...] | RIMG0001.JPG312320 Mon Mar 4 12:54:29 2002 | RIMG0002.JPG351232 Mon Mar 4 15:36:13 2002 | RIMG0003.JPG272384 Sat Mar 16 14:56:05 2002 |[...] | 34828 blocks of size 131072. 4437 blocks available | smb: \ get RIMG0001.JPG | getting file RIMG0001.JPG of size 312320 as RIMG0001.JPG Short read when | getting file \RIMG0001.JPG. Only got 0 bytes. | (0 kb/s) (average 0 kb/s) | smb: \ exit On my local installation everything works as it should. I've got Samba 2.2.1a (SuSE 7.3) in combination with a compiled libsmbclient.so 2.2.4. The server I access is a Windows 2000 Professional Workstation. Has anybody an idea, why I can't get any files while it's no problem at all to list the directories (permissions are correct)? Clueless Malte -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing Question
Can anybody help with this ? attched is my conf file -- Amit Deshmukh Graduate Student (EECS) University of Toledo. Contact Address ~~~ 2952, Kendale Drive, Apt #202, Toledo OH 43606 Ph. 419-471-9789 -- On Fri, 17 May 2002, amit deshmukh wrote: I am not using -M option. I am just passing %M with -R for some accounting stuff on printing side. I tried removing that also. Still it won't work. I am not geting the reason why it doesn't call 'print command' for notmal users. I tried using a dummy script. But even the script won't get called. I think there is some problem with smb.conf. But I don't know what. I am using lanpan style printing as in samba 2.0.*. I am attaching my smb.conf. See if u have any clues with that.. rgds Amit -- Amit Deshmukh Graduate Student (EECS) University of Toledo. Contact Address ~~~ 2952, Kendale Drive, Apt #202, Toledo OH 43606 Ph. 419-471-9789 -- On Thu, 16 May 2002, Joel Hammer wrote: Could it be the improper option -M is preventing lpr from running? Joel On Thu, May 16, 2002 at 02:50:56PM -0400, amit deshmukh wrote: Can anybody help with this ? -- Forwarded message -- Date: Thu, 16 May 2002 11:58:10 -0400 (EDT) From: amit deshmukh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] Printing Question Hi, I am using Samba with LPRng. I have in my configuration print command = /usr/local/lprng/current/bin/lpr -P%p %s -R%M The permissions for lpr are -rwsr-xr-x. I am using samba as PDC. With this setup, when I login as a root in the domain, I can print properly. When I login as a normal user in the domain from an NT machine, I do not get any prints. The smbprn print spool file gets created in /servers/samba/printers folder (which is writable as required by samba printing docs). When I looked into the samba log for a normal user, I do not see a call made to lpr (which I usually see when it is done from a root accnt). What I can conclude with this is that if there is any problem then it is to do with 'lpr' permissions. But, as mentioned earlier these permissions are enough for printing (a normal user can print from a unix machine directly).. Can anybody help me with this ? thanks in advance rgds Amit -- Amit Deshmukh Graduate Student (EECS) University of Toledo. Contact Address ~~~ 2952, Kendale Drive, Apt #202, Toledo OH 43606 Ph. 419-471-9789 -- -- 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 [global] interfaces = X.Y.Z.W bind interfaces only= true workgroup = MY_PDC server string = Samba2.2 hosts allow = A.B.C. E.F.G. deadtime= 0 # idle time out getwd cache = yes create mode = 0600 disable spoolss = yes printing = lprng load printers = yes log file= /usr/local/servers/samba/log/log.%m max log size= 1000 utmp= true utmp directory = /var/adm/ wtmp directory = /var/adm/ security= user smb passwd file = /usr/local/servers/samba/private/passwd encrypt passwords = yes username= 0 # See speed.txt and the manual pages for details socket options = TCP_NODELAY # Use only if you have an NT server on your network that has been # configured at install time to be a primary domain controller. ; domain controller = NT-Domain-Controller-SMBName # Samba to be a domain logon server for Windows95 workstations. domain logons = yes debug level = 3 # debug level = 2 logon drive = u: logon path = \\%L\Profiles\default dns proxy = no netbios name = abcde domain admin group =adeshmuk root # Share Definitions
[Samba] Will/Can Exchange Server run with a samba pdc?
Its not for us. We migrated from our nt4 pdc to samba pdc last night with good outcomes as far as our clients but our exchange server no longer works. It failed initially as we did not have the log on as a service user (not strictly true, we had administrator but it didn't work for some reason) After we got a working service user then got service specific error 4021 This in theory is corrected by q170810 run isinteg -patch Running this gives us ds_e_insufficient_access_rights -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: How can $VARIABLES be used inside smbclient -c'xyz' command strings?
Kurt Pfeifle wrote: Hi, being a total newbie in shellscripting and similar stuff, I am suffering from a brain freeze around the following problem: * I need to print (or transfer otherwise) to a WinNT box; * the files are send from inside a shellscript; * the script gets the filename on the commandline when started; * so the only knows it works on $1; * the problem is, that the original filename needs to be conserved when it arrives on the WinShare... Anyone with a suggestion? What I tried is this: export FILENAME=testfile.ps kde-bitshop:/home/kde4 smbclient //transmeta/ljet5 -N -c 'put $FILENAME' added interface ip=10.160.16.45 bcast=10.160.31.255 nmask=255.255.240.0 Domain=[TUX-NET] OS=[Unix] Server=[Samba 2.2.4] $$FILENAME does not exist kde-bitshop:/home/kde4 echo $FILENAME testfile.ps kde-bitshop:/home/kde4 smbclient //transmeta/ljet5 -N -c put $FILENAME added interface ip=10.160.16.45 bcast=10.160.31.255 nmask=255.255.240.0 Domain=[TUX-NET] OS=[Unix] Server=[Samba 2.2.4] $FILENAME does not exist -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: How can $VARIABLES be used inside smbclient -c'xyz' command strings?
Will the ftp box act as an ftp server? If so, an expect script might be a good way to transfer them. This command worked fine for me: smbclient //HAMMER2/ELLEN -N -c put junkheader.txt where junkheader.txt is a file on the local system. $1 should work. The original file name is preserved. Joel On Tue, May 21, 2002 at 04:36:39AM +0200, Kurt Pfeifle wrote: Kurt Pfeifle wrote: Hi, being a total newbie in shellscripting and similar stuff, I am suffering from a brain freeze around the following problem: * I need to print (or transfer otherwise) to a WinNT box; * the files are send from inside a shellscript; * the script gets the filename on the commandline when started; * so the only knows it works on $1; * the problem is, that the original filename needs to be conserved when it arrives on the WinShare... Anyone with a suggestion? What I tried is this: export FILENAME=testfile.ps kde-bitshop:/home/kde4 smbclient //transmeta/ljet5 -N -c 'put $FILENAME' added interface ip=10.160.16.45 bcast=10.160.31.255 nmask=255.255.240.0 Domain=[TUX-NET] OS=[Unix] Server=[Samba 2.2.4] $$FILENAME does not exist kde-bitshop:/home/kde4 echo $FILENAME testfile.ps kde-bitshop:/home/kde4 smbclient //transmeta/ljet5 -N -c put $FILENAME added interface ip=10.160.16.45 bcast=10.160.31.255 nmask=255.255.240.0 Domain=[TUX-NET] OS=[Unix] Server=[Samba 2.2.4] $FILENAME does not exist -- 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] smbstatus
Hello all, I have 2.2.4 running on Solaris with winbind. When i do a smbstatus it shows the uid as root where as the actual users are some domain users which is properly displayed in it. But logon services properly work for the domain user. Please let me what's wrong. Thanks for your time -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba encrypt passwd -additional info
Hi, The following transcript may be of help in finding what's wrong. [root@star samba]# smbclient -L star -N added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0 Anonymous login successful Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.2.1a] Sharename Type Comment - --- tmpDisk Temporary file space IPC$ IPC IPC Service (Samba 2.2.1a) ADMIN$ Disk IPC Service (Samba 2.2.1a) Server Comment ---- STAR Samba 2.2.1a WorkgroupMaster ---- MYGROUP STAR [root@star samba]# __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com ---BeginMessage--- Hi, I have samba installed on my Linux system (Red Hat 7.2), and Windows 98 on another PC as a Samba client. Samba works great if PlainTextPassword is enabled. However, if PlainTextPassword is disabled on Windows client, connection to the Samba shares no longer accepted. I believe I've done everything in order to make encrypt passwd working: * I converted /etc/passwd to /etc/samba/smbpasswd using mksmbpasswd.sh script. cat /etc/passwd | mksmbpasswd.sh smbpasswd This resulted in a new smbpasswd file: -rw---1 root root 4202 May 21 12:06 smbpasswd I feel a little uncomfortable about the file permission, there I change the mode to 0644 (-rw-r--r--). * Here is my /etc/samba/smb.conf file [global] workgroup = MYGROUP security = USER log file = /var/log/samba-log.%m lock dir = /var/lock/samba encrypt passwords = Yes smb passwd file = /etc/samba/smbpasswd [homes] comment = Home Directory read only = No create mask = 0750 browseable = No [tmp] comment = Temporary file space path = /tmp read only = No Note that the smb.conf file works in the PlainTextPasswd mode before the two parameters was added: encrypt passwords = Yes smb passwd file = /etc/samba/smbpasswd * I restarted Samba daemon /etc/init.d/smb restart * I followed the test steps as outlined in diagnosis.txt by Andrew Tridgell But every attempt to connect to the smb server got denyed: [root@star samba]# smbclient -L star added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0 Password: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) [root@star samba]# I suspect my Samba binary doesn't acctually support encrypt passwd, but how can I tell if it is or not? Thanks in advance. Chimin Yen __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com ---End Message---
[Samba] SENDER ! Virus found in message from you !
÷Ù ÐÏÓÌÁÌÉ ÐÏÌØÚÏ×ÁÔÅÌÀ [EMAIL PROTECTED] ÐÉÓØÍÏ Ó ÷éòõóïí ! You sent to user [EMAIL PROTECTED] message with VIRUS . -- ïÔÞÅÔ ÁÎÔÉ×ÉÒÕÓÁ Antivirus program report -- n: Exploit.IFrame.FileDownload sample.exe -- Bye ! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Solaris and Samba Record Locking
Hello Everybody, Can you help ? Our application is in RMCOBOL. We use Rmcobol Index files. These are located in Solaris 2.8. Using Samba 2.2 we created a share and accessing the directory from windows. From windows we are running RMCOBOL runtime ver 7.0 and manipulating the shared files. At the same time other programs may be accessing these files by RUNCOBOL of solaris runtime which is in Solaris system. Our problem is the locks set by Windows cleints are not reflected in solaris runtime. This same problem we faced in Pcnetlink 1.2 (even after setting the parameter refelct client created locks in solaris ). Can this type of locking is possible ? Please let me know. Thanks and best wishes Sastry.K.A __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/
Problem with smbclient
I'm running Samba 2.0.9 under HP-UX 11.11. It's working fine as a file server to about 120 WIN2K PC's but I'm having a problem with smbclient. I can connect to my PC OK and see my folders, move around etc but when I try to use tar to back up a folder to the HP9000 the PC usually (but not always crashes) with the blue screen showing DRIVER_IRQL_NOT_LESS_OR_EQUAL message. According to Microsoft, this can have many causes, some of which are fixed in Service Pack 2. I've installed this but it's made no difference. Anyone else have any experience of this? Paul Baker Enichem UK
Re: XP spoolsv.exe crash with 2.2.4 (not devmode related?)
On Sun, 19 May 2002, Steven J Mackenzie wrote: Is anyone interested in log files from this? I've installed drivers for an Epson inkjet printer on a Samba server using the Add Printer Driver Wizard in Windows XP. I installed the driver to a 2.2.3a server (from a clean Mandrake 8.2 install). I got as far as printing a test page, but things were very slow: Trying to view properties on the printer generated a lot of traffic between the client and the server (about a minute of commmunication between the them before the properties dialogue appeared). I hoped that 2.2.4 might have a fix for this packet storm, so I upgraded the samba software to the 2.2.4 rpm that I found in Mandrakes cooker distribution. After this, selecting properties on the Epson icon will crash the XP spoolsv service with the message The instruction at 0x77f610ff referenced memory at 0x00148005. The memory could not be read. Yeah. I've confirmed some problems on win2k clients (NT seems ok). I'll have to look at XP as well. :-( Thanks for your patience. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca--
Re: SV_TYPE_PRINTQ_SERVER flag always true?
This is just to update the technical people here on what I have done. I commented out the line in Samba 2.2.4 param/loadparm.c 'default_server_announce |= SV_TYPE_PRINTQ_SERVER;' This successfully removed the server from the printer browser when using the Add Printer wizard. It also did not affect actual printing to the server, as it can still be set up if you know the name of the printer you want to print to. This works great for us because, for the most part, the greater than 3000 users we have here should not ever print to the samba servers. I have learned if you give users the ability to do something they shouldn't, they will go ahead and do it. If I could make a suggestion, maybe this SV_TYPE should be a configurable option through smb.conf. But then again, I don't think may people will ever really want to turn this off, we just happen to be a unique case. :) James Guzicki - IMG
Re: [PATCH] winbind id assignment module
On Sat, 2002-05-18 at 20:54, Andrew Bartlett wrote: The patch and a sample module are attached. The tarball also includes a readme, changelog, and a Makefile. This looks *much* better. I'm not sure on the 'reload' functionality, but I suppose its a good idea. Other than minor things like indenting, (Try 8-space tabs) I think this is well on its way to inclusion. A new rev of the patch is out. Here is the changelog for this release. winbindd: Fixed up formatting to get rid of 4-space tabs that existed before. Builds off of today's SAMBA_2_2 branch. winbindd: If idmap object is defined but fails to load, it no longer reverts to sequential assignment The patch, a sample module, changelog, and a readme are available at http://www.cae.wisc.edu/~gerdts/samba/idmap_file-0.0.4.tar.gz Enjoy! Mike Index: source/nsswitch/winbindd.c === RCS file: /cvsroot/samba/source/nsswitch/winbindd.c,v retrieving revision 1.3.2.29 diff -u -r1.3.2.29 winbindd.c --- source/nsswitch/winbindd.c 8 May 2002 23:33:31 - 1.3.2.29 +++ source/nsswitch/winbindd.c 20 May 2002 17:23:17 - -66,6 +66,7 } load_interfaces(); + load_idmap(); return(ret); } Index: source/nsswitch/winbindd.h === RCS file: /cvsroot/samba/source/nsswitch/winbindd.h,v retrieving revision 1.3.4.8 diff -u -r1.3.4.8 winbindd.h --- source/nsswitch/winbindd.h 10 Apr 2002 00:40:10 - 1.3.4.8 +++ source/nsswitch/winbindd.h 20 May 2002 17:23:17 - -203,4 +203,15 #define SETENV(name, value, overwrite) ; #endif +/* Required for the winbindd UID/GID mapping plugin */ + +#define WINBINDD_IDMAP_INTERFACE_VERSION 0 +extern struct winbind_idmap_ops *idmap_ops; + +/* Functions for winbind plug-ins */ + +struct winbind_idmap_ops { + BOOL (*allocate_id)(DOM_SID *sid, uid_t *id, BOOL isgroup); +}; + #endif /* _WINBINDD_H */ Index: source/nsswitch/winbindd_idmap.c === RCS file: /cvsroot/samba/source/nsswitch/winbindd_idmap.c,v retrieving revision 1.3.4.13 diff -u -r1.3.4.13 winbindd_idmap.c --- source/nsswitch/winbindd_idmap.c 27 Apr 2002 03:04:08 - 1.3.4.13 +++ source/nsswitch/winbindd_idmap.c 20 May 2002 17:23:17 - -34,11 +34,91 static TDB_CONTEXT *idmap_tdb; +struct winbind_idmap_ops *idmap_ops; /* idmap plug-in */ + +/* (Re)load the id allocation plugin */ + +BOOL load_idmap(void) { + BOOL rv; + struct winbind_idmap_ops* (*idmap_init)(int *); + static void *idmap_object = NULL; + char *libfile; + int idmap_version; + + libfile = lp_winbind_idmap_object(); + + /* Disable any previously loaded idmap object */ + if ( *libfile == '\0' ) { + DEBUG(5, (No winbindd idmap object defined\n)); + rv = True; + goto bail; + } + + /* if it was previously loaded, unload it before reloading */ + /* TODO: determine if this is even a good thing to support */ + if ( idmap_object != NULL ) { + sys_dlclose(idmap_object); + } + + idmap_object = sys_dlopen(libfile, RTLD_NOW | RTLD_GLOBAL); + if ( idmap_object == NULL ) { + DEBUG(0, (Error opening '%s': %s\n, libfile, sys_dlerror())); + rv = False; + goto bail; + } + + idmap_init = sys_dlsym(idmap_object, idmap_init); + if ( idmap_init == NULL ) { + DEBUG(0, (No idmap_init() symbol found in %s\n, libfile)); + rv = False; + goto bail; + } + + if ( (idmap_ops = idmap_init(idmap_version)) == NULL ) { + DEBUG(0, (idmap_init function from %s failed\n, libfile)); + rv = False; + goto bail; + } + + if ( idmap_version != WINBINDD_IDMAP_INTERFACE_VERSION ) { + DEBUG(0, (idmap_init returned wrong interface version info (was %d, should be %d)\n, + idmap_version, WINBINDD_IDMAP_INTERFACE_VERSION)); + rv = False; + goto bail; + } + + DEBUG(5, (Loaded winbind idmap object '%s'\n, libfile)); + DEBUG(5, (idmap_ops-allocate_id is %sdefined\n, +idmap_ops-allocate_id ? : NOT )); + return True; + +bail: + if ( idmap_object ) { + sys_dlclose(idmap_object); + idmap_object = NULL; + } + idmap_ops = NULL; + return rv; +} + /* Allocate either a user or group id from the pool */ -static BOOL allocate_id(uid_t *id, BOOL isgroup) +static BOOL allocate_id(DOM_SID *sid, uid_t *id, BOOL isgroup) { int hwm; + char *idmapfile; + + if ( idmap_ops idmap_ops-allocate_id ) { + DEBUG(4,(allocate_id using module '%s'\n, + lp_winbind_idmap_object())); + return(idmap_ops-allocate_id(sid, id, isgroup)); + } + + if ( *(lp_winbind_idmap_object()) ) { + DEBUG(0,(allocate_id configured to use idmap module, but +module failed to load\n)); + return(False); + } /* Get current high water mark */ -105,7 +185,7 /* Allocate a new id for this sid */ -if (id allocate_id(id, isgroup)) { +if (id allocate_id(sid, id, isgroup)) { fstring keystr2; /* Store new id */ Index:
Re: 2.2.2 Bug in unix_to_nt_time() + Fix
I'm applying and testing the patch now. Thanks for being patient about this. If all goes well, it will be in 2.2.5. Excellent. Thank you. If you need any more details (e.g. exact steps to reproduce the problem), let me know. Jordan Russell
RE: Problem with smbclient
Hi Paul, I just did a quick test from hpux 11.11 samba2.0.9 smbclient to a share on a win2k sp2 server, and didn't experience any problems: the command I used was /opt/samba/bin/smbclient //ceres/i386 -Umyuser -T c /tmp/test.tar What are you doing different? Don -Original Message- From: Paul Baker, SO16 6TU [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 8:52 To: Samba Technical Subject: Problem with smbclient I'm running Samba 2.0.9 under HP-UX 11.11. It's working fine as a file server to about 120 WIN2K PC's but I'm having a problem with smbclient. I can connect to my PC OK and see my folders, move around etc but when I try to use tar to back up a folder to the HP9000 the PC usually (but not always crashes) with the blue screen showing DRIVER_IRQL_NOT_LESS_OR_EQUAL message. According to Microsoft, this can have many causes, some of which are fixed in Service Pack 2. I've installed this but it's made no difference. Anyone else have any experience of this? Paul Baker Enichem UK
Spam that forges a valid from address [was FRAMESPACING]
FOlks, In case anyone was wonderingtheprevious virtus infected message did not come from me. Must have grabbed my address from someone's address book. Sorry for any confusion. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca--
RE: Samba 3.0 won't work with smbclient using Kerberos.
Thanks for the reply, Andrew. I could get Samba to work with Kerberos (win2k KDC). I think there is a problem with the way Samba implemented Kerberos key storage. Other Kerberos applications running on the same machine can't use the same key that samba uses because the host principal (samba gets it from Win2K KDC) is stored in secrets.tdb instead of krb5.keytab file. If I create another account for the same host in Win2K KDC to be able to use with other Kerberos applications, then Samba won't work because Win2k generates encrypted messages using the new key (different from the one stored in secrets.tdb). I am currently trying to find a compromise, if you have already worked on it or have ideas let me know. I can spend time on it. Thanks, Ranjit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 2:30 AM To: P Ranjit Kumar Cc: [EMAIL PROTECTED] Subject: Re: Samba 3.0 won't work with smbclient using Kerberos. P Ranjit Kumar wrote: Hi I am trying to get smbclient to work with Samba 3.0 server. Samba 3.0 server joined a Win2k Native domain successfully. Interestingly, I made and account on the KDC for the unix machine (using ktpass) and specified enc type DES-CBC-MD5, which is used by smbclient. Also I checked that the encryption type is MD5 for the TGT. You must join the domain with 'net join'. Set 'security=ads' in your smb.conf. Becouse samba must also use legacy RPC protocols for NT4 connections, and becouse of differences in case sensitivity in the MIT/MS implementations, Samba does not use a predefined keytab, but stores the plaintext password, creating the 'keys' in memory. As such there isn't an /etc/krb5.keytab on a normal samba ADS member. We need an option 'krb5 keytab write = ' (defaulting to /etc/krb5.keytab) to allow unix servers compatibilty here, but I havn't got a chance to writing it yet. (Patches are more than welcome). Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
Re: Solaris and Samba Record Locking
On Mon, May 20, 2002 at 01:19:31AM -0700, Anjaneya Sastry wrote: Hello Everybody, Can you help ? Our application is in RMCOBOL. We use Rmcobol Index files. These are located in Solaris 2.8. Using Samba 2.2 we created a share and accessing the directory from windows. From windows we are running RMCOBOL runtime ver 7.0 and manipulating the shared files. At the same time other programs may be accessing these files by RUNCOBOL of solaris runtime which is in Solaris system. Our problem is the locks set by Windows cleints are not reflected in solaris runtime. This same problem we faced in Pcnetlink 1.2 (even after setting the parameter refelct client created locks in solaris ). Can this type of locking is possible ? Please let me know. Yes, you need to remove the oplocks that Samba is granting to clients in order for the Windows locks to be seen by the UNIX clients. Try adding the following two lines to your smb.conf, oplocks = no strict locking = yes This will slow Samba down some but will cause the Windows locks to be correctly seen under UNIX. Jeremy.
Re: Samba 3.0 won't work with smbclient using Kerberos.
P Ranjit Kumar wrote: Thanks for the reply, Andrew. I could get Samba to work with Kerberos (win2k KDC). I think there is a problem with the way Samba implemented Kerberos key storage. Other Kerberos applications running on the same machine can't use the same key that samba uses because the host principal (samba gets it from Win2K KDC) is stored in secrets.tdb instead of krb5.keytab file. Exactly. If I create another account for the same host in Win2K KDC to be able to use with other Kerberos applications, then Samba won't work because Win2k generates encrypted messages using the new key (different from the one stored in secrets.tdb). Correct. I am currently trying to find a compromise, if you have already worked on it or have ideas let me know. I can spend time on it. As per my message below: Write a patch that automaticly exports the pricipal to the keytab on change. Thanks, Ranjit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 2:30 AM To: P Ranjit Kumar Cc: [EMAIL PROTECTED] Subject: Re: Samba 3.0 won't work with smbclient using Kerberos. P Ranjit Kumar wrote: Hi I am trying to get smbclient to work with Samba 3.0 server. Samba 3.0 server joined a Win2k Native domain successfully. Interestingly, I made and account on the KDC for the unix machine (using ktpass) and specified enc type DES-CBC-MD5, which is used by smbclient. Also I checked that the encryption type is MD5 for the TGT. You must join the domain with 'net join'. Set 'security=ads' in your smb.conf. Becouse samba must also use legacy RPC protocols for NT4 connections, and becouse of differences in case sensitivity in the MIT/MS implementations, Samba does not use a predefined keytab, but stores the plaintext password, creating the 'keys' in memory. As such there isn't an /etc/krb5.keytab on a normal samba ADS member. We need an option 'krb5 keytab write = ' (defaulting to /etc/krb5.keytab) to allow unix servers compatibilty here, but I havn't got a chance to writing it yet. (Patches are more than welcome). 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 -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
Re: [PATCH] winbind id assignment module
Mike Gerdts wrote: winbindd: Fixed up formatting to get rid of 4-space tabs that existed before. Builds off of today's SAMBA_2_2 branch. While they are pretty similar ATM, I need patches to be against and tested with HEAD. I don't apply stuff to 2.2. Other than that, I have some other comments: It would be worthwile setting up soem state for the plugin, where it can store things like connection pointers etc, talloc etc. Make the init function's return include a void * that you always pass back to it. Also add a 'shutdown' function so that the plugin can clean up before we shutdown winbind or we reload the plugin. How does that sound? Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
Re: [PATCH]Make VFS modules work under Solaris and AIX
Am Montag, 20. Mai 2002 01:18 schrieb Juergen Hasch: Am Montag, 20. Mai 2002 00:56 schrieb Juergen Hasch: Hi, attached is a patch and a few new files to make VFS modules work under Solaris and AIX. I have tested it with Solaris 8 using gcc and Sun Workshop cc. For AIX I tested it with gcc and xlc_r. Linux still works, too :-) samba_core.patch changes configure.in and Makefile.in in the samba source directory. The patch is needed to access symbols within smbd from a VFS module. The files configure.in and Makefile.in go to the examples/VFS directory. After running autoconf you can execute configure to create a new Makefile which will have the correct settings for Linux, AIX and Solaris. Oops, actually I only wanted to save the message to my drafts folder and send it after some sleep. But here is the patch anyway... It applies to SAMBA_2_2 CVS. Here are the slightly updated patches for Samba HEAD. Makefile.in.patch and configure.in.patch apply to samba/source, Makefile.in and configure.in go to samba/examples/VFS. ...Juergen ## # Makefile.in for Samba VFS modules ### CC=@CC LIBTOOL=@LIBTOOL CFLAGS=@CFLAGS LDFLAGS=@LDFLAGS INSTALLDIR=@INSTALLDIR VFS_OBJS=audit.so skel.so recycle.so SHELL=/bin/sh default: $(VFS_OBJS) # Pattern rules %.so: %.lo $(LIBTOOL) --mode=link $(CC) -o $ $ $(LDFLAGS) %.lo: %.c $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $ # Misc targets clean: rm -rf .libs rm -f core *~ *% *.bak \ $(VFS_OBJS) $(VFS_OBJS:.so=.o) $(VFS_OBJS:.so=.lo) install: echo Installing shared libraries in $(INSTALLDIR) for i in $(VFS_OBJS) ; do \ install $$i $(INSTALLDIR) ; \ done --- Makefile.in.orig Sat May 18 16:01:27 2002 +++ Makefile.in Mon May 20 17:17:08 2002 -14,6 +14,7 CFLAGS=@CFLAGS CPPFLAGS=@CPPFLAGS LDFLAGS=@LDFLAGS +SMBD_LDFLAGS=@SMBD_LDFLAGS LDSHFLAGS=@LDSHFLAGS LDFLAGS CFLAGS AWK=@AWK DYNEXP=@DYNEXP -571,7 +572,7 bin/smbd: $(SMBD_OBJ) bin/.dummy echo Linking $ - $(CC) $(FLAGS) -o $ $(SMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) + $(CC) $(FLAGS) -o $ $(SMBD_OBJ) $(SMBD_LDFLAGS) $(LDFLAGS) $(DYNEXP) $(LIBS) bin/nmbd: $(NMBD_OBJ) bin/.dummy echo Linking $ --- configure.in.orig Fri May 17 17:00:33 2002 +++ configure.in Mon May 20 22:30:19 2002 -153,6 +153,7 AC_SUBST(RUNPROG) AC_SUBST(MPROGS) AC_SUBST(LDSHFLAGS) +AC_SUBST(SMBD_LDFLAGS) AC_SUBST(SHLD) AC_SUBST(HOST_OS) AC_SUBST(PAM_MOD) -860,6 +861,7 # these are the defaults, good for lots of systems HOST_OS=$host_os LDSHFLAGS=-shared +SMBD_LDFLAGS= SHLD=\${CC} PICFLAG= PICSUFFIX=po -884,6 +886,7 LDSHFLAGS=-h \$ -G if test ${GCC} = yes; then PICFLAG=-fPIC +SMBD_LDFLAGS=-Wl,-E else PICFLAG=-KPIC POBAD_CC= -921,7 +924,13 *aix*) AC_DEFINE(AIX) BLDSHARED=true LDSHFLAGS=-Wl,-bexpall,-bM:SRE,-bnoentry - PICFLAG=-O2 -qmaxmem=6000 + SMBD_LDFLAGS=-Wl,-brtl,-bexpall + if test ${GCC} = yes; then +PICFLAG=-O2 + else +PICFLAG=-O2 -qmaxmem=6000 + fi + AC_DEFINE(STAT_ST_BLOCKSIZE,DEV_BSIZE) ;; *hpux*) AC_DEFINE(HPUX) -978,6 +987,8 AC_MSG_RESULT($BLDSHARED) AC_MSG_CHECKING([linker flags for shared libraries]) AC_MSG_RESULT([$LDSHFLAGS]) +AC_MSG_CHECKING([linker flags for smbd]) +AC_MSG_RESULT([$SMBD_LDFLAGS]) AC_MSG_CHECKING([compiler flags for position-independent code]) AC_MSG_RESULT([$PICFLAGS]) -2672,6 +2683,9 *hpux11*) HAVE_WINBIND=yes WINBIND_NSS_EXTRA_OBJS=nsswitch/winbind_nss_solaris.o + ;; + *aix4*) + HAVE_WINBIND=yes ;; *) HAVE_WINBIND=no dnl Samba VFS Modules AC_INIT uname=`uname` # include dirs SAMBA_SRC=../../source SAMBA_INCL=$SAMBA_SRC/include UBIQX_SRC=$SAMBA_SRC/ubiqx SMBWR_SRC=$SAMBA_SRC/smbwrapper CFLAGS=-I$SAMBA_SRC -I$SAMBA_INCL -I$UBIQX_SRC -I$SMBWR_SRC dnl Check programs needed AC_PROG_CC dnl ensure libtool is installed AC_PATH_PROG(LIBTOOL, libtool,,) if test $LIBTOOL = ; then echo echo 'FATAL ERROR: libtool does not seem to be installed.' echo $pkg_name cannot be built without a working libtool installation. exit 1 fi dnl check in which directory to install AC_PREFIX_DEFAULT(/usr/local/samba) if test $prefix = NONE ; then prefix=$ac_default_prefix fi AC_ARG_WITH(installdir, [--with-installdir=DIR Set .so install directory (default=$prefix/lib)], INSTALLDIR=$withval, INSTALLDIR=$prefix/lib) AC_SUBST(INSTALLDIR) AC_ARG_WITH(krb5, [--with-krb5=DIR Set Kerberos 5 include file directory], CFLAGS=$CFLAGS -I$withval,) # # Config CFLAGS settings # case $uname in AIX) if test ${GCC} = yes; then CFLAGS=$CFLAGS -Wall -I/usr/include -D_LINUX_SOURCE_COMPAT else CFLAGS=$CFLAGS -D_LINUX_SOURCE_COMPAT fi ;; SunOS)
{ ¼ºÀα¤°í } ´ëÇѹα¹ ±¹¹Î ¸ðµÎ¿¡°Ô µ·¹æ¼®À» µå¸³´Ï´Ù.¾Ñ½Î¾Æ!!!
Title: ppornoevent * º» ¸ÞÀÏÀº Á¤º¸Åë½ÅºÎ ±Ç°í»çÇ׿¡ ÀÇ°Å(±¤°í)ÀÓÀ» ¹àÈü´Ï´Ù. Çã¶ô¾øÀÌ È«º¸¸ÞÀÏÀ» º¸³»µå·Á Á˼ÛÇÕ´Ï´Ù. ±ÍÇÏÀÇ E-Mail Àº °Ô½ÃÆÇ µî ÀÎÅÍ³Ý »ó¿¡¼ ¾Ë°Ô µÇ¾úÀ¸¸ç, E-Mail À» Á¦¿ÜÇÑ ¾î¶°ÇÑ Á¤º¸µµ ¾ËÁö ¸øÇÔÀ» ¹àÈü´Ï´Ù. ¼ö½Å°ÅºÎ¸¦ ¿øÇÏ½Ã¸é ¾Æ·¡¿¡¼ ¼ö½Å°ÅºÎ ÇØ ÁÖ¼¼¿ä.°ÅºÎÇϽŠºÐµé¿¡°Ô´Â ´Ù½Ã´Â º¸³»Áö ¾ÊÀ» °ÍÀÔ´Ï´Ù.Á¤º¸¸¦ ¿øÄ¡ ¾Ê´Â ºÐ²²´Â ´ë´ÜÈ÷ ÁË¼Û ÇÕ´Ï´Ù. ¼ö½Å°ÅºÎ If you won't receive any more mail about this site, press the " press " button and fill your e-mail address. And then we will not send any mail to you. we are sorry to you. PRESS
RE: smbmount
On Mon, 20 May 2002, Esh, Andrew wrote: But it gets assigned to data.uid in client/smbmnt.c, main(228): data.uid = mount_uid; This is where the info is lost. smbmnt needs to be changed not to use the smb_mount_data struct as a storage for anything, it should only be used inside do_mount iff it is on a 2.2 system. ... data_uid is defined like this in /usr/include/linux/smb_mount.h: struct smb_mount_data { int version; __kernel_uid_t mounted_uid; /* Who may umount() this filesystem? */ __kernel_uid_t uid; __kernel_gid_t gid; This struct can't change because it will break old smbmounts. But it is also no longer used to pass the information to smbfs on recent systems (see do_mount) so that's ok. It is possible to play with the version field and define a new struct, but there is no reason for being different from most other filesystems by sending this in a binary format in the first place. Unfortunately smbfs uses a similar struct to keep the data so that needs fixing too. In the kernel source tree edit struct smb_mount_data_kernel in include/linux/smb_mount.h and change: __kernel_uid_t - uid_t __kernel_gid_t - gid_t __kernel_mode_t - mode_t Done. uh oh. Looks like a Linux smbfs problem. Did someone forget to update it for 32-bit IDs? Someone added ioctls for returning 32bit uids but probably didn't test if the whole chain worked, with the interface to samba and the code in the samba tree. It's getting kind of late over here. I'll post patches tomorrow if no one else does it first. /Urban
Re: SV_TYPE_PRINTQ_SERVER flag always true?
On Mon, May 20, 2002 at 12:39:03PM -0400, James Guzicki - IMG wrote: This is just to update the technical people here on what I have done. I commented out the line in Samba 2.2.4 param/loadparm.c 'default_server_announce |= SV_TYPE_PRINTQ_SERVER;' This successfully removed the server from the Hi. I committed a patch to the HEAD branch on the weekend that should only set the printer server bit in the server announce if a print share is exported. I haven't had a chance to test it very much though. Would you be able to take a look and see if it works for you? Tim.
Çö±Ý ¸ÚÁö°Ô µå¸³´Ï´Ù. ½¬¿î ´ëÃâ^.^ [±¤.°í]
Title: À¯¿£ºñÁ¾ÇÕ±ÝÀ¶