Sebuwufu Raymond (UK)
2004-Feb-16 13:53 UTC
[Samba] Problem with NT -> Samba User Configuration: Probably very simple
Hi All, my problem is I am unable to configure an NT user to access a UNIX Tru64 5.1b share from their PC. I am running Samba 2.0.7 and it runs as a domain member. Here are the steps I have completed without success: Assuming <ntuser> is the NT username used to log into the NT workstation/PC. 1. Created UNIX user <username> 2. Created UNIX directory /usr/users/<username>/input 3. Appended following line to a user name mapping file defined in smb.conf with the parameter "username map = ...": <username> = <ntuser> Note: The user name mapping file already contained an entry for another user and the one above was appended to the file. 4. Added the following to smb.conf: [<servicename>] comment = '....etc' path = /usr/users/<username>/input valid users = <username> public = no writable = yes printable = no 5. Restarted the samba daemons. Can anyone spot what the problem is? Have I missed out a particular step? In desperation I tried adding <username> to the samba password file by running smbpasswd but it would appear this user is already a member. This I concluded from the fact that I typed <Enter> when first asked for the existing password and when I entered the new password twice the following messages were displayed. "error connecting to #.#.#.#:# (Connection refused) unable to connect to SMB server on machine #.#.#.#. Error was : code 0. Failed to change password for statdat" Note the # symbols represent numbers which I have physically replaced with #. I believe they are addresses of some sort. If you know what the problem is please can you let me know as soon as you can. Your help with be greatly appreciated. I am hoping this is something very simple that can be quickly knocked on the head Many thanks Raymond ======================================================This electronic message contains information from the mmO2 plc Group which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately. Please note that as of June 1st we will no longer be accepting email for any btcellnet.net, btcellnet.co.uk or cellnet.co.uk addresses. From this date all mail should be addressed to O2.com =======================================================
geralds
2004-Feb-17 12:52 UTC
[Samba] Problem with NT -> Samba User Configuration: Probably very simple
Raymond u did not specify which is your domain master that contains the browse list. In my opinion you might have to correct some lines in your samba configuration file. I wonder how it looks like Rgds, Segie ---------- Forwarded Message ---------- Subject: [Samba] Problem with NT -> Samba User Configuration: Probably very simple Date: Mon, 16 Feb 2004 13:17:54 -0000 From: "Sebuwufu Raymond (UK)" <Raymond.Sebuwufu@O2.COM> To: "'samba@lists.samba.org.'" <samba@lists.samba.org.> Hi All, my problem is I am unable to configure an NT user to access a UNIX Tru64 5.1b share from their PC. I am running Samba 2.0.7 and it runs as a domain member. Here are the steps I have completed without success: Assuming <ntuser> is the NT username used to log into the NT workstation/PC. 1. Created UNIX user <username> 2. Created UNIX directory /usr/users/<username>/input 3. Appended following line to a user name mapping file defined in smb.conf with the parameter "username map = ...": <username> = <ntuser> Note: The user name mapping file already contained an entry for another user and the one above was appended to the file. 4. Added the following to smb.conf: [<servicename>] comment = '....etc' path = /usr/users/<username>/input valid users = <username> public = no writable = yes printable = no 5. Restarted the samba daemons. Can anyone spot what the problem is? Have I missed out a particular step? In desperation I tried adding <username> to the samba password file by running smbpasswd but it would appear this user is already a member. This I concluded from the fact that I typed <Enter> when first asked for the existing password and when I entered the new password twice the following messages were displayed. "error connecting to #.#.#.#:# (Connection refused) unable to connect to SMB server on machine #.#.#.#. Error was : code 0. Failed to change password for statdat" Note the # symbols represent numbers which I have physically replaced with #. I believe they are addresses of some sort. If you know what the problem is please can you let me know as soon as you can. Your help with be greatly appreciated. I am hoping this is something very simple that can be quickly knocked on the head Many thanks Raymond ======================================================This electronic message contains information from the mmO2 plc Group which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately. Please note that as of June 1st we will no longer be accepting email for any btcellnet.net, btcellnet.co.uk or cellnet.co.uk addresses. From this date all mail should be addressed to O2.com ====================================================== -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -------------------------------------------------------