add SAMBA user
hi all,
I am trying to add samba user by issuing : [root@test samba]# smbusers tim -bash: smbusers: command not found what did I do wrong??? thanks |
Are you sure this is a command? Then it looks like you miss a package. Isn't this file on your system. You can use "updatedb && locate smbusers" (updatedb updates the search database). However from googling a bit I see it's also a file. Maybe you only have to edit: /etc/smbusers?
|
I always use the smbpasswd -a <username>.
|
Quote:
I have samba installed and a working confiuration and there is no `smbusers` script/program on my computer. |
you guys probably right , my Linux sys admin gave me that command and I think it's wrong. Anyway, I was able to add the user using smbpasswd successfully. Now I have different problem.
on dos prompt of my windows machine I did the follofing: H:\>net use z: \\test\u01\misc The password or user name is invalid for \\test\u01\misc. Enter the user name for 'qhoulinux': tim Enter the password for qhoulinux: System error 53 has occurred. The network path was not found. H:\> can someone please tell me what happened??? |
Is you smb.conf set up to allow the user to enter? Is the users local (linux) account all him/her to enter the directory?
|
I belive smb.conf set up for user please see the below:
Code:
|
I've not read your config file, I'll assume its correct for the min.
Samba won't broadcast its IP in the same way Windows does so you need to explicilty tell windows the IP of the linux computer, you can do this by using the IP address of the linux box: Code:
\\{test's IP}\u01\misc Code:
test 192.168.0.3 |
my windows sys admin already add Linux server to our DNS, another word, I can ping linux server by name and it resolved just fine
|
Here you are saying you are connecting to the server named test and the share u01.
H:\>net use z: \\test\u01\misc Here is says the netbios name of the server is oracle netbios name = oracle Your share name here is oracle. [oracle] comment = Oracle folder path = /oracle/quorum public = yes writable = no printable = no Try net use z: \\oracle\oracle /y |
I am so sorry Tangle, I mistyped name of the server and file when I posted the smb.conf, the server is test and the share file is /u01/misc on the server.
any thoughts??? |
Try,
net use z: \\test\misc /y You have to use the share name only. It is not like NFS where you can mount any directory in the shared directory. I hope that sound right. |
Tangle
sorry, I still have problem: H:\>net use y: \\test\misc /y The password or user name is invalid for \\test\misc. Type the password for \\test\misc: System error 1326 has occurred. Logon failure: unknown user name or bad password. it's weird b/c I already change the password for oracle user and I still have problem. question: oracle user is a user locally on Linux machine, however, oracle user doesn't exists on Windows, does it cause the problems???? please let me know what your thoughts are. |
Yes, Windows uses the user that you are logged into with when mapping that drive. Just create the user account on the Windows box.
|
All times are GMT -5. The time now is 02:33 PM. |