[Samba] Mapping/linking Samba share to Windows FOLDER

2007-06-05 Thread Michael Barnes
This one is driving me nuts. There has got to be some way to do it. I have a Windows application that is very limited on the folders it will use. It is installed in a base folder like C:\Program Files\Application\app.exe. It uses multiple folders under that, like C:\Program

Re: [Samba] Mapping/linking Samba share to Windows FOLDER

2007-06-05 Thread Michael Barnes
I already tried that. Unless there's a secret I don't know about, you can't create an NTFS junction across a network or to a network drive. It apparently only works with local disks. Thanks for the comment. Michael Tim Bates told me on 06/05/2007 07:21 AM: Michael Barnes wrote: I cannot use

[Samba] Can Samba corrupt files?

2005-12-23 Thread Michael Barnes
Now my server is up and running and on line. One user has a bunch of CD labels made by MediaFace II as .ntf files. Once these files were copied to a Samba share, they became unusable. If we copy them from one workstation to another, they work fine. If we copy them from a workstation to a

Re: [Samba] SVN/CVS-like share for Samba users?

2005-12-22 Thread Michael Barnes
While Samba is a great tool, there is no one tool that will work for every occasion. The use you are describing may be very well served with a collaboration tool, such as a Wiki. A web based solution, there are many flavors out there which have various levels of security and accessories.

[Samba] Samba versus Windows permissions

2005-12-21 Thread Michael Barnes
I'm running into a permissions problem on a share. If I set the g+x on a file, it sets it as a system file in Windows. If I set o+x on a file, Windows sees it as a hidden file. This is a department share with a number of users accessing it. When I don't have the group bit for executable

[Samba] Removing stale host/workgroups in browse lists

2005-12-20 Thread Michael Barnes
I've got a moderate network with several subnets, a number of domains and workgroups. I have a central WINS server, each domain has its own PDC. My problem is transient users. We have occasional users who plug a laptop into the network. Once they leave, they hang around in Network

[Samba] Re: Reading tdbsam (was NT_STATUS_LOGON_FAILURE)

2005-12-19 Thread Michael Barnes
pdbedit is your tool. pdbedit -L will list the users. pdbedit -Lv will give much more info. pdbedit -Lv username will give you data on a particular user. man pdbedit for more. Michael Mathew D. Watson told me on 12/19/2005 12:26: Not to hijack a thread, but does anyone know how root

Re: [Samba] Using smbmount in a script - no return value

2005-12-17 Thread Michael Barnes
For some of us simple minded types, like me, perhaps you could have a permanent file in the share and test for it after mounting. Create the file NonsenseShare/iamhere #!/bin/bash smbmount //NonsenseShare /bad/mnt/point if test -f /bad/mnt/point/iamhere ; then printf The mount worked!\n

Re: [Samba] NT_STATUS_LOGON_FAILURE

2005-12-16 Thread Michael Barnes
I got that error when trying to login or access the Samba server from a client who was not allowed in the [IPC$] section. [IPC$] path = /tmp hosts allow = 10.143.0.0/16, 127.0.0.1, 10.159.0.0/16, 10.150.0.0/16 hosts deny = 0.0.0.0/0 Be sure you are in this section to have permission

Re: [Samba] Fwd: roaming profile contents

2005-12-14 Thread Michael Barnes
AFAIK- The profile is usually C:\Documents and Settings\username\NTUSER.DAT With roaming profiles, you identify the location of this file with various [NETLOGON] and [GLOBAL] settings. It is copied into the C:\Documents and Settings\username\NTUSER.DAT on login and copied back to the server

Re: [Samba] new server: NT_STATUS_LOGON_FAILURE

2005-12-14 Thread Michael Barnes
Take one machine to learn on. Wipe it out and do a bare metal install. Once your basic Linux is installed and working, follow Chapter 3 of Samba3 - By Example step by step. Don't change anything. See how it all works. THEN, go in and change things one at a time to see the results and tune

Re: [Samba] Migrating W2K Workstation to Samba Domain

2005-12-12 Thread Michael Barnes
I had similar problems just a short time ago. IIRC, the two big areas were the paths and the permissions. Be sure your paths to the profile storage folder are correct, and be sure the users can write to them. I was confused by the fact that Unix permissions and Samba permissions seem to be

Re: [Samba] Share Connection Failure

2005-12-10 Thread Michael Barnes
Eric, Try changing your smb.conf file to: [accounts] valid users = @accounts force group = accounts (along with the other usual stuff) [finsvcs] valid users = @finsvcs force group = finsvcs (along with the other usual stuff) This will limit

Re: [Samba] netlogon problems

