Click to See Complete Forum and Search --> : ??password??
kawman
07-25-2002, 01:22 AM
I have linux mandrake 8.2 and a win 2k machine.I have configured swat i can ping both machines.From the win 2k machine i run \\server\user server being the machines name and user my user name and it says "the account is not authorized from this station"...................any help would be much appreciated
michaelk
07-25-2002, 08:08 AM
Have you added the user via smbpasswd?
I am not really sure what command you tried to execute on the W2K machine. Can you see the server in network neighborhood?
The console commands testparm and smbclient will verify that the changes made to the samba configuration file /etc/smb.conf are correct.
i.e. smbclient -L server
cowanrl
07-25-2002, 12:41 PM
To expand on what michaelk said, in order to be able to run "\\server\user" on your Win2k machine, there are several things you must have done on your Samba server:
1. Samba has to be set up to use security = user
2. Created a linux user on the Samba box with the same username that you are logged in to the Win2k machine with. You can use useradd at the command line or whatever GUI tool you normally use to add users.
3. Created a Samba user on your Samba box with the same name as the Linux/Win2k user. For that, use "smbpasswd -a username". It will ask for a password. Enter the same password you use for that user on the Win2k machine.
4. You need to have created a "homes" share on the Samba server.
When you have those things accomplished, then restart Samba. On the Samba box, execute "smbclient -L localhost -N". If everything is OK, you should see a display of your servername, workgroup name and your shares. The -N will run smbclient without it asking you for a password.
Then try to run \\server\user again from your Win2k machine.