Re: [Samba] Longfile names and Samba
--On Thursday, January 16, 2003 11:49 AM +0100 Martin Boltje [EMAIL PROTECTED] wrote: I'm using RedHat 7.3 and samba 2.2.7a, Using windows98 and NT4 workstations, I get a weird problem. Writing a longfilename directory on a real NT server a direct. like program files would be \progra~1 On a samba server it's changed in progr~NK or something like this. It's never the same. Therefor, for older dos applications it's not possible to enter the directory. Is this a problem only I have? Or did I do something wrong? I found something about hash and hash2. But this does not solve my problems. Martin Boltje web: http://www.boltje.com web: http://www.yamnis.com I thought there were options that could be set concerning Name Mangling... have you looked into those?... - jb -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] the process when client joins and logs off....
--On Friday, December 13, 2002 6:59 PM +0530 [EMAIL PROTECTED] wrote: hello, can any one help me with some details pls. i was looking for the process(the internals)when a client logs in to samba(configured as a PDC). and the same questions what happens when a client logs off.(do the PDC know abt this?). iam keen in to these details,since i want to insert in to the source code of samba,a small code by myself,to have capture the list of clients which are joining the PDC and leaving the PDC. first i want to have a file(say filename is logged-in)when a client log in PDC.then when a client logs off(will samba know abt this at all?)i want to remove the IP entry from the same file(logged-in). so that i can have a list of IP's who r currently active in samba. suppose at an instant if i want to find who r all the clients who logged in to PDC,i must be able to identify from the same file. I thought that the smbstatus command would display the information you are asking for (who is logged on, what files they have open). Perhaps you should look at the source for THIS command to figure out some of what you want to know. - John (usually in /var/logs/ i have files named log.netbios-name) but these r files when client logs on...and doesn't leave even though the client switches off) pls help me at this point thanks in advance prasad -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba is broadcasting other network shares...
--On Thursday, November 21, 2002 12:44 PM -0800 Steve Morley [EMAIL PROTECTED] wrote: Have you tried the Interface option in the smb.conf? That's how I keep Samba from broadcasting to the Internet on my Router/FTP server that is running Samba to upload files to the FTP folders from the LAN. I set the line to only look at the Internal IP subnet and things are fine. Yeah, but I need SAMBA to use both interfaces, so they're both added to the interfaces line. This server is acting as the PDC and machines from both networks need to connect to it. I just don't want them browsing the other network's shares. Steve -- Well, if you're using a logon batch file, and do your mapping of drives there, could you set all the shares to browseable=no in the smb.conf file? - john -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbclient: support for long share names..?
I thought the 13 character limit was a 'feature' of NT, and thus Samba reflects that feature, too... anyone know? --On Tuesday, November 19, 2002 4:56 PM -0500 Diana McKenna [EMAIL PROTECTED] wrote: Hello All, If I create a 13 char long share on a filer or a windows workstation (a windows 2000 workstation for example) and then run sbmclient to list the shares on that system smbclient will not list any shares greater than 12 chars long. I can see and access the long share name on my windows 2000 system and I can see it on the system where the share was created but smbclient will not list it. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] (no subject)
--On Tuesday, November 19, 2002 12:48 AM +0530 pravin choubey [EMAIL PROTECTED] wrote: Hi, Does anyone have a simple login script which i can put in smb.conf for my samba server.I am installing samba first time and dont know perl.I copied one from book Using samba but it does not work. Thanks pravin At its' simplest, a logon script is just a couple of net use lines, so you can map drives automagically. Instead, why not figure out why your perl script doesn't work. First try it at a command prompt on your Linux machine (with the appropriate command line arguments, naturally). That lets you narrow it down from the script itself being broken, to how you have set up your smb.conf file. You need to have the netlogon share created, with the proper root preexec ( root postexec if you so desire) commands set up. - john -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Changing passwords under Win2K/WinXP (Samba 2.2.6)
Yes, with W2K, don't know about XP. Are you setting Samba up as a PDC? If yes, I would have to say you have a problem with your password chat? - john --On Tuesday, November 19, 2002 9:25 AM +1000 [EMAIL PROTECTED] wrote: G'day all... Has anyone had any success in achieving the above, without requiring the user to run smbpasswd on the samba server? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Samba - root preexec login scripts
--On Wednesday, October 30, 2002 8:46 PM +0100 Walter Mautner [EMAIL PROTECTED] wrote: Last night at home, and on a second system today at work, I tried putting in the sample preexec statement contained in the smb.conf man page to check it's effect on the domain logons. Just like the preexec for the perl script it kills domain logons. As that script is right in the smb.conf man page I'd certainly expect that to work. As one final shot at this I'll post my smb.conf for some of you to examine. I've removed all the comments in an effor to minimize size. The preexec statement is in the netlogon section. Thanks. -- Mike Rambo [EMAIL PROTECTED] # === Global Settings = [global] workgroup = IMCDOMAIN netbios name = linuxts1 server string = Samba PDC %v hosts allow = 192.168.3. 127. printcap name = /etc/printcap load printers = yes log file = /var/log/samba/log.%m log level = 5 max log size = 50 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = 192.168.3.1/24 os level = 63 domain master = yes preferred master = yes domain logons = yes domain admin group = @adm add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u logon script = %U.bat logon path = \\%L\Profiles\%U logon home = \\%L\%U\.profile logon drive = L: wins support = yes dns proxy = no # Share Definitions == [homes] comment = Home Directories browseable = no writable = yes create mask = 0750 directory mask = 0750 [netlogon] comment = Network Logon Service path = /home/netlogon guest ok = yes read only = yes browseable = no printable = no write list = @adm share modes = no # root preexec = perl /home/netlogon/netlogon.pl %U preexec = echo \%u connected to %S from %m (%I)\ /tmp/log Probably it's too simple: you have to supply absolute paths to your commands :) I am worried about two things - The first might be a typo, but you have a pound sign, commenting out the root preexec line, and the other is: Do you need to preface your command with perl? Why not specify it on the first line that you need perl? Something like the traditional first line in script: #!/usr/bin/perl Which would make the root preexec line: root preexec = /home/netlogon/netlogon.pl %U ??? - john -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Machine can login, Machine(s) cant.
--On Tuesday, October 29, 2002 10:24 PM -0600 Brandon Hagedorn [EMAIL PROTECTED] wrote: I created separate machine accounts looking like this: test-machine$:*:201:201::0:0:Machine account Test machine:/dev/null:false lexus$:*:201:201::0:0:Machine account for a Lexus:/dev/null:false and then proceed to make machine accounts with syntax of smbpasswd -a -m lexus$ If that is not a typo, you have it wrong; when adding the machine account to the smbpasswd file, you leave off the dollar sign, so your command should read: smbpasswd -a -m lexus and it will appear in the file with the $ at the end... - john And both machines reported that they joined the domain correctly. Seems weird that this would happen this way. Any suggestions on how to get at least on machine to login to the domain again... seems I have to reinstall samba for it to work again. (very, very strange.) Any suggestions are welcomed. Thanks again... - Brandon -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba as a NT PDC
--On Thursday, October 17, 2002 10:51 AM -0400 Adam Lang [EMAIL PROTECTED] wrote: CARTER is the name of the linux Samba server that is the PDC. According to my documentation, I am suppsoed to do the following. 1) Create the Unix account: /usr/sbin/useradd -c 'Samba PDC for CHERRY_HILL' -M -s /dev/null CARTER$ 2) Add a machine account smbpasswd -a -m CARTER 3) Add it to the domain (which it is the PDC of) smbpasswd -j CHERRY_HILL I am NOT adding an XP machine in at this time. I am setting up the PDC. So yes, I DO know what the -j option is for. Well, I don't think you DO know what that -J is for... Look, if the Samba machine is the PDC for your domain, you DON'T USE the -J option; that is only if the Samba machine is going to be a MEMBER SERVER into an existing WINDOWS-RUN domain (a domain with a 'real' Windows PDC). You say that Samba is the PDC, right? And, if the Samba machine is the PDC of it's own domain, it doesn't appear in it's own smbpasswd file (at least mine doesn't). Perhaps it might help us to help you if you posted your smb.conf file (because we are definitely missing some vital piece somewhere of what you are trying to do). - john --On Thursday, October 17, 2002 10:21 AM -0400 Adam Lang [EMAIL PROTECTED] wrote: I have started to modify to allow for the new XP machines we are having. I added CARTER$ (machine name) to the unix account. I added it with smbpasswd. I go to add itself to the domain (smbpasswd -j CHERRY_HILL) and I get this error: No password server list given in smb.conf - unable to join domain. Now it says password server should not point to itself in TFM. I tried lookign through the archives and didn't find anything. I am not sure what direction to go from here. Adam Lang -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] [Fwd: samba client problems???]
Do you have a share called ethan set up, or are you trying to map to the users' home directory? The 'homes' share is a special animal... - john --On Wednesday, October 09, 2002 8:34 AM -0700 Joel Thompson [EMAIL PROTECTED] wrote: Hello, I have scoured the samba archives, and have found a few suggestions to this problem, like setting registry setting on the Windows machine to allow clear text passwords, and making sure permissions are setup correctly in the smb.conf and with the directory to share... but to no avail... Can someone shed some further light on this topic. None of the prior posting's actually had a solution noted down. Thanks, Joel Original Message From: - Tue Oct 08 14:04:22 2002 X-Mozilla-Status: 0001 X-Mozilla-Status2: Message-ID: [EMAIL PROTECTED] Date: Tue, 08 Oct 2002 14:04:21 -0700 From: Joel Thompson [EMAIL PROTECTED] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: samba client problems??? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, When I use smbclient from the linux (redhat 7.2) machine, with the following command, I get connected OK, but when I attempt a MAP from a Windoz 2k box (with \\10.1.1.77\ethan - and I changed the user and password), it doesn't work - it just hangs for a while and says network path \\10.1.1.77\ethan could not be found Any suggestions? smbclient //10.1.1.77/ethan -U joel (THIS WORKS GREAT WHEN I RUN FROM THE LINUX MACHINE). Thanks, Joel -- 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] Profiles and automatic drive mappings
The actual root of this problem is educating your users to put SHORTCUTS on their desktop, not the actual files themselves... poor organization of files, if you ask me. If you don't want to save profiles, turn them off in the smb.conf. I don't think you CAN turn off the Z: mapping; think 'feature' not bug (blame MS). Why not just change the H: to Z: in the logon file? - jb --On Thursday, October 03, 2002 12:01 AM + Aton [EMAIL PROTECTED] wrote: Hello, I have a mixed network of 98 and 2000 machines with RH 7.3 and Samba 2.2.5 The problem I'm having is my logon scripts contain a drive map to the user's home directory: net use H: \\server01\dave$ That works great for the 98 machines, but the 2000 machines map H: and Z: to \\server01\dave$ The 2000 machines also write a profile dirctory in that share, and copy the entire desktop contents to it each time the user logs off. For most of the users, this isn't a problem, but some users have a gig of video files on their desktop, and it writing all that crap to the sever is not necessary and slow. How do I make samba stop automatically mapping Z: as their home directory, and how do I make the profile writing to the server stop? Thanks, Aton -- 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] Nobody is ready to talk on Samba Quota Support
I wasn't aware there *WAS* a problem with quotas in RH7.2; do you have any references you can point us to? --On Monday, September 30, 2002 12:47 PM +0530 Shekhar [EMAIL PROTECTED] wrote: Subject: [Samba] Quota Support Does RH7.3 Kernel supports samba quotas correctly ? Any work around for Rh7.2 and samba quotas? TIA Shekhar -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Listing Domain controllers, Local and Master Browsersrunning in your network
--On Saturday, September 28, 2002 12:51 AM +0200 Martin MOKREJ? [EMAIL PROTECTED] wrote: Hi, when trying to configure my samba server, I was curious if there's any Domain controller running on our subnet. I could only find notes in documentation of samba, that there has to be only one Domain Controller running, otherwise weird things would happen ... Btw what are those weird things? Correct me if I am wrong, but I think you might want to re-word that... You should not have more than one controller PER SAMBA CONTROLLED-DOMAIN. Per subnet does not matter. (right?) When you setup your Samba to be the Domain controller, do not use the name of an existing domain with a Windows PDC. - john -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] swat share view
Well, once you Choose a share, you can choose advanced view; it does not come up UNTIL you choose a share... - jb --On Friday, September 20, 2002 3:43 PM -0700 Norman Zhang [EMAIL PROTECTED] wrote: Hi, How come in the Share Parameters under SWAT, I only see 2 options (i.e., Choose Share, Create Share)? There's no way I can select Advanced View. Where can I enable that? Regards, Norman -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Mailing List
Are you sure you are not receiving two of every message that are simply responses to your own posting to the list? Most mail programs will send a reply to both the original poster AND the list address. My program did that, too, so you should be seeing my message twice as well! It is normal behavior. - john --On Wednesday, September 18, 2002 3:52 PM -0500 Aaron Axelsen [EMAIL PROTECTED] wrote: Can someone please tell me why I receive 2 of every message on the list? --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] URL: www.amadmax.com It said, Insert disk #3, but only two will fit! One picture is worth 128K words. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- John Thomas Benedetto, Analyst/Programmer [EMAIL PROTECTED] UNM General Library (505)277-7202/277-8945 Library IT Department http://eLibrary.unm.edu/ University of New Mexicohttp://www.unm.edu/~lithelp/ Albuquerque, NM 87131-1496 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Request For Help With Samba Connectivity
When you post your smb.conf, it is nice to DELETE ANY COMMENTS, to save on bandwith... That said, you don't say that you have added the users to your smbpassword file. Do a man smbpasswd for more details. Oh, and it can be confusing, but there are two things we're talking about here... there is the smbpasswd command, which puts entries into the smbpasswd file. There are a number of useful docs that shipped with your Samba distro; you may want to check them out if you have not already done so... - john --On Wednesday, September 18, 2002 10:37 PM -0400 Shaun Bramley [EMAIL PROTECTED] wrote: Hello, My name is Shaun Bramley and I am currently having trouble accessing my Samba share. System 1: Red Hat 7.3 Samba version = whatever is shipped with RH7.3 System 2: Windows 2000 SP2 The Problem: I am currently unable to access my Samba shares with my windows 2000 machine. Currently I can view the RH7.3 machine on teh network through 'Network Neighbourhood'. However when I select the RH7.3 machine, I am prompted for a username and password. It appears as though any valid Linux and windows username/password combination I use never grant me access to the system. The prompt returns with the message Incorrect password or unknown username for \\Linux (Linux is the name of my linux box. Valid Windows 2000 users: - shaunb - administrator - guest Valid Linux users - Shaun - Shea - Markus - root -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] vorkomg on vmware virtual machine
We have been running our production Samba server on VMWare GXS server for just about a year now. First on version one, now on version two (upgrade performed a few weeks ago). The original poster does not say whether they are using VMWare workstation, or VMWare GSX server. For testing purposes, though, I do not see any problem with running it on VMWare workstation, over the higher end GSX server product. Our parent O/S is Linux, while cferent's O/S is Windows 2000. I do not know if that could be a factor or not. The things that pop to mind to check are: - make sure you have no limitations on the parent O/S (firewall issues and the like) - make sure your virtual machine has full networking, and is not locked down to the parent O/S. - Arthur's point of a unique IP address is, of course, a valid one. You would not need a seperate physical network interface, though. Some of the things to look at, same as with non-vmware setup: - do you have full networking INTO the Linux virtual machine, say with SSH/telnet/web? If not, that is a big problem indicator right there. - did you accidentally install the default firewall for whatever Linux distro you used? (IPChains/IPTables). - proper guest setup in the smb.conf, /etc/password, smbpasswd file? Long story short: Yes, it is possible to run a Samba server on a virtual machine, using VMWare. You may want to post your smb.conf to the list, if you have verified that there are no network access problems to the virtual machine. Please delete all comments any empty entries in the file, though. - john --On Tuesday, September 17, 2002 7:50 PM +0200 Arthur van Dorp [EMAIL PROTECTED] wrote: cferent wrote: Do know a isue about Samba not working well an a vmware virtual machine running on a Windows200 Server as host OS Even if saw my virtual linux machine in Network Neighborhood i can't acces it, I keep get an error message about not the network path been invalid I don't think anyone here ever tried to run samba on vmware. I think there are a lot of possible issues with that. But if you really want to do this, I'd suggest to give the virtual linux(?)-server a different IP-Address than the windows machine it's running on. I don't know whether that is easily possible with vmware but I'd say it's important that the virtual machine is known on the intranet as an independent machine. Probably you even have to have a separat physical network interface. But I really can't see the point of this at all anyway. Arthur -- 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