2005-12-09 Thread Michael Barnes
I just went through all this with my set up. First, insure the users have the desired group as their PRIMARY group in both NT groups and Unix groups. You can verify this by checking the /etc/passwd list and running 'pdbedit -Lv'. Change your [NETLOGON] entry to read 'path = /data/%g'. In

Re: [Samba] Re: User Primary group problem

2005-12-07 Thread Michael Barnes
Just what I was looking for! THANKS! Michael Pierre Lebrun told me on 12/7/2005 03:33: Michael Barnes wrote: How do I establish both a user's primary NTgroup and Unixgroup when creating a new user? Thanks for your ideas, Michael Did you set ' set primary group script = ' in smb.conf

Re: [Samba] ask of documentation

2005-12-06 Thread Michael Barnes
The man is obviously a new user. Your post subject line said [Samba] BIG Samba how to for debian only. Perhaps he is not using a Debian distribution and didn't recognize it as applying to him. Besides, in scanning through your post (the only other one I found from you today, so I am

[Samba] User Primary group problem

2005-12-06 Thread Michael Barnes
How do I establish both a user's primary NTgroup and Unixgroup when creating a new user? Depending on the tool, I can set his NTgroup or his Unix group, but I don't seem to be able to establish both with one tool. I'm having a little difficulty with creating users with the proper groups.

Re: [Samba] User Primary group problem

2005-12-06 Thread Michael Barnes
Craig White told me on 12/6/2005 18:30: On Tue, 2005-12-06 at 14:08 -0600, Michael Barnes wrote: How do I establish both a user's primary NTgroup and Unixgroup when creating a new user? Depending on the tool, I can set his NTgroup or his Unix group, but I don't seem to be able to establish

Re: [Samba] User Primary group problem

2005-12-06 Thread Michael Barnes
Michael Barnes told me on 12/6/2005 19:29: This only makes the user a member of a group. It does not change the PRIMARY GROUP of the user. Ideally, I want to set the primary group of the user at the time of user creation. Lacking that, I'd like to be able to change the user's primary

Re: [Samba] User Primary group problem

2005-12-06 Thread Michael Barnes
I'm using tdbsam. Maybe that makes a difference. It seems everyone is expecting LDAP. Michael Michael Barnes told me on 12/6/2005 19:29: This only makes the user a member of a group. It does not change the PRIMARY GROUP of the user. Ideally, I want to set the primary group of the user

Re: [Samba] User Primary group problem

2005-12-06 Thread Michael Barnes
: According to my SUSE man pages, adduser -g makes the group named after the g switch the primary group of the user named at the end of the command. Eric Hines At 12/06/05 19:29, Michael Barnes wrote: This only makes the user a member of a group. It does not change the PRIMARY GROUP of the user

[Samba] USRMGR Not adding users properly

2005-11-25 Thread Michael Barnes
I'm having problems adding users with usrmgr. I can run the scripts from my smb.conf fine from command line and do what I need to. But, when adding users with usrmgr, the login script and path statements are not identified and I have to go in and edit them manually. Does adding a user with

Re: [Samba] USRMGR Not adding users properly

2005-11-25 Thread Michael Barnes
and WinXP user profiles path = /home/profiles browseable = no read only = no profile acls = yes John H Terpstra told me on 11/25/2005 12:37: On Friday 25 November 2005 11:03, Michael Barnes wrote: I'm having problems adding users with usrmgr. I can run the scripts from

Re: [Samba] problem with login script not running as one user

2005-11-22 Thread Michael Barnes
Do you have a valid users= entry on the shares in question? If so, is the problem user a member of that group? That one caught me recently. I forgot to add the user to the group that could see that share. Michael Harondel J. Sibble told me on 11/22/2005 15:19: Okay, have a small office

Re: [Samba] Can't browse \Windows from Linux

2005-11-22 Thread Michael Barnes
Are they set up for full sharing? Can you see them from another computer other than the Linux box? I'd suspect the problem is in share permissions on the XP box. Michael Jeffrey Barish told me on 11/22/2005 10:08: I have Samba working nicely on my network, except that there are a few

[Samba] Changing/fixing machine names

2005-11-21 Thread Michael Barnes
I think I found some of my cutover problems. I found a couple Win98 machines which had the same name for user and machine names. While it never seemed to be an issue in the Netware realm, under Samba, it appears to have undesirable results. Although the machines have been renamed, there

[Samba] How does a user change his password?

2005-11-19 Thread Michael Barnes
I see lots about how the administrator uses various tools to administer users. However, if the user just wants to change his own password, how does he do it? Or can he? I'm using tdbsam for the password backend. Samba 3.0.10. Users are Win98 and Win2k. Thanks, Michael -- To unsubscribe

RE: [Samba] How does a user change his password?

2005-11-19 Thread Michael Barnes
for job security. Thanks, Michael = Original Message From Craig White [EMAIL PROTECTED] = On Sat, 2005-11-19 at 17:26 -0600, Michael Barnes wrote: I see lots about how the administrator uses various tools to administer users. However, if the user just wants to change his own password, how

[Samba] Password 'must change at next login'

2005-11-18 Thread Michael Barnes
I cannot get this to work. Either the user's password is valid or it is not. I cannot get anything to tell or offer the user to change password. I can get the expiration date to work now, but when expiration time comes and the user tries to login, it simply says login denied, password

Re: [Samba] pdbedit and smbpasswd

2005-11-17 Thread Michael Barnes
I've been told smbpasswd does not support password aging. You need to use tdbsam for that. See http://lists.samba.org/archive/samba/2005-March/101447.html Michael cm told me on 10/31/2005 09:26: Hi, maybe a easy question, but I didn't found any answers in mailinglists or google. The

[Samba] Forcing Password Changes

2005-11-17 Thread Michael Barnes
Actually two issues on this subject. Migrating to a new system. First, I want to set all accounts so when the user logs in the first time, he is asked to set a new password. Second, I need to have passwords expire and require a change every 3 months. As I understand it, First, I need to set

Re: [Samba] Forcing Password Changes

2005-11-17 Thread Michael Barnes
, Michael Barnes wrote: Actually two issues on this subject. Migrating to a new system. First, I want to set all accounts so when the user logs in the first time, he is asked to set a new password. Second, I need to have passwords expire and require a change every 3 months. As I understand

Re: [Samba] Add machine, user, group, etc. scripts

2005-11-07 Thread Michael Barnes
John, I think the only thing you are missing is the fact that I am very easily confused :-) Of course you are correct. I guess I just didn't think this one through carefully. Your question cleared it all up for me. Thanks, Michael John T Benedetto told me on 11/7/2005 10:16: If you have

[Samba] User Manager Tools

2005-11-07 Thread Michael Barnes
I loaded the NT4 Domain Manager tools and tried to use UserMgr to add some users. The add users sections of the menu are grayed out and I cannot do the deed. I've tried a variety of things. The machine was a member of the domain, I was logged in a administrator, which seemed to map as root

[Samba] Add machine, user, group, etc. scripts

2005-11-04 Thread Michael Barnes
Can anyone tell me exactly how the various add machine/user/group/etc/ scripts work in Samba? I know how to set them up in smb.conf. That's not problem. But how are they invoked? Some use Samba specific variables like %u and %m. How do you run a script manually to use these variables?

[Samba] File attribute problem

2005-11-03 Thread Michael Barnes
I'm not exactly sure if this is a Samba or other problem. I'm moving files from a Netware server to a Samba server. The Samba server is running CentOS4 and Samba 3. CentOS does not support ncpfs, so I mount the Netware volume on a Fedora box. Then, I use rsync to copy the files from the

[Samba] Samba and Webmin

2005-11-01 Thread Michael Barnes
I like to use Webmin for a lot of my server management. I have used it fine in the past with Samba. Now, I have Samba 3, and am using tdbsam for my backend instead of smbsam I used previously. When I add users via Webmin, the home directories are created, and in the server section, Webmin

Re: [Samba] Is this configuration possible ?

2005-10-31 Thread Michael Barnes
I use a public share like this. It is available to anyone on the network, regardless of whether they are logged on, have a user account or whatever. Here is the share description for it. HTH, Michael [public] comment = public share, all-rw path = /home/public

Re: [Samba] Windows lost Samba server

2005-10-28 Thread Michael Barnes
. When I shut it down, suddenly everyone can see and connect properly to the Samba server. I guess I have some type of browser conflict. Michael julius Junghans told me on 10/27/2005 12:22: Michael Barnes wrote: I have two Samba servers on a local network. One is to eventually become

Re: [Samba] Re: can smbmount access paths in shares?

2005-10-28 Thread Michael Barnes
Let me see if I understand this right. You have a Windows box with a share of (for example) D:\home\media. You have gone to the D:\home folder and selected full sharing. However, from your Linux box, you don't want to mount D:\home, you want to mount D:\home\media and not have the contents

[Samba] Windows lost Samba server

2005-10-27 Thread Michael Barnes
I have two Samba servers on a local network. One is to eventually become the new system file server. The original server is on the domain/workgroup MCALLEN, the new server is on the domain/workgroup WRNHQ. Everything was moving along smoothly. I could see both workgroups on various Windows

Re: [Samba] Netbios over more then one protocol

2005-10-27 Thread Michael Barnes
Why do you have IPX installed? Are you running an older Netware server in the same network? If it is not needed, maybe you can remove the IPX protocol from the Win9x machines? Michael julius Junghans told me on 10/27/2005 16:11: Hi, i'm reading: